diff --git a/.gitignore b/.gitignore index aae5198a33..7bb0a3c12f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,9 @@ *.cache *.out +# node_modules folder +node_modules + ## Backup files *.bak *.tmp diff --git a/README.md b/README.md index d7ddcc3146..2ac0ae0e72 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,9 @@ The official GitHub documentation about Profile READMEs can be found [here](http ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/Readme-Workflows/recent-activity?label=Latest%20Version) -- To get started, first make sure you add `` somewhere in your README.md file. This is where the list will appear when the action started. +- To get started, first make sure you add `` somewhere in your README.md file. This is where the list will appear when the action started. See [below](#options) for more clear description for them. - Next should you now move on to creating a new Workflow. In this example we create `.github/workflows/update-readme.yml` -- Now edit the YAML file and add the following content to it: - +- Now edit the YAML file and add the following content to it: ```yaml name: Update README @@ -62,12 +61,60 @@ The official GitHub documentation about Profile READMEs can be found [here](http env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` - **Notes:** - - The example above would be triggered every 30 minutes. A page explaining the Cron syntax in GitHub Workflows can be found [here](https://jasonet.co/posts/scheduled-actions/#the-cron-syntax). You can also use [Crontab.guru](https://crontab.guru) to create the right Cron-format to use. +## Options + +The Action has different Options that are set through HTML Comments (``) in the markdown file. +Some are required and some are optional. All comments are case-sensitive. + + + + + + + + + + + + + + + + + + +
OptionDescription
RECENT_ACTIVITY:startIndicates the start of the Activity-list.
The list itself will be added **below** this comment and finished of with the RECENT_ACTIVITY:end comment.
RECENT_ACTIVITY:last_updateSets the date of when the List was last updated.
The Text displayed is set in the Settings of the Action and will be added below this comment together with the RECENT_ACTIVITY:last_update_end comment.
+ +### Comments example + +Below is a small example of how the Markdown could look like: +```markdown +## Recent Activity +This is a list of my most recent Activity on GitHub. + + +``` + +And this would be the result of it: +```markdown +## Recent Activity +This is a list of my most recent Activity on GitHub. + +Last updated: `01.01.2021 00:00` + + +1. ❗️ Closed issue [#5](https://github.com/Readme-Workflows/recent-activity/issues/5) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/issues/5) +2. 🎉 Merged PR [#6](https://github.com/Readme-Workflows/recent-activity/pull/6) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/pull/6) +3. 🗣 Commented on [#3](https://github.com/Readme-Workflows/recent-activity/discussions/3) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/discussions/3) +4. ❗️ Closed issue [#4](https://github.com/Readme-Workflows/recent-activity/issues/4) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/issues/4) +5. 💪 Opened PR [#6](https://github.com/Readme-Workflows/recent-activity/pull/6) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/pull/6) + +``` + ## Settings The Action currently has the following Settings that you can set through the `with` option. @@ -87,6 +134,7 @@ The Action currently has the following Settings that you can set through the `wi The User to get latest activity from Repository Owner + COMMIT_MSG The Commit Message to use when updating the README @@ -170,6 +218,30 @@ The Action currently has the following Settings that you can set through the `wi {REPO}{ID} {REPO}
{ID} + + ​ + ​ + ​ + ​ + + + TIMEZONE_OFFSET + Timezone in which the date and time should be displayed.
The format is +xx:xx / -xx:xx and is relative to the GMT timezone. + 0 + + + + DATE_STRING + The text to print when using the RECENT_ACTIVITY:last_update Comment option. + Last Updated: {DATE} + {DATE} + + + DATE_FORMAT + The date and time format which should be used for the {DATE} Placeholder.
More info about the Date formatting + dddd, mmmm dS, yyyy, h:MM:ss TT + + @@ -179,7 +251,7 @@ The following placeholders may be used in the aforementioned settings, if the `S **Important Notes:** -- Each placeholder will turn into an embedded link pointing to the issue, pull request or discussion of that respective action. +- Each placeholder with exception of `{DATE}` will turn into an embedded link pointing to the issue, pull request or discussion of that respective action. For example will `{ID}` turn into `[#:id](:url)` and `{URL}` turns into `[:url_text](:url)`. - Using `{ID}` or `{REPO}` in the `URL_TEXT` setting won't turn them into embedded links. `{ID}` will still have a `#` before it. @@ -207,6 +279,11 @@ The following placeholders may be used in the aforementioned settings, if the `S Displays the text provided by URL_TEXT. Readme-Workflows/recent-activity#1 + + {DATE} + Current time and date to display.
This is ONLY usable in the DATE_STRING setting! + 01.01.2021 00:00:00 + diff --git a/action.yml b/action.yml index ad67f6d10c..8a1cb174a2 100644 --- a/action.yml +++ b/action.yml @@ -60,6 +60,20 @@ inputs: default: "🎉 Merged PR {ID} in {REPO}" required: false + # DATE + TIMEZONE_OFFSET: + description: "Timezone in which time is to be displayed" + default: "0" + required: false + DATE_STRING: + description: "String to be printed while printing updation date" + default: "Last Updated: {DATE}" + required: false + DATE_FORMAT: + description: "Format of how last updation time to be printed" + default: "dddd, mmmm dS, yyyy, h:MM:ss TT" + required: false + branding: color: orange icon: activity diff --git a/dist/LICENSE b/dist/LICENSE index d942bb1532..7f17bff72f 100644 --- a/dist/LICENSE +++ b/dist/LICENSE @@ -551,6 +551,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +dateformat +MIT +(c) 2007-2009 Steven Levithan + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + deprecation ISC The ISC License diff --git a/dist/index.js b/dist/index.js index dd321282b5..8c95a62e55 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7381,6 +7381,14 @@ function resolveCommand(parsed) { module.exports = resolveCommand; +/***/ }), + +/***/ 1512: +/***/ ((module, exports) => { + +"use strict"; +function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}(function(global){var _arguments=arguments;var dateFormat=function(){var token=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g;var timezone=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g;var timezoneClip=/[^-+\dA-Z]/g;return function(date,mask,utc,gmt){if(_arguments.length===1&&kindOf(date)==="string"&&!/\d/.test(date)){mask=date;date=undefined}date=date||date===0?date:new Date;if(!(date instanceof Date)){date=new Date(date)}if(isNaN(date)){throw TypeError("Invalid date")}mask=String(dateFormat.masks[mask]||mask||dateFormat.masks["default"]);var maskSlice=mask.slice(0,4);if(maskSlice==="UTC:"||maskSlice==="GMT:"){mask=mask.slice(4);utc=true;if(maskSlice==="GMT:"){gmt=true}}var _=function _(){return utc?"getUTC":"get"};var _d=function d(){return date[_()+"Date"]()};var D=function D(){return date[_()+"Day"]()};var _m=function m(){return date[_()+"Month"]()};var y=function y(){return date[_()+"FullYear"]()};var _H=function H(){return date[_()+"Hours"]()};var _M=function M(){return date[_()+"Minutes"]()};var _s=function s(){return date[_()+"Seconds"]()};var _L=function L(){return date[_()+"Milliseconds"]()};var _o=function o(){return utc?0:date.getTimezoneOffset()};var _W=function W(){return getWeek(date)};var _N=function N(){return getDayOfWeek(date)};var flags={d:function d(){return _d()},dd:function dd(){return pad(_d())},ddd:function ddd(){return dateFormat.i18n.dayNames[D()]},DDD:function DDD(){return getDayName({y:y(),m:_m(),d:_d(),_:_(),dayName:dateFormat.i18n.dayNames[D()],short:true})},dddd:function dddd(){return dateFormat.i18n.dayNames[D()+7]},DDDD:function DDDD(){return getDayName({y:y(),m:_m(),d:_d(),_:_(),dayName:dateFormat.i18n.dayNames[D()+7]})},m:function m(){return _m()+1},mm:function mm(){return pad(_m()+1)},mmm:function mmm(){return dateFormat.i18n.monthNames[_m()]},mmmm:function mmmm(){return dateFormat.i18n.monthNames[_m()+12]},yy:function yy(){return String(y()).slice(2)},yyyy:function yyyy(){return pad(y(),4)},h:function h(){return _H()%12||12},hh:function hh(){return pad(_H()%12||12)},H:function H(){return _H()},HH:function HH(){return pad(_H())},M:function M(){return _M()},MM:function MM(){return pad(_M())},s:function s(){return _s()},ss:function ss(){return pad(_s())},l:function l(){return pad(_L(),3)},L:function L(){return pad(Math.floor(_L()/10))},t:function t(){return _H()<12?dateFormat.i18n.timeNames[0]:dateFormat.i18n.timeNames[1]},tt:function tt(){return _H()<12?dateFormat.i18n.timeNames[2]:dateFormat.i18n.timeNames[3]},T:function T(){return _H()<12?dateFormat.i18n.timeNames[4]:dateFormat.i18n.timeNames[5]},TT:function TT(){return _H()<12?dateFormat.i18n.timeNames[6]:dateFormat.i18n.timeNames[7]},Z:function Z(){return gmt?"GMT":utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,"").replace(/GMT\+0000/g,"UTC")},o:function o(){return(_o()>0?"-":"+")+pad(Math.floor(Math.abs(_o())/60)*100+Math.abs(_o())%60,4)},p:function p(){return(_o()>0?"-":"+")+pad(Math.floor(Math.abs(_o())/60),2)+":"+pad(Math.floor(Math.abs(_o())%60),2)},S:function S(){return["th","st","nd","rd"][_d()%10>3?0:(_d()%100-_d()%10!=10)*_d()%10]},W:function W(){return _W()},WW:function WW(){return pad(_W())},N:function N(){return _N()}};return mask.replace(token,function(match){if(match in flags){return flags[match]()}return match.slice(1,match.length-1)})}}();dateFormat.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]};var pad=function pad(val,len){val=String(val);len=len||2;while(val.length event.trim()); @@ -15276,6 +15288,67 @@ const urlPrefix = "https://github.com"; * @returns {String} */ +const appendDate = (fullContent) => { + let dateStartIdx = fullContent.findIndex( + (content) => content.trim() === "" + ); + + if (dateStartIdx !== -1) { + let dateEndIdx = fullContent.findIndex( + (content, index) => + content.trim() === "" && + index > dateStartIdx + ); + + let timezone = TIMEZONE_OFFSET.replace("GMT", "").split(":"); + let offset; + + tz_hours = parseInt(timezone[0].trim()); + + if (timezone.length > 1) { + offset = tz_hours * 60 + parseInt(timezone[1].trim()); + } else { + if (tz_hours > 99) { + offset = Math.floor(tz_hours / 100) * 60 + (tz_hours % 100); + } else { + offset = tz_hours * 60; + } + } + + const utc = new Date().getTime() + new Date().getTimezoneOffset() * 60000; + let finalDate = new Date(utc + offset * 60000); + + finalDateString = DATE_STRING.replace( + "{DATE}", + dateFormat(finalDate, DATE_FORMAT) + ); + + if (dateEndIdx === -1) { + fullContent.splice( + dateStartIdx + 1, + 0, + finalDateString, + "" + ); + } else { + fullContent.splice( + dateStartIdx + 1, + dateEndIdx - dateStartIdx - 1, + finalDateString + ); + } + } + return fullContent; +}; + +const to2Digit = (entity) => { + if (entity > 9) { + return entity + ""; + } else { + return "0" + entity; + } +}; + const makeCustomUrl = (item) => { return Object.hasOwnProperty.call(item.payload, "issue") ? `[` + @@ -15447,6 +15520,8 @@ Toolkit.run( } } + tools.log.debug(temp_content); + content = temp_content; // We only have five lines to work with @@ -15462,27 +15537,25 @@ Toolkit.run( return tools.exit.failure(`Couldn't find the file named ${README_FILE}`); } - // Find the index corresponding to comment + // Find the index corresponding to comment let startIdx = readmeContent.findIndex( - (content) => content.trim() === "" + (content) => content.trim() === "" ); - // Early return in case the comment was not found + // Early return in case the comment was not found if (startIdx === -1) { return tools.exit.failure( - "Couldn't find the comment. Exiting!" + "Couldn't find the comment. Exiting!" ); } - // Find the index corresponding to comment + // Find the index corresponding to comment const endIdx = readmeContent.findIndex( - (content) => content.trim() === "" + (content) => content.trim() === "" ); if (!content.length) { - tools.exit.success( - "No PullRequest/Issue/IssueComment events found. Leaving readme unchanged." - ); + tools.exit.success("No events found. Leaving readme unchanged."); } if (content.length < MAX_LINES) { @@ -15496,13 +15569,15 @@ Toolkit.run( readmeContent.splice(startIdx + idx, 0, `${idx + 1}. ${line}`) ); - // Append comment + // Append comment readmeContent.splice( startIdx + content.length, 0, - "" + "" ); + readmeContent = appendDate(readmeContent); + // Update README fs.writeFileSync(README_FILE, readmeContent.join("\n")); @@ -15521,8 +15596,8 @@ Toolkit.run( .map((line, idx) => `${idx + 1}. ${line}`) .join("\n"); - if (oldContent.trim() === newContent.trim()) - tools.exit.success("No changes detected."); + // if (oldContent.trim() === newContent.trim()) + // tools.exit.success("No changes detected."); startIdx++; @@ -15538,7 +15613,7 @@ Toolkit.run( }); tools.log.success("Wrote to README"); } else { - // It is likely that a newline is inserted after the comment (code formatter) + // It is likely that a newline is inserted after the comment (code formatter) let count = 0; readmeActivitySection.some((line, idx) => { @@ -15554,6 +15629,8 @@ Toolkit.run( tools.log.success("Updated README with the recent activity"); } + readmeContent = appendDate(readmeContent); + // Update README fs.writeFileSync(README_FILE, readmeContent.join("\n")); diff --git a/index.js b/index.js index 5c5812e4da..a330a4ff67 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ const fs = require("fs"); const path = require("path"); const { spawn } = require("child_process"); const { Toolkit } = require("actions-toolkit"); +var dateFormat = require("dateformat"); // Get config inputs const GH_USERNAME = core.getInput("GH_USERNAME"); @@ -21,6 +22,9 @@ const PR_OPENED = core.getInput("PR_OPENED"); const PR_CLOSED = core.getInput("PR_CLOSED"); const PR_MERGED = core.getInput("PR_MERGED"); const URL_TEXT = core.getInput("URL_TEXT"); +const TIMEZONE_OFFSET = core.getInput("TIMEZONE_OFFSET"); +const DATE_STRING = core.getInput("DATE_STRING"); +const DATE_FORMAT = core.getInput("DATE_FORMAT"); let DISABLE_EVENTS = core.getInput("DISABLE_EVENTS").toLowerCase().split(","); DISABLE_EVENTS = DISABLE_EVENTS.map((event) => event.trim()); @@ -43,6 +47,67 @@ const urlPrefix = "https://github.com"; * @returns {String} */ +const appendDate = (fullContent) => { + let dateStartIdx = fullContent.findIndex( + (content) => content.trim() === "" + ); + + if (dateStartIdx !== -1) { + let dateEndIdx = fullContent.findIndex( + (content, index) => + content.trim() === "" && + index > dateStartIdx + ); + + let timezone = TIMEZONE_OFFSET.replace("GMT", "").split(":"); + let offset; + + tz_hours = parseInt(timezone[0].trim()); + + if (timezone.length > 1) { + offset = tz_hours * 60 + parseInt(timezone[1].trim()); + } else { + if (tz_hours > 99) { + offset = Math.floor(tz_hours / 100) * 60 + (tz_hours % 100); + } else { + offset = tz_hours * 60; + } + } + + const utc = new Date().getTime() + new Date().getTimezoneOffset() * 60000; + let finalDate = new Date(utc + offset * 60000); + + finalDateString = DATE_STRING.replace( + "{DATE}", + dateFormat(finalDate, DATE_FORMAT) + ); + + if (dateEndIdx === -1) { + fullContent.splice( + dateStartIdx + 1, + 0, + finalDateString, + "" + ); + } else { + fullContent.splice( + dateStartIdx + 1, + dateEndIdx - dateStartIdx - 1, + finalDateString + ); + } + } + return fullContent; +}; + +const to2Digit = (entity) => { + if (entity > 9) { + return entity + ""; + } else { + return "0" + entity; + } +}; + const makeCustomUrl = (item) => { return Object.hasOwnProperty.call(item.payload, "issue") ? `[` + @@ -214,6 +279,8 @@ Toolkit.run( } } + tools.log.debug(temp_content); + content = temp_content; // We only have five lines to work with @@ -229,27 +296,25 @@ Toolkit.run( return tools.exit.failure(`Couldn't find the file named ${README_FILE}`); } - // Find the index corresponding to comment + // Find the index corresponding to comment let startIdx = readmeContent.findIndex( - (content) => content.trim() === "" + (content) => content.trim() === "" ); - // Early return in case the comment was not found + // Early return in case the comment was not found if (startIdx === -1) { return tools.exit.failure( - "Couldn't find the comment. Exiting!" + "Couldn't find the comment. Exiting!" ); } - // Find the index corresponding to comment + // Find the index corresponding to comment const endIdx = readmeContent.findIndex( - (content) => content.trim() === "" + (content) => content.trim() === "" ); if (!content.length) { - tools.exit.success( - "No PullRequest/Issue/IssueComment events found. Leaving readme unchanged." - ); + tools.exit.success("No events found. Leaving readme unchanged."); } if (content.length < MAX_LINES) { @@ -263,13 +328,15 @@ Toolkit.run( readmeContent.splice(startIdx + idx, 0, `${idx + 1}. ${line}`) ); - // Append comment + // Append comment readmeContent.splice( startIdx + content.length, 0, - "" + "" ); + readmeContent = appendDate(readmeContent); + // Update README fs.writeFileSync(README_FILE, readmeContent.join("\n")); @@ -288,8 +355,8 @@ Toolkit.run( .map((line, idx) => `${idx + 1}. ${line}`) .join("\n"); - if (oldContent.trim() === newContent.trim()) - tools.exit.success("No changes detected."); + // if (oldContent.trim() === newContent.trim()) + // tools.exit.success("No changes detected."); startIdx++; @@ -305,7 +372,7 @@ Toolkit.run( }); tools.log.success("Wrote to README"); } else { - // It is likely that a newline is inserted after the comment (code formatter) + // It is likely that a newline is inserted after the comment (code formatter) let count = 0; readmeActivitySection.some((line, idx) => { @@ -321,6 +388,8 @@ Toolkit.run( tools.log.success("Updated README with the recent activity"); } + readmeContent = appendDate(readmeContent); + // Update README fs.writeFileSync(README_FILE, readmeContent.join("\n")); diff --git a/node_modules/.bin/actions-toolkit b/node_modules/.bin/actions-toolkit deleted file mode 120000 index 4a95d3680b..0000000000 --- a/node_modules/.bin/actions-toolkit +++ /dev/null @@ -1 +0,0 @@ -../actions-toolkit/bin/cli.js \ No newline at end of file diff --git a/node_modules/.bin/actions-toolkit.cmd b/node_modules/.bin/actions-toolkit.cmd deleted file mode 100644 index 99180acca5..0000000000 --- a/node_modules/.bin/actions-toolkit.cmd +++ /dev/null @@ -1,17 +0,0 @@ -@ECHO off -GOTO start -:find_dp0 -SET dp0=%~dp0 -EXIT /b -:start -SETLOCAL -CALL :find_dp0 - -IF EXIST "%dp0%\node.exe" ( - SET "_prog=%dp0%\node.exe" -) ELSE ( - SET "_prog=node" - SET PATHEXT=%PATHEXT:;.JS;=;% -) - -endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\actions-toolkit\bin\cli.js" %* diff --git a/node_modules/.bin/actions-toolkit.ps1 b/node_modules/.bin/actions-toolkit.ps1 deleted file mode 100644 index 726b2dceeb..0000000000 --- a/node_modules/.bin/actions-toolkit.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env pwsh -$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent - -$exe="" -if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { - # Fix case when both the Windows and Linux builds of Node - # are installed in the same directory - $exe=".exe" -} -$ret=0 -if (Test-Path "$basedir/node$exe") { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "$basedir/node$exe" "$basedir/../actions-toolkit/bin/cli.js" $args - } else { - & "$basedir/node$exe" "$basedir/../actions-toolkit/bin/cli.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../actions-toolkit/bin/cli.js" $args - } else { - & "node$exe" "$basedir/../actions-toolkit/bin/cli.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/ncc b/node_modules/.bin/ncc deleted file mode 120000 index e05914af1c..0000000000 --- a/node_modules/.bin/ncc +++ /dev/null @@ -1 +0,0 @@ -../@vercel/ncc/dist/ncc/cli.js \ No newline at end of file diff --git a/node_modules/.bin/ncc.cmd b/node_modules/.bin/ncc.cmd deleted file mode 100644 index 7194032365..0000000000 --- a/node_modules/.bin/ncc.cmd +++ /dev/null @@ -1,17 +0,0 @@ -@ECHO off -GOTO start -:find_dp0 -SET dp0=%~dp0 -EXIT /b -:start -SETLOCAL -CALL :find_dp0 - -IF EXIST "%dp0%\node.exe" ( - SET "_prog=%dp0%\node.exe" -) ELSE ( - SET "_prog=node" - SET PATHEXT=%PATHEXT:;.JS;=;% -) - -endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@vercel\ncc\dist\ncc\cli.js" %* diff --git a/node_modules/.bin/ncc.ps1 b/node_modules/.bin/ncc.ps1 deleted file mode 100644 index 44f4a9cf02..0000000000 --- a/node_modules/.bin/ncc.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env pwsh -$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent - -$exe="" -if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { - # Fix case when both the Windows and Linux builds of Node - # are installed in the same directory - $exe=".exe" -} -$ret=0 -if (Test-Path "$basedir/node$exe") { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "$basedir/node$exe" "$basedir/../@vercel/ncc/dist/ncc/cli.js" $args - } else { - & "$basedir/node$exe" "$basedir/../@vercel/ncc/dist/ncc/cli.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../@vercel/ncc/dist/ncc/cli.js" $args - } else { - & "node$exe" "$basedir/../@vercel/ncc/dist/ncc/cli.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/prettier b/node_modules/.bin/prettier deleted file mode 120000 index a478df3834..0000000000 --- a/node_modules/.bin/prettier +++ /dev/null @@ -1 +0,0 @@ -../prettier/bin-prettier.js \ No newline at end of file diff --git a/node_modules/.bin/prettier.cmd b/node_modules/.bin/prettier.cmd deleted file mode 100644 index b101ae46f2..0000000000 --- a/node_modules/.bin/prettier.cmd +++ /dev/null @@ -1,17 +0,0 @@ -@ECHO off -GOTO start -:find_dp0 -SET dp0=%~dp0 -EXIT /b -:start -SETLOCAL -CALL :find_dp0 - -IF EXIST "%dp0%\node.exe" ( - SET "_prog=%dp0%\node.exe" -) ELSE ( - SET "_prog=node" - SET PATHEXT=%PATHEXT:;.JS;=;% -) - -endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\prettier\bin-prettier.js" %* diff --git a/node_modules/.bin/prettier.ps1 b/node_modules/.bin/prettier.ps1 deleted file mode 100644 index a584fceef0..0000000000 --- a/node_modules/.bin/prettier.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env pwsh -$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent - -$exe="" -if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { - # Fix case when both the Windows and Linux builds of Node - # are installed in the same directory - $exe=".exe" -} -$ret=0 -if (Test-Path "$basedir/node$exe") { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "$basedir/node$exe" "$basedir/../prettier/bin-prettier.js" $args - } else { - & "$basedir/node$exe" "$basedir/../prettier/bin-prettier.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../prettier/bin-prettier.js" $args - } else { - & "node$exe" "$basedir/../prettier/bin-prettier.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver deleted file mode 120000 index 317eb293d8..0000000000 --- a/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../semver/bin/semver \ No newline at end of file diff --git a/node_modules/.bin/semver.cmd b/node_modules/.bin/semver.cmd deleted file mode 100644 index 22d9286cd3..0000000000 --- a/node_modules/.bin/semver.cmd +++ /dev/null @@ -1,17 +0,0 @@ -@ECHO off -GOTO start -:find_dp0 -SET dp0=%~dp0 -EXIT /b -:start -SETLOCAL -CALL :find_dp0 - -IF EXIST "%dp0%\node.exe" ( - SET "_prog=%dp0%\node.exe" -) ELSE ( - SET "_prog=node" - SET PATHEXT=%PATHEXT:;.JS;=;% -) - -endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver" %* diff --git a/node_modules/.bin/semver.ps1 b/node_modules/.bin/semver.ps1 deleted file mode 100644 index 98c1b093f0..0000000000 --- a/node_modules/.bin/semver.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env pwsh -$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent - -$exe="" -if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { - # Fix case when both the Windows and Linux builds of Node - # are installed in the same directory - $exe=".exe" -} -$ret=0 -if (Test-Path "$basedir/node$exe") { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args - } else { - & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../semver/bin/semver" $args - } else { - & "node$exe" "$basedir/../semver/bin/semver" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/which b/node_modules/.bin/which deleted file mode 120000 index f62471c851..0000000000 --- a/node_modules/.bin/which +++ /dev/null @@ -1 +0,0 @@ -../which/bin/which \ No newline at end of file diff --git a/node_modules/.bin/which.cmd b/node_modules/.bin/which.cmd deleted file mode 100644 index ead37d6283..0000000000 --- a/node_modules/.bin/which.cmd +++ /dev/null @@ -1,17 +0,0 @@ -@ECHO off -GOTO start -:find_dp0 -SET dp0=%~dp0 -EXIT /b -:start -SETLOCAL -CALL :find_dp0 - -IF EXIST "%dp0%\node.exe" ( - SET "_prog=%dp0%\node.exe" -) ELSE ( - SET "_prog=node" - SET PATHEXT=%PATHEXT:;.JS;=;% -) - -endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\which" %* diff --git a/node_modules/.bin/which.ps1 b/node_modules/.bin/which.ps1 deleted file mode 100644 index 1437a3b6e8..0000000000 --- a/node_modules/.bin/which.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env pwsh -$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent - -$exe="" -if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { - # Fix case when both the Windows and Linux builds of Node - # are installed in the same directory - $exe=".exe" -} -$ret=0 -if (Test-Path "$basedir/node$exe") { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "$basedir/node$exe" "$basedir/../which/bin/which" $args - } else { - & "$basedir/node$exe" "$basedir/../which/bin/which" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../which/bin/which" $args - } else { - & "node$exe" "$basedir/../which/bin/which" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json deleted file mode 100644 index ebb6773e87..0000000000 --- a/node_modules/.package-lock.json +++ /dev/null @@ -1,688 +0,0 @@ -{ - "name": "activity-readme", - "version": "1.2.1", - "lockfileVersion": 2, - "requires": true, - "packages": { - "node_modules/@actions/core": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.7.tgz", - "integrity": "sha512-kzLFD5BgEvq6ubcxdgPbRKGD2Qrgya/5j+wh4LZzqT915I0V3rED+MvjH6NXghbvk1MXknpNNQ3uKjXSEN00Ig==" - }, - "node_modules/@actions/exec": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.4.tgz", - "integrity": "sha512-4DPChWow9yc9W3WqEbUj8Nr86xkpyE29ZzWjXucHItclLbEW6jr80Zx4nqv18QL6KK65+cifiQZXvnqgTV6oHw==", - "dependencies": { - "@actions/io": "^1.0.1" - } - }, - "node_modules/@actions/io": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.2.tgz", - "integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg==" - }, - "node_modules/@octokit/auth-token": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.2.tgz", - "integrity": "sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ==", - "dependencies": { - "@octokit/types": "^5.0.0" - } - }, - "node_modules/@octokit/core": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-2.5.4.tgz", - "integrity": "sha512-HCp8yKQfTITYK+Nd09MHzAlP1v3Ii/oCohv0/TW9rhSLvzb98BOVs2QmVYuloE6a3l6LsfyGIwb6Pc4ycgWlIQ==", - "dependencies": { - "@octokit/auth-token": "^2.4.0", - "@octokit/graphql": "^4.3.1", - "@octokit/request": "^5.4.0", - "@octokit/types": "^5.0.0", - "before-after-hook": "^2.1.0", - "universal-user-agent": "^5.0.0" - } - }, - "node_modules/@octokit/endpoint": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.3.tgz", - "integrity": "sha512-Y900+r0gIz+cWp6ytnkibbD95ucEzDSKzlEnaWS52hbCDNcCJYO5mRmWW7HRAnDc7am+N/5Lnd8MppSaTYx1Yg==", - "dependencies": { - "@octokit/types": "^5.0.0", - "is-plain-object": "^3.0.0", - "universal-user-agent": "^5.0.0" - } - }, - "node_modules/@octokit/graphql": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.1.tgz", - "integrity": "sha512-qgMsROG9K2KxDs12CO3bySJaYoUu2aic90qpFrv7A8sEBzZ7UFGvdgPKiLw5gOPYEYbS0Xf8Tvf84tJutHPulQ==", - "dependencies": { - "@octokit/request": "^5.3.0", - "@octokit/types": "^5.0.0", - "universal-user-agent": "^5.0.0" - } - }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.3.tgz", - "integrity": "sha512-eKTs91wXnJH8Yicwa30jz6DF50kAh7vkcqCQ9D7/tvBAP5KKkg6I2nNof8Mp/65G0Arjsb4QcOJcIEQY+rK1Rg==", - "dependencies": { - "@octokit/types": "^5.0.0" - } - }, - "node_modules/@octokit/plugin-request-log": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz", - "integrity": "sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw==" - }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "3.17.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.17.0.tgz", - "integrity": "sha512-NFV3vq7GgoO2TrkyBRUOwflkfTYkFKS0tLAPym7RNpkwLCttqShaEGjthOsPEEL+7LFcYv3mU24+F2yVd3npmg==", - "dependencies": { - "@octokit/types": "^4.1.6", - "deprecation": "^2.3.1" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { - "version": "4.1.10", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-4.1.10.tgz", - "integrity": "sha512-/wbFy1cUIE5eICcg0wTKGXMlKSbaAxEr00qaBXzscLXpqhcwgXeS6P8O0pkysBhRfyjkKjJaYrvR1ExMO5eOXQ==", - "dependencies": { - "@types/node": ">= 8" - } - }, - "node_modules/@octokit/request": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.5.tgz", - "integrity": "sha512-atAs5GAGbZedvJXXdjtKljin+e2SltEs48B3naJjqWupYl2IUBbB/CJisyjbNHcKpHzb3E+OYEZ46G8eakXgQg==", - "dependencies": { - "@octokit/endpoint": "^6.0.1", - "@octokit/request-error": "^2.0.0", - "@octokit/types": "^5.0.0", - "deprecation": "^2.0.0", - "is-plain-object": "^3.0.0", - "node-fetch": "^2.3.0", - "once": "^1.4.0", - "universal-user-agent": "^5.0.0" - } - }, - "node_modules/@octokit/request-error": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.2.tgz", - "integrity": "sha512-2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw==", - "dependencies": { - "@octokit/types": "^5.0.1", - "deprecation": "^2.0.0", - "once": "^1.4.0" - } - }, - "node_modules/@octokit/rest": { - "version": "17.11.2", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-17.11.2.tgz", - "integrity": "sha512-4jTmn8WossTUaLfNDfXk4fVJgbz5JgZE8eCs4BvIb52lvIH8rpVMD1fgRCrHbSd6LRPE5JFZSfAEtszrOq3ZFQ==", - "dependencies": { - "@octokit/core": "^2.4.3", - "@octokit/plugin-paginate-rest": "^2.2.0", - "@octokit/plugin-request-log": "^1.0.0", - "@octokit/plugin-rest-endpoint-methods": "3.17.0" - } - }, - "node_modules/@octokit/types": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.1.0.tgz", - "integrity": "sha512-OFxUBgrEllAbdEmWp/wNmKIu5EuumKHG4sgy56vjZ8lXPgMhF05c76hmulfOdFHHYRpPj49ygOZJ8wgVsPecuA==", - "dependencies": { - "@types/node": ">= 8" - } - }, - "node_modules/@types/flat-cache": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@types/flat-cache/-/flat-cache-2.0.0.tgz", - "integrity": "sha512-fHeEsm9hvmZ+QHpw6Fkvf19KIhuqnYLU6vtWLjd5BsMd/qVi7iTkMioDZl0mQmfNRA1A6NwvhrSRNr9hGYZGww==" - }, - "node_modules/@types/minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=" - }, - "node_modules/@types/node": { - "version": "14.0.23", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.23.tgz", - "integrity": "sha512-Z4U8yDAl5TFkmYsZdFPdjeMa57NOvnaf1tljHzhouaPEp7LCj2JKkejpI1ODviIAQuW4CcQmxkQ77rnLsOOoKw==" - }, - "node_modules/@types/signale": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/signale/-/signale-1.4.1.tgz", - "integrity": "sha512-05d9fUDqRnt36rizLgo38SbPTrkMzdhXpvSHSAhxzokgIUPGNUoXHV0zYjPpTd4IryDADJ0mGHpfJ/Yhjyh9JQ==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@vercel/ncc": { - "version": "0.28.5", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.28.5.tgz", - "integrity": "sha512-ZSwD4EDCon2EsnPZ2/Qcigx4N2DiuBLV/rDnF04giEPFuDeBeUDdnSTyYYfX8KNic/prrJuS1vUEmAOHmj+fRg==", - "dev": true, - "bin": { - "ncc": "dist/ncc/cli.js" - } - }, - "node_modules/actions-toolkit": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/actions-toolkit/-/actions-toolkit-6.0.1.tgz", - "integrity": "sha512-a/ZA0+qY8YSUrzm0yLspLGFwmDG5uRJ8YaESD3Nlxi7u+pCWasxpChLYa/hlGkLt69I58VcdJKx7d9A+7kqoew==", - "dependencies": { - "@actions/core": "^1.2.4", - "@actions/exec": "^1.0.4", - "@octokit/rest": "^17.9.0", - "@types/flat-cache": "^2.0.0", - "@types/minimist": "^1.2.0", - "@types/signale": "^1.4.1", - "enquirer": "^2.3.5", - "minimist": "^1.2.5", - "signale": "^1.4.0" - }, - "bin": { - "actions-toolkit": "bin/cli.js" - } - }, - "node_modules/ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/before-after-hook": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.1.0.tgz", - "integrity": "sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A==" - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/deprecation": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "dependencies": { - "ansi-colors": "^4.1.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "dependencies": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/figures": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dependencies": { - "locate-path": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "node_modules/is-plain-object": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.1.tgz", - "integrity": "sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" - }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" - }, - "node_modules/load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/macos-release": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.4.0.tgz", - "integrity": "sha512-ko6deozZYiAkqa/0gmcsz+p4jSy3gY7/ZsCEokPaYd8k+6/aXGkiTgr61+Owup7Sf+xjqW8u2ElhoM9SEcEfuA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" - }, - "node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dependencies": { - "path-key": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/os-name": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz", - "integrity": "sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg==", - "dependencies": { - "macos-release": "^2.2.0", - "windows-release": "^3.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "engines": { - "node": ">=4" - } - }, - "node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dependencies": { - "p-limit": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "engines": { - "node": ">=4" - } - }, - "node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "engines": { - "node": ">=4" - } - }, - "node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "engines": { - "node": ">=4" - } - }, - "node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-conf": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", - "integrity": "sha1-ISZRTKbyq/69FoWW3xi6V4Z/AFg=", - "dependencies": { - "find-up": "^2.0.0", - "load-json-file": "^4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/prettier": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", - "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "node_modules/signale": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/signale/-/signale-1.4.0.tgz", - "integrity": "sha512-iuh+gPf28RkltuJC7W5MRi6XAjTDCAPC/prJUpQoG4vIP3MJZ+GTydVnodXA7pwvTKb2cA0m9OFZW/cdWy/I/w==", - "dependencies": { - "chalk": "^2.3.2", - "figures": "^2.0.0", - "pkg-conf": "^2.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/universal-user-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", - "integrity": "sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q==", - "dependencies": { - "os-name": "^3.1.0" - } - }, - "node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/windows-release": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.3.1.tgz", - "integrity": "sha512-Pngk/RDCaI/DkuHPlGTdIkDiTAnAkyMjoQMZqRsxydNl1qGXNIoZrB7RK8g53F2tEgQBMqQJHQdYZuQEEAu54A==", - "dependencies": { - "execa": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - } - } -} diff --git a/node_modules/@actions/core/LICENSE.md b/node_modules/@actions/core/LICENSE.md deleted file mode 100644 index dbae2edb2c..0000000000 --- a/node_modules/@actions/core/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright 2019 GitHub - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/@actions/core/README.md b/node_modules/@actions/core/README.md deleted file mode 100644 index 864d577ee3..0000000000 --- a/node_modules/@actions/core/README.md +++ /dev/null @@ -1,202 +0,0 @@ -# `@actions/core` - -> Core functions for setting results, logging, registering secrets and exporting variables across actions - -## Usage - -### Import the package - -```js -// javascript -const core = require('@actions/core'); - -// typescript -import * as core from '@actions/core'; -``` - -#### Inputs/Outputs - -Action inputs can be read with `getInput`. Outputs can be set with `setOutput` which makes them available to be mapped into inputs of other actions to ensure they are decoupled. - -```js -const myInput = core.getInput('inputName', { required: true }); - -core.setOutput('outputKey', 'outputVal'); -``` - -#### Exporting variables - -Since each step runs in a separate process, you can use `exportVariable` to add it to this step and future steps environment blocks. - -```js -core.exportVariable('envVar', 'Val'); -``` - -#### Setting a secret - -Setting a secret registers the secret with the runner to ensure it is masked in logs. - -```js -core.setSecret('myPassword'); -``` - -#### PATH Manipulation - -To make a tool's path available in the path for the remainder of the job (without altering the machine or containers state), use `addPath`. The runner will prepend the path given to the jobs PATH. - -```js -core.addPath('/path/to/mytool'); -``` - -#### Exit codes - -You should use this library to set the failing exit code for your action. If status is not set and the script runs to completion, that will lead to a success. - -```js -const core = require('@actions/core'); - -try { - // Do stuff -} -catch (err) { - // setFailed logs the message and sets a failing exit code - core.setFailed(`Action failed with error ${err}`); -} -``` - -Note that `setNeutral` is not yet implemented in actions V2 but equivalent functionality is being planned. - - -#### Logging - -Finally, this library provides some utilities for logging. Note that debug logging is hidden from the logs by default. This behavior can be toggled by enabling the [Step Debug Logs](../../docs/action-debugging.md#step-debug-logs). - -```js -const core = require('@actions/core'); - -const myInput = core.getInput('input'); -try { - core.debug('Inside try block'); - - if (!myInput) { - core.warning('myInput was not set'); - } - - if (core.isDebug()) { - // curl -v https://github.com - } else { - // curl https://github.com - } - - // Do stuff - core.info('Output to the actions build log') -} -catch (err) { - core.error(`Error ${err}, action may still succeed though`); -} -``` - -This library can also wrap chunks of output in foldable groups. - -```js -const core = require('@actions/core') - -// Manually wrap output -core.startGroup('Do some function') -doSomeFunction() -core.endGroup() - -// Wrap an asynchronous function call -const result = await core.group('Do something async', async () => { - const response = await doSomeHTTPRequest() - return response -}) -``` - -#### Styling output - -Colored output is supported in the Action logs via standard [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code). 3/4 bit, 8 bit and 24 bit colors are all supported. - -Foreground colors: -```js -// 3/4 bit -core.info('\u001b[35mThis foreground will be magenta') - -// 8 bit -core.info('\u001b[38;5;6mThis foreground will be cyan') - -// 24 bit -core.info('\u001b[38;2;255;0;0mThis foreground will be bright red') -``` - -Background colors: -```js -// 3/4 bit -core.info('\u001b[43mThis background will be yellow'); - -// 8 bit -core.info('\u001b[48;5;6mThis background will be cyan') - -// 24 bit -core.info('\u001b[48;2;255;0;0mThis background will be bright red') -``` - -Special styles: - -```js -core.info('\u001b[1mBold text') -core.info('\u001b[3mItalic text') -core.info('\u001b[4mUnderlined text') -``` - -ANSI escape codes can be combined with one another: - -```js -core.info('\u001b[31;46mRed foreground with a cyan background and \u001b[1mbold text at the end'); -``` - -> Note: Escape codes reset at the start of each line -```js -core.info('\u001b[35mThis foreground will be magenta') -core.info('This foreground will reset to the default') -``` - -Manually typing escape codes can be a little difficult, but you can use third party modules such as [ansi-styles](https://github.com/chalk/ansi-styles). - -```js -const style = require('ansi-styles'); -core.info(style.color.ansi16m.hex('#abcdef') + 'Hello world!') -``` - -#### Action state - -You can use this library to save state and get state for sharing information between a given wrapper action: - -**action.yml** -```yaml -name: 'Wrapper action sample' -inputs: - name: - default: 'GitHub' -runs: - using: 'node12' - main: 'main.js' - post: 'cleanup.js' -``` - -In action's `main.js`: - -```js -const core = require('@actions/core'); - -core.saveState("pidToKill", 12345); -``` - -In action's `cleanup.js`: -```js -const core = require('@actions/core'); - -var pid = core.getState("pidToKill"); - -process.kill(pid); -``` diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts deleted file mode 100644 index 89eff6687a..0000000000 --- a/node_modules/@actions/core/lib/command.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -interface CommandProperties { - [key: string]: any; -} -/** - * Commands - * - * Command Format: - * ::name key=value,key=value::message - * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value - */ -export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; -export declare function issue(name: string, message?: string): void; -export {}; diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js deleted file mode 100644 index 10bf3ebbb2..0000000000 --- a/node_modules/@actions/core/lib/command.js +++ /dev/null @@ -1,79 +0,0 @@ -"use strict"; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const os = __importStar(require("os")); -const utils_1 = require("./utils"); -/** - * Commands - * - * Command Format: - * ::name key=value,key=value::message - * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value - */ -function issueCommand(command, properties, message) { - const cmd = new Command(command, properties, message); - process.stdout.write(cmd.toString() + os.EOL); -} -exports.issueCommand = issueCommand; -function issue(name, message = '') { - issueCommand(name, {}, message); -} -exports.issue = issue; -const CMD_STRING = '::'; -class Command { - constructor(command, properties, message) { - if (!command) { - command = 'missing.command'; - } - this.command = command; - this.properties = properties; - this.message = message; - } - toString() { - let cmdStr = CMD_STRING + this.command; - if (this.properties && Object.keys(this.properties).length > 0) { - cmdStr += ' '; - let first = true; - for (const key in this.properties) { - if (this.properties.hasOwnProperty(key)) { - const val = this.properties[key]; - if (val) { - if (first) { - first = false; - } - else { - cmdStr += ','; - } - cmdStr += `${key}=${escapeProperty(val)}`; - } - } - } - } - cmdStr += `${CMD_STRING}${escapeData(this.message)}`; - return cmdStr; - } -} -function escapeData(s) { - return utils_1.toCommandValue(s) - .replace(/%/g, '%25') - .replace(/\r/g, '%0D') - .replace(/\n/g, '%0A'); -} -function escapeProperty(s) { - return utils_1.toCommandValue(s) - .replace(/%/g, '%25') - .replace(/\r/g, '%0D') - .replace(/\n/g, '%0A') - .replace(/:/g, '%3A') - .replace(/,/g, '%2C'); -} -//# sourceMappingURL=command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/command.js.map b/node_modules/@actions/core/lib/command.js.map deleted file mode 100644 index a95b303bdf..0000000000 --- a/node_modules/@actions/core/lib/command.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;;;;;;;;AAAA,uCAAwB;AACxB,mCAAsC;AAWtC;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAY;IAEZ,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AAC/C,CAAC;AAPD,oCAOC;AAED,SAAgB,KAAK,CAAC,IAAY,EAAE,UAAkB,EAAE;IACtD,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACjC,CAAC;AAFD,sBAEC;AAED,MAAM,UAAU,GAAG,IAAI,CAAA;AAEvB,MAAM,OAAO;IAKX,YAAY,OAAe,EAAE,UAA6B,EAAE,OAAe;QACzE,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,iBAAiB,CAAA;SAC5B;QAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,QAAQ;QACN,IAAI,MAAM,GAAG,UAAU,GAAG,IAAI,CAAC,OAAO,CAAA;QAEtC,IAAI,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YAC9D,MAAM,IAAI,GAAG,CAAA;YACb,IAAI,KAAK,GAAG,IAAI,CAAA;YAChB,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE;gBACjC,IAAI,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;oBACvC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,IAAI,KAAK,EAAE;4BACT,KAAK,GAAG,KAAK,CAAA;yBACd;6BAAM;4BACL,MAAM,IAAI,GAAG,CAAA;yBACd;wBAED,MAAM,IAAI,GAAG,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,EAAE,CAAA;qBAC1C;iBACF;aACF;SACF;QAED,MAAM,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAA;QACpD,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAM;IACxB,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC;AAED,SAAS,cAAc,CAAC,CAAM;IAC5B,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.d.ts b/node_modules/@actions/core/lib/core.d.ts deleted file mode 100644 index 8bb5093c54..0000000000 --- a/node_modules/@actions/core/lib/core.d.ts +++ /dev/null @@ -1,122 +0,0 @@ -/** - * Interface for getInput options - */ -export interface InputOptions { - /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */ - required?: boolean; -} -/** - * The code to exit an action - */ -export declare enum ExitCode { - /** - * A code indicating that the action was successful - */ - Success = 0, - /** - * A code indicating that the action was a failure - */ - Failure = 1 -} -/** - * Sets env variable for this action and future actions in the job - * @param name the name of the variable to set - * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify - */ -export declare function exportVariable(name: string, val: any): void; -/** - * Registers a secret which will get masked from logs - * @param secret value of the secret - */ -export declare function setSecret(secret: string): void; -/** - * Prepends inputPath to the PATH (for this action and future actions) - * @param inputPath - */ -export declare function addPath(inputPath: string): void; -/** - * Gets the value of an input. The value is also trimmed. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string - */ -export declare function getInput(name: string, options?: InputOptions): string; -/** - * Sets the value of an output. - * - * @param name name of the output to set - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -export declare function setOutput(name: string, value: any): void; -/** - * Enables or disables the echoing of commands into stdout for the rest of the step. - * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. - * - */ -export declare function setCommandEcho(enabled: boolean): void; -/** - * Sets the action status to failed. - * When the action exits it will be with an exit code of 1 - * @param message add error issue message - */ -export declare function setFailed(message: string | Error): void; -/** - * Gets whether Actions Step Debug is on or not - */ -export declare function isDebug(): boolean; -/** - * Writes debug message to user log - * @param message debug message - */ -export declare function debug(message: string): void; -/** - * Adds an error issue - * @param message error issue message. Errors will be converted to string via toString() - */ -export declare function error(message: string | Error): void; -/** - * Adds an warning issue - * @param message warning issue message. Errors will be converted to string via toString() - */ -export declare function warning(message: string | Error): void; -/** - * Writes info to log with console.log. - * @param message info message - */ -export declare function info(message: string): void; -/** - * Begin an output group. - * - * Output until the next `groupEnd` will be foldable in this group - * - * @param name The name of the output group - */ -export declare function startGroup(name: string): void; -/** - * End an output group. - */ -export declare function endGroup(): void; -/** - * Wrap an asynchronous function call in a group. - * - * Returns the same type as the function itself. - * - * @param name The name of the group - * @param fn The function to wrap in the group - */ -export declare function group(name: string, fn: () => Promise): Promise; -/** - * Saves state for current action, the state can only be retrieved by this action's post job execution. - * - * @param name name of the state to store - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -export declare function saveState(name: string, value: any): void; -/** - * Gets the value of an state set by this action's main execution. - * - * @param name name of the state to get - * @returns string - */ -export declare function getState(name: string): string; diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js deleted file mode 100644 index 9bf191a26b..0000000000 --- a/node_modules/@actions/core/lib/core.js +++ /dev/null @@ -1,239 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const command_1 = require("./command"); -const file_command_1 = require("./file-command"); -const utils_1 = require("./utils"); -const os = __importStar(require("os")); -const path = __importStar(require("path")); -/** - * The code to exit an action - */ -var ExitCode; -(function (ExitCode) { - /** - * A code indicating that the action was successful - */ - ExitCode[ExitCode["Success"] = 0] = "Success"; - /** - * A code indicating that the action was a failure - */ - ExitCode[ExitCode["Failure"] = 1] = "Failure"; -})(ExitCode = exports.ExitCode || (exports.ExitCode = {})); -//----------------------------------------------------------------------- -// Variables -//----------------------------------------------------------------------- -/** - * Sets env variable for this action and future actions in the job - * @param name the name of the variable to set - * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function exportVariable(name, val) { - const convertedVal = utils_1.toCommandValue(val); - process.env[name] = convertedVal; - const filePath = process.env['GITHUB_ENV'] || ''; - if (filePath) { - const delimiter = '_GitHubActionsFileCommandDelimeter_'; - const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`; - file_command_1.issueCommand('ENV', commandValue); - } - else { - command_1.issueCommand('set-env', { name }, convertedVal); - } -} -exports.exportVariable = exportVariable; -/** - * Registers a secret which will get masked from logs - * @param secret value of the secret - */ -function setSecret(secret) { - command_1.issueCommand('add-mask', {}, secret); -} -exports.setSecret = setSecret; -/** - * Prepends inputPath to the PATH (for this action and future actions) - * @param inputPath - */ -function addPath(inputPath) { - const filePath = process.env['GITHUB_PATH'] || ''; - if (filePath) { - file_command_1.issueCommand('PATH', inputPath); - } - else { - command_1.issueCommand('add-path', {}, inputPath); - } - process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; -} -exports.addPath = addPath; -/** - * Gets the value of an input. The value is also trimmed. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string - */ -function getInput(name, options) { - const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; - if (options && options.required && !val) { - throw new Error(`Input required and not supplied: ${name}`); - } - return val.trim(); -} -exports.getInput = getInput; -/** - * Sets the value of an output. - * - * @param name name of the output to set - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function setOutput(name, value) { - process.stdout.write(os.EOL); - command_1.issueCommand('set-output', { name }, value); -} -exports.setOutput = setOutput; -/** - * Enables or disables the echoing of commands into stdout for the rest of the step. - * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. - * - */ -function setCommandEcho(enabled) { - command_1.issue('echo', enabled ? 'on' : 'off'); -} -exports.setCommandEcho = setCommandEcho; -//----------------------------------------------------------------------- -// Results -//----------------------------------------------------------------------- -/** - * Sets the action status to failed. - * When the action exits it will be with an exit code of 1 - * @param message add error issue message - */ -function setFailed(message) { - process.exitCode = ExitCode.Failure; - error(message); -} -exports.setFailed = setFailed; -//----------------------------------------------------------------------- -// Logging Commands -//----------------------------------------------------------------------- -/** - * Gets whether Actions Step Debug is on or not - */ -function isDebug() { - return process.env['RUNNER_DEBUG'] === '1'; -} -exports.isDebug = isDebug; -/** - * Writes debug message to user log - * @param message debug message - */ -function debug(message) { - command_1.issueCommand('debug', {}, message); -} -exports.debug = debug; -/** - * Adds an error issue - * @param message error issue message. Errors will be converted to string via toString() - */ -function error(message) { - command_1.issue('error', message instanceof Error ? message.toString() : message); -} -exports.error = error; -/** - * Adds an warning issue - * @param message warning issue message. Errors will be converted to string via toString() - */ -function warning(message) { - command_1.issue('warning', message instanceof Error ? message.toString() : message); -} -exports.warning = warning; -/** - * Writes info to log with console.log. - * @param message info message - */ -function info(message) { - process.stdout.write(message + os.EOL); -} -exports.info = info; -/** - * Begin an output group. - * - * Output until the next `groupEnd` will be foldable in this group - * - * @param name The name of the output group - */ -function startGroup(name) { - command_1.issue('group', name); -} -exports.startGroup = startGroup; -/** - * End an output group. - */ -function endGroup() { - command_1.issue('endgroup'); -} -exports.endGroup = endGroup; -/** - * Wrap an asynchronous function call in a group. - * - * Returns the same type as the function itself. - * - * @param name The name of the group - * @param fn The function to wrap in the group - */ -function group(name, fn) { - return __awaiter(this, void 0, void 0, function* () { - startGroup(name); - let result; - try { - result = yield fn(); - } - finally { - endGroup(); - } - return result; - }); -} -exports.group = group; -//----------------------------------------------------------------------- -// Wrapper action state -//----------------------------------------------------------------------- -/** - * Saves state for current action, the state can only be retrieved by this action's post job execution. - * - * @param name name of the state to store - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function saveState(name, value) { - command_1.issueCommand('save-state', { name }, value); -} -exports.saveState = saveState; -/** - * Gets the value of an state set by this action's main execution. - * - * @param name name of the state to get - * @returns string - */ -function getState(name) { - return process.env[`STATE_${name}`] || ''; -} -exports.getState = getState; -//# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.js.map b/node_modules/@actions/core/lib/core.js.map deleted file mode 100644 index 0198697ab7..0000000000 --- a/node_modules/@actions/core/lib/core.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,uCAA6C;AAC7C,iDAA+D;AAC/D,mCAAsC;AAEtC,uCAAwB;AACxB,2CAA4B;AAU5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,8DAA8D;AAC9D,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAQ;IACnD,MAAM,YAAY,GAAG,sBAAc,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;IAEhC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAA;IAChD,IAAI,QAAQ,EAAE;QACZ,MAAM,SAAS,GAAG,qCAAqC,CAAA;QACvD,MAAM,YAAY,GAAG,GAAG,IAAI,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,YAAY,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;QACzF,2BAAgB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;KACtC;SAAM;QACL,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,YAAY,CAAC,CAAA;KAC9C;AACH,CAAC;AAZD,wCAYC;AAED;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAA;IACjD,IAAI,QAAQ,EAAE;QACZ,2BAAgB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;KACpC;SAAM;QACL,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;KACxC;IACD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AARD,0BAQC;AAED;;;;;;GAMG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACrE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AARD,4BAQC;AAED;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IAC5B,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAHD,8BAGC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAC7C,eAAK,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;AACvC,CAAC;AAFD,wCAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAuB;IAC/C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IAEnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAJD,8BAIC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAA;AAC5C,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAuB;IAC3C,eAAK,CAAC,OAAO,EAAE,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AACzE,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAuB;IAC7C,eAAK,CAAC,SAAS,EAAE,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AAC3E,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,IAAI,CAAC,OAAe;IAClC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,oBAEC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,IAAY;IACrC,eAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,eAAK,CAAC,UAAU,CAAC,CAAA;AACnB,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC;AAED,yEAAyE;AACzE,uBAAuB;AACvB,yEAAyE;AAEzE;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.d.ts b/node_modules/@actions/core/lib/file-command.d.ts deleted file mode 100644 index ed408eb132..0000000000 --- a/node_modules/@actions/core/lib/file-command.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function issueCommand(command: string, message: any): void; diff --git a/node_modules/@actions/core/lib/file-command.js b/node_modules/@actions/core/lib/file-command.js deleted file mode 100644 index 10783c0c27..0000000000 --- a/node_modules/@actions/core/lib/file-command.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -// For internal use, subject to change. -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -// We use any as a valid input type -/* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(require("fs")); -const os = __importStar(require("os")); -const utils_1 = require("./utils"); -function issueCommand(command, message) { - const filePath = process.env[`GITHUB_${command}`]; - if (!filePath) { - throw new Error(`Unable to find environment variable for file command ${command}`); - } - if (!fs.existsSync(filePath)) { - throw new Error(`Missing file at path: ${filePath}`); - } - fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, { - encoding: 'utf8' - }); -} -exports.issueCommand = issueCommand; -//# sourceMappingURL=file-command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.js.map b/node_modules/@actions/core/lib/file-command.js.map deleted file mode 100644 index 45fd8c4bad..0000000000 --- a/node_modules/@actions/core/lib/file-command.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"file-command.js","sourceRoot":"","sources":["../src/file-command.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;;;;;;;AAEvC,mCAAmC;AACnC,uDAAuD;AAEvD,uCAAwB;AACxB,uCAAwB;AACxB,mCAAsC;AAEtC,SAAgB,YAAY,CAAC,OAAe,EAAE,OAAY;IACxD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,OAAO,EAAE,CAAC,CAAA;IACjD,IAAI,CAAC,QAAQ,EAAE;QACb,MAAM,IAAI,KAAK,CACb,wDAAwD,OAAO,EAAE,CAClE,CAAA;KACF;IACD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QAC5B,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,EAAE,CAAC,CAAA;KACrD;IAED,EAAE,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,sBAAc,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;QACjE,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAA;AACJ,CAAC;AAdD,oCAcC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.d.ts b/node_modules/@actions/core/lib/utils.d.ts deleted file mode 100644 index b39c9be982..0000000000 --- a/node_modules/@actions/core/lib/utils.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Sanitizes an input into a string so it can be passed into issueCommand safely - * @param input input to sanitize into a string - */ -export declare function toCommandValue(input: any): string; diff --git a/node_modules/@actions/core/lib/utils.js b/node_modules/@actions/core/lib/utils.js deleted file mode 100644 index 97cea339fc..0000000000 --- a/node_modules/@actions/core/lib/utils.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -// We use any as a valid input type -/* eslint-disable @typescript-eslint/no-explicit-any */ -Object.defineProperty(exports, "__esModule", { value: true }); -/** - * Sanitizes an input into a string so it can be passed into issueCommand safely - * @param input input to sanitize into a string - */ -function toCommandValue(input) { - if (input === null || input === undefined) { - return ''; - } - else if (typeof input === 'string' || input instanceof String) { - return input; - } - return JSON.stringify(input); -} -exports.toCommandValue = toCommandValue; -//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.js.map b/node_modules/@actions/core/lib/utils.js.map deleted file mode 100644 index ce43f037a1..0000000000 --- a/node_modules/@actions/core/lib/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;AAEvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC"} \ No newline at end of file diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json deleted file mode 100644 index b25bec2e37..0000000000 --- a/node_modules/@actions/core/package.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "@actions/core", - "version": "1.2.7", - "description": "Actions core lib", - "keywords": [ - "github", - "actions", - "core" - ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/core", - "license": "MIT", - "main": "lib/core.js", - "types": "lib/core.d.ts", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib", - "!.DS_Store" - ], - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/toolkit.git", - "directory": "packages/core" - }, - "scripts": { - "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", - "test": "echo \"Error: run tests from root\" && exit 1", - "tsc": "tsc" - }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "devDependencies": { - "@types/node": "^12.0.2" - } - -,"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.7.tgz" -,"_integrity": "sha512-kzLFD5BgEvq6ubcxdgPbRKGD2Qrgya/5j+wh4LZzqT915I0V3rED+MvjH6NXghbvk1MXknpNNQ3uKjXSEN00Ig==" -,"_from": "@actions/core@1.2.7" -} \ No newline at end of file diff --git a/node_modules/@actions/exec/README.md b/node_modules/@actions/exec/README.md deleted file mode 100644 index 53a6bf5243..0000000000 --- a/node_modules/@actions/exec/README.md +++ /dev/null @@ -1,57 +0,0 @@ -# `@actions/exec` - -## Usage - -#### Basic - -You can use this package to execute tools in a cross platform way: - -```js -const exec = require('@actions/exec'); - -await exec.exec('node index.js'); -``` - -#### Args - -You can also pass in arg arrays: - -```js -const exec = require('@actions/exec'); - -await exec.exec('node', ['index.js', 'foo=bar']); -``` - -#### Output/options - -Capture output or specify [other options](https://github.com/actions/toolkit/blob/d9347d4ab99fd507c0b9104b2cf79fb44fcc827d/packages/exec/src/interfaces.ts#L5): - -```js -const exec = require('@actions/exec'); - -let myOutput = ''; -let myError = ''; - -const options = {}; -options.listeners = { - stdout: (data: Buffer) => { - myOutput += data.toString(); - }, - stderr: (data: Buffer) => { - myError += data.toString(); - } -}; -options.cwd = './lib'; - -await exec.exec('node', ['index.js', 'foo=bar'], options); -``` - -#### Exec tools not in the PATH - -You can specify the full path for tools not in the PATH: - -```js -const exec = require('@actions/exec'); - -await exec.exec('"/path/to/my-tool"', ['arg1']); -``` diff --git a/node_modules/@actions/exec/lib/exec.d.ts b/node_modules/@actions/exec/lib/exec.d.ts deleted file mode 100644 index 390f1c8ea1..0000000000 --- a/node_modules/@actions/exec/lib/exec.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { ExecOptions } from './interfaces'; -export { ExecOptions }; -/** - * Exec a command. - * Output will be streamed to the live console. - * Returns promise with return code - * - * @param commandLine command to execute (can include additional args). Must be correctly escaped. - * @param args optional arguments for tool. Escaping is handled by the lib. - * @param options optional exec options. See ExecOptions - * @returns Promise exit code - */ -export declare function exec(commandLine: string, args?: string[], options?: ExecOptions): Promise; diff --git a/node_modules/@actions/exec/lib/exec.js b/node_modules/@actions/exec/lib/exec.js deleted file mode 100644 index ae05ccea1c..0000000000 --- a/node_modules/@actions/exec/lib/exec.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const tr = __importStar(require("./toolrunner")); -/** - * Exec a command. - * Output will be streamed to the live console. - * Returns promise with return code - * - * @param commandLine command to execute (can include additional args). Must be correctly escaped. - * @param args optional arguments for tool. Escaping is handled by the lib. - * @param options optional exec options. See ExecOptions - * @returns Promise exit code - */ -function exec(commandLine, args, options) { - return __awaiter(this, void 0, void 0, function* () { - const commandArgs = tr.argStringToArray(commandLine); - if (commandArgs.length === 0) { - throw new Error(`Parameter 'commandLine' cannot be null or empty.`); - } - // Path to tool to execute should be first arg - const toolPath = commandArgs[0]; - args = commandArgs.slice(1).concat(args || []); - const runner = new tr.ToolRunner(toolPath, args, options); - return runner.exec(); - }); -} -exports.exec = exec; -//# sourceMappingURL=exec.js.map \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/exec.js.map b/node_modules/@actions/exec/lib/exec.js.map deleted file mode 100644 index 98901dd73d..0000000000 --- a/node_modules/@actions/exec/lib/exec.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"exec.js","sourceRoot":"","sources":["../src/exec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,iDAAkC;AAIlC;;;;;;;;;GASG;AACH,SAAsB,IAAI,CACxB,WAAmB,EACnB,IAAe,EACf,OAAqB;;QAErB,MAAM,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAA;QACpD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAA;SACpE;QACD,8CAA8C;QAC9C,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,CAAA;QAC/B,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAA;QAC9C,MAAM,MAAM,GAAkB,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;QACxE,OAAO,MAAM,CAAC,IAAI,EAAE,CAAA;IACtB,CAAC;CAAA;AAdD,oBAcC"} \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/interfaces.d.ts b/node_modules/@actions/exec/lib/interfaces.d.ts deleted file mode 100644 index 4fef7c1f85..0000000000 --- a/node_modules/@actions/exec/lib/interfaces.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -/// -import * as stream from 'stream'; -/** - * Interface for exec options - */ -export interface ExecOptions { - /** optional working directory. defaults to current */ - cwd?: string; - /** optional envvar dictionary. defaults to current process's env */ - env?: { - [key: string]: string; - }; - /** optional. defaults to false */ - silent?: boolean; - /** optional out stream to use. Defaults to process.stdout */ - outStream?: stream.Writable; - /** optional err stream to use. Defaults to process.stderr */ - errStream?: stream.Writable; - /** optional. whether to skip quoting/escaping arguments if needed. defaults to false. */ - windowsVerbatimArguments?: boolean; - /** optional. whether to fail if output to stderr. defaults to false */ - failOnStdErr?: boolean; - /** optional. defaults to failing on non zero. ignore will not fail leaving it up to the caller */ - ignoreReturnCode?: boolean; - /** optional. How long in ms to wait for STDIO streams to close after the exit event of the process before terminating. defaults to 10000 */ - delay?: number; - /** optional. input to write to the process on STDIN. */ - input?: Buffer; - /** optional. Listeners for output. Callback functions that will be called on these events */ - listeners?: { - stdout?: (data: Buffer) => void; - stderr?: (data: Buffer) => void; - stdline?: (data: string) => void; - errline?: (data: string) => void; - debug?: (data: string) => void; - }; -} diff --git a/node_modules/@actions/exec/lib/interfaces.js b/node_modules/@actions/exec/lib/interfaces.js deleted file mode 100644 index db9191150b..0000000000 --- a/node_modules/@actions/exec/lib/interfaces.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=interfaces.js.map \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/interfaces.js.map b/node_modules/@actions/exec/lib/interfaces.js.map deleted file mode 100644 index 8fb5f7d179..0000000000 --- a/node_modules/@actions/exec/lib/interfaces.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/toolrunner.d.ts b/node_modules/@actions/exec/lib/toolrunner.d.ts deleted file mode 100644 index 9bbbb1ea9d..0000000000 --- a/node_modules/@actions/exec/lib/toolrunner.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -/// -import * as events from 'events'; -import * as im from './interfaces'; -export declare class ToolRunner extends events.EventEmitter { - constructor(toolPath: string, args?: string[], options?: im.ExecOptions); - private toolPath; - private args; - private options; - private _debug; - private _getCommandString; - private _processLineBuffer; - private _getSpawnFileName; - private _getSpawnArgs; - private _endsWith; - private _isCmdFile; - private _windowsQuoteCmdArg; - private _uvQuoteCmdArg; - private _cloneExecOptions; - private _getSpawnOptions; - /** - * Exec a tool. - * Output will be streamed to the live console. - * Returns promise with return code - * - * @param tool path to tool to exec - * @param options optional exec options. See ExecOptions - * @returns number - */ - exec(): Promise; -} -/** - * Convert an arg string to an array of args. Handles escaping - * - * @param argString string of arguments - * @returns string[] array of arguments - */ -export declare function argStringToArray(argString: string): string[]; diff --git a/node_modules/@actions/exec/lib/toolrunner.js b/node_modules/@actions/exec/lib/toolrunner.js deleted file mode 100644 index d08bb5914e..0000000000 --- a/node_modules/@actions/exec/lib/toolrunner.js +++ /dev/null @@ -1,600 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const os = __importStar(require("os")); -const events = __importStar(require("events")); -const child = __importStar(require("child_process")); -const path = __importStar(require("path")); -const io = __importStar(require("@actions/io")); -const ioUtil = __importStar(require("@actions/io/lib/io-util")); -/* eslint-disable @typescript-eslint/unbound-method */ -const IS_WINDOWS = process.platform === 'win32'; -/* - * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way. - */ -class ToolRunner extends events.EventEmitter { - constructor(toolPath, args, options) { - super(); - if (!toolPath) { - throw new Error("Parameter 'toolPath' cannot be null or empty."); - } - this.toolPath = toolPath; - this.args = args || []; - this.options = options || {}; - } - _debug(message) { - if (this.options.listeners && this.options.listeners.debug) { - this.options.listeners.debug(message); - } - } - _getCommandString(options, noPrefix) { - const toolPath = this._getSpawnFileName(); - const args = this._getSpawnArgs(options); - let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool - if (IS_WINDOWS) { - // Windows + cmd file - if (this._isCmdFile()) { - cmd += toolPath; - for (const a of args) { - cmd += ` ${a}`; - } - } - // Windows + verbatim - else if (options.windowsVerbatimArguments) { - cmd += `"${toolPath}"`; - for (const a of args) { - cmd += ` ${a}`; - } - } - // Windows (regular) - else { - cmd += this._windowsQuoteCmdArg(toolPath); - for (const a of args) { - cmd += ` ${this._windowsQuoteCmdArg(a)}`; - } - } - } - else { - // OSX/Linux - this can likely be improved with some form of quoting. - // creating processes on Unix is fundamentally different than Windows. - // on Unix, execvp() takes an arg array. - cmd += toolPath; - for (const a of args) { - cmd += ` ${a}`; - } - } - return cmd; - } - _processLineBuffer(data, strBuffer, onLine) { - try { - let s = strBuffer + data.toString(); - let n = s.indexOf(os.EOL); - while (n > -1) { - const line = s.substring(0, n); - onLine(line); - // the rest of the string ... - s = s.substring(n + os.EOL.length); - n = s.indexOf(os.EOL); - } - strBuffer = s; - } - catch (err) { - // streaming lines to console is best effort. Don't fail a build. - this._debug(`error processing line. Failed with error ${err}`); - } - } - _getSpawnFileName() { - if (IS_WINDOWS) { - if (this._isCmdFile()) { - return process.env['COMSPEC'] || 'cmd.exe'; - } - } - return this.toolPath; - } - _getSpawnArgs(options) { - if (IS_WINDOWS) { - if (this._isCmdFile()) { - let argline = `/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`; - for (const a of this.args) { - argline += ' '; - argline += options.windowsVerbatimArguments - ? a - : this._windowsQuoteCmdArg(a); - } - argline += '"'; - return [argline]; - } - } - return this.args; - } - _endsWith(str, end) { - return str.endsWith(end); - } - _isCmdFile() { - const upperToolPath = this.toolPath.toUpperCase(); - return (this._endsWith(upperToolPath, '.CMD') || - this._endsWith(upperToolPath, '.BAT')); - } - _windowsQuoteCmdArg(arg) { - // for .exe, apply the normal quoting rules that libuv applies - if (!this._isCmdFile()) { - return this._uvQuoteCmdArg(arg); - } - // otherwise apply quoting rules specific to the cmd.exe command line parser. - // the libuv rules are generic and are not designed specifically for cmd.exe - // command line parser. - // - // for a detailed description of the cmd.exe command line parser, refer to - // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912 - // need quotes for empty arg - if (!arg) { - return '""'; - } - // determine whether the arg needs to be quoted - const cmdSpecialChars = [ - ' ', - '\t', - '&', - '(', - ')', - '[', - ']', - '{', - '}', - '^', - '=', - ';', - '!', - "'", - '+', - ',', - '`', - '~', - '|', - '<', - '>', - '"' - ]; - let needsQuotes = false; - for (const char of arg) { - if (cmdSpecialChars.some(x => x === char)) { - needsQuotes = true; - break; - } - } - // short-circuit if quotes not needed - if (!needsQuotes) { - return arg; - } - // the following quoting rules are very similar to the rules that by libuv applies. - // - // 1) wrap the string in quotes - // - // 2) double-up quotes - i.e. " => "" - // - // this is different from the libuv quoting rules. libuv replaces " with \", which unfortunately - // doesn't work well with a cmd.exe command line. - // - // note, replacing " with "" also works well if the arg is passed to a downstream .NET console app. - // for example, the command line: - // foo.exe "myarg:""my val""" - // is parsed by a .NET console app into an arg array: - // [ "myarg:\"my val\"" ] - // which is the same end result when applying libuv quoting rules. although the actual - // command line from libuv quoting rules would look like: - // foo.exe "myarg:\"my val\"" - // - // 3) double-up slashes that precede a quote, - // e.g. hello \world => "hello \world" - // hello\"world => "hello\\""world" - // hello\\"world => "hello\\\\""world" - // hello world\ => "hello world\\" - // - // technically this is not required for a cmd.exe command line, or the batch argument parser. - // the reasons for including this as a .cmd quoting rule are: - // - // a) this is optimized for the scenario where the argument is passed from the .cmd file to an - // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule. - // - // b) it's what we've been doing previously (by deferring to node default behavior) and we - // haven't heard any complaints about that aspect. - // - // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be - // escaped when used on the command line directly - even though within a .cmd file % can be escaped - // by using %%. - // - // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts - // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing. - // - // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would - // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the - // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args - // to an external program. - // - // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file. - // % can be escaped within a .cmd file. - let reverse = '"'; - let quoteHit = true; - for (let i = arg.length; i > 0; i--) { - // walk the string in reverse - reverse += arg[i - 1]; - if (quoteHit && arg[i - 1] === '\\') { - reverse += '\\'; // double the slash - } - else if (arg[i - 1] === '"') { - quoteHit = true; - reverse += '"'; // double the quote - } - else { - quoteHit = false; - } - } - reverse += '"'; - return reverse - .split('') - .reverse() - .join(''); - } - _uvQuoteCmdArg(arg) { - // Tool runner wraps child_process.spawn() and needs to apply the same quoting as - // Node in certain cases where the undocumented spawn option windowsVerbatimArguments - // is used. - // - // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV, - // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details), - // pasting copyright notice from Node within this function: - // - // Copyright Joyent, Inc. and other Node contributors. All rights reserved. - // - // Permission is hereby granted, free of charge, to any person obtaining a copy - // of this software and associated documentation files (the "Software"), to - // deal in the Software without restriction, including without limitation the - // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - // sell copies of the Software, and to permit persons to whom the Software is - // furnished to do so, subject to the following conditions: - // - // The above copyright notice and this permission notice shall be included in - // all copies or substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - // IN THE SOFTWARE. - if (!arg) { - // Need double quotation for empty argument - return '""'; - } - if (!arg.includes(' ') && !arg.includes('\t') && !arg.includes('"')) { - // No quotation needed - return arg; - } - if (!arg.includes('"') && !arg.includes('\\')) { - // No embedded double quotes or backslashes, so I can just wrap - // quote marks around the whole thing. - return `"${arg}"`; - } - // Expected input/output: - // input : hello"world - // output: "hello\"world" - // input : hello""world - // output: "hello\"\"world" - // input : hello\world - // output: hello\world - // input : hello\\world - // output: hello\\world - // input : hello\"world - // output: "hello\\\"world" - // input : hello\\"world - // output: "hello\\\\\"world" - // input : hello world\ - // output: "hello world\\" - note the comment in libuv actually reads "hello world\" - // but it appears the comment is wrong, it should be "hello world\\" - let reverse = '"'; - let quoteHit = true; - for (let i = arg.length; i > 0; i--) { - // walk the string in reverse - reverse += arg[i - 1]; - if (quoteHit && arg[i - 1] === '\\') { - reverse += '\\'; - } - else if (arg[i - 1] === '"') { - quoteHit = true; - reverse += '\\'; - } - else { - quoteHit = false; - } - } - reverse += '"'; - return reverse - .split('') - .reverse() - .join(''); - } - _cloneExecOptions(options) { - options = options || {}; - const result = { - cwd: options.cwd || process.cwd(), - env: options.env || process.env, - silent: options.silent || false, - windowsVerbatimArguments: options.windowsVerbatimArguments || false, - failOnStdErr: options.failOnStdErr || false, - ignoreReturnCode: options.ignoreReturnCode || false, - delay: options.delay || 10000 - }; - result.outStream = options.outStream || process.stdout; - result.errStream = options.errStream || process.stderr; - return result; - } - _getSpawnOptions(options, toolPath) { - options = options || {}; - const result = {}; - result.cwd = options.cwd; - result.env = options.env; - result['windowsVerbatimArguments'] = - options.windowsVerbatimArguments || this._isCmdFile(); - if (options.windowsVerbatimArguments) { - result.argv0 = `"${toolPath}"`; - } - return result; - } - /** - * Exec a tool. - * Output will be streamed to the live console. - * Returns promise with return code - * - * @param tool path to tool to exec - * @param options optional exec options. See ExecOptions - * @returns number - */ - exec() { - return __awaiter(this, void 0, void 0, function* () { - // root the tool path if it is unrooted and contains relative pathing - if (!ioUtil.isRooted(this.toolPath) && - (this.toolPath.includes('/') || - (IS_WINDOWS && this.toolPath.includes('\\')))) { - // prefer options.cwd if it is specified, however options.cwd may also need to be rooted - this.toolPath = path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath); - } - // if the tool is only a file name, then resolve it from the PATH - // otherwise verify it exists (add extension on Windows if necessary) - this.toolPath = yield io.which(this.toolPath, true); - return new Promise((resolve, reject) => { - this._debug(`exec tool: ${this.toolPath}`); - this._debug('arguments:'); - for (const arg of this.args) { - this._debug(` ${arg}`); - } - const optionsNonNull = this._cloneExecOptions(this.options); - if (!optionsNonNull.silent && optionsNonNull.outStream) { - optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL); - } - const state = new ExecState(optionsNonNull, this.toolPath); - state.on('debug', (message) => { - this._debug(message); - }); - const fileName = this._getSpawnFileName(); - const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName)); - const stdbuffer = ''; - if (cp.stdout) { - cp.stdout.on('data', (data) => { - if (this.options.listeners && this.options.listeners.stdout) { - this.options.listeners.stdout(data); - } - if (!optionsNonNull.silent && optionsNonNull.outStream) { - optionsNonNull.outStream.write(data); - } - this._processLineBuffer(data, stdbuffer, (line) => { - if (this.options.listeners && this.options.listeners.stdline) { - this.options.listeners.stdline(line); - } - }); - }); - } - const errbuffer = ''; - if (cp.stderr) { - cp.stderr.on('data', (data) => { - state.processStderr = true; - if (this.options.listeners && this.options.listeners.stderr) { - this.options.listeners.stderr(data); - } - if (!optionsNonNull.silent && - optionsNonNull.errStream && - optionsNonNull.outStream) { - const s = optionsNonNull.failOnStdErr - ? optionsNonNull.errStream - : optionsNonNull.outStream; - s.write(data); - } - this._processLineBuffer(data, errbuffer, (line) => { - if (this.options.listeners && this.options.listeners.errline) { - this.options.listeners.errline(line); - } - }); - }); - } - cp.on('error', (err) => { - state.processError = err.message; - state.processExited = true; - state.processClosed = true; - state.CheckComplete(); - }); - cp.on('exit', (code) => { - state.processExitCode = code; - state.processExited = true; - this._debug(`Exit code ${code} received from tool '${this.toolPath}'`); - state.CheckComplete(); - }); - cp.on('close', (code) => { - state.processExitCode = code; - state.processExited = true; - state.processClosed = true; - this._debug(`STDIO streams have closed for tool '${this.toolPath}'`); - state.CheckComplete(); - }); - state.on('done', (error, exitCode) => { - if (stdbuffer.length > 0) { - this.emit('stdline', stdbuffer); - } - if (errbuffer.length > 0) { - this.emit('errline', errbuffer); - } - cp.removeAllListeners(); - if (error) { - reject(error); - } - else { - resolve(exitCode); - } - }); - if (this.options.input) { - if (!cp.stdin) { - throw new Error('child process missing stdin'); - } - cp.stdin.end(this.options.input); - } - }); - }); - } -} -exports.ToolRunner = ToolRunner; -/** - * Convert an arg string to an array of args. Handles escaping - * - * @param argString string of arguments - * @returns string[] array of arguments - */ -function argStringToArray(argString) { - const args = []; - let inQuotes = false; - let escaped = false; - let arg = ''; - function append(c) { - // we only escape double quotes. - if (escaped && c !== '"') { - arg += '\\'; - } - arg += c; - escaped = false; - } - for (let i = 0; i < argString.length; i++) { - const c = argString.charAt(i); - if (c === '"') { - if (!escaped) { - inQuotes = !inQuotes; - } - else { - append(c); - } - continue; - } - if (c === '\\' && escaped) { - append(c); - continue; - } - if (c === '\\' && inQuotes) { - escaped = true; - continue; - } - if (c === ' ' && !inQuotes) { - if (arg.length > 0) { - args.push(arg); - arg = ''; - } - continue; - } - append(c); - } - if (arg.length > 0) { - args.push(arg.trim()); - } - return args; -} -exports.argStringToArray = argStringToArray; -class ExecState extends events.EventEmitter { - constructor(options, toolPath) { - super(); - this.processClosed = false; // tracks whether the process has exited and stdio is closed - this.processError = ''; - this.processExitCode = 0; - this.processExited = false; // tracks whether the process has exited - this.processStderr = false; // tracks whether stderr was written to - this.delay = 10000; // 10 seconds - this.done = false; - this.timeout = null; - if (!toolPath) { - throw new Error('toolPath must not be empty'); - } - this.options = options; - this.toolPath = toolPath; - if (options.delay) { - this.delay = options.delay; - } - } - CheckComplete() { - if (this.done) { - return; - } - if (this.processClosed) { - this._setResult(); - } - else if (this.processExited) { - this.timeout = setTimeout(ExecState.HandleTimeout, this.delay, this); - } - } - _debug(message) { - this.emit('debug', message); - } - _setResult() { - // determine whether there is an error - let error; - if (this.processExited) { - if (this.processError) { - error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`); - } - else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) { - error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`); - } - else if (this.processStderr && this.options.failOnStdErr) { - error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`); - } - } - // clear the timeout - if (this.timeout) { - clearTimeout(this.timeout); - this.timeout = null; - } - this.done = true; - this.emit('done', error, this.processExitCode); - } - static HandleTimeout(state) { - if (state.done) { - return; - } - if (!state.processClosed && state.processExited) { - const message = `The STDIO streams did not close within ${state.delay / - 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`; - state._debug(message); - } - state._setResult(); - } -} -//# sourceMappingURL=toolrunner.js.map \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/toolrunner.js.map b/node_modules/@actions/exec/lib/toolrunner.js.map deleted file mode 100644 index 0a52eec2e0..0000000000 --- a/node_modules/@actions/exec/lib/toolrunner.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"toolrunner.js","sourceRoot":"","sources":["../src/toolrunner.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,+CAAgC;AAChC,qDAAsC;AACtC,2CAA4B;AAG5B,gDAAiC;AACjC,gEAAiD;AAEjD,sDAAsD;AAEtD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAE/C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,YAAY;IACjD,YAAY,QAAgB,EAAE,IAAe,EAAE,OAAwB;QACrE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAA;SACjE;QAED,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,EAAE,CAAA;IAC9B,CAAC;IAMO,MAAM,CAAC,OAAe;QAC5B,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE;YAC1D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;SACtC;IACH,CAAC;IAEO,iBAAiB,CACvB,OAAuB,EACvB,QAAkB;QAElB,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAA;QACzC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;QACxC,IAAI,GAAG,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAA,CAAC,0CAA0C;QAChF,IAAI,UAAU,EAAE;YACd,qBAAqB;YACrB,IAAI,IAAI,CAAC,UAAU,EAAE,EAAE;gBACrB,GAAG,IAAI,QAAQ,CAAA;gBACf,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;oBACpB,GAAG,IAAI,IAAI,CAAC,EAAE,CAAA;iBACf;aACF;YACD,qBAAqB;iBAChB,IAAI,OAAO,CAAC,wBAAwB,EAAE;gBACzC,GAAG,IAAI,IAAI,QAAQ,GAAG,CAAA;gBACtB,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;oBACpB,GAAG,IAAI,IAAI,CAAC,EAAE,CAAA;iBACf;aACF;YACD,oBAAoB;iBACf;gBACH,GAAG,IAAI,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAA;gBACzC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;oBACpB,GAAG,IAAI,IAAI,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAA;iBACzC;aACF;SACF;aAAM;YACL,qEAAqE;YACrE,sEAAsE;YACtE,wCAAwC;YACxC,GAAG,IAAI,QAAQ,CAAA;YACf,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;gBACpB,GAAG,IAAI,IAAI,CAAC,EAAE,CAAA;aACf;SACF;QAED,OAAO,GAAG,CAAA;IACZ,CAAC;IAEO,kBAAkB,CACxB,IAAY,EACZ,SAAiB,EACjB,MAA8B;QAE9B,IAAI;YACF,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAA;YACnC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;YAEzB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE;gBACb,MAAM,IAAI,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;gBAC9B,MAAM,CAAC,IAAI,CAAC,CAAA;gBAEZ,6BAA6B;gBAC7B,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;gBAClC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;aACtB;YAED,SAAS,GAAG,CAAC,CAAA;SACd;QAAC,OAAO,GAAG,EAAE;YACZ,kEAAkE;YAClE,IAAI,CAAC,MAAM,CAAC,4CAA4C,GAAG,EAAE,CAAC,CAAA;SAC/D;IACH,CAAC;IAEO,iBAAiB;QACvB,IAAI,UAAU,EAAE;YACd,IAAI,IAAI,CAAC,UAAU,EAAE,EAAE;gBACrB,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,SAAS,CAAA;aAC3C;SACF;QAED,OAAO,IAAI,CAAC,QAAQ,CAAA;IACtB,CAAC;IAEO,aAAa,CAAC,OAAuB;QAC3C,IAAI,UAAU,EAAE;YACd,IAAI,IAAI,CAAC,UAAU,EAAE,EAAE;gBACrB,IAAI,OAAO,GAAG,aAAa,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAA;gBACpE,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,EAAE;oBACzB,OAAO,IAAI,GAAG,CAAA;oBACd,OAAO,IAAI,OAAO,CAAC,wBAAwB;wBACzC,CAAC,CAAC,CAAC;wBACH,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAA;iBAChC;gBAED,OAAO,IAAI,GAAG,CAAA;gBACd,OAAO,CAAC,OAAO,CAAC,CAAA;aACjB;SACF;QAED,OAAO,IAAI,CAAC,IAAI,CAAA;IAClB,CAAC;IAEO,SAAS,CAAC,GAAW,EAAE,GAAW;QACxC,OAAO,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;IAC1B,CAAC;IAEO,UAAU;QAChB,MAAM,aAAa,GAAW,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAA;QACzD,OAAO,CACL,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC;YACrC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,CACtC,CAAA;IACH,CAAC;IAEO,mBAAmB,CAAC,GAAW;QACrC,8DAA8D;QAC9D,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE;YACtB,OAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;SAChC;QAED,6EAA6E;QAC7E,4EAA4E;QAC5E,uBAAuB;QACvB,EAAE;QACF,0EAA0E;QAC1E,4HAA4H;QAE5H,4BAA4B;QAC5B,IAAI,CAAC,GAAG,EAAE;YACR,OAAO,IAAI,CAAA;SACZ;QAED,+CAA+C;QAC/C,MAAM,eAAe,GAAG;YACtB,GAAG;YACH,IAAI;YACJ,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;SACJ,CAAA;QACD,IAAI,WAAW,GAAG,KAAK,CAAA;QACvB,KAAK,MAAM,IAAI,IAAI,GAAG,EAAE;YACtB,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,EAAE;gBACzC,WAAW,GAAG,IAAI,CAAA;gBAClB,MAAK;aACN;SACF;QAED,qCAAqC;QACrC,IAAI,CAAC,WAAW,EAAE;YAChB,OAAO,GAAG,CAAA;SACX;QAED,mFAAmF;QACnF,EAAE;QACF,+BAA+B;QAC/B,EAAE;QACF,qCAAqC;QACrC,EAAE;QACF,mGAAmG;QACnG,oDAAoD;QACpD,EAAE;QACF,sGAAsG;QACtG,oCAAoC;QACpC,sCAAsC;QACtC,wDAAwD;QACxD,kCAAkC;QAClC,yFAAyF;QACzF,4DAA4D;QAC5D,sCAAsC;QACtC,EAAE;QACF,6CAA6C;QAC7C,6CAA6C;QAC7C,+CAA+C;QAC/C,iDAAiD;QACjD,8CAA8C;QAC9C,EAAE;QACF,gGAAgG;QAChG,gEAAgE;QAChE,EAAE;QACF,iGAAiG;QACjG,kGAAkG;QAClG,EAAE;QACF,6FAA6F;QAC7F,wDAAwD;QACxD,EAAE;QACF,oGAAoG;QACpG,mGAAmG;QACnG,eAAe;QACf,EAAE;QACF,sGAAsG;QACtG,sGAAsG;QACtG,EAAE;QACF,gGAAgG;QAChG,kGAAkG;QAClG,oGAAoG;QACpG,0BAA0B;QAC1B,EAAE;QACF,iGAAiG;QACjG,uCAAuC;QACvC,IAAI,OAAO,GAAG,GAAG,CAAA;QACjB,IAAI,QAAQ,GAAG,IAAI,CAAA;QACnB,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;YACnC,6BAA6B;YAC7B,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;YACrB,IAAI,QAAQ,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE;gBACnC,OAAO,IAAI,IAAI,CAAA,CAAC,mBAAmB;aACpC;iBAAM,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG,EAAE;gBAC7B,QAAQ,GAAG,IAAI,CAAA;gBACf,OAAO,IAAI,GAAG,CAAA,CAAC,mBAAmB;aACnC;iBAAM;gBACL,QAAQ,GAAG,KAAK,CAAA;aACjB;SACF;QAED,OAAO,IAAI,GAAG,CAAA;QACd,OAAO,OAAO;aACX,KAAK,CAAC,EAAE,CAAC;aACT,OAAO,EAAE;aACT,IAAI,CAAC,EAAE,CAAC,CAAA;IACb,CAAC;IAEO,cAAc,CAAC,GAAW;QAChC,iFAAiF;QACjF,qFAAqF;QACrF,WAAW;QACX,EAAE;QACF,qFAAqF;QACrF,uFAAuF;QACvF,2DAA2D;QAC3D,EAAE;QACF,gFAAgF;QAChF,EAAE;QACF,oFAAoF;QACpF,gFAAgF;QAChF,kFAAkF;QAClF,mFAAmF;QACnF,kFAAkF;QAClF,gEAAgE;QAChE,EAAE;QACF,kFAAkF;QAClF,2DAA2D;QAC3D,EAAE;QACF,kFAAkF;QAClF,gFAAgF;QAChF,mFAAmF;QACnF,8EAA8E;QAC9E,+EAA+E;QAC/E,oFAAoF;QACpF,wBAAwB;QAExB,IAAI,CAAC,GAAG,EAAE;YACR,2CAA2C;YAC3C,OAAO,IAAI,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACnE,sBAAsB;YACtB,OAAO,GAAG,CAAA;SACX;QAED,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YAC7C,+DAA+D;YAC/D,sCAAsC;YACtC,OAAO,IAAI,GAAG,GAAG,CAAA;SAClB;QAED,yBAAyB;QACzB,wBAAwB;QACxB,2BAA2B;QAC3B,yBAAyB;QACzB,6BAA6B;QAC7B,wBAAwB;QACxB,wBAAwB;QACxB,yBAAyB;QACzB,yBAAyB;QACzB,yBAAyB;QACzB,6BAA6B;QAC7B,0BAA0B;QAC1B,+BAA+B;QAC/B,yBAAyB;QACzB,sFAAsF;QACtF,gGAAgG;QAChG,IAAI,OAAO,GAAG,GAAG,CAAA;QACjB,IAAI,QAAQ,GAAG,IAAI,CAAA;QACnB,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;YACnC,6BAA6B;YAC7B,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;YACrB,IAAI,QAAQ,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE;gBACnC,OAAO,IAAI,IAAI,CAAA;aAChB;iBAAM,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG,EAAE;gBAC7B,QAAQ,GAAG,IAAI,CAAA;gBACf,OAAO,IAAI,IAAI,CAAA;aAChB;iBAAM;gBACL,QAAQ,GAAG,KAAK,CAAA;aACjB;SACF;QAED,OAAO,IAAI,GAAG,CAAA;QACd,OAAO,OAAO;aACX,KAAK,CAAC,EAAE,CAAC;aACT,OAAO,EAAE;aACT,IAAI,CAAC,EAAE,CAAC,CAAA;IACb,CAAC;IAEO,iBAAiB,CAAC,OAAwB;QAChD,OAAO,GAAG,OAAO,IAAoB,EAAE,CAAA;QACvC,MAAM,MAAM,GAAmC;YAC7C,GAAG,EAAE,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE;YACjC,GAAG,EAAE,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG;YAC/B,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,KAAK;YAC/B,wBAAwB,EAAE,OAAO,CAAC,wBAAwB,IAAI,KAAK;YACnE,YAAY,EAAE,OAAO,CAAC,YAAY,IAAI,KAAK;YAC3C,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,IAAI,KAAK;YACnD,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,KAAK;SAC9B,CAAA;QACD,MAAM,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,IAAqB,OAAO,CAAC,MAAM,CAAA;QACvE,MAAM,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,IAAqB,OAAO,CAAC,MAAM,CAAA;QACvE,OAAO,MAAM,CAAA;IACf,CAAC;IAEO,gBAAgB,CACtB,OAAuB,EACvB,QAAgB;QAEhB,OAAO,GAAG,OAAO,IAAoB,EAAE,CAAA;QACvC,MAAM,MAAM,GAAuB,EAAE,CAAA;QACrC,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACxB,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACxB,MAAM,CAAC,0BAA0B,CAAC;YAChC,OAAO,CAAC,wBAAwB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAA;QACvD,IAAI,OAAO,CAAC,wBAAwB,EAAE;YACpC,MAAM,CAAC,KAAK,GAAG,IAAI,QAAQ,GAAG,CAAA;SAC/B;QACD,OAAO,MAAM,CAAA;IACf,CAAC;IAED;;;;;;;;OAQG;IACG,IAAI;;YACR,qEAAqE;YACrE,IACE,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC;gBAC/B,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC;oBAC1B,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAC/C;gBACA,wFAAwF;gBACxF,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAC1B,OAAO,CAAC,GAAG,EAAE,EACb,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,EACjC,IAAI,CAAC,QAAQ,CACd,CAAA;aACF;YAED,iEAAiE;YACjE,qEAAqE;YACrE,IAAI,CAAC,QAAQ,GAAG,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YAEnD,OAAO,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBAC7C,IAAI,CAAC,MAAM,CAAC,cAAc,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;gBAC1C,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;gBACzB,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE;oBAC3B,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;iBACzB;gBAED,MAAM,cAAc,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;gBAC3D,IAAI,CAAC,cAAc,CAAC,MAAM,IAAI,cAAc,CAAC,SAAS,EAAE;oBACtD,cAAc,CAAC,SAAS,CAAC,KAAK,CAC5B,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,CAChD,CAAA;iBACF;gBAED,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;gBAC1D,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,OAAe,EAAE,EAAE;oBACpC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;gBACtB,CAAC,CAAC,CAAA;gBAEF,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAA;gBACzC,MAAM,EAAE,GAAG,KAAK,CAAC,KAAK,CACpB,QAAQ,EACR,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,EAClC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAC9C,CAAA;gBAED,MAAM,SAAS,GAAG,EAAE,CAAA;gBACpB,IAAI,EAAE,CAAC,MAAM,EAAE;oBACb,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;wBACpC,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE;4BAC3D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;yBACpC;wBAED,IAAI,CAAC,cAAc,CAAC,MAAM,IAAI,cAAc,CAAC,SAAS,EAAE;4BACtD,cAAc,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;yBACrC;wBAED,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,IAAY,EAAE,EAAE;4BACxD,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE;gCAC5D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;6BACrC;wBACH,CAAC,CAAC,CAAA;oBACJ,CAAC,CAAC,CAAA;iBACH;gBAED,MAAM,SAAS,GAAG,EAAE,CAAA;gBACpB,IAAI,EAAE,CAAC,MAAM,EAAE;oBACb,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;wBACpC,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;wBAC1B,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE;4BAC3D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;yBACpC;wBAED,IACE,CAAC,cAAc,CAAC,MAAM;4BACtB,cAAc,CAAC,SAAS;4BACxB,cAAc,CAAC,SAAS,EACxB;4BACA,MAAM,CAAC,GAAG,cAAc,CAAC,YAAY;gCACnC,CAAC,CAAC,cAAc,CAAC,SAAS;gCAC1B,CAAC,CAAC,cAAc,CAAC,SAAS,CAAA;4BAC5B,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;yBACd;wBAED,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,IAAY,EAAE,EAAE;4BACxD,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE;gCAC5D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;6BACrC;wBACH,CAAC,CAAC,CAAA;oBACJ,CAAC,CAAC,CAAA;iBACH;gBAED,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAU,EAAE,EAAE;oBAC5B,KAAK,CAAC,YAAY,GAAG,GAAG,CAAC,OAAO,CAAA;oBAChC,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,KAAK,CAAC,aAAa,EAAE,CAAA;gBACvB,CAAC,CAAC,CAAA;gBAEF,EAAE,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBAC7B,KAAK,CAAC,eAAe,GAAG,IAAI,CAAA;oBAC5B,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,IAAI,CAAC,MAAM,CAAC,aAAa,IAAI,wBAAwB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAA;oBACtE,KAAK,CAAC,aAAa,EAAE,CAAA;gBACvB,CAAC,CAAC,CAAA;gBAEF,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAY,EAAE,EAAE;oBAC9B,KAAK,CAAC,eAAe,GAAG,IAAI,CAAA;oBAC5B,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,IAAI,CAAC,MAAM,CAAC,uCAAuC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAA;oBACpE,KAAK,CAAC,aAAa,EAAE,CAAA;gBACvB,CAAC,CAAC,CAAA;gBAEF,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAY,EAAE,QAAgB,EAAE,EAAE;oBAClD,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE;wBACxB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;qBAChC;oBAED,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE;wBACxB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;qBAChC;oBAED,EAAE,CAAC,kBAAkB,EAAE,CAAA;oBAEvB,IAAI,KAAK,EAAE;wBACT,MAAM,CAAC,KAAK,CAAC,CAAA;qBACd;yBAAM;wBACL,OAAO,CAAC,QAAQ,CAAC,CAAA;qBAClB;gBACH,CAAC,CAAC,CAAA;gBAEF,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;oBACtB,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;wBACb,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAA;qBAC/C;oBAED,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;iBACjC;YACH,CAAC,CAAC,CAAA;QACJ,CAAC;KAAA;CACF;AAxgBD,gCAwgBC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,SAAiB;IAChD,MAAM,IAAI,GAAa,EAAE,CAAA;IAEzB,IAAI,QAAQ,GAAG,KAAK,CAAA;IACpB,IAAI,OAAO,GAAG,KAAK,CAAA;IACnB,IAAI,GAAG,GAAG,EAAE,CAAA;IAEZ,SAAS,MAAM,CAAC,CAAS;QACvB,gCAAgC;QAChC,IAAI,OAAO,IAAI,CAAC,KAAK,GAAG,EAAE;YACxB,GAAG,IAAI,IAAI,CAAA;SACZ;QAED,GAAG,IAAI,CAAC,CAAA;QACR,OAAO,GAAG,KAAK,CAAA;IACjB,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACzC,MAAM,CAAC,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;QAE7B,IAAI,CAAC,KAAK,GAAG,EAAE;YACb,IAAI,CAAC,OAAO,EAAE;gBACZ,QAAQ,GAAG,CAAC,QAAQ,CAAA;aACrB;iBAAM;gBACL,MAAM,CAAC,CAAC,CAAC,CAAA;aACV;YACD,SAAQ;SACT;QAED,IAAI,CAAC,KAAK,IAAI,IAAI,OAAO,EAAE;YACzB,MAAM,CAAC,CAAC,CAAC,CAAA;YACT,SAAQ;SACT;QAED,IAAI,CAAC,KAAK,IAAI,IAAI,QAAQ,EAAE;YAC1B,OAAO,GAAG,IAAI,CAAA;YACd,SAAQ;SACT;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE;YAC1B,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE;gBAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;gBACd,GAAG,GAAG,EAAE,CAAA;aACT;YACD,SAAQ;SACT;QAED,MAAM,CAAC,CAAC,CAAC,CAAA;KACV;IAED,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE;QAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;KACtB;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAvDD,4CAuDC;AAED,MAAM,SAAU,SAAQ,MAAM,CAAC,YAAY;IACzC,YAAY,OAAuB,EAAE,QAAgB;QACnD,KAAK,EAAE,CAAA;QAaT,kBAAa,GAAY,KAAK,CAAA,CAAC,4DAA4D;QAC3F,iBAAY,GAAW,EAAE,CAAA;QACzB,oBAAe,GAAW,CAAC,CAAA;QAC3B,kBAAa,GAAY,KAAK,CAAA,CAAC,wCAAwC;QACvE,kBAAa,GAAY,KAAK,CAAA,CAAC,uCAAuC;QAC9D,UAAK,GAAG,KAAK,CAAA,CAAC,aAAa;QAC3B,SAAI,GAAY,KAAK,CAAA;QAErB,YAAO,GAAwB,IAAI,CAAA;QAnBzC,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAA;SAC9C;QAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,OAAO,CAAC,KAAK,EAAE;YACjB,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;SAC3B;IACH,CAAC;IAaD,aAAa;QACX,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAM;SACP;QAED,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,UAAU,EAAE,CAAA;SAClB;aAAM,IAAI,IAAI,CAAC,aAAa,EAAE;YAC7B,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,aAAa,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;SACrE;IACH,CAAC;IAEO,MAAM,CAAC,OAAe;QAC5B,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;IAC7B,CAAC;IAEO,UAAU;QAChB,sCAAsC;QACtC,IAAI,KAAwB,CAAA;QAC5B,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,IAAI,CAAC,YAAY,EAAE;gBACrB,KAAK,GAAG,IAAI,KAAK,CACf,8DAA8D,IAAI,CAAC,QAAQ,4DAA4D,IAAI,CAAC,YAAY,EAAE,CAC3J,CAAA;aACF;iBAAM,IAAI,IAAI,CAAC,eAAe,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;gBACvE,KAAK,GAAG,IAAI,KAAK,CACf,gBAAgB,IAAI,CAAC,QAAQ,2BAA2B,IAAI,CAAC,eAAe,EAAE,CAC/E,CAAA;aACF;iBAAM,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;gBAC1D,KAAK,GAAG,IAAI,KAAK,CACf,gBAAgB,IAAI,CAAC,QAAQ,sEAAsE,CACpG,CAAA;aACF;SACF;QAED,oBAAoB;QACpB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YAC1B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;SACpB;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,eAAe,CAAC,CAAA;IAChD,CAAC;IAEO,MAAM,CAAC,aAAa,CAAC,KAAgB;QAC3C,IAAI,KAAK,CAAC,IAAI,EAAE;YACd,OAAM;SACP;QAED,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,aAAa,EAAE;YAC/C,MAAM,OAAO,GAAG,0CAA0C,KAAK,CAAC,KAAK;gBACnE,IAAI,4CACJ,KAAK,CAAC,QACR,0FAA0F,CAAA;YAC1F,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACtB;QAED,KAAK,CAAC,UAAU,EAAE,CAAA;IACpB,CAAC;CACF"} \ No newline at end of file diff --git a/node_modules/@actions/exec/package.json b/node_modules/@actions/exec/package.json deleted file mode 100644 index 822800ba60..0000000000 --- a/node_modules/@actions/exec/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "@actions/exec", - "version": "1.0.4", - "description": "Actions exec lib", - "keywords": [ - "github", - "actions", - "exec" - ], - "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", - "license": "MIT", - "main": "lib/exec.js", - "types": "lib/exec.d.ts", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib" - ], - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/toolkit.git", - "directory": "packages/exec" - }, - "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", - "test": "echo \"Error: run tests from root\" && exit 1", - "tsc": "tsc" - }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "dependencies": { - "@actions/io": "^1.0.1" - } - -,"_resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.4.tgz" -,"_integrity": "sha512-4DPChWow9yc9W3WqEbUj8Nr86xkpyE29ZzWjXucHItclLbEW6jr80Zx4nqv18QL6KK65+cifiQZXvnqgTV6oHw==" -,"_from": "@actions/exec@1.0.4" -} \ No newline at end of file diff --git a/node_modules/@actions/io/README.md b/node_modules/@actions/io/README.md deleted file mode 100644 index 9aadf2f95c..0000000000 --- a/node_modules/@actions/io/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# `@actions/io` - -> Core functions for cli filesystem scenarios - -## Usage - -#### mkdir -p - -Recursively make a directory. Follows rules specified in [man mkdir](https://linux.die.net/man/1/mkdir) with the `-p` option specified: - -```js -const io = require('@actions/io'); - -await io.mkdirP('path/to/make'); -``` - -#### cp/mv - -Copy or move files or folders. Follows rules specified in [man cp](https://linux.die.net/man/1/cp) and [man mv](https://linux.die.net/man/1/mv): - -```js -const io = require('@actions/io'); - -// Recursive must be true for directories -const options = { recursive: true, force: false } - -await io.cp('path/to/directory', 'path/to/dest', options); -await io.mv('path/to/file', 'path/to/dest'); -``` - -#### rm -rf - -Remove a file or folder recursively. Follows rules specified in [man rm](https://linux.die.net/man/1/rm) with the `-r` and `-f` rules specified. - -```js -const io = require('@actions/io'); - -await io.rmRF('path/to/directory'); -await io.rmRF('path/to/file'); -``` - -#### which - -Get the path to a tool and resolves via paths. Follows the rules specified in [man which](https://linux.die.net/man/1/which). - -```js -const exec = require('@actions/exec'); -const io = require('@actions/io'); - -const pythonPath: string = await io.which('python', true) - -await exec.exec(`"${pythonPath}"`, ['main.py']); -``` diff --git a/node_modules/@actions/io/lib/io-util.d.ts b/node_modules/@actions/io/lib/io-util.d.ts deleted file mode 100644 index f0214fe208..0000000000 --- a/node_modules/@actions/io/lib/io-util.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/// -import * as fs from 'fs'; -export declare const chmod: typeof fs.promises.chmod, copyFile: typeof fs.promises.copyFile, lstat: typeof fs.promises.lstat, mkdir: typeof fs.promises.mkdir, readdir: typeof fs.promises.readdir, readlink: typeof fs.promises.readlink, rename: typeof fs.promises.rename, rmdir: typeof fs.promises.rmdir, stat: typeof fs.promises.stat, symlink: typeof fs.promises.symlink, unlink: typeof fs.promises.unlink; -export declare const IS_WINDOWS: boolean; -export declare function exists(fsPath: string): Promise; -export declare function isDirectory(fsPath: string, useStat?: boolean): Promise; -/** - * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like: - * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases). - */ -export declare function isRooted(p: string): boolean; -/** - * Recursively create a directory at `fsPath`. - * - * This implementation is optimistic, meaning it attempts to create the full - * path first, and backs up the path stack from there. - * - * @param fsPath The path to create - * @param maxDepth The maximum recursion depth - * @param depth The current recursion depth - */ -export declare function mkdirP(fsPath: string, maxDepth?: number, depth?: number): Promise; -/** - * Best effort attempt to determine whether a file exists and is executable. - * @param filePath file path to check - * @param extensions additional file extensions to try - * @return if file exists and is executable, returns the file path. otherwise empty string. - */ -export declare function tryGetExecutablePath(filePath: string, extensions: string[]): Promise; diff --git a/node_modules/@actions/io/lib/io-util.js b/node_modules/@actions/io/lib/io-util.js deleted file mode 100644 index 17b3bba58b..0000000000 --- a/node_modules/@actions/io/lib/io-util.js +++ /dev/null @@ -1,195 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var _a; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert_1 = require("assert"); -const fs = require("fs"); -const path = require("path"); -_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; -exports.IS_WINDOWS = process.platform === 'win32'; -function exists(fsPath) { - return __awaiter(this, void 0, void 0, function* () { - try { - yield exports.stat(fsPath); - } - catch (err) { - if (err.code === 'ENOENT') { - return false; - } - throw err; - } - return true; - }); -} -exports.exists = exists; -function isDirectory(fsPath, useStat = false) { - return __awaiter(this, void 0, void 0, function* () { - const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); - return stats.isDirectory(); - }); -} -exports.isDirectory = isDirectory; -/** - * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like: - * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases). - */ -function isRooted(p) { - p = normalizeSeparators(p); - if (!p) { - throw new Error('isRooted() parameter "p" cannot be empty'); - } - if (exports.IS_WINDOWS) { - return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello - ); // e.g. C: or C:\hello - } - return p.startsWith('/'); -} -exports.isRooted = isRooted; -/** - * Recursively create a directory at `fsPath`. - * - * This implementation is optimistic, meaning it attempts to create the full - * path first, and backs up the path stack from there. - * - * @param fsPath The path to create - * @param maxDepth The maximum recursion depth - * @param depth The current recursion depth - */ -function mkdirP(fsPath, maxDepth = 1000, depth = 1) { - return __awaiter(this, void 0, void 0, function* () { - assert_1.ok(fsPath, 'a path argument must be provided'); - fsPath = path.resolve(fsPath); - if (depth >= maxDepth) - return exports.mkdir(fsPath); - try { - yield exports.mkdir(fsPath); - return; - } - catch (err) { - switch (err.code) { - case 'ENOENT': { - yield mkdirP(path.dirname(fsPath), maxDepth, depth + 1); - yield exports.mkdir(fsPath); - return; - } - default: { - let stats; - try { - stats = yield exports.stat(fsPath); - } - catch (err2) { - throw err; - } - if (!stats.isDirectory()) - throw err; - } - } - } - }); -} -exports.mkdirP = mkdirP; -/** - * Best effort attempt to determine whether a file exists and is executable. - * @param filePath file path to check - * @param extensions additional file extensions to try - * @return if file exists and is executable, returns the file path. otherwise empty string. - */ -function tryGetExecutablePath(filePath, extensions) { - return __awaiter(this, void 0, void 0, function* () { - let stats = undefined; - try { - // test file exists - stats = yield exports.stat(filePath); - } - catch (err) { - if (err.code !== 'ENOENT') { - // eslint-disable-next-line no-console - console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`); - } - } - if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { - // on Windows, test for valid extension - const upperExt = path.extname(filePath).toUpperCase(); - if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { - return filePath; - } - } - else { - if (isUnixExecutable(stats)) { - return filePath; - } - } - } - // try each extension - const originalFilePath = filePath; - for (const extension of extensions) { - filePath = originalFilePath + extension; - stats = undefined; - try { - stats = yield exports.stat(filePath); - } - catch (err) { - if (err.code !== 'ENOENT') { - // eslint-disable-next-line no-console - console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`); - } - } - if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { - // preserve the case of the actual file (since an extension was appended) - try { - const directory = path.dirname(filePath); - const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield exports.readdir(directory)) { - if (upperName === actualName.toUpperCase()) { - filePath = path.join(directory, actualName); - break; - } - } - } - catch (err) { - // eslint-disable-next-line no-console - console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`); - } - return filePath; - } - else { - if (isUnixExecutable(stats)) { - return filePath; - } - } - } - } - return ''; - }); -} -exports.tryGetExecutablePath = tryGetExecutablePath; -function normalizeSeparators(p) { - p = p || ''; - if (exports.IS_WINDOWS) { - // convert slashes on Windows - p = p.replace(/\//g, '\\'); - // remove redundant slashes - return p.replace(/\\\\+/g, '\\'); - } - // remove redundant slashes - return p.replace(/\/\/+/g, '/'); -} -// on Mac/Linux, test the execute bit -// R W X R W X R W X -// 256 128 64 32 16 8 4 2 1 -function isUnixExecutable(stats) { - return ((stats.mode & 1) > 0 || - ((stats.mode & 8) > 0 && stats.gid === process.getgid()) || - ((stats.mode & 64) > 0 && stats.uid === process.getuid())); -} -//# sourceMappingURL=io-util.js.map \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io-util.js.map b/node_modules/@actions/io/lib/io-util.js.map deleted file mode 100644 index 76cd3b9447..0000000000 --- a/node_modules/@actions/io/lib/io-util.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"io-util.js","sourceRoot":"","sources":["../src/io-util.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAAyB;AACzB,yBAAwB;AACxB,6BAA4B;AAEf,gBAYE,qTAAA;AAEF,QAAA,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAEtD,SAAsB,MAAM,CAAC,MAAc;;QACzC,IAAI;YACF,MAAM,YAAI,CAAC,MAAM,CAAC,CAAA;SACnB;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;gBACzB,OAAO,KAAK,CAAA;aACb;YAED,MAAM,GAAG,CAAA;SACV;QAED,OAAO,IAAI,CAAA;IACb,CAAC;CAAA;AAZD,wBAYC;AAED,SAAsB,WAAW,CAC/B,MAAc,EACd,UAAmB,KAAK;;QAExB,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,MAAM,YAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,aAAK,CAAC,MAAM,CAAC,CAAA;QAChE,OAAO,KAAK,CAAC,WAAW,EAAE,CAAA;IAC5B,CAAC;CAAA;AAND,kCAMC;AAED;;;GAGG;AACH,SAAgB,QAAQ,CAAC,CAAS;IAChC,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAA;IAC1B,IAAI,CAAC,CAAC,EAAE;QACN,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;KAC5D;IAED,IAAI,kBAAU,EAAE;QACd,OAAO,CACL,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,8BAA8B;SACxE,CAAA,CAAC,sBAAsB;KACzB;IAED,OAAO,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;AAC1B,CAAC;AAbD,4BAaC;AAED;;;;;;;;;GASG;AACH,SAAsB,MAAM,CAC1B,MAAc,EACd,WAAmB,IAAI,EACvB,QAAgB,CAAC;;QAEjB,WAAE,CAAC,MAAM,EAAE,kCAAkC,CAAC,CAAA;QAE9C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;QAE7B,IAAI,KAAK,IAAI,QAAQ;YAAE,OAAO,aAAK,CAAC,MAAM,CAAC,CAAA;QAE3C,IAAI;YACF,MAAM,aAAK,CAAC,MAAM,CAAC,CAAA;YACnB,OAAM;SACP;QAAC,OAAO,GAAG,EAAE;YACZ,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,QAAQ,CAAC,CAAC;oBACb,MAAM,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,GAAG,CAAC,CAAC,CAAA;oBACvD,MAAM,aAAK,CAAC,MAAM,CAAC,CAAA;oBACnB,OAAM;iBACP;gBACD,OAAO,CAAC,CAAC;oBACP,IAAI,KAAe,CAAA;oBAEnB,IAAI;wBACF,KAAK,GAAG,MAAM,YAAI,CAAC,MAAM,CAAC,CAAA;qBAC3B;oBAAC,OAAO,IAAI,EAAE;wBACb,MAAM,GAAG,CAAA;qBACV;oBAED,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;wBAAE,MAAM,GAAG,CAAA;iBACpC;aACF;SACF;IACH,CAAC;CAAA;AAlCD,wBAkCC;AAED;;;;;GAKG;AACH,SAAsB,oBAAoB,CACxC,QAAgB,EAChB,UAAoB;;QAEpB,IAAI,KAAK,GAAyB,SAAS,CAAA;QAC3C,IAAI;YACF,mBAAmB;YACnB,KAAK,GAAG,MAAM,YAAI,CAAC,QAAQ,CAAC,CAAA;SAC7B;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;gBACzB,sCAAsC;gBACtC,OAAO,CAAC,GAAG,CACT,uEAAuE,QAAQ,MAAM,GAAG,EAAE,CAC3F,CAAA;aACF;SACF;QACD,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE;YAC3B,IAAI,kBAAU,EAAE;gBACd,uCAAuC;gBACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAA;gBACrD,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,QAAQ,CAAC,EAAE;oBACpE,OAAO,QAAQ,CAAA;iBAChB;aACF;iBAAM;gBACL,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;oBAC3B,OAAO,QAAQ,CAAA;iBAChB;aACF;SACF;QAED,qBAAqB;QACrB,MAAM,gBAAgB,GAAG,QAAQ,CAAA;QACjC,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE;YAClC,QAAQ,GAAG,gBAAgB,GAAG,SAAS,CAAA;YAEvC,KAAK,GAAG,SAAS,CAAA;YACjB,IAAI;gBACF,KAAK,GAAG,MAAM,YAAI,CAAC,QAAQ,CAAC,CAAA;aAC7B;YAAC,OAAO,GAAG,EAAE;gBACZ,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;oBACzB,sCAAsC;oBACtC,OAAO,CAAC,GAAG,CACT,uEAAuE,QAAQ,MAAM,GAAG,EAAE,CAC3F,CAAA;iBACF;aACF;YAED,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE;gBAC3B,IAAI,kBAAU,EAAE;oBACd,yEAAyE;oBACzE,IAAI;wBACF,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;wBACxC,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAA;wBACvD,KAAK,MAAM,UAAU,IAAI,MAAM,eAAO,CAAC,SAAS,CAAC,EAAE;4BACjD,IAAI,SAAS,KAAK,UAAU,CAAC,WAAW,EAAE,EAAE;gCAC1C,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;gCAC3C,MAAK;6BACN;yBACF;qBACF;oBAAC,OAAO,GAAG,EAAE;wBACZ,sCAAsC;wBACtC,OAAO,CAAC,GAAG,CACT,yEAAyE,QAAQ,MAAM,GAAG,EAAE,CAC7F,CAAA;qBACF;oBAED,OAAO,QAAQ,CAAA;iBAChB;qBAAM;oBACL,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;wBAC3B,OAAO,QAAQ,CAAA;qBAChB;iBACF;aACF;SACF;QAED,OAAO,EAAE,CAAA;IACX,CAAC;CAAA;AA5ED,oDA4EC;AAED,SAAS,mBAAmB,CAAC,CAAS;IACpC,CAAC,GAAG,CAAC,IAAI,EAAE,CAAA;IACX,IAAI,kBAAU,EAAE;QACd,6BAA6B;QAC7B,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;QAE1B,2BAA2B;QAC3B,OAAO,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;KACjC;IAED,2BAA2B;IAC3B,OAAO,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjC,CAAC;AAED,qCAAqC;AACrC,6BAA6B;AAC7B,6BAA6B;AAC7B,SAAS,gBAAgB,CAAC,KAAe;IACvC,OAAO,CACL,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC;QACpB,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC;QACxD,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC,CAC1D,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io.d.ts b/node_modules/@actions/io/lib/io.d.ts deleted file mode 100644 index a4ea5a7f07..0000000000 --- a/node_modules/@actions/io/lib/io.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Interface for cp/mv options - */ -export interface CopyOptions { - /** Optional. Whether to recursively copy all subdirectories. Defaults to false */ - recursive?: boolean; - /** Optional. Whether to overwrite existing files in the destination. Defaults to true */ - force?: boolean; -} -/** - * Interface for cp/mv options - */ -export interface MoveOptions { - /** Optional. Whether to overwrite existing files in the destination. Defaults to true */ - force?: boolean; -} -/** - * Copies a file or folder. - * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js - * - * @param source source path - * @param dest destination path - * @param options optional. See CopyOptions. - */ -export declare function cp(source: string, dest: string, options?: CopyOptions): Promise; -/** - * Moves a path. - * - * @param source source path - * @param dest destination path - * @param options optional. See MoveOptions. - */ -export declare function mv(source: string, dest: string, options?: MoveOptions): Promise; -/** - * Remove a path recursively with force - * - * @param inputPath path to remove - */ -export declare function rmRF(inputPath: string): Promise; -/** - * Make a directory. Creates the full path with folders in between - * Will throw if it fails - * - * @param fsPath path to create - * @returns Promise - */ -export declare function mkdirP(fsPath: string): Promise; -/** - * Returns path of a tool had the tool actually been invoked. Resolves via paths. - * If you check and the tool does not exist, it will throw. - * - * @param tool name of the tool - * @param check whether to check if tool exists - * @returns Promise path to tool - */ -export declare function which(tool: string, check?: boolean): Promise; diff --git a/node_modules/@actions/io/lib/io.js b/node_modules/@actions/io/lib/io.js deleted file mode 100644 index ad5bdb926b..0000000000 --- a/node_modules/@actions/io/lib/io.js +++ /dev/null @@ -1,290 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const childProcess = require("child_process"); -const path = require("path"); -const util_1 = require("util"); -const ioUtil = require("./io-util"); -const exec = util_1.promisify(childProcess.exec); -/** - * Copies a file or folder. - * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js - * - * @param source source path - * @param dest destination path - * @param options optional. See CopyOptions. - */ -function cp(source, dest, options = {}) { - return __awaiter(this, void 0, void 0, function* () { - const { force, recursive } = readCopyOptions(options); - const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null; - // Dest is an existing file, but not forcing - if (destStat && destStat.isFile() && !force) { - return; - } - // If dest is an existing directory, should copy inside. - const newDest = destStat && destStat.isDirectory() - ? path.join(dest, path.basename(source)) - : dest; - if (!(yield ioUtil.exists(source))) { - throw new Error(`no such file or directory: ${source}`); - } - const sourceStat = yield ioUtil.stat(source); - if (sourceStat.isDirectory()) { - if (!recursive) { - throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`); - } - else { - yield cpDirRecursive(source, newDest, 0, force); - } - } - else { - if (path.relative(source, newDest) === '') { - // a file cannot be copied to itself - throw new Error(`'${newDest}' and '${source}' are the same file`); - } - yield copyFile(source, newDest, force); - } - }); -} -exports.cp = cp; -/** - * Moves a path. - * - * @param source source path - * @param dest destination path - * @param options optional. See MoveOptions. - */ -function mv(source, dest, options = {}) { - return __awaiter(this, void 0, void 0, function* () { - if (yield ioUtil.exists(dest)) { - let destExists = true; - if (yield ioUtil.isDirectory(dest)) { - // If dest is directory copy src into dest - dest = path.join(dest, path.basename(source)); - destExists = yield ioUtil.exists(dest); - } - if (destExists) { - if (options.force == null || options.force) { - yield rmRF(dest); - } - else { - throw new Error('Destination already exists'); - } - } - } - yield mkdirP(path.dirname(dest)); - yield ioUtil.rename(source, dest); - }); -} -exports.mv = mv; -/** - * Remove a path recursively with force - * - * @param inputPath path to remove - */ -function rmRF(inputPath) { - return __awaiter(this, void 0, void 0, function* () { - if (ioUtil.IS_WINDOWS) { - // Node doesn't provide a delete operation, only an unlink function. This means that if the file is being used by another - // program (e.g. antivirus), it won't be deleted. To address this, we shell out the work to rd/del. - try { - if (yield ioUtil.isDirectory(inputPath, true)) { - yield exec(`rd /s /q "${inputPath}"`); - } - else { - yield exec(`del /f /a "${inputPath}"`); - } - } - catch (err) { - // if you try to delete a file that doesn't exist, desired result is achieved - // other errors are valid - if (err.code !== 'ENOENT') - throw err; - } - // Shelling out fails to remove a symlink folder with missing source, this unlink catches that - try { - yield ioUtil.unlink(inputPath); - } - catch (err) { - // if you try to delete a file that doesn't exist, desired result is achieved - // other errors are valid - if (err.code !== 'ENOENT') - throw err; - } - } - else { - let isDir = false; - try { - isDir = yield ioUtil.isDirectory(inputPath); - } - catch (err) { - // if you try to delete a file that doesn't exist, desired result is achieved - // other errors are valid - if (err.code !== 'ENOENT') - throw err; - return; - } - if (isDir) { - yield exec(`rm -rf "${inputPath}"`); - } - else { - yield ioUtil.unlink(inputPath); - } - } - }); -} -exports.rmRF = rmRF; -/** - * Make a directory. Creates the full path with folders in between - * Will throw if it fails - * - * @param fsPath path to create - * @returns Promise - */ -function mkdirP(fsPath) { - return __awaiter(this, void 0, void 0, function* () { - yield ioUtil.mkdirP(fsPath); - }); -} -exports.mkdirP = mkdirP; -/** - * Returns path of a tool had the tool actually been invoked. Resolves via paths. - * If you check and the tool does not exist, it will throw. - * - * @param tool name of the tool - * @param check whether to check if tool exists - * @returns Promise path to tool - */ -function which(tool, check) { - return __awaiter(this, void 0, void 0, function* () { - if (!tool) { - throw new Error("parameter 'tool' is required"); - } - // recursive when check=true - if (check) { - const result = yield which(tool, false); - if (!result) { - if (ioUtil.IS_WINDOWS) { - throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`); - } - else { - throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`); - } - } - } - try { - // build the list of extensions to try - const extensions = []; - if (ioUtil.IS_WINDOWS && process.env.PATHEXT) { - for (const extension of process.env.PATHEXT.split(path.delimiter)) { - if (extension) { - extensions.push(extension); - } - } - } - // if it's rooted, return it if exists. otherwise return empty. - if (ioUtil.isRooted(tool)) { - const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions); - if (filePath) { - return filePath; - } - return ''; - } - // if any path separators, return empty - if (tool.includes('/') || (ioUtil.IS_WINDOWS && tool.includes('\\'))) { - return ''; - } - // build the list of directories - // - // Note, technically "where" checks the current directory on Windows. From a toolkit perspective, - // it feels like we should not do this. Checking the current directory seems like more of a use - // case of a shell, and the which() function exposed by the toolkit should strive for consistency - // across platforms. - const directories = []; - if (process.env.PATH) { - for (const p of process.env.PATH.split(path.delimiter)) { - if (p) { - directories.push(p); - } - } - } - // return the first match - for (const directory of directories) { - const filePath = yield ioUtil.tryGetExecutablePath(directory + path.sep + tool, extensions); - if (filePath) { - return filePath; - } - } - return ''; - } - catch (err) { - throw new Error(`which failed with message ${err.message}`); - } - }); -} -exports.which = which; -function readCopyOptions(options) { - const force = options.force == null ? true : options.force; - const recursive = Boolean(options.recursive); - return { force, recursive }; -} -function cpDirRecursive(sourceDir, destDir, currentDepth, force) { - return __awaiter(this, void 0, void 0, function* () { - // Ensure there is not a run away recursive copy - if (currentDepth >= 255) - return; - currentDepth++; - yield mkdirP(destDir); - const files = yield ioUtil.readdir(sourceDir); - for (const fileName of files) { - const srcFile = `${sourceDir}/${fileName}`; - const destFile = `${destDir}/${fileName}`; - const srcFileStat = yield ioUtil.lstat(srcFile); - if (srcFileStat.isDirectory()) { - // Recurse - yield cpDirRecursive(srcFile, destFile, currentDepth, force); - } - else { - yield copyFile(srcFile, destFile, force); - } - } - // Change the mode for the newly created directory - yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode); - }); -} -// Buffered file copy -function copyFile(srcFile, destFile, force) { - return __awaiter(this, void 0, void 0, function* () { - if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) { - // unlink/re-link it - try { - yield ioUtil.lstat(destFile); - yield ioUtil.unlink(destFile); - } - catch (e) { - // Try to override file permission - if (e.code === 'EPERM') { - yield ioUtil.chmod(destFile, '0666'); - yield ioUtil.unlink(destFile); - } - // other errors = it doesn't exist, no work to do - } - // Copy over symlink - const symlinkFull = yield ioUtil.readlink(srcFile); - yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null); - } - else if (!(yield ioUtil.exists(destFile)) || force) { - yield ioUtil.copyFile(srcFile, destFile); - } - }); -} -//# sourceMappingURL=io.js.map \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io.js.map b/node_modules/@actions/io/lib/io.js.map deleted file mode 100644 index 91db963000..0000000000 --- a/node_modules/@actions/io/lib/io.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"io.js","sourceRoot":"","sources":["../src/io.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,8CAA6C;AAC7C,6BAA4B;AAC5B,+BAA8B;AAC9B,oCAAmC;AAEnC,MAAM,IAAI,GAAG,gBAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;AAoBzC;;;;;;;GAOG;AACH,SAAsB,EAAE,CACtB,MAAc,EACd,IAAY,EACZ,UAAuB,EAAE;;QAEzB,MAAM,EAAC,KAAK,EAAE,SAAS,EAAC,GAAG,eAAe,CAAC,OAAO,CAAC,CAAA;QAEnD,MAAM,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;QAC7E,4CAA4C;QAC5C,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE;YAC3C,OAAM;SACP;QAED,wDAAwD;QACxD,MAAM,OAAO,GACX,QAAQ,IAAI,QAAQ,CAAC,WAAW,EAAE;YAChC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YACxC,CAAC,CAAC,IAAI,CAAA;QAEV,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE;YAClC,MAAM,IAAI,KAAK,CAAC,8BAA8B,MAAM,EAAE,CAAC,CAAA;SACxD;QACD,MAAM,UAAU,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAE5C,IAAI,UAAU,CAAC,WAAW,EAAE,EAAE;YAC5B,IAAI,CAAC,SAAS,EAAE;gBACd,MAAM,IAAI,KAAK,CACb,mBAAmB,MAAM,4DAA4D,CACtF,CAAA;aACF;iBAAM;gBACL,MAAM,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;aAChD;SACF;aAAM;YACL,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,EAAE,EAAE;gBACzC,oCAAoC;gBACpC,MAAM,IAAI,KAAK,CAAC,IAAI,OAAO,UAAU,MAAM,qBAAqB,CAAC,CAAA;aAClE;YAED,MAAM,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA;SACvC;IACH,CAAC;CAAA;AAxCD,gBAwCC;AAED;;;;;;GAMG;AACH,SAAsB,EAAE,CACtB,MAAc,EACd,IAAY,EACZ,UAAuB,EAAE;;QAEzB,IAAI,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,UAAU,GAAG,IAAI,CAAA;YACrB,IAAI,MAAM,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE;gBAClC,0CAA0C;gBAC1C,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAA;gBAC7C,UAAU,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;aACvC;YAED,IAAI,UAAU,EAAE;gBACd,IAAI,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE;oBAC1C,MAAM,IAAI,CAAC,IAAI,CAAC,CAAA;iBACjB;qBAAM;oBACL,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAA;iBAC9C;aACF;SACF;QACD,MAAM,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;QAChC,MAAM,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;IACnC,CAAC;CAAA;AAvBD,gBAuBC;AAED;;;;GAIG;AACH,SAAsB,IAAI,CAAC,SAAiB;;QAC1C,IAAI,MAAM,CAAC,UAAU,EAAE;YACrB,yHAAyH;YACzH,mGAAmG;YACnG,IAAI;gBACF,IAAI,MAAM,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE;oBAC7C,MAAM,IAAI,CAAC,aAAa,SAAS,GAAG,CAAC,CAAA;iBACtC;qBAAM;oBACL,MAAM,IAAI,CAAC,cAAc,SAAS,GAAG,CAAC,CAAA;iBACvC;aACF;YAAC,OAAO,GAAG,EAAE;gBACZ,6EAA6E;gBAC7E,yBAAyB;gBACzB,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ;oBAAE,MAAM,GAAG,CAAA;aACrC;YAED,8FAA8F;YAC9F,IAAI;gBACF,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;aAC/B;YAAC,OAAO,GAAG,EAAE;gBACZ,6EAA6E;gBAC7E,yBAAyB;gBACzB,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ;oBAAE,MAAM,GAAG,CAAA;aACrC;SACF;aAAM;YACL,IAAI,KAAK,GAAG,KAAK,CAAA;YACjB,IAAI;gBACF,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;aAC5C;YAAC,OAAO,GAAG,EAAE;gBACZ,6EAA6E;gBAC7E,yBAAyB;gBACzB,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ;oBAAE,MAAM,GAAG,CAAA;gBACpC,OAAM;aACP;YAED,IAAI,KAAK,EAAE;gBACT,MAAM,IAAI,CAAC,WAAW,SAAS,GAAG,CAAC,CAAA;aACpC;iBAAM;gBACL,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;aAC/B;SACF;IACH,CAAC;CAAA;AAzCD,oBAyCC;AAED;;;;;;GAMG;AACH,SAAsB,MAAM,CAAC,MAAc;;QACzC,MAAM,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IAC7B,CAAC;CAAA;AAFD,wBAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAC,IAAY,EAAE,KAAe;;QACvD,IAAI,CAAC,IAAI,EAAE;YACT,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;SAChD;QAED,4BAA4B;QAC5B,IAAI,KAAK,EAAE;YACT,MAAM,MAAM,GAAW,MAAM,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;YAE/C,IAAI,CAAC,MAAM,EAAE;gBACX,IAAI,MAAM,CAAC,UAAU,EAAE;oBACrB,MAAM,IAAI,KAAK,CACb,qCAAqC,IAAI,wMAAwM,CAClP,CAAA;iBACF;qBAAM;oBACL,MAAM,IAAI,KAAK,CACb,qCAAqC,IAAI,gMAAgM,CAC1O,CAAA;iBACF;aACF;SACF;QAED,IAAI;YACF,sCAAsC;YACtC,MAAM,UAAU,GAAa,EAAE,CAAA;YAC/B,IAAI,MAAM,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE;gBAC5C,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;oBACjE,IAAI,SAAS,EAAE;wBACb,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;qBAC3B;iBACF;aACF;YAED,+DAA+D;YAC/D,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;gBACzB,MAAM,QAAQ,GAAW,MAAM,MAAM,CAAC,oBAAoB,CACxD,IAAI,EACJ,UAAU,CACX,CAAA;gBAED,IAAI,QAAQ,EAAE;oBACZ,OAAO,QAAQ,CAAA;iBAChB;gBAED,OAAO,EAAE,CAAA;aACV;YAED,uCAAuC;YACvC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE;gBACpE,OAAO,EAAE,CAAA;aACV;YAED,gCAAgC;YAChC,EAAE;YACF,iGAAiG;YACjG,+FAA+F;YAC/F,iGAAiG;YACjG,oBAAoB;YACpB,MAAM,WAAW,GAAa,EAAE,CAAA;YAEhC,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE;gBACpB,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;oBACtD,IAAI,CAAC,EAAE;wBACL,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;qBACpB;iBACF;aACF;YAED,yBAAyB;YACzB,KAAK,MAAM,SAAS,IAAI,WAAW,EAAE;gBACnC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAChD,SAAS,GAAG,IAAI,CAAC,GAAG,GAAG,IAAI,EAC3B,UAAU,CACX,CAAA;gBACD,IAAI,QAAQ,EAAE;oBACZ,OAAO,QAAQ,CAAA;iBAChB;aACF;YAED,OAAO,EAAE,CAAA;SACV;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,IAAI,KAAK,CAAC,6BAA6B,GAAG,CAAC,OAAO,EAAE,CAAC,CAAA;SAC5D;IACH,CAAC;CAAA;AAnFD,sBAmFC;AAED,SAAS,eAAe,CAAC,OAAoB;IAC3C,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAA;IAC1D,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;IAC5C,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,CAAA;AAC3B,CAAC;AAED,SAAe,cAAc,CAC3B,SAAiB,EACjB,OAAe,EACf,YAAoB,EACpB,KAAc;;QAEd,gDAAgD;QAChD,IAAI,YAAY,IAAI,GAAG;YAAE,OAAM;QAC/B,YAAY,EAAE,CAAA;QAEd,MAAM,MAAM,CAAC,OAAO,CAAC,CAAA;QAErB,MAAM,KAAK,GAAa,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;QAEvD,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE;YAC5B,MAAM,OAAO,GAAG,GAAG,SAAS,IAAI,QAAQ,EAAE,CAAA;YAC1C,MAAM,QAAQ,GAAG,GAAG,OAAO,IAAI,QAAQ,EAAE,CAAA;YACzC,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;YAE/C,IAAI,WAAW,CAAC,WAAW,EAAE,EAAE;gBAC7B,UAAU;gBACV,MAAM,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,CAAC,CAAA;aAC7D;iBAAM;gBACL,MAAM,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAA;aACzC;SACF;QAED,kDAAkD;QAClD,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAClE,CAAC;CAAA;AAED,qBAAqB;AACrB,SAAe,QAAQ,CACrB,OAAe,EACf,QAAgB,EAChB,KAAc;;QAEd,IAAI,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,cAAc,EAAE,EAAE;YAClD,oBAAoB;YACpB,IAAI;gBACF,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;gBAC5B,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;aAC9B;YAAC,OAAO,CAAC,EAAE;gBACV,kCAAkC;gBAClC,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,EAAE;oBACtB,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;oBACpC,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;iBAC9B;gBACD,iDAAiD;aAClD;YAED,oBAAoB;YACpB,MAAM,WAAW,GAAW,MAAM,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;YAC1D,MAAM,MAAM,CAAC,OAAO,CAClB,WAAW,EACX,QAAQ,EACR,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CACtC,CAAA;SACF;aAAM,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,KAAK,EAAE;YACpD,MAAM,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;SACzC;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/node_modules/@actions/io/package.json b/node_modules/@actions/io/package.json deleted file mode 100644 index 8c4df799e6..0000000000 --- a/node_modules/@actions/io/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@actions/io", - "version": "1.0.2", - "description": "Actions io lib", - "keywords": [ - "github", - "actions", - "io" - ], - "homepage": "https://github.com/actions/toolkit/tree/master/packages/io", - "license": "MIT", - "main": "lib/io.js", - "types": "lib/io.d.ts", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib" - ], - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/toolkit.git", - "directory": "packages/io" - }, - "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", - "test": "echo \"Error: run tests from root\" && exit 1", - "tsc": "tsc" - }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - } - -,"_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.2.tgz" -,"_integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg==" -,"_from": "@actions/io@1.0.2" -} \ No newline at end of file diff --git a/node_modules/@octokit/auth-token/LICENSE b/node_modules/@octokit/auth-token/LICENSE deleted file mode 100644 index ef2c18ee5b..0000000000 --- a/node_modules/@octokit/auth-token/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2019 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/@octokit/auth-token/README.md b/node_modules/@octokit/auth-token/README.md deleted file mode 100644 index 8ea6a03bc0..0000000000 --- a/node_modules/@octokit/auth-token/README.md +++ /dev/null @@ -1,270 +0,0 @@ -# auth-token.js - -> GitHub API token authentication for browsers and Node.js - -[![@latest](https://img.shields.io/npm/v/@octokit/auth-token.svg)](https://www.npmjs.com/package/@octokit/auth-token) -[![Build Status](https://github.com/octokit/auth-token.js/workflows/Test/badge.svg)](https://github.com/octokit/auth-token.js/actions?query=workflow%3ATest) - -`@octokit/auth-token` is the simplest of [GitHub’s authentication strategies](https://github.com/octokit/auth.js). - -It is useful if you want to support multiple authentication strategies, as it’s API is compatible with its sibling packages for [basic](https://github.com/octokit/auth-basic.js), [GitHub App](https://github.com/octokit/auth-app.js) and [OAuth app](https://github.com/octokit/auth.js) authentication. - - - -- [Usage](#usage) -- [`createTokenAuth(token) options`](#createtokenauthtoken-options) -- [`auth()`](#auth) -- [Authentication object](#authentication-object) -- [`auth.hook(request, route, options)` or `auth.hook(request, options)`](#authhookrequest-route-options-or-authhookrequest-options) -- [Find more information](#find-more-information) - - [Find out what scopes are enabled for oauth tokens](#find-out-what-scopes-are-enabled-for-oauth-tokens) - - [Find out if token is a personal access token or if it belongs to an OAuth app](#find-out-if-token-is-a-personal-access-token-or-if-it-belongs-to-an-oauth-app) - - [Find out what permissions are enabled for a repository](#find-out-what-permissions-are-enabled-for-a-repository) - - [Use token for git operations](#use-token-for-git-operations) -- [License](#license) - - - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/auth-token` directly from [cdn.pika.dev](https://cdn.pika.dev) - -```html - -``` - -
-Node - - -Install with npm install @octokit/auth-token - -```js -const { createTokenAuth } = require("@octokit/auth-token"); -// or: import { createTokenAuth } from "@octokit/auth-token"; -``` - -
- -```js -const auth = createTokenAuth("1234567890abcdef1234567890abcdef12345678"); -const authentication = await auth(); -// { -// type: 'token', -// token: '1234567890abcdef1234567890abcdef12345678', -// tokenType: 'oauth' -``` - -## `createTokenAuth(token) options` - -The `createTokenAuth` method accepts a single argument of type string, which is the token. The passed token can be one of the following: - -- [Personal access token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) -- [OAuth access token](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/) -- Installation access token ([GitHub App Installation](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation)) -- [GITHUB_TOKEN provided to GitHub Actions](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#environment-variables) - -Examples - -```js -// Personal access token or OAuth access token -createTokenAuth("1234567890abcdef1234567890abcdef12345678"); - -// Installation access token or GitHub Action token -createTokenAuth("v1.d3d433526f780fbcc3129004e2731b3904ad0b86"); -``` - -## `auth()` - -The `auth()` method has no options. It returns a promise which resolves with the the authentication object. - -## Authentication object - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name - - type - - description -
- type - - string - - "token" -
- token - - string - - The provided token. -
- tokenType - - string - - Can be either "oauth" for personal access tokens and OAuth tokens, or "installation" for installation access tokens (includes GITHUB_TOKEN provided to GitHub Actions) -
- -## `auth.hook(request, route, options)` or `auth.hook(request, options)` - -`auth.hook()` hooks directly into the request life cycle. It authenticates the request using the provided token. - -The `request` option is an instance of [`@octokit/request`](https://github.com/octokit/request.js#readme). The `route`/`options` parameters are the same as for the [`request()` method](https://github.com/octokit/request.js#request). - -`auth.hook()` can be called directly to send an authenticated request - -```js -const { data: authorizations } = await auth.hook( - request, - "GET /authorizations" -); -``` - -Or it can be passed as option to [`request()`](https://github.com/octokit/request.js#request). - -```js -const requestWithAuth = request.defaults({ - request: { - hook: auth.hook, - }, -}); - -const { data: authorizations } = await requestWithAuth("GET /authorizations"); -``` - -## Find more information - -`auth()` does not send any requests, it only transforms the provided token string into an authentication object. - -Here is a list of things you can do to retrieve further information - -### Find out what scopes are enabled for oauth tokens - -Note that this does not work for installations. There is no way to retrieve permissions based on an installation access tokens. - -```js -const TOKEN = "1234567890abcdef1234567890abcdef12345678"; - -const auth = createTokenAuth(TOKEN); -const authentication = await auth(); - -const response = await request("HEAD /", { - headers: authentication.headers, -}); -const scopes = response.headers["x-oauth-scopes"].split(/,\s+/); - -if (scopes.length) { - console.log( - `"${TOKEN}" has ${scopes.length} scopes enabled: ${scopes.join(", ")}` - ); -} else { - console.log(`"${TOKEN}" has no scopes enabled`); -} -``` - -### Find out if token is a personal access token or if it belongs to an OAuth app - -```js -const TOKEN = "1234567890abcdef1234567890abcdef12345678"; - -const auth = createTokenAuth(TOKEN); -const authentication = await auth(); - -const response = await request("HEAD /", { - headers: authentication.headers, -}); -const clientId = response.headers["x-oauth-client-id"]; - -if (clientId) { - console.log( - `"${token}" is an OAuth token, its app’s client_id is ${clientId}.` - ); -} else { - console.log(`"${token}" is a personal access token`); -} -``` - -### Find out what permissions are enabled for a repository - -Note that the `permissions` key is not set when authenticated using an installation access token. - -```js -const TOKEN = "1234567890abcdef1234567890abcdef12345678"; - -const auth = createTokenAuth(TOKEN); -const authentication = await auth(); - -const response = await request("GET /repos/:owner/:repo", { - owner: 'octocat', - repo: 'hello-world' - headers: authentication.headers -}); - -console.log(response.data.permissions) -// { -// admin: true, -// push: true, -// pull: true -// } -``` - -### Use token for git operations - -Both OAuth and installation access tokens can be used for git operations. However, when using with an installation, [the token must be prefixed with `x-access-token`](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#http-based-git-access-by-an-installation). - -This example is using the [`execa`](https://github.com/sindresorhus/execa) package to run a `git push` command. - -```js -const TOKEN = "1234567890abcdef1234567890abcdef12345678"; - -const auth = createTokenAuth(TOKEN); -const { token, tokenType } = await auth(); -const tokenWithPrefix = - tokenType === "installation" ? `x-access-token:${token}` : token; - -const repositoryUrl = `https://${tokenWithPrefix}@github.com/octocat/hello-world.git`; - -const { stdout } = await execa("git", ["push", repositoryUrl]); -console.log(stdout); -``` - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/auth-token/dist-node/index.js b/node_modules/@octokit/auth-token/dist-node/index.js deleted file mode 100644 index 1394a5da22..0000000000 --- a/node_modules/@octokit/auth-token/dist-node/index.js +++ /dev/null @@ -1,49 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -async function auth(token) { - const tokenType = token.split(/\./).length === 3 ? "app" : /^v\d+\./.test(token) ? "installation" : "oauth"; - return { - type: "token", - token: token, - tokenType - }; -} - -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } - - return `token ${token}`; -} - -async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge(route, parameters); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} - -const createTokenAuth = function createTokenAuth(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } - - if (typeof token !== "string") { - throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); - } - - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); -}; - -exports.createTokenAuth = createTokenAuth; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/auth-token/dist-node/index.js.map b/node_modules/@octokit/auth-token/dist-node/index.js.map deleted file mode 100644 index 8a92b69bbc..0000000000 --- a/node_modules/@octokit/auth-token/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/auth.js","../dist-src/with-authorization-prefix.js","../dist-src/hook.js","../dist-src/index.js"],"sourcesContent":["export async function auth(token) {\n const tokenType = token.split(/\\./).length === 3\n ? \"app\"\n : /^v\\d+\\./.test(token)\n ? \"installation\"\n : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n","/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nexport function withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n return `token ${token}`;\n}\n","import { withAuthorizationPrefix } from \"./with-authorization-prefix\";\nexport async function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n","import { auth } from \"./auth\";\nimport { hook } from \"./hook\";\nexport const createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n"],"names":["auth","token","tokenType","split","length","test","type","withAuthorizationPrefix","hook","request","route","parameters","endpoint","merge","headers","authorization","createTokenAuth","Error","replace","Object","assign","bind"],"mappings":";;;;AAAO,eAAeA,IAAf,CAAoBC,KAApB,EAA2B;AAC9B,QAAMC,SAAS,GAAGD,KAAK,CAACE,KAAN,CAAY,IAAZ,EAAkBC,MAAlB,KAA6B,CAA7B,GACZ,KADY,GAEZ,UAAUC,IAAV,CAAeJ,KAAf,IACI,cADJ,GAEI,OAJV;AAKA,SAAO;AACHK,IAAAA,IAAI,EAAE,OADH;AAEHL,IAAAA,KAAK,EAAEA,KAFJ;AAGHC,IAAAA;AAHG,GAAP;AAKH;;ACXD;;;;;AAKA,AAAO,SAASK,uBAAT,CAAiCN,KAAjC,EAAwC;AAC3C,MAAIA,KAAK,CAACE,KAAN,CAAY,IAAZ,EAAkBC,MAAlB,KAA6B,CAAjC,EAAoC;AAChC,WAAQ,UAASH,KAAM,EAAvB;AACH;;AACD,SAAQ,SAAQA,KAAM,EAAtB;AACH;;ACTM,eAAeO,IAAf,CAAoBP,KAApB,EAA2BQ,OAA3B,EAAoCC,KAApC,EAA2CC,UAA3C,EAAuD;AAC1D,QAAMC,QAAQ,GAAGH,OAAO,CAACG,QAAR,CAAiBC,KAAjB,CAAuBH,KAAvB,EAA8BC,UAA9B,CAAjB;AACAC,EAAAA,QAAQ,CAACE,OAAT,CAAiBC,aAAjB,GAAiCR,uBAAuB,CAACN,KAAD,CAAxD;AACA,SAAOQ,OAAO,CAACG,QAAD,CAAd;AACH;;MCHYI,eAAe,GAAG,SAASA,eAAT,CAAyBf,KAAzB,EAAgC;AAC3D,MAAI,CAACA,KAAL,EAAY;AACR,UAAM,IAAIgB,KAAJ,CAAU,0DAAV,CAAN;AACH;;AACD,MAAI,OAAOhB,KAAP,KAAiB,QAArB,EAA+B;AAC3B,UAAM,IAAIgB,KAAJ,CAAU,uEAAV,CAAN;AACH;;AACDhB,EAAAA,KAAK,GAAGA,KAAK,CAACiB,OAAN,CAAc,oBAAd,EAAoC,EAApC,CAAR;AACA,SAAOC,MAAM,CAACC,MAAP,CAAcpB,IAAI,CAACqB,IAAL,CAAU,IAAV,EAAgBpB,KAAhB,CAAd,EAAsC;AACzCO,IAAAA,IAAI,EAAEA,IAAI,CAACa,IAAL,CAAU,IAAV,EAAgBpB,KAAhB;AADmC,GAAtC,CAAP;AAGH,CAXM;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/auth-token/dist-src/auth.js b/node_modules/@octokit/auth-token/dist-src/auth.js deleted file mode 100644 index 2d5005c22f..0000000000 --- a/node_modules/@octokit/auth-token/dist-src/auth.js +++ /dev/null @@ -1,12 +0,0 @@ -export async function auth(token) { - const tokenType = token.split(/\./).length === 3 - ? "app" - : /^v\d+\./.test(token) - ? "installation" - : "oauth"; - return { - type: "token", - token: token, - tokenType - }; -} diff --git a/node_modules/@octokit/auth-token/dist-src/hook.js b/node_modules/@octokit/auth-token/dist-src/hook.js deleted file mode 100644 index f8e47f0c29..0000000000 --- a/node_modules/@octokit/auth-token/dist-src/hook.js +++ /dev/null @@ -1,6 +0,0 @@ -import { withAuthorizationPrefix } from "./with-authorization-prefix"; -export async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge(route, parameters); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} diff --git a/node_modules/@octokit/auth-token/dist-src/index.js b/node_modules/@octokit/auth-token/dist-src/index.js deleted file mode 100644 index 114fd45541..0000000000 --- a/node_modules/@octokit/auth-token/dist-src/index.js +++ /dev/null @@ -1,14 +0,0 @@ -import { auth } from "./auth"; -import { hook } from "./hook"; -export const createTokenAuth = function createTokenAuth(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } - if (typeof token !== "string") { - throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); - } - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); -}; diff --git a/node_modules/@octokit/auth-token/dist-src/types.js b/node_modules/@octokit/auth-token/dist-src/types.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js b/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js deleted file mode 100644 index 90358136ed..0000000000 --- a/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -export function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } - return `token ${token}`; -} diff --git a/node_modules/@octokit/auth-token/dist-types/auth.d.ts b/node_modules/@octokit/auth-token/dist-types/auth.d.ts deleted file mode 100644 index dc41835858..0000000000 --- a/node_modules/@octokit/auth-token/dist-types/auth.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { Token, Authentication } from "./types"; -export declare function auth(token: Token): Promise; diff --git a/node_modules/@octokit/auth-token/dist-types/hook.d.ts b/node_modules/@octokit/auth-token/dist-types/hook.d.ts deleted file mode 100644 index 21e4b6fcd3..0000000000 --- a/node_modules/@octokit/auth-token/dist-types/hook.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { AnyResponse, EndpointOptions, RequestInterface, RequestParameters, Route, Token } from "./types"; -export declare function hook(token: Token, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise; diff --git a/node_modules/@octokit/auth-token/dist-types/index.d.ts b/node_modules/@octokit/auth-token/dist-types/index.d.ts deleted file mode 100644 index 5999429371..0000000000 --- a/node_modules/@octokit/auth-token/dist-types/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { StrategyInterface, Token, Authentication } from "./types"; -export declare type Types = { - StrategyOptions: Token; - AuthOptions: never; - Authentication: Authentication; -}; -export declare const createTokenAuth: StrategyInterface; diff --git a/node_modules/@octokit/auth-token/dist-types/types.d.ts b/node_modules/@octokit/auth-token/dist-types/types.d.ts deleted file mode 100644 index 53a4ab1126..0000000000 --- a/node_modules/@octokit/auth-token/dist-types/types.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import * as OctokitTypes from "@octokit/types"; -export declare type AnyResponse = OctokitTypes.OctokitResponse; -export declare type StrategyInterface = OctokitTypes.StrategyInterface<[Token], [], Authentication>; -export declare type EndpointDefaults = OctokitTypes.EndpointDefaults; -export declare type EndpointOptions = OctokitTypes.EndpointOptions; -export declare type RequestParameters = OctokitTypes.RequestParameters; -export declare type RequestInterface = OctokitTypes.RequestInterface; -export declare type Route = OctokitTypes.Route; -export declare type Token = string; -export declare type OAuthTokenAuthentication = { - type: "token"; - tokenType: "oauth"; - token: Token; -}; -export declare type InstallationTokenAuthentication = { - type: "token"; - tokenType: "installation"; - token: Token; -}; -export declare type AppAuthentication = { - type: "token"; - tokenType: "app"; - token: Token; -}; -export declare type Authentication = OAuthTokenAuthentication | InstallationTokenAuthentication | AppAuthentication; diff --git a/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts b/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts deleted file mode 100644 index 2e52c31db4..0000000000 --- a/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -export declare function withAuthorizationPrefix(token: string): string; diff --git a/node_modules/@octokit/auth-token/dist-web/index.js b/node_modules/@octokit/auth-token/dist-web/index.js deleted file mode 100644 index c15ca12223..0000000000 --- a/node_modules/@octokit/auth-token/dist-web/index.js +++ /dev/null @@ -1,46 +0,0 @@ -async function auth(token) { - const tokenType = token.split(/\./).length === 3 - ? "app" - : /^v\d+\./.test(token) - ? "installation" - : "oauth"; - return { - type: "token", - token: token, - tokenType - }; -} - -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } - return `token ${token}`; -} - -async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge(route, parameters); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} - -const createTokenAuth = function createTokenAuth(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } - if (typeof token !== "string") { - throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); - } - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); -}; - -export { createTokenAuth }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/auth-token/dist-web/index.js.map b/node_modules/@octokit/auth-token/dist-web/index.js.map deleted file mode 100644 index 60de4a6be3..0000000000 --- a/node_modules/@octokit/auth-token/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/auth.js","../dist-src/with-authorization-prefix.js","../dist-src/hook.js","../dist-src/index.js"],"sourcesContent":["export async function auth(token) {\n const tokenType = token.split(/\\./).length === 3\n ? \"app\"\n : /^v\\d+\\./.test(token)\n ? \"installation\"\n : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n","/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nexport function withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n return `token ${token}`;\n}\n","import { withAuthorizationPrefix } from \"./with-authorization-prefix\";\nexport async function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n","import { auth } from \"./auth\";\nimport { hook } from \"./hook\";\nexport const createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n"],"names":[],"mappings":"AAAO,eAAe,IAAI,CAAC,KAAK,EAAE;AAClC,IAAI,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC;AACpD,UAAU,KAAK;AACf,UAAU,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC;AAC/B,cAAc,cAAc;AAC5B,cAAc,OAAO,CAAC;AACtB,IAAI,OAAO;AACX,QAAQ,IAAI,EAAE,OAAO;AACrB,QAAQ,KAAK,EAAE,KAAK;AACpB,QAAQ,SAAS;AACjB,KAAK,CAAC;AACN;;ACXA;AACA;AACA;AACA;AACA;AACA,AAAO,SAAS,uBAAuB,CAAC,KAAK,EAAE;AAC/C,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACxC,QAAQ,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;AACjC,KAAK;AACL,IAAI,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;AAC5B,CAAC;;ACTM,eAAe,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE;AAC9D,IAAI,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAC/D,IAAI,QAAQ,CAAC,OAAO,CAAC,aAAa,GAAG,uBAAuB,CAAC,KAAK,CAAC,CAAC;AACpE,IAAI,OAAO,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC;;ACHW,MAAC,eAAe,GAAG,SAAS,eAAe,CAAC,KAAK,EAAE;AAC/D,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;AACpF,KAAK;AACL,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACnC,QAAQ,MAAM,IAAI,KAAK,CAAC,uEAAuE,CAAC,CAAC;AACjG,KAAK;AACL,IAAI,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;AACpD,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE;AACjD,QAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;AACpC,KAAK,CAAC,CAAC;AACP,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/auth-token/package.json b/node_modules/@octokit/auth-token/package.json deleted file mode 100644 index 828e2009b4..0000000000 --- a/node_modules/@octokit/auth-token/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "@octokit/auth-token", - "description": "GitHub API token authentication for browsers and Node.js", - "version": "2.4.2", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "octokit", - "authentication", - "api" - ], - "homepage": "https://github.com/octokit/auth-token.js#readme", - "bugs": { - "url": "https://github.com/octokit/auth-token.js/issues" - }, - "repository": "https://github.com/octokit/auth-token.js", - "dependencies": { - "@octokit/types": "^5.0.0" - }, - "devDependencies": { - "@octokit/core": "^2.2.0", - "@octokit/request": "^5.3.0", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.3.1", - "@types/jest": "^26.0.0", - "fetch-mock": "^9.0.0", - "jest": "^25.1.0", - "semantic-release": "^17.0.0", - "ts-jest": "^25.1.0", - "typescript": "^3.7.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.2.tgz" -,"_integrity": "sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ==" -,"_from": "@octokit/auth-token@2.4.2" -} \ No newline at end of file diff --git a/node_modules/@octokit/core/LICENSE b/node_modules/@octokit/core/LICENSE deleted file mode 100644 index ef2c18ee5b..0000000000 --- a/node_modules/@octokit/core/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2019 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/@octokit/core/README.md b/node_modules/@octokit/core/README.md deleted file mode 100644 index 8eb966c57e..0000000000 --- a/node_modules/@octokit/core/README.md +++ /dev/null @@ -1,406 +0,0 @@ -# core.js - -> Extendable client for GitHub's REST & GraphQL APIs - -[![@latest](https://img.shields.io/npm/v/@octokit/core.svg)](https://www.npmjs.com/package/@octokit/core) -[![Build Status](https://github.com/octokit/core.js/workflows/Test/badge.svg)](https://github.com/octokit/core.js/actions?query=workflow%3ATest) - - - -- [Usage](#usage) - - [REST API example](#rest-api-example) - - [GraphQL example](#graphql-example) -- [Options](#options) -- [Defaults](#defaults) -- [Authentication](#authentication) -- [Logging](#logging) -- [Hooks](#hooks) -- [Plugins](#plugins) -- [Build your own Octokit with Plugins and Defaults](#build-your-own-octokit-with-plugins-and-defaults) -- [LICENSE](#license) - - - -If you need a minimalistic library to utilize GitHub's [REST API](https://developer.github.com/v3/) and [GraphQL API](https://developer.github.com/v4/) which you can extend with plugins as needed, than `@octokit/core` is a great starting point. - -If you don't need the Plugin API then using [`@octokit/request`](https://github.com/octokit/request.js/) or [`@octokit/graphql`](https://github.com/octokit/graphql.js/) directly is a good alternative. - -## Usage - - - - - - -
-Browsers - -Load @octokit/core directly from cdn.pika.dev - -```html - -``` - -
-Node - - -Install with npm install @octokit/core - -```js -const { Octokit } = require("@octokit/core"); -// or: import { Octokit } from "@octokit/core"; -``` - -
- -### REST API example - -```js -// Create a personal access token at https://github.com/settings/tokens/new?scopes=repo -const octokit = new Octokit({ auth: `personal-access-token123` }); - -const response = await octokit.request("GET /orgs/:org/repos", { - org: "octokit", - type: "private", -}); -``` - -See [`@octokit/request`](https://github.com/octokit/request.js) for full documentation of the `.request` method. - -### GraphQL example - -```js -const octokit = new Octokit({ auth: `secret123` }); - -const response = await octokit.graphql( - `query ($login: String!) { - organization(login: $login) { - repositories(privacy: PRIVATE) { - totalCount - } - } - }`, - { login: "octokit" } -); -``` - -See [`@octokit/graphql`](https://github.com/octokit/graphql.js) for full documentation of the `.graphql` method. - -## Options - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name - - type - - description -
- options.authStrategy - - Function - - Defaults to @octokit/auth-token. See Authentication below for examples. -
- options.auth - - String or Object - - See Authentication below for examples. -
- options.baseUrl - - String - - -When using with GitHub Enterprise Server, set `options.baseUrl` to the root URL of the API. For example, if your GitHub Enterprise Server's hostname is `github.acme-inc.com`, then set `options.baseUrl` to `https://github.acme-inc.com/api/v3`. Example - -```js -const octokit = new Octokit({ - baseUrl: "https://github.acme-inc.com/api/v3", -}); -``` - -
- options.previews - - Array of Strings - - -Some REST API endpoints require preview headers to be set, or enable -additional features. Preview headers can be set on a per-request basis, e.g. - -```js -octokit.request("POST /repos/:owner/:repo/pulls", { - mediaType: { - previews: ["shadow-cat"], - }, - owner, - repo, - title: "My pull request", - base: "master", - head: "my-feature", - draft: true, -}); -``` - -You can also set previews globally, by setting the `options.previews` option on the constructor. Example: - -```js -const octokit = new Octokit({ - previews: ["shadow-cat"], -}); -``` - -
- options.request - - Object - - -Set a default request timeout (`options.request.timeout`) or an [`http(s).Agent`](https://nodejs.org/api/http.html#http_class_http_agent) e.g. for proxy usage (Node only, `options.request.agent`). - -There are more `options.request.*` options, see [`@octokit/request` options](https://github.com/octokit/request.js#request). `options.request` can also be set on a per-request basis. - -
- options.timeZone - - String - - -Sets the `Time-Zone` header which defines a timezone according to the [list of names from the Olson database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - -```js -const octokit = new Octokit({ - timeZone: "America/Los_Angeles", -}); -``` - -The time zone header will determine the timezone used for generating the timestamp when creating commits. See [GitHub's Timezones documentation](https://developer.github.com/v3/#timezones). - -
- options.userAgent - - String - - -A custom user agent string for your app or library. Example - -```js -const octokit = new Octokit({ - userAgent: "my-app/v1.2.3", -}); -``` - -
- -## Defaults - -You can create a new Octokit class with customized default options. - -```js -const MyOctokit = Octokit.defaults({ - auth: "personal-access-token123", - baseUrl: "https://github.acme-inc.com/api/v3", - userAgent: "my-app/v1.2.3", -}); -const octokit1 = new MyOctokit(); -const octokit2 = new MyOctokit(); -``` - -## Authentication - -Authentication is optional for some REST API endpoints accessing public data, but is required for GraphQL queries. Using authentication also increases your [API rate limit](https://developer.github.com/v3/#rate-limiting). - -By default, Octokit authenticates using the [token authentication strategy](https://github.com/octokit/auth-token.js). Pass in a token using `options.auth`. It can be a personal access token, an OAuth token, an installation access token or a JSON Web Token for GitHub App authentication. The `Authorization` header will be set according to the type of token. - -```js -import { Octokit } from "@octokit/core"; - -const octokit = new Octokit({ - auth: "mypersonalaccesstoken123", -}); - -const { data } = await octokit.request("/user"); -``` - -To use a different authentication strategy, set `options.authStrategy`. A set of officially supported authentication strategies can be retrieved from [`@octokit/auth`](https://github.com/octokit/auth-app.js#readme). Example - -```js -import { Octokit } from "@octokit/core"; -import { createAppAuth } from "@octokit/auth-app"; - -const appOctokit = new Octokit({ - authStrategy: createAppAuth, - auth: { - id: 123, - privateKey: process.env.PRIVATE_KEY, - }, -}); - -const { data } = await appOctokit.request("/app"); -``` - -The `.auth()` method returned by the current authentication strategy can be accessed at `octokit.auth()`. Example - -```js -const { token } = await appOctokit.auth({ - type: "installation", - installationId: 123, -}); -``` - -## Logging - -There are four built-in log methods - -1. `octokit.log.debug(message[, additionalInfo])` -1. `octokit.log.info(message[, additionalInfo])` -1. `octokit.log.warn(message[, additionalInfo])` -1. `octokit.log.error(message[, additionalInfo])` - -They can be configured using the [`log` client option](client-options). By default, `octokit.log.debug()` and `octokit.log.info()` are no-ops, while the other two call `console.warn()` and `console.error()` respectively. - -This is useful if you build reusable [plugins](#plugins). - -If you would like to make the log level configurable using an environment variable or external option, we recommend the [console-log-level](https://github.com/watson/console-log-level) package. Example - -```js -const octokit = new Octokit({ - log: require("console-log-level")({ level: "info" }), -}); -``` - -## Hooks - -You can customize Octokit's request lifecycle with hooks. - -```js -octokit.hook.before("request", async (options) => { - validate(options); -}); -octokit.hook.after("request", async (response, options) => { - console.log(`${options.method} ${options.url}: ${response.status}`); -}); -octokit.hook.error("request", async (error, options) => { - if (error.status === 304) { - return findInCache(error.headers.etag); - } - - throw error; -}); -octokit.hook.wrap("request", async (request, options) => { - // add logic before, after, catch errors or replace the request altogether - return request(options); -}); -``` - -See [before-after-hook](https://github.com/gr2m/before-after-hook#readme) for more documentation on hooks. - -## Plugins - -Octokit’s functionality can be extended using plugins. The `Octokit.plugin()` method accepts a plugin (or many) and returns a new constructor. - -A plugin is a function which gets two arguments: - -1. the current instance -2. the options passed to the constructor. - -In order to extend `octokit`'s API, the plugin must return an object with the new methods. - -```js -// index.js -const { Octokit } = require("@octokit/core") -const MyOctokit = Octokit.plugin( - require("./lib/my-plugin"), - require("octokit-plugin-example") -); - -const octokit = new MyOctokit({ greeting: "Moin moin" }); -octokit.helloWorld(); // logs "Moin moin, world!" -octokit.request("GET /"); // logs "GET / - 200 in 123ms" - -// lib/my-plugin.js -module.exports = (octokit, options = { greeting: "Hello" }) => { - // hook into the request lifecycle - octokit.hook.wrap("request", async (request, options) => { - const time = Date.now(); - const response = await request(options); - console.log( - `${options.method} ${options.url} – ${response.status} in ${Date.now() - - time}ms` - ); - return response; - }); - - // add a custom method - return { - helloWorld: () => console.log(`${options.greeting}, world!`); - } -}; -``` - -## Build your own Octokit with Plugins and Defaults - -You can build your own Octokit class with preset default options and plugins. In fact, this is mostly how the `@octokit/` modules work, such as [`@octokit/action`](https://github.com/octokit/action.js): - -```js -const { Octokit } = require("@octokit/core"); -const MyActionOctokit = Octokit.plugin( - require("@octokit/plugin-paginate"), - require("@octokit/plugin-throttle"), - require("@octokit/plugin-retry") -).defaults({ - authStrategy: require("@octokit/auth-action"), - userAgent: `my-octokit-action/v1.2.3`, -}); - -const octokit = new MyActionOctokit(); -const installations = await octokit.paginate("GET /app/installations"); -``` - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/core/dist-node/index.js b/node_modules/@octokit/core/dist-node/index.js deleted file mode 100644 index 5b3bb74e3d..0000000000 --- a/node_modules/@octokit/core/dist-node/index.js +++ /dev/null @@ -1,175 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var universalUserAgent = require('universal-user-agent'); -var beforeAfterHook = require('before-after-hook'); -var request = require('@octokit/request'); -var graphql = require('@octokit/graphql'); -var authToken = require('@octokit/auth-token'); - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} - -const VERSION = "2.5.4"; - -class Octokit { - constructor(options = {}) { - const hook = new beforeAfterHook.Collection(); - const requestDefaults = { - baseUrl: request.request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - hook: hook.bind(null, "request") - }), - mediaType: { - previews: [], - format: "" - } - }; // prepend default user agent with `options.userAgent` if set - - requestDefaults.headers["user-agent"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(" "); - - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } - - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; - } - - this.request = request.request.defaults(requestDefaults); - this.graphql = graphql.withCustomRequest(this.request).defaults(_objectSpread2(_objectSpread2({}, requestDefaults), {}, { - baseUrl: requestDefaults.baseUrl.replace(/\/api\/v3$/, "/api") - })); - this.log = Object.assign({ - debug: () => {}, - info: () => {}, - warn: console.warn.bind(console), - error: console.error.bind(console) - }, options.log); - this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred. - // (2) If only `options.auth` is set, use the default token authentication strategy. - // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. - // TODO: type `options.auth` based on `options.authStrategy`. - - if (!options.authStrategy) { - if (!options.auth) { - // (1) - this.auth = async () => ({ - type: "unauthenticated" - }); - } else { - // (2) - const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\_(ツ)_/¯ - - hook.wrap("request", auth.hook); - this.auth = auth; - } - } else { - const auth = options.authStrategy(Object.assign({ - request: this.request - }, options.auth)); // @ts-ignore ¯\_(ツ)_/¯ - - hook.wrap("request", auth.hook); - this.auth = auth; - } // apply plugins - // https://stackoverflow.com/a/16345172 - - - const classConstructor = this.constructor; - classConstructor.plugins.forEach(plugin => { - Object.assign(this, plugin(this, options)); - }); - } - - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? { - userAgent: `${options.userAgent} ${defaults.userAgent}` - } : null)); - } - - }; - return OctokitWithDefaults; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - - - static plugin(p1, ...p2) { - var _a; - - if (p1 instanceof Array) { - console.warn(["Passing an array of plugins to Octokit.plugin() has been deprecated.", "Instead of:", " Octokit.plugin([plugin1, plugin2, ...])", "Use:", " Octokit.plugin(plugin1, plugin2, ...)"].join("\n")); - } - - const currentPlugins = this.plugins; - let newPlugins = [...(p1 instanceof Array ? p1 : [p1]), ...p2]; - const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a); - return NewOctokit; - } - -} -Octokit.VERSION = VERSION; -Octokit.plugins = []; - -exports.Octokit = Octokit; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/core/dist-node/index.js.map b/node_modules/@octokit/core/dist-node/index.js.map deleted file mode 100644 index b7000caed7..0000000000 --- a/node_modules/@octokit/core/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.5.4\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version\";\nexport class Octokit {\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n hook: hook.bind(null, \"request\"),\n }),\n mediaType: {\n previews: [],\n format: \"\",\n },\n };\n // prepend default user agent with `options.userAgent` if set\n requestDefaults.headers[\"user-agent\"] = [\n options.userAgent,\n `octokit-core.js/${VERSION} ${getUserAgent()}`,\n ]\n .filter(Boolean)\n .join(\" \");\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults({\n ...requestDefaults,\n baseUrl: requestDefaults.baseUrl.replace(/\\/api\\/v3$/, \"/api\"),\n });\n this.log = Object.assign({\n debug: () => { },\n info: () => { },\n warn: console.warn.bind(console),\n error: console.error.bind(console),\n }, options.log);\n this.hook = hook;\n // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\",\n });\n }\n else {\n // (2)\n const auth = createTokenAuth(options.auth);\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n }\n else {\n const auth = options.authStrategy(Object.assign({\n request: this.request,\n }, options.auth));\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n // apply plugins\n // https://stackoverflow.com/a/16345172\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach((plugin) => {\n Object.assign(this, plugin(this, options));\n });\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent\n ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`,\n }\n : null));\n }\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(p1, ...p2) {\n var _a;\n if (p1 instanceof Array) {\n console.warn([\n \"Passing an array of plugins to Octokit.plugin() has been deprecated.\",\n \"Instead of:\",\n \" Octokit.plugin([plugin1, plugin2, ...])\",\n \"Use:\",\n \" Octokit.plugin(plugin1, plugin2, ...)\",\n ].join(\"\\n\"));\n }\n const currentPlugins = this.plugins;\n let newPlugins = [\n ...(p1 instanceof Array\n ? p1\n : [p1]),\n ...p2,\n ];\n const NewOctokit = (_a = class extends this {\n },\n _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))),\n _a);\n return NewOctokit;\n }\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n"],"names":["VERSION","Octokit","constructor","options","hook","Collection","requestDefaults","baseUrl","request","endpoint","DEFAULTS","headers","Object","assign","bind","mediaType","previews","format","userAgent","getUserAgent","filter","Boolean","join","timeZone","defaults","graphql","withCustomRequest","replace","log","debug","info","warn","console","error","authStrategy","auth","type","createTokenAuth","wrap","classConstructor","plugins","forEach","plugin","OctokitWithDefaults","args","p1","p2","_a","Array","currentPlugins","newPlugins","NewOctokit","concat","includes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACMA,MAAMC,OAAN,CAAc;AACjBC,EAAAA,WAAW,CAACC,OAAO,GAAG,EAAX,EAAe;AACtB,UAAMC,IAAI,GAAG,IAAIC,0BAAJ,EAAb;AACA,UAAMC,eAAe,GAAG;AACpBC,MAAAA,OAAO,EAAEC,eAAO,CAACC,QAAR,CAAiBC,QAAjB,CAA0BH,OADf;AAEpBI,MAAAA,OAAO,EAAE,EAFW;AAGpBH,MAAAA,OAAO,EAAEI,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBV,OAAO,CAACK,OAA1B,EAAmC;AACxCJ,QAAAA,IAAI,EAAEA,IAAI,CAACU,IAAL,CAAU,IAAV,EAAgB,SAAhB;AADkC,OAAnC,CAHW;AAMpBC,MAAAA,SAAS,EAAE;AACPC,QAAAA,QAAQ,EAAE,EADH;AAEPC,QAAAA,MAAM,EAAE;AAFD;AANS,KAAxB,CAFsB;;AActBX,IAAAA,eAAe,CAACK,OAAhB,CAAwB,YAAxB,IAAwC,CACpCR,OAAO,CAACe,SAD4B,EAEnC,mBAAkBlB,OAAQ,IAAGmB,+BAAY,EAAG,EAFT,EAInCC,MAJmC,CAI5BC,OAJ4B,EAKnCC,IALmC,CAK9B,GAL8B,CAAxC;;AAMA,QAAInB,OAAO,CAACI,OAAZ,EAAqB;AACjBD,MAAAA,eAAe,CAACC,OAAhB,GAA0BJ,OAAO,CAACI,OAAlC;AACH;;AACD,QAAIJ,OAAO,CAACa,QAAZ,EAAsB;AAClBV,MAAAA,eAAe,CAACS,SAAhB,CAA0BC,QAA1B,GAAqCb,OAAO,CAACa,QAA7C;AACH;;AACD,QAAIb,OAAO,CAACoB,QAAZ,EAAsB;AAClBjB,MAAAA,eAAe,CAACK,OAAhB,CAAwB,WAAxB,IAAuCR,OAAO,CAACoB,QAA/C;AACH;;AACD,SAAKf,OAAL,GAAeA,eAAO,CAACgB,QAAR,CAAiBlB,eAAjB,CAAf;AACA,SAAKmB,OAAL,GAAeC,yBAAiB,CAAC,KAAKlB,OAAN,CAAjB,CAAgCgB,QAAhC,mCACRlB,eADQ;AAEXC,MAAAA,OAAO,EAAED,eAAe,CAACC,OAAhB,CAAwBoB,OAAxB,CAAgC,YAAhC,EAA8C,MAA9C;AAFE,OAAf;AAIA,SAAKC,GAAL,GAAWhB,MAAM,CAACC,MAAP,CAAc;AACrBgB,MAAAA,KAAK,EAAE,MAAM,EADQ;AAErBC,MAAAA,IAAI,EAAE,MAAM,EAFS;AAGrBC,MAAAA,IAAI,EAAEC,OAAO,CAACD,IAAR,CAAajB,IAAb,CAAkBkB,OAAlB,CAHe;AAIrBC,MAAAA,KAAK,EAAED,OAAO,CAACC,KAAR,CAAcnB,IAAd,CAAmBkB,OAAnB;AAJc,KAAd,EAKR7B,OAAO,CAACyB,GALA,CAAX;AAMA,SAAKxB,IAAL,GAAYA,IAAZ,CAxCsB;AA0CtB;AACA;AACA;AACA;;AACA,QAAI,CAACD,OAAO,CAAC+B,YAAb,EAA2B;AACvB,UAAI,CAAC/B,OAAO,CAACgC,IAAb,EAAmB;AACf;AACA,aAAKA,IAAL,GAAY,aAAa;AACrBC,UAAAA,IAAI,EAAE;AADe,SAAb,CAAZ;AAGH,OALD,MAMK;AACD;AACA,cAAMD,IAAI,GAAGE,yBAAe,CAAClC,OAAO,CAACgC,IAAT,CAA5B,CAFC;;AAID/B,QAAAA,IAAI,CAACkC,IAAL,CAAU,SAAV,EAAqBH,IAAI,CAAC/B,IAA1B;AACA,aAAK+B,IAAL,GAAYA,IAAZ;AACH;AACJ,KAdD,MAeK;AACD,YAAMA,IAAI,GAAGhC,OAAO,CAAC+B,YAAR,CAAqBtB,MAAM,CAACC,MAAP,CAAc;AAC5CL,QAAAA,OAAO,EAAE,KAAKA;AAD8B,OAAd,EAE/BL,OAAO,CAACgC,IAFuB,CAArB,CAAb,CADC;;AAKD/B,MAAAA,IAAI,CAACkC,IAAL,CAAU,SAAV,EAAqBH,IAAI,CAAC/B,IAA1B;AACA,WAAK+B,IAAL,GAAYA,IAAZ;AACH,KApEqB;AAsEtB;;;AACA,UAAMI,gBAAgB,GAAG,KAAKrC,WAA9B;AACAqC,IAAAA,gBAAgB,CAACC,OAAjB,CAAyBC,OAAzB,CAAkCC,MAAD,IAAY;AACzC9B,MAAAA,MAAM,CAACC,MAAP,CAAc,IAAd,EAAoB6B,MAAM,CAAC,IAAD,EAAOvC,OAAP,CAA1B;AACH,KAFD;AAGH;;AACD,SAAOqB,QAAP,CAAgBA,QAAhB,EAA0B;AACtB,UAAMmB,mBAAmB,GAAG,cAAc,IAAd,CAAmB;AAC3CzC,MAAAA,WAAW,CAAC,GAAG0C,IAAJ,EAAU;AACjB,cAAMzC,OAAO,GAAGyC,IAAI,CAAC,CAAD,CAAJ,IAAW,EAA3B;AACA,cAAMhC,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBW,QAAlB,EAA4BrB,OAA5B,EAAqCA,OAAO,CAACe,SAAR,IAAqBM,QAAQ,CAACN,SAA9B,GACrC;AACEA,UAAAA,SAAS,EAAG,GAAEf,OAAO,CAACe,SAAU,IAAGM,QAAQ,CAACN,SAAU;AADxD,SADqC,GAIrC,IAJA,CAAN;AAKH;;AAR0C,KAA/C;AAUA,WAAOyB,mBAAP;AACH;AACD;;;;;;;;AAMA,SAAOD,MAAP,CAAcG,EAAd,EAAkB,GAAGC,EAArB,EAAyB;AACrB,QAAIC,EAAJ;;AACA,QAAIF,EAAE,YAAYG,KAAlB,EAAyB;AACrBhB,MAAAA,OAAO,CAACD,IAAR,CAAa,CACT,sEADS,EAET,aAFS,EAGT,2CAHS,EAIT,MAJS,EAKT,yCALS,EAMXT,IANW,CAMN,IANM,CAAb;AAOH;;AACD,UAAM2B,cAAc,GAAG,KAAKT,OAA5B;AACA,QAAIU,UAAU,GAAG,CACb,IAAIL,EAAE,YAAYG,KAAd,GACEH,EADF,GAEE,CAACA,EAAD,CAFN,CADa,EAIb,GAAGC,EAJU,CAAjB;AAMA,UAAMK,UAAU,IAAIJ,EAAE,GAAG,cAAc,IAAd,CAAmB,EAAxB,EAEhBA,EAAE,CAACP,OAAH,GAAaS,cAAc,CAACG,MAAf,CAAsBF,UAAU,CAAC9B,MAAX,CAAmBsB,MAAD,IAAY,CAACO,cAAc,CAACI,QAAf,CAAwBX,MAAxB,CAA/B,CAAtB,CAFG,EAGhBK,EAHY,CAAhB;AAIA,WAAOI,UAAP;AACH;;AAvHgB;AAyHrBlD,OAAO,CAACD,OAAR,GAAkBA,OAAlB;AACAC,OAAO,CAACuC,OAAR,GAAkB,EAAlB;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/core/dist-src/index.js b/node_modules/@octokit/core/dist-src/index.js deleted file mode 100644 index 6294e9671e..0000000000 --- a/node_modules/@octokit/core/dist-src/index.js +++ /dev/null @@ -1,129 +0,0 @@ -import { getUserAgent } from "universal-user-agent"; -import { Collection } from "before-after-hook"; -import { request } from "@octokit/request"; -import { withCustomRequest } from "@octokit/graphql"; -import { createTokenAuth } from "@octokit/auth-token"; -import { VERSION } from "./version"; -export class Octokit { - constructor(options = {}) { - const hook = new Collection(); - const requestDefaults = { - baseUrl: request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - hook: hook.bind(null, "request"), - }), - mediaType: { - previews: [], - format: "", - }, - }; - // prepend default user agent with `options.userAgent` if set - requestDefaults.headers["user-agent"] = [ - options.userAgent, - `octokit-core.js/${VERSION} ${getUserAgent()}`, - ] - .filter(Boolean) - .join(" "); - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; - } - this.request = request.defaults(requestDefaults); - this.graphql = withCustomRequest(this.request).defaults({ - ...requestDefaults, - baseUrl: requestDefaults.baseUrl.replace(/\/api\/v3$/, "/api"), - }); - this.log = Object.assign({ - debug: () => { }, - info: () => { }, - warn: console.warn.bind(console), - error: console.error.bind(console), - }, options.log); - this.hook = hook; - // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred. - // (2) If only `options.auth` is set, use the default token authentication strategy. - // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. - // TODO: type `options.auth` based on `options.authStrategy`. - if (!options.authStrategy) { - if (!options.auth) { - // (1) - this.auth = async () => ({ - type: "unauthenticated", - }); - } - else { - // (2) - const auth = createTokenAuth(options.auth); - // @ts-ignore ¯\_(ツ)_/¯ - hook.wrap("request", auth.hook); - this.auth = auth; - } - } - else { - const auth = options.authStrategy(Object.assign({ - request: this.request, - }, options.auth)); - // @ts-ignore ¯\_(ツ)_/¯ - hook.wrap("request", auth.hook); - this.auth = auth; - } - // apply plugins - // https://stackoverflow.com/a/16345172 - const classConstructor = this.constructor; - classConstructor.plugins.forEach((plugin) => { - Object.assign(this, plugin(this, options)); - }); - } - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent - ? { - userAgent: `${options.userAgent} ${defaults.userAgent}`, - } - : null)); - } - }; - return OctokitWithDefaults; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - static plugin(p1, ...p2) { - var _a; - if (p1 instanceof Array) { - console.warn([ - "Passing an array of plugins to Octokit.plugin() has been deprecated.", - "Instead of:", - " Octokit.plugin([plugin1, plugin2, ...])", - "Use:", - " Octokit.plugin(plugin1, plugin2, ...)", - ].join("\n")); - } - const currentPlugins = this.plugins; - let newPlugins = [ - ...(p1 instanceof Array - ? p1 - : [p1]), - ...p2, - ]; - const NewOctokit = (_a = class extends this { - }, - _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))), - _a); - return NewOctokit; - } -} -Octokit.VERSION = VERSION; -Octokit.plugins = []; diff --git a/node_modules/@octokit/core/dist-src/types.js b/node_modules/@octokit/core/dist-src/types.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/core/dist-src/version.js b/node_modules/@octokit/core/dist-src/version.js deleted file mode 100644 index 84ad33c4eb..0000000000 --- a/node_modules/@octokit/core/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "2.5.4"; diff --git a/node_modules/@octokit/core/dist-types/index.d.ts b/node_modules/@octokit/core/dist-types/index.d.ts deleted file mode 100644 index 9bfa79ef57..0000000000 --- a/node_modules/@octokit/core/dist-types/index.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { HookCollection } from "before-after-hook"; -import { request } from "@octokit/request"; -import { graphql } from "@octokit/graphql"; -import { Constructor, OctokitOptions, OctokitPlugin, ReturnTypeOf, UnionToIntersection } from "./types"; -export declare class Octokit { - static VERSION: string; - static defaults>(this: S, defaults: OctokitOptions): { - new (...args: any[]): { - [x: string]: any; - }; - } & S; - static plugins: OctokitPlugin[]; - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - static plugin & { - plugins: any[]; - }, T1 extends OctokitPlugin | OctokitPlugin[], T2 extends OctokitPlugin[]>(this: S, p1: T1, ...p2: T2): { - new (...args: any[]): { - [x: string]: any; - }; - plugins: any[]; - } & S & Constructor & ReturnTypeOf>>; - constructor(options?: OctokitOptions); - request: typeof request; - graphql: typeof graphql; - log: { - debug: (message: string, additionalInfo?: object) => any; - info: (message: string, additionalInfo?: object) => any; - warn: (message: string, additionalInfo?: object) => any; - error: (message: string, additionalInfo?: object) => any; - [key: string]: any; - }; - hook: HookCollection; - auth: (...args: unknown[]) => Promise; - [key: string]: any; -} diff --git a/node_modules/@octokit/core/dist-types/types.d.ts b/node_modules/@octokit/core/dist-types/types.d.ts deleted file mode 100644 index 447d8c60d5..0000000000 --- a/node_modules/@octokit/core/dist-types/types.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import * as OctokitTypes from "@octokit/types"; -import { Octokit } from "."; -export declare type RequestParameters = OctokitTypes.RequestParameters; -export declare type OctokitOptions = { - authStrategy?: any; - auth?: any; - request?: OctokitTypes.RequestRequestOptions; - timeZone?: string; - [option: string]: any; -}; -export declare type Constructor = new (...args: any[]) => T; -export declare type ReturnTypeOf = T extends AnyFunction ? ReturnType : T extends AnyFunction[] ? UnionToIntersection> : never; -/** - * @author https://stackoverflow.com/users/2887218/jcalz - * @see https://stackoverflow.com/a/50375286/10325032 - */ -export declare type UnionToIntersection = (Union extends any ? (argument: Union) => void : never) extends (argument: infer Intersection) => void ? Intersection : never; -declare type AnyFunction = (...args: any) => any; -export declare type OctokitPlugin = (octokit: Octokit, options: OctokitOptions) => { - [key: string]: any; -} | void; -export {}; diff --git a/node_modules/@octokit/core/dist-types/version.d.ts b/node_modules/@octokit/core/dist-types/version.d.ts deleted file mode 100644 index 829817ca94..0000000000 --- a/node_modules/@octokit/core/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "2.5.4"; diff --git a/node_modules/@octokit/core/dist-web/index.js b/node_modules/@octokit/core/dist-web/index.js deleted file mode 100644 index 76e2e628e3..0000000000 --- a/node_modules/@octokit/core/dist-web/index.js +++ /dev/null @@ -1,134 +0,0 @@ -import { getUserAgent } from 'universal-user-agent'; -import { Collection } from 'before-after-hook'; -import { request } from '@octokit/request'; -import { withCustomRequest } from '@octokit/graphql'; -import { createTokenAuth } from '@octokit/auth-token'; - -const VERSION = "2.5.4"; - -class Octokit { - constructor(options = {}) { - const hook = new Collection(); - const requestDefaults = { - baseUrl: request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - hook: hook.bind(null, "request"), - }), - mediaType: { - previews: [], - format: "", - }, - }; - // prepend default user agent with `options.userAgent` if set - requestDefaults.headers["user-agent"] = [ - options.userAgent, - `octokit-core.js/${VERSION} ${getUserAgent()}`, - ] - .filter(Boolean) - .join(" "); - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; - } - this.request = request.defaults(requestDefaults); - this.graphql = withCustomRequest(this.request).defaults({ - ...requestDefaults, - baseUrl: requestDefaults.baseUrl.replace(/\/api\/v3$/, "/api"), - }); - this.log = Object.assign({ - debug: () => { }, - info: () => { }, - warn: console.warn.bind(console), - error: console.error.bind(console), - }, options.log); - this.hook = hook; - // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred. - // (2) If only `options.auth` is set, use the default token authentication strategy. - // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. - // TODO: type `options.auth` based on `options.authStrategy`. - if (!options.authStrategy) { - if (!options.auth) { - // (1) - this.auth = async () => ({ - type: "unauthenticated", - }); - } - else { - // (2) - const auth = createTokenAuth(options.auth); - // @ts-ignore ¯\_(ツ)_/¯ - hook.wrap("request", auth.hook); - this.auth = auth; - } - } - else { - const auth = options.authStrategy(Object.assign({ - request: this.request, - }, options.auth)); - // @ts-ignore ¯\_(ツ)_/¯ - hook.wrap("request", auth.hook); - this.auth = auth; - } - // apply plugins - // https://stackoverflow.com/a/16345172 - const classConstructor = this.constructor; - classConstructor.plugins.forEach((plugin) => { - Object.assign(this, plugin(this, options)); - }); - } - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent - ? { - userAgent: `${options.userAgent} ${defaults.userAgent}`, - } - : null)); - } - }; - return OctokitWithDefaults; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - static plugin(p1, ...p2) { - var _a; - if (p1 instanceof Array) { - console.warn([ - "Passing an array of plugins to Octokit.plugin() has been deprecated.", - "Instead of:", - " Octokit.plugin([plugin1, plugin2, ...])", - "Use:", - " Octokit.plugin(plugin1, plugin2, ...)", - ].join("\n")); - } - const currentPlugins = this.plugins; - let newPlugins = [ - ...(p1 instanceof Array - ? p1 - : [p1]), - ...p2, - ]; - const NewOctokit = (_a = class extends this { - }, - _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))), - _a); - return NewOctokit; - } -} -Octokit.VERSION = VERSION; -Octokit.plugins = []; - -export { Octokit }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/core/dist-web/index.js.map b/node_modules/@octokit/core/dist-web/index.js.map deleted file mode 100644 index 54ea639860..0000000000 --- a/node_modules/@octokit/core/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.5.4\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version\";\nexport class Octokit {\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n hook: hook.bind(null, \"request\"),\n }),\n mediaType: {\n previews: [],\n format: \"\",\n },\n };\n // prepend default user agent with `options.userAgent` if set\n requestDefaults.headers[\"user-agent\"] = [\n options.userAgent,\n `octokit-core.js/${VERSION} ${getUserAgent()}`,\n ]\n .filter(Boolean)\n .join(\" \");\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults({\n ...requestDefaults,\n baseUrl: requestDefaults.baseUrl.replace(/\\/api\\/v3$/, \"/api\"),\n });\n this.log = Object.assign({\n debug: () => { },\n info: () => { },\n warn: console.warn.bind(console),\n error: console.error.bind(console),\n }, options.log);\n this.hook = hook;\n // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\",\n });\n }\n else {\n // (2)\n const auth = createTokenAuth(options.auth);\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n }\n else {\n const auth = options.authStrategy(Object.assign({\n request: this.request,\n }, options.auth));\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n // apply plugins\n // https://stackoverflow.com/a/16345172\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach((plugin) => {\n Object.assign(this, plugin(this, options));\n });\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent\n ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`,\n }\n : null));\n }\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(p1, ...p2) {\n var _a;\n if (p1 instanceof Array) {\n console.warn([\n \"Passing an array of plugins to Octokit.plugin() has been deprecated.\",\n \"Instead of:\",\n \" Octokit.plugin([plugin1, plugin2, ...])\",\n \"Use:\",\n \" Octokit.plugin(plugin1, plugin2, ...)\",\n ].join(\"\\n\"));\n }\n const currentPlugins = this.plugins;\n let newPlugins = [\n ...(p1 instanceof Array\n ? p1\n : [p1]),\n ...p2,\n ];\n const NewOctokit = (_a = class extends this {\n },\n _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))),\n _a);\n return NewOctokit;\n }\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACMnC,MAAM,OAAO,CAAC;AACrB,IAAI,WAAW,CAAC,OAAO,GAAG,EAAE,EAAE;AAC9B,QAAQ,MAAM,IAAI,GAAG,IAAI,UAAU,EAAE,CAAC;AACtC,QAAQ,MAAM,eAAe,GAAG;AAChC,YAAY,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO;AACtD,YAAY,OAAO,EAAE,EAAE;AACvB,YAAY,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,EAAE;AACxD,gBAAgB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC;AAChD,aAAa,CAAC;AACd,YAAY,SAAS,EAAE;AACvB,gBAAgB,QAAQ,EAAE,EAAE;AAC5B,gBAAgB,MAAM,EAAE,EAAE;AAC1B,aAAa;AACb,SAAS,CAAC;AACV;AACA,QAAQ,eAAe,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG;AAChD,YAAY,OAAO,CAAC,SAAS;AAC7B,YAAY,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;AAC1D,SAAS;AACT,aAAa,MAAM,CAAC,OAAO,CAAC;AAC5B,aAAa,IAAI,CAAC,GAAG,CAAC,CAAC;AACvB,QAAQ,IAAI,OAAO,CAAC,OAAO,EAAE;AAC7B,YAAY,eAAe,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACtD,SAAS;AACT,QAAQ,IAAI,OAAO,CAAC,QAAQ,EAAE;AAC9B,YAAY,eAAe,CAAC,SAAS,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;AAClE,SAAS;AACT,QAAQ,IAAI,OAAO,CAAC,QAAQ,EAAE;AAC9B,YAAY,eAAe,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC;AACpE,SAAS;AACT,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;AACzD,QAAQ,IAAI,CAAC,OAAO,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC;AAChE,YAAY,GAAG,eAAe;AAC9B,YAAY,OAAO,EAAE,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC;AAC1E,SAAS,CAAC,CAAC;AACX,QAAQ,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC;AACjC,YAAY,KAAK,EAAE,MAAM,GAAG;AAC5B,YAAY,IAAI,EAAE,MAAM,GAAG;AAC3B,YAAY,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;AAC5C,YAAY,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;AAC9C,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;AACxB,QAAQ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AACzB;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;AACnC,YAAY,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;AAC/B;AACA,gBAAgB,IAAI,CAAC,IAAI,GAAG,aAAa;AACzC,oBAAoB,IAAI,EAAE,iBAAiB;AAC3C,iBAAiB,CAAC,CAAC;AACnB,aAAa;AACb,iBAAiB;AACjB;AACA,gBAAgB,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAC3D;AACA,gBAAgB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AAChD,gBAAgB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AACjC,aAAa;AACb,SAAS;AACT,aAAa;AACb,YAAY,MAAM,IAAI,GAAG,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC;AAC5D,gBAAgB,OAAO,EAAE,IAAI,CAAC,OAAO;AACrC,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9B;AACA,YAAY,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5C,YAAY,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AAC7B,SAAS;AACT;AACA;AACA,QAAQ,MAAM,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC;AAClD,QAAQ,gBAAgB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK;AACrD,YAAY,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;AACvD,SAAS,CAAC,CAAC;AACX,KAAK;AACL,IAAI,OAAO,QAAQ,CAAC,QAAQ,EAAE;AAC9B,QAAQ,MAAM,mBAAmB,GAAG,cAAc,IAAI,CAAC;AACvD,YAAY,WAAW,CAAC,GAAG,IAAI,EAAE;AACjC,gBAAgB,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AAC9C,gBAAgB,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,SAAS,IAAI,QAAQ,CAAC,SAAS;AAClG,sBAAsB;AACtB,wBAAwB,SAAS,EAAE,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC/E,qBAAqB;AACrB,sBAAsB,IAAI,CAAC,CAAC,CAAC;AAC7B,aAAa;AACb,SAAS,CAAC;AACV,QAAQ,OAAO,mBAAmB,CAAC;AACnC,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,MAAM,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE;AAC7B,QAAQ,IAAI,EAAE,CAAC;AACf,QAAQ,IAAI,EAAE,YAAY,KAAK,EAAE;AACjC,YAAY,OAAO,CAAC,IAAI,CAAC;AACzB,gBAAgB,sEAAsE;AACtF,gBAAgB,aAAa;AAC7B,gBAAgB,2CAA2C;AAC3D,gBAAgB,MAAM;AACtB,gBAAgB,yCAAyC;AACzD,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1B,SAAS;AACT,QAAQ,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC;AAC5C,QAAQ,IAAI,UAAU,GAAG;AACzB,YAAY,IAAI,EAAE,YAAY,KAAK;AACnC,kBAAkB,EAAE;AACpB,kBAAkB,CAAC,EAAE,CAAC,CAAC;AACvB,YAAY,GAAG,EAAE;AACjB,SAAS,CAAC;AACV,QAAQ,MAAM,UAAU,IAAI,EAAE,GAAG,cAAc,IAAI,CAAC;AACpD,aAAa;AACb,YAAY,EAAE,CAAC,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/G,YAAY,EAAE,CAAC,CAAC;AAChB,QAAQ,OAAO,UAAU,CAAC;AAC1B,KAAK;AACL,CAAC;AACD,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/core/package.json b/node_modules/@octokit/core/package.json deleted file mode 100644 index bccf3d88d4..0000000000 --- a/node_modules/@octokit/core/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@octokit/core", - "description": "Extendable client for GitHub's REST & GraphQL APIs", - "version": "2.5.4", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "sdk", - "toolkit" - ], - "repository": "https://github.com/octokit/core.js", - "dependencies": { - "@octokit/auth-token": "^2.4.0", - "@octokit/graphql": "^4.3.1", - "@octokit/request": "^5.4.0", - "@octokit/types": "^5.0.0", - "before-after-hook": "^2.1.0", - "universal-user-agent": "^5.0.0" - }, - "devDependencies": { - "@octokit/auth": "^2.0.0", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.3.1", - "@types/jest": "^26.0.0", - "@types/lolex": "^5.1.0", - "@types/node": "^14.0.4", - "@types/node-fetch": "^2.5.0", - "fetch-mock": "^9.0.0", - "http-proxy-agent": "^4.0.1", - "jest": "^25.1.0", - "lolex": "^6.0.0", - "prettier": "^2.0.4", - "proxy": "^1.0.1", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^25.1.0", - "typescript": "^3.5.3" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/core/-/core-2.5.4.tgz" -,"_integrity": "sha512-HCp8yKQfTITYK+Nd09MHzAlP1v3Ii/oCohv0/TW9rhSLvzb98BOVs2QmVYuloE6a3l6LsfyGIwb6Pc4ycgWlIQ==" -,"_from": "@octokit/core@2.5.4" -} \ No newline at end of file diff --git a/node_modules/@octokit/endpoint/LICENSE b/node_modules/@octokit/endpoint/LICENSE deleted file mode 100644 index af5366d0d0..0000000000 --- a/node_modules/@octokit/endpoint/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2018 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/@octokit/endpoint/README.md b/node_modules/@octokit/endpoint/README.md deleted file mode 100644 index ec54be2cf6..0000000000 --- a/node_modules/@octokit/endpoint/README.md +++ /dev/null @@ -1,421 +0,0 @@ -# endpoint.js - -> Turns GitHub REST API endpoints into generic request options - -[![@latest](https://img.shields.io/npm/v/@octokit/endpoint.svg)](https://www.npmjs.com/package/@octokit/endpoint) -![Build Status](https://github.com/octokit/endpoint.js/workflows/Test/badge.svg) - -`@octokit/endpoint` combines [GitHub REST API routes](https://developer.github.com/v3/) with your parameters and turns them into generic request options that can be used in any request library. - - - - - -- [Usage](#usage) -- [API](#api) - - [`endpoint(route, options)` or `endpoint(options)`](#endpointroute-options-or-endpointoptions) - - [`endpoint.defaults()`](#endpointdefaults) - - [`endpoint.DEFAULTS`](#endpointdefaults) - - [`endpoint.merge(route, options)` or `endpoint.merge(options)`](#endpointmergeroute-options-or-endpointmergeoptions) - - [`endpoint.parse()`](#endpointparse) -- [Special cases](#special-cases) - - [The `data` parameter – set request body directly](#the-data-parameter-%E2%80%93-set-request-body-directly) - - [Set parameters for both the URL/query and the request body](#set-parameters-for-both-the-urlquery-and-the-request-body) -- [LICENSE](#license) - - - -## Usage - - - - - - -
-Browsers - -Load @octokit/endpoint directly from cdn.pika.dev - -```html - -``` - -
-Node - - -Install with npm install @octokit/endpoint - -```js -const { endpoint } = require("@octokit/endpoint"); -// or: import { endpoint } from "@octokit/endpoint"; -``` - -
- -Example for [List organization repositories](https://developer.github.com/v3/repos/#list-organization-repositories) - -```js -const requestOptions = endpoint("GET /orgs/:org/repos", { - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, - org: "octokit", - type: "private", -}); -``` - -The resulting `requestOptions` looks as follows - -```json -{ - "method": "GET", - "url": "https://api.github.com/orgs/octokit/repos?type=private", - "headers": { - "accept": "application/vnd.github.v3+json", - "authorization": "token 0000000000000000000000000000000000000001", - "user-agent": "octokit/endpoint.js v1.2.3" - } -} -``` - -You can pass `requestOptions` to common request libraries - -```js -const { url, ...options } = requestOptions; -// using with fetch (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) -fetch(url, options); -// using with request (https://github.com/request/request) -request(requestOptions); -// using with got (https://github.com/sindresorhus/got) -got[options.method](url, options); -// using with axios -axios(requestOptions); -``` - -## API - -### `endpoint(route, options)` or `endpoint(options)` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name - - type - - description -
- route - - String - - If set, it has to be a string consisting of URL and the request method, e.g., GET /orgs/:org. If it’s set to a URL, only the method defaults to GET. -
- options.method - - String - - Required unless route is set. Any supported http verb. Defaults to GET. -
- options.url - - String - - Required unless route is set. A path or full URL which may contain :variable or {variable} placeholders, - e.g., /orgs/:org/repos. The url is parsed using url-template. -
- options.baseUrl - - String - - Defaults to https://api.github.com. -
- options.headers - - Object - - Custom headers. Passed headers are merged with defaults:
- headers['user-agent'] defaults to octokit-endpoint.js/1.2.3 (where 1.2.3 is the released version).
- headers['accept'] defaults to application/vnd.github.v3+json.
-
- options.mediaType.format - - String - - Media type param, such as raw, diff, or text+json. See Media Types. Setting options.mediaType.format will amend the headers.accept value. -
- options.mediaType.previews - - Array of Strings - - Name of previews, such as mercy, symmetra, or scarlet-witch. See API Previews. If options.mediaType.previews was set as default, the new previews will be merged into the default ones. Setting options.mediaType.previews will amend the headers.accept value. options.mediaType.previews will be merged with an existing array set using .defaults(). -
- options.data - - Any - - Set request body directly instead of setting it to JSON based on additional parameters. See "The data parameter" below. -
- options.request - - Object - - Pass custom meta information for the request. The request object will be returned as is. -
- -All other options will be passed depending on the `method` and `url` options. - -1. If the option key has a placeholder in the `url`, it will be used as the replacement. For example, if the passed options are `{url: '/orgs/:org/repos', org: 'foo'}` the returned `options.url` is `https://api.github.com/orgs/foo/repos`. -2. If the `method` is `GET` or `HEAD`, the option is passed as a query parameter. -3. Otherwise, the parameter is passed in the request body as a JSON key. - -**Result** - -`endpoint()` is a synchronous method and returns an object with the following keys: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- key - - type - - description -
methodStringThe http method. Always lowercase.
urlStringThe url with placeholders replaced with passed parameters.
headersObjectAll header names are lowercased.
bodyAnyThe request body if one is present. Only for PATCH, POST, PUT, DELETE requests.
requestObjectRequest meta option, it will be returned as it was passed into endpoint()
- -### `endpoint.defaults()` - -Override or set default options. Example: - -```js -const request = require("request"); -const myEndpoint = require("@octokit/endpoint").defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - authorization: `token 0000000000000000000000000000000000000001`, - }, - org: "my-project", - per_page: 100, -}); - -request(myEndpoint(`GET /orgs/:org/repos`)); -``` - -You can call `.defaults()` again on the returned method, the defaults will cascade. - -```js -const myProjectEndpoint = endpoint.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - }, - org: "my-project", -}); -const myProjectEndpointWithAuth = myProjectEndpoint.defaults({ - headers: { - authorization: `token 0000000000000000000000000000000000000001`, - }, -}); -``` - -`myProjectEndpointWithAuth` now defaults the `baseUrl`, `headers['user-agent']`, -`org` and `headers['authorization']` on top of `headers['accept']` that is set -by the global default. - -### `endpoint.DEFAULTS` - -The current default options. - -```js -endpoint.DEFAULTS.baseUrl; // https://api.github.com -const myEndpoint = endpoint.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", -}); -myEndpoint.DEFAULTS.baseUrl; // https://github-enterprise.acme-inc.com/api/v3 -``` - -### `endpoint.merge(route, options)` or `endpoint.merge(options)` - -Get the defaulted endpoint options, but without parsing them into request options: - -```js -const myProjectEndpoint = endpoint.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - }, - org: "my-project", -}); -myProjectEndpoint.merge("GET /orgs/:org/repos", { - headers: { - authorization: `token 0000000000000000000000000000000000000001`, - }, - org: "my-secret-project", - type: "private", -}); - -// { -// baseUrl: 'https://github-enterprise.acme-inc.com/api/v3', -// method: 'GET', -// url: '/orgs/:org/repos', -// headers: { -// accept: 'application/vnd.github.v3+json', -// authorization: `token 0000000000000000000000000000000000000001`, -// 'user-agent': 'myApp/1.2.3' -// }, -// org: 'my-secret-project', -// type: 'private' -// } -``` - -### `endpoint.parse()` - -Stateless method to turn endpoint options into request options. Calling -`endpoint(options)` is the same as calling `endpoint.parse(endpoint.merge(options))`. - -## Special cases - - - -### The `data` parameter – set request body directly - -Some endpoints such as [Render a Markdown document in raw mode](https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode) don’t have parameters that are sent as request body keys, instead, the request body needs to be set directly. In these cases, set the `data` parameter. - -```js -const options = endpoint("POST /markdown/raw", { - data: "Hello world github/linguist#1 **cool**, and #1!", - headers: { - accept: "text/html;charset=utf-8", - "content-type": "text/plain", - }, -}); - -// options is -// { -// method: 'post', -// url: 'https://api.github.com/markdown/raw', -// headers: { -// accept: 'text/html;charset=utf-8', -// 'content-type': 'text/plain', -// 'user-agent': userAgent -// }, -// body: 'Hello world github/linguist#1 **cool**, and #1!' -// } -``` - -### Set parameters for both the URL/query and the request body - -There are API endpoints that accept both query parameters as well as a body. In that case, you need to add the query parameters as templates to `options.url`, as defined in the [RFC 6570 URI Template specification](https://tools.ietf.org/html/rfc6570). - -Example - -```js -endpoint( - "POST https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}", - { - name: "example.zip", - label: "short description", - headers: { - "content-type": "text/plain", - "content-length": 14, - authorization: `token 0000000000000000000000000000000000000001`, - }, - data: "Hello, world!", - } -); -``` - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/endpoint/dist-node/index.js b/node_modules/@octokit/endpoint/dist-node/index.js deleted file mode 100644 index 15e1ecdb7d..0000000000 --- a/node_modules/@octokit/endpoint/dist-node/index.js +++ /dev/null @@ -1,379 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var isPlainObject = _interopDefault(require('is-plain-object')); -var universalUserAgent = require('universal-user-agent'); - -function lowercaseKeys(object) { - if (!object) { - return {}; - } - - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); -} - -function mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach(key => { - if (isPlainObject(options[key])) { - if (!(key in defaults)) Object.assign(result, { - [key]: options[key] - });else result[key] = mergeDeep(defaults[key], options[key]); - } else { - Object.assign(result, { - [key]: options[key] - }); - } - }); - return result; -} - -function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { - method, - url - } : { - url: method - }, options); - } else { - options = Object.assign({}, route); - } // lowercase header names before merging with defaults to avoid duplicates - - - options.headers = lowercaseKeys(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten - - if (defaults && defaults.mediaType.previews.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews); - } - - mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, "")); - return mergedOptions; -} - -function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); - - if (names.length === 0) { - return url; - } - - return url + separator + names.map(name => { - if (name === "q") { - return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); - } - - return `${name}=${encodeURIComponent(parameters[name])}`; - }).join("&"); -} - -const urlVariableRegex = /\{[^}]+\}/g; - -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); -} - -function extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); - - if (!matches) { - return []; - } - - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); -} - -function omit(object, keysToOmit) { - return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => { - obj[key] = object[key]; - return obj; - }, {}); -} - -// Based on https://github.com/bramstein/url-template, licensed under BSD -// TODO: create separate package. -// -// Copyright (c) 2012-2014, Bram Stein -// All rights reserved. -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright -// notice, this list of conditions and the following disclaimer in the -// documentation and/or other materials provided with the distribution. -// 3. The name of the author may not be used to endorse or promote products -// derived from this software without specific prior written permission. -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -/* istanbul ignore file */ -function encodeReserved(str) { - return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - - return part; - }).join(""); -} - -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} - -function encodeValue(operator, value, key) { - value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value); - - if (key) { - return encodeUnreserved(key) + "=" + value; - } else { - return value; - } -} - -function isDefined(value) { - return value !== undefined && value !== null; -} - -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} - -function getValues(context, operator, key, modifier) { - var value = context[key], - result = []; - - if (isDefined(value) && value !== "") { - if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") { - value = value.toString(); - - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - } else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - }); - } else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } else { - const tmp = []; - - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - tmp.push(encodeValue(operator, value)); - }); - } else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } - - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } else if (value === "") { - result.push(""); - } - } - - return result; -} - -function parseUrl(template) { - return { - expand: expand.bind(null, template) - }; -} - -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - - expression.split(/,/g).forEach(function (variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - - if (operator && operator !== "+") { - var separator = ","; - - if (operator === "?") { - separator = "&"; - } else if (operator !== "#") { - separator = operator; - } - - return (values.length !== 0 ? operator : "") + values.join(separator); - } else { - return values.join(","); - } - } else { - return encodeReserved(literal); - } - }); -} - -function parse(options) { - // https://fetch.spec.whatwg.org/#methods - let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible - - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}"); - let headers = Object.assign({}, options.headers); - let body; - let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later - - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - - const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequset = /application\/octet-stream/i.test(headers.accept); - - if (!isBinaryRequset) { - if (options.mediaType.format) { - // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw - headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(","); - } - - if (options.mediaType.previews.length) { - const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; - headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => { - const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }).join(","); - } - } // for GET/HEAD requests, set URL query parameters from remaining parameters - // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters - - - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } else { - headers["content-length"] = 0; - } - } - } // default content-type for JSON if body is set - - - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. - // fetch does not allow to set `content-length` header, but we can set body to an empty string - - - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } // Only return body/request keys if present - - - return Object.assign({ - method, - url, - headers - }, typeof body !== "undefined" ? { - body - } : null, options.request ? { - request: options.request - } : null); -} - -function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} - -function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS = merge(oldDefaults, newDefaults); - const endpoint = endpointWithDefaults.bind(null, DEFAULTS); - return Object.assign(endpoint, { - DEFAULTS, - defaults: withDefaults.bind(null, DEFAULTS), - merge: merge.bind(null, DEFAULTS), - parse - }); -} - -const VERSION = "6.0.3"; - -const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url. -// So we use RequestParameters and add method as additional required property. - -const DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent - }, - mediaType: { - format: "", - previews: [] - } -}; - -const endpoint = withDefaults(null, DEFAULTS); - -exports.endpoint = endpoint; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/endpoint/dist-node/index.js.map b/node_modules/@octokit/endpoint/dist-node/index.js.map deleted file mode 100644 index 4b06727d0a..0000000000 --- a/node_modules/@octokit/endpoint/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/util/lowercase-keys.js","../dist-src/util/merge-deep.js","../dist-src/merge.js","../dist-src/util/add-query-parameters.js","../dist-src/util/extract-url-variable-names.js","../dist-src/util/omit.js","../dist-src/util/url-template.js","../dist-src/parse.js","../dist-src/endpoint-with-defaults.js","../dist-src/with-defaults.js","../dist-src/version.js","../dist-src/defaults.js","../dist-src/index.js"],"sourcesContent":["export function lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n","import isPlainObject from \"is-plain-object\";\nexport function mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach((key) => {\n if (isPlainObject(options[key])) {\n if (!(key in defaults))\n Object.assign(result, { [key]: options[key] });\n else\n result[key] = mergeDeep(defaults[key], options[key]);\n }\n else {\n Object.assign(result, { [key]: options[key] });\n }\n });\n return result;\n}\n","import { lowercaseKeys } from \"./util/lowercase-keys\";\nimport { mergeDeep } from \"./util/merge-deep\";\nexport function merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? { method, url } : { url: method }, options);\n }\n else {\n options = Object.assign({}, route);\n }\n // lowercase header names before merging with defaults to avoid duplicates\n options.headers = lowercaseKeys(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options);\n // mediaType.previews arrays are merged, instead of overwritten\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews\n .filter((preview) => !mergedOptions.mediaType.previews.includes(preview))\n .concat(mergedOptions.mediaType.previews);\n }\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n","export function addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n if (names.length === 0) {\n return url;\n }\n return (url +\n separator +\n names\n .map((name) => {\n if (name === \"q\") {\n return (\"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\"));\n }\n return `${name}=${encodeURIComponent(parameters[name])}`;\n })\n .join(\"&\"));\n}\n","const urlVariableRegex = /\\{[^}]+\\}/g;\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\nexport function extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n if (!matches) {\n return [];\n }\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n","export function omit(object, keysToOmit) {\n return Object.keys(object)\n .filter((option) => !keysToOmit.includes(option))\n .reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n","// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n return part;\n })\n .join(\"\");\n}\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\nfunction encodeValue(operator, value, key) {\n value =\n operator === \"+\" || operator === \"#\"\n ? encodeReserved(value)\n : encodeUnreserved(value);\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n }\n else {\n return value;\n }\n}\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\nfunction getValues(context, operator, key, modifier) {\n var value = context[key], result = [];\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" ||\n typeof value === \"number\" ||\n typeof value === \"boolean\") {\n value = value.toString();\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n }\n else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n }\n else {\n const tmp = [];\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n }\n else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n }\n else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n }\n else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n }\n else if (value === \"\") {\n result.push(\"\");\n }\n }\n return result;\n}\nexport function parseUrl(template) {\n return {\n expand: expand.bind(null, template),\n };\n}\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n if (operator && operator !== \"+\") {\n var separator = \",\";\n if (operator === \"?\") {\n separator = \"&\";\n }\n else if (operator !== \"#\") {\n separator = operator;\n }\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n }\n else {\n return values.join(\",\");\n }\n }\n else {\n return encodeReserved(literal);\n }\n });\n}\n","import { addQueryParameters } from \"./util/add-query-parameters\";\nimport { extractUrlVariableNames } from \"./util/extract-url-variable-names\";\nimport { omit } from \"./util/omit\";\nimport { parseUrl } from \"./util/url-template\";\nexport function parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase();\n // replace :varname with {varname} to make it RFC 6570 compatible\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{+$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"mediaType\",\n ]);\n // extract variable names from URL to calculate remaining variables later\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n const omittedParameters = Object.keys(options)\n .filter((option) => urlVariableNames.includes(option))\n .concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequset = /application\\/octet-stream/i.test(headers.accept);\n if (!isBinaryRequset) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept\n .split(/,/)\n .map((preview) => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`))\n .join(\",\");\n }\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader\n .concat(options.mediaType.previews)\n .map((preview) => {\n const format = options.mediaType.format\n ? `.${options.mediaType.format}`\n : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n })\n .join(\",\");\n }\n }\n // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n }\n else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n }\n else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n }\n else {\n headers[\"content-length\"] = 0;\n }\n }\n }\n // default content-type for JSON if body is set\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n }\n // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n }\n // Only return body/request keys if present\n return Object.assign({ method, url, headers }, typeof body !== \"undefined\" ? { body } : null, options.request ? { request: options.request } : null);\n}\n","import { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n","import { endpointWithDefaults } from \"./endpoint-with-defaults\";\nimport { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse,\n });\n}\n","export const VERSION = \"6.0.3\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nconst userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;\n// DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\nexport const DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent,\n },\n mediaType: {\n format: \"\",\n previews: [],\n },\n};\n","import { withDefaults } from \"./with-defaults\";\nimport { DEFAULTS } from \"./defaults\";\nexport const endpoint = withDefaults(null, DEFAULTS);\n"],"names":["lowercaseKeys","object","Object","keys","reduce","newObj","key","toLowerCase","mergeDeep","defaults","options","result","assign","forEach","isPlainObject","merge","route","method","url","split","headers","mergedOptions","mediaType","previews","length","filter","preview","includes","concat","map","replace","addQueryParameters","parameters","separator","test","names","name","q","encodeURIComponent","join","urlVariableRegex","removeNonChars","variableName","extractUrlVariableNames","matches","match","a","b","omit","keysToOmit","option","obj","encodeReserved","str","part","encodeURI","encodeUnreserved","c","charCodeAt","toString","toUpperCase","encodeValue","operator","value","isDefined","undefined","isKeyOperator","getValues","context","modifier","substring","parseInt","push","Array","isArray","k","tmp","parseUrl","template","expand","bind","operators","_","expression","literal","values","indexOf","charAt","substr","variable","exec","parse","body","urlVariableNames","baseUrl","omittedParameters","remainingParameters","isBinaryRequset","accept","format","previewsFromAcceptHeader","data","request","endpointWithDefaults","withDefaults","oldDefaults","newDefaults","DEFAULTS","endpoint","VERSION","userAgent","getUserAgent"],"mappings":";;;;;;;;;AAAO,SAASA,aAAT,CAAuBC,MAAvB,EAA+B;AAClC,MAAI,CAACA,MAAL,EAAa;AACT,WAAO,EAAP;AACH;;AACD,SAAOC,MAAM,CAACC,IAAP,CAAYF,MAAZ,EAAoBG,MAApB,CAA2B,CAACC,MAAD,EAASC,GAAT,KAAiB;AAC/CD,IAAAA,MAAM,CAACC,GAAG,CAACC,WAAJ,EAAD,CAAN,GAA4BN,MAAM,CAACK,GAAD,CAAlC;AACA,WAAOD,MAAP;AACH,GAHM,EAGJ,EAHI,CAAP;AAIH;;ACPM,SAASG,SAAT,CAAmBC,QAAnB,EAA6BC,OAA7B,EAAsC;AACzC,QAAMC,MAAM,GAAGT,MAAM,CAACU,MAAP,CAAc,EAAd,EAAkBH,QAAlB,CAAf;AACAP,EAAAA,MAAM,CAACC,IAAP,CAAYO,OAAZ,EAAqBG,OAArB,CAA8BP,GAAD,IAAS;AAClC,QAAIQ,aAAa,CAACJ,OAAO,CAACJ,GAAD,CAAR,CAAjB,EAAiC;AAC7B,UAAI,EAAEA,GAAG,IAAIG,QAAT,CAAJ,EACIP,MAAM,CAACU,MAAP,CAAcD,MAAd,EAAsB;AAAE,SAACL,GAAD,GAAOI,OAAO,CAACJ,GAAD;AAAhB,OAAtB,EADJ,KAGIK,MAAM,CAACL,GAAD,CAAN,GAAcE,SAAS,CAACC,QAAQ,CAACH,GAAD,CAAT,EAAgBI,OAAO,CAACJ,GAAD,CAAvB,CAAvB;AACP,KALD,MAMK;AACDJ,MAAAA,MAAM,CAACU,MAAP,CAAcD,MAAd,EAAsB;AAAE,SAACL,GAAD,GAAOI,OAAO,CAACJ,GAAD;AAAhB,OAAtB;AACH;AACJ,GAVD;AAWA,SAAOK,MAAP;AACH;;ACbM,SAASI,KAAT,CAAeN,QAAf,EAAyBO,KAAzB,EAAgCN,OAAhC,EAAyC;AAC5C,MAAI,OAAOM,KAAP,KAAiB,QAArB,EAA+B;AAC3B,QAAI,CAACC,MAAD,EAASC,GAAT,IAAgBF,KAAK,CAACG,KAAN,CAAY,GAAZ,CAApB;AACAT,IAAAA,OAAO,GAAGR,MAAM,CAACU,MAAP,CAAcM,GAAG,GAAG;AAAED,MAAAA,MAAF;AAAUC,MAAAA;AAAV,KAAH,GAAqB;AAAEA,MAAAA,GAAG,EAAED;AAAP,KAAtC,EAAuDP,OAAvD,CAAV;AACH,GAHD,MAIK;AACDA,IAAAA,OAAO,GAAGR,MAAM,CAACU,MAAP,CAAc,EAAd,EAAkBI,KAAlB,CAAV;AACH,GAP2C;;;AAS5CN,EAAAA,OAAO,CAACU,OAAR,GAAkBpB,aAAa,CAACU,OAAO,CAACU,OAAT,CAA/B;AACA,QAAMC,aAAa,GAAGb,SAAS,CAACC,QAAQ,IAAI,EAAb,EAAiBC,OAAjB,CAA/B,CAV4C;;AAY5C,MAAID,QAAQ,IAAIA,QAAQ,CAACa,SAAT,CAAmBC,QAAnB,CAA4BC,MAA5C,EAAoD;AAChDH,IAAAA,aAAa,CAACC,SAAd,CAAwBC,QAAxB,GAAmCd,QAAQ,CAACa,SAAT,CAAmBC,QAAnB,CAC9BE,MAD8B,CACtBC,OAAD,IAAa,CAACL,aAAa,CAACC,SAAd,CAAwBC,QAAxB,CAAiCI,QAAjC,CAA0CD,OAA1C,CADS,EAE9BE,MAF8B,CAEvBP,aAAa,CAACC,SAAd,CAAwBC,QAFD,CAAnC;AAGH;;AACDF,EAAAA,aAAa,CAACC,SAAd,CAAwBC,QAAxB,GAAmCF,aAAa,CAACC,SAAd,CAAwBC,QAAxB,CAAiCM,GAAjC,CAAsCH,OAAD,IAAaA,OAAO,CAACI,OAAR,CAAgB,UAAhB,EAA4B,EAA5B,CAAlD,CAAnC;AACA,SAAOT,aAAP;AACH;;ACrBM,SAASU,kBAAT,CAA4Bb,GAA5B,EAAiCc,UAAjC,EAA6C;AAChD,QAAMC,SAAS,GAAG,KAAKC,IAAL,CAAUhB,GAAV,IAAiB,GAAjB,GAAuB,GAAzC;AACA,QAAMiB,KAAK,GAAGjC,MAAM,CAACC,IAAP,CAAY6B,UAAZ,CAAd;;AACA,MAAIG,KAAK,CAACX,MAAN,KAAiB,CAArB,EAAwB;AACpB,WAAON,GAAP;AACH;;AACD,SAAQA,GAAG,GACPe,SADI,GAEJE,KAAK,CACAN,GADL,CACUO,IAAD,IAAU;AACf,QAAIA,IAAI,KAAK,GAAb,EAAkB;AACd,aAAQ,OAAOJ,UAAU,CAACK,CAAX,CAAalB,KAAb,CAAmB,GAAnB,EAAwBU,GAAxB,CAA4BS,kBAA5B,EAAgDC,IAAhD,CAAqD,GAArD,CAAf;AACH;;AACD,WAAQ,GAAEH,IAAK,IAAGE,kBAAkB,CAACN,UAAU,CAACI,IAAD,CAAX,CAAmB,EAAvD;AACH,GAND,EAOKG,IAPL,CAOU,GAPV,CAFJ;AAUH;;AChBD,MAAMC,gBAAgB,GAAG,YAAzB;;AACA,SAASC,cAAT,CAAwBC,YAAxB,EAAsC;AAClC,SAAOA,YAAY,CAACZ,OAAb,CAAqB,YAArB,EAAmC,EAAnC,EAAuCX,KAAvC,CAA6C,GAA7C,CAAP;AACH;;AACD,AAAO,SAASwB,uBAAT,CAAiCzB,GAAjC,EAAsC;AACzC,QAAM0B,OAAO,GAAG1B,GAAG,CAAC2B,KAAJ,CAAUL,gBAAV,CAAhB;;AACA,MAAI,CAACI,OAAL,EAAc;AACV,WAAO,EAAP;AACH;;AACD,SAAOA,OAAO,CAACf,GAAR,CAAYY,cAAZ,EAA4BrC,MAA5B,CAAmC,CAAC0C,CAAD,EAAIC,CAAJ,KAAUD,CAAC,CAAClB,MAAF,CAASmB,CAAT,CAA7C,EAA0D,EAA1D,CAAP;AACH;;ACVM,SAASC,IAAT,CAAc/C,MAAd,EAAsBgD,UAAtB,EAAkC;AACrC,SAAO/C,MAAM,CAACC,IAAP,CAAYF,MAAZ,EACFwB,MADE,CACMyB,MAAD,IAAY,CAACD,UAAU,CAACtB,QAAX,CAAoBuB,MAApB,CADlB,EAEF9C,MAFE,CAEK,CAAC+C,GAAD,EAAM7C,GAAN,KAAc;AACtB6C,IAAAA,GAAG,CAAC7C,GAAD,CAAH,GAAWL,MAAM,CAACK,GAAD,CAAjB;AACA,WAAO6C,GAAP;AACH,GALM,EAKJ,EALI,CAAP;AAMH;;ACPD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA,SAASC,cAAT,CAAwBC,GAAxB,EAA6B;AACzB,SAAOA,GAAG,CACLlC,KADE,CACI,oBADJ,EAEFU,GAFE,CAEE,UAAUyB,IAAV,EAAgB;AACrB,QAAI,CAAC,eAAepB,IAAf,CAAoBoB,IAApB,CAAL,EAAgC;AAC5BA,MAAAA,IAAI,GAAGC,SAAS,CAACD,IAAD,CAAT,CAAgBxB,OAAhB,CAAwB,MAAxB,EAAgC,GAAhC,EAAqCA,OAArC,CAA6C,MAA7C,EAAqD,GAArD,CAAP;AACH;;AACD,WAAOwB,IAAP;AACH,GAPM,EAQFf,IARE,CAQG,EARH,CAAP;AASH;;AACD,SAASiB,gBAAT,CAA0BH,GAA1B,EAA+B;AAC3B,SAAOf,kBAAkB,CAACe,GAAD,CAAlB,CAAwBvB,OAAxB,CAAgC,UAAhC,EAA4C,UAAU2B,CAAV,EAAa;AAC5D,WAAO,MAAMA,CAAC,CAACC,UAAF,CAAa,CAAb,EAAgBC,QAAhB,CAAyB,EAAzB,EAA6BC,WAA7B,EAAb;AACH,GAFM,CAAP;AAGH;;AACD,SAASC,WAAT,CAAqBC,QAArB,EAA+BC,KAA/B,EAAsCzD,GAAtC,EAA2C;AACvCyD,EAAAA,KAAK,GACDD,QAAQ,KAAK,GAAb,IAAoBA,QAAQ,KAAK,GAAjC,GACMV,cAAc,CAACW,KAAD,CADpB,GAEMP,gBAAgB,CAACO,KAAD,CAH1B;;AAIA,MAAIzD,GAAJ,EAAS;AACL,WAAOkD,gBAAgB,CAAClD,GAAD,CAAhB,GAAwB,GAAxB,GAA8ByD,KAArC;AACH,GAFD,MAGK;AACD,WAAOA,KAAP;AACH;AACJ;;AACD,SAASC,SAAT,CAAmBD,KAAnB,EAA0B;AACtB,SAAOA,KAAK,KAAKE,SAAV,IAAuBF,KAAK,KAAK,IAAxC;AACH;;AACD,SAASG,aAAT,CAAuBJ,QAAvB,EAAiC;AAC7B,SAAOA,QAAQ,KAAK,GAAb,IAAoBA,QAAQ,KAAK,GAAjC,IAAwCA,QAAQ,KAAK,GAA5D;AACH;;AACD,SAASK,SAAT,CAAmBC,OAAnB,EAA4BN,QAA5B,EAAsCxD,GAAtC,EAA2C+D,QAA3C,EAAqD;AACjD,MAAIN,KAAK,GAAGK,OAAO,CAAC9D,GAAD,CAAnB;AAAA,MAA0BK,MAAM,GAAG,EAAnC;;AACA,MAAIqD,SAAS,CAACD,KAAD,CAAT,IAAoBA,KAAK,KAAK,EAAlC,EAAsC;AAClC,QAAI,OAAOA,KAAP,KAAiB,QAAjB,IACA,OAAOA,KAAP,KAAiB,QADjB,IAEA,OAAOA,KAAP,KAAiB,SAFrB,EAEgC;AAC5BA,MAAAA,KAAK,GAAGA,KAAK,CAACJ,QAAN,EAAR;;AACA,UAAIU,QAAQ,IAAIA,QAAQ,KAAK,GAA7B,EAAkC;AAC9BN,QAAAA,KAAK,GAAGA,KAAK,CAACO,SAAN,CAAgB,CAAhB,EAAmBC,QAAQ,CAACF,QAAD,EAAW,EAAX,CAA3B,CAAR;AACH;;AACD1D,MAAAA,MAAM,CAAC6D,IAAP,CAAYX,WAAW,CAACC,QAAD,EAAWC,KAAX,EAAkBG,aAAa,CAACJ,QAAD,CAAb,GAA0BxD,GAA1B,GAAgC,EAAlD,CAAvB;AACH,KARD,MASK;AACD,UAAI+D,QAAQ,KAAK,GAAjB,EAAsB;AAClB,YAAII,KAAK,CAACC,OAAN,CAAcX,KAAd,CAAJ,EAA0B;AACtBA,UAAAA,KAAK,CAACtC,MAAN,CAAauC,SAAb,EAAwBnD,OAAxB,CAAgC,UAAUkD,KAAV,EAAiB;AAC7CpD,YAAAA,MAAM,CAAC6D,IAAP,CAAYX,WAAW,CAACC,QAAD,EAAWC,KAAX,EAAkBG,aAAa,CAACJ,QAAD,CAAb,GAA0BxD,GAA1B,GAAgC,EAAlD,CAAvB;AACH,WAFD;AAGH,SAJD,MAKK;AACDJ,UAAAA,MAAM,CAACC,IAAP,CAAY4D,KAAZ,EAAmBlD,OAAnB,CAA2B,UAAU8D,CAAV,EAAa;AACpC,gBAAIX,SAAS,CAACD,KAAK,CAACY,CAAD,CAAN,CAAb,EAAyB;AACrBhE,cAAAA,MAAM,CAAC6D,IAAP,CAAYX,WAAW,CAACC,QAAD,EAAWC,KAAK,CAACY,CAAD,CAAhB,EAAqBA,CAArB,CAAvB;AACH;AACJ,WAJD;AAKH;AACJ,OAbD,MAcK;AACD,cAAMC,GAAG,GAAG,EAAZ;;AACA,YAAIH,KAAK,CAACC,OAAN,CAAcX,KAAd,CAAJ,EAA0B;AACtBA,UAAAA,KAAK,CAACtC,MAAN,CAAauC,SAAb,EAAwBnD,OAAxB,CAAgC,UAAUkD,KAAV,EAAiB;AAC7Ca,YAAAA,GAAG,CAACJ,IAAJ,CAASX,WAAW,CAACC,QAAD,EAAWC,KAAX,CAApB;AACH,WAFD;AAGH,SAJD,MAKK;AACD7D,UAAAA,MAAM,CAACC,IAAP,CAAY4D,KAAZ,EAAmBlD,OAAnB,CAA2B,UAAU8D,CAAV,EAAa;AACpC,gBAAIX,SAAS,CAACD,KAAK,CAACY,CAAD,CAAN,CAAb,EAAyB;AACrBC,cAAAA,GAAG,CAACJ,IAAJ,CAAShB,gBAAgB,CAACmB,CAAD,CAAzB;AACAC,cAAAA,GAAG,CAACJ,IAAJ,CAASX,WAAW,CAACC,QAAD,EAAWC,KAAK,CAACY,CAAD,CAAL,CAAShB,QAAT,EAAX,CAApB;AACH;AACJ,WALD;AAMH;;AACD,YAAIO,aAAa,CAACJ,QAAD,CAAjB,EAA6B;AACzBnD,UAAAA,MAAM,CAAC6D,IAAP,CAAYhB,gBAAgB,CAAClD,GAAD,CAAhB,GAAwB,GAAxB,GAA8BsE,GAAG,CAACrC,IAAJ,CAAS,GAAT,CAA1C;AACH,SAFD,MAGK,IAAIqC,GAAG,CAACpD,MAAJ,KAAe,CAAnB,EAAsB;AACvBb,UAAAA,MAAM,CAAC6D,IAAP,CAAYI,GAAG,CAACrC,IAAJ,CAAS,GAAT,CAAZ;AACH;AACJ;AACJ;AACJ,GAhDD,MAiDK;AACD,QAAIuB,QAAQ,KAAK,GAAjB,EAAsB;AAClB,UAAIE,SAAS,CAACD,KAAD,CAAb,EAAsB;AAClBpD,QAAAA,MAAM,CAAC6D,IAAP,CAAYhB,gBAAgB,CAAClD,GAAD,CAA5B;AACH;AACJ,KAJD,MAKK,IAAIyD,KAAK,KAAK,EAAV,KAAiBD,QAAQ,KAAK,GAAb,IAAoBA,QAAQ,KAAK,GAAlD,CAAJ,EAA4D;AAC7DnD,MAAAA,MAAM,CAAC6D,IAAP,CAAYhB,gBAAgB,CAAClD,GAAD,CAAhB,GAAwB,GAApC;AACH,KAFI,MAGA,IAAIyD,KAAK,KAAK,EAAd,EAAkB;AACnBpD,MAAAA,MAAM,CAAC6D,IAAP,CAAY,EAAZ;AACH;AACJ;;AACD,SAAO7D,MAAP;AACH;;AACD,AAAO,SAASkE,QAAT,CAAkBC,QAAlB,EAA4B;AAC/B,SAAO;AACHC,IAAAA,MAAM,EAAEA,MAAM,CAACC,IAAP,CAAY,IAAZ,EAAkBF,QAAlB;AADL,GAAP;AAGH;;AACD,SAASC,MAAT,CAAgBD,QAAhB,EAA0BV,OAA1B,EAAmC;AAC/B,MAAIa,SAAS,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,EAAgB,GAAhB,EAAqB,GAArB,EAA0B,GAA1B,EAA+B,GAA/B,CAAhB;AACA,SAAOH,QAAQ,CAAChD,OAAT,CAAiB,4BAAjB,EAA+C,UAAUoD,CAAV,EAAaC,UAAb,EAAyBC,OAAzB,EAAkC;AACpF,QAAID,UAAJ,EAAgB;AACZ,UAAIrB,QAAQ,GAAG,EAAf;AACA,YAAMuB,MAAM,GAAG,EAAf;;AACA,UAAIJ,SAAS,CAACK,OAAV,CAAkBH,UAAU,CAACI,MAAX,CAAkB,CAAlB,CAAlB,MAA4C,CAAC,CAAjD,EAAoD;AAChDzB,QAAAA,QAAQ,GAAGqB,UAAU,CAACI,MAAX,CAAkB,CAAlB,CAAX;AACAJ,QAAAA,UAAU,GAAGA,UAAU,CAACK,MAAX,CAAkB,CAAlB,CAAb;AACH;;AACDL,MAAAA,UAAU,CAAChE,KAAX,CAAiB,IAAjB,EAAuBN,OAAvB,CAA+B,UAAU4E,QAAV,EAAoB;AAC/C,YAAIb,GAAG,GAAG,4BAA4Bc,IAA5B,CAAiCD,QAAjC,CAAV;AACAJ,QAAAA,MAAM,CAACb,IAAP,CAAYL,SAAS,CAACC,OAAD,EAAUN,QAAV,EAAoBc,GAAG,CAAC,CAAD,CAAvB,EAA4BA,GAAG,CAAC,CAAD,CAAH,IAAUA,GAAG,CAAC,CAAD,CAAzC,CAArB;AACH,OAHD;;AAIA,UAAId,QAAQ,IAAIA,QAAQ,KAAK,GAA7B,EAAkC;AAC9B,YAAI7B,SAAS,GAAG,GAAhB;;AACA,YAAI6B,QAAQ,KAAK,GAAjB,EAAsB;AAClB7B,UAAAA,SAAS,GAAG,GAAZ;AACH,SAFD,MAGK,IAAI6B,QAAQ,KAAK,GAAjB,EAAsB;AACvB7B,UAAAA,SAAS,GAAG6B,QAAZ;AACH;;AACD,eAAO,CAACuB,MAAM,CAAC7D,MAAP,KAAkB,CAAlB,GAAsBsC,QAAtB,GAAiC,EAAlC,IAAwCuB,MAAM,CAAC9C,IAAP,CAAYN,SAAZ,CAA/C;AACH,OATD,MAUK;AACD,eAAOoD,MAAM,CAAC9C,IAAP,CAAY,GAAZ,CAAP;AACH;AACJ,KAxBD,MAyBK;AACD,aAAOa,cAAc,CAACgC,OAAD,CAArB;AACH;AACJ,GA7BM,CAAP;AA8BH;;AC/JM,SAASO,KAAT,CAAejF,OAAf,EAAwB;AAC3B;AACA,MAAIO,MAAM,GAAGP,OAAO,CAACO,MAAR,CAAe2C,WAAf,EAAb,CAF2B;;AAI3B,MAAI1C,GAAG,GAAG,CAACR,OAAO,CAACQ,GAAR,IAAe,GAAhB,EAAqBY,OAArB,CAA6B,cAA7B,EAA6C,OAA7C,CAAV;AACA,MAAIV,OAAO,GAAGlB,MAAM,CAACU,MAAP,CAAc,EAAd,EAAkBF,OAAO,CAACU,OAA1B,CAAd;AACA,MAAIwE,IAAJ;AACA,MAAI5D,UAAU,GAAGgB,IAAI,CAACtC,OAAD,EAAU,CAC3B,QAD2B,EAE3B,SAF2B,EAG3B,KAH2B,EAI3B,SAJ2B,EAK3B,SAL2B,EAM3B,WAN2B,CAAV,CAArB,CAP2B;;AAgB3B,QAAMmF,gBAAgB,GAAGlD,uBAAuB,CAACzB,GAAD,CAAhD;AACAA,EAAAA,GAAG,GAAG2D,QAAQ,CAAC3D,GAAD,CAAR,CAAc6D,MAAd,CAAqB/C,UAArB,CAAN;;AACA,MAAI,CAAC,QAAQE,IAAR,CAAahB,GAAb,CAAL,EAAwB;AACpBA,IAAAA,GAAG,GAAGR,OAAO,CAACoF,OAAR,GAAkB5E,GAAxB;AACH;;AACD,QAAM6E,iBAAiB,GAAG7F,MAAM,CAACC,IAAP,CAAYO,OAAZ,EACrBe,MADqB,CACbyB,MAAD,IAAY2C,gBAAgB,CAAClE,QAAjB,CAA0BuB,MAA1B,CADE,EAErBtB,MAFqB,CAEd,SAFc,CAA1B;AAGA,QAAMoE,mBAAmB,GAAGhD,IAAI,CAAChB,UAAD,EAAa+D,iBAAb,CAAhC;AACA,QAAME,eAAe,GAAG,6BAA6B/D,IAA7B,CAAkCd,OAAO,CAAC8E,MAA1C,CAAxB;;AACA,MAAI,CAACD,eAAL,EAAsB;AAClB,QAAIvF,OAAO,CAACY,SAAR,CAAkB6E,MAAtB,EAA8B;AAC1B;AACA/E,MAAAA,OAAO,CAAC8E,MAAR,GAAiB9E,OAAO,CAAC8E,MAAR,CACZ/E,KADY,CACN,GADM,EAEZU,GAFY,CAEPH,OAAD,IAAaA,OAAO,CAACI,OAAR,CAAgB,kDAAhB,EAAqE,uBAAsBpB,OAAO,CAACY,SAAR,CAAkB6E,MAAO,EAApH,CAFL,EAGZ5D,IAHY,CAGP,GAHO,CAAjB;AAIH;;AACD,QAAI7B,OAAO,CAACY,SAAR,CAAkBC,QAAlB,CAA2BC,MAA/B,EAAuC;AACnC,YAAM4E,wBAAwB,GAAGhF,OAAO,CAAC8E,MAAR,CAAerD,KAAf,CAAqB,qBAArB,KAA+C,EAAhF;AACAzB,MAAAA,OAAO,CAAC8E,MAAR,GAAiBE,wBAAwB,CACpCxE,MADY,CACLlB,OAAO,CAACY,SAAR,CAAkBC,QADb,EAEZM,GAFY,CAEPH,OAAD,IAAa;AAClB,cAAMyE,MAAM,GAAGzF,OAAO,CAACY,SAAR,CAAkB6E,MAAlB,GACR,IAAGzF,OAAO,CAACY,SAAR,CAAkB6E,MAAO,EADpB,GAET,OAFN;AAGA,eAAQ,0BAAyBzE,OAAQ,WAAUyE,MAAO,EAA1D;AACH,OAPgB,EAQZ5D,IARY,CAQP,GARO,CAAjB;AASH;AACJ,GA9C0B;AAgD3B;;;AACA,MAAI,CAAC,KAAD,EAAQ,MAAR,EAAgBZ,QAAhB,CAAyBV,MAAzB,CAAJ,EAAsC;AAClCC,IAAAA,GAAG,GAAGa,kBAAkB,CAACb,GAAD,EAAM8E,mBAAN,CAAxB;AACH,GAFD,MAGK;AACD,QAAI,UAAUA,mBAAd,EAAmC;AAC/BJ,MAAAA,IAAI,GAAGI,mBAAmB,CAACK,IAA3B;AACH,KAFD,MAGK;AACD,UAAInG,MAAM,CAACC,IAAP,CAAY6F,mBAAZ,EAAiCxE,MAArC,EAA6C;AACzCoE,QAAAA,IAAI,GAAGI,mBAAP;AACH,OAFD,MAGK;AACD5E,QAAAA,OAAO,CAAC,gBAAD,CAAP,GAA4B,CAA5B;AACH;AACJ;AACJ,GAhE0B;;;AAkE3B,MAAI,CAACA,OAAO,CAAC,cAAD,CAAR,IAA4B,OAAOwE,IAAP,KAAgB,WAAhD,EAA6D;AACzDxE,IAAAA,OAAO,CAAC,cAAD,CAAP,GAA0B,iCAA1B;AACH,GApE0B;AAsE3B;;;AACA,MAAI,CAAC,OAAD,EAAU,KAAV,EAAiBO,QAAjB,CAA0BV,MAA1B,KAAqC,OAAO2E,IAAP,KAAgB,WAAzD,EAAsE;AAClEA,IAAAA,IAAI,GAAG,EAAP;AACH,GAzE0B;;;AA2E3B,SAAO1F,MAAM,CAACU,MAAP,CAAc;AAAEK,IAAAA,MAAF;AAAUC,IAAAA,GAAV;AAAeE,IAAAA;AAAf,GAAd,EAAwC,OAAOwE,IAAP,KAAgB,WAAhB,GAA8B;AAAEA,IAAAA;AAAF,GAA9B,GAAyC,IAAjF,EAAuFlF,OAAO,CAAC4F,OAAR,GAAkB;AAAEA,IAAAA,OAAO,EAAE5F,OAAO,CAAC4F;AAAnB,GAAlB,GAAiD,IAAxI,CAAP;AACH;;AC9EM,SAASC,oBAAT,CAA8B9F,QAA9B,EAAwCO,KAAxC,EAA+CN,OAA/C,EAAwD;AAC3D,SAAOiF,KAAK,CAAC5E,KAAK,CAACN,QAAD,EAAWO,KAAX,EAAkBN,OAAlB,CAAN,CAAZ;AACH;;ACDM,SAAS8F,YAAT,CAAsBC,WAAtB,EAAmCC,WAAnC,EAAgD;AACnD,QAAMC,QAAQ,GAAG5F,KAAK,CAAC0F,WAAD,EAAcC,WAAd,CAAtB;AACA,QAAME,QAAQ,GAAGL,oBAAoB,CAACvB,IAArB,CAA0B,IAA1B,EAAgC2B,QAAhC,CAAjB;AACA,SAAOzG,MAAM,CAACU,MAAP,CAAcgG,QAAd,EAAwB;AAC3BD,IAAAA,QAD2B;AAE3BlG,IAAAA,QAAQ,EAAE+F,YAAY,CAACxB,IAAb,CAAkB,IAAlB,EAAwB2B,QAAxB,CAFiB;AAG3B5F,IAAAA,KAAK,EAAEA,KAAK,CAACiE,IAAN,CAAW,IAAX,EAAiB2B,QAAjB,CAHoB;AAI3BhB,IAAAA;AAJ2B,GAAxB,CAAP;AAMH;;ACZM,MAAMkB,OAAO,GAAG,mBAAhB;;ACEP,MAAMC,SAAS,GAAI,uBAAsBD,OAAQ,IAAGE,+BAAY,EAAG,EAAnE;AAEA;;AACA,AAAO,MAAMJ,QAAQ,GAAG;AACpB1F,EAAAA,MAAM,EAAE,KADY;AAEpB6E,EAAAA,OAAO,EAAE,wBAFW;AAGpB1E,EAAAA,OAAO,EAAE;AACL8E,IAAAA,MAAM,EAAE,gCADH;AAEL,kBAAcY;AAFT,GAHW;AAOpBxF,EAAAA,SAAS,EAAE;AACP6E,IAAAA,MAAM,EAAE,EADD;AAEP5E,IAAAA,QAAQ,EAAE;AAFH;AAPS,CAAjB;;MCHMqF,QAAQ,GAAGJ,YAAY,CAAC,IAAD,EAAOG,QAAP,CAA7B;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/endpoint/dist-src/defaults.js b/node_modules/@octokit/endpoint/dist-src/defaults.js deleted file mode 100644 index 456e586ad1..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/defaults.js +++ /dev/null @@ -1,17 +0,0 @@ -import { getUserAgent } from "universal-user-agent"; -import { VERSION } from "./version"; -const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; -// DEFAULTS has all properties set that EndpointOptions has, except url. -// So we use RequestParameters and add method as additional required property. -export const DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent, - }, - mediaType: { - format: "", - previews: [], - }, -}; diff --git a/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js b/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js deleted file mode 100644 index 5763758faa..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js +++ /dev/null @@ -1,5 +0,0 @@ -import { merge } from "./merge"; -import { parse } from "./parse"; -export function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} diff --git a/node_modules/@octokit/endpoint/dist-src/index.js b/node_modules/@octokit/endpoint/dist-src/index.js deleted file mode 100644 index 599917f98f..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { withDefaults } from "./with-defaults"; -import { DEFAULTS } from "./defaults"; -export const endpoint = withDefaults(null, DEFAULTS); diff --git a/node_modules/@octokit/endpoint/dist-src/merge.js b/node_modules/@octokit/endpoint/dist-src/merge.js deleted file mode 100644 index d79ae65b65..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/merge.js +++ /dev/null @@ -1,22 +0,0 @@ -import { lowercaseKeys } from "./util/lowercase-keys"; -import { mergeDeep } from "./util/merge-deep"; -export function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { method, url } : { url: method }, options); - } - else { - options = Object.assign({}, route); - } - // lowercase header names before merging with defaults to avoid duplicates - options.headers = lowercaseKeys(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); - // mediaType.previews arrays are merged, instead of overwritten - if (defaults && defaults.mediaType.previews.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews - .filter((preview) => !mergedOptions.mediaType.previews.includes(preview)) - .concat(mergedOptions.mediaType.previews); - } - mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, "")); - return mergedOptions; -} diff --git a/node_modules/@octokit/endpoint/dist-src/parse.js b/node_modules/@octokit/endpoint/dist-src/parse.js deleted file mode 100644 index 91197c8372..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/parse.js +++ /dev/null @@ -1,81 +0,0 @@ -import { addQueryParameters } from "./util/add-query-parameters"; -import { extractUrlVariableNames } from "./util/extract-url-variable-names"; -import { omit } from "./util/omit"; -import { parseUrl } from "./util/url-template"; -export function parse(options) { - // https://fetch.spec.whatwg.org/#methods - let method = options.method.toUpperCase(); - // replace :varname with {varname} to make it RFC 6570 compatible - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}"); - let headers = Object.assign({}, options.headers); - let body; - let parameters = omit(options, [ - "method", - "baseUrl", - "url", - "headers", - "request", - "mediaType", - ]); - // extract variable names from URL to calculate remaining variables later - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - const omittedParameters = Object.keys(options) - .filter((option) => urlVariableNames.includes(option)) - .concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequset = /application\/octet-stream/i.test(headers.accept); - if (!isBinaryRequset) { - if (options.mediaType.format) { - // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw - headers.accept = headers.accept - .split(/,/) - .map((preview) => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)) - .join(","); - } - if (options.mediaType.previews.length) { - const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; - headers.accept = previewsFromAcceptHeader - .concat(options.mediaType.previews) - .map((preview) => { - const format = options.mediaType.format - ? `.${options.mediaType.format}` - : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }) - .join(","); - } - } - // for GET/HEAD requests, set URL query parameters from remaining parameters - // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } - else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } - else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } - else { - headers["content-length"] = 0; - } - } - } - // default content-type for JSON if body is set - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } - // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. - // fetch does not allow to set `content-length` header, but we can set body to an empty string - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } - // Only return body/request keys if present - return Object.assign({ method, url, headers }, typeof body !== "undefined" ? { body } : null, options.request ? { request: options.request } : null); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js b/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js deleted file mode 100644 index d26be314c0..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js +++ /dev/null @@ -1,17 +0,0 @@ -export function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); - if (names.length === 0) { - return url; - } - return (url + - separator + - names - .map((name) => { - if (name === "q") { - return ("q=" + parameters.q.split("+").map(encodeURIComponent).join("+")); - } - return `${name}=${encodeURIComponent(parameters[name])}`; - }) - .join("&")); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js b/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js deleted file mode 100644 index 3e75db2835..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js +++ /dev/null @@ -1,11 +0,0 @@ -const urlVariableRegex = /\{[^}]+\}/g; -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); -} -export function extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); - if (!matches) { - return []; - } - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js b/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js deleted file mode 100644 index 0780642558..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js +++ /dev/null @@ -1,9 +0,0 @@ -export function lowercaseKeys(object) { - if (!object) { - return {}; - } - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js b/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js deleted file mode 100644 index eca9a72b6a..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js +++ /dev/null @@ -1,16 +0,0 @@ -import isPlainObject from "is-plain-object"; -export function mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach((key) => { - if (isPlainObject(options[key])) { - if (!(key in defaults)) - Object.assign(result, { [key]: options[key] }); - else - result[key] = mergeDeep(defaults[key], options[key]); - } - else { - Object.assign(result, { [key]: options[key] }); - } - }); - return result; -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/omit.js b/node_modules/@octokit/endpoint/dist-src/util/omit.js deleted file mode 100644 index 62450310d2..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/util/omit.js +++ /dev/null @@ -1,8 +0,0 @@ -export function omit(object, keysToOmit) { - return Object.keys(object) - .filter((option) => !keysToOmit.includes(option)) - .reduce((obj, key) => { - obj[key] = object[key]; - return obj; - }, {}); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/url-template.js b/node_modules/@octokit/endpoint/dist-src/util/url-template.js deleted file mode 100644 index 439b3feecf..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/util/url-template.js +++ /dev/null @@ -1,164 +0,0 @@ -// Based on https://github.com/bramstein/url-template, licensed under BSD -// TODO: create separate package. -// -// Copyright (c) 2012-2014, Bram Stein -// All rights reserved. -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright -// notice, this list of conditions and the following disclaimer in the -// documentation and/or other materials provided with the distribution. -// 3. The name of the author may not be used to endorse or promote products -// derived from this software without specific prior written permission. -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -/* istanbul ignore file */ -function encodeReserved(str) { - return str - .split(/(%[0-9A-Fa-f]{2})/g) - .map(function (part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - return part; - }) - .join(""); -} -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} -function encodeValue(operator, value, key) { - value = - operator === "+" || operator === "#" - ? encodeReserved(value) - : encodeUnreserved(value); - if (key) { - return encodeUnreserved(key) + "=" + value; - } - else { - return value; - } -} -function isDefined(value) { - return value !== undefined && value !== null; -} -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} -function getValues(context, operator, key, modifier) { - var value = context[key], result = []; - if (isDefined(value) && value !== "") { - if (typeof value === "string" || - typeof value === "number" || - typeof value === "boolean") { - value = value.toString(); - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - } - else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - }); - } - else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } - else { - const tmp = []; - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - tmp.push(encodeValue(operator, value)); - }); - } - else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } - else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } - else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } - else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } - else if (value === "") { - result.push(""); - } - } - return result; -} -export function parseUrl(template) { - return { - expand: expand.bind(null, template), - }; -} -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - expression.split(/,/g).forEach(function (variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - if (operator && operator !== "+") { - var separator = ","; - if (operator === "?") { - separator = "&"; - } - else if (operator !== "#") { - separator = operator; - } - return (values.length !== 0 ? operator : "") + values.join(separator); - } - else { - return values.join(","); - } - } - else { - return encodeReserved(literal); - } - }); -} diff --git a/node_modules/@octokit/endpoint/dist-src/version.js b/node_modules/@octokit/endpoint/dist-src/version.js deleted file mode 100644 index 38cea4357d..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "6.0.3"; diff --git a/node_modules/@octokit/endpoint/dist-src/with-defaults.js b/node_modules/@octokit/endpoint/dist-src/with-defaults.js deleted file mode 100644 index 81baf6cfb2..0000000000 --- a/node_modules/@octokit/endpoint/dist-src/with-defaults.js +++ /dev/null @@ -1,13 +0,0 @@ -import { endpointWithDefaults } from "./endpoint-with-defaults"; -import { merge } from "./merge"; -import { parse } from "./parse"; -export function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS = merge(oldDefaults, newDefaults); - const endpoint = endpointWithDefaults.bind(null, DEFAULTS); - return Object.assign(endpoint, { - DEFAULTS, - defaults: withDefaults.bind(null, DEFAULTS), - merge: merge.bind(null, DEFAULTS), - parse, - }); -} diff --git a/node_modules/@octokit/endpoint/dist-types/defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/defaults.d.ts deleted file mode 100644 index 30fcd20305..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/defaults.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointDefaults } from "@octokit/types"; -export declare const DEFAULTS: EndpointDefaults; diff --git a/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts deleted file mode 100644 index ff39e5e726..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EndpointOptions, RequestParameters, Route } from "@octokit/types"; -import { DEFAULTS } from "./defaults"; -export declare function endpointWithDefaults(defaults: typeof DEFAULTS, route: Route | EndpointOptions, options?: RequestParameters): import("@octokit/types").RequestOptions; diff --git a/node_modules/@octokit/endpoint/dist-types/index.d.ts b/node_modules/@octokit/endpoint/dist-types/index.d.ts deleted file mode 100644 index 1ede136671..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const endpoint: import("@octokit/types").EndpointInterface; diff --git a/node_modules/@octokit/endpoint/dist-types/merge.d.ts b/node_modules/@octokit/endpoint/dist-types/merge.d.ts deleted file mode 100644 index b75a15ec76..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/merge.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointDefaults, RequestParameters, Route } from "@octokit/types"; -export declare function merge(defaults: EndpointDefaults | null, route?: Route | RequestParameters, options?: RequestParameters): EndpointDefaults; diff --git a/node_modules/@octokit/endpoint/dist-types/parse.d.ts b/node_modules/@octokit/endpoint/dist-types/parse.d.ts deleted file mode 100644 index fbe2144062..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/parse.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointDefaults, RequestOptions } from "@octokit/types"; -export declare function parse(options: EndpointDefaults): RequestOptions; diff --git a/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts b/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts deleted file mode 100644 index 4b192ac41d..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare function addQueryParameters(url: string, parameters: { - [x: string]: string | undefined; - q?: string; -}): string; diff --git a/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts b/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts deleted file mode 100644 index 93586d4db5..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function extractUrlVariableNames(url: string): string[]; diff --git a/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts b/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts deleted file mode 100644 index 1daf307362..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare function lowercaseKeys(object?: { - [key: string]: any; -}): { - [key: string]: any; -}; diff --git a/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts b/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts deleted file mode 100644 index 914411cf92..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function mergeDeep(defaults: any, options: any): object; diff --git a/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts b/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts deleted file mode 100644 index 06927d6bdf..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare function omit(object: { - [key: string]: any; -}, keysToOmit: string[]): { - [key: string]: any; -}; diff --git a/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts b/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts deleted file mode 100644 index 5d967cab3c..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare function parseUrl(template: string): { - expand: (context: object) => string; -}; diff --git a/node_modules/@octokit/endpoint/dist-types/version.d.ts b/node_modules/@octokit/endpoint/dist-types/version.d.ts deleted file mode 100644 index af986fe4f5..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "6.0.3"; diff --git a/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts deleted file mode 100644 index 6f5afd1e0e..0000000000 --- a/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointInterface, RequestParameters, EndpointDefaults } from "@octokit/types"; -export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface; diff --git a/node_modules/@octokit/endpoint/dist-web/index.js b/node_modules/@octokit/endpoint/dist-web/index.js deleted file mode 100644 index c0c2bc035f..0000000000 --- a/node_modules/@octokit/endpoint/dist-web/index.js +++ /dev/null @@ -1,369 +0,0 @@ -import isPlainObject from 'is-plain-object'; -import { getUserAgent } from 'universal-user-agent'; - -function lowercaseKeys(object) { - if (!object) { - return {}; - } - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); -} - -function mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach((key) => { - if (isPlainObject(options[key])) { - if (!(key in defaults)) - Object.assign(result, { [key]: options[key] }); - else - result[key] = mergeDeep(defaults[key], options[key]); - } - else { - Object.assign(result, { [key]: options[key] }); - } - }); - return result; -} - -function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { method, url } : { url: method }, options); - } - else { - options = Object.assign({}, route); - } - // lowercase header names before merging with defaults to avoid duplicates - options.headers = lowercaseKeys(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); - // mediaType.previews arrays are merged, instead of overwritten - if (defaults && defaults.mediaType.previews.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews - .filter((preview) => !mergedOptions.mediaType.previews.includes(preview)) - .concat(mergedOptions.mediaType.previews); - } - mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, "")); - return mergedOptions; -} - -function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); - if (names.length === 0) { - return url; - } - return (url + - separator + - names - .map((name) => { - if (name === "q") { - return ("q=" + parameters.q.split("+").map(encodeURIComponent).join("+")); - } - return `${name}=${encodeURIComponent(parameters[name])}`; - }) - .join("&")); -} - -const urlVariableRegex = /\{[^}]+\}/g; -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); -} -function extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); - if (!matches) { - return []; - } - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); -} - -function omit(object, keysToOmit) { - return Object.keys(object) - .filter((option) => !keysToOmit.includes(option)) - .reduce((obj, key) => { - obj[key] = object[key]; - return obj; - }, {}); -} - -// Based on https://github.com/bramstein/url-template, licensed under BSD -// TODO: create separate package. -// -// Copyright (c) 2012-2014, Bram Stein -// All rights reserved. -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright -// notice, this list of conditions and the following disclaimer in the -// documentation and/or other materials provided with the distribution. -// 3. The name of the author may not be used to endorse or promote products -// derived from this software without specific prior written permission. -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -/* istanbul ignore file */ -function encodeReserved(str) { - return str - .split(/(%[0-9A-Fa-f]{2})/g) - .map(function (part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - return part; - }) - .join(""); -} -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} -function encodeValue(operator, value, key) { - value = - operator === "+" || operator === "#" - ? encodeReserved(value) - : encodeUnreserved(value); - if (key) { - return encodeUnreserved(key) + "=" + value; - } - else { - return value; - } -} -function isDefined(value) { - return value !== undefined && value !== null; -} -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} -function getValues(context, operator, key, modifier) { - var value = context[key], result = []; - if (isDefined(value) && value !== "") { - if (typeof value === "string" || - typeof value === "number" || - typeof value === "boolean") { - value = value.toString(); - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - } - else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - }); - } - else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } - else { - const tmp = []; - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - tmp.push(encodeValue(operator, value)); - }); - } - else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } - else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } - else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } - else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } - else if (value === "") { - result.push(""); - } - } - return result; -} -function parseUrl(template) { - return { - expand: expand.bind(null, template), - }; -} -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - expression.split(/,/g).forEach(function (variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - if (operator && operator !== "+") { - var separator = ","; - if (operator === "?") { - separator = "&"; - } - else if (operator !== "#") { - separator = operator; - } - return (values.length !== 0 ? operator : "") + values.join(separator); - } - else { - return values.join(","); - } - } - else { - return encodeReserved(literal); - } - }); -} - -function parse(options) { - // https://fetch.spec.whatwg.org/#methods - let method = options.method.toUpperCase(); - // replace :varname with {varname} to make it RFC 6570 compatible - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}"); - let headers = Object.assign({}, options.headers); - let body; - let parameters = omit(options, [ - "method", - "baseUrl", - "url", - "headers", - "request", - "mediaType", - ]); - // extract variable names from URL to calculate remaining variables later - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - const omittedParameters = Object.keys(options) - .filter((option) => urlVariableNames.includes(option)) - .concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequset = /application\/octet-stream/i.test(headers.accept); - if (!isBinaryRequset) { - if (options.mediaType.format) { - // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw - headers.accept = headers.accept - .split(/,/) - .map((preview) => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)) - .join(","); - } - if (options.mediaType.previews.length) { - const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; - headers.accept = previewsFromAcceptHeader - .concat(options.mediaType.previews) - .map((preview) => { - const format = options.mediaType.format - ? `.${options.mediaType.format}` - : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }) - .join(","); - } - } - // for GET/HEAD requests, set URL query parameters from remaining parameters - // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } - else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } - else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } - else { - headers["content-length"] = 0; - } - } - } - // default content-type for JSON if body is set - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } - // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. - // fetch does not allow to set `content-length` header, but we can set body to an empty string - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } - // Only return body/request keys if present - return Object.assign({ method, url, headers }, typeof body !== "undefined" ? { body } : null, options.request ? { request: options.request } : null); -} - -function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} - -function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS = merge(oldDefaults, newDefaults); - const endpoint = endpointWithDefaults.bind(null, DEFAULTS); - return Object.assign(endpoint, { - DEFAULTS, - defaults: withDefaults.bind(null, DEFAULTS), - merge: merge.bind(null, DEFAULTS), - parse, - }); -} - -const VERSION = "6.0.3"; - -const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; -// DEFAULTS has all properties set that EndpointOptions has, except url. -// So we use RequestParameters and add method as additional required property. -const DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent, - }, - mediaType: { - format: "", - previews: [], - }, -}; - -const endpoint = withDefaults(null, DEFAULTS); - -export { endpoint }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/endpoint/dist-web/index.js.map b/node_modules/@octokit/endpoint/dist-web/index.js.map deleted file mode 100644 index 42a43e6ef8..0000000000 --- a/node_modules/@octokit/endpoint/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/util/lowercase-keys.js","../dist-src/util/merge-deep.js","../dist-src/merge.js","../dist-src/util/add-query-parameters.js","../dist-src/util/extract-url-variable-names.js","../dist-src/util/omit.js","../dist-src/util/url-template.js","../dist-src/parse.js","../dist-src/endpoint-with-defaults.js","../dist-src/with-defaults.js","../dist-src/version.js","../dist-src/defaults.js","../dist-src/index.js"],"sourcesContent":["export function lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n","import isPlainObject from \"is-plain-object\";\nexport function mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach((key) => {\n if (isPlainObject(options[key])) {\n if (!(key in defaults))\n Object.assign(result, { [key]: options[key] });\n else\n result[key] = mergeDeep(defaults[key], options[key]);\n }\n else {\n Object.assign(result, { [key]: options[key] });\n }\n });\n return result;\n}\n","import { lowercaseKeys } from \"./util/lowercase-keys\";\nimport { mergeDeep } from \"./util/merge-deep\";\nexport function merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? { method, url } : { url: method }, options);\n }\n else {\n options = Object.assign({}, route);\n }\n // lowercase header names before merging with defaults to avoid duplicates\n options.headers = lowercaseKeys(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options);\n // mediaType.previews arrays are merged, instead of overwritten\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews\n .filter((preview) => !mergedOptions.mediaType.previews.includes(preview))\n .concat(mergedOptions.mediaType.previews);\n }\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n","export function addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n if (names.length === 0) {\n return url;\n }\n return (url +\n separator +\n names\n .map((name) => {\n if (name === \"q\") {\n return (\"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\"));\n }\n return `${name}=${encodeURIComponent(parameters[name])}`;\n })\n .join(\"&\"));\n}\n","const urlVariableRegex = /\\{[^}]+\\}/g;\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\nexport function extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n if (!matches) {\n return [];\n }\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n","export function omit(object, keysToOmit) {\n return Object.keys(object)\n .filter((option) => !keysToOmit.includes(option))\n .reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n","// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n return part;\n })\n .join(\"\");\n}\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\nfunction encodeValue(operator, value, key) {\n value =\n operator === \"+\" || operator === \"#\"\n ? encodeReserved(value)\n : encodeUnreserved(value);\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n }\n else {\n return value;\n }\n}\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\nfunction getValues(context, operator, key, modifier) {\n var value = context[key], result = [];\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" ||\n typeof value === \"number\" ||\n typeof value === \"boolean\") {\n value = value.toString();\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n }\n else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n }\n else {\n const tmp = [];\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n }\n else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n }\n else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n }\n else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n }\n else if (value === \"\") {\n result.push(\"\");\n }\n }\n return result;\n}\nexport function parseUrl(template) {\n return {\n expand: expand.bind(null, template),\n };\n}\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n if (operator && operator !== \"+\") {\n var separator = \",\";\n if (operator === \"?\") {\n separator = \"&\";\n }\n else if (operator !== \"#\") {\n separator = operator;\n }\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n }\n else {\n return values.join(\",\");\n }\n }\n else {\n return encodeReserved(literal);\n }\n });\n}\n","import { addQueryParameters } from \"./util/add-query-parameters\";\nimport { extractUrlVariableNames } from \"./util/extract-url-variable-names\";\nimport { omit } from \"./util/omit\";\nimport { parseUrl } from \"./util/url-template\";\nexport function parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase();\n // replace :varname with {varname} to make it RFC 6570 compatible\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{+$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"mediaType\",\n ]);\n // extract variable names from URL to calculate remaining variables later\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n const omittedParameters = Object.keys(options)\n .filter((option) => urlVariableNames.includes(option))\n .concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequset = /application\\/octet-stream/i.test(headers.accept);\n if (!isBinaryRequset) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept\n .split(/,/)\n .map((preview) => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`))\n .join(\",\");\n }\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader\n .concat(options.mediaType.previews)\n .map((preview) => {\n const format = options.mediaType.format\n ? `.${options.mediaType.format}`\n : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n })\n .join(\",\");\n }\n }\n // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n }\n else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n }\n else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n }\n else {\n headers[\"content-length\"] = 0;\n }\n }\n }\n // default content-type for JSON if body is set\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n }\n // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n }\n // Only return body/request keys if present\n return Object.assign({ method, url, headers }, typeof body !== \"undefined\" ? { body } : null, options.request ? { request: options.request } : null);\n}\n","import { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n","import { endpointWithDefaults } from \"./endpoint-with-defaults\";\nimport { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse,\n });\n}\n","export const VERSION = \"6.0.3\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nconst userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;\n// DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\nexport const DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent,\n },\n mediaType: {\n format: \"\",\n previews: [],\n },\n};\n","import { withDefaults } from \"./with-defaults\";\nimport { DEFAULTS } from \"./defaults\";\nexport const endpoint = withDefaults(null, DEFAULTS);\n"],"names":[],"mappings":";;;AAAO,SAAS,aAAa,CAAC,MAAM,EAAE;AACtC,IAAI,IAAI,CAAC,MAAM,EAAE;AACjB,QAAQ,OAAO,EAAE,CAAC;AAClB,KAAK;AACL,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK;AACvD,QAAQ,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAChD,QAAQ,OAAO,MAAM,CAAC;AACtB,KAAK,EAAE,EAAE,CAAC,CAAC;AACX;;ACPO,SAAS,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE;AAC7C,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;AAC/C,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK;AAC1C,QAAQ,IAAI,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE;AACzC,YAAY,IAAI,EAAE,GAAG,IAAI,QAAQ,CAAC;AAClC,gBAAgB,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC/D;AACA,gBAAgB,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;AACrE,SAAS;AACT,aAAa;AACb,YAAY,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC3D,SAAS;AACT,KAAK,CAAC,CAAC;AACP,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;;ACbM,SAAS,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;AAChD,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACnC,QAAQ,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAC7C,QAAQ,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;AAClF,KAAK;AACL,SAAS;AACT,QAAQ,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;AAC3C,KAAK;AACL;AACA,IAAI,OAAO,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AACrD,IAAI,MAAM,aAAa,GAAG,SAAS,CAAC,QAAQ,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;AAC7D;AACA,IAAI,IAAI,QAAQ,IAAI,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE;AACxD,QAAQ,aAAa,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC,SAAS,CAAC,QAAQ;AACtE,aAAa,MAAM,CAAC,CAAC,OAAO,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACrF,aAAa,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AACtD,KAAK;AACL,IAAI,aAAa,CAAC,SAAS,CAAC,QAAQ,GAAG,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,CAAC;AAC1H,IAAI,OAAO,aAAa,CAAC;AACzB,CAAC;;ACrBM,SAAS,kBAAkB,CAAC,GAAG,EAAE,UAAU,EAAE;AACpD,IAAI,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC;AACjD,IAAI,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAC1C,IAAI,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;AAC5B,QAAQ,OAAO,GAAG,CAAC;AACnB,KAAK;AACL,IAAI,QAAQ,GAAG;AACf,QAAQ,SAAS;AACjB,QAAQ,KAAK;AACb,aAAa,GAAG,CAAC,CAAC,IAAI,KAAK;AAC3B,YAAY,IAAI,IAAI,KAAK,GAAG,EAAE;AAC9B,gBAAgB,QAAQ,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;AAC1F,aAAa;AACb,YAAY,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACrE,SAAS,CAAC;AACV,aAAa,IAAI,CAAC,GAAG,CAAC,EAAE;AACxB,CAAC;;AChBD,MAAM,gBAAgB,GAAG,YAAY,CAAC;AACtC,SAAS,cAAc,CAAC,YAAY,EAAE;AACtC,IAAI,OAAO,YAAY,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAC7D,CAAC;AACD,AAAO,SAAS,uBAAuB,CAAC,GAAG,EAAE;AAC7C,IAAI,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAChD,IAAI,IAAI,CAAC,OAAO,EAAE;AAClB,QAAQ,OAAO,EAAE,CAAC;AAClB,KAAK;AACL,IAAI,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACzE,CAAC;;ACVM,SAAS,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE;AACzC,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;AAC9B,SAAS,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AACzD,SAAS,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK;AAC9B,QAAQ,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAC/B,QAAQ,OAAO,GAAG,CAAC;AACnB,KAAK,EAAE,EAAE,CAAC,CAAC;AACX,CAAC;;ACPD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,cAAc,CAAC,GAAG,EAAE;AAC7B,IAAI,OAAO,GAAG;AACd,SAAS,KAAK,CAAC,oBAAoB,CAAC;AACpC,SAAS,GAAG,CAAC,UAAU,IAAI,EAAE;AAC7B,QAAQ,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;AACxC,YAAY,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAC7E,SAAS;AACT,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK,CAAC;AACN,SAAS,IAAI,CAAC,EAAE,CAAC,CAAC;AAClB,CAAC;AACD,SAAS,gBAAgB,CAAC,GAAG,EAAE;AAC/B,IAAI,OAAO,kBAAkB,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC,EAAE;AACpE,QAAQ,OAAO,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;AAChE,KAAK,CAAC,CAAC;AACP,CAAC;AACD,SAAS,WAAW,CAAC,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE;AAC3C,IAAI,KAAK;AACT,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ,KAAK,GAAG;AAC5C,cAAc,cAAc,CAAC,KAAK,CAAC;AACnC,cAAc,gBAAgB,CAAC,KAAK,CAAC,CAAC;AACtC,IAAI,IAAI,GAAG,EAAE;AACb,QAAQ,OAAO,gBAAgB,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC;AACnD,KAAK;AACL,SAAS;AACT,QAAQ,OAAO,KAAK,CAAC;AACrB,KAAK;AACL,CAAC;AACD,SAAS,SAAS,CAAC,KAAK,EAAE;AAC1B,IAAI,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,CAAC;AACjD,CAAC;AACD,SAAS,aAAa,CAAC,QAAQ,EAAE;AACjC,IAAI,OAAO,QAAQ,KAAK,GAAG,IAAI,QAAQ,KAAK,GAAG,IAAI,QAAQ,KAAK,GAAG,CAAC;AACpE,CAAC;AACD,SAAS,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE;AACrD,IAAI,IAAI,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,EAAE,CAAC;AAC1C,IAAI,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,EAAE,EAAE;AAC1C,QAAQ,IAAI,OAAO,KAAK,KAAK,QAAQ;AACrC,YAAY,OAAO,KAAK,KAAK,QAAQ;AACrC,YAAY,OAAO,KAAK,KAAK,SAAS,EAAE;AACxC,YAAY,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;AACrC,YAAY,IAAI,QAAQ,IAAI,QAAQ,KAAK,GAAG,EAAE;AAC9C,gBAAgB,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AACnE,aAAa;AACb,YAAY,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;AAC1F,SAAS;AACT,aAAa;AACb,YAAY,IAAI,QAAQ,KAAK,GAAG,EAAE;AAClC,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAC1C,oBAAoB,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,UAAU,KAAK,EAAE;AACrE,wBAAwB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;AACtG,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,qBAAqB;AACrB,oBAAoB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;AAC5D,wBAAwB,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;AACjD,4BAA4B,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC5E,yBAAyB;AACzB,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,aAAa;AACb,iBAAiB;AACjB,gBAAgB,MAAM,GAAG,GAAG,EAAE,CAAC;AAC/B,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAC1C,oBAAoB,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,UAAU,KAAK,EAAE;AACrE,wBAAwB,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AAC/D,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,qBAAqB;AACrB,oBAAoB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;AAC5D,wBAAwB,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;AACjD,4BAA4B,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1D,4BAA4B,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AACjF,yBAAyB;AACzB,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,gBAAgB,IAAI,aAAa,CAAC,QAAQ,CAAC,EAAE;AAC7C,oBAAoB,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC7E,iBAAiB;AACjB,qBAAqB,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;AAC3C,oBAAoB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/C,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,KAAK;AACL,SAAS;AACT,QAAQ,IAAI,QAAQ,KAAK,GAAG,EAAE;AAC9B,YAAY,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE;AAClC,gBAAgB,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;AACnD,aAAa;AACb,SAAS;AACT,aAAa,IAAI,KAAK,KAAK,EAAE,KAAK,QAAQ,KAAK,GAAG,IAAI,QAAQ,KAAK,GAAG,CAAC,EAAE;AACzE,YAAY,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC;AACrD,SAAS;AACT,aAAa,IAAI,KAAK,KAAK,EAAE,EAAE;AAC/B,YAAY,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5B,SAAS;AACT,KAAK;AACL,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;AACD,AAAO,SAAS,QAAQ,CAAC,QAAQ,EAAE;AACnC,IAAI,OAAO;AACX,QAAQ,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AAC3C,KAAK,CAAC;AACN,CAAC;AACD,SAAS,MAAM,CAAC,QAAQ,EAAE,OAAO,EAAE;AACnC,IAAI,IAAI,SAAS,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AACxD,IAAI,OAAO,QAAQ,CAAC,OAAO,CAAC,4BAA4B,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE;AAC5F,QAAQ,IAAI,UAAU,EAAE;AACxB,YAAY,IAAI,QAAQ,GAAG,EAAE,CAAC;AAC9B,YAAY,MAAM,MAAM,GAAG,EAAE,CAAC;AAC9B,YAAY,IAAI,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE;AAChE,gBAAgB,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAChD,gBAAgB,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAClD,aAAa;AACb,YAAY,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,QAAQ,EAAE;AAC/D,gBAAgB,IAAI,GAAG,GAAG,2BAA2B,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACrE,gBAAgB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACpF,aAAa,CAAC,CAAC;AACf,YAAY,IAAI,QAAQ,IAAI,QAAQ,KAAK,GAAG,EAAE;AAC9C,gBAAgB,IAAI,SAAS,GAAG,GAAG,CAAC;AACpC,gBAAgB,IAAI,QAAQ,KAAK,GAAG,EAAE;AACtC,oBAAoB,SAAS,GAAG,GAAG,CAAC;AACpC,iBAAiB;AACjB,qBAAqB,IAAI,QAAQ,KAAK,GAAG,EAAE;AAC3C,oBAAoB,SAAS,GAAG,QAAQ,CAAC;AACzC,iBAAiB;AACjB,gBAAgB,OAAO,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,GAAG,QAAQ,GAAG,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACtF,aAAa;AACb,iBAAiB;AACjB,gBAAgB,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACxC,aAAa;AACb,SAAS;AACT,aAAa;AACb,YAAY,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC;AAC3C,SAAS;AACT,KAAK,CAAC,CAAC;AACP,CAAC;;AC/JM,SAAS,KAAK,CAAC,OAAO,EAAE;AAC/B;AACA,IAAI,IAAI,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;AAC9C;AACA,IAAI,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,IAAI,GAAG,EAAE,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;AACpE,IAAI,IAAI,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AACrD,IAAI,IAAI,IAAI,CAAC;AACb,IAAI,IAAI,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE;AACnC,QAAQ,QAAQ;AAChB,QAAQ,SAAS;AACjB,QAAQ,KAAK;AACb,QAAQ,SAAS;AACjB,QAAQ,SAAS;AACjB,QAAQ,WAAW;AACnB,KAAK,CAAC,CAAC;AACP;AACA,IAAI,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,GAAG,CAAC,CAAC;AAC1D,IAAI,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAC3C,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;AAC5B,QAAQ,GAAG,GAAG,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;AACpC,KAAK;AACL,IAAI,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;AAClD,SAAS,MAAM,CAAC,CAAC,MAAM,KAAK,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC9D,SAAS,MAAM,CAAC,SAAS,CAAC,CAAC;AAC3B,IAAI,MAAM,mBAAmB,GAAG,IAAI,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC;AACpE,IAAI,MAAM,eAAe,GAAG,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAC9E,IAAI,IAAI,CAAC,eAAe,EAAE;AAC1B,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE;AACtC;AACA,YAAY,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM;AAC3C,iBAAiB,KAAK,CAAC,GAAG,CAAC;AAC3B,iBAAiB,GAAG,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,kDAAkD,EAAE,CAAC,oBAAoB,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACzJ,iBAAiB,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,SAAS;AACT,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE;AAC/C,YAAY,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC;AAC/F,YAAY,OAAO,CAAC,MAAM,GAAG,wBAAwB;AACrD,iBAAiB,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC;AACnD,iBAAiB,GAAG,CAAC,CAAC,OAAO,KAAK;AAClC,gBAAgB,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM;AACvD,sBAAsB,CAAC,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;AACpD,sBAAsB,OAAO,CAAC;AAC9B,gBAAgB,OAAO,CAAC,uBAAuB,EAAE,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;AAC5E,aAAa,CAAC;AACd,iBAAiB,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,SAAS;AACT,KAAK;AACL;AACA;AACA,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;AAC1C,QAAQ,GAAG,GAAG,kBAAkB,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC;AAC3D,KAAK;AACL,SAAS;AACT,QAAQ,IAAI,MAAM,IAAI,mBAAmB,EAAE;AAC3C,YAAY,IAAI,GAAG,mBAAmB,CAAC,IAAI,CAAC;AAC5C,SAAS;AACT,aAAa;AACb,YAAY,IAAI,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,MAAM,EAAE;AACzD,gBAAgB,IAAI,GAAG,mBAAmB,CAAC;AAC3C,aAAa;AACb,iBAAiB;AACjB,gBAAgB,OAAO,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAC9C,aAAa;AACb,SAAS;AACT,KAAK;AACL;AACA,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;AACjE,QAAQ,OAAO,CAAC,cAAc,CAAC,GAAG,iCAAiC,CAAC;AACpE,KAAK;AACL;AACA;AACA,IAAI,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;AAC1E,QAAQ,IAAI,GAAG,EAAE,CAAC;AAClB,KAAK;AACL;AACA,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,OAAO,IAAI,KAAK,WAAW,GAAG,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,OAAO,CAAC,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC;AACzJ,CAAC;;AC9EM,SAAS,oBAAoB,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;AAC/D,IAAI,OAAO,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;AAClD,CAAC;;ACDM,SAAS,YAAY,CAAC,WAAW,EAAE,WAAW,EAAE;AACvD,IAAI,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AACrD,IAAI,MAAM,QAAQ,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC/D,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;AACnC,QAAQ,QAAQ;AAChB,QAAQ,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACnD,QAAQ,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACzC,QAAQ,KAAK;AACb,KAAK,CAAC,CAAC;AACP,CAAC;;ACZM,MAAM,OAAO,GAAG,mBAAmB,CAAC;;ACE3C,MAAM,SAAS,GAAG,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;AACrE;AACA;AACA,AAAO,MAAM,QAAQ,GAAG;AACxB,IAAI,MAAM,EAAE,KAAK;AACjB,IAAI,OAAO,EAAE,wBAAwB;AACrC,IAAI,OAAO,EAAE;AACb,QAAQ,MAAM,EAAE,gCAAgC;AAChD,QAAQ,YAAY,EAAE,SAAS;AAC/B,KAAK;AACL,IAAI,SAAS,EAAE;AACf,QAAQ,MAAM,EAAE,EAAE;AAClB,QAAQ,QAAQ,EAAE,EAAE;AACpB,KAAK;AACL,CAAC,CAAC;;ACdU,MAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/endpoint/package.json b/node_modules/@octokit/endpoint/package.json deleted file mode 100644 index d58557bab3..0000000000 --- a/node_modules/@octokit/endpoint/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "@octokit/endpoint", - "description": "Turns REST API endpoints into generic request options", - "version": "6.0.3", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "rest" - ], - "homepage": "https://github.com/octokit/endpoint.js#readme", - "bugs": { - "url": "https://github.com/octokit/endpoint.js/issues" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/octokit/endpoint.js.git" - }, - "dependencies": { - "@octokit/types": "^5.0.0", - "is-plain-object": "^3.0.0", - "universal-user-agent": "^5.0.0" - }, - "devDependencies": { - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/jest": "^26.0.0", - "jest": "^26.0.1", - "prettier": "2.0.5", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^26.0.0", - "typescript": "^3.4.5" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.3.tgz" -,"_integrity": "sha512-Y900+r0gIz+cWp6ytnkibbD95ucEzDSKzlEnaWS52hbCDNcCJYO5mRmWW7HRAnDc7am+N/5Lnd8MppSaTYx1Yg==" -,"_from": "@octokit/endpoint@6.0.3" -} \ No newline at end of file diff --git a/node_modules/@octokit/graphql/LICENSE b/node_modules/@octokit/graphql/LICENSE deleted file mode 100644 index af5366d0d0..0000000000 --- a/node_modules/@octokit/graphql/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2018 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/@octokit/graphql/README.md b/node_modules/@octokit/graphql/README.md deleted file mode 100644 index 7900567368..0000000000 --- a/node_modules/@octokit/graphql/README.md +++ /dev/null @@ -1,380 +0,0 @@ -# graphql.js - -> GitHub GraphQL API client for browsers and Node - -[![@latest](https://img.shields.io/npm/v/@octokit/graphql.svg)](https://www.npmjs.com/package/@octokit/graphql) -[![Build Status](https://github.com/octokit/graphql.js/workflows/Test/badge.svg)](https://github.com/octokit/graphql.js/actions?query=workflow%3ATest+branch%3Amaster) - - - -- [Usage](#usage) - - [Send a simple query](#send-a-simple-query) - - [Authentication](#authentication) - - [Variables](#variables) - - [Pass query together with headers and variables](#pass-query-together-with-headers-and-variables) - - [Use with GitHub Enterprise](#use-with-github-enterprise) - - [Use custom `@octokit/request` instance](#use-custom-octokitrequest-instance) -- [Errors](#errors) -- [Partial responses](#partial-responses) -- [Writing tests](#writing-tests) -- [License](#license) - - - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/graphql` directly from [cdn.pika.dev](https://cdn.pika.dev) - -```html - -``` - -
-Node - - -Install with npm install @octokit/graphql - -```js -const { graphql } = require("@octokit/graphql"); -// or: import { graphql } from "@octokit/graphql"; -``` - -
- -### Send a simple query - -```js -const { repository } = await graphql( - ` - { - repository(owner: "octokit", name: "graphql.js") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - } - `, - { - headers: { - authorization: `token secret123`, - }, - } -); -``` - -### Authentication - -The simplest way to authenticate a request is to set the `Authorization` header, e.g. to a [personal access token](https://github.com/settings/tokens/). - -```js -const graphqlWithAuth = graphql.defaults({ - headers: { - authorization: `token secret123`, - }, -}); -const { repository } = await graphqlWithAuth(` - { - repository(owner: "octokit", name: "graphql.js") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - } -`); -``` - -For more complex authentication strategies such as GitHub Apps or Basic, we recommend the according authentication library exported by [`@octokit/auth`](https://github.com/octokit/auth.js). - -```js -const { createAppAuth } = require("@octokit/auth-app"); -const auth = createAppAuth({ - id: process.env.APP_ID, - privateKey: process.env.PRIVATE_KEY, - installationId: 123, -}); -const graphqlWithAuth = graphql.defaults({ - request: { - hook: auth.hook, - }, -}); - -const { repository } = await graphqlWithAuth( - `{ - repository(owner: "octokit", name: "graphql.js") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - }` -); -``` - -### Variables - -⚠️ Do not use [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) in the query strings as they make your code vulnerable to query injection attacks (see [#2](https://github.com/octokit/graphql.js/issues/2)). Use variables instead: - -```js -const { lastIssues } = await graphql(`query lastIssues($owner: String!, $repo: String!, $num: Int = 3) { - repository(owner:$owner, name:$repo) { - issues(last:$num) { - edges { - node { - title - } - } - } - } - }`, { - owner: 'octokit', - repo: 'graphql.js' - headers: { - authorization: `token secret123` - } - } -}) -``` - -### Pass query together with headers and variables - -```js -const { graphql } = require('@octokit/graphql') -const { lastIssues } = await graphql({ - query: `query lastIssues($owner: String!, $repo: String!, $num: Int = 3) { - repository(owner:$owner, name:$repo) { - issues(last:$num) { - edges { - node { - title - } - } - } - } - }`, - owner: 'octokit', - repo: 'graphql.js' - headers: { - authorization: `token secret123` - } -}) -``` - -### Use with GitHub Enterprise - -```js -let { graphql } = require("@octokit/graphql"); -graphql = graphql.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api", - headers: { - authorization: `token secret123`, - }, -}); -const { repository } = await graphql(` - { - repository(owner: "acme-project", name: "acme-repo") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - } -`); -``` - -### Use custom `@octokit/request` instance - -```js -const { request } = require("@octokit/request"); -const { withCustomRequest } = require("@octokit/graphql"); - -let requestCounter = 0; -const myRequest = request.defaults({ - headers: { - authentication: "token secret123", - }, - request: { - hook(request, options) { - requestCounter++; - return request(options); - }, - }, -}); -const myGraphql = withCustomRequest(myRequest); -await request("/"); -await myGraphql(` - { - repository(owner: "acme-project", name: "acme-repo") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - } -`); -// requestCounter is now 2 -``` - -## Errors - -In case of a GraphQL error, `error.message` is set to the first error from the response’s `errors` array. All errors can be accessed at `error.errors`. `error.request` has the request options such as query, variables and headers set for easier debugging. - -```js -let { graphql } = require("@octokit/graphql"); -graphqlt = graphql.defaults({ - headers: { - authorization: `token secret123`, - }, -}); -const query = `{ - viewer { - bioHtml - } -}`; - -try { - const result = await graphql(query); -} catch (error) { - // server responds with - // { - // "data": null, - // "errors": [{ - // "message": "Field 'bioHtml' doesn't exist on type 'User'", - // "locations": [{ - // "line": 3, - // "column": 5 - // }] - // }] - // } - - console.log("Request failed:", error.request); // { query, variables: {}, headers: { authorization: 'token secret123' } } - console.log(error.message); // Field 'bioHtml' doesn't exist on type 'User' -} -``` - -## Partial responses - -A GraphQL query may respond with partial data accompanied by errors. In this case we will throw an error but the partial data will still be accessible through `error.data` - -```js -let { graphql } = require("@octokit/graphql"); -graphql = graphql.defaults({ - headers: { - authorization: `token secret123`, - }, -}); -const query = `{ - repository(name: "probot", owner: "probot") { - name - ref(qualifiedName: "master") { - target { - ... on Commit { - history(first: 25, after: "invalid cursor") { - nodes { - message - } - } - } - } - } - } -}`; - -try { - const result = await graphql(query); -} catch (error) { - // server responds with - // { - // "data": { - // "repository": { - // "name": "probot", - // "ref": null - // } - // }, - // "errors": [ - // { - // "type": "INVALID_CURSOR_ARGUMENTS", - // "path": [ - // "repository", - // "ref", - // "target", - // "history" - // ], - // "locations": [ - // { - // "line": 7, - // "column": 11 - // } - // ], - // "message": "`invalid cursor` does not appear to be a valid cursor." - // } - // ] - // } - - console.log("Request failed:", error.request); // { query, variables: {}, headers: { authorization: 'token secret123' } } - console.log(error.message); // `invalid cursor` does not appear to be a valid cursor. - console.log(error.data); // { repository: { name: 'probot', ref: null } } -} -``` - -## Writing tests - -You can pass a replacement for [the built-in fetch implementation](https://github.com/bitinn/node-fetch) as `request.fetch` option. For example, using [fetch-mock](http://www.wheresrhys.co.uk/fetch-mock/) works great to write tests - -```js -const assert = require("assert"); -const fetchMock = require("fetch-mock/es5/server"); - -const { graphql } = require("@octokit/graphql"); - -graphql("{ viewer { login } }", { - headers: { - authorization: "token secret123", - }, - request: { - fetch: fetchMock - .sandbox() - .post("https://api.github.com/graphql", (url, options) => { - assert.strictEqual(options.headers.authorization, "token secret123"); - assert.strictEqual( - options.body, - '{"query":"{ viewer { login } }"}', - "Sends correct query" - ); - return { data: {} }; - }), - }, -}); -``` - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/graphql/dist-node/index.js b/node_modules/@octokit/graphql/dist-node/index.js deleted file mode 100644 index 0112471b57..0000000000 --- a/node_modules/@octokit/graphql/dist-node/index.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var request = require('@octokit/request'); -var universalUserAgent = require('universal-user-agent'); - -const VERSION = "4.5.1"; - -class GraphqlError extends Error { - constructor(request, response) { - const message = response.data.errors[0].message; - super(message); - Object.assign(this, response.data); - this.name = "GraphqlError"; - this.request = request; // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } - -} - -const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"]; -function graphql(request, query, options) { - options = typeof query === "string" ? options = Object.assign({ - query - }, options) : options = query; - const requestOptions = Object.keys(options).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = options[key]; - return result; - } - - if (!result.variables) { - result.variables = {}; - } - - result.variables[key] = options[key]; - return result; - }, {}); - return request(requestOptions).then(response => { - if (response.data.errors) { - throw new GraphqlError(requestOptions, { - data: response.data - }); - } - - return response.data.data; - }); -} - -function withDefaults(request$1, newDefaults) { - const newRequest = request$1.defaults(newDefaults); - - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: request.request.endpoint - }); -} - -const graphql$1 = withDefaults(request.request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}` - }, - method: "POST", - url: "/graphql" -}); -function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql" - }); -} - -exports.graphql = graphql$1; -exports.withCustomRequest = withCustomRequest; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/graphql/dist-node/index.js.map b/node_modules/@octokit/graphql/dist-node/index.js.map deleted file mode 100644 index 8f3bae38bf..0000000000 --- a/node_modules/@octokit/graphql/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/error.js","../dist-src/graphql.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"4.5.1\";\n","export class GraphqlError extends Error {\n constructor(request, response) {\n const message = response.data.errors[0].message;\n super(message);\n Object.assign(this, response.data);\n this.name = \"GraphqlError\";\n this.request = request;\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n}\n","import { GraphqlError } from \"./error\";\nconst NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\",\n];\nexport function graphql(request, query, options) {\n options =\n typeof query === \"string\"\n ? (options = Object.assign({ query }, options))\n : (options = query);\n const requestOptions = Object.keys(options).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = options[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = options[key];\n return result;\n }, {});\n return request(requestOptions).then((response) => {\n if (response.data.errors) {\n throw new GraphqlError(requestOptions, {\n data: response.data,\n });\n }\n return response.data.data;\n });\n}\n","import { request as Request } from \"@octokit/request\";\nimport { graphql } from \"./graphql\";\nexport function withDefaults(request, newDefaults) {\n const newRequest = request.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: Request.endpoint,\n });\n}\n","import { request } from \"@octokit/request\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport { withDefaults } from \"./with-defaults\";\nexport const graphql = withDefaults(request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,\n },\n method: \"POST\",\n url: \"/graphql\",\n});\nexport function withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\",\n });\n}\n"],"names":["VERSION","GraphqlError","Error","constructor","request","response","message","data","errors","Object","assign","name","captureStackTrace","NON_VARIABLE_OPTIONS","graphql","query","options","requestOptions","keys","reduce","result","key","includes","variables","then","withDefaults","newDefaults","newRequest","defaults","newApi","bind","endpoint","Request","headers","getUserAgent","method","url","withCustomRequest","customRequest"],"mappings":";;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACAA,MAAMC,YAAN,SAA2BC,KAA3B,CAAiC;AACpCC,EAAAA,WAAW,CAACC,OAAD,EAAUC,QAAV,EAAoB;AAC3B,UAAMC,OAAO,GAAGD,QAAQ,CAACE,IAAT,CAAcC,MAAd,CAAqB,CAArB,EAAwBF,OAAxC;AACA,UAAMA,OAAN;AACAG,IAAAA,MAAM,CAACC,MAAP,CAAc,IAAd,EAAoBL,QAAQ,CAACE,IAA7B;AACA,SAAKI,IAAL,GAAY,cAAZ;AACA,SAAKP,OAAL,GAAeA,OAAf,CAL2B;;AAO3B;;AACA,QAAIF,KAAK,CAACU,iBAAV,EAA6B;AACzBV,MAAAA,KAAK,CAACU,iBAAN,CAAwB,IAAxB,EAA8B,KAAKT,WAAnC;AACH;AACJ;;AAZmC;;ACCxC,MAAMU,oBAAoB,GAAG,CACzB,QADyB,EAEzB,SAFyB,EAGzB,KAHyB,EAIzB,SAJyB,EAKzB,SALyB,EAMzB,OANyB,EAOzB,WAPyB,CAA7B;AASA,AAAO,SAASC,OAAT,CAAiBV,OAAjB,EAA0BW,KAA1B,EAAiCC,OAAjC,EAA0C;AAC7CA,EAAAA,OAAO,GACH,OAAOD,KAAP,KAAiB,QAAjB,GACOC,OAAO,GAAGP,MAAM,CAACC,MAAP,CAAc;AAAEK,IAAAA;AAAF,GAAd,EAAyBC,OAAzB,CADjB,GAEOA,OAAO,GAAGD,KAHrB;AAIA,QAAME,cAAc,GAAGR,MAAM,CAACS,IAAP,CAAYF,OAAZ,EAAqBG,MAArB,CAA4B,CAACC,MAAD,EAASC,GAAT,KAAiB;AAChE,QAAIR,oBAAoB,CAACS,QAArB,CAA8BD,GAA9B,CAAJ,EAAwC;AACpCD,MAAAA,MAAM,CAACC,GAAD,CAAN,GAAcL,OAAO,CAACK,GAAD,CAArB;AACA,aAAOD,MAAP;AACH;;AACD,QAAI,CAACA,MAAM,CAACG,SAAZ,EAAuB;AACnBH,MAAAA,MAAM,CAACG,SAAP,GAAmB,EAAnB;AACH;;AACDH,IAAAA,MAAM,CAACG,SAAP,CAAiBF,GAAjB,IAAwBL,OAAO,CAACK,GAAD,CAA/B;AACA,WAAOD,MAAP;AACH,GAVsB,EAUpB,EAVoB,CAAvB;AAWA,SAAOhB,OAAO,CAACa,cAAD,CAAP,CAAwBO,IAAxB,CAA8BnB,QAAD,IAAc;AAC9C,QAAIA,QAAQ,CAACE,IAAT,CAAcC,MAAlB,EAA0B;AACtB,YAAM,IAAIP,YAAJ,CAAiBgB,cAAjB,EAAiC;AACnCV,QAAAA,IAAI,EAAEF,QAAQ,CAACE;AADoB,OAAjC,CAAN;AAGH;;AACD,WAAOF,QAAQ,CAACE,IAAT,CAAcA,IAArB;AACH,GAPM,CAAP;AAQH;;AChCM,SAASkB,YAAT,CAAsBrB,SAAtB,EAA+BsB,WAA/B,EAA4C;AAC/C,QAAMC,UAAU,GAAGvB,SAAO,CAACwB,QAAR,CAAiBF,WAAjB,CAAnB;;AACA,QAAMG,MAAM,GAAG,CAACd,KAAD,EAAQC,OAAR,KAAoB;AAC/B,WAAOF,OAAO,CAACa,UAAD,EAAaZ,KAAb,EAAoBC,OAApB,CAAd;AACH,GAFD;;AAGA,SAAOP,MAAM,CAACC,MAAP,CAAcmB,MAAd,EAAsB;AACzBD,IAAAA,QAAQ,EAAEH,YAAY,CAACK,IAAb,CAAkB,IAAlB,EAAwBH,UAAxB,CADe;AAEzBI,IAAAA,QAAQ,EAAEC,eAAO,CAACD;AAFO,GAAtB,CAAP;AAIH;;MCPYjB,SAAO,GAAGW,YAAY,CAACrB,eAAD,EAAU;AACzC6B,EAAAA,OAAO,EAAE;AACL,kBAAe,sBAAqBjC,OAAQ,IAAGkC,+BAAY,EAAG;AADzD,GADgC;AAIzCC,EAAAA,MAAM,EAAE,MAJiC;AAKzCC,EAAAA,GAAG,EAAE;AALoC,CAAV,CAA5B;AAOP,AAAO,SAASC,iBAAT,CAA2BC,aAA3B,EAA0C;AAC7C,SAAOb,YAAY,CAACa,aAAD,EAAgB;AAC/BH,IAAAA,MAAM,EAAE,MADuB;AAE/BC,IAAAA,GAAG,EAAE;AAF0B,GAAhB,CAAnB;AAIH;;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/graphql/dist-src/error.js b/node_modules/@octokit/graphql/dist-src/error.js deleted file mode 100644 index 7662b91f16..0000000000 --- a/node_modules/@octokit/graphql/dist-src/error.js +++ /dev/null @@ -1,14 +0,0 @@ -export class GraphqlError extends Error { - constructor(request, response) { - const message = response.data.errors[0].message; - super(message); - Object.assign(this, response.data); - this.name = "GraphqlError"; - this.request = request; - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } -} diff --git a/node_modules/@octokit/graphql/dist-src/graphql.js b/node_modules/@octokit/graphql/dist-src/graphql.js deleted file mode 100644 index 6df47f6bed..0000000000 --- a/node_modules/@octokit/graphql/dist-src/graphql.js +++ /dev/null @@ -1,35 +0,0 @@ -import { GraphqlError } from "./error"; -const NON_VARIABLE_OPTIONS = [ - "method", - "baseUrl", - "url", - "headers", - "request", - "query", - "mediaType", -]; -export function graphql(request, query, options) { - options = - typeof query === "string" - ? (options = Object.assign({ query }, options)) - : (options = query); - const requestOptions = Object.keys(options).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = options[key]; - return result; - } - if (!result.variables) { - result.variables = {}; - } - result.variables[key] = options[key]; - return result; - }, {}); - return request(requestOptions).then((response) => { - if (response.data.errors) { - throw new GraphqlError(requestOptions, { - data: response.data, - }); - } - return response.data.data; - }); -} diff --git a/node_modules/@octokit/graphql/dist-src/index.js b/node_modules/@octokit/graphql/dist-src/index.js deleted file mode 100644 index b202378499..0000000000 --- a/node_modules/@octokit/graphql/dist-src/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import { request } from "@octokit/request"; -import { getUserAgent } from "universal-user-agent"; -import { VERSION } from "./version"; -import { withDefaults } from "./with-defaults"; -export const graphql = withDefaults(request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`, - }, - method: "POST", - url: "/graphql", -}); -export function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql", - }); -} diff --git a/node_modules/@octokit/graphql/dist-src/types.js b/node_modules/@octokit/graphql/dist-src/types.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/graphql/dist-src/version.js b/node_modules/@octokit/graphql/dist-src/version.js deleted file mode 100644 index da5773a515..0000000000 --- a/node_modules/@octokit/graphql/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "4.5.1"; diff --git a/node_modules/@octokit/graphql/dist-src/with-defaults.js b/node_modules/@octokit/graphql/dist-src/with-defaults.js deleted file mode 100644 index 6ea309e3ab..0000000000 --- a/node_modules/@octokit/graphql/dist-src/with-defaults.js +++ /dev/null @@ -1,12 +0,0 @@ -import { request as Request } from "@octokit/request"; -import { graphql } from "./graphql"; -export function withDefaults(request, newDefaults) { - const newRequest = request.defaults(newDefaults); - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: Request.endpoint, - }); -} diff --git a/node_modules/@octokit/graphql/dist-types/error.d.ts b/node_modules/@octokit/graphql/dist-types/error.d.ts deleted file mode 100644 index 7eb7e0454a..0000000000 --- a/node_modules/@octokit/graphql/dist-types/error.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types"; -export declare class GraphqlError extends Error { - request: GraphQlEndpointOptions; - constructor(request: GraphQlEndpointOptions, response: { - data: Required>; - }); -} diff --git a/node_modules/@octokit/graphql/dist-types/graphql.d.ts b/node_modules/@octokit/graphql/dist-types/graphql.d.ts deleted file mode 100644 index 2942b8b6ea..0000000000 --- a/node_modules/@octokit/graphql/dist-types/graphql.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { request as Request } from "@octokit/request"; -import { RequestParameters, GraphQlQueryResponseData } from "./types"; -export declare function graphql(request: typeof Request, query: string | RequestParameters, options?: RequestParameters): Promise; diff --git a/node_modules/@octokit/graphql/dist-types/index.d.ts b/node_modules/@octokit/graphql/dist-types/index.d.ts deleted file mode 100644 index 1878fd4112..0000000000 --- a/node_modules/@octokit/graphql/dist-types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { request } from "@octokit/request"; -export declare const graphql: import("./types").graphql; -export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql; diff --git a/node_modules/@octokit/graphql/dist-types/types.d.ts b/node_modules/@octokit/graphql/dist-types/types.d.ts deleted file mode 100644 index ef60d9547b..0000000000 --- a/node_modules/@octokit/graphql/dist-types/types.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { EndpointOptions, RequestParameters as RequestParametersType, EndpointInterface } from "@octokit/types"; -export declare type GraphQlEndpointOptions = EndpointOptions & { - variables?: { - [key: string]: unknown; - }; -}; -export declare type RequestParameters = RequestParametersType; -export declare type Query = string; -export interface graphql { - /** - * Sends a GraphQL query request based on endpoint options - * The GraphQL query must be specified in `options`. - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: RequestParameters): GraphQlResponse; - /** - * Sends a GraphQL query request based on endpoint options - * - * @param {string} query GraphQL query. Example: `'query { viewer { login } }'`. - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (query: Query, parameters?: RequestParameters): GraphQlResponse; - /** - * Returns a new `endpoint` with updated route and parameters - */ - defaults: (newDefaults: RequestParameters) => graphql; - /** - * Octokit endpoint API, see {@link https://github.com/octokit/endpoint.js|@octokit/endpoint} - */ - endpoint: EndpointInterface; -} -export declare type GraphQlResponse = Promise; -export declare type GraphQlQueryResponseData = { - [key: string]: any; -}; -export declare type GraphQlQueryResponse = { - data: ResponseData; - errors?: [{ - message: string; - path: [string]; - extensions: { - [key: string]: any; - }; - locations: [{ - line: number; - column: number; - }]; - }]; -}; diff --git a/node_modules/@octokit/graphql/dist-types/version.d.ts b/node_modules/@octokit/graphql/dist-types/version.d.ts deleted file mode 100644 index 345aa5e8ca..0000000000 --- a/node_modules/@octokit/graphql/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "4.5.1"; diff --git a/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts b/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts deleted file mode 100644 index 03edc32050..0000000000 --- a/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { request as Request } from "@octokit/request"; -import { graphql as ApiInterface, RequestParameters } from "./types"; -export declare function withDefaults(request: typeof Request, newDefaults: RequestParameters): ApiInterface; diff --git a/node_modules/@octokit/graphql/dist-web/index.js b/node_modules/@octokit/graphql/dist-web/index.js deleted file mode 100644 index 2c3697eff2..0000000000 --- a/node_modules/@octokit/graphql/dist-web/index.js +++ /dev/null @@ -1,82 +0,0 @@ -import { request } from '@octokit/request'; -import { getUserAgent } from 'universal-user-agent'; - -const VERSION = "4.5.1"; - -class GraphqlError extends Error { - constructor(request, response) { - const message = response.data.errors[0].message; - super(message); - Object.assign(this, response.data); - this.name = "GraphqlError"; - this.request = request; - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } -} - -const NON_VARIABLE_OPTIONS = [ - "method", - "baseUrl", - "url", - "headers", - "request", - "query", - "mediaType", -]; -function graphql(request, query, options) { - options = - typeof query === "string" - ? (options = Object.assign({ query }, options)) - : (options = query); - const requestOptions = Object.keys(options).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = options[key]; - return result; - } - if (!result.variables) { - result.variables = {}; - } - result.variables[key] = options[key]; - return result; - }, {}); - return request(requestOptions).then((response) => { - if (response.data.errors) { - throw new GraphqlError(requestOptions, { - data: response.data, - }); - } - return response.data.data; - }); -} - -function withDefaults(request$1, newDefaults) { - const newRequest = request$1.defaults(newDefaults); - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: request.endpoint, - }); -} - -const graphql$1 = withDefaults(request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`, - }, - method: "POST", - url: "/graphql", -}); -function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql", - }); -} - -export { graphql$1 as graphql, withCustomRequest }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/graphql/dist-web/index.js.map b/node_modules/@octokit/graphql/dist-web/index.js.map deleted file mode 100644 index 06e697d604..0000000000 --- a/node_modules/@octokit/graphql/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/error.js","../dist-src/graphql.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"4.5.1\";\n","export class GraphqlError extends Error {\n constructor(request, response) {\n const message = response.data.errors[0].message;\n super(message);\n Object.assign(this, response.data);\n this.name = \"GraphqlError\";\n this.request = request;\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n}\n","import { GraphqlError } from \"./error\";\nconst NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\",\n];\nexport function graphql(request, query, options) {\n options =\n typeof query === \"string\"\n ? (options = Object.assign({ query }, options))\n : (options = query);\n const requestOptions = Object.keys(options).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = options[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = options[key];\n return result;\n }, {});\n return request(requestOptions).then((response) => {\n if (response.data.errors) {\n throw new GraphqlError(requestOptions, {\n data: response.data,\n });\n }\n return response.data.data;\n });\n}\n","import { request as Request } from \"@octokit/request\";\nimport { graphql } from \"./graphql\";\nexport function withDefaults(request, newDefaults) {\n const newRequest = request.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: Request.endpoint,\n });\n}\n","import { request } from \"@octokit/request\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport { withDefaults } from \"./with-defaults\";\nexport const graphql = withDefaults(request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,\n },\n method: \"POST\",\n url: \"/graphql\",\n});\nexport function withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\",\n });\n}\n"],"names":["request","Request","graphql"],"mappings":";;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACAnC,MAAM,YAAY,SAAS,KAAK,CAAC;AACxC,IAAI,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE;AACnC,QAAQ,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;AACxD,QAAQ,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB,QAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC3C,QAAQ,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;AACnC,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AAC/B;AACA;AACA,QAAQ,IAAI,KAAK,CAAC,iBAAiB,EAAE;AACrC,YAAY,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;AAC5D,SAAS;AACT,KAAK;AACL,CAAC;;ACZD,MAAM,oBAAoB,GAAG;AAC7B,IAAI,QAAQ;AACZ,IAAI,SAAS;AACb,IAAI,KAAK;AACT,IAAI,SAAS;AACb,IAAI,SAAS;AACb,IAAI,OAAO;AACX,IAAI,WAAW;AACf,CAAC,CAAC;AACF,AAAO,SAAS,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;AACjD,IAAI,OAAO;AACX,QAAQ,OAAO,KAAK,KAAK,QAAQ;AACjC,eAAe,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC;AAC1D,eAAe,OAAO,GAAG,KAAK,CAAC,CAAC;AAChC,IAAI,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK;AACxE,QAAQ,IAAI,oBAAoB,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;AAChD,YAAY,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;AACvC,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE;AAC/B,YAAY,MAAM,CAAC,SAAS,GAAG,EAAE,CAAC;AAClC,SAAS;AACT,QAAQ,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;AAC7C,QAAQ,OAAO,MAAM,CAAC;AACtB,KAAK,EAAE,EAAE,CAAC,CAAC;AACX,IAAI,OAAO,OAAO,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AACtD,QAAQ,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE;AAClC,YAAY,MAAM,IAAI,YAAY,CAAC,cAAc,EAAE;AACnD,gBAAgB,IAAI,EAAE,QAAQ,CAAC,IAAI;AACnC,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;AAClC,KAAK,CAAC,CAAC;AACP,CAAC;;AChCM,SAAS,YAAY,CAACA,SAAO,EAAE,WAAW,EAAE;AACnD,IAAI,MAAM,UAAU,GAAGA,SAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACrD,IAAI,MAAM,MAAM,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK;AACvC,QAAQ,OAAO,OAAO,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AACnD,KAAK,CAAC;AACN,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;AACjC,QAAQ,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC;AACrD,QAAQ,QAAQ,EAAEC,OAAO,CAAC,QAAQ;AAClC,KAAK,CAAC,CAAC;AACP,CAAC;;ACPW,MAACC,SAAO,GAAG,YAAY,CAAC,OAAO,EAAE;AAC7C,IAAI,OAAO,EAAE;AACb,QAAQ,YAAY,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;AACvE,KAAK;AACL,IAAI,MAAM,EAAE,MAAM;AAClB,IAAI,GAAG,EAAE,UAAU;AACnB,CAAC,CAAC,CAAC;AACH,AAAO,SAAS,iBAAiB,CAAC,aAAa,EAAE;AACjD,IAAI,OAAO,YAAY,CAAC,aAAa,EAAE;AACvC,QAAQ,MAAM,EAAE,MAAM;AACtB,QAAQ,GAAG,EAAE,UAAU;AACvB,KAAK,CAAC,CAAC;AACP,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/graphql/package.json b/node_modules/@octokit/graphql/package.json deleted file mode 100644 index 9a0da85377..0000000000 --- a/node_modules/@octokit/graphql/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@octokit/graphql", - "description": "GitHub GraphQL API client for browsers and Node", - "version": "4.5.1", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "graphql" - ], - "homepage": "https://github.com/octokit/graphql.js#readme", - "bugs": { - "url": "https://github.com/octokit/graphql.js/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/octokit/graphql.js.git" - }, - "dependencies": { - "@octokit/request": "^5.3.0", - "@octokit/types": "^5.0.0", - "universal-user-agent": "^5.0.0" - }, - "devDependencies": { - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.2.5", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.4", - "fetch-mock": "^9.0.0", - "jest": "^25.1.0", - "prettier": "^2.0.0", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^25.1.0", - "typescript": "^3.4.5" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.1.tgz" -,"_integrity": "sha512-qgMsROG9K2KxDs12CO3bySJaYoUu2aic90qpFrv7A8sEBzZ7UFGvdgPKiLw5gOPYEYbS0Xf8Tvf84tJutHPulQ==" -,"_from": "@octokit/graphql@4.5.1" -} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-paginate-rest/LICENSE b/node_modules/@octokit/plugin-paginate-rest/LICENSE deleted file mode 100644 index 57bee5f182..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -MIT License Copyright (c) 2019 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@octokit/plugin-paginate-rest/README.md b/node_modules/@octokit/plugin-paginate-rest/README.md deleted file mode 100644 index 3c3e2ae95c..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/README.md +++ /dev/null @@ -1,166 +0,0 @@ -# plugin-paginate-rest.js - -> Octokit plugin to paginate REST API endpoint responses - -[![@latest](https://img.shields.io/npm/v/@octokit/plugin-paginate-rest.svg)](https://www.npmjs.com/package/@octokit/plugin-paginate-rest) -[![Build Status](https://github.com/octokit/plugin-paginate-rest.js/workflows/Test/badge.svg)](https://github.com/octokit/plugin-paginate-rest.js/actions?workflow=Test) - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/plugin-paginate-rest` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.pika.dev](https://cdn.pika.dev) - -```html - -``` - -
-Node - - -Install with `npm install @octokit/core @octokit/plugin-paginate-rest`. Optionally replace `@octokit/core` with a core-compatible module - -```js -const { Octokit } = require("@octokit/core"); -const { paginateRest } = require("@octokit/plugin-paginate-rest"); -``` - -
- -```js -const MyOctokit = Octokit.plugin(paginateRest); -const octokit = new MyOctokit({ auth: "secret123" }); - -// See https://developer.github.com/v3/issues/#list-issues-for-a-repository -const issues = await octokit.paginate("GET /repos/:owner/:repo/issues", { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, -}); -``` - -## `octokit.paginate()` - -The `paginateRest` plugin adds a new `octokit.paginate()` method which accepts the same parameters as [`octokit.request`](https://github.com/octokit/request.js#request). Only "List ..." endpoints such as [List issues for a repository](https://developer.github.com/v3/issues/#list-issues-for-a-repository) are supporting pagination. Their [response includes a Link header](https://developer.github.com/v3/issues/#response-1). For other endpoints, `octokit.paginate()` behaves the same as `octokit.request()`. - -The `per_page` parameter is usually defaulting to `30`, and can be set to up to `100`, which helps retrieving a big amount of data without hitting the rate limits too soon. - -An optional `mapFunction` can be passed to map each page response to a new value, usually an array with only the data you need. This can help to reduce memory usage, as only the relevant data has to be kept in memory until the pagination is complete. - -```js -const issueTitles = await octokit.paginate( - "GET /repos/:owner/:repo/issues", - { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, - }, - (response) => response.data.map((issue) => issue.title) -); -``` - -The `mapFunction` gets a 2nd argument `done` which can be called to end the pagination early. - -```js -const issues = await octokit.paginate( - "GET /repos/:owner/:repo/issues", - { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, - }, - (response, done) => { - if (response.data.find((issues) => issue.title.includes("something"))) { - done(); - } - return response.data; - } -); -``` - -Alternatively you can pass a `request` method as first argument. This is great when using in combination with [`@octokit/plugin-rest-endpoint-methods`](https://github.com/octokit/plugin-rest-endpoint-methods.js/): - -```js -const issues = await octokit.paginate(octokit.issues.listForRepo, { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, -}); -``` - -## `octokit.paginate.iterator()` - -If your target runtime environments supports async iterators (such as most modern browsers and Node 10+), you can iterate through each response - -```js -const parameters = { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, -}; -for await (const response of octokit.paginate.iterator( - "GET /repos/:owner/:repo/issues", - parameters -)) { - // do whatever you want with each response, break out of the loop, etc. - console.log(response.data.title); -} -``` - -Alternatively you can pass a `request` method as first argument. This is great when using in combination with [`@octokit/plugin-rest-endpoint-methods`](https://github.com/octokit/plugin-rest-endpoint-methods.js/): - -```js -const parameters = { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, -}; -for await (const response of octokit.paginate.iterator( - octokit.issues.listForRepo, - parameters -)) { - // do whatever you want with each response, break out of the loop, etc. - console.log(response.data.title); -} -``` - -## How it works - -`octokit.paginate()` wraps `octokit.request()`. As long as a `rel="next"` link value is present in the response's `Link` header, it sends another request for that URL, and so on. - -Most of GitHub's paginating REST API endpoints return an array, but there are a few exceptions which return an object with a key that includes the items array. For example: - -- [Search repositories](https://developer.github.com/v3/search/#example) (key `items`) -- [List check runs for a specific ref](https://developer.github.com/v3/checks/runs/#response-3) (key: `check_runs`) -- [List check suites for a specific ref](https://developer.github.com/v3/checks/suites/#response-1) (key: `check_suites`) -- [List repositories](https://developer.github.com/v3/apps/installations/#list-repositories) for an installation (key: `repositories`) -- [List installations for a user](https://developer.github.com/v3/apps/installations/#response-1) (key `installations`) - -`octokit.paginate()` is working around these inconsistencies so you don't have to worry about it. - -If a response is lacking the `Link` header, `octokit.paginate()` still resolves with an array, even if the response returns a single object. - -## Contributing - -See [CONTRIBUTING.md](CONTRIBUTING.md) - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js deleted file mode 100644 index c2a8797aa6..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js +++ /dev/null @@ -1,130 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -const VERSION = "2.2.3"; - -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -function normalizePaginatedListResponse(response) { - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - - response.data.total_count = totalCount; - return response; -} - -function iterator(octokit, route, parameters) { - const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - next() { - if (!url) { - return Promise.resolve({ - done: true - }); - } - - return requestMethod({ - method, - url, - headers - }).then(normalizePaginatedListResponse).then(response => { - // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - url = ((response.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; - return { - value: response - }; - }); - } - - }) - }; -} - -function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } - - return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); -} - -function gather(octokit, results, iterator, mapFn) { - return iterator.next().then(result => { - if (result.done) { - return results; - } - - let earlyExit = false; - - function done() { - earlyExit = true; - } - - results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); - - if (earlyExit) { - return results; - } - - return gather(octokit, results, iterator, mapFn); - }); -} - -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ - -function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit) - }) - }; -} -paginateRest.VERSION = VERSION; - -exports.paginateRest = paginateRest; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map b/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map deleted file mode 100644 index 11f111b59c..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/normalize-paginated-list-response.js","../dist-src/iterator.js","../dist-src/paginate.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.2.3\";\n","/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nexport function normalizePaginatedListResponse(response) {\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\n","import { normalizePaginatedListResponse } from \"./normalize-paginated-list-response\";\nexport function iterator(octokit, route, parameters) {\n const options = typeof route === \"function\"\n ? route.endpoint(parameters)\n : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n next() {\n if (!url) {\n return Promise.resolve({ done: true });\n }\n return requestMethod({ method, url, headers })\n .then(normalizePaginatedListResponse)\n .then((response) => {\n // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n url = ((response.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return { value: response };\n });\n },\n }),\n };\n}\n","import { iterator } from \"./iterator\";\nexport function paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator, mapFn);\n });\n}\n","import { VERSION } from \"./version\";\nimport { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit),\n }),\n };\n}\npaginateRest.VERSION = VERSION;\n"],"names":["VERSION","normalizePaginatedListResponse","response","responseNeedsNormalization","data","incompleteResults","incomplete_results","repositorySelection","repository_selection","totalCount","total_count","namespaceKey","Object","keys","iterator","octokit","route","parameters","options","endpoint","request","requestMethod","method","headers","url","Symbol","asyncIterator","next","Promise","resolve","done","then","link","match","value","paginate","mapFn","undefined","gather","results","result","earlyExit","concat","paginateRest","assign","bind"],"mappings":";;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACAP;;;;;;;;;;;;;;;;AAgBA,AAAO,SAASC,8BAAT,CAAwCC,QAAxC,EAAkD;AACrD,QAAMC,0BAA0B,GAAG,iBAAiBD,QAAQ,CAACE,IAA1B,IAAkC,EAAE,SAASF,QAAQ,CAACE,IAApB,CAArE;AACA,MAAI,CAACD,0BAAL,EACI,OAAOD,QAAP,CAHiD;AAKrD;;AACA,QAAMG,iBAAiB,GAAGH,QAAQ,CAACE,IAAT,CAAcE,kBAAxC;AACA,QAAMC,mBAAmB,GAAGL,QAAQ,CAACE,IAAT,CAAcI,oBAA1C;AACA,QAAMC,UAAU,GAAGP,QAAQ,CAACE,IAAT,CAAcM,WAAjC;AACA,SAAOR,QAAQ,CAACE,IAAT,CAAcE,kBAArB;AACA,SAAOJ,QAAQ,CAACE,IAAT,CAAcI,oBAArB;AACA,SAAON,QAAQ,CAACE,IAAT,CAAcM,WAArB;AACA,QAAMC,YAAY,GAAGC,MAAM,CAACC,IAAP,CAAYX,QAAQ,CAACE,IAArB,EAA2B,CAA3B,CAArB;AACA,QAAMA,IAAI,GAAGF,QAAQ,CAACE,IAAT,CAAcO,YAAd,CAAb;AACAT,EAAAA,QAAQ,CAACE,IAAT,GAAgBA,IAAhB;;AACA,MAAI,OAAOC,iBAAP,KAA6B,WAAjC,EAA8C;AAC1CH,IAAAA,QAAQ,CAACE,IAAT,CAAcE,kBAAd,GAAmCD,iBAAnC;AACH;;AACD,MAAI,OAAOE,mBAAP,KAA+B,WAAnC,EAAgD;AAC5CL,IAAAA,QAAQ,CAACE,IAAT,CAAcI,oBAAd,GAAqCD,mBAArC;AACH;;AACDL,EAAAA,QAAQ,CAACE,IAAT,CAAcM,WAAd,GAA4BD,UAA5B;AACA,SAAOP,QAAP;AACH;;ACtCM,SAASY,QAAT,CAAkBC,OAAlB,EAA2BC,KAA3B,EAAkCC,UAAlC,EAA8C;AACjD,QAAMC,OAAO,GAAG,OAAOF,KAAP,KAAiB,UAAjB,GACVA,KAAK,CAACG,QAAN,CAAeF,UAAf,CADU,GAEVF,OAAO,CAACK,OAAR,CAAgBD,QAAhB,CAAyBH,KAAzB,EAAgCC,UAAhC,CAFN;AAGA,QAAMI,aAAa,GAAG,OAAOL,KAAP,KAAiB,UAAjB,GAA8BA,KAA9B,GAAsCD,OAAO,CAACK,OAApE;AACA,QAAME,MAAM,GAAGJ,OAAO,CAACI,MAAvB;AACA,QAAMC,OAAO,GAAGL,OAAO,CAACK,OAAxB;AACA,MAAIC,GAAG,GAAGN,OAAO,CAACM,GAAlB;AACA,SAAO;AACH,KAACC,MAAM,CAACC,aAAR,GAAwB,OAAO;AAC3BC,MAAAA,IAAI,GAAG;AACH,YAAI,CAACH,GAAL,EAAU;AACN,iBAAOI,OAAO,CAACC,OAAR,CAAgB;AAAEC,YAAAA,IAAI,EAAE;AAAR,WAAhB,CAAP;AACH;;AACD,eAAOT,aAAa,CAAC;AAAEC,UAAAA,MAAF;AAAUE,UAAAA,GAAV;AAAeD,UAAAA;AAAf,SAAD,CAAb,CACFQ,IADE,CACG9B,8BADH,EAEF8B,IAFE,CAEI7B,QAAD,IAAc;AACpB;AACA;AACA;AACAsB,UAAAA,GAAG,GAAG,CAAC,CAACtB,QAAQ,CAACqB,OAAT,CAAiBS,IAAjB,IAAyB,EAA1B,EAA8BC,KAA9B,CAAoC,yBAApC,KAAkE,EAAnE,EAAuE,CAAvE,CAAN;AACA,iBAAO;AAAEC,YAAAA,KAAK,EAAEhC;AAAT,WAAP;AACH,SARM,CAAP;AASH;;AAd0B,KAAP;AADrB,GAAP;AAkBH;;AC1BM,SAASiC,QAAT,CAAkBpB,OAAlB,EAA2BC,KAA3B,EAAkCC,UAAlC,EAA8CmB,KAA9C,EAAqD;AACxD,MAAI,OAAOnB,UAAP,KAAsB,UAA1B,EAAsC;AAClCmB,IAAAA,KAAK,GAAGnB,UAAR;AACAA,IAAAA,UAAU,GAAGoB,SAAb;AACH;;AACD,SAAOC,MAAM,CAACvB,OAAD,EAAU,EAAV,EAAcD,QAAQ,CAACC,OAAD,EAAUC,KAAV,EAAiBC,UAAjB,CAAR,CAAqCQ,MAAM,CAACC,aAA5C,GAAd,EAA4EU,KAA5E,CAAb;AACH;;AACD,SAASE,MAAT,CAAgBvB,OAAhB,EAAyBwB,OAAzB,EAAkCzB,QAAlC,EAA4CsB,KAA5C,EAAmD;AAC/C,SAAOtB,QAAQ,CAACa,IAAT,GAAgBI,IAAhB,CAAsBS,MAAD,IAAY;AACpC,QAAIA,MAAM,CAACV,IAAX,EAAiB;AACb,aAAOS,OAAP;AACH;;AACD,QAAIE,SAAS,GAAG,KAAhB;;AACA,aAASX,IAAT,GAAgB;AACZW,MAAAA,SAAS,GAAG,IAAZ;AACH;;AACDF,IAAAA,OAAO,GAAGA,OAAO,CAACG,MAAR,CAAeN,KAAK,GAAGA,KAAK,CAACI,MAAM,CAACN,KAAR,EAAeJ,IAAf,CAAR,GAA+BU,MAAM,CAACN,KAAP,CAAa9B,IAAhE,CAAV;;AACA,QAAIqC,SAAJ,EAAe;AACX,aAAOF,OAAP;AACH;;AACD,WAAOD,MAAM,CAACvB,OAAD,EAAUwB,OAAV,EAAmBzB,QAAnB,EAA6BsB,KAA7B,CAAb;AACH,GAbM,CAAP;AAcH;;ACpBD;;;;;AAIA,AAAO,SAASO,YAAT,CAAsB5B,OAAtB,EAA+B;AAClC,SAAO;AACHoB,IAAAA,QAAQ,EAAEvB,MAAM,CAACgC,MAAP,CAAcT,QAAQ,CAACU,IAAT,CAAc,IAAd,EAAoB9B,OAApB,CAAd,EAA4C;AAClDD,MAAAA,QAAQ,EAAEA,QAAQ,CAAC+B,IAAT,CAAc,IAAd,EAAoB9B,OAApB;AADwC,KAA5C;AADP,GAAP;AAKH;AACD4B,YAAY,CAAC3C,OAAb,GAAuBA,OAAvB;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js deleted file mode 100644 index ef1bdb02ab..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js +++ /dev/null @@ -1,15 +0,0 @@ -import { VERSION } from "./version"; -import { paginate } from "./paginate"; -import { iterator } from "./iterator"; -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -export function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit), - }), - }; -} -paginateRest.VERSION = VERSION; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js deleted file mode 100644 index 092fabcdba..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js +++ /dev/null @@ -1,28 +0,0 @@ -import { normalizePaginatedListResponse } from "./normalize-paginated-list-response"; -export function iterator(octokit, route, parameters) { - const options = typeof route === "function" - ? route.endpoint(parameters) - : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - next() { - if (!url) { - return Promise.resolve({ done: true }); - } - return requestMethod({ method, url, headers }) - .then(normalizePaginatedListResponse) - .then((response) => { - // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - url = ((response.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; - return { value: response }; - }); - }, - }), - }; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js deleted file mode 100644 index d29c6777cf..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -export function normalizePaginatedListResponse(response) { - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) - return response; - // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - response.data.total_count = totalCount; - return response; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js deleted file mode 100644 index 8d18a60f17..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js +++ /dev/null @@ -1,24 +0,0 @@ -import { iterator } from "./iterator"; -export function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } - return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); -} -function gather(octokit, results, iterator, mapFn) { - return iterator.next().then((result) => { - if (result.done) { - return results; - } - let earlyExit = false; - function done() { - earlyExit = true; - } - results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); - if (earlyExit) { - return results; - } - return gather(octokit, results, iterator, mapFn); - }); -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js deleted file mode 100644 index e0ed0967ad..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "2.2.3"; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts deleted file mode 100644 index 7a15fe5edb..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts +++ /dev/null @@ -1,1197 +0,0 @@ -import { Endpoints } from "@octokit/types"; -export interface PaginatingEndpoints { - /** - * @see https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app - */ - "GET /app/installations": { - parameters: Endpoints["GET /app/installations"]["parameters"]; - response: Endpoints["GET /app/installations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#list-your-grants - */ - "GET /applications/grants": { - parameters: Endpoints["GET /applications/grants"]["parameters"]; - response: Endpoints["GET /applications/grants"]["response"]; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations - */ - "GET /authorizations": { - parameters: Endpoints["GET /authorizations"]["parameters"]; - response: Endpoints["GET /authorizations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gists-for-the-authenticated-user - */ - "GET /gists": { - parameters: Endpoints["GET /gists"]["parameters"]; - response: Endpoints["GET /gists"]["response"]; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#list-gist-comments - */ - "GET /gists/:gist_id/comments": { - parameters: Endpoints["GET /gists/:gist_id/comments"]["parameters"]; - response: Endpoints["GET /gists/:gist_id/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gist-commits - */ - "GET /gists/:gist_id/commits": { - parameters: Endpoints["GET /gists/:gist_id/commits"]["parameters"]; - response: Endpoints["GET /gists/:gist_id/commits"]["response"]; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gist-forks - */ - "GET /gists/:gist_id/forks": { - parameters: Endpoints["GET /gists/:gist_id/forks"]["parameters"]; - response: Endpoints["GET /gists/:gist_id/forks"]["response"]; - }; - /** - * @see https://developer.github.com/v3/gists/#list-public-gists - */ - "GET /gists/public": { - parameters: Endpoints["GET /gists/public"]["parameters"]; - response: Endpoints["GET /gists/public"]["response"]; - }; - /** - * @see https://developer.github.com/v3/gists/#list-starred-gists - */ - "GET /gists/starred": { - parameters: Endpoints["GET /gists/starred"]["parameters"]; - response: Endpoints["GET /gists/starred"]["response"]; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation - */ - "GET /installation/repositories": { - parameters: Endpoints["GET /installation/repositories"]["parameters"]; - response: Endpoints["GET /installation/repositories"]["response"] & { - data: Endpoints["GET /installation/repositories"]["response"]["data"]["repositories"]; - }; - }; - /** - * @see https://developer.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user - */ - "GET /issues": { - parameters: Endpoints["GET /issues"]["parameters"]; - response: Endpoints["GET /issues"]["response"]; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-plans - */ - "GET /marketplace_listing/plans": { - parameters: Endpoints["GET /marketplace_listing/plans"]["parameters"]; - response: Endpoints["GET /marketplace_listing/plans"]["response"]; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan - */ - "GET /marketplace_listing/plans/:plan_id/accounts": { - parameters: Endpoints["GET /marketplace_listing/plans/:plan_id/accounts"]["parameters"]; - response: Endpoints["GET /marketplace_listing/plans/:plan_id/accounts"]["response"]; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-plans-stubbed - */ - "GET /marketplace_listing/stubbed/plans": { - parameters: Endpoints["GET /marketplace_listing/stubbed/plans"]["parameters"]; - response: Endpoints["GET /marketplace_listing/stubbed/plans"]["response"]; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed - */ - "GET /marketplace_listing/stubbed/plans/:plan_id/accounts": { - parameters: Endpoints["GET /marketplace_listing/stubbed/plans/:plan_id/accounts"]["parameters"]; - response: Endpoints["GET /marketplace_listing/stubbed/plans/:plan_id/accounts"]["response"]; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user - */ - "GET /notifications": { - parameters: Endpoints["GET /notifications"]["parameters"]; - response: Endpoints["GET /notifications"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations - */ - "GET /organizations": { - parameters: Endpoints["GET /organizations"]["parameters"]; - response: Endpoints["GET /organizations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-an-organization - */ - "GET /orgs/:org/actions/runners": { - parameters: Endpoints["GET /orgs/:org/actions/runners"]["parameters"]; - response: Endpoints["GET /orgs/:org/actions/runners"]["response"] & { - data: Endpoints["GET /orgs/:org/actions/runners"]["response"]["data"]["runners"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-an-organization - */ - "GET /orgs/:org/actions/runners/downloads": { - parameters: Endpoints["GET /orgs/:org/actions/runners/downloads"]["parameters"]; - response: Endpoints["GET /orgs/:org/actions/runners/downloads"]["response"]; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-organization-secrets - */ - "GET /orgs/:org/actions/secrets": { - parameters: Endpoints["GET /orgs/:org/actions/secrets"]["parameters"]; - response: Endpoints["GET /orgs/:org/actions/secrets"]["response"] & { - data: Endpoints["GET /orgs/:org/actions/secrets"]["response"]["data"]["secrets"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret - */ - "GET /orgs/:org/actions/secrets/:secret_name/repositories": { - parameters: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["parameters"]; - response: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["response"] & { - data: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["response"]["data"]["repositories"]; - }; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization - */ - "GET /orgs/:org/blocks": { - parameters: Endpoints["GET /orgs/:org/blocks"]["parameters"]; - response: Endpoints["GET /orgs/:org/blocks"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization - */ - "GET /orgs/:org/credential-authorizations": { - parameters: Endpoints["GET /orgs/:org/credential-authorizations"]["parameters"]; - response: Endpoints["GET /orgs/:org/credential-authorizations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks - */ - "GET /orgs/:org/hooks": { - parameters: Endpoints["GET /orgs/:org/hooks"]["parameters"]; - response: Endpoints["GET /orgs/:org/hooks"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization - */ - "GET /orgs/:org/installations": { - parameters: Endpoints["GET /orgs/:org/installations"]["parameters"]; - response: Endpoints["GET /orgs/:org/installations"]["response"] & { - data: Endpoints["GET /orgs/:org/installations"]["response"]["data"]["installations"]; - }; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations - */ - "GET /orgs/:org/invitations": { - parameters: Endpoints["GET /orgs/:org/invitations"]["parameters"]; - response: Endpoints["GET /orgs/:org/invitations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-invitation-teams - */ - "GET /orgs/:org/invitations/:invitation_id/teams": { - parameters: Endpoints["GET /orgs/:org/invitations/:invitation_id/teams"]["parameters"]; - response: Endpoints["GET /orgs/:org/invitations/:invitation_id/teams"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user - */ - "GET /orgs/:org/issues": { - parameters: Endpoints["GET /orgs/:org/issues"]["parameters"]; - response: Endpoints["GET /orgs/:org/issues"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-members - */ - "GET /orgs/:org/members": { - parameters: Endpoints["GET /orgs/:org/members"]["parameters"]; - response: Endpoints["GET /orgs/:org/members"]["response"]; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#list-organization-migrations - */ - "GET /orgs/:org/migrations": { - parameters: Endpoints["GET /orgs/:org/migrations"]["parameters"]; - response: Endpoints["GET /orgs/:org/migrations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#list-repositories-in-an-organization-migration - */ - "GET /orgs/:org/migrations/:migration_id/repositories": { - parameters: Endpoints["GET /orgs/:org/migrations/:migration_id/repositories"]["parameters"]; - response: Endpoints["GET /orgs/:org/migrations/:migration_id/repositories"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization - */ - "GET /orgs/:org/outside_collaborators": { - parameters: Endpoints["GET /orgs/:org/outside_collaborators"]["parameters"]; - response: Endpoints["GET /orgs/:org/outside_collaborators"]["response"]; - }; - /** - * @see https://developer.github.com/v3/projects/#list-organization-projects - */ - "GET /orgs/:org/projects": { - parameters: Endpoints["GET /orgs/:org/projects"]["parameters"]; - response: Endpoints["GET /orgs/:org/projects"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-public-organization-members - */ - "GET /orgs/:org/public_members": { - parameters: Endpoints["GET /orgs/:org/public_members"]["parameters"]; - response: Endpoints["GET /orgs/:org/public_members"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/#list-organization-repositories - */ - "GET /orgs/:org/repos": { - parameters: Endpoints["GET /orgs/:org/repos"]["parameters"]; - response: Endpoints["GET /orgs/:org/repos"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-an-organization - */ - "GET /orgs/:org/team-sync/groups": { - parameters: Endpoints["GET /orgs/:org/team-sync/groups"]["parameters"]; - response: Endpoints["GET /orgs/:org/team-sync/groups"]["response"] & { - data: Endpoints["GET /orgs/:org/team-sync/groups"]["response"]["data"]["groups"]; - }; - }; - /** - * @see https://developer.github.com/v3/teams/#list-teams - */ - "GET /orgs/:org/teams": { - parameters: Endpoints["GET /orgs/:org/teams"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#list-discussions - */ - "GET /orgs/:org/teams/:team_slug/discussions": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/discussions"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations - */ - "GET /orgs/:org/teams/:team_slug/invitations": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/invitations"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/invitations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-team-members - */ - "GET /orgs/:org/teams/:team_slug/members": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/members"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/members"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-projects - */ - "GET /orgs/:org/teams/:team_slug/projects": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/projects"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/projects"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-repositories - */ - "GET /orgs/:org/teams/:team_slug/repos": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/repos"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/repos"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team - */ - "GET /orgs/:org/teams/:team_slug/team-sync/group-mappings": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/team-sync/group-mappings"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/team-sync/group-mappings"]["response"] & { - data: Endpoints["GET /orgs/:org/teams/:team_slug/team-sync/group-mappings"]["response"]["data"]["groups"]; - }; - }; - /** - * @see https://developer.github.com/v3/teams/#list-child-teams - */ - "GET /orgs/:org/teams/:team_slug/teams": { - parameters: Endpoints["GET /orgs/:org/teams/:team_slug/teams"]["parameters"]; - response: Endpoints["GET /orgs/:org/teams/:team_slug/teams"]["response"]; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#list-project-collaborators - */ - "GET /projects/:project_id/collaborators": { - parameters: Endpoints["GET /projects/:project_id/collaborators"]["parameters"]; - response: Endpoints["GET /projects/:project_id/collaborators"]["response"]; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#list-project-columns - */ - "GET /projects/:project_id/columns": { - parameters: Endpoints["GET /projects/:project_id/columns"]["parameters"]; - response: Endpoints["GET /projects/:project_id/columns"]["response"]; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#list-project-cards - */ - "GET /projects/columns/:column_id/cards": { - parameters: Endpoints["GET /projects/columns/:column_id/cards"]["parameters"]; - response: Endpoints["GET /projects/columns/:column_id/cards"]["response"]; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#list-artifacts-for-a-repository - */ - "GET /repos/:owner/:repo/actions/artifacts": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/artifacts"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/artifacts"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/actions/artifacts"]["response"]["data"]["artifacts"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runners": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/runners"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/runners"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/actions/runners"]["response"]["data"]["runners"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runners/downloads": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/runners/downloads"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/runners/downloads"]["response"]; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runs": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/runs"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/runs"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/actions/runs"]["response"]["data"]["workflow_runs"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#list-workflow-run-artifacts - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/artifacts": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/artifacts"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/artifacts"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/artifacts"]["response"]["data"]["artifacts"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#list-jobs-for-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/jobs": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/jobs"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/jobs"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/jobs"]["response"]["data"]["jobs"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-repository-secrets - */ - "GET /repos/:owner/:repo/actions/secrets": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/secrets"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/secrets"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/actions/secrets"]["response"]["data"]["secrets"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/workflows/#list-repository-workflows - */ - "GET /repos/:owner/:repo/actions/workflows": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/workflows"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/workflows"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/actions/workflows"]["response"]["data"]["workflows"]; - }; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs - */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs": { - parameters: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs"]["response"]["data"]["workflow_runs"]; - }; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#list-assignees - */ - "GET /repos/:owner/:repo/assignees": { - parameters: Endpoints["GET /repos/:owner/:repo/assignees"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/assignees"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-branches - */ - "GET /repos/:owner/:repo/branches": { - parameters: Endpoints["GET /repos/:owner/:repo/branches"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/branches"]["response"]; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-run-annotations - */ - "GET /repos/:owner/:repo/check-runs/:check_run_id/annotations": { - parameters: Endpoints["GET /repos/:owner/:repo/check-runs/:check_run_id/annotations"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/check-runs/:check_run_id/annotations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-runs-in-a-check-suite - */ - "GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs": { - parameters: Endpoints["GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs"]["response"]["data"]["check_runs"]; - }; - }; - /** - * @see https://developer.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository - */ - "GET /repos/:owner/:repo/code-scanning/alerts": { - parameters: Endpoints["GET /repos/:owner/:repo/code-scanning/alerts"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/code-scanning/alerts"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators - */ - "GET /repos/:owner/:repo/collaborators": { - parameters: Endpoints["GET /repos/:owner/:repo/collaborators"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/collaborators"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository - */ - "GET /repos/:owner/:repo/comments": { - parameters: Endpoints["GET /repos/:owner/:repo/comments"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment - */ - "GET /repos/:owner/:repo/comments/:comment_id/reactions": { - parameters: Endpoints["GET /repos/:owner/:repo/comments/:comment_id/reactions"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/comments/:comment_id/reactions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-commits - */ - "GET /repos/:owner/:repo/commits": { - parameters: Endpoints["GET /repos/:owner/:repo/commits"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/commits"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-branches-for-head-commit - */ - "GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head": { - parameters: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#list-commit-comments - */ - "GET /repos/:owner/:repo/commits/:commit_sha/comments": { - parameters: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/comments"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit - */ - "GET /repos/:owner/:repo/commits/:commit_sha/pulls": { - parameters: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/pulls"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/pulls"]["response"]; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-git-reference - */ - "GET /repos/:owner/:repo/commits/:ref/check-runs": { - parameters: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-runs"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-runs"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-runs"]["response"]["data"]["check_runs"]; - }; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-git-reference - */ - "GET /repos/:owner/:repo/commits/:ref/check-suites": { - parameters: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-suites"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-suites"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-suites"]["response"]["data"]["check_suites"]; - }; - }; - /** - * @see https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference - */ - "GET /repos/:owner/:repo/commits/:ref/statuses": { - parameters: Endpoints["GET /repos/:owner/:repo/commits/:ref/statuses"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref/statuses"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-contributors - */ - "GET /repos/:owner/:repo/contributors": { - parameters: Endpoints["GET /repos/:owner/:repo/contributors"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/contributors"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#list-deployments - */ - "GET /repos/:owner/:repo/deployments": { - parameters: Endpoints["GET /repos/:owner/:repo/deployments"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/deployments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#list-deployment-statuses - */ - "GET /repos/:owner/:repo/deployments/:deployment_id/statuses": { - parameters: Endpoints["GET /repos/:owner/:repo/deployments/:deployment_id/statuses"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/deployments/:deployment_id/statuses"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/forks/#list-forks - */ - "GET /repos/:owner/:repo/forks": { - parameters: Endpoints["GET /repos/:owner/:repo/forks"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/forks"]["response"]; - }; - /** - * @see https://developer.github.com/v3/git/refs/#list-matching-references - */ - "GET /repos/:owner/:repo/git/matching-refs/:ref": { - parameters: Endpoints["GET /repos/:owner/:repo/git/matching-refs/:ref"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/git/matching-refs/:ref"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#list-repository-webhooks - */ - "GET /repos/:owner/:repo/hooks": { - parameters: Endpoints["GET /repos/:owner/:repo/hooks"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/hooks"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations - */ - "GET /repos/:owner/:repo/invitations": { - parameters: Endpoints["GET /repos/:owner/:repo/invitations"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/invitations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/#list-repository-issues - */ - "GET /repos/:owner/:repo/issues": { - parameters: Endpoints["GET /repos/:owner/:repo/issues"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#list-issue-comments - */ - "GET /repos/:owner/:repo/issues/:issue_number/comments": { - parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/comments"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/events/#list-issue-events - */ - "GET /repos/:owner/:repo/issues/:issue_number/events": { - parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/events"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/events"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/labels"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/labels"]["response"]; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/reactions": { - parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/reactions"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/reactions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/timeline/#list-timeline-events-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/timeline": { - parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/timeline"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/timeline"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#list-issue-comments-for-a-repository - */ - "GET /repos/:owner/:repo/issues/comments": { - parameters: Endpoints["GET /repos/:owner/:repo/issues/comments"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment - */ - "GET /repos/:owner/:repo/issues/comments/:comment_id/reactions": { - parameters: Endpoints["GET /repos/:owner/:repo/issues/comments/:comment_id/reactions"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues/comments/:comment_id/reactions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/events/#list-issue-events-for-a-repository - */ - "GET /repos/:owner/:repo/issues/events": { - parameters: Endpoints["GET /repos/:owner/:repo/issues/events"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/issues/events"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#list-deploy-keys - */ - "GET /repos/:owner/:repo/keys": { - parameters: Endpoints["GET /repos/:owner/:repo/keys"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/keys"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-a-repository - */ - "GET /repos/:owner/:repo/labels": { - parameters: Endpoints["GET /repos/:owner/:repo/labels"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/labels"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-languages - */ - "GET /repos/:owner/:repo/languages": { - parameters: Endpoints["GET /repos/:owner/:repo/languages"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/languages"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#list-milestones - */ - "GET /repos/:owner/:repo/milestones": { - parameters: Endpoints["GET /repos/:owner/:repo/milestones"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/milestones"]["response"]; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-issues-in-a-milestone - */ - "GET /repos/:owner/:repo/milestones/:milestone_number/labels": { - parameters: Endpoints["GET /repos/:owner/:repo/milestones/:milestone_number/labels"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/milestones/:milestone_number/labels"]["response"]; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user - */ - "GET /repos/:owner/:repo/notifications": { - parameters: Endpoints["GET /repos/:owner/:repo/notifications"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/notifications"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#list-github-pages-builds - */ - "GET /repos/:owner/:repo/pages/builds": { - parameters: Endpoints["GET /repos/:owner/:repo/pages/builds"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pages/builds"]["response"]; - }; - /** - * @see https://developer.github.com/v3/projects/#list-repository-projects - */ - "GET /repos/:owner/:repo/projects": { - parameters: Endpoints["GET /repos/:owner/:repo/projects"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/projects"]["response"]; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-pull-requests - */ - "GET /repos/:owner/:repo/pulls": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls"]["response"]; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/comments": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/comments"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/commits": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/commits"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/commits"]["response"]; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-pull-requests-files - */ - "GET /repos/:owner/:repo/pulls/:pull_number/files": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/files"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/files"]["response"]; - }; - /** - * @see https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"] & { - data: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"]["data"]["users"]; - }; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews"]["response"]; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review - */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository - */ - "GET /repos/:owner/:repo/pulls/comments": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls/comments"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment - */ - "GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions": { - parameters: Endpoints["GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#list-releases - */ - "GET /repos/:owner/:repo/releases": { - parameters: Endpoints["GET /repos/:owner/:repo/releases"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/releases"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#list-release-assets - */ - "GET /repos/:owner/:repo/releases/:release_id/assets": { - parameters: Endpoints["GET /repos/:owner/:repo/releases/:release_id/assets"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/releases/:release_id/assets"]["response"]; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-stargazers - */ - "GET /repos/:owner/:repo/stargazers": { - parameters: Endpoints["GET /repos/:owner/:repo/stargazers"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/stargazers"]["response"]; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-watchers - */ - "GET /repos/:owner/:repo/subscribers": { - parameters: Endpoints["GET /repos/:owner/:repo/subscribers"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/subscribers"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-tags - */ - "GET /repos/:owner/:repo/tags": { - parameters: Endpoints["GET /repos/:owner/:repo/tags"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/tags"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-teams - */ - "GET /repos/:owner/:repo/teams": { - parameters: Endpoints["GET /repos/:owner/:repo/teams"]["parameters"]; - response: Endpoints["GET /repos/:owner/:repo/teams"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/#list-public-repositories - */ - "GET /repositories": { - parameters: Endpoints["GET /repositories"]["parameters"]; - response: Endpoints["GET /repositories"]["response"]; - }; - /** - * @see https://developer.github.com/v3/scim/#list-scim-provisioned-identities - */ - "GET /scim/v2/organizations/:org/Users": { - parameters: Endpoints["GET /scim/v2/organizations/:org/Users"]["parameters"]; - response: Endpoints["GET /scim/v2/organizations/:org/Users"]["response"] & { - data: Endpoints["GET /scim/v2/organizations/:org/Users"]["response"]["data"]["schemas"]; - }; - }; - /** - * @see https://developer.github.com/v3/search/#search-code - */ - "GET /search/code": { - parameters: Endpoints["GET /search/code"]["parameters"]; - response: Endpoints["GET /search/code"]["response"] & { - data: Endpoints["GET /search/code"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://developer.github.com/v3/search/#search-commits - */ - "GET /search/commits": { - parameters: Endpoints["GET /search/commits"]["parameters"]; - response: Endpoints["GET /search/commits"]["response"] & { - data: Endpoints["GET /search/commits"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://developer.github.com/v3/search/#search-issues-and-pull-requests - */ - "GET /search/issues": { - parameters: Endpoints["GET /search/issues"]["parameters"]; - response: Endpoints["GET /search/issues"]["response"] & { - data: Endpoints["GET /search/issues"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://developer.github.com/v3/search/#search-labels - */ - "GET /search/labels": { - parameters: Endpoints["GET /search/labels"]["parameters"]; - response: Endpoints["GET /search/labels"]["response"] & { - data: Endpoints["GET /search/labels"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://developer.github.com/v3/search/#search-repositories - */ - "GET /search/repositories": { - parameters: Endpoints["GET /search/repositories"]["parameters"]; - response: Endpoints["GET /search/repositories"]["response"] & { - data: Endpoints["GET /search/repositories"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://developer.github.com/v3/search/#search-topics - */ - "GET /search/topics": { - parameters: Endpoints["GET /search/topics"]["parameters"]; - response: Endpoints["GET /search/topics"]["response"] & { - data: Endpoints["GET /search/topics"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://developer.github.com/v3/search/#search-users - */ - "GET /search/users": { - parameters: Endpoints["GET /search/users"]["parameters"]; - response: Endpoints["GET /search/users"]["response"] & { - data: Endpoints["GET /search/users"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy - */ - "GET /teams/:team_id/discussions": { - parameters: Endpoints["GET /teams/:team_id/discussions"]["parameters"]; - response: Endpoints["GET /teams/:team_id/discussions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/comments": { - parameters: Endpoints["GET /teams/:team_id/discussions/:discussion_number/comments"]["parameters"]; - response: Endpoints["GET /teams/:team_id/discussions/:discussion_number/comments"]["response"]; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: Endpoints["GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"]["parameters"]; - response: Endpoints["GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/reactions": { - parameters: Endpoints["GET /teams/:team_id/discussions/:discussion_number/reactions"]["parameters"]; - response: Endpoints["GET /teams/:team_id/discussions/:discussion_number/reactions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy - */ - "GET /teams/:team_id/invitations": { - parameters: Endpoints["GET /teams/:team_id/invitations"]["parameters"]; - response: Endpoints["GET /teams/:team_id/invitations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-team-members-legacy - */ - "GET /teams/:team_id/members": { - parameters: Endpoints["GET /teams/:team_id/members"]["parameters"]; - response: Endpoints["GET /teams/:team_id/members"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-projects-legacy - */ - "GET /teams/:team_id/projects": { - parameters: Endpoints["GET /teams/:team_id/projects"]["parameters"]; - response: Endpoints["GET /teams/:team_id/projects"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-repositories-legacy - */ - "GET /teams/:team_id/repos": { - parameters: Endpoints["GET /teams/:team_id/repos"]["parameters"]; - response: Endpoints["GET /teams/:team_id/repos"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team-legacy - */ - "GET /teams/:team_id/team-sync/group-mappings": { - parameters: Endpoints["GET /teams/:team_id/team-sync/group-mappings"]["parameters"]; - response: Endpoints["GET /teams/:team_id/team-sync/group-mappings"]["response"] & { - data: Endpoints["GET /teams/:team_id/team-sync/group-mappings"]["response"]["data"]["groups"]; - }; - }; - /** - * @see https://developer.github.com/v3/teams/#list-child-teams-legacy - */ - "GET /teams/:team_id/teams": { - parameters: Endpoints["GET /teams/:team_id/teams"]["parameters"]; - response: Endpoints["GET /teams/:team_id/teams"]["response"]; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration - */ - "GET /user/:migration_id/repositories": { - parameters: Endpoints["GET /user/:migration_id/repositories"]["parameters"]; - response: Endpoints["GET /user/:migration_id/repositories"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user - */ - "GET /user/blocks": { - parameters: Endpoints["GET /user/blocks"]["parameters"]; - response: Endpoints["GET /user/blocks"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/emails/#list-email-addresses-for-the-authenticated-user - */ - "GET /user/emails": { - parameters: Endpoints["GET /user/emails"]["parameters"]; - response: Endpoints["GET /user/emails"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-followers-of-the-authenticated-user - */ - "GET /user/followers": { - parameters: Endpoints["GET /user/followers"]["parameters"]; - response: Endpoints["GET /user/followers"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-the-people-the-authenticated-user-follows - */ - "GET /user/following": { - parameters: Endpoints["GET /user/following"]["parameters"]; - response: Endpoints["GET /user/following"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-the-authenticated-user - */ - "GET /user/gpg_keys": { - parameters: Endpoints["GET /user/gpg_keys"]["parameters"]; - response: Endpoints["GET /user/gpg_keys"]["response"]; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token - */ - "GET /user/installations": { - parameters: Endpoints["GET /user/installations"]["parameters"]; - response: Endpoints["GET /user/installations"]["response"] & { - data: Endpoints["GET /user/installations"]["response"]["data"]["installations"]; - }; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token - */ - "GET /user/installations/:installation_id/repositories": { - parameters: Endpoints["GET /user/installations/:installation_id/repositories"]["parameters"]; - response: Endpoints["GET /user/installations/:installation_id/repositories"]["response"] & { - data: Endpoints["GET /user/installations/:installation_id/repositories"]["response"]["data"]["repositories"]; - }; - }; - /** - * @see https://developer.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user - */ - "GET /user/issues": { - parameters: Endpoints["GET /user/issues"]["parameters"]; - response: Endpoints["GET /user/issues"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/keys/#list-public-ssh-keys-for-the-authenticated-user - */ - "GET /user/keys": { - parameters: Endpoints["GET /user/keys"]["parameters"]; - response: Endpoints["GET /user/keys"]["response"]; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user - */ - "GET /user/marketplace_purchases": { - parameters: Endpoints["GET /user/marketplace_purchases"]["parameters"]; - response: Endpoints["GET /user/marketplace_purchases"]["response"]; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed - */ - "GET /user/marketplace_purchases/stubbed": { - parameters: Endpoints["GET /user/marketplace_purchases/stubbed"]["parameters"]; - response: Endpoints["GET /user/marketplace_purchases/stubbed"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user - */ - "GET /user/memberships/orgs": { - parameters: Endpoints["GET /user/memberships/orgs"]["parameters"]; - response: Endpoints["GET /user/memberships/orgs"]["response"]; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#list-user-migrations - */ - "GET /user/migrations": { - parameters: Endpoints["GET /user/migrations"]["parameters"]; - response: Endpoints["GET /user/migrations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user - */ - "GET /user/orgs": { - parameters: Endpoints["GET /user/orgs"]["parameters"]; - response: Endpoints["GET /user/orgs"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-the-authenticated-user - */ - "GET /user/public_emails": { - parameters: Endpoints["GET /user/public_emails"]["parameters"]; - response: Endpoints["GET /user/public_emails"]["response"]; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user - */ - "GET /user/repository_invitations": { - parameters: Endpoints["GET /user/repository_invitations"]["parameters"]; - response: Endpoints["GET /user/repository_invitations"]["response"]; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user - */ - "GET /user/starred": { - parameters: Endpoints["GET /user/starred"]["parameters"]; - response: Endpoints["GET /user/starred"]["response"]; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user - */ - "GET /user/subscriptions": { - parameters: Endpoints["GET /user/subscriptions"]["parameters"]; - response: Endpoints["GET /user/subscriptions"]["response"]; - }; - /** - * @see https://developer.github.com/v3/teams/#list-teams-for-the-authenticated-user - */ - "GET /user/teams": { - parameters: Endpoints["GET /user/teams"]["parameters"]; - response: Endpoints["GET /user/teams"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/#list-users - */ - "GET /users": { - parameters: Endpoints["GET /users"]["parameters"]; - response: Endpoints["GET /users"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-followers-of-a-user - */ - "GET /users/:username/followers": { - parameters: Endpoints["GET /users/:username/followers"]["parameters"]; - response: Endpoints["GET /users/:username/followers"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-the-people-a-user-follows - */ - "GET /users/:username/following": { - parameters: Endpoints["GET /users/:username/following"]["parameters"]; - response: Endpoints["GET /users/:username/following"]["response"]; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gists-for-a-user - */ - "GET /users/:username/gists": { - parameters: Endpoints["GET /users/:username/gists"]["parameters"]; - response: Endpoints["GET /users/:username/gists"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-a-user - */ - "GET /users/:username/gpg_keys": { - parameters: Endpoints["GET /users/:username/gpg_keys"]["parameters"]; - response: Endpoints["GET /users/:username/gpg_keys"]["response"]; - }; - /** - * @see https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user - */ - "GET /users/:username/keys": { - parameters: Endpoints["GET /users/:username/keys"]["parameters"]; - response: Endpoints["GET /users/:username/keys"]["response"]; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations-for-a-user - */ - "GET /users/:username/orgs": { - parameters: Endpoints["GET /users/:username/orgs"]["parameters"]; - response: Endpoints["GET /users/:username/orgs"]["response"]; - }; - /** - * @see https://developer.github.com/v3/projects/#list-user-projects - */ - "GET /users/:username/projects": { - parameters: Endpoints["GET /users/:username/projects"]["parameters"]; - response: Endpoints["GET /users/:username/projects"]["response"]; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-a-user - */ - "GET /users/:username/starred": { - parameters: Endpoints["GET /users/:username/starred"]["parameters"]; - response: Endpoints["GET /users/:username/starred"]["response"]; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-a-user - */ - "GET /users/:username/subscriptions": { - parameters: Endpoints["GET /users/:username/subscriptions"]["parameters"]; - response: Endpoints["GET /users/:username/subscriptions"]["response"]; - }; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts deleted file mode 100644 index 64f9c46b16..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { PaginateInterface } from "./types"; -export { PaginateInterface } from "./types"; -import { Octokit } from "@octokit/core"; -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -export declare function paginateRest(octokit: Octokit): { - paginate: PaginateInterface; -}; -export declare namespace paginateRest { - var VERSION: string; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts deleted file mode 100644 index 4df3cce7e6..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Octokit } from "@octokit/core"; -import { RequestInterface, OctokitResponse, RequestParameters, Route } from "./types"; -export declare function iterator(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters): { - [Symbol.asyncIterator]: () => { - next(): Promise<{ - done: boolean; - }> | Promise<{ - value: OctokitResponse; - }>; - }; -}; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts deleted file mode 100644 index f948a78f49..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -import { OctokitResponse } from "./types"; -export declare function normalizePaginatedListResponse(response: OctokitResponse): OctokitResponse; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts deleted file mode 100644 index 774c604149..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Octokit } from "@octokit/core"; -import { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types"; -export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise>; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts deleted file mode 100644 index d4a239ec65..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts +++ /dev/null @@ -1,123 +0,0 @@ -import * as OctokitTypes from "@octokit/types"; -export { EndpointOptions, RequestInterface, OctokitResponse, RequestParameters, Route, } from "@octokit/types"; -import { PaginatingEndpoints } from "./generated/paginating-endpoints"; -declare type KnownKeys = Extract<{ - [K in keyof T]: string extends K ? never : number extends K ? never : K; -} extends { - [_ in keyof T]: infer U; -} ? U : never, keyof T>; -declare type KeysMatching = { - [K in keyof T]: T[K] extends V ? K : never; -}[keyof T]; -declare type KnownKeysMatching = KeysMatching>, V>; -declare type GetResultsType = T extends { - data: any[]; -} ? T["data"] : T extends { - data: object; -} ? T["data"][KnownKeysMatching] : never; -declare type NormalizeResponse = T & { - data: GetResultsType; -}; -export interface MapFunction { - (response: OctokitTypes.OctokitResponse>, done: () => void): R[]; -} -export declare type PaginationResults = T[]; -export interface PaginateInterface { - /** - * Paginate a request using endpoint options and map each response to a custom array - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn Optional method to map each response to a custom array - */ - (options: OctokitTypes.EndpointOptions, mapFn: MapFunction): Promise>; - /** - * Paginate a request using endpoint options - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: OctokitTypes.EndpointOptions): Promise>; - /** - * Paginate a request using a known endpoint route string and map each response to a custom array - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {function} mapFn Optional method to map each response to a custom array - */ - (route: R, mapFn: (response: PaginatingEndpoints[R]["response"], done: () => void) => MR): Promise; - /** - * Paginate a request using a known endpoint route string and parameters, and map each response to a custom array - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} parameters URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn Optional method to map each response to a custom array - */ - (route: R, parameters: PaginatingEndpoints[R]["parameters"], mapFn: (response: PaginatingEndpoints[R]["response"], done: () => void) => MR): Promise; - /** - * Paginate a request using an known endpoint route string - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: R, parameters?: PaginatingEndpoints[R]["parameters"]): Promise; - /** - * Paginate a request using an unknown endpoint route string - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: R, parameters?: R extends keyof PaginatingEndpoints ? PaginatingEndpoints[R]["parameters"] : OctokitTypes.RequestParameters): Promise; - /** - * Paginate a request using an endpoint method and a map function - * - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {function} mapFn? Optional method to map each response to a custom array - */ - (request: R, mapFn: (response: NormalizeResponse>, done: () => void) => MR): Promise; - /** - * Paginate a request using an endpoint method, parameters, and a map function - * - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {object} parameters URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn? Optional method to map each response to a custom array - */ - (request: R, parameters: Parameters[0], mapFn: (response: NormalizeResponse>, done?: () => void) => MR): Promise; - /** - * Paginate a request using an endpoint method and parameters - * - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: R, parameters?: Parameters[0]): Promise>["data"]>; - iterator: { - /** - * Get an async iterator to paginate a request using endpoint options - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (EndpointOptions: OctokitTypes.EndpointOptions): AsyncIterableIterator>>; - /** - * Get an async iterator to paginate a request using a known endpoint route string and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: R, parameters?: PaginatingEndpoints[R]["parameters"]): AsyncIterableIterator>; - /** - * Get an async iterator to paginate a request using an unknown endpoint route string and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: R, parameters?: R extends keyof PaginatingEndpoints ? PaginatingEndpoints[R]["parameters"] : OctokitTypes.RequestParameters): AsyncIterableIterator>>; - /** - * Get an async iterator to paginate a request using a request method and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * @param {string} request `@octokit/request` or `octokit.request` method - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: R, parameters?: Parameters[0]): AsyncIterableIterator>>; - }; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts deleted file mode 100644 index 72d2e82f7d..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "2.2.3"; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js deleted file mode 100644 index dd26629b45..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js +++ /dev/null @@ -1,110 +0,0 @@ -const VERSION = "2.2.3"; - -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -function normalizePaginatedListResponse(response) { - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) - return response; - // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - response.data.total_count = totalCount; - return response; -} - -function iterator(octokit, route, parameters) { - const options = typeof route === "function" - ? route.endpoint(parameters) - : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - next() { - if (!url) { - return Promise.resolve({ done: true }); - } - return requestMethod({ method, url, headers }) - .then(normalizePaginatedListResponse) - .then((response) => { - // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - url = ((response.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; - return { value: response }; - }); - }, - }), - }; -} - -function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } - return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); -} -function gather(octokit, results, iterator, mapFn) { - return iterator.next().then((result) => { - if (result.done) { - return results; - } - let earlyExit = false; - function done() { - earlyExit = true; - } - results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); - if (earlyExit) { - return results; - } - return gather(octokit, results, iterator, mapFn); - }); -} - -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit), - }), - }; -} -paginateRest.VERSION = VERSION; - -export { paginateRest }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map b/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map deleted file mode 100644 index f732a7d4df..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/normalize-paginated-list-response.js","../dist-src/iterator.js","../dist-src/paginate.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.2.3\";\n","/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nexport function normalizePaginatedListResponse(response) {\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\n","import { normalizePaginatedListResponse } from \"./normalize-paginated-list-response\";\nexport function iterator(octokit, route, parameters) {\n const options = typeof route === \"function\"\n ? route.endpoint(parameters)\n : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n next() {\n if (!url) {\n return Promise.resolve({ done: true });\n }\n return requestMethod({ method, url, headers })\n .then(normalizePaginatedListResponse)\n .then((response) => {\n // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n url = ((response.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return { value: response };\n });\n },\n }),\n };\n}\n","import { iterator } from \"./iterator\";\nexport function paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator, mapFn);\n });\n}\n","import { VERSION } from \"./version\";\nimport { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit),\n }),\n };\n}\npaginateRest.VERSION = VERSION;\n"],"names":[],"mappings":"AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACA1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,SAAS,8BAA8B,CAAC,QAAQ,EAAE;AACzD,IAAI,MAAM,0BAA0B,GAAG,aAAa,IAAI,QAAQ,CAAC,IAAI,IAAI,EAAE,KAAK,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;AACnG,IAAI,IAAI,CAAC,0BAA0B;AACnC,QAAQ,OAAO,QAAQ,CAAC;AACxB;AACA;AACA,IAAI,MAAM,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC;AAC/D,IAAI,MAAM,mBAAmB,GAAG,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC;AACnE,IAAI,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC;AACjD,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC;AAC5C,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC;AAC9C,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC;AACrC,IAAI,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACvD,IAAI,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAC7C,IAAI,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;AACzB,IAAI,IAAI,OAAO,iBAAiB,KAAK,WAAW,EAAE;AAClD,QAAQ,QAAQ,CAAC,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;AAC7D,KAAK;AACL,IAAI,IAAI,OAAO,mBAAmB,KAAK,WAAW,EAAE;AACpD,QAAQ,QAAQ,CAAC,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;AACjE,KAAK;AACL,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;AAC3C,IAAI,OAAO,QAAQ,CAAC;AACpB,CAAC;;ACtCM,SAAS,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE;AACrD,IAAI,MAAM,OAAO,GAAG,OAAO,KAAK,KAAK,UAAU;AAC/C,UAAU,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;AACpC,UAAU,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AACtD,IAAI,MAAM,aAAa,GAAG,OAAO,KAAK,KAAK,UAAU,GAAG,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC;AAChF,IAAI,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;AAClC,IAAI,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACpC,IAAI,IAAI,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;AAC1B,IAAI,OAAO;AACX,QAAQ,CAAC,MAAM,CAAC,aAAa,GAAG,OAAO;AACvC,YAAY,IAAI,GAAG;AACnB,gBAAgB,IAAI,CAAC,GAAG,EAAE;AAC1B,oBAAoB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;AAC3D,iBAAiB;AACjB,gBAAgB,OAAO,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC9D,qBAAqB,IAAI,CAAC,8BAA8B,CAAC;AACzD,qBAAqB,IAAI,CAAC,CAAC,QAAQ,KAAK;AACxC;AACA;AACA;AACA,oBAAoB,GAAG,GAAG,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,EAAE,KAAK,CAAC,yBAAyB,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;AACpG,oBAAoB,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAC/C,iBAAiB,CAAC,CAAC;AACnB,aAAa;AACb,SAAS,CAAC;AACV,KAAK,CAAC;AACN,CAAC;;AC1BM,SAAS,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE;AAC5D,IAAI,IAAI,OAAO,UAAU,KAAK,UAAU,EAAE;AAC1C,QAAQ,KAAK,GAAG,UAAU,CAAC;AAC3B,QAAQ,UAAU,GAAG,SAAS,CAAC;AAC/B,KAAK;AACL,IAAI,OAAO,MAAM,CAAC,OAAO,EAAE,EAAE,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;AACpG,CAAC;AACD,SAAS,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;AACnD,IAAI,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK;AAC5C,QAAQ,IAAI,MAAM,CAAC,IAAI,EAAE;AACzB,YAAY,OAAO,OAAO,CAAC;AAC3B,SAAS;AACT,QAAQ,IAAI,SAAS,GAAG,KAAK,CAAC;AAC9B,QAAQ,SAAS,IAAI,GAAG;AACxB,YAAY,SAAS,GAAG,IAAI,CAAC;AAC7B,SAAS;AACT,QAAQ,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACxF,QAAQ,IAAI,SAAS,EAAE;AACvB,YAAY,OAAO,OAAO,CAAC;AAC3B,SAAS;AACT,QAAQ,OAAO,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AACzD,KAAK,CAAC,CAAC;AACP,CAAC;;ACpBD;AACA;AACA;AACA;AACA,AAAO,SAAS,YAAY,CAAC,OAAO,EAAE;AACtC,IAAI,OAAO;AACX,QAAQ,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE;AAC9D,YAAY,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC;AAClD,SAAS,CAAC;AACV,KAAK,CAAC;AACN,CAAC;AACD,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-paginate-rest/package.json b/node_modules/@octokit/plugin-paginate-rest/package.json deleted file mode 100644 index 6ca2e6964a..0000000000 --- a/node_modules/@octokit/plugin-paginate-rest/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "@octokit/plugin-paginate-rest", - "description": "Octokit plugin to paginate REST API endpoint responses", - "version": "2.2.3", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit" - ], - "repository": "https://github.com/octokit/plugin-paginate-rest.js", - "dependencies": { - "@octokit/types": "^5.0.0" - }, - "devDependencies": { - "@octokit/core": "^3.0.0", - "@octokit/plugin-rest-endpoint-methods": "^4.0.0", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.3.1", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.4", - "fetch-mock": "^9.0.0", - "jest": "^26.0.1", - "npm-run-all": "^4.1.5", - "prettier": "^2.0.4", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^26.0.0", - "typescript": "^3.7.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.3.tgz" -,"_integrity": "sha512-eKTs91wXnJH8Yicwa30jz6DF50kAh7vkcqCQ9D7/tvBAP5KKkg6I2nNof8Mp/65G0Arjsb4QcOJcIEQY+rK1Rg==" -,"_from": "@octokit/plugin-paginate-rest@2.2.3" -} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-request-log/LICENSE b/node_modules/@octokit/plugin-request-log/LICENSE deleted file mode 100644 index d7d59275c3..0000000000 --- a/node_modules/@octokit/plugin-request-log/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -MIT License Copyright (c) 2020 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@octokit/plugin-request-log/README.md b/node_modules/@octokit/plugin-request-log/README.md deleted file mode 100644 index 151886b3a9..0000000000 --- a/node_modules/@octokit/plugin-request-log/README.md +++ /dev/null @@ -1,70 +0,0 @@ -# plugin-request-log.js - -> Log all requests and request errors - -[![@latest](https://img.shields.io/npm/v/@octokit/plugin-request-log.svg)](https://www.npmjs.com/package/@octokit/plugin-request-log) -[![Build Status](https://github.com/octokit/plugin-request-log.js/workflows/Test/badge.svg)](https://github.com/octokit/plugin-request-log.js/actions?workflow=Test) -[![Greenkeeper](https://badges.greenkeeper.io/octokit/plugin-request-log.js.svg)](https://greenkeeper.io/) - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/plugin-request-log` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.pika.dev](https://cdn.pika.dev) - -```html - -``` - -
-Node - - -Install with `npm install @octokit/core @octokit/plugin-request-log`. Optionally replace `@octokit/core` with a core-compatible module - -```js -const { Octokit } = require("@octokit/core"); -const { requestLog } = require("@octokit/plugin-request-log"); -``` - -
- -```js -const MyOctokit = Octokit.plugin(requestLog); -const octokit = new MyOctokit({ auth: "secret123" }); - -octokit.request("GET /"); -// logs "GET / - 200 in 123ms - -octokit.request("GET /oops"); -// logs "GET / - 404 in 123ms -``` - -In order to log all request options, the `log.debug` option needs to be set. We recommend the [console-log-level](https://github.com/watson/console-log-level) package for a configurable log level - -```js -const octokit = new MyOctokit({ - log: require("console-log-level")({ - auth: "secret123", - level: "info" - }) -}); -``` - -## Contributing - -See [CONTRIBUTING.md](CONTRIBUTING.md) - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/plugin-request-log/dist-node/index.js b/node_modules/@octokit/plugin-request-log/dist-node/index.js deleted file mode 100644 index 83c09ef99b..0000000000 --- a/node_modules/@octokit/plugin-request-log/dist-node/index.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -const VERSION = "1.0.0"; - -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ - -function requestLog(octokit) { - octokit.hook.wrap("request", (request, options) => { - octokit.log.debug("request", options); - const start = Date.now(); - const requestOptions = octokit.request.endpoint.parse(options); - const path = requestOptions.url.replace(options.baseUrl, ""); - return request(options).then(response => { - octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`); - return response; - }).catch(error => { - octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - start}ms`); - throw error; - }); - }); -} -requestLog.VERSION = VERSION; - -exports.requestLog = requestLog; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-request-log/dist-node/index.js.map b/node_modules/@octokit/plugin-request-log/dist-node/index.js.map deleted file mode 100644 index 3d13ca222e..0000000000 --- a/node_modules/@octokit/plugin-request-log/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"1.0.0\";\n","import { VERSION } from \"./version\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options)\n .then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n })\n .catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() -\n start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n"],"names":["VERSION","requestLog","octokit","hook","wrap","request","options","log","debug","start","Date","now","requestOptions","endpoint","parse","path","url","replace","baseUrl","then","response","info","method","status","catch","error"],"mappings":";;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACCP;;;;;AAIA,AAAO,SAASC,UAAT,CAAoBC,OAApB,EAA6B;AAChCA,EAAAA,OAAO,CAACC,IAAR,CAAaC,IAAb,CAAkB,SAAlB,EAA6B,CAACC,OAAD,EAAUC,OAAV,KAAsB;AAC/CJ,IAAAA,OAAO,CAACK,GAAR,CAAYC,KAAZ,CAAkB,SAAlB,EAA6BF,OAA7B;AACA,UAAMG,KAAK,GAAGC,IAAI,CAACC,GAAL,EAAd;AACA,UAAMC,cAAc,GAAGV,OAAO,CAACG,OAAR,CAAgBQ,QAAhB,CAAyBC,KAAzB,CAA+BR,OAA/B,CAAvB;AACA,UAAMS,IAAI,GAAGH,cAAc,CAACI,GAAf,CAAmBC,OAAnB,CAA2BX,OAAO,CAACY,OAAnC,EAA4C,EAA5C,CAAb;AACA,WAAOb,OAAO,CAACC,OAAD,CAAP,CACFa,IADE,CACGC,QAAQ,IAAI;AAClBlB,MAAAA,OAAO,CAACK,GAAR,CAAYc,IAAZ,CAAkB,GAAET,cAAc,CAACU,MAAO,IAAGP,IAAK,MAAKK,QAAQ,CAACG,MAAO,OAAMb,IAAI,CAACC,GAAL,KAAaF,KAAM,IAAhG;AACA,aAAOW,QAAP;AACH,KAJM,EAKFI,KALE,CAKIC,KAAK,IAAI;AAChBvB,MAAAA,OAAO,CAACK,GAAR,CAAYc,IAAZ,CAAkB,GAAET,cAAc,CAACU,MAAO,IAAGP,IAAK,MAAKU,KAAK,CAACF,MAAO,OAAMb,IAAI,CAACC,GAAL,KACtEF,KAAM,IADV;AAEA,YAAMgB,KAAN;AACH,KATM,CAAP;AAUH,GAfD;AAgBH;AACDxB,UAAU,CAACD,OAAX,GAAqBA,OAArB;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-request-log/dist-src/index.js b/node_modules/@octokit/plugin-request-log/dist-src/index.js deleted file mode 100644 index aa849220d9..0000000000 --- a/node_modules/@octokit/plugin-request-log/dist-src/index.js +++ /dev/null @@ -1,24 +0,0 @@ -import { VERSION } from "./version"; -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -export function requestLog(octokit) { - octokit.hook.wrap("request", (request, options) => { - octokit.log.debug("request", options); - const start = Date.now(); - const requestOptions = octokit.request.endpoint.parse(options); - const path = requestOptions.url.replace(options.baseUrl, ""); - return request(options) - .then(response => { - octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`); - return response; - }) - .catch(error => { - octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - - start}ms`); - throw error; - }); - }); -} -requestLog.VERSION = VERSION; diff --git a/node_modules/@octokit/plugin-request-log/dist-src/version.js b/node_modules/@octokit/plugin-request-log/dist-src/version.js deleted file mode 100644 index aa2575bab8..0000000000 --- a/node_modules/@octokit/plugin-request-log/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "1.0.0"; diff --git a/node_modules/@octokit/plugin-request-log/dist-types/index.d.ts b/node_modules/@octokit/plugin-request-log/dist-types/index.d.ts deleted file mode 100644 index 5c28712b9c..0000000000 --- a/node_modules/@octokit/plugin-request-log/dist-types/index.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Octokit } from "@octokit/core"; -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -export declare function requestLog(octokit: Octokit): void; -export declare namespace requestLog { - var VERSION: string; -} diff --git a/node_modules/@octokit/plugin-request-log/dist-types/version.d.ts b/node_modules/@octokit/plugin-request-log/dist-types/version.d.ts deleted file mode 100644 index 5743c2ab51..0000000000 --- a/node_modules/@octokit/plugin-request-log/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "1.0.0"; diff --git a/node_modules/@octokit/plugin-request-log/dist-web/index.js b/node_modules/@octokit/plugin-request-log/dist-web/index.js deleted file mode 100644 index 9c06f702fa..0000000000 --- a/node_modules/@octokit/plugin-request-log/dist-web/index.js +++ /dev/null @@ -1,28 +0,0 @@ -const VERSION = "1.0.0"; - -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -function requestLog(octokit) { - octokit.hook.wrap("request", (request, options) => { - octokit.log.debug("request", options); - const start = Date.now(); - const requestOptions = octokit.request.endpoint.parse(options); - const path = requestOptions.url.replace(options.baseUrl, ""); - return request(options) - .then(response => { - octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`); - return response; - }) - .catch(error => { - octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - - start}ms`); - throw error; - }); - }); -} -requestLog.VERSION = VERSION; - -export { requestLog }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-request-log/dist-web/index.js.map b/node_modules/@octokit/plugin-request-log/dist-web/index.js.map deleted file mode 100644 index 59145b1dc7..0000000000 --- a/node_modules/@octokit/plugin-request-log/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"1.0.0\";\n","import { VERSION } from \"./version\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options)\n .then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n })\n .catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() -\n start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n"],"names":[],"mappings":"AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACC1C;AACA;AACA;AACA;AACA,AAAO,SAAS,UAAU,CAAC,OAAO,EAAE;AACpC,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK;AACvD,QAAQ,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAC9C,QAAQ,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;AACjC,QAAQ,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AACvE,QAAQ,MAAM,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;AACrE,QAAQ,OAAO,OAAO,CAAC,OAAO,CAAC;AAC/B,aAAa,IAAI,CAAC,QAAQ,IAAI;AAC9B,YAAY,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;AACjH,YAAY,OAAO,QAAQ,CAAC;AAC5B,SAAS,CAAC;AACV,aAAa,KAAK,CAAC,KAAK,IAAI;AAC5B,YAAY,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE;AAChG,gBAAgB,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;AAC3B,YAAY,MAAM,KAAK,CAAC;AACxB,SAAS,CAAC,CAAC;AACX,KAAK,CAAC,CAAC;AACP,CAAC;AACD,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-request-log/package.json b/node_modules/@octokit/plugin-request-log/package.json deleted file mode 100644 index dde789f3cd..0000000000 --- a/node_modules/@octokit/plugin-request-log/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "@octokit/plugin-request-log", - "description": "Log all requests and request errors", - "version": "1.0.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit" - ], - "repository": "https://github.com/octokit/plugin-request-log.js", - "dependencies": {}, - "devDependencies": { - "@octokit/core": "^2.1.2", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.8.1", - "@pika/plugin-build-web": "^0.8.1", - "@pika/plugin-ts-standard-pkg": "^0.8.1", - "@types/fetch-mock": "^7.3.2", - "@types/jest": "^24.0.25", - "@types/node": "^13.1.6", - "fetch-mock": "^8.3.1", - "jest": "^24.9.0", - "prettier": "^1.19.1", - "semantic-release": "^16.0.1", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^24.3.0", - "typescript": "^3.7.4" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz" -,"_integrity": "sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw==" -,"_from": "@octokit/plugin-request-log@1.0.0" -} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE b/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE deleted file mode 100644 index 57bee5f182..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -MIT License Copyright (c) 2019 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/README.md b/node_modules/@octokit/plugin-rest-endpoint-methods/README.md deleted file mode 100644 index 5168abfb36..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/README.md +++ /dev/null @@ -1,72 +0,0 @@ -# plugin-rest-endpoint-methods.js - -> Octokit plugin adding one method for all of api.github.com REST API endpoints - -[![@latest](https://img.shields.io/npm/v/@octokit/plugin-rest-endpoint-methods.svg)](https://www.npmjs.com/package/@octokit/plugin-rest-endpoint-methods) -[![Build Status](https://github.com/octokit/plugin-rest-endpoint-methods.js/workflows/Test/badge.svg)](https://github.com/octokit/plugin-rest-endpoint-methods.js/actions?workflow=Test) - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/plugin-rest-endpoint-methods` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.pika.dev](https://cdn.pika.dev) - -```html - -``` - -
-Node - - -Install with `npm install @octokit/core @octokit/plugin-rest-endpoint-methods`. Optionally replace `@octokit/core` with a compatible module - -```js -const { Octokit } = require("@octokit/core"); -const { - restEndpointMethods, -} = require("@octokit/plugin-rest-endpoint-methods"); -``` - -
- -```js -const MyOctokit = Octokit.plugin(restEndpointMethods); -const octokit = new MyOctokit({ auth: "secret123" }); - -// https://developer.github.com/v3/users/#get-the-authenticated-user -octokit.users.getAuthenticated(); -``` - -There is one method for each REST API endpoint documented at [https://developer.github.com/v3](https://developer.github.com/v3). All endpoint methods are documented in the [docs/](docs/) folder, e.g. [docs/users/getAuthenticated.md](docs/users/getAuthenticated.md) - -## TypeScript - -Parameter and response types for all endpoint methods exported as `{ RestEndpointMethodTypes }`. - -Example - -```ts -import { RestEndpointMethodTypes } from "@octokit/rest-endpoint-methods"; - -type UpdateLabelParameters = RestEndpointMethodTypes["issues"]["updateLabel"]["parameters"]; -type UpdateLabelResponse = RestEndpointMethodTypes["issues"]["updateLabel"]["response"]; -``` - -## Contributing - -See [CONTRIBUTING.md](CONTRIBUTING.md) - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js deleted file mode 100644 index 22dd15aed2..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js +++ /dev/null @@ -1,1751 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -const Endpoints = { - actions: { - addSelectedRepoToOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], - cancelWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: ["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { - renamedParameters: { - name: "secret_name" - } - }], - createOrUpdateSecretForRepo: ["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { - renamed: ["actions", "createOrUpdateRepoSecret"], - renamedParameters: { - name: "secret_name" - } - }], - createRegistrationToken: ["POST /repos/{owner}/{repo}/actions/runners/registration-token", {}, { - renamed: ["actions", "createRegistrationTokenForRepo"] - }], - createRegistrationTokenForOrg: ["POST /orgs/{org}/actions/runners/registration-token"], - createRegistrationTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/registration-token"], - createRemoveToken: ["POST /repos/{owner}/{repo}/actions/runners/remove-token", {}, { - renamed: ["actions", "createRemoveTokenForRepo"] - }], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/remove-token"], - deleteArtifact: ["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteRepoSecret: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { - renamedParameters: { - name: "secret_name" - } - }], - deleteSecretFromRepo: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { - renamed: ["actions", "deleteRepoSecret"], - renamedParameters: { - name: "secret_name" - } - }], - deleteSelfHostedRunnerFromOrg: ["DELETE /orgs/{org}/actions/runners/{runner_id}"], - deleteSelfHostedRunnerFromRepo: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"], - deleteWorkflowRunLogs: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], - downloadArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"], - downloadJobLogsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"], - downloadWorkflowJobLogs: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", {}, { - renamed: ["actions", "downloadJobLogsForWorkflowRun"] - }], - downloadWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key", {}, { - renamed: ["actions", "getRepoPublicKey"] - }], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { - renamedParameters: { - name: "secret_name" - } - }], - getSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { - renamed: ["actions", "getRepoSecret"], - renamedParameters: { - name: "secret_name" - } - }], - getSelfHostedRunner: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}", {}, { - renamed: ["actions", "getSelfHostedRunnerForRepo"] - }], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowJob: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}", {}, { - renamed: ["actions", "getJobForWorkflowRun"] - }], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"], - getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listDownloadsForSelfHostedRunnerApplication: ["GET /repos/{owner}/{repo}/actions/runners/downloads", {}, { - renamed: ["actions", "listRunnerApplicationsForRepo"] - }], - listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/runs", {}, { - renamed: ["actions", "listWorkflowRunsForRepo"] - }], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: ["GET /repos/{owner}/{repo}/actions/runners/downloads"], - listSecretsForRepo: ["GET /repos/{owner}/{repo}/actions/secrets", {}, { - renamed: ["actions", "listRepoSecrets"] - }], - listSelectedReposForOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowJobLogs: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", {}, { - renamed: ["actions", "downloadWorkflowJobLogs"] - }], - listWorkflowRunArtifacts: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"], - listWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs", {}, { - renamed: ["actions", "downloadWorkflowRunLogs"] - }], - listWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], - removeSelfHostedRunner: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", {}, { - renamed: ["actions", "deleteSelfHostedRunnerFromRepo"] - }], - setSelectedReposForOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"] - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - checkStarringRepo: ["GET /user/starred/{owner}/{repo}", {}, { - renamed: ["activity", "checkRepoIsStarredByAuthenticatedUser"] - }], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: ["DELETE /notifications/threads/{thread_id}/subscription"], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscription: ["PUT /notifications", {}, { - renamed: ["activity", "getThreadSubscriptionForAuthenticatedUser"] - }], - getThreadSubscriptionForAuthenticatedUser: ["GET /notifications/threads/{thread_id}/subscription"], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listEventsForOrg: ["GET /users/{username}/events/orgs/{org}", {}, { - renamed: ["activity", "listOrgEventsForAuthenticatedUser"] - }], - listEventsForUser: ["GET /users/{username}/events", {}, { - renamed: ["activity", "listEventsForAuthenticatedUser"] - }], - listFeeds: ["GET /feeds", {}, { - renamed: ["activity", "getFeeds"] - }], - listNotifications: ["GET /notifications", {}, { - renamed: ["activity", "listNotificationsForAuthenticatedUser"] - }], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listNotificationsForRepo: ["GET /repos/{owner}/{repo}/notifications", {}, { - renamed: ["activity", "listRepoNotificationsForAuthenticatedUser"] - }], - listOrgEventsForAuthenticatedUser: ["GET /users/{username}/events/orgs/{org}"], - listPublicEvents: ["GET /events"], - listPublicEventsForOrg: ["GET /orgs/{org}/events", {}, { - renamed: ["activity", "listPublicOrgEvents"] - }], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: ["GET /users/{username}/received_events/public"], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: ["GET /repos/{owner}/{repo}/notifications"], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markAsRead: ["PUT /notifications", {}, { - renamed: ["activity", "markNotificationsAsRead"] - }], - markNotificationsAsRead: ["PUT /notifications"], - markNotificationsAsReadForRepo: ["PUT /repos/{owner}/{repo}/notifications", {}, { - renamed: ["activity", "markRepoNotificationsAsRead"] - }], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: ["PUT /notifications/threads/{thread_id}/subscription"], - starRepo: ["PUT /user/starred/{owner}/{repo}", {}, { - renamed: ["activity", "starRepoForAuthenticatedUser"] - }], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepo: ["DELETE /user/starred/{owner}/{repo}", {}, { - renamed: ["activity", "unstarRepoForAuthenticatedUser"] - }], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"] - }, - apps: { - addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}", { - mediaType: { - previews: ["machine-man"] - } - }], - checkAccountIsAssociatedWithAny: ["GET /marketplace_listing/accounts/{account_id}", {}, { - renamed: ["apps", "getSubscriptionPlanForAccount"] - }], - checkAccountIsAssociatedWithAnyStubbed: ["GET /marketplace_listing/stubbed/accounts/{account_id}", {}, { - renamed: ["apps", "getSubscriptionPlanForAccountStubbed"] - }], - checkToken: ["POST /applications/{client_id}/token"], - createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", { - mediaType: { - previews: ["corsair"] - } - }], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: ["POST /app/installations/{installation_id}/access_tokens", { - mediaType: { - previews: ["machine-man"] - } - }], - createInstallationToken: ["POST /app/installations/{installation_id}/access_tokens", { - mediaType: { - previews: ["machine-man"] - } - }, { - renamed: ["apps", "createInstallationAccessToken"] - }], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: ["DELETE /app/installations/{installation_id}", { - mediaType: { - previews: ["machine-man"] - } - }], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: ["GET /app", { - mediaType: { - previews: ["machine-man"] - } - }], - getBySlug: ["GET /apps/{app_slug}", { - mediaType: { - previews: ["machine-man"] - } - }], - getInstallation: ["GET /app/installations/{installation_id}", { - mediaType: { - previews: ["machine-man"] - } - }], - getOrgInstallation: ["GET /orgs/{org}/installation", { - mediaType: { - previews: ["machine-man"] - } - }], - getRepoInstallation: ["GET /repos/{owner}/{repo}/installation", { - mediaType: { - previews: ["machine-man"] - } - }], - getSubscriptionPlanForAccount: ["GET /marketplace_listing/accounts/{account_id}"], - getSubscriptionPlanForAccountStubbed: ["GET /marketplace_listing/stubbed/accounts/{account_id}"], - getUserInstallation: ["GET /users/{username}/installation", { - mediaType: { - previews: ["machine-man"] - } - }], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"], - listAccountsUserOrOrgOnPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts", {}, { - renamed: ["apps", "listAccountsForPlan"] - }], - listAccountsUserOrOrgOnPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", {}, { - renamed: ["apps", "listAccountsForPlanStubbed"] - }], - listInstallationReposForAuthenticatedUser: ["GET /user/installations/{installation_id}/repositories", { - mediaType: { - previews: ["machine-man"] - } - }], - listInstallations: ["GET /app/installations", { - mediaType: { - previews: ["machine-man"] - } - }], - listInstallationsForAuthenticatedUser: ["GET /user/installations", { - mediaType: { - previews: ["machine-man"] - } - }], - listMarketplacePurchasesForAuthenticatedUser: ["GET /user/marketplace_purchases", {}, { - renamed: ["apps", "listSubscriptionsForAuthenticatedUser"] - }], - listMarketplacePurchasesForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed", {}, { - renamed: ["apps", "listSubscriptionsForAuthenticatedUserStubbed"] - }], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listRepos: ["GET /installation/repositories", { - mediaType: { - previews: ["machine-man"] - } - }, { - renamed: ["apps", "listReposAccessibleToInstallation"] - }], - listReposAccessibleToInstallation: ["GET /installation/repositories", { - mediaType: { - previews: ["machine-man"] - } - }], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed"], - removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}", { - mediaType: { - previews: ["machine-man"] - } - }], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - revokeInstallationToken: ["DELETE /installation/token", {}, { - renamed: ["apps", "revokeInstallationAccessToken"] - }], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: ["DELETE /app/installations/{installation_id}/suspended"] - }, - checks: { - create: ["POST /repos/{owner}/{repo}/check-runs", { - mediaType: { - previews: ["antiope"] - } - }], - createSuite: ["POST /repos/{owner}/{repo}/check-suites", { - mediaType: { - previews: ["antiope"] - } - }], - get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}", { - mediaType: { - previews: ["antiope"] - } - }], - getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}", { - mediaType: { - previews: ["antiope"] - } - }], - listAnnotations: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", { - mediaType: { - previews: ["antiope"] - } - }], - listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs", { - mediaType: { - previews: ["antiope"] - } - }], - listForSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", { - mediaType: { - previews: ["antiope"] - } - }], - listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites", { - mediaType: { - previews: ["antiope"] - } - }], - rerequestSuite: ["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", { - mediaType: { - previews: ["antiope"] - } - }], - setSuitesPreferences: ["PATCH /repos/{owner}/{repo}/check-suites/preferences", { - mediaType: { - previews: ["antiope"] - } - }], - update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}", { - mediaType: { - previews: ["antiope"] - } - }] - }, - codeScanning: { - getAlert: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"] - }, - codesOfConduct: { - getAllCodesOfConduct: ["GET /codes_of_conduct", { - mediaType: { - previews: ["scarlet-witch"] - } - }], - getConductCode: ["GET /codes_of_conduct/{key}", { - mediaType: { - previews: ["scarlet-witch"] - } - }], - getForRepo: ["GET /repos/{owner}/{repo}/community/code_of_conduct", { - mediaType: { - previews: ["scarlet-witch"] - } - }], - listConductCodes: ["GET /codes_of_conduct", { - mediaType: { - previews: ["scarlet-witch"] - } - }, { - renamed: ["codesOfConduct", "getAllCodesOfConduct"] - }] - }, - emojis: { - get: ["GET /emojis"] - }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listPublicForUser: ["GET /users/{username}/gists", {}, { - renamed: ["gists", "listForUser"] - }], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"] - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"] - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"], - listTemplates: ["GET /gitignore/templates", {}, { - renamed: ["gitignore", "getAllTemplates"] - }] - }, - interactions: { - addOrUpdateRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits", { - mediaType: { - previews: ["sombra"] - } - }, { - renamed: ["interactions", "setRestrictionsForOrg"] - }], - addOrUpdateRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits", { - mediaType: { - previews: ["sombra"] - } - }, { - renamed: ["interactions", "setRestrictionsForRepo"] - }], - getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits", { - mediaType: { - previews: ["sombra"] - } - }], - getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits", { - mediaType: { - previews: ["sombra"] - } - }], - removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits", { - mediaType: { - previews: ["sombra"] - } - }], - removeRestrictionsForRepo: ["DELETE /repos/{owner}/{repo}/interaction-limits", { - mediaType: { - previews: ["sombra"] - } - }], - setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits", { - mediaType: { - previews: ["sombra"] - } - }], - setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits", { - mediaType: { - previews: ["sombra"] - } - }] - }, - issues: { - addAssignees: ["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkAssignee: ["GET /repos/{owner}/{repo}/assignees/{assignee}", {}, { - renamed: ["issues", "checkUserCanBeAssigned"] - }], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: ["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: ["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: ["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", { - mediaType: { - previews: ["mockingbird"] - } - }], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - listMilestonesForRepo: ["GET /repos/{owner}/{repo}/milestones", {}, { - renamed: ["issues", "listMilestones"] - }], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"], - removeAssignees: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"], - removeLabel: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"], - removeLabels: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels", {}, { - renamed: ["issues", "removeAllLabels"] - }], - replaceAllLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels", {}, { - renamed: ["issues", "setLabels"] - }], - replaceLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels", {}, { - renamed: ["issues", "replaceAllLabels"] - }], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: ["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"] - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"], - listCommonlyUsed: ["GET /licenses", {}, { - renamed: ["licenses", "getAllCommonlyUsed"] - }] - }, - markdown: { - render: ["POST /markdown"], - renderRaw: ["POST /markdown/raw", { - headers: { - "content-type": "text/plain; charset=utf-8" - } - }] - }, - meta: { - get: ["GET /meta"] - }, - migrations: { - cancelImport: ["DELETE /repos/{owner}/{repo}/import"], - deleteArchiveForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - deleteArchiveForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - downloadArchiveForOrg: ["GET /orgs/{org}/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - getArchiveForAuthenticatedUser: ["GET /user/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], - getImportProgress: ["GET /repos/{owner}/{repo}/import", {}, { - renamed: ["migrations", "getImportStatus"] - }], - getImportStatus: ["GET /repos/{owner}/{repo}/import"], - getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], - getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}", { - mediaType: { - previews: ["wyandotte"] - } - }], - getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}", { - mediaType: { - previews: ["wyandotte"] - } - }], - listForAuthenticatedUser: ["GET /user/migrations", { - mediaType: { - previews: ["wyandotte"] - } - }], - listForOrg: ["GET /orgs/{org}/migrations", { - mediaType: { - previews: ["wyandotte"] - } - }], - listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories", { - mediaType: { - previews: ["wyandotte"] - } - }], - listReposForUser: ["GET /user/{migration_id}/repositories", { - mediaType: { - previews: ["wyandotte"] - } - }], - mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], - setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: ["PUT /repos/{owner}/{repo}/import"], - unlockRepoForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", { - mediaType: { - previews: ["wyandotte"] - } - }], - unlockRepoForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", { - mediaType: { - previews: ["wyandotte"] - } - }], - updateImport: ["PATCH /repos/{owner}/{repo}/import"] - }, - orgs: { - addOrUpdateMembership: ["PUT /orgs/{org}/memberships/{username}", {}, { - renamed: ["orgs", "setMembershipForUser"] - }], - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembership: ["GET /orgs/{org}/members/{username}", {}, { - renamed: ["orgs", "checkMembershipForUser"] - }], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembership: ["GET /orgs/{org}/public_members/{username}", {}, { - renamed: ["orgs", "checkPublicMembershipForUser"] - }], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - concealMembership: ["DELETE /orgs/{org}/public_members/{username}", {}, { - renamed: ["orgs", "removePublicMembershipForAuthenticatedUser"] - }], - convertMemberToOutsideCollaborator: ["PUT /orgs/{org}/outside_collaborators/{username}"], - createHook: ["POST /orgs/{org}/hooks", {}, { - renamed: ["orgs", "createWebhook"] - }], - createInvitation: ["POST /orgs/{org}/invitations"], - createWebhook: ["POST /orgs/{org}/hooks"], - deleteHook: ["DELETE /orgs/{org}/hooks/{hook_id}", {}, { - renamed: ["orgs", "deleteWebhook"] - }], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - get: ["GET /orgs/{org}"], - getHook: ["GET /orgs/{org}/hooks/{hook_id}", {}, { - renamed: ["orgs", "getWebhook"] - }], - getMembership: ["GET /orgs/{org}/memberships/{username}", {}, { - renamed: ["orgs", "getMembershipForUser"] - }], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - list: ["GET /organizations"], - listAppInstallations: ["GET /orgs/{org}/installations", { - mediaType: { - previews: ["machine-man"] - } - }], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listHooks: ["GET /orgs/{org}/hooks", {}, { - renamed: ["orgs", "listWebhooks"] - }], - listInstallations: ["GET /orgs/{org}/installations", { - mediaType: { - previews: ["machine-man"] - } - }, { - renamed: ["orgs", "listAppInstallations"] - }], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMemberships: ["GET /user/memberships/orgs", {}, { - renamed: ["orgs", "listMembershipsForAuthenticatedUser"] - }], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingHook: ["POST /orgs/{org}/hooks/{hook_id}/pings", {}, { - renamed: ["orgs", "pingWebhook"] - }], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - publicizeMembership: ["PUT /orgs/{org}/public_members/{username}", {}, { - renamed: ["orgs", "setPublicMembershipForAuthenticatedUser"] - }], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembership: ["DELETE /orgs/{org}/memberships/{username}", {}, { - renamed: ["orgs", "removeMembershipForUser"] - }], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: ["DELETE /orgs/{org}/outside_collaborators/{username}"], - removePublicMembershipForAuthenticatedUser: ["DELETE /orgs/{org}/public_members/{username}"], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: ["PUT /orgs/{org}/public_members/{username}"], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateHook: ["PATCH /orgs/{org}/hooks/{hook_id}", {}, { - renamed: ["orgs", "updateWebhook"] - }], - updateMembership: ["PATCH /user/memberships/orgs/{org}", {}, { - renamed: ["orgs", "updateMembershipForAuthenticatedUser"] - }], - updateMembershipForAuthenticatedUser: ["PATCH /user/memberships/orgs/{org}"], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"] - }, - projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}", { - mediaType: { - previews: ["inertia"] - } - }], - createCard: ["POST /projects/columns/{column_id}/cards", { - mediaType: { - previews: ["inertia"] - } - }], - createColumn: ["POST /projects/{project_id}/columns", { - mediaType: { - previews: ["inertia"] - } - }], - createForAuthenticatedUser: ["POST /user/projects", { - mediaType: { - previews: ["inertia"] - } - }], - createForOrg: ["POST /orgs/{org}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - createForRepo: ["POST /repos/{owner}/{repo}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - delete: ["DELETE /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - deleteCard: ["DELETE /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - deleteColumn: ["DELETE /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }], - get: ["GET /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getCard: ["GET /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getColumn: ["GET /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getPermissionForUser: ["GET /projects/{project_id}/collaborators/{username}/permission", { - mediaType: { - previews: ["inertia"] - } - }], - listCards: ["GET /projects/columns/{column_id}/cards", { - mediaType: { - previews: ["inertia"] - } - }], - listCollaborators: ["GET /projects/{project_id}/collaborators", { - mediaType: { - previews: ["inertia"] - } - }], - listColumns: ["GET /projects/{project_id}/columns", { - mediaType: { - previews: ["inertia"] - } - }], - listForOrg: ["GET /orgs/{org}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listForRepo: ["GET /repos/{owner}/{repo}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listForUser: ["GET /users/{username}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - moveCard: ["POST /projects/columns/cards/{card_id}/moves", { - mediaType: { - previews: ["inertia"] - } - }], - moveColumn: ["POST /projects/columns/{column_id}/moves", { - mediaType: { - previews: ["inertia"] - } - }], - removeCollaborator: ["DELETE /projects/{project_id}/collaborators/{username}", { - mediaType: { - previews: ["inertia"] - } - }], - reviewUserPermissionLevel: ["GET /projects/{project_id}/collaborators/{username}/permission", { - mediaType: { - previews: ["inertia"] - } - }, { - renamed: ["projects", "getPermissionForUser"] - }], - update: ["PATCH /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - updateCard: ["PATCH /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - updateColumn: ["PATCH /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }] - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments", {}, { - renamed: ["pulls", "createReviewComment"] - }], - createReplyForReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"], - createReviewCommentReply: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", {}, { - renamed: ["pulls", "createReplyForReviewComment"] - }], - createReviewRequest: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", {}, { - renamed: ["pulls", "requestReviewers"] - }], - deleteComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}", {}, { - renamed: ["pulls", "deleteReviewComment"] - }], - deletePendingReview: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - deleteReviewComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - deleteReviewRequest: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", {}, { - renamed: ["pulls", "removeRequestedReviewers"] - }], - dismissReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}", {}, { - renamed: ["pulls", "getReviewComment"] - }], - getCommentsForReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", {}, { - renamed: ["pulls", "listCommentsForReview"] - }], - getReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listComments: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", {}, { - renamed: ["pulls", "listReviewComments"] - }], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments", {}, { - renamed: ["pulls", "listReviewCommentsForRepo"] - }], - listCommentsForReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - listReviewComments: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviewRequests: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", {}, { - renamed: ["pulls", "listRequestedReviewers"] - }], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - requestReviewers: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - submitReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", { - mediaType: { - previews: ["lydian"] - } - }], - updateComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}", {}, { - renamed: ["pulls", "updateReviewComment"] - }], - updateReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - updateReviewComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"] - }, - rateLimit: { - get: ["GET /rate_limit"] - }, - reactions: { - createForCommitComment: ["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForIssue: ["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForIssueComment: ["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForPullRequestReviewComment: ["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForTeamDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForTeamDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - delete: ["DELETE /reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }, { - renamed: ["reactions", "deleteLegacy"] - }], - deleteForCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForIssue: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForIssueComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForPullRequestComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForTeamDiscussion: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForTeamDiscussionComment: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteLegacy: ["DELETE /reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }, { - deprecated: "octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy" - }], - listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForIssueComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForPullRequestReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForTeamDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForTeamDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }] - }, - repos: { - acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], - addAppAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addDeployKey: ["POST /repos/{owner}/{repo}/keys", {}, { - renamed: ["repos", "createDeployKey"] - }], - addProtectedBranchAdminEnforcement: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", {}, { - renamed: ["repos", "setAdminBranchProtection"] - }], - addProtectedBranchAppRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps", - renamed: ["repos", "addAppAccessRestrictions"] - }], - addProtectedBranchRequiredSignatures: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }, { - renamed: ["repos", "createCommitSignatureProtection"] - }], - addProtectedBranchRequiredStatusChecksContexts: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts", - renamed: ["repos", "addStatusCheckContexts"] - }], - addProtectedBranchTeamRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams", - renamed: ["repos", "addTeamAccessRestrictions"] - }], - addProtectedBranchUserRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users", - renamed: ["repos", "addUserAccessRestrictions"] - }], - addStatusCheckContexts: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - addTeamAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - addUserAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: ["GET /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"], - createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentStatus: ["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createHook: ["POST /repos/{owner}/{repo}/hooks", {}, { - renamed: ["repos", "createWebhook"] - }], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateFile: ["PUT /repos/{owner}/{repo}/contents/{path}", {}, { - renamed: ["repos", "createOrUpdateFileContents"] - }], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createPagesSite: ["POST /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}", {}, { - renamed: ["repos", "createCommitStatus"] - }], - createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate", { - mediaType: { - previews: ["baptiste"] - } - }], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], - deleteAdminBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - deleteBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"], - deleteDownload: ["DELETE /repos/{owner}/{repo}/downloads/{download_id}"], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteHook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}", {}, { - renamed: ["repos", "deleteWebhook"] - }], - deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"], - deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }], - deletePullRequestReviewProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: ["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: ["DELETE /repos/{owner}/{repo}/automated-security-fixes", { - mediaType: { - previews: ["london"] - } - }], - disablePagesSite: ["DELETE /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }, { - renamed: ["repos", "deletePagesSite"] - }], - disableVulnerabilityAlerts: ["DELETE /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - downloadArchive: ["GET /repos/{owner}/{repo}/{archive_format}/{ref}"], - enableAutomatedSecurityFixes: ["PUT /repos/{owner}/{repo}/automated-security-fixes", { - mediaType: { - previews: ["london"] - } - }], - enablePagesSite: ["POST /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }, { - renamed: ["repos", "createPagesSite"] - }], - enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], - getAdminBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - getAllStatusCheckContexts: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"], - getAllTopics: ["GET /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }], - getAppsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"], - getArchiveLink: ["GET /repos/{owner}/{repo}/{archive_format}/{ref}", {}, { - renamed: ["repos", "downloadArchive"] - }], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection"], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: ["GET /repos/{owner}/{repo}/collaborators/{username}/permission"], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContents: ["GET /repos/{owner}/{repo}/contents/{path}", {}, { - renamed: ["repos", "getContent"] - }], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentStatus: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"], - getDownload: ["GET /repos/{owner}/{repo}/downloads/{download_id}"], - getHook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}", {}, { - renamed: ["repos", "getWebhook"] - }], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getProtectedBranchAdminEnforcement: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", {}, { - renamed: ["repos", "getAdminBranchProtection"] - }], - getProtectedBranchPullRequestReviewEnforcement: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", {}, { - renamed: ["repos", "getPullRequestReviewProtection"] - }], - getProtectedBranchRequiredSignatures: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }, { - renamed: ["repos", "getCommitSignatureProtection"] - }], - getProtectedBranchRequiredStatusChecks: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, { - renamed: ["repos", "getStatusChecksProtection"] - }], - getProtectedBranchRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", {}, { - renamed: ["repos", "getAccessRestrictions"] - }], - getPullRequestReviewProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getStatusChecksProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - getTeamsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - list: ["GET /user/repos", {}, { - renamed: ["repos", "listForAuthenticatedUser"] - }], - listAssetsForRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}/assets", {}, { - renamed: ["repos", "listReleaseAssets"] - }], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", { - mediaType: { - previews: ["groot"] - } - }], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"], - listCommitComments: ["GET /repos/{owner}/{repo}/comments", {}, { - renamed: ["repos", "listCommitCommentsForRepo"] - }], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/statuses"], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentStatuses: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listDownloads: ["GET /repos/{owner}/{repo}/downloads"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listHooks: ["GET /repos/{owner}/{repo}/hooks", {}, { - renamed: ["repos", "listWebhooks"] - }], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listProtectedBranchRequiredStatusChecksContexts: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - renamed: ["repos", "getAllStatusCheckContexts"] - }], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", { - mediaType: { - previews: ["groot"] - } - }], - listReleaseAssets: ["GET /repos/{owner}/{repo}/releases/{release_id}/assets"], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listStatusesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/statuses", {}, { - renamed: ["repos", "listCommitStatusesForRef"] - }], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listTopics: ["GET /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }, { - renamed: ["repos", "getAllTopics"] - }], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - pingHook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings", {}, { - renamed: ["repos", "pingWebhook"] - }], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - removeAppAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - removeBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection", {}, { - renamed: ["repos", "deleteBranchProtection"] - }], - removeCollaborator: ["DELETE /repos/{owner}/{repo}/collaborators/{username}"], - removeDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}", {}, { - renamed: ["repos", "deleteDeployKey"] - }], - removeProtectedBranchAdminEnforcement: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", {}, { - renamed: ["repos", "deleteAdminBranchProtection"] - }], - removeProtectedBranchAppRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps", - renamed: ["repos", "removeAppAccessRestrictions"] - }], - removeProtectedBranchPullRequestReviewEnforcement: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", {}, { - renamed: ["repos", "deletePullRequestReviewProtection"] - }], - removeProtectedBranchRequiredSignatures: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }, { - renamed: ["repos", "deleteCommitSignatureProtection"] - }], - removeProtectedBranchRequiredStatusChecks: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, { - renamed: ["repos", "removeStatusChecksProtection"] - }], - removeProtectedBranchRequiredStatusChecksContexts: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts", - renamed: ["repos", "removeStatusCheckContexts"] - }], - removeProtectedBranchRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", {}, { - renamed: ["repos", "deleteAccessRestrictions"] - }], - removeProtectedBranchTeamRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams", - renamed: ["repos", "removeTeamAccessRestrictions"] - }], - removeProtectedBranchUserRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users", - renamed: ["repos", "removeUserAccessRestrictions"] - }], - removeStatusCheckContexts: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - removeStatusCheckProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - removeTeamAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - removeUserAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }], - replaceProtectedBranchAppRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps", - renamed: ["repos", "setAppAccessRestrictions"] - }], - replaceProtectedBranchRequiredStatusChecksContexts: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts", - renamed: ["repos", "setStatusCheckContexts"] - }], - replaceProtectedBranchTeamRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams", - renamed: ["repos", "setTeamAccessRestrictions"] - }], - replaceProtectedBranchUserRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users", - renamed: ["repos", "setUserAccessRestrictions"] - }], - replaceTopics: ["PUT /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }, { - renamed: ["repos", "replaceAllTopics"] - }], - requestPageBuild: ["POST /repos/{owner}/{repo}/pages/builds", {}, { - renamed: ["repos", "requestPagesBuild"] - }], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - retrieveCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile", {}, { - renamed: ["repos", "getCommunityProfileMetrics"] - }], - setAdminBranchProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - setAppAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - setStatusCheckContexts: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - setTeamAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - setUserAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - testPushHook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests", {}, { - renamed: ["repos", "testPushWebhook"] - }], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection"], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateHook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}", {}, { - renamed: ["repos", "updateWebhook"] - }], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: ["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"], - updateProtectedBranchPullRequestReviewEnforcement: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", {}, { - renamed: ["repos", "updatePullRequestReviewProtection"] - }], - updateProtectedBranchRequiredStatusChecks: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, { - renamed: ["repos", "updateStatusChecksProtection"] - }], - updatePullRequestReviewProtection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: ["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"], - updateStatusCheckPotection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - uploadReleaseAsset: ["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", { - baseUrl: "https://uploads.github.com" - }] - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits", { - mediaType: { - previews: ["cloak"] - } - }], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics"], - users: ["GET /search/users"] - }, - teams: { - addOrUpdateMembershipForUserInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"], - addOrUpdateMembershipInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}", {}, { - renamed: ["teams", "addOrUpdateMembershipForUserInOrg"] - }], - addOrUpdateProjectInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }, { - renamed: ["teams", "addOrUpdateProjectPermissionsInOrg"] - }], - addOrUpdateProjectPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - addOrUpdateRepoInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", {}, { - renamed: ["teams", "addOrUpdateRepoPermissionsInOrg"] - }], - addOrUpdateRepoPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - checkManagesRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", {}, { - renamed: ["teams", "checkPermissionsForRepoInOrg"] - }], - checkPermissionsForProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - checkPermissionsForRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - deleteDiscussionInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - getDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - getMembershipForUserInOrg: ["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"], - getMembershipInOrg: ["GET /orgs/{org}/teams/{team_slug}/memberships/{username}", {}, { - renamed: ["teams", "getMembershipForUserInOrg"] - }], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: ["GET /orgs/{org}/teams/{team_slug}/invitations"], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"], - removeMembershipInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}", {}, { - renamed: ["teams", "removeMembershipForUserInOrg"] - }], - removeProjectInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"], - removeRepoInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - reviewProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }, { - renamed: ["teams", "checkPermissionsForProjectInOrg"] - }], - updateDiscussionCommentInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - updateDiscussionInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"] - }, - users: { - addEmailForAuthenticated: ["POST /user/emails"], - addEmails: ["POST /user/emails", {}, { - renamed: ["users", "addEmailsForAuthenticated"] - }], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowing: ["GET /user/following/{username}", {}, { - renamed: ["users", "checkPersonIsFollowedByAuthenticated"] - }], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKey: ["POST /user/gpg_keys", {}, { - renamed: ["users", "createGpgKeyForAuthenticated"] - }], - createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], - createPublicKey: ["POST /user/keys", {}, { - renamed: ["users", "createPublicSshKeyForAuthenticated"] - }], - createPublicSshKeyForAuthenticated: ["POST /user/keys"], - deleteEmailForAuthenticated: ["DELETE /user/emails"], - deleteEmails: ["DELETE /user/emails", {}, { - renamed: ["users", "deleteEmailsForAuthenticated"] - }], - deleteGpgKey: ["DELETE /user/gpg_keys/{gpg_key_id}", {}, { - renamed: ["users", "deleteGpgKeyForAuthenticated"] - }], - deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicKey: ["DELETE /user/keys/{key_id}", {}, { - renamed: ["users", "deletePublicSshKeyForAuthenticated"] - }], - deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKey: ["GET /user/gpg_keys/{gpg_key_id}", {}, { - renamed: ["users", "getGpgKeyForAuthenticated"] - }], - getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicKey: ["GET /user/keys/{key_id}", {}, { - renamed: ["users", "getPublicSshKeyForAuthenticated"] - }], - getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], - list: ["GET /users"], - listBlocked: ["GET /user/blocks", {}, { - renamed: ["users", "listBlockedByAuthenticated"] - }], - listBlockedByAuthenticated: ["GET /user/blocks"], - listEmails: ["GET /user/emails", {}, { - renamed: ["users", "listEmailsForAuthenticated"] - }], - listEmailsForAuthenticated: ["GET /user/emails"], - listFollowedByAuthenticated: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForAuthenticatedUser: ["GET /user/following", {}, { - renamed: ["users", "listFollowedByAuthenticated"] - }], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeys: ["GET /user/gpg_keys", {}, { - renamed: ["users", "listGpgKeysForAuthenticated"] - }], - listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmails: ["GET /user/public_emails", {}, { - renamed: ["users", "listPublicEmailsForAuthenticatedUser"] - }], - listPublicEmailsForAuthenticated: ["GET /user/public_emails"], - listPublicKeys: ["GET /user/keys", {}, { - renamed: ["users", "listPublicSshKeysForAuthenticated"] - }], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: ["GET /user/keys"], - setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], - togglePrimaryEmailVisibility: ["PATCH /user/email/visibility", {}, { - renamed: ["users", "setPrimaryEmailVisibilityForAuthenticated"] - }], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"] - } -}; - -const VERSION = "3.17.0"; - -function endpointsToMethods(octokit, endpointsMap) { - const newMethods = {}; - - for (const [scope, endpoints] of Object.entries(endpointsMap)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign({ - method, - url - }, defaults); - - if (!newMethods[scope]) { - newMethods[scope] = {}; - } - - const scopeMethods = newMethods[scope]; - - if (decorations) { - scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); - continue; - } - - scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); - } - } - - return newMethods; -} - -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - - function withDecorations(...args) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData` - - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: undefined - }); - return requestWithDefaults(options); - } // NOTE: there are currently no deprecations. But we keep the code - // below for future reference - - - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); - } - - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - - if (decorations.renamedParameters) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - const options = requestWithDefaults.endpoint.merge(...args); - - for (const [name, alias] of Object.entries(decorations.renamedParameters)) { - // There is currently no deprecated parameter that is optional, - // so we never hit the else branch below at this point. - - /* istanbul ignore else */ - if (name in options) { - octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); - - if (!(alias in options)) { - options[alias] = options[name]; - } - - delete options[name]; - } - } - - return requestWithDefaults(options); - } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - - - return requestWithDefaults(...args); - } - - return Object.assign(withDecorations, requestWithDefaults); -} - -/** - * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary - * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is - * done, we will remove the registerEndpoints methods and return the methods - * directly as with the other plugins. At that point we will also remove the - * legacy workarounds and deprecations. - * - * See the plan at - * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 - */ - -function restEndpointMethods(octokit) { - return endpointsToMethods(octokit, Endpoints); -} -restEndpointMethods.VERSION = VERSION; - -exports.restEndpointMethods = restEndpointMethods; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map deleted file mode 100644 index ef0b4556b5..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/generated/endpoints.js","../dist-src/version.js","../dist-src/endpoints-to-methods.js","../dist-src/index.js"],"sourcesContent":["const Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n cancelWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\",\n ],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n createOrUpdateSecretForRepo: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"createOrUpdateRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n createRegistrationToken: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n {},\n { renamed: [\"actions\", \"createRegistrationTokenForRepo\"] },\n ],\n createRegistrationTokenForOrg: [\n \"POST /orgs/{org}/actions/runners/registration-token\",\n ],\n createRegistrationTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n ],\n createRemoveToken: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n {},\n { renamed: [\"actions\", \"createRemoveTokenForRepo\"] },\n ],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n ],\n deleteArtifact: [\n \"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\",\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n deleteSecretFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"deleteRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n deleteSelfHostedRunnerFromOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}\",\n ],\n deleteSelfHostedRunnerFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n deleteWorkflowRunLogs: [\n \"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n downloadArtifact: [\n \"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\",\n ],\n downloadJobLogsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n ],\n downloadWorkflowJobLogs: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadJobLogsForWorkflowRun\"] },\n ],\n downloadWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPublicKey: [\n \"GET /repos/{owner}/{repo}/actions/secrets/public-key\",\n {},\n { renamed: [\"actions\", \"getRepoPublicKey\"] },\n ],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\n \"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n getSecret: [\n \"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"getRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n getSelfHostedRunner: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n {},\n { renamed: [\"actions\", \"getSelfHostedRunnerForRepo\"] },\n ],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowJob: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\",\n {},\n { renamed: [\"actions\", \"getJobForWorkflowRun\"] },\n ],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunUsage: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\",\n ],\n getWorkflowUsage: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\",\n ],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listDownloadsForSelfHostedRunnerApplication: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n {},\n { renamed: [\"actions\", \"listRunnerApplicationsForRepo\"] },\n ],\n listJobsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n ],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/runs\",\n {},\n { renamed: [\"actions\", \"listWorkflowRunsForRepo\"] },\n ],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n ],\n listSecretsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/secrets\",\n {},\n { renamed: [\"actions\", \"listRepoSecrets\"] },\n ],\n listSelectedReposForOrgSecret: [\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowJobLogs: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadWorkflowJobLogs\"] },\n ],\n listWorkflowRunArtifacts: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n ],\n listWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadWorkflowRunLogs\"] },\n ],\n listWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n ],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n removeSelectedRepoFromOrgSecret: [\n \"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n removeSelfHostedRunner: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n {},\n { renamed: [\"actions\", \"deleteSelfHostedRunnerFromRepo\"] },\n ],\n setSelectedReposForOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n checkStarringRepo: [\n \"GET /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"checkRepoIsStarredByAuthenticatedUser\"] },\n ],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\n \"DELETE /notifications/threads/{thread_id}/subscription\",\n ],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscription: [\n \"PUT /notifications\",\n {},\n { renamed: [\"activity\", \"getThreadSubscriptionForAuthenticatedUser\"] },\n ],\n getThreadSubscriptionForAuthenticatedUser: [\n \"GET /notifications/threads/{thread_id}/subscription\",\n ],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listEventsForOrg: [\n \"GET /users/{username}/events/orgs/{org}\",\n {},\n { renamed: [\"activity\", \"listOrgEventsForAuthenticatedUser\"] },\n ],\n listEventsForUser: [\n \"GET /users/{username}/events\",\n {},\n { renamed: [\"activity\", \"listEventsForAuthenticatedUser\"] },\n ],\n listFeeds: [\"GET /feeds\", {}, { renamed: [\"activity\", \"getFeeds\"] }],\n listNotifications: [\n \"GET /notifications\",\n {},\n { renamed: [\"activity\", \"listNotificationsForAuthenticatedUser\"] },\n ],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listNotificationsForRepo: [\n \"GET /repos/{owner}/{repo}/notifications\",\n {},\n { renamed: [\"activity\", \"listRepoNotificationsForAuthenticatedUser\"] },\n ],\n listOrgEventsForAuthenticatedUser: [\n \"GET /users/{username}/events/orgs/{org}\",\n ],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForOrg: [\n \"GET /orgs/{org}/events\",\n {},\n { renamed: [\"activity\", \"listPublicOrgEvents\"] },\n ],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\n \"GET /users/{username}/received_events/public\",\n ],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/notifications\",\n ],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markAsRead: [\n \"PUT /notifications\",\n {},\n { renamed: [\"activity\", \"markNotificationsAsRead\"] },\n ],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markNotificationsAsReadForRepo: [\n \"PUT /repos/{owner}/{repo}/notifications\",\n {},\n { renamed: [\"activity\", \"markRepoNotificationsAsRead\"] },\n ],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\n \"PUT /notifications/threads/{thread_id}/subscription\",\n ],\n starRepo: [\n \"PUT /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"starRepoForAuthenticatedUser\"] },\n ],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepo: [\n \"DELETE /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"unstarRepoForAuthenticatedUser\"] },\n ],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"],\n },\n apps: {\n addRepoToInstallation: [\n \"PUT /user/installations/{installation_id}/repositories/{repository_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n checkAccountIsAssociatedWithAny: [\n \"GET /marketplace_listing/accounts/{account_id}\",\n {},\n { renamed: [\"apps\", \"getSubscriptionPlanForAccount\"] },\n ],\n checkAccountIsAssociatedWithAnyStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\",\n {},\n { renamed: [\"apps\", \"getSubscriptionPlanForAccountStubbed\"] },\n ],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createContentAttachment: [\n \"POST /content_references/{content_reference_id}/attachments\",\n { mediaType: { previews: [\"corsair\"] } },\n ],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\n \"POST /app/installations/{installation_id}/access_tokens\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n createInstallationToken: [\n \"POST /app/installations/{installation_id}/access_tokens\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"apps\", \"createInstallationAccessToken\"] },\n ],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\n \"DELETE /app/installations/{installation_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\n \"GET /app\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getBySlug: [\n \"GET /apps/{app_slug}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getInstallation: [\n \"GET /app/installations/{installation_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getOrgInstallation: [\n \"GET /orgs/{org}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getRepoInstallation: [\n \"GET /repos/{owner}/{repo}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getSubscriptionPlanForAccount: [\n \"GET /marketplace_listing/accounts/{account_id}\",\n ],\n getSubscriptionPlanForAccountStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\",\n ],\n getUserInstallation: [\n \"GET /users/{username}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n ],\n listAccountsUserOrOrgOnPlan: [\n \"GET /marketplace_listing/plans/{plan_id}/accounts\",\n {},\n { renamed: [\"apps\", \"listAccountsForPlan\"] },\n ],\n listAccountsUserOrOrgOnPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n {},\n { renamed: [\"apps\", \"listAccountsForPlanStubbed\"] },\n ],\n listInstallationReposForAuthenticatedUser: [\n \"GET /user/installations/{installation_id}/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listInstallations: [\n \"GET /app/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listInstallationsForAuthenticatedUser: [\n \"GET /user/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listMarketplacePurchasesForAuthenticatedUser: [\n \"GET /user/marketplace_purchases\",\n {},\n { renamed: [\"apps\", \"listSubscriptionsForAuthenticatedUser\"] },\n ],\n listMarketplacePurchasesForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\",\n {},\n { renamed: [\"apps\", \"listSubscriptionsForAuthenticatedUserStubbed\"] },\n ],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listRepos: [\n \"GET /installation/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"apps\", \"listReposAccessibleToInstallation\"] },\n ],\n listReposAccessibleToInstallation: [\n \"GET /installation/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\",\n ],\n removeRepoFromInstallation: [\n \"DELETE /user/installations/{installation_id}/repositories/{repository_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n revokeInstallationToken: [\n \"DELETE /installation/token\",\n {},\n { renamed: [\"apps\", \"revokeInstallationAccessToken\"] },\n ],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\n \"DELETE /app/installations/{installation_id}/suspended\",\n ],\n },\n checks: {\n create: [\n \"POST /repos/{owner}/{repo}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n createSuite: [\n \"POST /repos/{owner}/{repo}/check-suites\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n get: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n getSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listAnnotations: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listForSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listSuitesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n rerequestSuite: [\n \"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n setSuitesPreferences: [\n \"PATCH /repos/{owner}/{repo}/check-suites/preferences\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n update: [\n \"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n },\n codeScanning: {\n getAlert: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\n \"GET /codes_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n getConductCode: [\n \"GET /codes_of_conduct/{key}\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n getForRepo: [\n \"GET /repos/{owner}/{repo}/community/code_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n listConductCodes: [\n \"GET /codes_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n { renamed: [\"codesOfConduct\", \"getAllCodesOfConduct\"] },\n ],\n },\n emojis: { get: [\"GET /emojis\"] },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listPublicForUser: [\n \"GET /users/{username}/gists\",\n {},\n { renamed: [\"gists\", \"listForUser\"] },\n ],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"],\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"],\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"],\n listTemplates: [\n \"GET /gitignore/templates\",\n {},\n { renamed: [\"gitignore\", \"getAllTemplates\"] },\n ],\n },\n interactions: {\n addOrUpdateRestrictionsForOrg: [\n \"PUT /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n { renamed: [\"interactions\", \"setRestrictionsForOrg\"] },\n ],\n addOrUpdateRestrictionsForRepo: [\n \"PUT /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n { renamed: [\"interactions\", \"setRestrictionsForRepo\"] },\n ],\n getRestrictionsForOrg: [\n \"GET /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n getRestrictionsForRepo: [\n \"GET /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n removeRestrictionsForOrg: [\n \"DELETE /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n removeRestrictionsForRepo: [\n \"DELETE /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n setRestrictionsForOrg: [\n \"PUT /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n setRestrictionsForRepo: [\n \"PUT /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n },\n issues: {\n addAssignees: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkAssignee: [\n \"GET /repos/{owner}/{repo}/assignees/{assignee}\",\n {},\n { renamed: [\"issues\", \"checkUserCanBeAssigned\"] },\n ],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n ],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\",\n ],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\n \"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n { mediaType: { previews: [\"mockingbird\"] } },\n ],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n ],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n listMilestonesForRepo: [\n \"GET /repos/{owner}/{repo}/milestones\",\n {},\n { renamed: [\"issues\", \"listMilestones\"] },\n ],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n removeAssignees: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n removeLabel: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\",\n ],\n removeLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"removeAllLabels\"] },\n ],\n replaceAllLabels: [\n \"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"setLabels\"] },\n ],\n replaceLabels: [\n \"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"replaceAllLabels\"] },\n ],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\n \"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"],\n listCommonlyUsed: [\n \"GET /licenses\",\n {},\n { renamed: [\"licenses\", \"getAllCommonlyUsed\"] },\n ],\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\n \"POST /markdown/raw\",\n { headers: { \"content-type\": \"text/plain; charset=utf-8\" } },\n ],\n },\n meta: { get: [\"GET /meta\"] },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n deleteArchiveForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n downloadArchiveForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getArchiveForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportProgress: [\n \"GET /repos/{owner}/{repo}/import\",\n {},\n { renamed: [\"migrations\", \"getImportStatus\"] },\n ],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getStatusForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForAuthenticatedUser: [\n \"GET /user/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForUser: [\n \"GET /user/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n unlockRepoForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"],\n },\n orgs: {\n addOrUpdateMembership: [\n \"PUT /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"setMembershipForUser\"] },\n ],\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembership: [\n \"GET /orgs/{org}/members/{username}\",\n {},\n { renamed: [\"orgs\", \"checkMembershipForUser\"] },\n ],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembership: [\n \"GET /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"checkPublicMembershipForUser\"] },\n ],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n concealMembership: [\n \"DELETE /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"removePublicMembershipForAuthenticatedUser\"] },\n ],\n convertMemberToOutsideCollaborator: [\n \"PUT /orgs/{org}/outside_collaborators/{username}\",\n ],\n createHook: [\n \"POST /orgs/{org}/hooks\",\n {},\n { renamed: [\"orgs\", \"createWebhook\"] },\n ],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteHook: [\n \"DELETE /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"deleteWebhook\"] },\n ],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getHook: [\n \"GET /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"getWebhook\"] },\n ],\n getMembership: [\n \"GET /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"getMembershipForUser\"] },\n ],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n list: [\"GET /organizations\"],\n listAppInstallations: [\n \"GET /orgs/{org}/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listHooks: [\n \"GET /orgs/{org}/hooks\",\n {},\n { renamed: [\"orgs\", \"listWebhooks\"] },\n ],\n listInstallations: [\n \"GET /orgs/{org}/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"orgs\", \"listAppInstallations\"] },\n ],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMemberships: [\n \"GET /user/memberships/orgs\",\n {},\n { renamed: [\"orgs\", \"listMembershipsForAuthenticatedUser\"] },\n ],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingHook: [\n \"POST /orgs/{org}/hooks/{hook_id}/pings\",\n {},\n { renamed: [\"orgs\", \"pingWebhook\"] },\n ],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n publicizeMembership: [\n \"PUT /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"setPublicMembershipForAuthenticatedUser\"] },\n ],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembership: [\n \"DELETE /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"removeMembershipForUser\"] },\n ],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\n \"DELETE /orgs/{org}/outside_collaborators/{username}\",\n ],\n removePublicMembershipForAuthenticatedUser: [\n \"DELETE /orgs/{org}/public_members/{username}\",\n ],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\n \"PUT /orgs/{org}/public_members/{username}\",\n ],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateHook: [\n \"PATCH /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"updateWebhook\"] },\n ],\n updateMembership: [\n \"PATCH /user/memberships/orgs/{org}\",\n {},\n { renamed: [\"orgs\", \"updateMembershipForAuthenticatedUser\"] },\n ],\n updateMembershipForAuthenticatedUser: [\n \"PATCH /user/memberships/orgs/{org}\",\n ],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n },\n projects: {\n addCollaborator: [\n \"PUT /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createCard: [\n \"POST /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createColumn: [\n \"POST /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForAuthenticatedUser: [\n \"POST /user/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForOrg: [\n \"POST /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForRepo: [\n \"POST /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n delete: [\n \"DELETE /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteCard: [\n \"DELETE /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteColumn: [\n \"DELETE /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n get: [\n \"GET /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getCard: [\n \"GET /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getColumn: [\n \"GET /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getPermissionForUser: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCards: [\n \"GET /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCollaborators: [\n \"GET /projects/{project_id}/collaborators\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listColumns: [\n \"GET /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForRepo: [\n \"GET /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForUser: [\n \"GET /users/{username}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveCard: [\n \"POST /projects/columns/cards/{card_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveColumn: [\n \"POST /projects/columns/{column_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n removeCollaborator: [\n \"DELETE /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n reviewUserPermissionLevel: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"projects\", \"getPermissionForUser\"] },\n ],\n update: [\n \"PATCH /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateCard: [\n \"PATCH /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateColumn: [\n \"PATCH /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n {},\n { renamed: [\"pulls\", \"createReviewComment\"] },\n ],\n createReplyForReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\",\n ],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n createReviewCommentReply: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\",\n {},\n { renamed: [\"pulls\", \"createReplyForReviewComment\"] },\n ],\n createReviewRequest: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"requestReviewers\"] },\n ],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"deleteReviewComment\"] },\n ],\n deletePendingReview: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n deleteReviewComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n deleteReviewRequest: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"removeRequestedReviewers\"] },\n ],\n dismissReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\",\n ],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"getReviewComment\"] },\n ],\n getCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n {},\n { renamed: [\"pulls\", \"listCommentsForReview\"] },\n ],\n getReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n {},\n { renamed: [\"pulls\", \"listReviewComments\"] },\n ],\n listCommentsForRepo: [\n \"GET /repos/{owner}/{repo}/pulls/comments\",\n {},\n { renamed: [\"pulls\", \"listReviewCommentsForRepo\"] },\n ],\n listCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n listReviewComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviewRequests: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"listRequestedReviewers\"] },\n ],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n requestReviewers: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n submitReview: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\",\n ],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\",\n { mediaType: { previews: [\"lydian\"] } },\n ],\n updateComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"updateReviewComment\"] },\n ],\n updateReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n updateReviewComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n },\n rateLimit: { get: [\"GET /rate_limit\"] },\n reactions: {\n createForCommitComment: [\n \"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssue: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssueComment: [\n \"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForPullRequestReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n delete: [\n \"DELETE /reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n { renamed: [\"reactions\", \"deleteLegacy\"] },\n ],\n deleteForCommitComment: [\n \"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssue: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssueComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForPullRequestComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussion: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussionComment: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteLegacy: [\n \"DELETE /reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n {\n deprecated: \"octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy\",\n },\n ],\n listForCommitComment: [\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssueComment: [\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForPullRequestReviewComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addDeployKey: [\n \"POST /repos/{owner}/{repo}/keys\",\n {},\n { renamed: [\"repos\", \"createDeployKey\"] },\n ],\n addProtectedBranchAdminEnforcement: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"setAdminBranchProtection\"] },\n ],\n addProtectedBranchAppRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"addAppAccessRestrictions\"] },\n ],\n addProtectedBranchRequiredSignatures: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"createCommitSignatureProtection\"] },\n ],\n addProtectedBranchRequiredStatusChecksContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\", renamed: [\"repos\", \"addStatusCheckContexts\"] },\n ],\n addProtectedBranchTeamRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\", renamed: [\"repos\", \"addTeamAccessRestrictions\"] },\n ],\n addProtectedBranchUserRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\", renamed: [\"repos\", \"addUserAccessRestrictions\"] },\n ],\n addStatusCheckContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n addTeamAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n addUserAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\n \"GET /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n createCommitComment: [\n \"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n createCommitSignatureProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\n \"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createHook: [\n \"POST /repos/{owner}/{repo}/hooks\",\n {},\n { renamed: [\"repos\", \"createWebhook\"] },\n ],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateFile: [\n \"PUT /repos/{owner}/{repo}/contents/{path}\",\n {},\n { renamed: [\"repos\", \"createOrUpdateFileContents\"] },\n ],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\n \"POST /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createStatus: [\n \"POST /repos/{owner}/{repo}/statuses/{sha}\",\n {},\n { renamed: [\"repos\", \"createCommitStatus\"] },\n ],\n createUsingTemplate: [\n \"POST /repos/{template_owner}/{template_repo}/generate\",\n { mediaType: { previews: [\"baptiste\"] } },\n ],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n deleteAdminBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n deleteBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\n \"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\",\n ],\n deleteDownload: [\"DELETE /repos/{owner}/{repo}/downloads/{download_id}\"],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteHook: [\n \"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"deleteWebhook\"] },\n ],\n deleteInvitation: [\n \"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n deletePagesSite: [\n \"DELETE /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n deletePullRequestReviewProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\n \"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\n \"DELETE /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n disablePagesSite: [\n \"DELETE /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n { renamed: [\"repos\", \"deletePagesSite\"] },\n ],\n disableVulnerabilityAlerts: [\n \"DELETE /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n downloadArchive: [\"GET /repos/{owner}/{repo}/{archive_format}/{ref}\"],\n enableAutomatedSecurityFixes: [\n \"PUT /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n enablePagesSite: [\n \"POST /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n { renamed: [\"repos\", \"createPagesSite\"] },\n ],\n enableVulnerabilityAlerts: [\n \"PUT /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n getAdminBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n getAllStatusCheckContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n ],\n getAllTopics: [\n \"GET /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n getAppsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n ],\n getArchiveLink: [\n \"GET /repos/{owner}/{repo}/{archive_format}/{ref}\",\n {},\n { renamed: [\"repos\", \"downloadArchive\"] },\n ],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\n \"GET /repos/{owner}/{repo}/collaborators/{username}/permission\",\n ],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContents: [\n \"GET /repos/{owner}/{repo}/contents/{path}\",\n {},\n { renamed: [\"repos\", \"getContent\"] },\n ],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\",\n ],\n getDownload: [\"GET /repos/{owner}/{repo}/downloads/{download_id}\"],\n getHook: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"getWebhook\"] },\n ],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getProtectedBranchAdminEnforcement: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"getAdminBranchProtection\"] },\n ],\n getProtectedBranchPullRequestReviewEnforcement: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"getPullRequestReviewProtection\"] },\n ],\n getProtectedBranchRequiredSignatures: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"getCommitSignatureProtection\"] },\n ],\n getProtectedBranchRequiredStatusChecks: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"getStatusChecksProtection\"] },\n ],\n getProtectedBranchRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n {},\n { renamed: [\"repos\", \"getAccessRestrictions\"] },\n ],\n getPullRequestReviewProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n getTeamsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n ],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n ],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n list: [\n \"GET /user/repos\",\n {},\n { renamed: [\"repos\", \"listForAuthenticatedUser\"] },\n ],\n listAssetsForRelease: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n {},\n { renamed: [\"repos\", \"listReleaseAssets\"] },\n ],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n listCommitComments: [\n \"GET /repos/{owner}/{repo}/comments\",\n {},\n { renamed: [\"repos\", \"listCommitCommentsForRepo\"] },\n ],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listDownloads: [\"GET /repos/{owner}/{repo}/downloads\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listHooks: [\n \"GET /repos/{owner}/{repo}/hooks\",\n {},\n { renamed: [\"repos\", \"listWebhooks\"] },\n ],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listProtectedBranchRequiredStatusChecksContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { renamed: [\"repos\", \"getAllStatusCheckContexts\"] },\n ],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listReleaseAssets: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n ],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n {},\n { renamed: [\"repos\", \"listCommitStatusesForRef\"] },\n ],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listTopics: [\n \"GET /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n { renamed: [\"repos\", \"getAllTopics\"] },\n ],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n pingHook: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\",\n {},\n { renamed: [\"repos\", \"pingWebhook\"] },\n ],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n removeAppAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n removeBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n {},\n { renamed: [\"repos\", \"deleteBranchProtection\"] },\n ],\n removeCollaborator: [\n \"DELETE /repos/{owner}/{repo}/collaborators/{username}\",\n ],\n removeDeployKey: [\n \"DELETE /repos/{owner}/{repo}/keys/{key_id}\",\n {},\n { renamed: [\"repos\", \"deleteDeployKey\"] },\n ],\n removeProtectedBranchAdminEnforcement: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"deleteAdminBranchProtection\"] },\n ],\n removeProtectedBranchAppRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"removeAppAccessRestrictions\"] },\n ],\n removeProtectedBranchPullRequestReviewEnforcement: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"deletePullRequestReviewProtection\"] },\n ],\n removeProtectedBranchRequiredSignatures: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"deleteCommitSignatureProtection\"] },\n ],\n removeProtectedBranchRequiredStatusChecks: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"removeStatusChecksProtection\"] },\n ],\n removeProtectedBranchRequiredStatusChecksContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n {\n mapToData: \"contexts\",\n renamed: [\"repos\", \"removeStatusCheckContexts\"],\n },\n ],\n removeProtectedBranchRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n {},\n { renamed: [\"repos\", \"deleteAccessRestrictions\"] },\n ],\n removeProtectedBranchTeamRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n {\n mapToData: \"teams\",\n renamed: [\"repos\", \"removeTeamAccessRestrictions\"],\n },\n ],\n removeProtectedBranchUserRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n {\n mapToData: \"users\",\n renamed: [\"repos\", \"removeUserAccessRestrictions\"],\n },\n ],\n removeStatusCheckContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n removeStatusCheckProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n removeTeamAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n removeUserAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n replaceAllTopics: [\n \"PUT /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n replaceProtectedBranchAppRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"setAppAccessRestrictions\"] },\n ],\n replaceProtectedBranchRequiredStatusChecksContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\", renamed: [\"repos\", \"setStatusCheckContexts\"] },\n ],\n replaceProtectedBranchTeamRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\", renamed: [\"repos\", \"setTeamAccessRestrictions\"] },\n ],\n replaceProtectedBranchUserRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\", renamed: [\"repos\", \"setUserAccessRestrictions\"] },\n ],\n replaceTopics: [\n \"PUT /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n { renamed: [\"repos\", \"replaceAllTopics\"] },\n ],\n requestPageBuild: [\n \"POST /repos/{owner}/{repo}/pages/builds\",\n {},\n { renamed: [\"repos\", \"requestPagesBuild\"] },\n ],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n retrieveCommunityProfileMetrics: [\n \"GET /repos/{owner}/{repo}/community/profile\",\n {},\n { renamed: [\"repos\", \"getCommunityProfileMetrics\"] },\n ],\n setAdminBranchProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n setAppAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n setStatusCheckContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n setTeamAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n setUserAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n testPushHook: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\",\n {},\n { renamed: [\"repos\", \"testPushWebhook\"] },\n ],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateHook: [\n \"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"updateWebhook\"] },\n ],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\n \"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n updateProtectedBranchPullRequestReviewEnforcement: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"updatePullRequestReviewProtection\"] },\n ],\n updateProtectedBranchRequiredStatusChecks: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"updateStatusChecksProtection\"] },\n ],\n updatePullRequestReviewProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\n \"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n updateStatusCheckPotection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n uploadReleaseAsset: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\",\n { baseUrl: \"https://uploads.github.com\" },\n ],\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\", { mediaType: { previews: [\"cloak\"] } }],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\"],\n users: [\"GET /search/users\"],\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n addOrUpdateMembershipInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"addOrUpdateMembershipForUserInOrg\"] },\n ],\n addOrUpdateProjectInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"teams\", \"addOrUpdateProjectPermissionsInOrg\"] },\n ],\n addOrUpdateProjectPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n addOrUpdateRepoInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n {},\n { renamed: [\"teams\", \"addOrUpdateRepoPermissionsInOrg\"] },\n ],\n addOrUpdateRepoPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n checkManagesRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n {},\n { renamed: [\"teams\", \"checkPermissionsForRepoInOrg\"] },\n ],\n checkPermissionsForProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n checkPermissionsForRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n deleteDiscussionInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n getDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n getMembershipForUserInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n getMembershipInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"getMembershipForUserInOrg\"] },\n ],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n ],\n listProjectsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n removeMembershipInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"removeMembershipForUserInOrg\"] },\n ],\n removeProjectInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n ],\n removeRepoInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n reviewProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"teams\", \"checkPermissionsForProjectInOrg\"] },\n ],\n updateDiscussionCommentInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n updateDiscussionInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"],\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\"],\n addEmails: [\n \"POST /user/emails\",\n {},\n { renamed: [\"users\", \"addEmailsForAuthenticated\"] },\n ],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowing: [\n \"GET /user/following/{username}\",\n {},\n { renamed: [\"users\", \"checkPersonIsFollowedByAuthenticated\"] },\n ],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKey: [\n \"POST /user/gpg_keys\",\n {},\n { renamed: [\"users\", \"createGpgKeyForAuthenticated\"] },\n ],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\"],\n createPublicKey: [\n \"POST /user/keys\",\n {},\n { renamed: [\"users\", \"createPublicSshKeyForAuthenticated\"] },\n ],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\"],\n deleteEmails: [\n \"DELETE /user/emails\",\n {},\n { renamed: [\"users\", \"deleteEmailsForAuthenticated\"] },\n ],\n deleteGpgKey: [\n \"DELETE /user/gpg_keys/{gpg_key_id}\",\n {},\n { renamed: [\"users\", \"deleteGpgKeyForAuthenticated\"] },\n ],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicKey: [\n \"DELETE /user/keys/{key_id}\",\n {},\n { renamed: [\"users\", \"deletePublicSshKeyForAuthenticated\"] },\n ],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKey: [\n \"GET /user/gpg_keys/{gpg_key_id}\",\n {},\n { renamed: [\"users\", \"getGpgKeyForAuthenticated\"] },\n ],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicKey: [\n \"GET /user/keys/{key_id}\",\n {},\n { renamed: [\"users\", \"getPublicSshKeyForAuthenticated\"] },\n ],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlocked: [\n \"GET /user/blocks\",\n {},\n { renamed: [\"users\", \"listBlockedByAuthenticated\"] },\n ],\n listBlockedByAuthenticated: [\"GET /user/blocks\"],\n listEmails: [\n \"GET /user/emails\",\n {},\n { renamed: [\"users\", \"listEmailsForAuthenticated\"] },\n ],\n listEmailsForAuthenticated: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForAuthenticatedUser: [\n \"GET /user/following\",\n {},\n { renamed: [\"users\", \"listFollowedByAuthenticated\"] },\n ],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeys: [\n \"GET /user/gpg_keys\",\n {},\n { renamed: [\"users\", \"listGpgKeysForAuthenticated\"] },\n ],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmails: [\n \"GET /user/public_emails\",\n {},\n { renamed: [\"users\", \"listPublicEmailsForAuthenticatedUser\"] },\n ],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\"],\n listPublicKeys: [\n \"GET /user/keys\",\n {},\n { renamed: [\"users\", \"listPublicSshKeysForAuthenticated\"] },\n ],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\"],\n togglePrimaryEmailVisibility: [\n \"PATCH /user/email/visibility\",\n {},\n { renamed: [\"users\", \"setPrimaryEmailVisibilityForAuthenticated\"] },\n ],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"],\n },\n};\nexport default Endpoints;\n","export const VERSION = \"3.17.0\";\n","export function endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({ method, url }, defaults);\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n const scopeMethods = newMethods[scope];\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n return newMethods;\n}\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args);\n // There are currently no other decorations than `.mapToData`\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined,\n });\n return requestWithDefaults(options);\n }\n // NOTE: there are currently no deprecations. But we keep the code\n // below for future reference\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n // There is currently no deprecated parameter that is optional,\n // so we never hit the else branch below at this point.\n /* istanbul ignore else */\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n delete options[name];\n }\n }\n return requestWithDefaults(options);\n }\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n return requestWithDefaults(...args);\n }\n return Object.assign(withDecorations, requestWithDefaults);\n}\n","import ENDPOINTS from \"./generated/endpoints\";\nimport { VERSION } from \"./version\";\nimport { endpointsToMethods } from \"./endpoints-to-methods\";\n/**\n * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary\n * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is\n * done, we will remove the registerEndpoints methods and return the methods\n * directly as with the other plugins. At that point we will also remove the\n * legacy workarounds and deprecations.\n *\n * See the plan at\n * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1\n */\nexport function restEndpointMethods(octokit) {\n return endpointsToMethods(octokit, ENDPOINTS);\n}\nrestEndpointMethods.VERSION = VERSION;\n"],"names":["Endpoints","actions","addSelectedRepoToOrgSecret","cancelWorkflowRun","createOrUpdateOrgSecret","createOrUpdateRepoSecret","renamedParameters","name","createOrUpdateSecretForRepo","renamed","createRegistrationToken","createRegistrationTokenForOrg","createRegistrationTokenForRepo","createRemoveToken","createRemoveTokenForOrg","createRemoveTokenForRepo","deleteArtifact","deleteOrgSecret","deleteRepoSecret","deleteSecretFromRepo","deleteSelfHostedRunnerFromOrg","deleteSelfHostedRunnerFromRepo","deleteWorkflowRunLogs","downloadArtifact","downloadJobLogsForWorkflowRun","downloadWorkflowJobLogs","downloadWorkflowRunLogs","getArtifact","getJobForWorkflowRun","getOrgPublicKey","getOrgSecret","getPublicKey","getRepoPublicKey","getRepoSecret","getSecret","getSelfHostedRunner","getSelfHostedRunnerForOrg","getSelfHostedRunnerForRepo","getWorkflow","getWorkflowJob","getWorkflowRun","getWorkflowRunUsage","getWorkflowUsage","listArtifactsForRepo","listDownloadsForSelfHostedRunnerApplication","listJobsForWorkflowRun","listOrgSecrets","listRepoSecrets","listRepoWorkflowRuns","listRepoWorkflows","listRunnerApplicationsForOrg","listRunnerApplicationsForRepo","listSecretsForRepo","listSelectedReposForOrgSecret","listSelfHostedRunnersForOrg","listSelfHostedRunnersForRepo","listWorkflowJobLogs","listWorkflowRunArtifacts","listWorkflowRunLogs","listWorkflowRuns","listWorkflowRunsForRepo","reRunWorkflow","removeSelectedRepoFromOrgSecret","removeSelfHostedRunner","setSelectedReposForOrgSecret","activity","checkRepoIsStarredByAuthenticatedUser","checkStarringRepo","deleteRepoSubscription","deleteThreadSubscription","getFeeds","getRepoSubscription","getThread","getThreadSubscription","getThreadSubscriptionForAuthenticatedUser","listEventsForAuthenticatedUser","listEventsForOrg","listEventsForUser","listFeeds","listNotifications","listNotificationsForAuthenticatedUser","listNotificationsForRepo","listOrgEventsForAuthenticatedUser","listPublicEvents","listPublicEventsForOrg","listPublicEventsForRepoNetwork","listPublicEventsForUser","listPublicOrgEvents","listReceivedEventsForUser","listReceivedPublicEventsForUser","listRepoEvents","listRepoNotificationsForAuthenticatedUser","listReposStarredByAuthenticatedUser","listReposStarredByUser","listReposWatchedByUser","listStargazersForRepo","listWatchedReposForAuthenticatedUser","listWatchersForRepo","markAsRead","markNotificationsAsRead","markNotificationsAsReadForRepo","markRepoNotificationsAsRead","markThreadAsRead","setRepoSubscription","setThreadSubscription","starRepo","starRepoForAuthenticatedUser","unstarRepo","unstarRepoForAuthenticatedUser","apps","addRepoToInstallation","mediaType","previews","checkAccountIsAssociatedWithAny","checkAccountIsAssociatedWithAnyStubbed","checkToken","createContentAttachment","createFromManifest","createInstallationAccessToken","createInstallationToken","deleteAuthorization","deleteInstallation","deleteToken","getAuthenticated","getBySlug","getInstallation","getOrgInstallation","getRepoInstallation","getSubscriptionPlanForAccount","getSubscriptionPlanForAccountStubbed","getUserInstallation","listAccountsForPlan","listAccountsForPlanStubbed","listAccountsUserOrOrgOnPlan","listAccountsUserOrOrgOnPlanStubbed","listInstallationReposForAuthenticatedUser","listInstallations","listInstallationsForAuthenticatedUser","listMarketplacePurchasesForAuthenticatedUser","listMarketplacePurchasesForAuthenticatedUserStubbed","listPlans","listPlansStubbed","listRepos","listReposAccessibleToInstallation","listSubscriptionsForAuthenticatedUser","listSubscriptionsForAuthenticatedUserStubbed","removeRepoFromInstallation","resetToken","revokeInstallationAccessToken","revokeInstallationToken","suspendInstallation","unsuspendInstallation","checks","create","createSuite","get","getSuite","listAnnotations","listForRef","listForSuite","listSuitesForRef","rerequestSuite","setSuitesPreferences","update","codeScanning","getAlert","listAlertsForRepo","codesOfConduct","getAllCodesOfConduct","getConductCode","getForRepo","listConductCodes","emojis","gists","checkIsStarred","createComment","delete","deleteComment","fork","getComment","getRevision","list","listComments","listCommits","listForUser","listForks","listPublic","listPublicForUser","listStarred","star","unstar","updateComment","git","createBlob","createCommit","createRef","createTag","createTree","deleteRef","getBlob","getCommit","getRef","getTag","getTree","listMatchingRefs","updateRef","gitignore","getAllTemplates","getTemplate","listTemplates","interactions","addOrUpdateRestrictionsForOrg","addOrUpdateRestrictionsForRepo","getRestrictionsForOrg","getRestrictionsForRepo","removeRestrictionsForOrg","removeRestrictionsForRepo","setRestrictionsForOrg","setRestrictionsForRepo","issues","addAssignees","addLabels","checkAssignee","checkUserCanBeAssigned","createLabel","createMilestone","deleteLabel","deleteMilestone","getEvent","getLabel","getMilestone","listAssignees","listCommentsForRepo","listEvents","listEventsForRepo","listEventsForTimeline","listForAuthenticatedUser","listForOrg","listForRepo","listLabelsForMilestone","listLabelsForRepo","listLabelsOnIssue","listMilestones","listMilestonesForRepo","lock","removeAllLabels","removeAssignees","removeLabel","removeLabels","replaceAllLabels","replaceLabels","setLabels","unlock","updateLabel","updateMilestone","licenses","getAllCommonlyUsed","listCommonlyUsed","markdown","render","renderRaw","headers","meta","migrations","cancelImport","deleteArchiveForAuthenticatedUser","deleteArchiveForOrg","downloadArchiveForOrg","getArchiveForAuthenticatedUser","getCommitAuthors","getImportProgress","getImportStatus","getLargeFiles","getStatusForAuthenticatedUser","getStatusForOrg","listReposForOrg","listReposForUser","mapCommitAuthor","setLfsPreference","startForAuthenticatedUser","startForOrg","startImport","unlockRepoForAuthenticatedUser","unlockRepoForOrg","updateImport","orgs","addOrUpdateMembership","blockUser","checkBlockedUser","checkMembership","checkMembershipForUser","checkPublicMembership","checkPublicMembershipForUser","concealMembership","convertMemberToOutsideCollaborator","createHook","createInvitation","createWebhook","deleteHook","deleteWebhook","getHook","getMembership","getMembershipForAuthenticatedUser","getMembershipForUser","getWebhook","listAppInstallations","listBlockedUsers","listHooks","listInvitationTeams","listMembers","listMemberships","listMembershipsForAuthenticatedUser","listOutsideCollaborators","listPendingInvitations","listPublicMembers","listWebhooks","pingHook","pingWebhook","publicizeMembership","removeMember","removeMembership","removeMembershipForUser","removeOutsideCollaborator","removePublicMembershipForAuthenticatedUser","setMembershipForUser","setPublicMembershipForAuthenticatedUser","unblockUser","updateHook","updateMembership","updateMembershipForAuthenticatedUser","updateWebhook","projects","addCollaborator","createCard","createColumn","createForAuthenticatedUser","createForOrg","createForRepo","deleteCard","deleteColumn","getCard","getColumn","getPermissionForUser","listCards","listCollaborators","listColumns","moveCard","moveColumn","removeCollaborator","reviewUserPermissionLevel","updateCard","updateColumn","pulls","checkIfMerged","createReplyForReviewComment","createReview","createReviewComment","createReviewCommentReply","createReviewRequest","deletePendingReview","deleteReviewComment","deleteReviewRequest","dismissReview","getCommentsForReview","getReview","getReviewComment","listCommentsForReview","listFiles","listRequestedReviewers","listReviewComments","listReviewCommentsForRepo","listReviewRequests","listReviews","merge","removeRequestedReviewers","requestReviewers","submitReview","updateBranch","updateReview","updateReviewComment","rateLimit","reactions","createForCommitComment","createForIssue","createForIssueComment","createForPullRequestReviewComment","createForTeamDiscussionCommentInOrg","createForTeamDiscussionInOrg","deleteForCommitComment","deleteForIssue","deleteForIssueComment","deleteForPullRequestComment","deleteForTeamDiscussion","deleteForTeamDiscussionComment","deleteLegacy","deprecated","listForCommitComment","listForIssue","listForIssueComment","listForPullRequestReviewComment","listForTeamDiscussionCommentInOrg","listForTeamDiscussionInOrg","repos","acceptInvitation","addAppAccessRestrictions","mapToData","addDeployKey","addProtectedBranchAdminEnforcement","addProtectedBranchAppRestrictions","addProtectedBranchRequiredSignatures","addProtectedBranchRequiredStatusChecksContexts","addProtectedBranchTeamRestrictions","addProtectedBranchUserRestrictions","addStatusCheckContexts","addTeamAccessRestrictions","addUserAccessRestrictions","checkCollaborator","checkVulnerabilityAlerts","compareCommits","createCommitComment","createCommitSignatureProtection","createCommitStatus","createDeployKey","createDeployment","createDeploymentStatus","createDispatchEvent","createFork","createInOrg","createOrUpdateFile","createOrUpdateFileContents","createPagesSite","createRelease","createStatus","createUsingTemplate","declineInvitation","deleteAccessRestrictions","deleteAdminBranchProtection","deleteBranchProtection","deleteCommitComment","deleteCommitSignatureProtection","deleteDeployKey","deleteDeployment","deleteDownload","deleteFile","deleteInvitation","deletePagesSite","deletePullRequestReviewProtection","deleteRelease","deleteReleaseAsset","disableAutomatedSecurityFixes","disablePagesSite","disableVulnerabilityAlerts","downloadArchive","enableAutomatedSecurityFixes","enablePagesSite","enableVulnerabilityAlerts","getAccessRestrictions","getAdminBranchProtection","getAllStatusCheckContexts","getAllTopics","getAppsWithAccessToProtectedBranch","getArchiveLink","getBranch","getBranchProtection","getClones","getCodeFrequencyStats","getCollaboratorPermissionLevel","getCombinedStatusForRef","getCommitActivityStats","getCommitComment","getCommitSignatureProtection","getCommunityProfileMetrics","getContent","getContents","getContributorsStats","getDeployKey","getDeployment","getDeploymentStatus","getDownload","getLatestPagesBuild","getLatestRelease","getPages","getPagesBuild","getParticipationStats","getProtectedBranchAdminEnforcement","getProtectedBranchPullRequestReviewEnforcement","getProtectedBranchRequiredSignatures","getProtectedBranchRequiredStatusChecks","getProtectedBranchRestrictions","getPullRequestReviewProtection","getPunchCardStats","getReadme","getRelease","getReleaseAsset","getReleaseByTag","getStatusChecksProtection","getTeamsWithAccessToProtectedBranch","getTopPaths","getTopReferrers","getUsersWithAccessToProtectedBranch","getViews","listAssetsForRelease","listBranches","listBranchesForHeadCommit","listCommentsForCommit","listCommitComments","listCommitCommentsForRepo","listCommitStatusesForRef","listContributors","listDeployKeys","listDeploymentStatuses","listDeployments","listDownloads","listInvitations","listInvitationsForAuthenticatedUser","listLanguages","listPagesBuilds","listProtectedBranchRequiredStatusChecksContexts","listPullRequestsAssociatedWithCommit","listReleaseAssets","listReleases","listStatusesForRef","listTags","listTeams","listTopics","removeAppAccessRestrictions","removeBranchProtection","removeDeployKey","removeProtectedBranchAdminEnforcement","removeProtectedBranchAppRestrictions","removeProtectedBranchPullRequestReviewEnforcement","removeProtectedBranchRequiredSignatures","removeProtectedBranchRequiredStatusChecks","removeProtectedBranchRequiredStatusChecksContexts","removeProtectedBranchRestrictions","removeProtectedBranchTeamRestrictions","removeProtectedBranchUserRestrictions","removeStatusCheckContexts","removeStatusCheckProtection","removeTeamAccessRestrictions","removeUserAccessRestrictions","replaceAllTopics","replaceProtectedBranchAppRestrictions","replaceProtectedBranchRequiredStatusChecksContexts","replaceProtectedBranchTeamRestrictions","replaceProtectedBranchUserRestrictions","replaceTopics","requestPageBuild","requestPagesBuild","retrieveCommunityProfileMetrics","setAdminBranchProtection","setAppAccessRestrictions","setStatusCheckContexts","setTeamAccessRestrictions","setUserAccessRestrictions","testPushHook","testPushWebhook","transfer","updateBranchProtection","updateCommitComment","updateInformationAboutPagesSite","updateInvitation","updateProtectedBranchPullRequestReviewEnforcement","updateProtectedBranchRequiredStatusChecks","updatePullRequestReviewProtection","updateRelease","updateReleaseAsset","updateStatusCheckPotection","uploadReleaseAsset","baseUrl","search","code","commits","issuesAndPullRequests","labels","topics","users","teams","addOrUpdateMembershipForUserInOrg","addOrUpdateMembershipInOrg","addOrUpdateProjectInOrg","addOrUpdateProjectPermissionsInOrg","addOrUpdateRepoInOrg","addOrUpdateRepoPermissionsInOrg","checkManagesRepoInOrg","checkPermissionsForProjectInOrg","checkPermissionsForRepoInOrg","createDiscussionCommentInOrg","createDiscussionInOrg","deleteDiscussionCommentInOrg","deleteDiscussionInOrg","deleteInOrg","getByName","getDiscussionCommentInOrg","getDiscussionInOrg","getMembershipForUserInOrg","getMembershipInOrg","listChildInOrg","listDiscussionCommentsInOrg","listDiscussionsInOrg","listMembersInOrg","listPendingInvitationsInOrg","listProjectsInOrg","listReposInOrg","removeMembershipForUserInOrg","removeMembershipInOrg","removeProjectInOrg","removeRepoInOrg","reviewProjectInOrg","updateDiscussionCommentInOrg","updateDiscussionInOrg","updateInOrg","addEmailForAuthenticated","addEmails","block","checkBlocked","checkFollowing","checkFollowingForUser","checkPersonIsFollowedByAuthenticated","createGpgKey","createGpgKeyForAuthenticated","createPublicKey","createPublicSshKeyForAuthenticated","deleteEmailForAuthenticated","deleteEmails","deleteGpgKey","deleteGpgKeyForAuthenticated","deletePublicKey","deletePublicSshKeyForAuthenticated","follow","getByUsername","getContextForUser","getGpgKey","getGpgKeyForAuthenticated","getPublicSshKeyForAuthenticated","listBlocked","listBlockedByAuthenticated","listEmails","listEmailsForAuthenticated","listFollowedByAuthenticated","listFollowersForAuthenticatedUser","listFollowersForUser","listFollowingForAuthenticatedUser","listFollowingForUser","listGpgKeys","listGpgKeysForAuthenticated","listGpgKeysForUser","listPublicEmails","listPublicEmailsForAuthenticated","listPublicKeys","listPublicKeysForUser","listPublicSshKeysForAuthenticated","setPrimaryEmailVisibilityForAuthenticated","togglePrimaryEmailVisibility","unblock","unfollow","updateAuthenticated","VERSION","endpointsToMethods","octokit","endpointsMap","newMethods","scope","endpoints","Object","entries","methodName","endpoint","route","defaults","decorations","method","url","split","endpointDefaults","assign","scopeMethods","decorate","request","requestWithDefaults","withDecorations","args","options","data","undefined","newScope","newMethodName","log","warn","alias","restEndpointMethods","ENDPOINTS"],"mappings":";;;;AAAA,MAAMA,SAAS,GAAG;AACdC,EAAAA,OAAO,EAAE;AACLC,IAAAA,0BAA0B,EAAE,CACxB,4EADwB,CADvB;AAILC,IAAAA,iBAAiB,EAAE,CACf,yDADe,CAJd;AAOLC,IAAAA,uBAAuB,EAAE,CAAC,+CAAD,CAPpB;AAQLC,IAAAA,wBAAwB,EAAE,CACtB,yDADsB,EAEtB,EAFsB,EAGtB;AAAEC,MAAAA,iBAAiB,EAAE;AAAEC,QAAAA,IAAI,EAAE;AAAR;AAArB,KAHsB,CARrB;AAaLC,IAAAA,2BAA2B,EAAE,CACzB,yDADyB,EAEzB,EAFyB,EAGzB;AACIC,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,0BAAZ,CADb;AAEIH,MAAAA,iBAAiB,EAAE;AAAEC,QAAAA,IAAI,EAAE;AAAR;AAFvB,KAHyB,CAbxB;AAqBLG,IAAAA,uBAAuB,EAAE,CACrB,+DADqB,EAErB,EAFqB,EAGrB;AAAED,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,gCAAZ;AAAX,KAHqB,CArBpB;AA0BLE,IAAAA,6BAA6B,EAAE,CAC3B,qDAD2B,CA1B1B;AA6BLC,IAAAA,8BAA8B,EAAE,CAC5B,+DAD4B,CA7B3B;AAgCLC,IAAAA,iBAAiB,EAAE,CACf,yDADe,EAEf,EAFe,EAGf;AAAEJ,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,0BAAZ;AAAX,KAHe,CAhCd;AAqCLK,IAAAA,uBAAuB,EAAE,CAAC,+CAAD,CArCpB;AAsCLC,IAAAA,wBAAwB,EAAE,CACtB,yDADsB,CAtCrB;AAyCLC,IAAAA,cAAc,EAAE,CACZ,8DADY,CAzCX;AA4CLC,IAAAA,eAAe,EAAE,CAAC,kDAAD,CA5CZ;AA6CLC,IAAAA,gBAAgB,EAAE,CACd,4DADc,EAEd,EAFc,EAGd;AAAEZ,MAAAA,iBAAiB,EAAE;AAAEC,QAAAA,IAAI,EAAE;AAAR;AAArB,KAHc,CA7Cb;AAkDLY,IAAAA,oBAAoB,EAAE,CAClB,4DADkB,EAElB,EAFkB,EAGlB;AACIV,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,kBAAZ,CADb;AAEIH,MAAAA,iBAAiB,EAAE;AAAEC,QAAAA,IAAI,EAAE;AAAR;AAFvB,KAHkB,CAlDjB;AA0DLa,IAAAA,6BAA6B,EAAE,CAC3B,gDAD2B,CA1D1B;AA6DLC,IAAAA,8BAA8B,EAAE,CAC5B,0DAD4B,CA7D3B;AAgELC,IAAAA,qBAAqB,EAAE,CACnB,yDADmB,CAhElB;AAmELC,IAAAA,gBAAgB,EAAE,CACd,4EADc,CAnEb;AAsELC,IAAAA,6BAA6B,EAAE,CAC3B,sDAD2B,CAtE1B;AAyELC,IAAAA,uBAAuB,EAAE,CACrB,sDADqB,EAErB,EAFqB,EAGrB;AAAEhB,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,+BAAZ;AAAX,KAHqB,CAzEpB;AA8ELiB,IAAAA,uBAAuB,EAAE,CACrB,sDADqB,CA9EpB;AAiFLC,IAAAA,WAAW,EAAE,CAAC,2DAAD,CAjFR;AAkFLC,IAAAA,oBAAoB,EAAE,CAAC,iDAAD,CAlFjB;AAmFLC,IAAAA,eAAe,EAAE,CAAC,4CAAD,CAnFZ;AAoFLC,IAAAA,YAAY,EAAE,CAAC,+CAAD,CApFT;AAqFLC,IAAAA,YAAY,EAAE,CACV,sDADU,EAEV,EAFU,EAGV;AAAEtB,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,kBAAZ;AAAX,KAHU,CArFT;AA0FLuB,IAAAA,gBAAgB,EAAE,CAAC,sDAAD,CA1Fb;AA2FLC,IAAAA,aAAa,EAAE,CACX,yDADW,EAEX,EAFW,EAGX;AAAE3B,MAAAA,iBAAiB,EAAE;AAAEC,QAAAA,IAAI,EAAE;AAAR;AAArB,KAHW,CA3FV;AAgGL2B,IAAAA,SAAS,EAAE,CACP,yDADO,EAEP,EAFO,EAGP;AACIzB,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,eAAZ,CADb;AAEIH,MAAAA,iBAAiB,EAAE;AAAEC,QAAAA,IAAI,EAAE;AAAR;AAFvB,KAHO,CAhGN;AAwGL4B,IAAAA,mBAAmB,EAAE,CACjB,uDADiB,EAEjB,EAFiB,EAGjB;AAAE1B,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,4BAAZ;AAAX,KAHiB,CAxGhB;AA6GL2B,IAAAA,yBAAyB,EAAE,CAAC,6CAAD,CA7GtB;AA8GLC,IAAAA,0BAA0B,EAAE,CACxB,uDADwB,CA9GvB;AAiHLC,IAAAA,WAAW,EAAE,CAAC,2DAAD,CAjHR;AAkHLC,IAAAA,cAAc,EAAE,CACZ,iDADY,EAEZ,EAFY,EAGZ;AAAE9B,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,sBAAZ;AAAX,KAHY,CAlHX;AAuHL+B,IAAAA,cAAc,EAAE,CAAC,iDAAD,CAvHX;AAwHLC,IAAAA,mBAAmB,EAAE,CACjB,wDADiB,CAxHhB;AA2HLC,IAAAA,gBAAgB,EAAE,CACd,kEADc,CA3Hb;AA8HLC,IAAAA,oBAAoB,EAAE,CAAC,6CAAD,CA9HjB;AA+HLC,IAAAA,2CAA2C,EAAE,CACzC,qDADyC,EAEzC,EAFyC,EAGzC;AAAEnC,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,+BAAZ;AAAX,KAHyC,CA/HxC;AAoILoC,IAAAA,sBAAsB,EAAE,CACpB,sDADoB,CApInB;AAuILC,IAAAA,cAAc,EAAE,CAAC,iCAAD,CAvIX;AAwILC,IAAAA,eAAe,EAAE,CAAC,2CAAD,CAxIZ;AAyILC,IAAAA,oBAAoB,EAAE,CAClB,wCADkB,EAElB,EAFkB,EAGlB;AAAEvC,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,yBAAZ;AAAX,KAHkB,CAzIjB;AA8ILwC,IAAAA,iBAAiB,EAAE,CAAC,6CAAD,CA9Id;AA+ILC,IAAAA,4BAA4B,EAAE,CAAC,2CAAD,CA/IzB;AAgJLC,IAAAA,6BAA6B,EAAE,CAC3B,qDAD2B,CAhJ1B;AAmJLC,IAAAA,kBAAkB,EAAE,CAChB,2CADgB,EAEhB,EAFgB,EAGhB;AAAE3C,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,iBAAZ;AAAX,KAHgB,CAnJf;AAwJL4C,IAAAA,6BAA6B,EAAE,CAC3B,4DAD2B,CAxJ1B;AA2JLC,IAAAA,2BAA2B,EAAE,CAAC,iCAAD,CA3JxB;AA4JLC,IAAAA,4BAA4B,EAAE,CAAC,2CAAD,CA5JzB;AA6JLC,IAAAA,mBAAmB,EAAE,CACjB,sDADiB,EAEjB,EAFiB,EAGjB;AAAE/C,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,yBAAZ;AAAX,KAHiB,CA7JhB;AAkKLgD,IAAAA,wBAAwB,EAAE,CACtB,2DADsB,CAlKrB;AAqKLC,IAAAA,mBAAmB,EAAE,CACjB,sDADiB,EAEjB,EAFiB,EAGjB;AAAEjD,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,yBAAZ;AAAX,KAHiB,CArKhB;AA0KLkD,IAAAA,gBAAgB,EAAE,CACd,gEADc,CA1Kb;AA6KLC,IAAAA,uBAAuB,EAAE,CAAC,wCAAD,CA7KpB;AA8KLC,IAAAA,aAAa,EAAE,CAAC,wDAAD,CA9KV;AA+KLC,IAAAA,+BAA+B,EAAE,CAC7B,+EAD6B,CA/K5B;AAkLLC,IAAAA,sBAAsB,EAAE,CACpB,0DADoB,EAEpB,EAFoB,EAGpB;AAAEtD,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,gCAAZ;AAAX,KAHoB,CAlLnB;AAuLLuD,IAAAA,4BAA4B,EAAE,CAC1B,4DAD0B;AAvLzB,GADK;AA4LdC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,qCAAqC,EAAE,CAAC,kCAAD,CADjC;AAENC,IAAAA,iBAAiB,EAAE,CACf,kCADe,EAEf,EAFe,EAGf;AAAE1D,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,uCAAb;AAAX,KAHe,CAFb;AAON2D,IAAAA,sBAAsB,EAAE,CAAC,2CAAD,CAPlB;AAQNC,IAAAA,wBAAwB,EAAE,CACtB,wDADsB,CARpB;AAWNC,IAAAA,QAAQ,EAAE,CAAC,YAAD,CAXJ;AAYNC,IAAAA,mBAAmB,EAAE,CAAC,wCAAD,CAZf;AAaNC,IAAAA,SAAS,EAAE,CAAC,wCAAD,CAbL;AAcNC,IAAAA,qBAAqB,EAAE,CACnB,oBADmB,EAEnB,EAFmB,EAGnB;AAAEhE,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,2CAAb;AAAX,KAHmB,CAdjB;AAmBNiE,IAAAA,yCAAyC,EAAE,CACvC,qDADuC,CAnBrC;AAsBNC,IAAAA,8BAA8B,EAAE,CAAC,8BAAD,CAtB1B;AAuBNC,IAAAA,gBAAgB,EAAE,CACd,yCADc,EAEd,EAFc,EAGd;AAAEnE,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,mCAAb;AAAX,KAHc,CAvBZ;AA4BNoE,IAAAA,iBAAiB,EAAE,CACf,8BADe,EAEf,EAFe,EAGf;AAAEpE,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,gCAAb;AAAX,KAHe,CA5Bb;AAiCNqE,IAAAA,SAAS,EAAE,CAAC,YAAD,EAAe,EAAf,EAAmB;AAAErE,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,UAAb;AAAX,KAAnB,CAjCL;AAkCNsE,IAAAA,iBAAiB,EAAE,CACf,oBADe,EAEf,EAFe,EAGf;AAAEtE,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,uCAAb;AAAX,KAHe,CAlCb;AAuCNuE,IAAAA,qCAAqC,EAAE,CAAC,oBAAD,CAvCjC;AAwCNC,IAAAA,wBAAwB,EAAE,CACtB,yCADsB,EAEtB,EAFsB,EAGtB;AAAExE,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,2CAAb;AAAX,KAHsB,CAxCpB;AA6CNyE,IAAAA,iCAAiC,EAAE,CAC/B,yCAD+B,CA7C7B;AAgDNC,IAAAA,gBAAgB,EAAE,CAAC,aAAD,CAhDZ;AAiDNC,IAAAA,sBAAsB,EAAE,CACpB,wBADoB,EAEpB,EAFoB,EAGpB;AAAE3E,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,qBAAb;AAAX,KAHoB,CAjDlB;AAsDN4E,IAAAA,8BAA8B,EAAE,CAAC,qCAAD,CAtD1B;AAuDNC,IAAAA,uBAAuB,EAAE,CAAC,qCAAD,CAvDnB;AAwDNC,IAAAA,mBAAmB,EAAE,CAAC,wBAAD,CAxDf;AAyDNC,IAAAA,yBAAyB,EAAE,CAAC,uCAAD,CAzDrB;AA0DNC,IAAAA,+BAA+B,EAAE,CAC7B,8CAD6B,CA1D3B;AA6DNC,IAAAA,cAAc,EAAE,CAAC,kCAAD,CA7DV;AA8DNC,IAAAA,yCAAyC,EAAE,CACvC,yCADuC,CA9DrC;AAiENC,IAAAA,mCAAmC,EAAE,CAAC,mBAAD,CAjE/B;AAkENC,IAAAA,sBAAsB,EAAE,CAAC,+BAAD,CAlElB;AAmENC,IAAAA,sBAAsB,EAAE,CAAC,qCAAD,CAnElB;AAoENC,IAAAA,qBAAqB,EAAE,CAAC,sCAAD,CApEjB;AAqENC,IAAAA,oCAAoC,EAAE,CAAC,yBAAD,CArEhC;AAsENC,IAAAA,mBAAmB,EAAE,CAAC,uCAAD,CAtEf;AAuENC,IAAAA,UAAU,EAAE,CACR,oBADQ,EAER,EAFQ,EAGR;AAAEzF,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,yBAAb;AAAX,KAHQ,CAvEN;AA4EN0F,IAAAA,uBAAuB,EAAE,CAAC,oBAAD,CA5EnB;AA6ENC,IAAAA,8BAA8B,EAAE,CAC5B,yCAD4B,EAE5B,EAF4B,EAG5B;AAAE3F,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,6BAAb;AAAX,KAH4B,CA7E1B;AAkFN4F,IAAAA,2BAA2B,EAAE,CAAC,yCAAD,CAlFvB;AAmFNC,IAAAA,gBAAgB,EAAE,CAAC,0CAAD,CAnFZ;AAoFNC,IAAAA,mBAAmB,EAAE,CAAC,wCAAD,CApFf;AAqFNC,IAAAA,qBAAqB,EAAE,CACnB,qDADmB,CArFjB;AAwFNC,IAAAA,QAAQ,EAAE,CACN,kCADM,EAEN,EAFM,EAGN;AAAEhG,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,8BAAb;AAAX,KAHM,CAxFJ;AA6FNiG,IAAAA,4BAA4B,EAAE,CAAC,kCAAD,CA7FxB;AA8FNC,IAAAA,UAAU,EAAE,CACR,qCADQ,EAER,EAFQ,EAGR;AAAElG,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,gCAAb;AAAX,KAHQ,CA9FN;AAmGNmG,IAAAA,8BAA8B,EAAE,CAAC,qCAAD;AAnG1B,GA5LI;AAiSdC,EAAAA,IAAI,EAAE;AACFC,IAAAA,qBAAqB,EAAE,CACnB,wEADmB,EAEnB;AAAEC,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFmB,CADrB;AAKFC,IAAAA,+BAA+B,EAAE,CAC7B,gDAD6B,EAE7B,EAF6B,EAG7B;AAAExG,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,+BAAT;AAAX,KAH6B,CAL/B;AAUFyG,IAAAA,sCAAsC,EAAE,CACpC,wDADoC,EAEpC,EAFoC,EAGpC;AAAEzG,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,sCAAT;AAAX,KAHoC,CAVtC;AAeF0G,IAAAA,UAAU,EAAE,CAAC,sCAAD,CAfV;AAgBFC,IAAAA,uBAAuB,EAAE,CACrB,6DADqB,EAErB;AAAEL,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFqB,CAhBvB;AAoBFK,IAAAA,kBAAkB,EAAE,CAAC,wCAAD,CApBlB;AAqBFC,IAAAA,6BAA6B,EAAE,CAC3B,yDAD2B,EAE3B;AAAEP,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAF2B,CArB7B;AAyBFO,IAAAA,uBAAuB,EAAE,CACrB,yDADqB,EAErB;AAAER,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFqB,EAGrB;AAAEvG,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,+BAAT;AAAX,KAHqB,CAzBvB;AA8BF+G,IAAAA,mBAAmB,EAAE,CAAC,wCAAD,CA9BnB;AA+BFC,IAAAA,kBAAkB,EAAE,CAChB,6CADgB,EAEhB;AAAEV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFgB,CA/BlB;AAmCFU,IAAAA,WAAW,EAAE,CAAC,wCAAD,CAnCX;AAoCFC,IAAAA,gBAAgB,EAAE,CACd,UADc,EAEd;AAAEZ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFc,CApChB;AAwCFY,IAAAA,SAAS,EAAE,CACP,sBADO,EAEP;AAAEb,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFO,CAxCT;AA4CFa,IAAAA,eAAe,EAAE,CACb,0CADa,EAEb;AAAEd,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFa,CA5Cf;AAgDFc,IAAAA,kBAAkB,EAAE,CAChB,8BADgB,EAEhB;AAAEf,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFgB,CAhDlB;AAoDFe,IAAAA,mBAAmB,EAAE,CACjB,wCADiB,EAEjB;AAAEhB,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFiB,CApDnB;AAwDFgB,IAAAA,6BAA6B,EAAE,CAC3B,gDAD2B,CAxD7B;AA2DFC,IAAAA,oCAAoC,EAAE,CAClC,wDADkC,CA3DpC;AA8DFC,IAAAA,mBAAmB,EAAE,CACjB,oCADiB,EAEjB;AAAEnB,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFiB,CA9DnB;AAkEFmB,IAAAA,mBAAmB,EAAE,CAAC,mDAAD,CAlEnB;AAmEFC,IAAAA,0BAA0B,EAAE,CACxB,2DADwB,CAnE1B;AAsEFC,IAAAA,2BAA2B,EAAE,CACzB,mDADyB,EAEzB,EAFyB,EAGzB;AAAE5H,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,qBAAT;AAAX,KAHyB,CAtE3B;AA2EF6H,IAAAA,kCAAkC,EAAE,CAChC,2DADgC,EAEhC,EAFgC,EAGhC;AAAE7H,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,4BAAT;AAAX,KAHgC,CA3ElC;AAgFF8H,IAAAA,yCAAyC,EAAE,CACvC,wDADuC,EAEvC;AAAExB,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFuC,CAhFzC;AAoFFwB,IAAAA,iBAAiB,EAAE,CACf,wBADe,EAEf;AAAEzB,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFe,CApFjB;AAwFFyB,IAAAA,qCAAqC,EAAE,CACnC,yBADmC,EAEnC;AAAE1B,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFmC,CAxFrC;AA4FF0B,IAAAA,4CAA4C,EAAE,CAC1C,iCAD0C,EAE1C,EAF0C,EAG1C;AAAEjI,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,uCAAT;AAAX,KAH0C,CA5F5C;AAiGFkI,IAAAA,mDAAmD,EAAE,CACjD,yCADiD,EAEjD,EAFiD,EAGjD;AAAElI,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,8CAAT;AAAX,KAHiD,CAjGnD;AAsGFmI,IAAAA,SAAS,EAAE,CAAC,gCAAD,CAtGT;AAuGFC,IAAAA,gBAAgB,EAAE,CAAC,wCAAD,CAvGhB;AAwGFC,IAAAA,SAAS,EAAE,CACP,gCADO,EAEP;AAAE/B,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFO,EAGP;AAAEvG,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,mCAAT;AAAX,KAHO,CAxGT;AA6GFsI,IAAAA,iCAAiC,EAAE,CAC/B,gCAD+B,EAE/B;AAAEhC,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAF+B,CA7GjC;AAiHFgC,IAAAA,qCAAqC,EAAE,CAAC,iCAAD,CAjHrC;AAkHFC,IAAAA,4CAA4C,EAAE,CAC1C,yCAD0C,CAlH5C;AAqHFC,IAAAA,0BAA0B,EAAE,CACxB,2EADwB,EAExB;AAAEnC,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFwB,CArH1B;AAyHFmC,IAAAA,UAAU,EAAE,CAAC,uCAAD,CAzHV;AA0HFC,IAAAA,6BAA6B,EAAE,CAAC,4BAAD,CA1H7B;AA2HFC,IAAAA,uBAAuB,EAAE,CACrB,4BADqB,EAErB,EAFqB,EAGrB;AAAE5I,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,+BAAT;AAAX,KAHqB,CA3HvB;AAgIF6I,IAAAA,mBAAmB,EAAE,CAAC,oDAAD,CAhInB;AAiIFC,IAAAA,qBAAqB,EAAE,CACnB,uDADmB;AAjIrB,GAjSQ;AAsadC,EAAAA,MAAM,EAAE;AACJC,IAAAA,MAAM,EAAE,CACJ,uCADI,EAEJ;AAAE1C,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFI,CADJ;AAKJ0C,IAAAA,WAAW,EAAE,CACT,yCADS,EAET;AAAE3C,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFS,CALT;AASJ2C,IAAAA,GAAG,EAAE,CACD,qDADC,EAED;AAAE5C,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFC,CATD;AAaJ4C,IAAAA,QAAQ,EAAE,CACN,yDADM,EAEN;AAAE7C,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFM,CAbN;AAiBJ6C,IAAAA,eAAe,EAAE,CACb,iEADa,EAEb;AAAE9C,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFa,CAjBb;AAqBJ8C,IAAAA,UAAU,EAAE,CACR,oDADQ,EAER;AAAE/C,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CArBR;AAyBJ+C,IAAAA,YAAY,EAAE,CACV,oEADU,EAEV;AAAEhD,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU,CAzBV;AA6BJgD,IAAAA,gBAAgB,EAAE,CACd,sDADc,EAEd;AAAEjD,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFc,CA7Bd;AAiCJiD,IAAAA,cAAc,EAAE,CACZ,oEADY,EAEZ;AAAElD,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFY,CAjCZ;AAqCJkD,IAAAA,oBAAoB,EAAE,CAClB,sDADkB,EAElB;AAAEnD,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFkB,CArClB;AAyCJmD,IAAAA,MAAM,EAAE,CACJ,uDADI,EAEJ;AAAEpD,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFI;AAzCJ,GAtaM;AAoddoD,EAAAA,YAAY,EAAE;AACVC,IAAAA,QAAQ,EAAE,CAAC,2DAAD,CADA;AAEVC,IAAAA,iBAAiB,EAAE,CAAC,gDAAD;AAFT,GApdA;AAwddC,EAAAA,cAAc,EAAE;AACZC,IAAAA,oBAAoB,EAAE,CAClB,uBADkB,EAElB;AAAEzD,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFkB,CADV;AAKZyD,IAAAA,cAAc,EAAE,CACZ,6BADY,EAEZ;AAAE1D,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFY,CALJ;AASZ0D,IAAAA,UAAU,EAAE,CACR,qDADQ,EAER;AAAE3D,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFQ,CATA;AAaZ2D,IAAAA,gBAAgB,EAAE,CACd,uBADc,EAEd;AAAE5D,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFc,EAGd;AAAEvG,MAAAA,OAAO,EAAE,CAAC,gBAAD,EAAmB,sBAAnB;AAAX,KAHc;AAbN,GAxdF;AA2edmK,EAAAA,MAAM,EAAE;AAAEjB,IAAAA,GAAG,EAAE,CAAC,aAAD;AAAP,GA3eM;AA4edkB,EAAAA,KAAK,EAAE;AACHC,IAAAA,cAAc,EAAE,CAAC,2BAAD,CADb;AAEHrB,IAAAA,MAAM,EAAE,CAAC,aAAD,CAFL;AAGHsB,IAAAA,aAAa,EAAE,CAAC,gCAAD,CAHZ;AAIHC,IAAAA,MAAM,EAAE,CAAC,yBAAD,CAJL;AAKHC,IAAAA,aAAa,EAAE,CAAC,+CAAD,CALZ;AAMHC,IAAAA,IAAI,EAAE,CAAC,6BAAD,CANH;AAOHvB,IAAAA,GAAG,EAAE,CAAC,sBAAD,CAPF;AAQHwB,IAAAA,UAAU,EAAE,CAAC,4CAAD,CART;AASHC,IAAAA,WAAW,EAAE,CAAC,4BAAD,CATV;AAUHC,IAAAA,IAAI,EAAE,CAAC,YAAD,CAVH;AAWHC,IAAAA,YAAY,EAAE,CAAC,+BAAD,CAXX;AAYHC,IAAAA,WAAW,EAAE,CAAC,8BAAD,CAZV;AAaHC,IAAAA,WAAW,EAAE,CAAC,6BAAD,CAbV;AAcHC,IAAAA,SAAS,EAAE,CAAC,4BAAD,CAdR;AAeHC,IAAAA,UAAU,EAAE,CAAC,mBAAD,CAfT;AAgBHC,IAAAA,iBAAiB,EAAE,CACf,6BADe,EAEf,EAFe,EAGf;AAAElL,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,aAAV;AAAX,KAHe,CAhBhB;AAqBHmL,IAAAA,WAAW,EAAE,CAAC,oBAAD,CArBV;AAsBHC,IAAAA,IAAI,EAAE,CAAC,2BAAD,CAtBH;AAuBHC,IAAAA,MAAM,EAAE,CAAC,8BAAD,CAvBL;AAwBH3B,IAAAA,MAAM,EAAE,CAAC,wBAAD,CAxBL;AAyBH4B,IAAAA,aAAa,EAAE,CAAC,8CAAD;AAzBZ,GA5eO;AAugBdC,EAAAA,GAAG,EAAE;AACDC,IAAAA,UAAU,EAAE,CAAC,sCAAD,CADX;AAEDC,IAAAA,YAAY,EAAE,CAAC,wCAAD,CAFb;AAGDC,IAAAA,SAAS,EAAE,CAAC,qCAAD,CAHV;AAIDC,IAAAA,SAAS,EAAE,CAAC,qCAAD,CAJV;AAKDC,IAAAA,UAAU,EAAE,CAAC,sCAAD,CALX;AAMDC,IAAAA,SAAS,EAAE,CAAC,6CAAD,CANV;AAODC,IAAAA,OAAO,EAAE,CAAC,gDAAD,CAPR;AAQDC,IAAAA,SAAS,EAAE,CAAC,oDAAD,CARV;AASDC,IAAAA,MAAM,EAAE,CAAC,yCAAD,CATP;AAUDC,IAAAA,MAAM,EAAE,CAAC,8CAAD,CAVP;AAWDC,IAAAA,OAAO,EAAE,CAAC,gDAAD,CAXR;AAYDC,IAAAA,gBAAgB,EAAE,CAAC,mDAAD,CAZjB;AAaDC,IAAAA,SAAS,EAAE,CAAC,4CAAD;AAbV,GAvgBS;AAshBdC,EAAAA,SAAS,EAAE;AACPC,IAAAA,eAAe,EAAE,CAAC,0BAAD,CADV;AAEPC,IAAAA,WAAW,EAAE,CAAC,iCAAD,CAFN;AAGPC,IAAAA,aAAa,EAAE,CACX,0BADW,EAEX,EAFW,EAGX;AAAExM,MAAAA,OAAO,EAAE,CAAC,WAAD,EAAc,iBAAd;AAAX,KAHW;AAHR,GAthBG;AA+hBdyM,EAAAA,YAAY,EAAE;AACVC,IAAAA,6BAA6B,EAAE,CAC3B,oCAD2B,EAE3B;AAAEpG,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAF2B,EAG3B;AAAEvG,MAAAA,OAAO,EAAE,CAAC,cAAD,EAAiB,uBAAjB;AAAX,KAH2B,CADrB;AAMV2M,IAAAA,8BAA8B,EAAE,CAC5B,8CAD4B,EAE5B;AAAErG,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAF4B,EAG5B;AAAEvG,MAAAA,OAAO,EAAE,CAAC,cAAD,EAAiB,wBAAjB;AAAX,KAH4B,CANtB;AAWV4M,IAAAA,qBAAqB,EAAE,CACnB,oCADmB,EAEnB;AAAEtG,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFmB,CAXb;AAeVsG,IAAAA,sBAAsB,EAAE,CACpB,8CADoB,EAEpB;AAAEvG,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFoB,CAfd;AAmBVuG,IAAAA,wBAAwB,EAAE,CACtB,uCADsB,EAEtB;AAAExG,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFsB,CAnBhB;AAuBVwG,IAAAA,yBAAyB,EAAE,CACvB,iDADuB,EAEvB;AAAEzG,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFuB,CAvBjB;AA2BVyG,IAAAA,qBAAqB,EAAE,CACnB,oCADmB,EAEnB;AAAE1G,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFmB,CA3Bb;AA+BV0G,IAAAA,sBAAsB,EAAE,CACpB,8CADoB,EAEpB;AAAE3G,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFoB;AA/Bd,GA/hBA;AAmkBd2G,EAAAA,MAAM,EAAE;AACJC,IAAAA,YAAY,EAAE,CACV,4DADU,CADV;AAIJC,IAAAA,SAAS,EAAE,CAAC,yDAAD,CAJP;AAKJC,IAAAA,aAAa,EAAE,CACX,gDADW,EAEX,EAFW,EAGX;AAAErN,MAAAA,OAAO,EAAE,CAAC,QAAD,EAAW,wBAAX;AAAX,KAHW,CALX;AAUJsN,IAAAA,sBAAsB,EAAE,CAAC,gDAAD,CAVpB;AAWJtE,IAAAA,MAAM,EAAE,CAAC,mCAAD,CAXJ;AAYJsB,IAAAA,aAAa,EAAE,CACX,2DADW,CAZX;AAeJiD,IAAAA,WAAW,EAAE,CAAC,mCAAD,CAfT;AAgBJC,IAAAA,eAAe,EAAE,CAAC,uCAAD,CAhBb;AAiBJhD,IAAAA,aAAa,EAAE,CACX,2DADW,CAjBX;AAoBJiD,IAAAA,WAAW,EAAE,CAAC,4CAAD,CApBT;AAqBJC,IAAAA,eAAe,EAAE,CACb,4DADa,CArBb;AAwBJxE,IAAAA,GAAG,EAAE,CAAC,iDAAD,CAxBD;AAyBJwB,IAAAA,UAAU,EAAE,CAAC,wDAAD,CAzBR;AA0BJiD,IAAAA,QAAQ,EAAE,CAAC,oDAAD,CA1BN;AA2BJC,IAAAA,QAAQ,EAAE,CAAC,yCAAD,CA3BN;AA4BJC,IAAAA,YAAY,EAAE,CAAC,yDAAD,CA5BV;AA6BJjD,IAAAA,IAAI,EAAE,CAAC,aAAD,CA7BF;AA8BJkD,IAAAA,aAAa,EAAE,CAAC,qCAAD,CA9BX;AA+BJjD,IAAAA,YAAY,EAAE,CAAC,0DAAD,CA/BV;AAgCJkD,IAAAA,mBAAmB,EAAE,CAAC,2CAAD,CAhCjB;AAiCJC,IAAAA,UAAU,EAAE,CAAC,wDAAD,CAjCR;AAkCJC,IAAAA,iBAAiB,EAAE,CAAC,yCAAD,CAlCf;AAmCJC,IAAAA,qBAAqB,EAAE,CACnB,0DADmB,EAEnB;AAAE5H,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFmB,CAnCnB;AAuCJ4H,IAAAA,wBAAwB,EAAE,CAAC,kBAAD,CAvCtB;AAwCJC,IAAAA,UAAU,EAAE,CAAC,wBAAD,CAxCR;AAyCJC,IAAAA,WAAW,EAAE,CAAC,kCAAD,CAzCT;AA0CJC,IAAAA,sBAAsB,EAAE,CACpB,gEADoB,CA1CpB;AA6CJC,IAAAA,iBAAiB,EAAE,CAAC,kCAAD,CA7Cf;AA8CJC,IAAAA,iBAAiB,EAAE,CACf,wDADe,CA9Cf;AAiDJC,IAAAA,cAAc,EAAE,CAAC,sCAAD,CAjDZ;AAkDJC,IAAAA,qBAAqB,EAAE,CACnB,sCADmB,EAEnB,EAFmB,EAGnB;AAAE1O,MAAAA,OAAO,EAAE,CAAC,QAAD,EAAW,gBAAX;AAAX,KAHmB,CAlDnB;AAuDJ2O,IAAAA,IAAI,EAAE,CAAC,sDAAD,CAvDF;AAwDJC,IAAAA,eAAe,EAAE,CACb,2DADa,CAxDb;AA2DJC,IAAAA,eAAe,EAAE,CACb,8DADa,CA3Db;AA8DJC,IAAAA,WAAW,EAAE,CACT,kEADS,CA9DT;AAiEJC,IAAAA,YAAY,EAAE,CACV,2DADU,EAEV,EAFU,EAGV;AAAE/O,MAAAA,OAAO,EAAE,CAAC,QAAD,EAAW,iBAAX;AAAX,KAHU,CAjEV;AAsEJgP,IAAAA,gBAAgB,EAAE,CACd,wDADc,EAEd,EAFc,EAGd;AAAEhP,MAAAA,OAAO,EAAE,CAAC,QAAD,EAAW,WAAX;AAAX,KAHc,CAtEd;AA2EJiP,IAAAA,aAAa,EAAE,CACX,wDADW,EAEX,EAFW,EAGX;AAAEjP,MAAAA,OAAO,EAAE,CAAC,QAAD,EAAW,kBAAX;AAAX,KAHW,CA3EX;AAgFJkP,IAAAA,SAAS,EAAE,CAAC,wDAAD,CAhFP;AAiFJC,IAAAA,MAAM,EAAE,CAAC,yDAAD,CAjFJ;AAkFJzF,IAAAA,MAAM,EAAE,CAAC,mDAAD,CAlFJ;AAmFJ4B,IAAAA,aAAa,EAAE,CAAC,0DAAD,CAnFX;AAoFJ8D,IAAAA,WAAW,EAAE,CAAC,2CAAD,CApFT;AAqFJC,IAAAA,eAAe,EAAE,CACb,2DADa;AArFb,GAnkBM;AA4pBdC,EAAAA,QAAQ,EAAE;AACNpG,IAAAA,GAAG,EAAE,CAAC,yBAAD,CADC;AAENqG,IAAAA,kBAAkB,EAAE,CAAC,eAAD,CAFd;AAGNtF,IAAAA,UAAU,EAAE,CAAC,mCAAD,CAHN;AAINuF,IAAAA,gBAAgB,EAAE,CACd,eADc,EAEd,EAFc,EAGd;AAAExP,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,oBAAb;AAAX,KAHc;AAJZ,GA5pBI;AAsqBdyP,EAAAA,QAAQ,EAAE;AACNC,IAAAA,MAAM,EAAE,CAAC,gBAAD,CADF;AAENC,IAAAA,SAAS,EAAE,CACP,oBADO,EAEP;AAAEC,MAAAA,OAAO,EAAE;AAAE,wBAAgB;AAAlB;AAAX,KAFO;AAFL,GAtqBI;AA6qBdC,EAAAA,IAAI,EAAE;AAAE3G,IAAAA,GAAG,EAAE,CAAC,WAAD;AAAP,GA7qBQ;AA8qBd4G,EAAAA,UAAU,EAAE;AACRC,IAAAA,YAAY,EAAE,CAAC,qCAAD,CADN;AAERC,IAAAA,iCAAiC,EAAE,CAC/B,gDAD+B,EAE/B;AAAE1J,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAF+B,CAF3B;AAMR0J,IAAAA,mBAAmB,EAAE,CACjB,sDADiB,EAEjB;AAAE3J,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFiB,CANb;AAUR2J,IAAAA,qBAAqB,EAAE,CACnB,mDADmB,EAEnB;AAAE5J,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFmB,CAVf;AAcR4J,IAAAA,8BAA8B,EAAE,CAC5B,6CAD4B,EAE5B;AAAE7J,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAF4B,CAdxB;AAkBR6J,IAAAA,gBAAgB,EAAE,CAAC,0CAAD,CAlBV;AAmBRC,IAAAA,iBAAiB,EAAE,CACf,kCADe,EAEf,EAFe,EAGf;AAAErQ,MAAAA,OAAO,EAAE,CAAC,YAAD,EAAe,iBAAf;AAAX,KAHe,CAnBX;AAwBRsQ,IAAAA,eAAe,EAAE,CAAC,kCAAD,CAxBT;AAyBRC,IAAAA,aAAa,EAAE,CAAC,8CAAD,CAzBP;AA0BRC,IAAAA,6BAA6B,EAAE,CAC3B,qCAD2B,EAE3B;AAAElK,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAF2B,CA1BvB;AA8BRkK,IAAAA,eAAe,EAAE,CACb,2CADa,EAEb;AAAEnK,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFa,CA9BT;AAkCR4H,IAAAA,wBAAwB,EAAE,CACtB,sBADsB,EAEtB;AAAE7H,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFsB,CAlClB;AAsCR6H,IAAAA,UAAU,EAAE,CACR,4BADQ,EAER;AAAE9H,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFQ,CAtCJ;AA0CRmK,IAAAA,eAAe,EAAE,CACb,wDADa,EAEb;AAAEpK,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFa,CA1CT;AA8CRoK,IAAAA,gBAAgB,EAAE,CACd,uCADc,EAEd;AAAErK,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFc,CA9CV;AAkDRqK,IAAAA,eAAe,EAAE,CAAC,wDAAD,CAlDT;AAmDRC,IAAAA,gBAAgB,EAAE,CAAC,wCAAD,CAnDV;AAoDRC,IAAAA,yBAAyB,EAAE,CAAC,uBAAD,CApDnB;AAqDRC,IAAAA,WAAW,EAAE,CAAC,6BAAD,CArDL;AAsDRC,IAAAA,WAAW,EAAE,CAAC,kCAAD,CAtDL;AAuDRC,IAAAA,8BAA8B,EAAE,CAC5B,+DAD4B,EAE5B;AAAE3K,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAF4B,CAvDxB;AA2DR2K,IAAAA,gBAAgB,EAAE,CACd,qEADc,EAEd;AAAE5K,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFc,CA3DV;AA+DR4K,IAAAA,YAAY,EAAE,CAAC,oCAAD;AA/DN,GA9qBE;AA+uBdC,EAAAA,IAAI,EAAE;AACFC,IAAAA,qBAAqB,EAAE,CACnB,wCADmB,EAEnB,EAFmB,EAGnB;AAAErR,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,sBAAT;AAAX,KAHmB,CADrB;AAMFsR,IAAAA,SAAS,EAAE,CAAC,mCAAD,CANT;AAOFC,IAAAA,gBAAgB,EAAE,CAAC,mCAAD,CAPhB;AAQFC,IAAAA,eAAe,EAAE,CACb,oCADa,EAEb,EAFa,EAGb;AAAExR,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,wBAAT;AAAX,KAHa,CARf;AAaFyR,IAAAA,sBAAsB,EAAE,CAAC,oCAAD,CAbtB;AAcFC,IAAAA,qBAAqB,EAAE,CACnB,2CADmB,EAEnB,EAFmB,EAGnB;AAAE1R,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,8BAAT;AAAX,KAHmB,CAdrB;AAmBF2R,IAAAA,4BAA4B,EAAE,CAAC,2CAAD,CAnB5B;AAoBFC,IAAAA,iBAAiB,EAAE,CACf,8CADe,EAEf,EAFe,EAGf;AAAE5R,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,4CAAT;AAAX,KAHe,CApBjB;AAyBF6R,IAAAA,kCAAkC,EAAE,CAChC,kDADgC,CAzBlC;AA4BFC,IAAAA,UAAU,EAAE,CACR,wBADQ,EAER,EAFQ,EAGR;AAAE9R,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,eAAT;AAAX,KAHQ,CA5BV;AAiCF+R,IAAAA,gBAAgB,EAAE,CAAC,8BAAD,CAjChB;AAkCFC,IAAAA,aAAa,EAAE,CAAC,wBAAD,CAlCb;AAmCFC,IAAAA,UAAU,EAAE,CACR,oCADQ,EAER,EAFQ,EAGR;AAAEjS,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,eAAT;AAAX,KAHQ,CAnCV;AAwCFkS,IAAAA,aAAa,EAAE,CAAC,oCAAD,CAxCb;AAyCFhJ,IAAAA,GAAG,EAAE,CAAC,iBAAD,CAzCH;AA0CFiJ,IAAAA,OAAO,EAAE,CACL,iCADK,EAEL,EAFK,EAGL;AAAEnS,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,YAAT;AAAX,KAHK,CA1CP;AA+CFoS,IAAAA,aAAa,EAAE,CACX,wCADW,EAEX,EAFW,EAGX;AAAEpS,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,sBAAT;AAAX,KAHW,CA/Cb;AAoDFqS,IAAAA,iCAAiC,EAAE,CAAC,kCAAD,CApDjC;AAqDFC,IAAAA,oBAAoB,EAAE,CAAC,wCAAD,CArDpB;AAsDFC,IAAAA,UAAU,EAAE,CAAC,iCAAD,CAtDV;AAuDF3H,IAAAA,IAAI,EAAE,CAAC,oBAAD,CAvDJ;AAwDF4H,IAAAA,oBAAoB,EAAE,CAClB,+BADkB,EAElB;AAAElM,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFkB,CAxDpB;AA4DFkM,IAAAA,gBAAgB,EAAE,CAAC,wBAAD,CA5DhB;AA6DFtE,IAAAA,wBAAwB,EAAE,CAAC,gBAAD,CA7DxB;AA8DFpD,IAAAA,WAAW,EAAE,CAAC,4BAAD,CA9DX;AA+DF2H,IAAAA,SAAS,EAAE,CACP,uBADO,EAEP,EAFO,EAGP;AAAE1S,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,cAAT;AAAX,KAHO,CA/DT;AAoEF+H,IAAAA,iBAAiB,EAAE,CACf,+BADe,EAEf;AAAEzB,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFe,EAGf;AAAEvG,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,sBAAT;AAAX,KAHe,CApEjB;AAyEF2S,IAAAA,mBAAmB,EAAE,CAAC,mDAAD,CAzEnB;AA0EFC,IAAAA,WAAW,EAAE,CAAC,yBAAD,CA1EX;AA2EFC,IAAAA,eAAe,EAAE,CACb,4BADa,EAEb,EAFa,EAGb;AAAE7S,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,qCAAT;AAAX,KAHa,CA3Ef;AAgFF8S,IAAAA,mCAAmC,EAAE,CAAC,4BAAD,CAhFnC;AAiFFC,IAAAA,wBAAwB,EAAE,CAAC,uCAAD,CAjFxB;AAkFFC,IAAAA,sBAAsB,EAAE,CAAC,6BAAD,CAlFtB;AAmFFC,IAAAA,iBAAiB,EAAE,CAAC,gCAAD,CAnFjB;AAoFFC,IAAAA,YAAY,EAAE,CAAC,uBAAD,CApFZ;AAqFFC,IAAAA,QAAQ,EAAE,CACN,wCADM,EAEN,EAFM,EAGN;AAAEnT,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,aAAT;AAAX,KAHM,CArFR;AA0FFoT,IAAAA,WAAW,EAAE,CAAC,wCAAD,CA1FX;AA2FFC,IAAAA,mBAAmB,EAAE,CACjB,2CADiB,EAEjB,EAFiB,EAGjB;AAAErT,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,yCAAT;AAAX,KAHiB,CA3FnB;AAgGFsT,IAAAA,YAAY,EAAE,CAAC,uCAAD,CAhGZ;AAiGFC,IAAAA,gBAAgB,EAAE,CACd,2CADc,EAEd,EAFc,EAGd;AAAEvT,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,yBAAT;AAAX,KAHc,CAjGhB;AAsGFwT,IAAAA,uBAAuB,EAAE,CAAC,2CAAD,CAtGvB;AAuGFC,IAAAA,yBAAyB,EAAE,CACvB,qDADuB,CAvGzB;AA0GFC,IAAAA,0CAA0C,EAAE,CACxC,8CADwC,CA1G1C;AA6GFC,IAAAA,oBAAoB,EAAE,CAAC,wCAAD,CA7GpB;AA8GFC,IAAAA,uCAAuC,EAAE,CACrC,2CADqC,CA9GvC;AAiHFC,IAAAA,WAAW,EAAE,CAAC,sCAAD,CAjHX;AAkHFnK,IAAAA,MAAM,EAAE,CAAC,mBAAD,CAlHN;AAmHFoK,IAAAA,UAAU,EAAE,CACR,mCADQ,EAER,EAFQ,EAGR;AAAE9T,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,eAAT;AAAX,KAHQ,CAnHV;AAwHF+T,IAAAA,gBAAgB,EAAE,CACd,oCADc,EAEd,EAFc,EAGd;AAAE/T,MAAAA,OAAO,EAAE,CAAC,MAAD,EAAS,sCAAT;AAAX,KAHc,CAxHhB;AA6HFgU,IAAAA,oCAAoC,EAAE,CAClC,oCADkC,CA7HpC;AAgIFC,IAAAA,aAAa,EAAE,CAAC,mCAAD;AAhIb,GA/uBQ;AAi3BdC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,eAAe,EAAE,CACb,qDADa,EAEb;AAAE7N,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFa,CADX;AAKN6N,IAAAA,UAAU,EAAE,CACR,0CADQ,EAER;AAAE9N,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CALN;AASN8N,IAAAA,YAAY,EAAE,CACV,qCADU,EAEV;AAAE/N,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU,CATR;AAaN+N,IAAAA,0BAA0B,EAAE,CACxB,qBADwB,EAExB;AAAEhO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFwB,CAbtB;AAiBNgO,IAAAA,YAAY,EAAE,CACV,2BADU,EAEV;AAAEjO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU,CAjBR;AAqBNiO,IAAAA,aAAa,EAAE,CACX,qCADW,EAEX;AAAElO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFW,CArBT;AAyBNgE,IAAAA,MAAM,EAAE,CACJ,+BADI,EAEJ;AAAEjE,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFI,CAzBF;AA6BNkO,IAAAA,UAAU,EAAE,CACR,0CADQ,EAER;AAAEnO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CA7BN;AAiCNmO,IAAAA,YAAY,EAAE,CACV,sCADU,EAEV;AAAEpO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU,CAjCR;AAqCN2C,IAAAA,GAAG,EAAE,CACD,4BADC,EAED;AAAE5C,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFC,CArCC;AAyCNoO,IAAAA,OAAO,EAAE,CACL,uCADK,EAEL;AAAErO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFK,CAzCH;AA6CNqO,IAAAA,SAAS,EAAE,CACP,mCADO,EAEP;AAAEtO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFO,CA7CL;AAiDNsO,IAAAA,oBAAoB,EAAE,CAClB,gEADkB,EAElB;AAAEvO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFkB,CAjDhB;AAqDNuO,IAAAA,SAAS,EAAE,CACP,yCADO,EAEP;AAAExO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFO,CArDL;AAyDNwO,IAAAA,iBAAiB,EAAE,CACf,0CADe,EAEf;AAAEzO,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFe,CAzDb;AA6DNyO,IAAAA,WAAW,EAAE,CACT,oCADS,EAET;AAAE1O,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFS,CA7DP;AAiEN6H,IAAAA,UAAU,EAAE,CACR,0BADQ,EAER;AAAE9H,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CAjEN;AAqEN8H,IAAAA,WAAW,EAAE,CACT,oCADS,EAET;AAAE/H,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFS,CArEP;AAyENwE,IAAAA,WAAW,EAAE,CACT,gCADS,EAET;AAAEzE,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFS,CAzEP;AA6EN0O,IAAAA,QAAQ,EAAE,CACN,8CADM,EAEN;AAAE3O,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFM,CA7EJ;AAiFN2O,IAAAA,UAAU,EAAE,CACR,0CADQ,EAER;AAAE5O,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CAjFN;AAqFN4O,IAAAA,kBAAkB,EAAE,CAChB,wDADgB,EAEhB;AAAE7O,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFgB,CArFd;AAyFN6O,IAAAA,yBAAyB,EAAE,CACvB,gEADuB,EAEvB;AAAE9O,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFuB,EAGvB;AAAEvG,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,sBAAb;AAAX,KAHuB,CAzFrB;AA8FN0J,IAAAA,MAAM,EAAE,CACJ,8BADI,EAEJ;AAAEpD,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFI,CA9FF;AAkGN8O,IAAAA,UAAU,EAAE,CACR,yCADQ,EAER;AAAE/O,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CAlGN;AAsGN+O,IAAAA,YAAY,EAAE,CACV,qCADU,EAEV;AAAEhP,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU;AAtGR,GAj3BI;AA49BdgP,EAAAA,KAAK,EAAE;AACHC,IAAAA,aAAa,EAAE,CAAC,qDAAD,CADZ;AAEHxM,IAAAA,MAAM,EAAE,CAAC,kCAAD,CAFL;AAGHsB,IAAAA,aAAa,EAAE,CACX,yDADW,EAEX,EAFW,EAGX;AAAEtK,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,qBAAV;AAAX,KAHW,CAHZ;AAQHyV,IAAAA,2BAA2B,EAAE,CACzB,8EADyB,CAR1B;AAWHC,IAAAA,YAAY,EAAE,CAAC,wDAAD,CAXX;AAYHC,IAAAA,mBAAmB,EAAE,CACjB,yDADiB,CAZlB;AAeHC,IAAAA,wBAAwB,EAAE,CACtB,8EADsB,EAEtB,EAFsB,EAGtB;AAAE5V,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,6BAAV;AAAX,KAHsB,CAfvB;AAoBH6V,IAAAA,mBAAmB,EAAE,CACjB,oEADiB,EAEjB,EAFiB,EAGjB;AAAE7V,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,kBAAV;AAAX,KAHiB,CApBlB;AAyBHwK,IAAAA,aAAa,EAAE,CACX,0DADW,EAEX,EAFW,EAGX;AAAExK,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,qBAAV;AAAX,KAHW,CAzBZ;AA8BH8V,IAAAA,mBAAmB,EAAE,CACjB,sEADiB,CA9BlB;AAiCHC,IAAAA,mBAAmB,EAAE,CACjB,0DADiB,CAjClB;AAoCHC,IAAAA,mBAAmB,EAAE,CACjB,sEADiB,EAEjB,EAFiB,EAGjB;AAAEhW,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,0BAAV;AAAX,KAHiB,CApClB;AAyCHiW,IAAAA,aAAa,EAAE,CACX,8EADW,CAzCZ;AA4CH/M,IAAAA,GAAG,EAAE,CAAC,+CAAD,CA5CF;AA6CHwB,IAAAA,UAAU,EAAE,CACR,uDADQ,EAER,EAFQ,EAGR;AAAE1K,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,kBAAV;AAAX,KAHQ,CA7CT;AAkDHkW,IAAAA,oBAAoB,EAAE,CAClB,4EADkB,EAElB,EAFkB,EAGlB;AAAElW,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,uBAAV;AAAX,KAHkB,CAlDnB;AAuDHmW,IAAAA,SAAS,EAAE,CACP,mEADO,CAvDR;AA0DHC,IAAAA,gBAAgB,EAAE,CAAC,uDAAD,CA1Df;AA2DHxL,IAAAA,IAAI,EAAE,CAAC,iCAAD,CA3DH;AA4DHC,IAAAA,YAAY,EAAE,CACV,wDADU,EAEV,EAFU,EAGV;AAAE7K,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,oBAAV;AAAX,KAHU,CA5DX;AAiEH+N,IAAAA,mBAAmB,EAAE,CACjB,0CADiB,EAEjB,EAFiB,EAGjB;AAAE/N,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAAX,KAHiB,CAjElB;AAsEHqW,IAAAA,qBAAqB,EAAE,CACnB,4EADmB,CAtEpB;AAyEHvL,IAAAA,WAAW,EAAE,CAAC,uDAAD,CAzEV;AA0EHwL,IAAAA,SAAS,EAAE,CAAC,qDAAD,CA1ER;AA2EHC,IAAAA,sBAAsB,EAAE,CACpB,mEADoB,CA3ErB;AA8EHC,IAAAA,kBAAkB,EAAE,CAChB,wDADgB,CA9EjB;AAiFHC,IAAAA,yBAAyB,EAAE,CAAC,0CAAD,CAjFxB;AAkFHC,IAAAA,kBAAkB,EAAE,CAChB,mEADgB,EAEhB,EAFgB,EAGhB;AAAE1W,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,wBAAV;AAAX,KAHgB,CAlFjB;AAuFH2W,IAAAA,WAAW,EAAE,CAAC,uDAAD,CAvFV;AAwFHC,IAAAA,KAAK,EAAE,CAAC,qDAAD,CAxFJ;AAyFHC,IAAAA,wBAAwB,EAAE,CACtB,sEADsB,CAzFvB;AA4FHC,IAAAA,gBAAgB,EAAE,CACd,oEADc,CA5Ff;AA+FHC,IAAAA,YAAY,EAAE,CACV,2EADU,CA/FX;AAkGHrN,IAAAA,MAAM,EAAE,CAAC,iDAAD,CAlGL;AAmGHsN,IAAAA,YAAY,EAAE,CACV,6DADU,EAEV;AAAE1Q,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFU,CAnGX;AAuGH+E,IAAAA,aAAa,EAAE,CACX,yDADW,EAEX,EAFW,EAGX;AAAEtL,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,qBAAV;AAAX,KAHW,CAvGZ;AA4GHiX,IAAAA,YAAY,EAAE,CACV,mEADU,CA5GX;AA+GHC,IAAAA,mBAAmB,EAAE,CACjB,yDADiB;AA/GlB,GA59BO;AA+kCdC,EAAAA,SAAS,EAAE;AAAEjO,IAAAA,GAAG,EAAE,CAAC,iBAAD;AAAP,GA/kCG;AAglCdkO,EAAAA,SAAS,EAAE;AACPC,IAAAA,sBAAsB,EAAE,CACpB,4DADoB,EAEpB;AAAE/Q,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFoB,CADjB;AAKP+Q,IAAAA,cAAc,EAAE,CACZ,4DADY,EAEZ;AAAEhR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFY,CALT;AASPgR,IAAAA,qBAAqB,EAAE,CACnB,mEADmB,EAEnB;AAAEjR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFmB,CAThB;AAaPiR,IAAAA,iCAAiC,EAAE,CAC/B,kEAD+B,EAE/B;AAAElR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF+B,CAb5B;AAiBPkR,IAAAA,mCAAmC,EAAE,CACjC,wGADiC,EAEjC;AAAEnR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFiC,CAjB9B;AAqBPmR,IAAAA,4BAA4B,EAAE,CAC1B,8EAD0B,EAE1B;AAAEpR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF0B,CArBvB;AAyBPgE,IAAAA,MAAM,EAAE,CACJ,iCADI,EAEJ;AAAEjE,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFI,EAGJ;AAAEvG,MAAAA,OAAO,EAAE,CAAC,WAAD,EAAc,cAAd;AAAX,KAHI,CAzBD;AA8BP2X,IAAAA,sBAAsB,EAAE,CACpB,4EADoB,EAEpB;AAAErR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFoB,CA9BjB;AAkCPqR,IAAAA,cAAc,EAAE,CACZ,4EADY,EAEZ;AAAEtR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFY,CAlCT;AAsCPsR,IAAAA,qBAAqB,EAAE,CACnB,mFADmB,EAEnB;AAAEvR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFmB,CAtChB;AA0CPuR,IAAAA,2BAA2B,EAAE,CACzB,kFADyB,EAEzB;AAAExR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFyB,CA1CtB;AA8CPwR,IAAAA,uBAAuB,EAAE,CACrB,8FADqB,EAErB;AAAEzR,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFqB,CA9ClB;AAkDPyR,IAAAA,8BAA8B,EAAE,CAC5B,wHAD4B,EAE5B;AAAE1R,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF4B,CAlDzB;AAsDP0R,IAAAA,YAAY,EAAE,CACV,iCADU,EAEV;AAAE3R,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFU,EAGV;AACI2R,MAAAA,UAAU,EAAE;AADhB,KAHU,CAtDP;AA6DPC,IAAAA,oBAAoB,EAAE,CAClB,2DADkB,EAElB;AAAE7R,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFkB,CA7Df;AAiEP6R,IAAAA,YAAY,EAAE,CACV,2DADU,EAEV;AAAE9R,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFU,CAjEP;AAqEP8R,IAAAA,mBAAmB,EAAE,CACjB,kEADiB,EAEjB;AAAE/R,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFiB,CArEd;AAyEP+R,IAAAA,+BAA+B,EAAE,CAC7B,iEAD6B,EAE7B;AAAEhS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF6B,CAzE1B;AA6EPgS,IAAAA,iCAAiC,EAAE,CAC/B,uGAD+B,EAE/B;AAAEjS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF+B,CA7E5B;AAiFPiS,IAAAA,0BAA0B,EAAE,CACxB,6EADwB,EAExB;AAAElS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFwB;AAjFrB,GAhlCG;AAsqCdkS,EAAAA,KAAK,EAAE;AACHC,IAAAA,gBAAgB,EAAE,CAAC,oDAAD,CADf;AAEHC,IAAAA,wBAAwB,EAAE,CACtB,2EADsB,EAEtB,EAFsB,EAGtB;AAAEC,MAAAA,SAAS,EAAE;AAAb,KAHsB,CAFvB;AAOHzE,IAAAA,eAAe,EAAE,CAAC,oDAAD,CAPd;AAQH0E,IAAAA,YAAY,EAAE,CACV,iCADU,EAEV,EAFU,EAGV;AAAE7Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iBAAV;AAAX,KAHU,CARX;AAaH8Y,IAAAA,kCAAkC,EAAE,CAChC,wEADgC,EAEhC,EAFgC,EAGhC;AAAE9Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,0BAAV;AAAX,KAHgC,CAbjC;AAkBH+Y,IAAAA,iCAAiC,EAAE,CAC/B,2EAD+B,EAE/B,EAF+B,EAG/B;AAAEH,MAAAA,SAAS,EAAE,MAAb;AAAqB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,0BAAV;AAA9B,KAH+B,CAlBhC;AAuBHgZ,IAAAA,oCAAoC,EAAE,CAClC,6EADkC,EAElC;AAAE1S,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFkC,EAGlC;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iCAAV;AAAX,KAHkC,CAvBnC;AA4BHiZ,IAAAA,8CAA8C,EAAE,CAC5C,yFAD4C,EAE5C,EAF4C,EAG5C;AAAEL,MAAAA,SAAS,EAAE,UAAb;AAAyB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,wBAAV;AAAlC,KAH4C,CA5B7C;AAiCHkZ,IAAAA,kCAAkC,EAAE,CAChC,4EADgC,EAEhC,EAFgC,EAGhC;AAAEN,MAAAA,SAAS,EAAE,OAAb;AAAsB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAA/B,KAHgC,CAjCjC;AAsCHmZ,IAAAA,kCAAkC,EAAE,CAChC,4EADgC,EAEhC,EAFgC,EAGhC;AAAEP,MAAAA,SAAS,EAAE,OAAb;AAAsB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAA/B,KAHgC,CAtCjC;AA2CHoZ,IAAAA,sBAAsB,EAAE,CACpB,yFADoB,EAEpB,EAFoB,EAGpB;AAAER,MAAAA,SAAS,EAAE;AAAb,KAHoB,CA3CrB;AAgDHS,IAAAA,yBAAyB,EAAE,CACvB,4EADuB,EAEvB,EAFuB,EAGvB;AAAET,MAAAA,SAAS,EAAE;AAAb,KAHuB,CAhDxB;AAqDHU,IAAAA,yBAAyB,EAAE,CACvB,4EADuB,EAEvB,EAFuB,EAGvB;AAAEV,MAAAA,SAAS,EAAE;AAAb,KAHuB,CArDxB;AA0DHW,IAAAA,iBAAiB,EAAE,CAAC,oDAAD,CA1DhB;AA2DHC,IAAAA,wBAAwB,EAAE,CACtB,gDADsB,EAEtB;AAAElT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFsB,CA3DvB;AA+DHkT,IAAAA,cAAc,EAAE,CAAC,mDAAD,CA/Db;AAgEHC,IAAAA,mBAAmB,EAAE,CACjB,0DADiB,CAhElB;AAmEHC,IAAAA,+BAA+B,EAAE,CAC7B,6EAD6B,EAE7B;AAAErT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAF6B,CAnE9B;AAuEHqT,IAAAA,kBAAkB,EAAE,CAAC,2CAAD,CAvEjB;AAwEHC,IAAAA,eAAe,EAAE,CAAC,iCAAD,CAxEd;AAyEHC,IAAAA,gBAAgB,EAAE,CAAC,wCAAD,CAzEf;AA0EHC,IAAAA,sBAAsB,EAAE,CACpB,iEADoB,CA1ErB;AA6EHC,IAAAA,mBAAmB,EAAE,CAAC,uCAAD,CA7ElB;AA8EH1F,IAAAA,0BAA0B,EAAE,CAAC,kBAAD,CA9EzB;AA+EH2F,IAAAA,UAAU,EAAE,CAAC,kCAAD,CA/ET;AAgFHnI,IAAAA,UAAU,EAAE,CACR,kCADQ,EAER,EAFQ,EAGR;AAAE9R,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,eAAV;AAAX,KAHQ,CAhFT;AAqFHka,IAAAA,WAAW,EAAE,CAAC,wBAAD,CArFV;AAsFHC,IAAAA,kBAAkB,EAAE,CAChB,2CADgB,EAEhB,EAFgB,EAGhB;AAAEna,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,4BAAV;AAAX,KAHgB,CAtFjB;AA2FHoa,IAAAA,0BAA0B,EAAE,CAAC,2CAAD,CA3FzB;AA4FHC,IAAAA,eAAe,EAAE,CACb,kCADa,EAEb;AAAE/T,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,YAAD;AAAZ;AAAb,KAFa,CA5Fd;AAgGH+T,IAAAA,aAAa,EAAE,CAAC,qCAAD,CAhGZ;AAiGHC,IAAAA,YAAY,EAAE,CACV,2CADU,EAEV,EAFU,EAGV;AAAEva,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,oBAAV;AAAX,KAHU,CAjGX;AAsGHwa,IAAAA,mBAAmB,EAAE,CACjB,uDADiB,EAEjB;AAAElU,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,UAAD;AAAZ;AAAb,KAFiB,CAtGlB;AA0GHyL,IAAAA,aAAa,EAAE,CAAC,kCAAD,CA1GZ;AA2GHyI,IAAAA,iBAAiB,EAAE,CAAC,qDAAD,CA3GhB;AA4GHlQ,IAAAA,MAAM,EAAE,CAAC,8BAAD,CA5GL;AA6GHmQ,IAAAA,wBAAwB,EAAE,CACtB,wEADsB,CA7GvB;AAgHHC,IAAAA,2BAA2B,EAAE,CACzB,0EADyB,CAhH1B;AAmHHC,IAAAA,sBAAsB,EAAE,CACpB,2DADoB,CAnHrB;AAsHHC,IAAAA,mBAAmB,EAAE,CAAC,oDAAD,CAtHlB;AAuHHC,IAAAA,+BAA+B,EAAE,CAC7B,+EAD6B,EAE7B;AAAExU,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAF6B,CAvH9B;AA2HHwU,IAAAA,eAAe,EAAE,CAAC,4CAAD,CA3Hd;AA4HHC,IAAAA,gBAAgB,EAAE,CACd,0DADc,CA5Hf;AA+HHC,IAAAA,cAAc,EAAE,CAAC,sDAAD,CA/Hb;AAgIHC,IAAAA,UAAU,EAAE,CAAC,8CAAD,CAhIT;AAiIHjJ,IAAAA,UAAU,EAAE,CACR,8CADQ,EAER,EAFQ,EAGR;AAAEjS,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,eAAV;AAAX,KAHQ,CAjIT;AAsIHmb,IAAAA,gBAAgB,EAAE,CACd,0DADc,CAtIf;AAyIHC,IAAAA,eAAe,EAAE,CACb,oCADa,EAEb;AAAE9U,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,YAAD;AAAZ;AAAb,KAFa,CAzId;AA6IH8U,IAAAA,iCAAiC,EAAE,CAC/B,yFAD+B,CA7IhC;AAgJHC,IAAAA,aAAa,EAAE,CAAC,oDAAD,CAhJZ;AAiJHC,IAAAA,kBAAkB,EAAE,CAChB,yDADgB,CAjJjB;AAoJHrJ,IAAAA,aAAa,EAAE,CAAC,8CAAD,CApJZ;AAqJHsJ,IAAAA,6BAA6B,EAAE,CAC3B,uDAD2B,EAE3B;AAAElV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAF2B,CArJ5B;AAyJHkV,IAAAA,gBAAgB,EAAE,CACd,oCADc,EAEd;AAAEnV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,YAAD;AAAZ;AAAb,KAFc,EAGd;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iBAAV;AAAX,KAHc,CAzJf;AA8JH0b,IAAAA,0BAA0B,EAAE,CACxB,mDADwB,EAExB;AAAEpV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFwB,CA9JzB;AAkKHoV,IAAAA,eAAe,EAAE,CAAC,kDAAD,CAlKd;AAmKHC,IAAAA,4BAA4B,EAAE,CAC1B,oDAD0B,EAE1B;AAAEtV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAF0B,CAnK3B;AAuKHsV,IAAAA,eAAe,EAAE,CACb,kCADa,EAEb;AAAEvV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,YAAD;AAAZ;AAAb,KAFa,EAGb;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iBAAV;AAAX,KAHa,CAvKd;AA4KH8b,IAAAA,yBAAyB,EAAE,CACvB,gDADuB,EAEvB;AAAExV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFuB,CA5KxB;AAgLH2C,IAAAA,GAAG,EAAE,CAAC,2BAAD,CAhLF;AAiLH6S,IAAAA,qBAAqB,EAAE,CACnB,qEADmB,CAjLpB;AAoLHC,IAAAA,wBAAwB,EAAE,CACtB,uEADsB,CApLvB;AAuLHC,IAAAA,yBAAyB,EAAE,CACvB,wFADuB,CAvLxB;AA0LHC,IAAAA,YAAY,EAAE,CACV,kCADU,EAEV;AAAE5V,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFU,CA1LX;AA8LH4V,IAAAA,kCAAkC,EAAE,CAChC,0EADgC,CA9LjC;AAiMHC,IAAAA,cAAc,EAAE,CACZ,kDADY,EAEZ,EAFY,EAGZ;AAAEpc,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iBAAV;AAAX,KAHY,CAjMb;AAsMHqc,IAAAA,SAAS,EAAE,CAAC,6CAAD,CAtMR;AAuMHC,IAAAA,mBAAmB,EAAE,CACjB,wDADiB,CAvMlB;AA0MHC,IAAAA,SAAS,EAAE,CAAC,0CAAD,CA1MR;AA2MHC,IAAAA,qBAAqB,EAAE,CAAC,gDAAD,CA3MpB;AA4MHC,IAAAA,8BAA8B,EAAE,CAC5B,+DAD4B,CA5M7B;AA+MHC,IAAAA,uBAAuB,EAAE,CAAC,gDAAD,CA/MtB;AAgNH3Q,IAAAA,SAAS,EAAE,CAAC,yCAAD,CAhNR;AAiNH4Q,IAAAA,sBAAsB,EAAE,CAAC,iDAAD,CAjNrB;AAkNHC,IAAAA,gBAAgB,EAAE,CAAC,iDAAD,CAlNf;AAmNHC,IAAAA,4BAA4B,EAAE,CAC1B,4EAD0B,EAE1B;AAAEvW,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAF0B,CAnN3B;AAuNHuW,IAAAA,0BAA0B,EAAE,CAAC,6CAAD,CAvNzB;AAwNHC,IAAAA,UAAU,EAAE,CAAC,2CAAD,CAxNT;AAyNHC,IAAAA,WAAW,EAAE,CACT,2CADS,EAET,EAFS,EAGT;AAAEhd,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,YAAV;AAAX,KAHS,CAzNV;AA8NHid,IAAAA,oBAAoB,EAAE,CAAC,8CAAD,CA9NnB;AA+NHC,IAAAA,YAAY,EAAE,CAAC,yCAAD,CA/NX;AAgOHC,IAAAA,aAAa,EAAE,CAAC,uDAAD,CAhOZ;AAiOHC,IAAAA,mBAAmB,EAAE,CACjB,4EADiB,CAjOlB;AAoOHC,IAAAA,WAAW,EAAE,CAAC,mDAAD,CApOV;AAqOHlL,IAAAA,OAAO,EAAE,CACL,2CADK,EAEL,EAFK,EAGL;AAAEnS,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,YAAV;AAAX,KAHK,CArON;AA0OHsd,IAAAA,mBAAmB,EAAE,CAAC,+CAAD,CA1OlB;AA2OHC,IAAAA,gBAAgB,EAAE,CAAC,2CAAD,CA3Of;AA4OHC,IAAAA,QAAQ,EAAE,CAAC,iCAAD,CA5OP;AA6OHC,IAAAA,aAAa,EAAE,CAAC,mDAAD,CA7OZ;AA8OHC,IAAAA,qBAAqB,EAAE,CAAC,+CAAD,CA9OpB;AA+OHC,IAAAA,kCAAkC,EAAE,CAChC,uEADgC,EAEhC,EAFgC,EAGhC;AAAE3d,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,0BAAV;AAAX,KAHgC,CA/OjC;AAoPH4d,IAAAA,8CAA8C,EAAE,CAC5C,sFAD4C,EAE5C,EAF4C,EAG5C;AAAE5d,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,gCAAV;AAAX,KAH4C,CApP7C;AAyPH6d,IAAAA,oCAAoC,EAAE,CAClC,4EADkC,EAElC;AAAEvX,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFkC,EAGlC;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAAX,KAHkC,CAzPnC;AA8PH8d,IAAAA,sCAAsC,EAAE,CACpC,+EADoC,EAEpC,EAFoC,EAGpC;AAAE9d,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAAX,KAHoC,CA9PrC;AAmQH+d,IAAAA,8BAA8B,EAAE,CAC5B,qEAD4B,EAE5B,EAF4B,EAG5B;AAAE/d,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,uBAAV;AAAX,KAH4B,CAnQ7B;AAwQHge,IAAAA,8BAA8B,EAAE,CAC5B,sFAD4B,CAxQ7B;AA2QHC,IAAAA,iBAAiB,EAAE,CAAC,4CAAD,CA3QhB;AA4QHC,IAAAA,SAAS,EAAE,CAAC,kCAAD,CA5QR;AA6QHC,IAAAA,UAAU,EAAE,CAAC,iDAAD,CA7QT;AA8QHC,IAAAA,eAAe,EAAE,CAAC,sDAAD,CA9Qd;AA+QHC,IAAAA,eAAe,EAAE,CAAC,+CAAD,CA/Qd;AAgRHC,IAAAA,yBAAyB,EAAE,CACvB,+EADuB,CAhRxB;AAmRHC,IAAAA,mCAAmC,EAAE,CACjC,2EADiC,CAnRlC;AAsRHC,IAAAA,WAAW,EAAE,CAAC,iDAAD,CAtRV;AAuRHC,IAAAA,eAAe,EAAE,CAAC,qDAAD,CAvRd;AAwRHC,IAAAA,mCAAmC,EAAE,CACjC,2EADiC,CAxRlC;AA2RHC,IAAAA,QAAQ,EAAE,CAAC,yCAAD,CA3RP;AA4RHpM,IAAAA,UAAU,EAAE,CAAC,2CAAD,CA5RT;AA6RH3H,IAAAA,IAAI,EAAE,CACF,iBADE,EAEF,EAFE,EAGF;AAAE5K,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,0BAAV;AAAX,KAHE,CA7RH;AAkSH4e,IAAAA,oBAAoB,EAAE,CAClB,wDADkB,EAElB,EAFkB,EAGlB;AAAE5e,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,mBAAV;AAAX,KAHkB,CAlSnB;AAuSH6e,IAAAA,YAAY,EAAE,CAAC,oCAAD,CAvSX;AAwSHC,IAAAA,yBAAyB,EAAE,CACvB,oEADuB,EAEvB;AAAExY,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFuB,CAxSxB;AA4SHwO,IAAAA,iBAAiB,EAAE,CAAC,yCAAD,CA5ShB;AA6SHgK,IAAAA,qBAAqB,EAAE,CACnB,yDADmB,CA7SpB;AAgTHC,IAAAA,kBAAkB,EAAE,CAChB,oCADgB,EAEhB,EAFgB,EAGhB;AAAEhf,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAAX,KAHgB,CAhTjB;AAqTHif,IAAAA,yBAAyB,EAAE,CAAC,oCAAD,CArTxB;AAsTHC,IAAAA,wBAAwB,EAAE,CACtB,kDADsB,CAtTvB;AAyTHpU,IAAAA,WAAW,EAAE,CAAC,mCAAD,CAzTV;AA0THqU,IAAAA,gBAAgB,EAAE,CAAC,wCAAD,CA1Tf;AA2THC,IAAAA,cAAc,EAAE,CAAC,gCAAD,CA3Tb;AA4THC,IAAAA,sBAAsB,EAAE,CACpB,gEADoB,CA5TrB;AA+THC,IAAAA,eAAe,EAAE,CAAC,uCAAD,CA/Td;AAgUHC,IAAAA,aAAa,EAAE,CAAC,qCAAD,CAhUZ;AAiUHpR,IAAAA,wBAAwB,EAAE,CAAC,iBAAD,CAjUvB;AAkUHC,IAAAA,UAAU,EAAE,CAAC,uBAAD,CAlUT;AAmUHrD,IAAAA,WAAW,EAAE,CAAC,6BAAD,CAnUV;AAoUHC,IAAAA,SAAS,EAAE,CAAC,iCAAD,CApUR;AAqUH0H,IAAAA,SAAS,EAAE,CACP,iCADO,EAEP,EAFO,EAGP;AAAE1S,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,cAAV;AAAX,KAHO,CArUR;AA0UHwf,IAAAA,eAAe,EAAE,CAAC,uCAAD,CA1Ud;AA2UHC,IAAAA,mCAAmC,EAAE,CAAC,kCAAD,CA3UlC;AA4UHC,IAAAA,aAAa,EAAE,CAAC,qCAAD,CA5UZ;AA6UHC,IAAAA,eAAe,EAAE,CAAC,wCAAD,CA7Ud;AA8UHC,IAAAA,+CAA+C,EAAE,CAC7C,wFAD6C,EAE7C,EAF6C,EAG7C;AAAE5f,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAAX,KAH6C,CA9U9C;AAmVHiL,IAAAA,UAAU,EAAE,CAAC,mBAAD,CAnVT;AAoVH4U,IAAAA,oCAAoC,EAAE,CAClC,sDADkC,EAElC;AAAEvZ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFkC,CApVnC;AAwVHuZ,IAAAA,iBAAiB,EAAE,CACf,wDADe,CAxVhB;AA2VHC,IAAAA,YAAY,EAAE,CAAC,oCAAD,CA3VX;AA4VHC,IAAAA,kBAAkB,EAAE,CAChB,kDADgB,EAEhB,EAFgB,EAGhB;AAAEhgB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,0BAAV;AAAX,KAHgB,CA5VjB;AAiWHigB,IAAAA,QAAQ,EAAE,CAAC,gCAAD,CAjWP;AAkWHC,IAAAA,SAAS,EAAE,CAAC,iCAAD,CAlWR;AAmWHC,IAAAA,UAAU,EAAE,CACR,kCADQ,EAER;AAAE7Z,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFQ,EAGR;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,cAAV;AAAX,KAHQ,CAnWT;AAwWHkT,IAAAA,YAAY,EAAE,CAAC,iCAAD,CAxWX;AAyWH0D,IAAAA,KAAK,EAAE,CAAC,mCAAD,CAzWJ;AA0WHzD,IAAAA,QAAQ,EAAE,CACN,kDADM,EAEN,EAFM,EAGN;AAAEnT,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,aAAV;AAAX,KAHM,CA1WP;AA+WHoT,IAAAA,WAAW,EAAE,CAAC,kDAAD,CA/WV;AAgXHgN,IAAAA,2BAA2B,EAAE,CACzB,6EADyB,EAEzB,EAFyB,EAGzB;AAAExH,MAAAA,SAAS,EAAE;AAAb,KAHyB,CAhX1B;AAqXHyH,IAAAA,sBAAsB,EAAE,CACpB,2DADoB,EAEpB,EAFoB,EAGpB;AAAErgB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,wBAAV;AAAX,KAHoB,CArXrB;AA0XHmV,IAAAA,kBAAkB,EAAE,CAChB,uDADgB,CA1XjB;AA6XHmL,IAAAA,eAAe,EAAE,CACb,4CADa,EAEb,EAFa,EAGb;AAAEtgB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iBAAV;AAAX,KAHa,CA7Xd;AAkYHugB,IAAAA,qCAAqC,EAAE,CACnC,0EADmC,EAEnC,EAFmC,EAGnC;AAAEvgB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,6BAAV;AAAX,KAHmC,CAlYpC;AAuYHwgB,IAAAA,oCAAoC,EAAE,CAClC,6EADkC,EAElC,EAFkC,EAGlC;AAAE5H,MAAAA,SAAS,EAAE,MAAb;AAAqB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,6BAAV;AAA9B,KAHkC,CAvYnC;AA4YHygB,IAAAA,iDAAiD,EAAE,CAC/C,yFAD+C,EAE/C,EAF+C,EAG/C;AAAEzgB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,mCAAV;AAAX,KAH+C,CA5YhD;AAiZH0gB,IAAAA,uCAAuC,EAAE,CACrC,+EADqC,EAErC;AAAEpa,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFqC,EAGrC;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iCAAV;AAAX,KAHqC,CAjZtC;AAsZH2gB,IAAAA,yCAAyC,EAAE,CACvC,kFADuC,EAEvC,EAFuC,EAGvC;AAAE3gB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAAX,KAHuC,CAtZxC;AA2ZH4gB,IAAAA,iDAAiD,EAAE,CAC/C,2FAD+C,EAE/C,EAF+C,EAG/C;AACIhI,MAAAA,SAAS,EAAE,UADf;AAEI5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAFb,KAH+C,CA3ZhD;AAmaH6gB,IAAAA,iCAAiC,EAAE,CAC/B,wEAD+B,EAE/B,EAF+B,EAG/B;AAAE7gB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,0BAAV;AAAX,KAH+B,CAnahC;AAwaH8gB,IAAAA,qCAAqC,EAAE,CACnC,8EADmC,EAEnC,EAFmC,EAGnC;AACIlI,MAAAA,SAAS,EAAE,OADf;AAEI5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAFb,KAHmC,CAxapC;AAgbH+gB,IAAAA,qCAAqC,EAAE,CACnC,8EADmC,EAEnC,EAFmC,EAGnC;AACInI,MAAAA,SAAS,EAAE,OADf;AAEI5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAFb,KAHmC,CAhbpC;AAwbHghB,IAAAA,yBAAyB,EAAE,CACvB,2FADuB,EAEvB,EAFuB,EAGvB;AAAEpI,MAAAA,SAAS,EAAE;AAAb,KAHuB,CAxbxB;AA6bHqI,IAAAA,2BAA2B,EAAE,CACzB,kFADyB,CA7b1B;AAgcHC,IAAAA,4BAA4B,EAAE,CAC1B,8EAD0B,EAE1B,EAF0B,EAG1B;AAAEtI,MAAAA,SAAS,EAAE;AAAb,KAH0B,CAhc3B;AAqcHuI,IAAAA,4BAA4B,EAAE,CAC1B,8EAD0B,EAE1B,EAF0B,EAG1B;AAAEvI,MAAAA,SAAS,EAAE;AAAb,KAH0B,CArc3B;AA0cHwI,IAAAA,gBAAgB,EAAE,CACd,kCADc,EAEd;AAAE9a,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFc,CA1cf;AA8cH8a,IAAAA,qCAAqC,EAAE,CACnC,0EADmC,EAEnC,EAFmC,EAGnC;AAAEzI,MAAAA,SAAS,EAAE,MAAb;AAAqB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,0BAAV;AAA9B,KAHmC,CA9cpC;AAmdHshB,IAAAA,kDAAkD,EAAE,CAChD,wFADgD,EAEhD,EAFgD,EAGhD;AAAE1I,MAAAA,SAAS,EAAE,UAAb;AAAyB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,wBAAV;AAAlC,KAHgD,CAndjD;AAwdHuhB,IAAAA,sCAAsC,EAAE,CACpC,2EADoC,EAEpC,EAFoC,EAGpC;AAAE3I,MAAAA,SAAS,EAAE,OAAb;AAAsB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAA/B,KAHoC,CAxdrC;AA6dHwhB,IAAAA,sCAAsC,EAAE,CACpC,2EADoC,EAEpC,EAFoC,EAGpC;AAAE5I,MAAAA,SAAS,EAAE,OAAb;AAAsB5Y,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAA/B,KAHoC,CA7drC;AAkeHyhB,IAAAA,aAAa,EAAE,CACX,kCADW,EAEX;AAAEnb,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFW,EAGX;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,kBAAV;AAAX,KAHW,CAleZ;AAueH0hB,IAAAA,gBAAgB,EAAE,CACd,yCADc,EAEd,EAFc,EAGd;AAAE1hB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,mBAAV;AAAX,KAHc,CAvef;AA4eH2hB,IAAAA,iBAAiB,EAAE,CAAC,yCAAD,CA5ehB;AA6eHC,IAAAA,+BAA+B,EAAE,CAC7B,6CAD6B,EAE7B,EAF6B,EAG7B;AAAE5hB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,4BAAV;AAAX,KAH6B,CA7e9B;AAkfH6hB,IAAAA,wBAAwB,EAAE,CACtB,wEADsB,CAlfvB;AAqfHC,IAAAA,wBAAwB,EAAE,CACtB,0EADsB,EAEtB,EAFsB,EAGtB;AAAElJ,MAAAA,SAAS,EAAE;AAAb,KAHsB,CArfvB;AA0fHmJ,IAAAA,sBAAsB,EAAE,CACpB,wFADoB,EAEpB,EAFoB,EAGpB;AAAEnJ,MAAAA,SAAS,EAAE;AAAb,KAHoB,CA1frB;AA+fHoJ,IAAAA,yBAAyB,EAAE,CACvB,2EADuB,EAEvB,EAFuB,EAGvB;AAAEpJ,MAAAA,SAAS,EAAE;AAAb,KAHuB,CA/fxB;AAogBHqJ,IAAAA,yBAAyB,EAAE,CACvB,2EADuB,EAEvB,EAFuB,EAGvB;AAAErJ,MAAAA,SAAS,EAAE;AAAb,KAHuB,CApgBxB;AAygBHsJ,IAAAA,YAAY,EAAE,CACV,kDADU,EAEV,EAFU,EAGV;AAAEliB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iBAAV;AAAX,KAHU,CAzgBX;AA8gBHmiB,IAAAA,eAAe,EAAE,CAAC,kDAAD,CA9gBd;AA+gBHC,IAAAA,QAAQ,EAAE,CAAC,qCAAD,CA/gBP;AAghBH1Y,IAAAA,MAAM,EAAE,CAAC,6BAAD,CAhhBL;AAihBH2Y,IAAAA,sBAAsB,EAAE,CACpB,wDADoB,CAjhBrB;AAohBHC,IAAAA,mBAAmB,EAAE,CAAC,mDAAD,CAphBlB;AAqhBHxO,IAAAA,UAAU,EAAE,CACR,6CADQ,EAER,EAFQ,EAGR;AAAE9T,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,eAAV;AAAX,KAHQ,CArhBT;AA0hBHuiB,IAAAA,+BAA+B,EAAE,CAAC,iCAAD,CA1hB9B;AA2hBHC,IAAAA,gBAAgB,EAAE,CACd,yDADc,CA3hBf;AA8hBHC,IAAAA,iDAAiD,EAAE,CAC/C,wFAD+C,EAE/C,EAF+C,EAG/C;AAAEziB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,mCAAV;AAAX,KAH+C,CA9hBhD;AAmiBH0iB,IAAAA,yCAAyC,EAAE,CACvC,iFADuC,EAEvC,EAFuC,EAGvC;AAAE1iB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAAX,KAHuC,CAniBxC;AAwiBH2iB,IAAAA,iCAAiC,EAAE,CAC/B,wFAD+B,CAxiBhC;AA2iBHC,IAAAA,aAAa,EAAE,CAAC,mDAAD,CA3iBZ;AA4iBHC,IAAAA,kBAAkB,EAAE,CAChB,wDADgB,CA5iBjB;AA+iBHC,IAAAA,0BAA0B,EAAE,CACxB,iFADwB,CA/iBzB;AAkjBH7O,IAAAA,aAAa,EAAE,CAAC,6CAAD,CAljBZ;AAmjBH8O,IAAAA,kBAAkB,EAAE,CAChB,sEADgB,EAEhB;AAAEC,MAAAA,OAAO,EAAE;AAAX,KAFgB;AAnjBjB,GAtqCO;AA8tDdC,EAAAA,MAAM,EAAE;AACJC,IAAAA,IAAI,EAAE,CAAC,kBAAD,CADF;AAEJC,IAAAA,OAAO,EAAE,CAAC,qBAAD,EAAwB;AAAE7c,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAAxB,CAFL;AAGJ6c,IAAAA,qBAAqB,EAAE,CAAC,oBAAD,CAHnB;AAIJC,IAAAA,MAAM,EAAE,CAAC,oBAAD,CAJJ;AAKJ5K,IAAAA,KAAK,EAAE,CAAC,0BAAD,CALH;AAMJ6K,IAAAA,MAAM,EAAE,CAAC,oBAAD,CANJ;AAOJC,IAAAA,KAAK,EAAE,CAAC,mBAAD;AAPH,GA9tDM;AAuuDdC,EAAAA,KAAK,EAAE;AACHC,IAAAA,iCAAiC,EAAE,CAC/B,0DAD+B,CADhC;AAIHC,IAAAA,0BAA0B,EAAE,CACxB,0DADwB,EAExB,EAFwB,EAGxB;AAAE1jB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,mCAAV;AAAX,KAHwB,CAJzB;AASH2jB,IAAAA,uBAAuB,EAAE,CACrB,yDADqB,EAErB;AAAErd,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFqB,EAGrB;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,oCAAV;AAAX,KAHqB,CATtB;AAcH4jB,IAAAA,kCAAkC,EAAE,CAChC,yDADgC,EAEhC;AAAEtd,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFgC,CAdjC;AAkBHsd,IAAAA,oBAAoB,EAAE,CAClB,wDADkB,EAElB,EAFkB,EAGlB;AAAE7jB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iCAAV;AAAX,KAHkB,CAlBnB;AAuBH8jB,IAAAA,+BAA+B,EAAE,CAC7B,wDAD6B,CAvB9B;AA0BHC,IAAAA,qBAAqB,EAAE,CACnB,wDADmB,EAEnB,EAFmB,EAGnB;AAAE/jB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAAX,KAHmB,CA1BpB;AA+BHgkB,IAAAA,+BAA+B,EAAE,CAC7B,yDAD6B,EAE7B;AAAE1d,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAF6B,CA/B9B;AAmCH0d,IAAAA,4BAA4B,EAAE,CAC1B,wDAD0B,CAnC3B;AAsCHjb,IAAAA,MAAM,EAAE,CAAC,wBAAD,CAtCL;AAuCHkb,IAAAA,4BAA4B,EAAE,CAC1B,6EAD0B,CAvC3B;AA0CHC,IAAAA,qBAAqB,EAAE,CAAC,gDAAD,CA1CpB;AA2CHC,IAAAA,4BAA4B,EAAE,CAC1B,gGAD0B,CA3C3B;AA8CHC,IAAAA,qBAAqB,EAAE,CACnB,sEADmB,CA9CpB;AAiDHC,IAAAA,WAAW,EAAE,CAAC,sCAAD,CAjDV;AAkDHC,IAAAA,SAAS,EAAE,CAAC,mCAAD,CAlDR;AAmDHC,IAAAA,yBAAyB,EAAE,CACvB,6FADuB,CAnDxB;AAsDHC,IAAAA,kBAAkB,EAAE,CAChB,mEADgB,CAtDjB;AAyDHC,IAAAA,yBAAyB,EAAE,CACvB,0DADuB,CAzDxB;AA4DHC,IAAAA,kBAAkB,EAAE,CAChB,0DADgB,EAEhB,EAFgB,EAGhB;AAAE3kB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAAX,KAHgB,CA5DjB;AAiEH4K,IAAAA,IAAI,EAAE,CAAC,uBAAD,CAjEH;AAkEHga,IAAAA,cAAc,EAAE,CAAC,yCAAD,CAlEb;AAmEHC,IAAAA,2BAA2B,EAAE,CACzB,4EADyB,CAnE1B;AAsEHC,IAAAA,oBAAoB,EAAE,CAAC,+CAAD,CAtEnB;AAuEH3W,IAAAA,wBAAwB,EAAE,CAAC,iBAAD,CAvEvB;AAwEH4W,IAAAA,gBAAgB,EAAE,CAAC,2CAAD,CAxEf;AAyEHC,IAAAA,2BAA2B,EAAE,CACzB,+CADyB,CAzE1B;AA4EHC,IAAAA,iBAAiB,EAAE,CACf,4CADe,EAEf;AAAE3e,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFe,CA5EhB;AAgFH2e,IAAAA,cAAc,EAAE,CAAC,yCAAD,CAhFb;AAiFHC,IAAAA,4BAA4B,EAAE,CAC1B,6DAD0B,CAjF3B;AAoFHC,IAAAA,qBAAqB,EAAE,CACnB,6DADmB,EAEnB,EAFmB,EAGnB;AAAEplB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAAX,KAHmB,CApFpB;AAyFHqlB,IAAAA,kBAAkB,EAAE,CAChB,4DADgB,CAzFjB;AA4FHC,IAAAA,eAAe,EAAE,CACb,2DADa,CA5Fd;AA+FHC,IAAAA,kBAAkB,EAAE,CAChB,yDADgB,EAEhB;AAAEjf,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFgB,EAGhB;AAAEvG,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iCAAV;AAAX,KAHgB,CA/FjB;AAoGHwlB,IAAAA,4BAA4B,EAAE,CAC1B,+FAD0B,CApG3B;AAuGHC,IAAAA,qBAAqB,EAAE,CACnB,qEADmB,CAvGpB;AA0GHC,IAAAA,WAAW,EAAE,CAAC,qCAAD;AA1GV,GAvuDO;AAm1DdnC,EAAAA,KAAK,EAAE;AACHoC,IAAAA,wBAAwB,EAAE,CAAC,mBAAD,CADvB;AAEHC,IAAAA,SAAS,EAAE,CACP,mBADO,EAEP,EAFO,EAGP;AAAE5lB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAAX,KAHO,CAFR;AAOH6lB,IAAAA,KAAK,EAAE,CAAC,6BAAD,CAPJ;AAQHC,IAAAA,YAAY,EAAE,CAAC,6BAAD,CARX;AASHC,IAAAA,cAAc,EAAE,CACZ,gCADY,EAEZ,EAFY,EAGZ;AAAE/lB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,sCAAV;AAAX,KAHY,CATb;AAcHgmB,IAAAA,qBAAqB,EAAE,CAAC,+CAAD,CAdpB;AAeHC,IAAAA,oCAAoC,EAAE,CAAC,gCAAD,CAfnC;AAgBHC,IAAAA,YAAY,EAAE,CACV,qBADU,EAEV,EAFU,EAGV;AAAElmB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAAX,KAHU,CAhBX;AAqBHmmB,IAAAA,4BAA4B,EAAE,CAAC,qBAAD,CArB3B;AAsBHC,IAAAA,eAAe,EAAE,CACb,iBADa,EAEb,EAFa,EAGb;AAAEpmB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,oCAAV;AAAX,KAHa,CAtBd;AA2BHqmB,IAAAA,kCAAkC,EAAE,CAAC,iBAAD,CA3BjC;AA4BHC,IAAAA,2BAA2B,EAAE,CAAC,qBAAD,CA5B1B;AA6BHC,IAAAA,YAAY,EAAE,CACV,qBADU,EAEV,EAFU,EAGV;AAAEvmB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAAX,KAHU,CA7BX;AAkCHwmB,IAAAA,YAAY,EAAE,CACV,oCADU,EAEV,EAFU,EAGV;AAAExmB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,8BAAV;AAAX,KAHU,CAlCX;AAuCHymB,IAAAA,4BAA4B,EAAE,CAAC,oCAAD,CAvC3B;AAwCHC,IAAAA,eAAe,EAAE,CACb,4BADa,EAEb,EAFa,EAGb;AAAE1mB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,oCAAV;AAAX,KAHa,CAxCd;AA6CH2mB,IAAAA,kCAAkC,EAAE,CAAC,4BAAD,CA7CjC;AA8CHC,IAAAA,MAAM,EAAE,CAAC,gCAAD,CA9CL;AA+CH1f,IAAAA,gBAAgB,EAAE,CAAC,WAAD,CA/Cf;AAgDH2f,IAAAA,aAAa,EAAE,CAAC,uBAAD,CAhDZ;AAiDHC,IAAAA,iBAAiB,EAAE,CAAC,iCAAD,CAjDhB;AAkDHC,IAAAA,SAAS,EAAE,CACP,iCADO,EAEP,EAFO,EAGP;AAAE/mB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2BAAV;AAAX,KAHO,CAlDR;AAuDHgnB,IAAAA,yBAAyB,EAAE,CAAC,iCAAD,CAvDxB;AAwDH1lB,IAAAA,YAAY,EAAE,CACV,yBADU,EAEV,EAFU,EAGV;AAAEtB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,iCAAV;AAAX,KAHU,CAxDX;AA6DHinB,IAAAA,+BAA+B,EAAE,CAAC,yBAAD,CA7D9B;AA8DHrc,IAAAA,IAAI,EAAE,CAAC,YAAD,CA9DH;AA+DHsc,IAAAA,WAAW,EAAE,CACT,kBADS,EAET,EAFS,EAGT;AAAElnB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,4BAAV;AAAX,KAHS,CA/DV;AAoEHmnB,IAAAA,0BAA0B,EAAE,CAAC,kBAAD,CApEzB;AAqEHC,IAAAA,UAAU,EAAE,CACR,kBADQ,EAER,EAFQ,EAGR;AAAEpnB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,4BAAV;AAAX,KAHQ,CArET;AA0EHqnB,IAAAA,0BAA0B,EAAE,CAAC,kBAAD,CA1EzB;AA2EHC,IAAAA,2BAA2B,EAAE,CAAC,qBAAD,CA3E1B;AA4EHC,IAAAA,iCAAiC,EAAE,CAAC,qBAAD,CA5EhC;AA6EHC,IAAAA,oBAAoB,EAAE,CAAC,iCAAD,CA7EnB;AA8EHC,IAAAA,iCAAiC,EAAE,CAC/B,qBAD+B,EAE/B,EAF+B,EAG/B;AAAEznB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,6BAAV;AAAX,KAH+B,CA9EhC;AAmFH0nB,IAAAA,oBAAoB,EAAE,CAAC,iCAAD,CAnFnB;AAoFHC,IAAAA,WAAW,EAAE,CACT,oBADS,EAET,EAFS,EAGT;AAAE3nB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,6BAAV;AAAX,KAHS,CApFV;AAyFH4nB,IAAAA,2BAA2B,EAAE,CAAC,oBAAD,CAzF1B;AA0FHC,IAAAA,kBAAkB,EAAE,CAAC,gCAAD,CA1FjB;AA2FHC,IAAAA,gBAAgB,EAAE,CACd,yBADc,EAEd,EAFc,EAGd;AAAE9nB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,sCAAV;AAAX,KAHc,CA3Ff;AAgGH+nB,IAAAA,gCAAgC,EAAE,CAAC,yBAAD,CAhG/B;AAiGHC,IAAAA,cAAc,EAAE,CACZ,gBADY,EAEZ,EAFY,EAGZ;AAAEhoB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,mCAAV;AAAX,KAHY,CAjGb;AAsGHioB,IAAAA,qBAAqB,EAAE,CAAC,4BAAD,CAtGpB;AAuGHC,IAAAA,iCAAiC,EAAE,CAAC,gBAAD,CAvGhC;AAwGHC,IAAAA,yCAAyC,EAAE,CAAC,8BAAD,CAxGxC;AAyGHC,IAAAA,4BAA4B,EAAE,CAC1B,8BAD0B,EAE1B,EAF0B,EAG1B;AAAEpoB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,2CAAV;AAAX,KAH0B,CAzG3B;AA8GHqoB,IAAAA,OAAO,EAAE,CAAC,gCAAD,CA9GN;AA+GHC,IAAAA,QAAQ,EAAE,CAAC,mCAAD,CA/GP;AAgHHC,IAAAA,mBAAmB,EAAE,CAAC,aAAD;AAhHlB;AAn1DO,CAAlB;;ACAO,MAAMC,OAAO,GAAG,mBAAhB;;ACAA,SAASC,kBAAT,CAA4BC,OAA5B,EAAqCC,YAArC,EAAmD;AACtD,QAAMC,UAAU,GAAG,EAAnB;;AACA,OAAK,MAAM,CAACC,KAAD,EAAQC,SAAR,CAAX,IAAiCC,MAAM,CAACC,OAAP,CAAeL,YAAf,CAAjC,EAA+D;AAC3D,SAAK,MAAM,CAACM,UAAD,EAAaC,QAAb,CAAX,IAAqCH,MAAM,CAACC,OAAP,CAAeF,SAAf,CAArC,EAAgE;AAC5D,YAAM,CAACK,KAAD,EAAQC,QAAR,EAAkBC,WAAlB,IAAiCH,QAAvC;AACA,YAAM,CAACI,MAAD,EAASC,GAAT,IAAgBJ,KAAK,CAACK,KAAN,CAAY,GAAZ,CAAtB;AACA,YAAMC,gBAAgB,GAAGV,MAAM,CAACW,MAAP,CAAc;AAAEJ,QAAAA,MAAF;AAAUC,QAAAA;AAAV,OAAd,EAA+BH,QAA/B,CAAzB;;AACA,UAAI,CAACR,UAAU,CAACC,KAAD,CAAf,EAAwB;AACpBD,QAAAA,UAAU,CAACC,KAAD,CAAV,GAAoB,EAApB;AACH;;AACD,YAAMc,YAAY,GAAGf,UAAU,CAACC,KAAD,CAA/B;;AACA,UAAIQ,WAAJ,EAAiB;AACbM,QAAAA,YAAY,CAACV,UAAD,CAAZ,GAA2BW,QAAQ,CAAClB,OAAD,EAAUG,KAAV,EAAiBI,UAAjB,EAA6BQ,gBAA7B,EAA+CJ,WAA/C,CAAnC;AACA;AACH;;AACDM,MAAAA,YAAY,CAACV,UAAD,CAAZ,GAA2BP,OAAO,CAACmB,OAAR,CAAgBT,QAAhB,CAAyBK,gBAAzB,CAA3B;AACH;AACJ;;AACD,SAAOb,UAAP;AACH;;AACD,SAASgB,QAAT,CAAkBlB,OAAlB,EAA2BG,KAA3B,EAAkCI,UAAlC,EAA8CG,QAA9C,EAAwDC,WAAxD,EAAqE;AACjE,QAAMS,mBAAmB,GAAGpB,OAAO,CAACmB,OAAR,CAAgBT,QAAhB,CAAyBA,QAAzB,CAA5B;;AACA,WAASW,eAAT,CAAyB,GAAGC,IAA5B,EAAkC;AAC9B;AACA,QAAIC,OAAO,GAAGH,mBAAmB,CAACZ,QAApB,CAA6BtS,KAA7B,CAAmC,GAAGoT,IAAtC,CAAd,CAF8B;;AAI9B,QAAIX,WAAW,CAACzQ,SAAhB,EAA2B;AACvBqR,MAAAA,OAAO,GAAGlB,MAAM,CAACW,MAAP,CAAc,EAAd,EAAkBO,OAAlB,EAA2B;AACjCC,QAAAA,IAAI,EAAED,OAAO,CAACZ,WAAW,CAACzQ,SAAb,CADoB;AAEjC,SAACyQ,WAAW,CAACzQ,SAAb,GAAyBuR;AAFQ,OAA3B,CAAV;AAIA,aAAOL,mBAAmB,CAACG,OAAD,CAA1B;AACH,KAV6B;AAY9B;;;AACA,QAAIZ,WAAW,CAACrpB,OAAhB,EAAyB;AACrB,YAAM,CAACoqB,QAAD,EAAWC,aAAX,IAA4BhB,WAAW,CAACrpB,OAA9C;AACA0oB,MAAAA,OAAO,CAAC4B,GAAR,CAAYC,IAAZ,CAAkB,WAAU1B,KAAM,IAAGI,UAAW,kCAAiCmB,QAAS,IAAGC,aAAc,IAA3G;AACH;;AACD,QAAIhB,WAAW,CAACnR,UAAhB,EAA4B;AACxBwQ,MAAAA,OAAO,CAAC4B,GAAR,CAAYC,IAAZ,CAAiBlB,WAAW,CAACnR,UAA7B;AACH;;AACD,QAAImR,WAAW,CAACxpB,iBAAhB,EAAmC;AAC/B;AACA,YAAMoqB,OAAO,GAAGH,mBAAmB,CAACZ,QAApB,CAA6BtS,KAA7B,CAAmC,GAAGoT,IAAtC,CAAhB;;AACA,WAAK,MAAM,CAAClqB,IAAD,EAAO0qB,KAAP,CAAX,IAA4BzB,MAAM,CAACC,OAAP,CAAeK,WAAW,CAACxpB,iBAA3B,CAA5B,EAA2E;AACvE;AACA;;AACA;AACA,YAAIC,IAAI,IAAImqB,OAAZ,EAAqB;AACjBvB,UAAAA,OAAO,CAAC4B,GAAR,CAAYC,IAAZ,CAAkB,IAAGzqB,IAAK,0CAAyC+oB,KAAM,IAAGI,UAAW,aAAYuB,KAAM,WAAzG;;AACA,cAAI,EAAEA,KAAK,IAAIP,OAAX,CAAJ,EAAyB;AACrBA,YAAAA,OAAO,CAACO,KAAD,CAAP,GAAiBP,OAAO,CAACnqB,IAAD,CAAxB;AACH;;AACD,iBAAOmqB,OAAO,CAACnqB,IAAD,CAAd;AACH;AACJ;;AACD,aAAOgqB,mBAAmB,CAACG,OAAD,CAA1B;AACH,KApC6B;;;AAsC9B,WAAOH,mBAAmB,CAAC,GAAGE,IAAJ,CAA1B;AACH;;AACD,SAAOjB,MAAM,CAACW,MAAP,CAAcK,eAAd,EAA+BD,mBAA/B,CAAP;AACH;;AC5DD;;;;;;;;;;;AAUA,AAAO,SAASW,mBAAT,CAA6B/B,OAA7B,EAAsC;AACzC,SAAOD,kBAAkB,CAACC,OAAD,EAAUgC,SAAV,CAAzB;AACH;AACDD,mBAAmB,CAACjC,OAApB,GAA8BA,OAA9B;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js deleted file mode 100644 index 0dfc07fdb5..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +++ /dev/null @@ -1,64 +0,0 @@ -export function endpointsToMethods(octokit, endpointsMap) { - const newMethods = {}; - for (const [scope, endpoints] of Object.entries(endpointsMap)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign({ method, url }, defaults); - if (!newMethods[scope]) { - newMethods[scope] = {}; - } - const scopeMethods = newMethods[scope]; - if (decorations) { - scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); - continue; - } - scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); - } - } - return newMethods; -} -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - function withDecorations(...args) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - let options = requestWithDefaults.endpoint.merge(...args); - // There are currently no other decorations than `.mapToData` - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: undefined, - }); - return requestWithDefaults(options); - } - // NOTE: there are currently no deprecations. But we keep the code - // below for future reference - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); - } - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - if (decorations.renamedParameters) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - const options = requestWithDefaults.endpoint.merge(...args); - for (const [name, alias] of Object.entries(decorations.renamedParameters)) { - // There is currently no deprecated parameter that is optional, - // so we never hit the else branch below at this point. - /* istanbul ignore else */ - if (name in options) { - octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); - if (!(alias in options)) { - options[alias] = options[name]; - } - delete options[name]; - } - } - return requestWithDefaults(options); - } - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - return requestWithDefaults(...args); - } - return Object.assign(withDecorations, requestWithDefaults); -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js deleted file mode 100644 index 48e6a0a421..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +++ /dev/null @@ -1,1991 +0,0 @@ -const Endpoints = { - actions: { - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - ], - cancelWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel", - ], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { renamedParameters: { name: "secret_name" } }, - ], - createOrUpdateSecretForRepo: [ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { - renamed: ["actions", "createOrUpdateRepoSecret"], - renamedParameters: { name: "secret_name" }, - }, - ], - createRegistrationToken: [ - "POST /repos/{owner}/{repo}/actions/runners/registration-token", - {}, - { renamed: ["actions", "createRegistrationTokenForRepo"] }, - ], - createRegistrationTokenForOrg: [ - "POST /orgs/{org}/actions/runners/registration-token", - ], - createRegistrationTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/registration-token", - ], - createRemoveToken: [ - "POST /repos/{owner}/{repo}/actions/runners/remove-token", - {}, - { renamed: ["actions", "createRemoveTokenForRepo"] }, - ], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/remove-token", - ], - deleteArtifact: [ - "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - ], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { renamedParameters: { name: "secret_name" } }, - ], - deleteSecretFromRepo: [ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { - renamed: ["actions", "deleteRepoSecret"], - renamedParameters: { name: "secret_name" }, - }, - ], - deleteSelfHostedRunnerFromOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}", - ], - deleteSelfHostedRunnerFromRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", - ], - deleteWorkflowRunLogs: [ - "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - ], - downloadArtifact: [ - "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", - ], - downloadJobLogsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - ], - downloadWorkflowJobLogs: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - {}, - { renamed: ["actions", "downloadJobLogsForWorkflowRun"] }, - ], - downloadWorkflowRunLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - ], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getPublicKey: [ - "GET /repos/{owner}/{repo}/actions/secrets/public-key", - {}, - { renamed: ["actions", "getRepoPublicKey"] }, - ], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: [ - "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { renamedParameters: { name: "secret_name" } }, - ], - getSecret: [ - "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { - renamed: ["actions", "getRepoSecret"], - renamedParameters: { name: "secret_name" }, - }, - ], - getSelfHostedRunner: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}", - {}, - { renamed: ["actions", "getSelfHostedRunnerForRepo"] }, - ], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}", - ], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowJob: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}", - {}, - { renamed: ["actions", "getJobForWorkflowRun"] }, - ], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunUsage: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing", - ], - getWorkflowUsage: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", - ], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listDownloadsForSelfHostedRunnerApplication: [ - "GET /repos/{owner}/{repo}/actions/runners/downloads", - {}, - { renamed: ["actions", "listRunnerApplicationsForRepo"] }, - ], - listJobsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - ], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoWorkflowRuns: [ - "GET /repos/{owner}/{repo}/actions/runs", - {}, - { renamed: ["actions", "listWorkflowRunsForRepo"] }, - ], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/downloads", - ], - listSecretsForRepo: [ - "GET /repos/{owner}/{repo}/actions/secrets", - {}, - { renamed: ["actions", "listRepoSecrets"] }, - ], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", - ], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowJobLogs: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - {}, - { renamed: ["actions", "downloadWorkflowJobLogs"] }, - ], - listWorkflowRunArtifacts: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - ], - listWorkflowRunLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - {}, - { renamed: ["actions", "downloadWorkflowRunLogs"] }, - ], - listWorkflowRuns: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - ], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - ], - removeSelfHostedRunner: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", - {}, - { renamed: ["actions", "deleteSelfHostedRunnerFromRepo"] }, - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories", - ], - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - checkStarringRepo: [ - "GET /user/starred/{owner}/{repo}", - {}, - { renamed: ["activity", "checkRepoIsStarredByAuthenticatedUser"] }, - ], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: [ - "DELETE /notifications/threads/{thread_id}/subscription", - ], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscription: [ - "PUT /notifications", - {}, - { renamed: ["activity", "getThreadSubscriptionForAuthenticatedUser"] }, - ], - getThreadSubscriptionForAuthenticatedUser: [ - "GET /notifications/threads/{thread_id}/subscription", - ], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listEventsForOrg: [ - "GET /users/{username}/events/orgs/{org}", - {}, - { renamed: ["activity", "listOrgEventsForAuthenticatedUser"] }, - ], - listEventsForUser: [ - "GET /users/{username}/events", - {}, - { renamed: ["activity", "listEventsForAuthenticatedUser"] }, - ], - listFeeds: ["GET /feeds", {}, { renamed: ["activity", "getFeeds"] }], - listNotifications: [ - "GET /notifications", - {}, - { renamed: ["activity", "listNotificationsForAuthenticatedUser"] }, - ], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listNotificationsForRepo: [ - "GET /repos/{owner}/{repo}/notifications", - {}, - { renamed: ["activity", "listRepoNotificationsForAuthenticatedUser"] }, - ], - listOrgEventsForAuthenticatedUser: [ - "GET /users/{username}/events/orgs/{org}", - ], - listPublicEvents: ["GET /events"], - listPublicEventsForOrg: [ - "GET /orgs/{org}/events", - {}, - { renamed: ["activity", "listPublicOrgEvents"] }, - ], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: [ - "GET /users/{username}/received_events/public", - ], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/notifications", - ], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markAsRead: [ - "PUT /notifications", - {}, - { renamed: ["activity", "markNotificationsAsRead"] }, - ], - markNotificationsAsRead: ["PUT /notifications"], - markNotificationsAsReadForRepo: [ - "PUT /repos/{owner}/{repo}/notifications", - {}, - { renamed: ["activity", "markRepoNotificationsAsRead"] }, - ], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: [ - "PUT /notifications/threads/{thread_id}/subscription", - ], - starRepo: [ - "PUT /user/starred/{owner}/{repo}", - {}, - { renamed: ["activity", "starRepoForAuthenticatedUser"] }, - ], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepo: [ - "DELETE /user/starred/{owner}/{repo}", - {}, - { renamed: ["activity", "unstarRepoForAuthenticatedUser"] }, - ], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"], - }, - apps: { - addRepoToInstallation: [ - "PUT /user/installations/{installation_id}/repositories/{repository_id}", - { mediaType: { previews: ["machine-man"] } }, - ], - checkAccountIsAssociatedWithAny: [ - "GET /marketplace_listing/accounts/{account_id}", - {}, - { renamed: ["apps", "getSubscriptionPlanForAccount"] }, - ], - checkAccountIsAssociatedWithAnyStubbed: [ - "GET /marketplace_listing/stubbed/accounts/{account_id}", - {}, - { renamed: ["apps", "getSubscriptionPlanForAccountStubbed"] }, - ], - checkToken: ["POST /applications/{client_id}/token"], - createContentAttachment: [ - "POST /content_references/{content_reference_id}/attachments", - { mediaType: { previews: ["corsair"] } }, - ], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: [ - "POST /app/installations/{installation_id}/access_tokens", - { mediaType: { previews: ["machine-man"] } }, - ], - createInstallationToken: [ - "POST /app/installations/{installation_id}/access_tokens", - { mediaType: { previews: ["machine-man"] } }, - { renamed: ["apps", "createInstallationAccessToken"] }, - ], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: [ - "DELETE /app/installations/{installation_id}", - { mediaType: { previews: ["machine-man"] } }, - ], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: [ - "GET /app", - { mediaType: { previews: ["machine-man"] } }, - ], - getBySlug: [ - "GET /apps/{app_slug}", - { mediaType: { previews: ["machine-man"] } }, - ], - getInstallation: [ - "GET /app/installations/{installation_id}", - { mediaType: { previews: ["machine-man"] } }, - ], - getOrgInstallation: [ - "GET /orgs/{org}/installation", - { mediaType: { previews: ["machine-man"] } }, - ], - getRepoInstallation: [ - "GET /repos/{owner}/{repo}/installation", - { mediaType: { previews: ["machine-man"] } }, - ], - getSubscriptionPlanForAccount: [ - "GET /marketplace_listing/accounts/{account_id}", - ], - getSubscriptionPlanForAccountStubbed: [ - "GET /marketplace_listing/stubbed/accounts/{account_id}", - ], - getUserInstallation: [ - "GET /users/{username}/installation", - { mediaType: { previews: ["machine-man"] } }, - ], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: [ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - ], - listAccountsUserOrOrgOnPlan: [ - "GET /marketplace_listing/plans/{plan_id}/accounts", - {}, - { renamed: ["apps", "listAccountsForPlan"] }, - ], - listAccountsUserOrOrgOnPlanStubbed: [ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - {}, - { renamed: ["apps", "listAccountsForPlanStubbed"] }, - ], - listInstallationReposForAuthenticatedUser: [ - "GET /user/installations/{installation_id}/repositories", - { mediaType: { previews: ["machine-man"] } }, - ], - listInstallations: [ - "GET /app/installations", - { mediaType: { previews: ["machine-man"] } }, - ], - listInstallationsForAuthenticatedUser: [ - "GET /user/installations", - { mediaType: { previews: ["machine-man"] } }, - ], - listMarketplacePurchasesForAuthenticatedUser: [ - "GET /user/marketplace_purchases", - {}, - { renamed: ["apps", "listSubscriptionsForAuthenticatedUser"] }, - ], - listMarketplacePurchasesForAuthenticatedUserStubbed: [ - "GET /user/marketplace_purchases/stubbed", - {}, - { renamed: ["apps", "listSubscriptionsForAuthenticatedUserStubbed"] }, - ], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listRepos: [ - "GET /installation/repositories", - { mediaType: { previews: ["machine-man"] } }, - { renamed: ["apps", "listReposAccessibleToInstallation"] }, - ], - listReposAccessibleToInstallation: [ - "GET /installation/repositories", - { mediaType: { previews: ["machine-man"] } }, - ], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: [ - "GET /user/marketplace_purchases/stubbed", - ], - removeRepoFromInstallation: [ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}", - { mediaType: { previews: ["machine-man"] } }, - ], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - revokeInstallationToken: [ - "DELETE /installation/token", - {}, - { renamed: ["apps", "revokeInstallationAccessToken"] }, - ], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: [ - "DELETE /app/installations/{installation_id}/suspended", - ], - }, - checks: { - create: [ - "POST /repos/{owner}/{repo}/check-runs", - { mediaType: { previews: ["antiope"] } }, - ], - createSuite: [ - "POST /repos/{owner}/{repo}/check-suites", - { mediaType: { previews: ["antiope"] } }, - ], - get: [ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}", - { mediaType: { previews: ["antiope"] } }, - ], - getSuite: [ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}", - { mediaType: { previews: ["antiope"] } }, - ], - listAnnotations: [ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - { mediaType: { previews: ["antiope"] } }, - ], - listForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", - { mediaType: { previews: ["antiope"] } }, - ], - listForSuite: [ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - { mediaType: { previews: ["antiope"] } }, - ], - listSuitesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", - { mediaType: { previews: ["antiope"] } }, - ], - rerequestSuite: [ - "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - { mediaType: { previews: ["antiope"] } }, - ], - setSuitesPreferences: [ - "PATCH /repos/{owner}/{repo}/check-suites/preferences", - { mediaType: { previews: ["antiope"] } }, - ], - update: [ - "PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}", - { mediaType: { previews: ["antiope"] } }, - ], - }, - codeScanning: { - getAlert: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - }, - codesOfConduct: { - getAllCodesOfConduct: [ - "GET /codes_of_conduct", - { mediaType: { previews: ["scarlet-witch"] } }, - ], - getConductCode: [ - "GET /codes_of_conduct/{key}", - { mediaType: { previews: ["scarlet-witch"] } }, - ], - getForRepo: [ - "GET /repos/{owner}/{repo}/community/code_of_conduct", - { mediaType: { previews: ["scarlet-witch"] } }, - ], - listConductCodes: [ - "GET /codes_of_conduct", - { mediaType: { previews: ["scarlet-witch"] } }, - { renamed: ["codesOfConduct", "getAllCodesOfConduct"] }, - ], - }, - emojis: { get: ["GET /emojis"] }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listPublicForUser: [ - "GET /users/{username}/gists", - {}, - { renamed: ["gists", "listForUser"] }, - ], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"], - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"], - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"], - listTemplates: [ - "GET /gitignore/templates", - {}, - { renamed: ["gitignore", "getAllTemplates"] }, - ], - }, - interactions: { - addOrUpdateRestrictionsForOrg: [ - "PUT /orgs/{org}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - { renamed: ["interactions", "setRestrictionsForOrg"] }, - ], - addOrUpdateRestrictionsForRepo: [ - "PUT /repos/{owner}/{repo}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - { renamed: ["interactions", "setRestrictionsForRepo"] }, - ], - getRestrictionsForOrg: [ - "GET /orgs/{org}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - getRestrictionsForRepo: [ - "GET /repos/{owner}/{repo}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - removeRestrictionsForOrg: [ - "DELETE /orgs/{org}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - removeRestrictionsForRepo: [ - "DELETE /repos/{owner}/{repo}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - setRestrictionsForOrg: [ - "PUT /orgs/{org}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - setRestrictionsForRepo: [ - "PUT /repos/{owner}/{repo}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - }, - issues: { - addAssignees: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees", - ], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkAssignee: [ - "GET /repos/{owner}/{repo}/assignees/{assignee}", - {}, - { renamed: ["issues", "checkUserCanBeAssigned"] }, - ], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/comments", - ], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}", - ], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: [ - "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}", - ], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", - { mediaType: { previews: ["mockingbird"] } }, - ], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: [ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", - ], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", - ], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - listMilestonesForRepo: [ - "GET /repos/{owner}/{repo}/milestones", - {}, - { renamed: ["issues", "listMilestones"] }, - ], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels", - ], - removeAssignees: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees", - ], - removeLabel: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - ], - removeLabels: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels", - {}, - { renamed: ["issues", "removeAllLabels"] }, - ], - replaceAllLabels: [ - "PUT /repos/{owner}/{repo}/issues/{issue_number}/labels", - {}, - { renamed: ["issues", "setLabels"] }, - ], - replaceLabels: [ - "PUT /repos/{owner}/{repo}/issues/{issue_number}/labels", - {}, - { renamed: ["issues", "replaceAllLabels"] }, - ], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: [ - "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}", - ], - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"], - listCommonlyUsed: [ - "GET /licenses", - {}, - { renamed: ["licenses", "getAllCommonlyUsed"] }, - ], - }, - markdown: { - render: ["POST /markdown"], - renderRaw: [ - "POST /markdown/raw", - { headers: { "content-type": "text/plain; charset=utf-8" } }, - ], - }, - meta: { get: ["GET /meta"] }, - migrations: { - cancelImport: ["DELETE /repos/{owner}/{repo}/import"], - deleteArchiveForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - deleteArchiveForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - downloadArchiveForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - getArchiveForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], - getImportProgress: [ - "GET /repos/{owner}/{repo}/import", - {}, - { renamed: ["migrations", "getImportStatus"] }, - ], - getImportStatus: ["GET /repos/{owner}/{repo}/import"], - getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], - getStatusForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}", - { mediaType: { previews: ["wyandotte"] } }, - ], - getStatusForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}", - { mediaType: { previews: ["wyandotte"] } }, - ], - listForAuthenticatedUser: [ - "GET /user/migrations", - { mediaType: { previews: ["wyandotte"] } }, - ], - listForOrg: [ - "GET /orgs/{org}/migrations", - { mediaType: { previews: ["wyandotte"] } }, - ], - listReposForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/repositories", - { mediaType: { previews: ["wyandotte"] } }, - ], - listReposForUser: [ - "GET /user/{migration_id}/repositories", - { mediaType: { previews: ["wyandotte"] } }, - ], - mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], - setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: ["PUT /repos/{owner}/{repo}/import"], - unlockRepoForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", - { mediaType: { previews: ["wyandotte"] } }, - ], - unlockRepoForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", - { mediaType: { previews: ["wyandotte"] } }, - ], - updateImport: ["PATCH /repos/{owner}/{repo}/import"], - }, - orgs: { - addOrUpdateMembership: [ - "PUT /orgs/{org}/memberships/{username}", - {}, - { renamed: ["orgs", "setMembershipForUser"] }, - ], - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembership: [ - "GET /orgs/{org}/members/{username}", - {}, - { renamed: ["orgs", "checkMembershipForUser"] }, - ], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembership: [ - "GET /orgs/{org}/public_members/{username}", - {}, - { renamed: ["orgs", "checkPublicMembershipForUser"] }, - ], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - concealMembership: [ - "DELETE /orgs/{org}/public_members/{username}", - {}, - { renamed: ["orgs", "removePublicMembershipForAuthenticatedUser"] }, - ], - convertMemberToOutsideCollaborator: [ - "PUT /orgs/{org}/outside_collaborators/{username}", - ], - createHook: [ - "POST /orgs/{org}/hooks", - {}, - { renamed: ["orgs", "createWebhook"] }, - ], - createInvitation: ["POST /orgs/{org}/invitations"], - createWebhook: ["POST /orgs/{org}/hooks"], - deleteHook: [ - "DELETE /orgs/{org}/hooks/{hook_id}", - {}, - { renamed: ["orgs", "deleteWebhook"] }, - ], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - get: ["GET /orgs/{org}"], - getHook: [ - "GET /orgs/{org}/hooks/{hook_id}", - {}, - { renamed: ["orgs", "getWebhook"] }, - ], - getMembership: [ - "GET /orgs/{org}/memberships/{username}", - {}, - { renamed: ["orgs", "getMembershipForUser"] }, - ], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - list: ["GET /organizations"], - listAppInstallations: [ - "GET /orgs/{org}/installations", - { mediaType: { previews: ["machine-man"] } }, - ], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listHooks: [ - "GET /orgs/{org}/hooks", - {}, - { renamed: ["orgs", "listWebhooks"] }, - ], - listInstallations: [ - "GET /orgs/{org}/installations", - { mediaType: { previews: ["machine-man"] } }, - { renamed: ["orgs", "listAppInstallations"] }, - ], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMemberships: [ - "GET /user/memberships/orgs", - {}, - { renamed: ["orgs", "listMembershipsForAuthenticatedUser"] }, - ], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingHook: [ - "POST /orgs/{org}/hooks/{hook_id}/pings", - {}, - { renamed: ["orgs", "pingWebhook"] }, - ], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - publicizeMembership: [ - "PUT /orgs/{org}/public_members/{username}", - {}, - { renamed: ["orgs", "setPublicMembershipForAuthenticatedUser"] }, - ], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembership: [ - "DELETE /orgs/{org}/memberships/{username}", - {}, - { renamed: ["orgs", "removeMembershipForUser"] }, - ], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: [ - "DELETE /orgs/{org}/outside_collaborators/{username}", - ], - removePublicMembershipForAuthenticatedUser: [ - "DELETE /orgs/{org}/public_members/{username}", - ], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: [ - "PUT /orgs/{org}/public_members/{username}", - ], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateHook: [ - "PATCH /orgs/{org}/hooks/{hook_id}", - {}, - { renamed: ["orgs", "updateWebhook"] }, - ], - updateMembership: [ - "PATCH /user/memberships/orgs/{org}", - {}, - { renamed: ["orgs", "updateMembershipForAuthenticatedUser"] }, - ], - updateMembershipForAuthenticatedUser: [ - "PATCH /user/memberships/orgs/{org}", - ], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], - }, - projects: { - addCollaborator: [ - "PUT /projects/{project_id}/collaborators/{username}", - { mediaType: { previews: ["inertia"] } }, - ], - createCard: [ - "POST /projects/columns/{column_id}/cards", - { mediaType: { previews: ["inertia"] } }, - ], - createColumn: [ - "POST /projects/{project_id}/columns", - { mediaType: { previews: ["inertia"] } }, - ], - createForAuthenticatedUser: [ - "POST /user/projects", - { mediaType: { previews: ["inertia"] } }, - ], - createForOrg: [ - "POST /orgs/{org}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - createForRepo: [ - "POST /repos/{owner}/{repo}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - delete: [ - "DELETE /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - deleteCard: [ - "DELETE /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - deleteColumn: [ - "DELETE /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - get: [ - "GET /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getCard: [ - "GET /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getColumn: [ - "GET /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission", - { mediaType: { previews: ["inertia"] } }, - ], - listCards: [ - "GET /projects/columns/{column_id}/cards", - { mediaType: { previews: ["inertia"] } }, - ], - listCollaborators: [ - "GET /projects/{project_id}/collaborators", - { mediaType: { previews: ["inertia"] } }, - ], - listColumns: [ - "GET /projects/{project_id}/columns", - { mediaType: { previews: ["inertia"] } }, - ], - listForOrg: [ - "GET /orgs/{org}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listForRepo: [ - "GET /repos/{owner}/{repo}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listForUser: [ - "GET /users/{username}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - moveCard: [ - "POST /projects/columns/cards/{card_id}/moves", - { mediaType: { previews: ["inertia"] } }, - ], - moveColumn: [ - "POST /projects/columns/{column_id}/moves", - { mediaType: { previews: ["inertia"] } }, - ], - removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}", - { mediaType: { previews: ["inertia"] } }, - ], - reviewUserPermissionLevel: [ - "GET /projects/{project_id}/collaborators/{username}/permission", - { mediaType: { previews: ["inertia"] } }, - { renamed: ["projects", "getPermissionForUser"] }, - ], - update: [ - "PATCH /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - updateCard: [ - "PATCH /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - updateColumn: [ - "PATCH /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments", - {}, - { renamed: ["pulls", "createReviewComment"] }, - ], - createReplyForReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - ], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments", - ], - createReviewCommentReply: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - {}, - { renamed: ["pulls", "createReplyForReviewComment"] }, - ], - createReviewRequest: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - {}, - { renamed: ["pulls", "requestReviewers"] }, - ], - deleteComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}", - {}, - { renamed: ["pulls", "deleteReviewComment"] }, - ], - deletePendingReview: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - deleteReviewComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}", - ], - deleteReviewRequest: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - {}, - { renamed: ["pulls", "removeRequestedReviewers"] }, - ], - dismissReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - ], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getComment: [ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}", - {}, - { renamed: ["pulls", "getReviewComment"] }, - ], - getCommentsForReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - {}, - { renamed: ["pulls", "listCommentsForReview"] }, - ], - getReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listComments: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - {}, - { renamed: ["pulls", "listReviewComments"] }, - ], - listCommentsForRepo: [ - "GET /repos/{owner}/{repo}/pulls/comments", - {}, - { renamed: ["pulls", "listReviewCommentsForRepo"] }, - ], - listCommentsForReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - ], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - listReviewComments: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - ], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviewRequests: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - {}, - { renamed: ["pulls", "listRequestedReviewers"] }, - ], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - requestReviewers: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - submitReview: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - ], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - { mediaType: { previews: ["lydian"] } }, - ], - updateComment: [ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}", - {}, - { renamed: ["pulls", "updateReviewComment"] }, - ], - updateReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - updateReviewComment: [ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}", - ], - }, - rateLimit: { get: ["GET /rate_limit"] }, - reactions: { - createForCommitComment: [ - "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForIssue: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForIssueComment: [ - "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForPullRequestReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForTeamDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForTeamDiscussionInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - delete: [ - "DELETE /reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - { renamed: ["reactions", "deleteLegacy"] }, - ], - deleteForCommitComment: [ - "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForIssue: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForIssueComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForPullRequestComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForTeamDiscussion: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForTeamDiscussionComment: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteLegacy: [ - "DELETE /reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - { - deprecated: "octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy", - }, - ], - listForCommitComment: [ - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForIssueComment: [ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForPullRequestReviewComment: [ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForTeamDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForTeamDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - }, - repos: { - acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], - addAppAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addDeployKey: [ - "POST /repos/{owner}/{repo}/keys", - {}, - { renamed: ["repos", "createDeployKey"] }, - ], - addProtectedBranchAdminEnforcement: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - {}, - { renamed: ["repos", "setAdminBranchProtection"] }, - ], - addProtectedBranchAppRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps", renamed: ["repos", "addAppAccessRestrictions"] }, - ], - addProtectedBranchRequiredSignatures: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - { renamed: ["repos", "createCommitSignatureProtection"] }, - ], - addProtectedBranchRequiredStatusChecksContexts: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts", renamed: ["repos", "addStatusCheckContexts"] }, - ], - addProtectedBranchTeamRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams", renamed: ["repos", "addTeamAccessRestrictions"] }, - ], - addProtectedBranchUserRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users", renamed: ["repos", "addUserAccessRestrictions"] }, - ], - addStatusCheckContexts: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - addTeamAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - addUserAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: [ - "GET /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - createCommitComment: [ - "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments", - ], - createCommitSignatureProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentStatus: [ - "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - ], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createHook: [ - "POST /repos/{owner}/{repo}/hooks", - {}, - { renamed: ["repos", "createWebhook"] }, - ], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateFile: [ - "PUT /repos/{owner}/{repo}/contents/{path}", - {}, - { renamed: ["repos", "createOrUpdateFileContents"] }, - ], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createPagesSite: [ - "POST /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - ], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createStatus: [ - "POST /repos/{owner}/{repo}/statuses/{sha}", - {}, - { renamed: ["repos", "createCommitStatus"] }, - ], - createUsingTemplate: [ - "POST /repos/{template_owner}/{template_repo}/generate", - { mediaType: { previews: ["baptiste"] } }, - ], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - ], - deleteAdminBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - deleteBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection", - ], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: [ - "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}", - ], - deleteDownload: ["DELETE /repos/{owner}/{repo}/downloads/{download_id}"], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteHook: [ - "DELETE /repos/{owner}/{repo}/hooks/{hook_id}", - {}, - { renamed: ["repos", "deleteWebhook"] }, - ], - deleteInvitation: [ - "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}", - ], - deletePagesSite: [ - "DELETE /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - ], - deletePullRequestReviewProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: [ - "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}", - ], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: [ - "DELETE /repos/{owner}/{repo}/automated-security-fixes", - { mediaType: { previews: ["london"] } }, - ], - disablePagesSite: [ - "DELETE /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - { renamed: ["repos", "deletePagesSite"] }, - ], - disableVulnerabilityAlerts: [ - "DELETE /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - downloadArchive: ["GET /repos/{owner}/{repo}/{archive_format}/{ref}"], - enableAutomatedSecurityFixes: [ - "PUT /repos/{owner}/{repo}/automated-security-fixes", - { mediaType: { previews: ["london"] } }, - ], - enablePagesSite: [ - "POST /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - { renamed: ["repos", "createPagesSite"] }, - ], - enableVulnerabilityAlerts: [ - "PUT /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - ], - getAdminBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - getAllStatusCheckContexts: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - ], - getAllTopics: [ - "GET /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - ], - getAppsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - ], - getArchiveLink: [ - "GET /repos/{owner}/{repo}/{archive_format}/{ref}", - {}, - { renamed: ["repos", "downloadArchive"] }, - ], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection", - ], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: [ - "GET /repos/{owner}/{repo}/collaborators/{username}/permission", - ], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContents: [ - "GET /repos/{owner}/{repo}/contents/{path}", - {}, - { renamed: ["repos", "getContent"] }, - ], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentStatus: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - ], - getDownload: ["GET /repos/{owner}/{repo}/downloads/{download_id}"], - getHook: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}", - {}, - { renamed: ["repos", "getWebhook"] }, - ], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getProtectedBranchAdminEnforcement: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - {}, - { renamed: ["repos", "getAdminBranchProtection"] }, - ], - getProtectedBranchPullRequestReviewEnforcement: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - {}, - { renamed: ["repos", "getPullRequestReviewProtection"] }, - ], - getProtectedBranchRequiredSignatures: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - { renamed: ["repos", "getCommitSignatureProtection"] }, - ], - getProtectedBranchRequiredStatusChecks: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "getStatusChecksProtection"] }, - ], - getProtectedBranchRestrictions: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - {}, - { renamed: ["repos", "getAccessRestrictions"] }, - ], - getPullRequestReviewProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getStatusChecksProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - getTeamsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - ], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - ], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - list: [ - "GET /user/repos", - {}, - { renamed: ["repos", "listForAuthenticatedUser"] }, - ], - listAssetsForRelease: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - {}, - { renamed: ["repos", "listReleaseAssets"] }, - ], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - { mediaType: { previews: ["groot"] } }, - ], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", - ], - listCommitComments: [ - "GET /repos/{owner}/{repo}/comments", - {}, - { renamed: ["repos", "listCommitCommentsForRepo"] }, - ], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - ], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentStatuses: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - ], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listDownloads: ["GET /repos/{owner}/{repo}/downloads"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listHooks: [ - "GET /repos/{owner}/{repo}/hooks", - {}, - { renamed: ["repos", "listWebhooks"] }, - ], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listProtectedBranchRequiredStatusChecksContexts: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { renamed: ["repos", "getAllStatusCheckContexts"] }, - ], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", - { mediaType: { previews: ["groot"] } }, - ], - listReleaseAssets: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - ], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listStatusesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - {}, - { renamed: ["repos", "listCommitStatusesForRef"] }, - ], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listTopics: [ - "GET /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - { renamed: ["repos", "getAllTopics"] }, - ], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - pingHook: [ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/pings", - {}, - { renamed: ["repos", "pingWebhook"] }, - ], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - removeAppAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - removeBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection", - {}, - { renamed: ["repos", "deleteBranchProtection"] }, - ], - removeCollaborator: [ - "DELETE /repos/{owner}/{repo}/collaborators/{username}", - ], - removeDeployKey: [ - "DELETE /repos/{owner}/{repo}/keys/{key_id}", - {}, - { renamed: ["repos", "deleteDeployKey"] }, - ], - removeProtectedBranchAdminEnforcement: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - {}, - { renamed: ["repos", "deleteAdminBranchProtection"] }, - ], - removeProtectedBranchAppRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps", renamed: ["repos", "removeAppAccessRestrictions"] }, - ], - removeProtectedBranchPullRequestReviewEnforcement: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - {}, - { renamed: ["repos", "deletePullRequestReviewProtection"] }, - ], - removeProtectedBranchRequiredSignatures: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - { renamed: ["repos", "deleteCommitSignatureProtection"] }, - ], - removeProtectedBranchRequiredStatusChecks: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "removeStatusChecksProtection"] }, - ], - removeProtectedBranchRequiredStatusChecksContexts: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { - mapToData: "contexts", - renamed: ["repos", "removeStatusCheckContexts"], - }, - ], - removeProtectedBranchRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - {}, - { renamed: ["repos", "deleteAccessRestrictions"] }, - ], - removeProtectedBranchTeamRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { - mapToData: "teams", - renamed: ["repos", "removeTeamAccessRestrictions"], - }, - ], - removeProtectedBranchUserRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { - mapToData: "users", - renamed: ["repos", "removeUserAccessRestrictions"], - }, - ], - removeStatusCheckContexts: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - removeStatusCheckProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - removeTeamAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - removeUserAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - replaceAllTopics: [ - "PUT /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - ], - replaceProtectedBranchAppRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps", renamed: ["repos", "setAppAccessRestrictions"] }, - ], - replaceProtectedBranchRequiredStatusChecksContexts: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts", renamed: ["repos", "setStatusCheckContexts"] }, - ], - replaceProtectedBranchTeamRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams", renamed: ["repos", "setTeamAccessRestrictions"] }, - ], - replaceProtectedBranchUserRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users", renamed: ["repos", "setUserAccessRestrictions"] }, - ], - replaceTopics: [ - "PUT /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - { renamed: ["repos", "replaceAllTopics"] }, - ], - requestPageBuild: [ - "POST /repos/{owner}/{repo}/pages/builds", - {}, - { renamed: ["repos", "requestPagesBuild"] }, - ], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - retrieveCommunityProfileMetrics: [ - "GET /repos/{owner}/{repo}/community/profile", - {}, - { renamed: ["repos", "getCommunityProfileMetrics"] }, - ], - setAdminBranchProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - setAppAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - setStatusCheckContexts: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - setTeamAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - setUserAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - testPushHook: [ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/tests", - {}, - { renamed: ["repos", "testPushWebhook"] }, - ], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection", - ], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateHook: [ - "PATCH /repos/{owner}/{repo}/hooks/{hook_id}", - {}, - { renamed: ["repos", "updateWebhook"] }, - ], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: [ - "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}", - ], - updateProtectedBranchPullRequestReviewEnforcement: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - {}, - { renamed: ["repos", "updatePullRequestReviewProtection"] }, - ], - updateProtectedBranchRequiredStatusChecks: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "updateStatusChecksProtection"] }, - ], - updatePullRequestReviewProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: [ - "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}", - ], - updateStatusCheckPotection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - uploadReleaseAsset: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", - { baseUrl: "https://uploads.github.com" }, - ], - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits", { mediaType: { previews: ["cloak"] } }], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics"], - users: ["GET /search/users"], - }, - teams: { - addOrUpdateMembershipForUserInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - addOrUpdateMembershipInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}", - {}, - { renamed: ["teams", "addOrUpdateMembershipForUserInOrg"] }, - ], - addOrUpdateProjectInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - { renamed: ["teams", "addOrUpdateProjectPermissionsInOrg"] }, - ], - addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - addOrUpdateRepoInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - {}, - { renamed: ["teams", "addOrUpdateRepoPermissionsInOrg"] }, - ], - addOrUpdateRepoPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - checkManagesRepoInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - {}, - { renamed: ["teams", "checkPermissionsForRepoInOrg"] }, - ], - checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - checkPermissionsForRepoInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - ], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - deleteDiscussionInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - getDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - getMembershipForUserInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - getMembershipInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}", - {}, - { renamed: ["teams", "getMembershipForUserInOrg"] }, - ], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - ], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/invitations", - ], - listProjectsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - removeMembershipInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}", - {}, - { renamed: ["teams", "removeMembershipForUserInOrg"] }, - ], - removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", - ], - removeRepoInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - reviewProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - { renamed: ["teams", "checkPermissionsForProjectInOrg"] }, - ], - updateDiscussionCommentInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - updateDiscussionInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"], - }, - users: { - addEmailForAuthenticated: ["POST /user/emails"], - addEmails: [ - "POST /user/emails", - {}, - { renamed: ["users", "addEmailsForAuthenticated"] }, - ], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowing: [ - "GET /user/following/{username}", - {}, - { renamed: ["users", "checkPersonIsFollowedByAuthenticated"] }, - ], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKey: [ - "POST /user/gpg_keys", - {}, - { renamed: ["users", "createGpgKeyForAuthenticated"] }, - ], - createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], - createPublicKey: [ - "POST /user/keys", - {}, - { renamed: ["users", "createPublicSshKeyForAuthenticated"] }, - ], - createPublicSshKeyForAuthenticated: ["POST /user/keys"], - deleteEmailForAuthenticated: ["DELETE /user/emails"], - deleteEmails: [ - "DELETE /user/emails", - {}, - { renamed: ["users", "deleteEmailsForAuthenticated"] }, - ], - deleteGpgKey: [ - "DELETE /user/gpg_keys/{gpg_key_id}", - {}, - { renamed: ["users", "deleteGpgKeyForAuthenticated"] }, - ], - deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicKey: [ - "DELETE /user/keys/{key_id}", - {}, - { renamed: ["users", "deletePublicSshKeyForAuthenticated"] }, - ], - deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKey: [ - "GET /user/gpg_keys/{gpg_key_id}", - {}, - { renamed: ["users", "getGpgKeyForAuthenticated"] }, - ], - getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicKey: [ - "GET /user/keys/{key_id}", - {}, - { renamed: ["users", "getPublicSshKeyForAuthenticated"] }, - ], - getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], - list: ["GET /users"], - listBlocked: [ - "GET /user/blocks", - {}, - { renamed: ["users", "listBlockedByAuthenticated"] }, - ], - listBlockedByAuthenticated: ["GET /user/blocks"], - listEmails: [ - "GET /user/emails", - {}, - { renamed: ["users", "listEmailsForAuthenticated"] }, - ], - listEmailsForAuthenticated: ["GET /user/emails"], - listFollowedByAuthenticated: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForAuthenticatedUser: [ - "GET /user/following", - {}, - { renamed: ["users", "listFollowedByAuthenticated"] }, - ], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeys: [ - "GET /user/gpg_keys", - {}, - { renamed: ["users", "listGpgKeysForAuthenticated"] }, - ], - listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmails: [ - "GET /user/public_emails", - {}, - { renamed: ["users", "listPublicEmailsForAuthenticatedUser"] }, - ], - listPublicEmailsForAuthenticated: ["GET /user/public_emails"], - listPublicKeys: [ - "GET /user/keys", - {}, - { renamed: ["users", "listPublicSshKeysForAuthenticated"] }, - ], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: ["GET /user/keys"], - setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], - togglePrimaryEmailVisibility: [ - "PATCH /user/email/visibility", - {}, - { renamed: ["users", "setPrimaryEmailVisibilityForAuthenticated"] }, - ], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"], - }, -}; -export default Endpoints; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js deleted file mode 100644 index 0535b19eba..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import ENDPOINTS from "./generated/endpoints"; -import { VERSION } from "./version"; -import { endpointsToMethods } from "./endpoints-to-methods"; -/** - * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary - * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is - * done, we will remove the registerEndpoints methods and return the methods - * directly as with the other plugins. At that point we will also remove the - * legacy workarounds and deprecations. - * - * See the plan at - * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 - */ -export function restEndpointMethods(octokit) { - return endpointsToMethods(octokit, ENDPOINTS); -} -restEndpointMethods.VERSION = VERSION; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js deleted file mode 100644 index 293d8f5dfc..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "3.17.0"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts deleted file mode 100644 index 2a97a4b4eb..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Octokit } from "@octokit/core"; -import { EndpointsDefaultsAndDecorations } from "./types"; -import { RestEndpointMethods } from "./generated/method-types"; -export declare function endpointsToMethods(octokit: Octokit, endpointsMap: EndpointsDefaultsAndDecorations): RestEndpointMethods; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts deleted file mode 100644 index a3c1d92ad3..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EndpointsDefaultsAndDecorations } from "../types"; -declare const Endpoints: EndpointsDefaultsAndDecorations; -export default Endpoints; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts deleted file mode 100644 index c1c7bb17f0..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts +++ /dev/null @@ -1,8304 +0,0 @@ -import { EndpointInterface, RequestInterface } from "@octokit/types"; -import { RestEndpointMethodTypes } from "./parameters-and-response-types"; -export declare type RestEndpointMethods = { - actions: { - /** - * Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - addSelectedRepoToOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["addSelectedRepoToOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - cancelWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["cancelWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates or updates an organization secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - */ - createOrUpdateOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["createOrUpdateOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates or updates a repository secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - */ - createOrUpdateRepoSecret: { - (params?: RestEndpointMethodTypes["actions"]["createOrUpdateRepoSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates or updates a repository secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * @deprecated octokit.actions.createOrUpdateSecretForRepo() has been renamed to octokit.actions.createOrUpdateRepoSecret() (2020-05-14) - */ - createOrUpdateSecretForRepo: { - (params?: RestEndpointMethodTypes["actions"]["createOrUpdateSecretForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint. - * - * Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint. - * @deprecated octokit.actions.createRegistrationToken() has been renamed to octokit.actions.createRegistrationTokenForRepo() (2020-04-22) - */ - createRegistrationToken: { - (params?: RestEndpointMethodTypes["actions"]["createRegistrationToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change. - * - * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - */ - createRegistrationTokenForOrg: { - (params?: RestEndpointMethodTypes["actions"]["createRegistrationTokenForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint. - * - * Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint. - */ - createRegistrationTokenForRepo: { - (params?: RestEndpointMethodTypes["actions"]["createRegistrationTokenForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint. - * - * Remove your self-hosted runner from a repository, replacing TOKEN with the remove token provided by this endpoint. - * @deprecated octokit.actions.createRemoveToken() has been renamed to octokit.actions.createRemoveTokenForRepo() (2020-04-22) - */ - createRemoveToken: { - (params?: RestEndpointMethodTypes["actions"]["createRemoveToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change. - * - * Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - * - * To remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this endpoint. - */ - createRemoveTokenForOrg: { - (params?: RestEndpointMethodTypes["actions"]["createRemoveTokenForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint. - * - * Remove your self-hosted runner from a repository, replacing TOKEN with the remove token provided by this endpoint. - */ - createRemoveTokenForRepo: { - (params?: RestEndpointMethodTypes["actions"]["createRemoveTokenForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - deleteArtifact: { - (params?: RestEndpointMethodTypes["actions"]["deleteArtifact"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - deleteOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["deleteOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - deleteRepoSecret: { - (params?: RestEndpointMethodTypes["actions"]["deleteRepoSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - * @deprecated octokit.actions.deleteSecretFromRepo() has been renamed to octokit.actions.deleteRepoSecret() (2020-05-14) - */ - deleteSecretFromRepo: { - (params?: RestEndpointMethodTypes["actions"]["deleteSecretFromRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change. - * - * Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - deleteSelfHostedRunnerFromOrg: { - (params?: RestEndpointMethodTypes["actions"]["deleteSelfHostedRunnerFromOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. You must authenticate using an access token with the `repo` scope to use this endpoint. - */ - deleteSelfHostedRunnerFromRepo: { - (params?: RestEndpointMethodTypes["actions"]["deleteSelfHostedRunnerFromRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - deleteWorkflowRunLogs: { - (params?: RestEndpointMethodTypes["actions"]["deleteWorkflowRunLogs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - * - * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag. - */ - downloadArtifact: { - (params?: RestEndpointMethodTypes["actions"]["downloadArtifact"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - * - * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag. - */ - downloadJobLogsForWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["downloadJobLogsForWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - * - * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag. - * @deprecated octokit.actions.downloadWorkflowJobLogs() has been renamed to octokit.actions.downloadJobLogsForWorkflowRun() (2020-06-04) - */ - downloadWorkflowJobLogs: { - (params?: RestEndpointMethodTypes["actions"]["downloadWorkflowJobLogs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - * - * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag. - */ - downloadWorkflowRunLogs: { - (params?: RestEndpointMethodTypes["actions"]["downloadWorkflowRunLogs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getArtifact: { - (params?: RestEndpointMethodTypes["actions"]["getArtifact"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getJobForWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["getJobForWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - getOrgPublicKey: { - (params?: RestEndpointMethodTypes["actions"]["getOrgPublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - getOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["getOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. - * @deprecated octokit.actions.getPublicKey() has been renamed to octokit.actions.getRepoPublicKey() (2020-05-14) - */ - getPublicKey: { - (params?: RestEndpointMethodTypes["actions"]["getPublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - getRepoPublicKey: { - (params?: RestEndpointMethodTypes["actions"]["getRepoPublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - getRepoSecret: { - (params?: RestEndpointMethodTypes["actions"]["getRepoSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - * @deprecated octokit.actions.getSecret() has been renamed to octokit.actions.getRepoSecret() (2020-05-14) - */ - getSecret: { - (params?: RestEndpointMethodTypes["actions"]["getSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific self-hosted runner. You must authenticate using an access token with the `repo` scope to use this endpoint. - * @deprecated octokit.actions.getSelfHostedRunner() has been renamed to octokit.actions.getSelfHostedRunnerForRepo() (2020-04-22) - */ - getSelfHostedRunner: { - (params?: RestEndpointMethodTypes["actions"]["getSelfHostedRunner"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change. - * - * Gets a specific self-hosted runner for an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - getSelfHostedRunnerForOrg: { - (params?: RestEndpointMethodTypes["actions"]["getSelfHostedRunnerForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific self-hosted runner. You must authenticate using an access token with the `repo` scope to use this endpoint. - */ - getSelfHostedRunnerForRepo: { - (params?: RestEndpointMethodTypes["actions"]["getSelfHostedRunnerForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getWorkflow: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - * @deprecated octokit.actions.getWorkflowJob() has been renamed to octokit.actions.getJobForWorkflowRun() (2020-06-04) - */ - getWorkflowJob: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflowJob"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Warning:** This GitHub Actions usage endpoint is currently in public beta and subject to change. For more information, see "[GitHub Actions API workflow usage](https://developer.github.com/changes/2020-05-15-actions-api-workflow-usage)." - * - * Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)" in the GitHub Help documentation. - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getWorkflowRunUsage: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflowRunUsage"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Warning:** This GitHub Actions usage endpoint is currently in public beta and subject to change. For more information, see "[GitHub Actions API workflow usage](https://developer.github.com/changes/2020-05-15-actions-api-workflow-usage)." - * - * Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)" in the GitHub Help documentation. - * - * You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getWorkflowUsage: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflowUsage"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - listArtifactsForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listArtifactsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists binaries for the runner application that you can download and run. You must authenticate using an access token with the `repo` scope to use this endpoint. - * @deprecated octokit.actions.listDownloadsForSelfHostedRunnerApplication() has been renamed to octokit.actions.listRunnerApplicationsForRepo() (2020-04-22) - */ - listDownloadsForSelfHostedRunnerApplication: { - (params?: RestEndpointMethodTypes["actions"]["listDownloadsForSelfHostedRunnerApplication"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters). - */ - listJobsForWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["listJobsForWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - listOrgSecrets: { - (params?: RestEndpointMethodTypes["actions"]["listOrgSecrets"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - listRepoSecrets: { - (params?: RestEndpointMethodTypes["actions"]["listRepoSecrets"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - * @deprecated octokit.actions.listRepoWorkflowRuns() has been renamed to octokit.actions.listWorkflowRunsForRepo() (2020-06-04) - */ - listRepoWorkflowRuns: { - (params?: RestEndpointMethodTypes["actions"]["listRepoWorkflowRuns"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - listRepoWorkflows: { - (params?: RestEndpointMethodTypes["actions"]["listRepoWorkflows"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change. - * - * Lists binaries for the runner application that you can download and run. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - listRunnerApplicationsForOrg: { - (params?: RestEndpointMethodTypes["actions"]["listRunnerApplicationsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists binaries for the runner application that you can download and run. You must authenticate using an access token with the `repo` scope to use this endpoint. - */ - listRunnerApplicationsForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listRunnerApplicationsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - * @deprecated octokit.actions.listSecretsForRepo() has been renamed to octokit.actions.listRepoSecrets() (2020-05-14) - */ - listSecretsForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listSecretsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - listSelectedReposForOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["listSelectedReposForOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change. - * - * Lists all self-hosted runners for an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - listSelfHostedRunnersForOrg: { - (params?: RestEndpointMethodTypes["actions"]["listSelfHostedRunnersForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all self-hosted runners for a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - */ - listSelfHostedRunnersForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listSelfHostedRunnersForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - * - * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag. - * @deprecated octokit.actions.listWorkflowJobLogs() has been renamed to octokit.actions.downloadWorkflowJobLogs() (2020-05-04) - */ - listWorkflowJobLogs: { - (params?: RestEndpointMethodTypes["actions"]["listWorkflowJobLogs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - listWorkflowRunArtifacts: { - (params?: RestEndpointMethodTypes["actions"]["listWorkflowRunArtifacts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - * - * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag. - * @deprecated octokit.actions.listWorkflowRunLogs() has been renamed to octokit.actions.downloadWorkflowRunLogs() (2020-05-04) - */ - listWorkflowRunLogs: { - (params?: RestEndpointMethodTypes["actions"]["listWorkflowRunLogs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all workflow runs for a workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. - */ - listWorkflowRuns: { - (params?: RestEndpointMethodTypes["actions"]["listWorkflowRuns"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - listWorkflowRunsForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listWorkflowRunsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - reRunWorkflow: { - (params?: RestEndpointMethodTypes["actions"]["reRunWorkflow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - removeSelectedRepoFromOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["removeSelectedRepoFromOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. You must authenticate using an access token with the `repo` scope to use this endpoint. - * @deprecated octokit.actions.removeSelfHostedRunner() has been renamed to octokit.actions.deleteSelfHostedRunnerFromRepo() (2020-04-22) - */ - removeSelfHostedRunner: { - (params?: RestEndpointMethodTypes["actions"]["removeSelfHostedRunner"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - setSelectedReposForOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["setSelectedReposForOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - activity: { - checkRepoIsStarredByAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["checkRepoIsStarredByAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.activity.checkStarringRepo() has been renamed to octokit.activity.checkRepoIsStarredByAuthenticatedUser() (2020-03-25) - */ - checkStarringRepo: { - (params?: RestEndpointMethodTypes["activity"]["checkStarringRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/v3/activity/watching/#set-a-repository-subscription). - */ - deleteRepoSubscription: { - (params?: RestEndpointMethodTypes["activity"]["deleteRepoSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription) endpoint and set `ignore` to `true`. - */ - deleteThreadSubscription: { - (params?: RestEndpointMethodTypes["activity"]["deleteThreadSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user: - * - * * **Timeline**: The GitHub global public timeline - * * **User**: The public timeline for any user, using [URI template](https://developer.github.com/v3/#hypermedia) - * * **Current user public**: The public timeline for the authenticated user - * * **Current user**: The private timeline for the authenticated user - * * **Current user actor**: The private timeline for activity created by the authenticated user - * * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of. - * * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub. - * - * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens. - */ - getFeeds: { - (params?: RestEndpointMethodTypes["activity"]["getFeeds"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getRepoSubscription: { - (params?: RestEndpointMethodTypes["activity"]["getRepoSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getThread: { - (params?: RestEndpointMethodTypes["activity"]["getThread"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - * @deprecated octokit.activity.getThreadSubscription() has been renamed to octokit.activity.getThreadSubscriptionForAuthenticatedUser() (2020-03-25) - */ - getThreadSubscription: { - (params?: RestEndpointMethodTypes["activity"]["getThreadSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/v3/activity/watching/#get-a-repository-subscription). - * - * Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread. - */ - getThreadSubscriptionForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["getThreadSubscriptionForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. - */ - listEventsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listEventsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This is the user's organization dashboard. You must be authenticated as the user to view this. - * @deprecated octokit.activity.listEventsForOrg() has been renamed to octokit.activity.listOrgEventsForAuthenticatedUser() (2020-03-25) - */ - listEventsForOrg: { - (params?: RestEndpointMethodTypes["activity"]["listEventsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. - * @deprecated octokit.activity.listEventsForUser() has been renamed to octokit.activity.listEventsForAuthenticatedUser() (2020-03-25) - */ - listEventsForUser: { - (params?: RestEndpointMethodTypes["activity"]["listEventsForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user: - * - * * **Timeline**: The GitHub global public timeline - * * **User**: The public timeline for any user, using [URI template](https://developer.github.com/v3/#hypermedia) - * * **Current user public**: The public timeline for the authenticated user - * * **Current user**: The private timeline for the authenticated user - * * **Current user actor**: The private timeline for activity created by the authenticated user - * * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of. - * * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub. - * - * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens. - * @deprecated octokit.activity.listFeeds() has been renamed to octokit.activity.getFeeds() (2020-03-25) - */ - listFeeds: { - (params?: RestEndpointMethodTypes["activity"]["listFeeds"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all notifications for the current user, sorted by most recently updated. - * - * The following example uses the `since` parameter to list notifications that have been updated after the specified time. - * @deprecated octokit.activity.listNotifications() has been renamed to octokit.activity.listNotificationsForAuthenticatedUser() (2020-03-25) - */ - listNotifications: { - (params?: RestEndpointMethodTypes["activity"]["listNotifications"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all notifications for the current user, sorted by most recently updated. - * - * The following example uses the `since` parameter to list notifications that have been updated after the specified time. - */ - listNotificationsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listNotificationsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all notifications for the current user. - * @deprecated octokit.activity.listNotificationsForRepo() has been renamed to octokit.activity.listRepoNotificationsForAuthenticatedUser() (2020-03-25) - */ - listNotificationsForRepo: { - (params?: RestEndpointMethodTypes["activity"]["listNotificationsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This is the user's organization dashboard. You must be authenticated as the user to view this. - */ - listOrgEventsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listOrgEventsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. - */ - listPublicEvents: { - (params?: RestEndpointMethodTypes["activity"]["listPublicEvents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.activity.listPublicEventsForOrg() has been renamed to octokit.activity.listPublicOrgEvents() (2020-03-25) - */ - listPublicEventsForOrg: { - (params?: RestEndpointMethodTypes["activity"]["listPublicEventsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listPublicEventsForRepoNetwork: { - (params?: RestEndpointMethodTypes["activity"]["listPublicEventsForRepoNetwork"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listPublicEventsForUser: { - (params?: RestEndpointMethodTypes["activity"]["listPublicEventsForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listPublicOrgEvents: { - (params?: RestEndpointMethodTypes["activity"]["listPublicOrgEvents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. - */ - listReceivedEventsForUser: { - (params?: RestEndpointMethodTypes["activity"]["listReceivedEventsForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listReceivedPublicEventsForUser: { - (params?: RestEndpointMethodTypes["activity"]["listReceivedPublicEventsForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listRepoEvents: { - (params?: RestEndpointMethodTypes["activity"]["listRepoEvents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all notifications for the current user. - */ - listRepoNotificationsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listRepoNotificationsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories the authenticated user has starred. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header: - */ - listReposStarredByAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listReposStarredByAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories a user has starred. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header: - */ - listReposStarredByUser: { - (params?: RestEndpointMethodTypes["activity"]["listReposStarredByUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories a user is watching. - */ - listReposWatchedByUser: { - (params?: RestEndpointMethodTypes["activity"]["listReposWatchedByUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people that have starred the repository. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header: - */ - listStargazersForRepo: { - (params?: RestEndpointMethodTypes["activity"]["listStargazersForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories the authenticated user is watching. - */ - listWatchedReposForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listWatchedReposForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people watching the specified repository. - */ - listWatchersForRepo: { - (params?: RestEndpointMethodTypes["activity"]["listWatchersForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - * @deprecated octokit.activity.markAsRead() has been renamed to octokit.activity.markNotificationsAsRead() (2020-03-25) - */ - markAsRead: { - (params?: RestEndpointMethodTypes["activity"]["markAsRead"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - */ - markNotificationsAsRead: { - (params?: RestEndpointMethodTypes["activity"]["markNotificationsAsRead"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Marks all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - * @deprecated octokit.activity.markNotificationsAsReadForRepo() has been renamed to octokit.activity.markRepoNotificationsAsRead() (2020-03-25) - */ - markNotificationsAsReadForRepo: { - (params?: RestEndpointMethodTypes["activity"]["markNotificationsAsReadForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Marks all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - */ - markRepoNotificationsAsRead: { - (params?: RestEndpointMethodTypes["activity"]["markRepoNotificationsAsRead"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - markThreadAsRead: { - (params?: RestEndpointMethodTypes["activity"]["markThreadAsRead"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/v3/activity/watching/#delete-a-repository-subscription) completely. - */ - setRepoSubscription: { - (params?: RestEndpointMethodTypes["activity"]["setRepoSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**. - * - * You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored. - * - * Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription) endpoint. - */ - setThreadSubscription: { - (params?: RestEndpointMethodTypes["activity"]["setThreadSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - * @deprecated octokit.activity.starRepo() has been renamed to octokit.activity.starRepoForAuthenticatedUser() (2020-03-25) - */ - starRepo: { - (params?: RestEndpointMethodTypes["activity"]["starRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - starRepoForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["starRepoForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.activity.unstarRepo() has been renamed to octokit.activity.unstarRepoForAuthenticatedUser() (2020-03-25) - */ - unstarRepo: { - (params?: RestEndpointMethodTypes["activity"]["unstarRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - unstarRepoForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["unstarRepoForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - apps: { - /** - * Add a single repository to an installation. The authenticated user must have admin access to the repository. - * - * You must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint. - */ - addRepoToInstallation: { - (params?: RestEndpointMethodTypes["apps"]["addRepoToInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - * @deprecated octokit.apps.checkAccountIsAssociatedWithAny() has been renamed to octokit.apps.getSubscriptionPlanForAccount() (2020-03-08) - */ - checkAccountIsAssociatedWithAny: { - (params?: RestEndpointMethodTypes["apps"]["checkAccountIsAssociatedWithAny"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - * @deprecated octokit.apps.checkAccountIsAssociatedWithAnyStubbed() has been renamed to octokit.apps.getSubscriptionPlanForAccountStubbed() (2020-03-08) - */ - checkAccountIsAssociatedWithAnyStubbed: { - (params?: RestEndpointMethodTypes["apps"]["checkAccountIsAssociatedWithAnyStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. - */ - checkToken: { - (params?: RestEndpointMethodTypes["apps"]["checkToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/webhooks/event-payloads/#content_reference) to create an attachment. - * - * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://developer.github.com/apps/using-content-attachments/)" for details about content attachments. - * - * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - * - * This example creates a content attachment for the domain `https://errors.ai/`. - */ - createContentAttachment: { - (params?: RestEndpointMethodTypes["apps"]["createContentAttachment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`. - */ - createFromManifest: { - (params?: RestEndpointMethodTypes["apps"]["createFromManifest"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - * - * This example grants the token "Read and write" permission to `issues` and "Read" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269. - */ - createInstallationAccessToken: { - (params?: RestEndpointMethodTypes["apps"]["createInstallationAccessToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - * - * This example grants the token "Read and write" permission to `issues` and "Read" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269. - * @deprecated octokit.apps.createInstallationToken() has been renamed to octokit.apps.createInstallationAccessToken() (2020-06-04) - */ - createInstallationToken: { - (params?: RestEndpointMethodTypes["apps"]["createInstallationToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. - * - * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). - */ - deleteAuthorization: { - (params?: RestEndpointMethodTypes["apps"]["deleteAuthorization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/v3/apps/#suspend-an-app-installation)" endpoint. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - deleteInstallation: { - (params?: RestEndpointMethodTypes["apps"]["deleteInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. - */ - deleteToken: { - (params?: RestEndpointMethodTypes["apps"]["deleteToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app)" endpoint. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getAuthenticated: { - (params?: RestEndpointMethodTypes["apps"]["getAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). - * - * If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - getBySlug: { - (params?: RestEndpointMethodTypes["apps"]["getBySlug"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getInstallation: { - (params?: RestEndpointMethodTypes["apps"]["getInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables an authenticated GitHub App to find the organization's installation information. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getOrgInstallation: { - (params?: RestEndpointMethodTypes["apps"]["getOrgInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getRepoInstallation: { - (params?: RestEndpointMethodTypes["apps"]["getRepoInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - */ - getSubscriptionPlanForAccount: { - (params?: RestEndpointMethodTypes["apps"]["getSubscriptionPlanForAccount"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - */ - getSubscriptionPlanForAccountStubbed: { - (params?: RestEndpointMethodTypes["apps"]["getSubscriptionPlanForAccountStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables an authenticated GitHub App to find the user’s installation information. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getUserInstallation: { - (params?: RestEndpointMethodTypes["apps"]["getUserInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - */ - listAccountsForPlan: { - (params?: RestEndpointMethodTypes["apps"]["listAccountsForPlan"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - */ - listAccountsForPlanStubbed: { - (params?: RestEndpointMethodTypes["apps"]["listAccountsForPlanStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - * @deprecated octokit.apps.listAccountsUserOrOrgOnPlan() has been renamed to octokit.apps.listAccountsForPlan() (2020-03-04) - */ - listAccountsUserOrOrgOnPlan: { - (params?: RestEndpointMethodTypes["apps"]["listAccountsUserOrOrgOnPlan"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - * @deprecated octokit.apps.listAccountsUserOrOrgOnPlanStubbed() has been renamed to octokit.apps.listAccountsForPlanStubbed() (2020-03-04) - */ - listAccountsUserOrOrgOnPlanStubbed: { - (params?: RestEndpointMethodTypes["apps"]["listAccountsUserOrOrgOnPlanStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * - * You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. - * - * The access the user has to each repository is included in the hash under the `permissions` key. - */ - listInstallationReposForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["apps"]["listInstallationReposForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - * - * The permissions the installation has are included under the `permissions` key. - */ - listInstallations: { - (params?: RestEndpointMethodTypes["apps"]["listInstallations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * - * You can find the permissions for the installation under the `permissions` key. - */ - listInstallationsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["apps"]["listInstallationsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/). - * @deprecated octokit.apps.listMarketplacePurchasesForAuthenticatedUser() has been renamed to octokit.apps.listSubscriptionsForAuthenticatedUser() (2020-03-08) - */ - listMarketplacePurchasesForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["apps"]["listMarketplacePurchasesForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/). - * @deprecated octokit.apps.listMarketplacePurchasesForAuthenticatedUserStubbed() has been renamed to octokit.apps.listSubscriptionsForAuthenticatedUserStubbed() (2020-03-08) - */ - listMarketplacePurchasesForAuthenticatedUserStubbed: { - (params?: RestEndpointMethodTypes["apps"]["listMarketplacePurchasesForAuthenticatedUserStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all plans that are part of your GitHub Marketplace listing. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - */ - listPlans: { - (params?: RestEndpointMethodTypes["apps"]["listPlans"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all plans that are part of your GitHub Marketplace listing. - * - * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - */ - listPlansStubbed: { - (params?: RestEndpointMethodTypes["apps"]["listPlansStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List repositories that an app installation can access. - * - * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - * @deprecated octokit.apps.listRepos() has been renamed to octokit.apps.listReposAccessibleToInstallation() (2020-06-04) - */ - listRepos: { - (params?: RestEndpointMethodTypes["apps"]["listRepos"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List repositories that an app installation can access. - * - * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - listReposAccessibleToInstallation: { - (params?: RestEndpointMethodTypes["apps"]["listReposAccessibleToInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/). - */ - listSubscriptionsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["apps"]["listSubscriptionsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/). - */ - listSubscriptionsForAuthenticatedUserStubbed: { - (params?: RestEndpointMethodTypes["apps"]["listSubscriptionsForAuthenticatedUserStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Remove a single repository from an installation. The authenticated user must have admin access to the repository. - * - * You must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint. - */ - removeRepoFromInstallation: { - (params?: RestEndpointMethodTypes["apps"]["removeRepoFromInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. - */ - resetToken: { - (params?: RestEndpointMethodTypes["apps"]["resetToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Revokes the installation token you're using to authenticate as an installation and access this endpoint. - * - * Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app)" endpoint. - * - * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - revokeInstallationAccessToken: { - (params?: RestEndpointMethodTypes["apps"]["revokeInstallationAccessToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Revokes the installation token you're using to authenticate as an installation and access this endpoint. - * - * Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app)" endpoint. - * - * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - * @deprecated octokit.apps.revokeInstallationToken() has been renamed to octokit.apps.revokeInstallationAccessToken() (2020-06-04) - */ - revokeInstallationToken: { - (params?: RestEndpointMethodTypes["apps"]["revokeInstallationToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see "[Suspending a GitHub App installation](https://developer.github.com/apps/managing-github-apps/suspending-a-github-app-installation/)." - * - * Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. - * - * To suspend a GitHub App, you must be an account owner or have admin permissions in the repository or organization where the app is installed. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - suspendInstallation: { - (params?: RestEndpointMethodTypes["apps"]["suspendInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see "[Suspending a GitHub App installation](https://developer.github.com/apps/managing-github-apps/suspending-a-github-app-installation/)." - * - * Removes a GitHub App installation suspension. - * - * To unsuspend a GitHub App, you must be an account owner or have admin permissions in the repository or organization where the app is installed and suspended. - * - * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - unsuspendInstallation: { - (params?: RestEndpointMethodTypes["apps"]["unsuspendInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - checks: { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs. - */ - create: { - (params?: RestEndpointMethodTypes["checks"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * By default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites)". Your GitHub App must have the `checks:write` permission to create check suites. - */ - createSuite: { - (params?: RestEndpointMethodTypes["checks"]["createSuite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Gets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - get: { - (params?: RestEndpointMethodTypes["checks"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * Gets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository. - */ - getSuite: { - (params?: RestEndpointMethodTypes["checks"]["getSuite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository. - */ - listAnnotations: { - (params?: RestEndpointMethodTypes["checks"]["listAnnotations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - listForRef: { - (params?: RestEndpointMethodTypes["checks"]["listForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Lists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - listForSuite: { - (params?: RestEndpointMethodTypes["checks"]["listForSuite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository. - */ - listSuitesForRef: { - (params?: RestEndpointMethodTypes["checks"]["listSuitesForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. - * - * To rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository. - */ - rerequestSuite: { - (params?: RestEndpointMethodTypes["checks"]["rerequestSuite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites. - */ - setSuitesPreferences: { - (params?: RestEndpointMethodTypes["checks"]["setSuitesPreferences"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Updates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs. - */ - update: { - (params?: RestEndpointMethodTypes["checks"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - codeScanning: { - /** - * Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * The security `alert_id` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`. - */ - getAlert: { - (params?: RestEndpointMethodTypes["codeScanning"]["getAlert"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all open code scanning alerts for the default branch (usually `master`) and protected branches in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. - */ - listAlertsForRepo: { - (params?: RestEndpointMethodTypes["codeScanning"]["listAlertsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - codesOfConduct: { - getAllCodesOfConduct: { - (params?: RestEndpointMethodTypes["codesOfConduct"]["getAllCodesOfConduct"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getConductCode: { - (params?: RestEndpointMethodTypes["codesOfConduct"]["getConductCode"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This method returns the contents of the repository's code of conduct file, if one is detected. - */ - getForRepo: { - (params?: RestEndpointMethodTypes["codesOfConduct"]["getForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.codesOfConduct.listConductCodes() has been renamed to octokit.codesOfConduct.getAllCodesOfConduct() (2020-03-04) - */ - listConductCodes: { - (params?: RestEndpointMethodTypes["codesOfConduct"]["listConductCodes"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - emojis: { - /** - * Lists all the emojis available to use on GitHub. - */ - get: { - (params?: RestEndpointMethodTypes["emojis"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - gists: { - checkIsStarred: { - (params?: RestEndpointMethodTypes["gists"]["checkIsStarred"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Allows you to add a new gist with one or more files. - * - * **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. - */ - create: { - (params?: RestEndpointMethodTypes["gists"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createComment: { - (params?: RestEndpointMethodTypes["gists"]["createComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - delete: { - (params?: RestEndpointMethodTypes["gists"]["delete"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteComment: { - (params?: RestEndpointMethodTypes["gists"]["deleteComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note**: This was previously `/gists/:gist_id/fork`. - */ - fork: { - (params?: RestEndpointMethodTypes["gists"]["fork"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - get: { - (params?: RestEndpointMethodTypes["gists"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getComment: { - (params?: RestEndpointMethodTypes["gists"]["getComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getRevision: { - (params?: RestEndpointMethodTypes["gists"]["getRevision"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists: - */ - list: { - (params?: RestEndpointMethodTypes["gists"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listComments: { - (params?: RestEndpointMethodTypes["gists"]["listComments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listCommits: { - (params?: RestEndpointMethodTypes["gists"]["listCommits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists public gists for the specified user: - */ - listForUser: { - (params?: RestEndpointMethodTypes["gists"]["listForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listForks: { - (params?: RestEndpointMethodTypes["gists"]["listForks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List public gists sorted by most recently updated to least recently updated. - * - * Note: With [pagination](https://developer.github.com/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page. - */ - listPublic: { - (params?: RestEndpointMethodTypes["gists"]["listPublic"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists public gists for the specified user: - * @deprecated octokit.gists.listPublicForUser() has been renamed to octokit.gists.listForUser() (2020-03-04) - */ - listPublicForUser: { - (params?: RestEndpointMethodTypes["gists"]["listPublicForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the authenticated user's starred gists: - */ - listStarred: { - (params?: RestEndpointMethodTypes["gists"]["listStarred"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - star: { - (params?: RestEndpointMethodTypes["gists"]["star"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - unstar: { - (params?: RestEndpointMethodTypes["gists"]["unstar"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged. - */ - update: { - (params?: RestEndpointMethodTypes["gists"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateComment: { - (params?: RestEndpointMethodTypes["gists"]["updateComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - git: { - createBlob: { - (params?: RestEndpointMethodTypes["git"]["createBlob"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - * - * In this example, the payload of the signature would be: - * - * - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - createCommit: { - (params?: RestEndpointMethodTypes["git"]["createCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. - */ - createRef: { - (params?: RestEndpointMethodTypes["git"]["createRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - createTag: { - (params?: RestEndpointMethodTypes["git"]["createTag"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure. - * - * If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://developer.github.com/v3/git/commits/#create-a-commit)" and "[Update a reference](https://developer.github.com/v3/git/refs/#update-a-reference)." - */ - createTree: { - (params?: RestEndpointMethodTypes["git"]["createTree"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteRef: { - (params?: RestEndpointMethodTypes["git"]["deleteRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The `content` in the response will always be Base64 encoded. - * - * _Note_: This API supports blobs up to 100 megabytes in size. - */ - getBlob: { - (params?: RestEndpointMethodTypes["git"]["getBlob"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - getCommit: { - (params?: RestEndpointMethodTypes["git"]["getCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. - * - * **Note:** You need to explicitly [request a pull request](https://developer.github.com/v3/pulls/#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)". - * - * To get the reference for a branch named `skunkworkz/featureA`, the endpoint route is: - */ - getRef: { - (params?: RestEndpointMethodTypes["git"]["getRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - getTag: { - (params?: RestEndpointMethodTypes["git"]["getTag"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a single tree using the SHA1 value for that tree. - * - * If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time. - */ - getTree: { - (params?: RestEndpointMethodTypes["git"]["getTree"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array. - * - * When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. - * - * **Note:** You need to explicitly [request a pull request](https://developer.github.com/v3/pulls/#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)". - * - * If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. - */ - listMatchingRefs: { - (params?: RestEndpointMethodTypes["git"]["listMatchingRefs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateRef: { - (params?: RestEndpointMethodTypes["git"]["updateRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - gitignore: { - /** - * List all templates available to pass as an option when [creating a repository](https://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user). - */ - getAllTemplates: { - (params?: RestEndpointMethodTypes["gitignore"]["getAllTemplates"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The API also allows fetching the source of a single template. - * - * Use the raw [media type](https://developer.github.com/v3/media/) to get the raw contents. - */ - getTemplate: { - (params?: RestEndpointMethodTypes["gitignore"]["getTemplate"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all templates available to pass as an option when [creating a repository](https://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user). - * @deprecated octokit.gitignore.listTemplates() has been renamed to octokit.gitignore.getAllTemplates() (2020-06-04) - */ - listTemplates: { - (params?: RestEndpointMethodTypes["gitignore"]["listTemplates"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - interactions: { - /** - * Temporarily restricts interactions to certain GitHub users in any public repository in the given organization. You must be an organization owner to set these restrictions. - * @deprecated octokit.interactions.addOrUpdateRestrictionsForOrg() has been renamed to octokit.interactions.setRestrictionsForOrg() (2020-06-04) - */ - addOrUpdateRestrictionsForOrg: { - (params?: RestEndpointMethodTypes["interactions"]["addOrUpdateRestrictionsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Temporarily restricts interactions to certain GitHub users within the given repository. You must have owner or admin access to set restrictions. - * @deprecated octokit.interactions.addOrUpdateRestrictionsForRepo() has been renamed to octokit.interactions.setRestrictionsForRepo() (2020-06-04) - */ - addOrUpdateRestrictionsForRepo: { - (params?: RestEndpointMethodTypes["interactions"]["addOrUpdateRestrictionsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows which group of GitHub users can interact with this organization and when the restriction expires. If there are no restrictions, you will see an empty response. - */ - getRestrictionsForOrg: { - (params?: RestEndpointMethodTypes["interactions"]["getRestrictionsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows which group of GitHub users can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response. - */ - getRestrictionsForRepo: { - (params?: RestEndpointMethodTypes["interactions"]["getRestrictionsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. - */ - removeRestrictionsForOrg: { - (params?: RestEndpointMethodTypes["interactions"]["removeRestrictionsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. - */ - removeRestrictionsForRepo: { - (params?: RestEndpointMethodTypes["interactions"]["removeRestrictionsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Temporarily restricts interactions to certain GitHub users in any public repository in the given organization. You must be an organization owner to set these restrictions. - */ - setRestrictionsForOrg: { - (params?: RestEndpointMethodTypes["interactions"]["setRestrictionsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Temporarily restricts interactions to certain GitHub users within the given repository. You must have owner or admin access to set restrictions. - */ - setRestrictionsForRepo: { - (params?: RestEndpointMethodTypes["interactions"]["setRestrictionsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - issues: { - /** - * Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. - * - * This example adds two assignees to the existing `octocat` assignee. - */ - addAssignees: { - (params?: RestEndpointMethodTypes["issues"]["addAssignees"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - addLabels: { - (params?: RestEndpointMethodTypes["issues"]["addLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks if a user has permission to be assigned to an issue in this repository. - * - * If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned. - * - * Otherwise a `404` status code is returned. - * @deprecated octokit.issues.checkAssignee() has been renamed to octokit.issues.checkUserCanBeAssigned() (2020-06-01) - */ - checkAssignee: { - (params?: RestEndpointMethodTypes["issues"]["checkAssignee"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks if a user has permission to be assigned to an issue in this repository. - * - * If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned. - * - * Otherwise a `404` status code is returned. - */ - checkUserCanBeAssigned: { - (params?: RestEndpointMethodTypes["issues"]["checkUserCanBeAssigned"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - create: { - (params?: RestEndpointMethodTypes["issues"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - createComment: { - (params?: RestEndpointMethodTypes["issues"]["createComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createLabel: { - (params?: RestEndpointMethodTypes["issues"]["createLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createMilestone: { - (params?: RestEndpointMethodTypes["issues"]["createMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteComment: { - (params?: RestEndpointMethodTypes["issues"]["deleteComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteLabel: { - (params?: RestEndpointMethodTypes["issues"]["deleteLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteMilestone: { - (params?: RestEndpointMethodTypes["issues"]["deleteMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The API returns a [`301 Moved Permanently` status](https://developer.github.com/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/webhooks/event-payloads/#issues) webhook. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. - * - * Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint. - */ - get: { - (params?: RestEndpointMethodTypes["issues"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getComment: { - (params?: RestEndpointMethodTypes["issues"]["getComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getEvent: { - (params?: RestEndpointMethodTypes["issues"]["getEvent"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getLabel: { - (params?: RestEndpointMethodTypes["issues"]["getLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getMilestone: { - (params?: RestEndpointMethodTypes["issues"]["getMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not necessarily assigned to you. See the [Parameters table](https://developer.github.com/v3/issues/#parameters) for more information. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. - * - * Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint. - */ - list: { - (params?: RestEndpointMethodTypes["issues"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. - */ - listAssignees: { - (params?: RestEndpointMethodTypes["issues"]["listAssignees"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Issue Comments are ordered by ascending ID. - */ - listComments: { - (params?: RestEndpointMethodTypes["issues"]["listComments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * By default, Issue Comments are ordered by ascending ID. - */ - listCommentsForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listCommentsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listEvents: { - (params?: RestEndpointMethodTypes["issues"]["listEvents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listEventsForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listEventsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listEventsForTimeline: { - (params?: RestEndpointMethodTypes["issues"]["listEventsForTimeline"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List issues across owned and member repositories assigned to the authenticated user: - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. - * - * Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint. - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["issues"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List issues in an organization assigned to the authenticated user. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. - * - * Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint. - */ - listForOrg: { - (params?: RestEndpointMethodTypes["issues"]["listForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List issues in a repository. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. - * - * Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint. - */ - listForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listLabelsForMilestone: { - (params?: RestEndpointMethodTypes["issues"]["listLabelsForMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listLabelsForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listLabelsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listLabelsOnIssue: { - (params?: RestEndpointMethodTypes["issues"]["listLabelsOnIssue"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listMilestones: { - (params?: RestEndpointMethodTypes["issues"]["listMilestones"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.issues.listMilestonesForRepo() has been renamed to octokit.issues.listMilestones() (2020-06-01) - */ - listMilestonesForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listMilestonesForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access can lock an issue or pull request's conversation. - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - lock: { - (params?: RestEndpointMethodTypes["issues"]["lock"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - removeAllLabels: { - (params?: RestEndpointMethodTypes["issues"]["removeAllLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes one or more assignees from an issue. - * - * This example removes two of three assignees, leaving the `octocat` assignee. - */ - removeAssignees: { - (params?: RestEndpointMethodTypes["issues"]["removeAssignees"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. - */ - removeLabel: { - (params?: RestEndpointMethodTypes["issues"]["removeLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.issues.removeLabels() has been renamed to octokit.issues.removeAllLabels() (2020-03-04) - */ - removeLabels: { - (params?: RestEndpointMethodTypes["issues"]["removeLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes any previous labels and sets the new labels for an issue. - * @deprecated octokit.issues.replaceAllLabels() has been renamed to octokit.issues.setLabels() (2020-06-04) - */ - replaceAllLabels: { - (params?: RestEndpointMethodTypes["issues"]["replaceAllLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes any previous labels and sets the new labels for an issue. - * @deprecated octokit.issues.replaceLabels() has been renamed to octokit.issues.replaceAllLabels() (2020-03-04) - */ - replaceLabels: { - (params?: RestEndpointMethodTypes["issues"]["replaceLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes any previous labels and sets the new labels for an issue. - */ - setLabels: { - (params?: RestEndpointMethodTypes["issues"]["setLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access can unlock an issue's conversation. - */ - unlock: { - (params?: RestEndpointMethodTypes["issues"]["unlock"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Issue owners and users with push access can edit an issue. - */ - update: { - (params?: RestEndpointMethodTypes["issues"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateComment: { - (params?: RestEndpointMethodTypes["issues"]["updateComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateLabel: { - (params?: RestEndpointMethodTypes["issues"]["updateLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateMilestone: { - (params?: RestEndpointMethodTypes["issues"]["updateMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - licenses: { - get: { - (params?: RestEndpointMethodTypes["licenses"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getAllCommonlyUsed: { - (params?: RestEndpointMethodTypes["licenses"]["getAllCommonlyUsed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This method returns the contents of the repository's license file, if one is detected. - * - * Similar to [Get repository content](https://developer.github.com/v3/repos/contents/#get-repository-content), this method also supports [custom media types](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML. - */ - getForRepo: { - (params?: RestEndpointMethodTypes["licenses"]["getForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.licenses.listCommonlyUsed() has been renamed to octokit.licenses.getAllCommonlyUsed() (2020-06-04) - */ - listCommonlyUsed: { - (params?: RestEndpointMethodTypes["licenses"]["listCommonlyUsed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - markdown: { - render: { - (params?: RestEndpointMethodTypes["markdown"]["render"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less. - */ - renderRaw: { - (params?: RestEndpointMethodTypes["markdown"]["renderRaw"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - meta: { - /** - * This endpoint provides a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/)." - */ - get: { - (params?: RestEndpointMethodTypes["meta"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - migrations: { - /** - * Stop an import for a repository. - */ - cancelImport: { - (params?: RestEndpointMethodTypes["migrations"]["cancelImport"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://developer.github.com/v3/migrations/users/#list-user-migrations) and [Get a user migration status](https://developer.github.com/v3/migrations/users/#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. - */ - deleteArchiveForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["deleteArchiveForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a previous migration archive. Migration archives are automatically deleted after seven days. - */ - deleteArchiveForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["deleteArchiveForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Fetches the URL to a migration archive. - */ - downloadArchiveForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["downloadArchiveForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects: - * - * * attachments - * * bases - * * commit\_comments - * * issue\_comments - * * issue\_events - * * issues - * * milestones - * * organizations - * * projects - * * protected\_branches - * * pull\_request\_reviews - * * pull\_requests - * * releases - * * repositories - * * review\_comments - * * schema - * * users - * - * The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. - */ - getArchiveForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["getArchiveForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `. - * - * This endpoint and the [Map a commit author](https://developer.github.com/v3/migrations/source_imports/#map-a-commit-author) endpoint allow you to provide correct Git author information. - */ - getCommitAuthors: { - (params?: RestEndpointMethodTypes["migrations"]["getCommitAuthors"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View the progress of an import. - * - * **Import status** - * - * This section includes details about the possible values of the `status` field of the Import Progress response. - * - * An import that does not have errors will progress through these steps: - * - * * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL. - * * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import). - * * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information. - * * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects". - * * `complete` - the import is complete, and the repository is ready on GitHub. - * - * If there are problems, you will see one of these in the `status` field: - * - * * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://developer.github.com/v3/migrations/source_imports/#update-an-import) section. - * * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information. - * * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://developer.github.com/v3/migrations/source_imports/#update-an-import) section. - * * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://developer.github.com/v3/migrations/source_imports/#cancel-an-import) and [retry](https://developer.github.com/v3/migrations/source_imports/#start-an-import) with the correct URL. - * * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://developer.github.com/v3/migrations/source_imports/#update-an-import) section. - * - * **The project_choices field** - * - * When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type. - * - * **Git LFS related fields** - * - * This section includes details about Git LFS related fields that may be present in the Import Progress response. - * - * * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken. - * * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step. - * * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository. - * * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. - * @deprecated octokit.migrations.getImportProgress() has been renamed to octokit.migrations.getImportStatus() (2020-06-01) - */ - getImportProgress: { - (params?: RestEndpointMethodTypes["migrations"]["getImportProgress"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View the progress of an import. - * - * **Import status** - * - * This section includes details about the possible values of the `status` field of the Import Progress response. - * - * An import that does not have errors will progress through these steps: - * - * * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL. - * * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import). - * * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information. - * * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects". - * * `complete` - the import is complete, and the repository is ready on GitHub. - * - * If there are problems, you will see one of these in the `status` field: - * - * * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://developer.github.com/v3/migrations/source_imports/#update-an-import) section. - * * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information. - * * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://developer.github.com/v3/migrations/source_imports/#update-an-import) section. - * * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://developer.github.com/v3/migrations/source_imports/#cancel-an-import) and [retry](https://developer.github.com/v3/migrations/source_imports/#start-an-import) with the correct URL. - * * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://developer.github.com/v3/migrations/source_imports/#update-an-import) section. - * - * **The project_choices field** - * - * When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type. - * - * **Git LFS related fields** - * - * This section includes details about Git LFS related fields that may be present in the Import Progress response. - * - * * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken. - * * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step. - * * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository. - * * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. - */ - getImportStatus: { - (params?: RestEndpointMethodTypes["migrations"]["getImportStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List files larger than 100MB found during the import - */ - getLargeFiles: { - (params?: RestEndpointMethodTypes["migrations"]["getLargeFiles"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values: - * - * * `pending` - the migration hasn't started yet. - * * `exporting` - the migration is in progress. - * * `exported` - the migration finished successfully. - * * `failed` - the migration failed. - * - * Once the migration has been `exported` you can [download the migration archive](https://developer.github.com/v3/migrations/users/#download-a-user-migration-archive). - */ - getStatusForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["getStatusForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Fetches the status of a migration. - * - * The `state` of a migration can be one of the following values: - * - * * `pending`, which means the migration hasn't started yet. - * * `exporting`, which means the migration is in progress. - * * `exported`, which means the migration finished successfully. - * * `failed`, which means the migration failed. - */ - getStatusForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["getStatusForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all migrations a user has started. - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the most recent migrations. - */ - listForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["listForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all the repositories for this organization migration. - */ - listReposForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["listReposForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all the repositories for this user migration. - */ - listReposForUser: { - (params?: RestEndpointMethodTypes["migrations"]["listReposForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository. - */ - mapCommitAuthor: { - (params?: RestEndpointMethodTypes["migrations"]["mapCommitAuthor"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/). - */ - setLfsPreference: { - (params?: RestEndpointMethodTypes["migrations"]["setLfsPreference"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Initiates the generation of a user migration archive. - */ - startForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["startForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Initiates the generation of a migration archive. - */ - startForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["startForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Start a source import to a GitHub repository using GitHub Importer. - */ - startImport: { - (params?: RestEndpointMethodTypes["migrations"]["startImport"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Unlocks a repository. You can lock repositories when you [start a user migration](https://developer.github.com/v3/migrations/users/#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://developer.github.com/v3/repos/#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. - */ - unlockRepoForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["unlockRepoForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://developer.github.com/v3/repos/#delete-a-repository) when the migration is complete and you no longer need the source data. - */ - unlockRepoForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["unlockRepoForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API request. If no parameters are provided, the import will be restarted. - * - * Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. You can select the project to import by providing one of the objects in the `project_choices` array in the update request. - * - * The following example demonstrates the workflow for updating an import with "project1" as the project choice. Given a `project_choices` array like such: - * - * To restart an import, no parameters are provided in the update request. - */ - updateImport: { - (params?: RestEndpointMethodTypes["migrations"]["updateImport"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - orgs: { - /** - * Only authenticated organization owners can add a member to the organization or update the member's role. - * - * * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://developer.github.com/v3/orgs/members/#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. - * - * * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. - * - * **Rate limits** - * - * To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. - * @deprecated octokit.orgs.addOrUpdateMembership() has been renamed to octokit.orgs.setMembershipForUser() (2020-06-04) - */ - addOrUpdateMembership: { - (params?: RestEndpointMethodTypes["orgs"]["addOrUpdateMembership"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - blockUser: { - (params?: RestEndpointMethodTypes["orgs"]["blockUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If the user is blocked: - * - * If the user is not blocked: - */ - checkBlockedUser: { - (params?: RestEndpointMethodTypes["orgs"]["checkBlockedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Check if a user is, publicly or privately, a member of the organization. - * @deprecated octokit.orgs.checkMembership() has been renamed to octokit.orgs.checkMembershipForUser() (2020-06-04) - */ - checkMembership: { - (params?: RestEndpointMethodTypes["orgs"]["checkMembership"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Check if a user is, publicly or privately, a member of the organization. - */ - checkMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["checkMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.orgs.checkPublicMembership() has been renamed to octokit.orgs.checkPublicMembershipForUser() (2020-06-04) - */ - checkPublicMembership: { - (params?: RestEndpointMethodTypes["orgs"]["checkPublicMembership"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - checkPublicMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["checkPublicMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.orgs.concealMembership() has been renamed to octokit.orgs.removePublicMembershipForAuthenticatedUser() (2020-06-04) - */ - concealMembership: { - (params?: RestEndpointMethodTypes["orgs"]["concealMembership"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". - */ - convertMemberToOutsideCollaborator: { - (params?: RestEndpointMethodTypes["orgs"]["convertMemberToOutsideCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Here's how you can create a hook that posts payloads in JSON format: - * @deprecated octokit.orgs.createHook() has been renamed to octokit.orgs.createWebhook() (2020-06-04) - */ - createHook: { - (params?: RestEndpointMethodTypes["orgs"]["createHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - createInvitation: { - (params?: RestEndpointMethodTypes["orgs"]["createInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Here's how you can create a hook that posts payloads in JSON format: - */ - createWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["createWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.orgs.deleteHook() has been renamed to octokit.orgs.deleteWebhook() (2020-06-04) - */ - deleteHook: { - (params?: RestEndpointMethodTypes["orgs"]["deleteHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["deleteWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/). - * - * GitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See "[Authenticating with GitHub Apps](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see "[Response with GitHub plan information](https://developer.github.com/v3/orgs/#response-with-github-plan-information)." - */ - get: { - (params?: RestEndpointMethodTypes["orgs"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.orgs.getHook() has been renamed to octokit.orgs.getWebhook() (2020-06-04) - */ - getHook: { - (params?: RestEndpointMethodTypes["orgs"]["getHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * In order to get a user's membership with an organization, the authenticated user must be an organization member. - * @deprecated octokit.orgs.getMembership() has been renamed to octokit.orgs.getMembershipForUser() (2020-06-04) - */ - getMembership: { - (params?: RestEndpointMethodTypes["orgs"]["getMembership"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getMembershipForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["getMembershipForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * In order to get a user's membership with an organization, the authenticated user must be an organization member. - */ - getMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["getMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["getWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all organizations, in the order that they were created on GitHub. - * - * **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of organizations. - */ - list: { - (params?: RestEndpointMethodTypes["orgs"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint. - */ - listAppInstallations: { - (params?: RestEndpointMethodTypes["orgs"]["listAppInstallations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the users blocked by an organization. - */ - listBlockedUsers: { - (params?: RestEndpointMethodTypes["orgs"]["listBlockedUsers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List organizations for the authenticated user. - * - * **OAuth scope requirements** - * - * This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response. - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user. - * - * This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user) API instead. - */ - listForUser: { - (params?: RestEndpointMethodTypes["orgs"]["listForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.orgs.listHooks() has been renamed to octokit.orgs.listWebhooks() (2020-06-04) - */ - listHooks: { - (params?: RestEndpointMethodTypes["orgs"]["listHooks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint. - * @deprecated octokit.orgs.listInstallations() has been renamed to octokit.orgs.listAppInstallations() (2020-06-04) - */ - listInstallations: { - (params?: RestEndpointMethodTypes["orgs"]["listInstallations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. - */ - listInvitationTeams: { - (params?: RestEndpointMethodTypes["orgs"]["listInvitationTeams"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. - */ - listMembers: { - (params?: RestEndpointMethodTypes["orgs"]["listMembers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.orgs.listMemberships() has been renamed to octokit.orgs.listMembershipsForAuthenticatedUser() (2020-06-04) - */ - listMemberships: { - (params?: RestEndpointMethodTypes["orgs"]["listMemberships"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listMembershipsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["listMembershipsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all users who are outside collaborators of an organization. - */ - listOutsideCollaborators: { - (params?: RestEndpointMethodTypes["orgs"]["listOutsideCollaborators"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - */ - listPendingInvitations: { - (params?: RestEndpointMethodTypes["orgs"]["listPendingInvitations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Members of an organization can choose to have their membership publicized or not. - */ - listPublicMembers: { - (params?: RestEndpointMethodTypes["orgs"]["listPublicMembers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listWebhooks: { - (params?: RestEndpointMethodTypes["orgs"]["listWebhooks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook. - * @deprecated octokit.orgs.pingHook() has been renamed to octokit.orgs.pingWebhook() (2020-06-04) - */ - pingHook: { - (params?: RestEndpointMethodTypes["orgs"]["pingHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook. - */ - pingWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["pingWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The user can publicize their own membership. (A user cannot publicize the membership for another user.) - * - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - * @deprecated octokit.orgs.publicizeMembership() has been renamed to octokit.orgs.setPublicMembershipForAuthenticatedUser() (2020-06-04) - */ - publicizeMembership: { - (params?: RestEndpointMethodTypes["orgs"]["publicizeMembership"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. - */ - removeMember: { - (params?: RestEndpointMethodTypes["orgs"]["removeMember"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * In order to remove a user's membership with an organization, the authenticated user must be an organization owner. - * - * If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. - * @deprecated octokit.orgs.removeMembership() has been renamed to octokit.orgs.removeMembershipForUser() (2020-06-04) - */ - removeMembership: { - (params?: RestEndpointMethodTypes["orgs"]["removeMembership"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * In order to remove a user's membership with an organization, the authenticated user must be an organization owner. - * - * If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. - */ - removeMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["removeMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removing a user from this list will remove them from all the organization's repositories. - */ - removeOutsideCollaborator: { - (params?: RestEndpointMethodTypes["orgs"]["removeOutsideCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - removePublicMembershipForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["removePublicMembershipForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Only authenticated organization owners can add a member to the organization or update the member's role. - * - * * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://developer.github.com/v3/orgs/members/#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. - * - * * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. - * - * **Rate limits** - * - * To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. - */ - setMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["setMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The user can publicize their own membership. (A user cannot publicize the membership for another user.) - * - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - setPublicMembershipForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["setPublicMembershipForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - unblockUser: { - (params?: RestEndpointMethodTypes["orgs"]["unblockUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - * - * Enables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges. - */ - update: { - (params?: RestEndpointMethodTypes["orgs"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.orgs.updateHook() has been renamed to octokit.orgs.updateWebhook() (2020-06-04) - */ - updateHook: { - (params?: RestEndpointMethodTypes["orgs"]["updateHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.orgs.updateMembership() has been renamed to octokit.orgs.updateMembershipForAuthenticatedUser() (2020-06-04) - */ - updateMembership: { - (params?: RestEndpointMethodTypes["orgs"]["updateMembership"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateMembershipForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["updateMembershipForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["updateWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - projects: { - /** - * Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. - */ - addCollaborator: { - (params?: RestEndpointMethodTypes["projects"]["addCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. - * - * Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint. - */ - createCard: { - (params?: RestEndpointMethodTypes["projects"]["createCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createColumn: { - (params?: RestEndpointMethodTypes["projects"]["createColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["projects"]["createForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - createForOrg: { - (params?: RestEndpointMethodTypes["projects"]["createForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - createForRepo: { - (params?: RestEndpointMethodTypes["projects"]["createForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a project board. Returns a `404 Not Found` status if projects are disabled. - */ - delete: { - (params?: RestEndpointMethodTypes["projects"]["delete"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteCard: { - (params?: RestEndpointMethodTypes["projects"]["deleteCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteColumn: { - (params?: RestEndpointMethodTypes["projects"]["deleteColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - get: { - (params?: RestEndpointMethodTypes["projects"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getCard: { - (params?: RestEndpointMethodTypes["projects"]["getCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getColumn: { - (params?: RestEndpointMethodTypes["projects"]["getColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level. - */ - getPermissionForUser: { - (params?: RestEndpointMethodTypes["projects"]["getPermissionForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listCards: { - (params?: RestEndpointMethodTypes["projects"]["listCards"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators. - */ - listCollaborators: { - (params?: RestEndpointMethodTypes["projects"]["listCollaborators"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listColumns: { - (params?: RestEndpointMethodTypes["projects"]["listColumns"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - * - * s - */ - listForOrg: { - (params?: RestEndpointMethodTypes["projects"]["listForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - listForRepo: { - (params?: RestEndpointMethodTypes["projects"]["listForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listForUser: { - (params?: RestEndpointMethodTypes["projects"]["listForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - moveCard: { - (params?: RestEndpointMethodTypes["projects"]["moveCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - moveColumn: { - (params?: RestEndpointMethodTypes["projects"]["moveColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator. - */ - removeCollaborator: { - (params?: RestEndpointMethodTypes["projects"]["removeCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level. - * @deprecated octokit.projects.reviewUserPermissionLevel() has been renamed to octokit.projects.getPermissionForUser() (2020-06-05) - */ - reviewUserPermissionLevel: { - (params?: RestEndpointMethodTypes["projects"]["reviewUserPermissionLevel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - update: { - (params?: RestEndpointMethodTypes["projects"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateCard: { - (params?: RestEndpointMethodTypes["projects"]["updateCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateColumn: { - (params?: RestEndpointMethodTypes["projects"]["updateColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - pulls: { - checkIfMerged: { - (params?: RestEndpointMethodTypes["pulls"]["checkIfMerged"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - * - * You can create a new pull request. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - create: { - (params?: RestEndpointMethodTypes["pulls"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://developer.github.com/v3/issues/comments/#create-an-issue-comment)." We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff. - * - * You can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see [Multi-line comment summary](https://developer.github.com/v3/pulls/comments/#multi-line-comment-summary-3). - * - * **Note:** The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - * @deprecated octokit.pulls.createComment() has been renamed to octokit.pulls.createReviewComment() (2020-06-05) - */ - createComment: { - (params?: RestEndpointMethodTypes["pulls"]["createComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - createReplyForReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["createReplyForReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - * - * Pull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response. - * - * **Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/v3/pulls/#get-a-pull-request) endpoint. - * - * The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - */ - createReview: { - (params?: RestEndpointMethodTypes["pulls"]["createReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://developer.github.com/v3/issues/comments/#create-an-issue-comment)." We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff. - * - * You can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see [Multi-line comment summary](https://developer.github.com/v3/pulls/comments/#multi-line-comment-summary-3). - * - * **Note:** The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - */ - createReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["createReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - * @deprecated octokit.pulls.createReviewCommentReply() has been renamed to octokit.pulls.createReplyForReviewComment() (2020-06-05) - */ - createReviewCommentReply: { - (params?: RestEndpointMethodTypes["pulls"]["createReviewCommentReply"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - * @deprecated octokit.pulls.createReviewRequest() has been renamed to octokit.pulls.requestReviewers() (2020-06-05) - */ - createReviewRequest: { - (params?: RestEndpointMethodTypes["pulls"]["createReviewRequest"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a review comment. - * @deprecated octokit.pulls.deleteComment() has been renamed to octokit.pulls.deleteReviewComment() (2020-06-05) - */ - deleteComment: { - (params?: RestEndpointMethodTypes["pulls"]["deleteComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deletePendingReview: { - (params?: RestEndpointMethodTypes["pulls"]["deletePendingReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a review comment. - */ - deleteReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["deleteReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.pulls.deleteReviewRequest() has been renamed to octokit.pulls.removeRequestedReviewers() (2020-06-05) - */ - deleteReviewRequest: { - (params?: RestEndpointMethodTypes["pulls"]["deleteReviewRequest"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. - */ - dismissReview: { - (params?: RestEndpointMethodTypes["pulls"]["dismissReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists details of a pull request by providing its number. - * - * When you get, [create](https://developer.github.com/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)". - * - * The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit. - * - * The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request: - * - * * If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit. - * * If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch. - * * If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to. - * - * Pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - */ - get: { - (params?: RestEndpointMethodTypes["pulls"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Provides details for a review comment. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - * - * The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. - * @deprecated octokit.pulls.getComment() has been renamed to octokit.pulls.getReviewComment() (2020-06-05) - */ - getComment: { - (params?: RestEndpointMethodTypes["pulls"]["getComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List comments for a specific pull request review. - * @deprecated octokit.pulls.getCommentsForReview() has been renamed to octokit.pulls.listCommentsForReview() (2020-06-05) - */ - getCommentsForReview: { - (params?: RestEndpointMethodTypes["pulls"]["getCommentsForReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getReview: { - (params?: RestEndpointMethodTypes["pulls"]["getReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Provides details for a review comment. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - * - * The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. - */ - getReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["getReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - list: { - (params?: RestEndpointMethodTypes["pulls"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Lists all review comments for a pull request. By default, review comments are in ascending order by ID. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - * - * The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. - * @deprecated octokit.pulls.listComments() has been renamed to octokit.pulls.listReviewComments() (2020-06-05) - */ - listComments: { - (params?: RestEndpointMethodTypes["pulls"]["listComments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - * - * The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. - * @deprecated octokit.pulls.listCommentsForRepo() has been renamed to octokit.pulls.listReviewCommentsForRepo() (2020-06-05) - */ - listCommentsForRepo: { - (params?: RestEndpointMethodTypes["pulls"]["listCommentsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List comments for a specific pull request review. - */ - listCommentsForReview: { - (params?: RestEndpointMethodTypes["pulls"]["listCommentsForReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://developer.github.com/v3/repos/commits/#list-commits) endpoint. - */ - listCommits: { - (params?: RestEndpointMethodTypes["pulls"]["listCommits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. - */ - listFiles: { - (params?: RestEndpointMethodTypes["pulls"]["listFiles"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listRequestedReviewers: { - (params?: RestEndpointMethodTypes["pulls"]["listRequestedReviewers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Lists all review comments for a pull request. By default, review comments are in ascending order by ID. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - * - * The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. - */ - listReviewComments: { - (params?: RestEndpointMethodTypes["pulls"]["listReviewComments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - * - * The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. - */ - listReviewCommentsForRepo: { - (params?: RestEndpointMethodTypes["pulls"]["listReviewCommentsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.pulls.listReviewRequests() has been renamed to octokit.pulls.listRequestedReviewers() (2020-06-05) - */ - listReviewRequests: { - (params?: RestEndpointMethodTypes["pulls"]["listReviewRequests"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The list of reviews returns in chronological order. - */ - listReviews: { - (params?: RestEndpointMethodTypes["pulls"]["listReviews"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - merge: { - (params?: RestEndpointMethodTypes["pulls"]["merge"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - removeRequestedReviewers: { - (params?: RestEndpointMethodTypes["pulls"]["removeRequestedReviewers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - requestReviewers: { - (params?: RestEndpointMethodTypes["pulls"]["requestReviewers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - submitReview: { - (params?: RestEndpointMethodTypes["pulls"]["submitReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - */ - update: { - (params?: RestEndpointMethodTypes["pulls"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. - */ - updateBranch: { - (params?: RestEndpointMethodTypes["pulls"]["updateBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Enables you to edit a review comment. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - * @deprecated octokit.pulls.updateComment() has been renamed to octokit.pulls.updateReviewComment() (2020-06-05) - */ - updateComment: { - (params?: RestEndpointMethodTypes["pulls"]["updateComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Update the review summary comment with new text. - */ - updateReview: { - (params?: RestEndpointMethodTypes["pulls"]["updateReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Multi-line comments on pull requests are currently in public beta and subject to change. - * - * Enables you to edit a review comment. - * - * **Multi-line comment summary** - * - * **Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details. - * - * Use the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response. - * - * If you use the `comfort-fade` preview header, your response will show: - * - * * For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`. - * * For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`. - * - * If you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show: - * - * * For multi-line comments, the last line of the comment range for the `position` attribute. - * * For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table. - */ - updateReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["updateReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - rateLimit: { - /** - * **Note:** Accessing this endpoint does not count against your REST API rate limit. - * - * **Understanding your rate limit status** - * - * The Search API has a [custom rate limit](https://developer.github.com/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API. - * - * For these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects: - * - * * The `core` object provides your rate limit status for all non-search-related resources in the REST API. - * * The `search` object provides your rate limit status for the [Search API](https://developer.github.com/v3/search/). - * * The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/v4/). - * * The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint. - * - * For more information on the headers and values in the rate limit response, see "[Rate limiting](https://developer.github.com/v3/#rate-limiting)." - * - * The `rate` object (shown at the bottom of the response above) is deprecated. - * - * If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. - */ - get: { - (params?: RestEndpointMethodTypes["rateLimit"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - reactions: { - /** - * Create a reaction to a [commit comment](https://developer.github.com/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment. - */ - createForCommitComment: { - (params?: RestEndpointMethodTypes["reactions"]["createForCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to an [issue](https://developer.github.com/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue. - */ - createForIssue: { - (params?: RestEndpointMethodTypes["reactions"]["createForIssue"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to an [issue comment](https://developer.github.com/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment. - */ - createForIssueComment: { - (params?: RestEndpointMethodTypes["reactions"]["createForIssueComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to a [pull request review comment](https://developer.github.com/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment. - */ - createForPullRequestReviewComment: { - (params?: RestEndpointMethodTypes["reactions"]["createForPullRequestReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - */ - createForTeamDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["reactions"]["createForTeamDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - */ - createForTeamDiscussionInOrg: { - (params?: RestEndpointMethodTypes["reactions"]["createForTeamDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/). - * - * OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). - * @deprecated octokit.reactions.delete() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy - */ - delete: { - (params?: RestEndpointMethodTypes["reactions"]["delete"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. - * - * Delete a reaction to a [commit comment](https://developer.github.com/v3/repos/comments/). - */ - deleteForCommitComment: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. - * - * Delete a reaction to an [issue](https://developer.github.com/v3/issues/). - */ - deleteForIssue: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForIssue"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. - * - * Delete a reaction to an [issue comment](https://developer.github.com/v3/issues/comments/). - */ - deleteForIssueComment: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForIssueComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` - * - * Delete a reaction to a [pull request review comment](https://developer.github.com/v3/pulls/comments/). - */ - deleteForPullRequestComment: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForPullRequestComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - * - * Delete a reaction to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - deleteForTeamDiscussion: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForTeamDiscussion"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - * - * Delete a reaction to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - deleteForTeamDiscussionComment: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForTeamDiscussionComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/). - * - * OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). - * @deprecated octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy - */ - deleteLegacy: { - (params?: RestEndpointMethodTypes["reactions"]["deleteLegacy"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to a [commit comment](https://developer.github.com/v3/repos/comments/). - */ - listForCommitComment: { - (params?: RestEndpointMethodTypes["reactions"]["listForCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to an [issue](https://developer.github.com/v3/issues/). - */ - listForIssue: { - (params?: RestEndpointMethodTypes["reactions"]["listForIssue"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to an [issue comment](https://developer.github.com/v3/issues/comments/). - */ - listForIssueComment: { - (params?: RestEndpointMethodTypes["reactions"]["listForIssueComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to a [pull request review comment](https://developer.github.com/v3/pulls/comments/). - */ - listForPullRequestReviewComment: { - (params?: RestEndpointMethodTypes["reactions"]["listForPullRequestReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - */ - listForTeamDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["reactions"]["listForTeamDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - */ - listForTeamDiscussionInOrg: { - (params?: RestEndpointMethodTypes["reactions"]["listForTeamDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - repos: { - acceptInvitation: { - (params?: RestEndpointMethodTypes["repos"]["acceptInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - addAppAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addAppAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - * - * For more information the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)" in the GitHub Help documentation. - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - * - * The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://developer.github.com/v3/repos/invitations/). - * - * **Rate limits** - * - * To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository. - */ - addCollaborator: { - (params?: RestEndpointMethodTypes["repos"]["addCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Here's how you can create a read-only deploy key: - * @deprecated octokit.repos.addDeployKey() has been renamed to octokit.repos.createDeployKey() (2020-06-04) - */ - addDeployKey: { - (params?: RestEndpointMethodTypes["repos"]["addDeployKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - * @deprecated octokit.repos.addProtectedBranchAdminEnforcement() has been renamed to octokit.repos.setAdminBranchProtection() (2020-06-04) - */ - addProtectedBranchAdminEnforcement: { - (params?: RestEndpointMethodTypes["repos"]["addProtectedBranchAdminEnforcement"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.addProtectedBranchAppRestrictions() has been renamed to octokit.repos.addAppAccessRestrictions() (2020-06-04) - */ - addProtectedBranchAppRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addProtectedBranchAppRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. - * @deprecated octokit.repos.addProtectedBranchRequiredSignatures() has been renamed to octokit.repos.createCommitSignatureProtection() (2020-06-04) - */ - addProtectedBranchRequiredSignatures: { - (params?: RestEndpointMethodTypes["repos"]["addProtectedBranchRequiredSignatures"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.addProtectedBranchRequiredStatusChecksContexts() has been renamed to octokit.repos.addStatusCheckContexts() (2020-06-04) - */ - addProtectedBranchRequiredStatusChecksContexts: { - (params?: RestEndpointMethodTypes["repos"]["addProtectedBranchRequiredStatusChecksContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified teams push access for this branch. You can also give push access to child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.addProtectedBranchTeamRestrictions() has been renamed to octokit.repos.addTeamAccessRestrictions() (2020-06-04) - */ - addProtectedBranchTeamRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addProtectedBranchTeamRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified people push access for this branch. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.addProtectedBranchUserRestrictions() has been renamed to octokit.repos.addUserAccessRestrictions() (2020-06-04) - */ - addProtectedBranchUserRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addProtectedBranchUserRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - addStatusCheckContexts: { - (params?: RestEndpointMethodTypes["repos"]["addStatusCheckContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified teams push access for this branch. You can also give push access to child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - addTeamAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addTeamAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified people push access for this branch. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - addUserAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addUserAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - * - * Team members will include the members of child teams. - */ - checkCollaborator: { - (params?: RestEndpointMethodTypes["repos"]["checkCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)" in the GitHub Help documentation. - */ - checkVulnerabilityAlerts: { - (params?: RestEndpointMethodTypes["repos"]["checkVulnerabilityAlerts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`. - * - * The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - * - * The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file. - * - * **Working with large comparisons** - * - * The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://developer.github.com/v3/repos/commits/#list-commits) to enumerate all commits in the range. - * - * For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - compareCommits: { - (params?: RestEndpointMethodTypes["repos"]["compareCommits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a comment for a commit using its `:commit_sha`. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - createCommitComment: { - (params?: RestEndpointMethodTypes["repos"]["createCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. - */ - createCommitSignatureProtection: { - (params?: RestEndpointMethodTypes["repos"]["createCommitSignatureProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access in a repository can create commit statuses for a given SHA. - * - * Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. - */ - createCommitStatus: { - (params?: RestEndpointMethodTypes["repos"]["createCommitStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Here's how you can create a read-only deploy key: - */ - createDeployKey: { - (params?: RestEndpointMethodTypes["repos"]["createDeployKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deployments offer a few configurable parameters with sane defaults. - * - * The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request. - * - * The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`. - * - * The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response. - * - * By default, [commit statuses](https://developer.github.com/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed. - * - * The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched. - * - * The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled. - * - * Users with `repo` or `repo_deployment` scopes can create a deployment for a given ref: - * - * A simple example putting the user and room into the payload to notify back to chat networks. - * - * A more advanced example specifying required commit statuses and bypassing auto-merging. - * - * You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when: - * - * * Auto-merge option is enabled in the repository - * * Topic branch does not include the latest changes on the base branch, which is `master` in the response example - * * There are no merge conflicts - * - * If there are no new commits in the base branch, a new request to create a deployment should give a successful response. - * - * This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts. - * - * This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`. - */ - createDeployment: { - (params?: RestEndpointMethodTypes["repos"]["createDeployment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with `push` access can create deployment statuses for a given deployment. - * - * GitHub Apps require `read & write` access to "Deployments" and `read-only` access to "Repo contents" (for private repos). OAuth Apps require the `repo_deployment` scope. - */ - createDeploymentStatus: { - (params?: RestEndpointMethodTypes["repos"]["createDeploymentStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://developer.github.com/webhooks/event-payloads/#repository_dispatch)." - * - * The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow. For a test example, see the [input example](https://developer.github.com/v3/repos/#example-4). - * - * To give you write access to the repository, you must use a personal access token with the `repo` scope. For more information, see "[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)" in the GitHub Help documentation. - * - * This input example shows how you can use the `client_payload` as a test to debug your workflow. - */ - createDispatchEvent: { - (params?: RestEndpointMethodTypes["repos"]["createDispatchEvent"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new repository for the authenticated user. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository - * * `repo` scope to create a private repository - */ - createForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["repos"]["createForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a fork for the authenticated user. - * - * **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com). - */ - createFork: { - (params?: RestEndpointMethodTypes["repos"]["createFork"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap. - * - * Here's how you can create a hook that posts payloads in JSON format: - * @deprecated octokit.repos.createHook() has been renamed to octokit.repos.createWebhook() (2020-06-04) - */ - createHook: { - (params?: RestEndpointMethodTypes["repos"]["createHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new repository in the specified organization. The authenticated user must be a member of the organization. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository - * * `repo` scope to create a private repository - */ - createInOrg: { - (params?: RestEndpointMethodTypes["repos"]["createInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new file or replaces an existing file in a repository. - * @deprecated octokit.repos.createOrUpdateFile() has been renamed to octokit.repos.createOrUpdateFileContents() (2020-06-04) - */ - createOrUpdateFile: { - (params?: RestEndpointMethodTypes["repos"]["createOrUpdateFile"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new file or replaces an existing file in a repository. - */ - createOrUpdateFileContents: { - (params?: RestEndpointMethodTypes["repos"]["createOrUpdateFileContents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createPagesSite: { - (params?: RestEndpointMethodTypes["repos"]["createPagesSite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access to the repository can create a release. - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - */ - createRelease: { - (params?: RestEndpointMethodTypes["repos"]["createRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access in a repository can create commit statuses for a given SHA. - * - * Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. - * @deprecated octokit.repos.createStatus() has been renamed to octokit.repos.createCommitStatus() (2020-06-04) - */ - createStatus: { - (params?: RestEndpointMethodTypes["repos"]["createStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://developer.github.com/v3/repos/#get-a-repository) endpoint and check that the `is_template` key is `true`. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository - * * `repo` scope to create a private repository - */ - createUsingTemplate: { - (params?: RestEndpointMethodTypes["repos"]["createUsingTemplate"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap. - * - * Here's how you can create a hook that posts payloads in JSON format: - */ - createWebhook: { - (params?: RestEndpointMethodTypes["repos"]["createWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - declineInvitation: { - (params?: RestEndpointMethodTypes["repos"]["declineInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required. - * - * If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response: - */ - delete: { - (params?: RestEndpointMethodTypes["repos"]["delete"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Disables the ability to restrict who can push to this branch. - */ - deleteAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["deleteAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - */ - deleteAdminBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["deleteAdminBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - deleteBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["deleteBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteCommitComment: { - (params?: RestEndpointMethodTypes["repos"]["deleteCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. - */ - deleteCommitSignatureProtection: { - (params?: RestEndpointMethodTypes["repos"]["deleteCommitSignatureProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteDeployKey: { - (params?: RestEndpointMethodTypes["repos"]["deleteDeployKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment. - * - * To set a deployment as inactive, you must: - * - * * Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment. - * * Mark the active deployment as inactive by adding any non-successful deployment status. - * - * For more information, see "[Create a deployment](https://developer.github.com/v3/repos/deployments/#create-a-deployment)" and "[Create a deployment status](https://developer.github.com/v3/repos/deployments/#create-a-deployment-status)." - */ - deleteDeployment: { - (params?: RestEndpointMethodTypes["repos"]["deleteDeployment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteDownload: { - (params?: RestEndpointMethodTypes["repos"]["deleteDownload"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a file in a repository. - * - * You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author. - * - * The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used. - * - * You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code. - */ - deleteFile: { - (params?: RestEndpointMethodTypes["repos"]["deleteFile"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.deleteHook() has been renamed to octokit.repos.deleteWebhook() (2020-06-04) - */ - deleteHook: { - (params?: RestEndpointMethodTypes["repos"]["deleteHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteInvitation: { - (params?: RestEndpointMethodTypes["repos"]["deleteInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deletePagesSite: { - (params?: RestEndpointMethodTypes["repos"]["deletePagesSite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - deletePullRequestReviewProtection: { - (params?: RestEndpointMethodTypes["repos"]["deletePullRequestReviewProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access to the repository can delete a release. - */ - deleteRelease: { - (params?: RestEndpointMethodTypes["repos"]["deleteRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteReleaseAsset: { - (params?: RestEndpointMethodTypes["repos"]["deleteReleaseAsset"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteWebhook: { - (params?: RestEndpointMethodTypes["repos"]["deleteWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)" in the GitHub Help documentation. - */ - disableAutomatedSecurityFixes: { - (params?: RestEndpointMethodTypes["repos"]["disableAutomatedSecurityFixes"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.disablePagesSite() has been renamed to octokit.repos.deletePagesSite() (2020-06-04) - */ - disablePagesSite: { - (params?: RestEndpointMethodTypes["repos"]["disablePagesSite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)" in the GitHub Help documentation. - */ - disableVulnerabilityAlerts: { - (params?: RestEndpointMethodTypes["repos"]["disableVulnerabilityAlerts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request. - * - * _Note_: For private repositories, these links are temporary and expire after five minutes. - * - * To follow redirects with curl, use the `-L` switch: - */ - downloadArchive: { - (params?: RestEndpointMethodTypes["repos"]["downloadArchive"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)" in the GitHub Help documentation. - */ - enableAutomatedSecurityFixes: { - (params?: RestEndpointMethodTypes["repos"]["enableAutomatedSecurityFixes"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.enablePagesSite() has been renamed to octokit.repos.createPagesSite() (2020-06-04) - */ - enablePagesSite: { - (params?: RestEndpointMethodTypes["repos"]["enablePagesSite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)" in the GitHub Help documentation. - */ - enableVulnerabilityAlerts: { - (params?: RestEndpointMethodTypes["repos"]["enableVulnerabilityAlerts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file. - * - * The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. - */ - get: { - (params?: RestEndpointMethodTypes["repos"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists who has access to this protected branch. - * - * **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. - */ - getAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["getAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getAdminBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["getAdminBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getAllStatusCheckContexts: { - (params?: RestEndpointMethodTypes["repos"]["getAllStatusCheckContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getAllTopics: { - (params?: RestEndpointMethodTypes["repos"]["getAllTopics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - */ - getAppsWithAccessToProtectedBranch: { - (params?: RestEndpointMethodTypes["repos"]["getAppsWithAccessToProtectedBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request. - * - * _Note_: For private repositories, these links are temporary and expire after five minutes. - * - * To follow redirects with curl, use the `-L` switch: - * @deprecated octokit.repos.getArchiveLink() has been renamed to octokit.repos.downloadArchive() (2020-06-04) - */ - getArchiveLink: { - (params?: RestEndpointMethodTypes["repos"]["getArchiveLink"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getBranch: { - (params?: RestEndpointMethodTypes["repos"]["getBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["getBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. - */ - getClones: { - (params?: RestEndpointMethodTypes["repos"]["getClones"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a weekly aggregate of the number of additions and deletions pushed to a repository. - */ - getCodeFrequencyStats: { - (params?: RestEndpointMethodTypes["repos"]["getCodeFrequencyStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`. - */ - getCollaboratorPermissionLevel: { - (params?: RestEndpointMethodTypes["repos"]["getCollaboratorPermissionLevel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. - * - * The most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/v3/#pagination) if there are over 100 contexts. - * - * Additionally, a combined `state` is returned. The `state` is one of: - * - * * **failure** if any of the contexts report as `error` or `failure` - * * **pending** if there are no statuses or a context is `pending` - * * **success** if the latest status for all contexts is `success` - */ - getCombinedStatusForRef: { - (params?: RestEndpointMethodTypes["repos"]["getCombinedStatusForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. - * - * You can pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property. - * - * To return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - getCommit: { - (params?: RestEndpointMethodTypes["repos"]["getCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. - */ - getCommitActivityStats: { - (params?: RestEndpointMethodTypes["repos"]["getCommitActivityStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getCommitComment: { - (params?: RestEndpointMethodTypes["repos"]["getCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help. - * - * **Note**: You must enable branch protection to require signed commits. - */ - getCommitSignatureProtection: { - (params?: RestEndpointMethodTypes["repos"]["getCommitSignatureProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE, README, and CONTRIBUTING files. - */ - getCommunityProfileMetrics: { - (params?: RestEndpointMethodTypes["repos"]["getCommunityProfileMetrics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository. - * - * Files and symlinks support [a custom media type](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format. - * - * **Note**: - * - * * To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/v3/git/trees/). - * * This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/v3/git/trees/#get-a-tree). - * * This API supports files up to 1 megabyte in size. - * - * The response will be an array of objects, one object for each item in the directory. - * - * When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule". - * - * If the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/v3/repos/contents/#response-if-content-is-a-file)). - * - * Otherwise, the API responds with an object describing the symlink itself: - * - * The `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. - * - * If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values. - */ - getContent: { - (params?: RestEndpointMethodTypes["repos"]["getContent"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository. - * - * Files and symlinks support [a custom media type](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format. - * - * **Note**: - * - * * To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/v3/git/trees/). - * * This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/v3/git/trees/#get-a-tree). - * * This API supports files up to 1 megabyte in size. - * - * The response will be an array of objects, one object for each item in the directory. - * - * When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule". - * - * If the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/v3/repos/contents/#response-if-content-is-a-file)). - * - * Otherwise, the API responds with an object describing the symlink itself: - * - * The `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. - * - * If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values. - * @deprecated octokit.repos.getContents() has been renamed to octokit.repos.getContent() (2020-06-04) - */ - getContents: { - (params?: RestEndpointMethodTypes["repos"]["getContents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * * `total` - The Total number of commits authored by the contributor. - * - * Weekly Hash (`weeks` array): - * - * * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). - * * `a` - Number of additions - * * `d` - Number of deletions - * * `c` - Number of commits - */ - getContributorsStats: { - (params?: RestEndpointMethodTypes["repos"]["getContributorsStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getDeployKey: { - (params?: RestEndpointMethodTypes["repos"]["getDeployKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getDeployment: { - (params?: RestEndpointMethodTypes["repos"]["getDeployment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access can view a deployment status for a deployment: - */ - getDeploymentStatus: { - (params?: RestEndpointMethodTypes["repos"]["getDeploymentStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getDownload: { - (params?: RestEndpointMethodTypes["repos"]["getDownload"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.getHook() has been renamed to octokit.repos.getWebhook() (2020-06-04) - */ - getHook: { - (params?: RestEndpointMethodTypes["repos"]["getHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getLatestPagesBuild: { - (params?: RestEndpointMethodTypes["repos"]["getLatestPagesBuild"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View the latest published full release for the repository. - * - * The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published. - */ - getLatestRelease: { - (params?: RestEndpointMethodTypes["repos"]["getLatestRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getPages: { - (params?: RestEndpointMethodTypes["repos"]["getPages"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getPagesBuild: { - (params?: RestEndpointMethodTypes["repos"]["getPagesBuild"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`. - * - * The array order is oldest week (index 0) to most recent week. - */ - getParticipationStats: { - (params?: RestEndpointMethodTypes["repos"]["getParticipationStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.getProtectedBranchAdminEnforcement() has been renamed to octokit.repos.getAdminBranchProtection() (2020-06-04) - */ - getProtectedBranchAdminEnforcement: { - (params?: RestEndpointMethodTypes["repos"]["getProtectedBranchAdminEnforcement"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.getProtectedBranchPullRequestReviewEnforcement() has been renamed to octokit.repos.getPullRequestReviewProtection() (2020-06-04) - */ - getProtectedBranchPullRequestReviewEnforcement: { - (params?: RestEndpointMethodTypes["repos"]["getProtectedBranchPullRequestReviewEnforcement"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help. - * - * **Note**: You must enable branch protection to require signed commits. - * @deprecated octokit.repos.getProtectedBranchRequiredSignatures() has been renamed to octokit.repos.getCommitSignatureProtection() (2020-06-04) - */ - getProtectedBranchRequiredSignatures: { - (params?: RestEndpointMethodTypes["repos"]["getProtectedBranchRequiredSignatures"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.getProtectedBranchRequiredStatusChecks() has been renamed to octokit.repos.getStatusChecksProtection() (2020-06-04) - */ - getProtectedBranchRequiredStatusChecks: { - (params?: RestEndpointMethodTypes["repos"]["getProtectedBranchRequiredStatusChecks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists who has access to this protected branch. - * - * **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. - * @deprecated octokit.repos.getProtectedBranchRestrictions() has been renamed to octokit.repos.getAccessRestrictions() (2020-06-04) - */ - getProtectedBranchRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["getProtectedBranchRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getPullRequestReviewProtection: { - (params?: RestEndpointMethodTypes["repos"]["getPullRequestReviewProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Each array contains the day number, hour number, and number of commits: - * - * * `0-6`: Sunday - Saturday - * * `0-23`: Hour of day - * * Number of commits - * - * For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. - */ - getPunchCardStats: { - (params?: RestEndpointMethodTypes["repos"]["getPunchCardStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the preferred README for a repository. - * - * READMEs support [custom media types](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML. - */ - getReadme: { - (params?: RestEndpointMethodTypes["repos"]["getReadme"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://developer.github.com/v3/#hypermedia). - */ - getRelease: { - (params?: RestEndpointMethodTypes["repos"]["getRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/v3/media/#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. - */ - getReleaseAsset: { - (params?: RestEndpointMethodTypes["repos"]["getReleaseAsset"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get a published release with the specified tag. - */ - getReleaseByTag: { - (params?: RestEndpointMethodTypes["repos"]["getReleaseByTag"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getStatusChecksProtection: { - (params?: RestEndpointMethodTypes["repos"]["getStatusChecksProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the teams who have push access to this branch. The list includes child teams. - */ - getTeamsWithAccessToProtectedBranch: { - (params?: RestEndpointMethodTypes["repos"]["getTeamsWithAccessToProtectedBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the top 10 popular contents over the last 14 days. - */ - getTopPaths: { - (params?: RestEndpointMethodTypes["repos"]["getTopPaths"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the top 10 referrers over the last 14 days. - */ - getTopReferrers: { - (params?: RestEndpointMethodTypes["repos"]["getTopReferrers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the people who have push access to this branch. - */ - getUsersWithAccessToProtectedBranch: { - (params?: RestEndpointMethodTypes["repos"]["getUsersWithAccessToProtectedBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. - */ - getViews: { - (params?: RestEndpointMethodTypes["repos"]["getViews"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getWebhook: { - (params?: RestEndpointMethodTypes["repos"]["getWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * @deprecated octokit.repos.list() has been renamed to octokit.repos.listForAuthenticatedUser() (2020-03-04) - */ - list: { - (params?: RestEndpointMethodTypes["repos"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.listAssetsForRelease() has been renamed to octokit.repos.listReleaseAssets() (2020-06-04) - */ - listAssetsForRelease: { - (params?: RestEndpointMethodTypes["repos"]["listAssetsForRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listBranches: { - (params?: RestEndpointMethodTypes["repos"]["listBranches"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch. - */ - listBranchesForHeadCommit: { - (params?: RestEndpointMethodTypes["repos"]["listBranchesForHeadCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - * - * Team members will include the members of child teams. - */ - listCollaborators: { - (params?: RestEndpointMethodTypes["repos"]["listCollaborators"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Use the `:commit_sha` to specify the commit that will have its comments listed. - */ - listCommentsForCommit: { - (params?: RestEndpointMethodTypes["repos"]["listCommentsForCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Commit Comments use [these custom media types](https://developer.github.com/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/v3/media/). - * - * Comments are ordered by ascending ID. - * @deprecated octokit.repos.listCommitComments() has been renamed to octokit.repos.listCommitCommentsForRepo() (2020-06-04) - */ - listCommitComments: { - (params?: RestEndpointMethodTypes["repos"]["listCommitComments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Commit Comments use [these custom media types](https://developer.github.com/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/v3/media/). - * - * Comments are ordered by ascending ID. - */ - listCommitCommentsForRepo: { - (params?: RestEndpointMethodTypes["repos"]["listCommitCommentsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one. - * - * This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. - */ - listCommitStatusesForRef: { - (params?: RestEndpointMethodTypes["repos"]["listCommitStatusesForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - listCommits: { - (params?: RestEndpointMethodTypes["repos"]["listCommits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance. - * - * GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information. - */ - listContributors: { - (params?: RestEndpointMethodTypes["repos"]["listContributors"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listDeployKeys: { - (params?: RestEndpointMethodTypes["repos"]["listDeployKeys"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access can view deployment statuses for a deployment: - */ - listDeploymentStatuses: { - (params?: RestEndpointMethodTypes["repos"]["listDeploymentStatuses"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Simple filtering of deployments is available via query parameters: - */ - listDeployments: { - (params?: RestEndpointMethodTypes["repos"]["listDeployments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listDownloads: { - (params?: RestEndpointMethodTypes["repos"]["listDownloads"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["repos"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories for the specified organization. - */ - listForOrg: { - (params?: RestEndpointMethodTypes["repos"]["listForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists public repositories for the specified user. - */ - listForUser: { - (params?: RestEndpointMethodTypes["repos"]["listForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listForks: { - (params?: RestEndpointMethodTypes["repos"]["listForks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.listHooks() has been renamed to octokit.repos.listWebhooks() (2020-06-04) - */ - listHooks: { - (params?: RestEndpointMethodTypes["repos"]["listHooks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. - */ - listInvitations: { - (params?: RestEndpointMethodTypes["repos"]["listInvitations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * When authenticating as a user, this endpoint will list all currently open repository invitations for that user. - */ - listInvitationsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["repos"]["listInvitationsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. - */ - listLanguages: { - (params?: RestEndpointMethodTypes["repos"]["listLanguages"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listPagesBuilds: { - (params?: RestEndpointMethodTypes["repos"]["listPagesBuilds"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.listProtectedBranchRequiredStatusChecksContexts() has been renamed to octokit.repos.getAllStatusCheckContexts() (2020-06-04) - */ - listProtectedBranchRequiredStatusChecksContexts: { - (params?: RestEndpointMethodTypes["repos"]["listProtectedBranchRequiredStatusChecksContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all public repositories in the order that they were created. - * - * Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of repositories. - */ - listPublic: { - (params?: RestEndpointMethodTypes["repos"]["listPublic"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoint. - */ - listPullRequestsAssociatedWithCommit: { - (params?: RestEndpointMethodTypes["repos"]["listPullRequestsAssociatedWithCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listReleaseAssets: { - (params?: RestEndpointMethodTypes["repos"]["listReleaseAssets"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/v3/repos/#list-repository-tags). - * - * Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. - */ - listReleases: { - (params?: RestEndpointMethodTypes["repos"]["listReleases"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one. - * - * This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. - * @deprecated octokit.repos.listStatusesForRef() has been renamed to octokit.repos.listCommitStatusesForRef() (2020-06-04) - */ - listStatusesForRef: { - (params?: RestEndpointMethodTypes["repos"]["listStatusesForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listTags: { - (params?: RestEndpointMethodTypes["repos"]["listTags"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listTeams: { - (params?: RestEndpointMethodTypes["repos"]["listTeams"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.listTopics() has been renamed to octokit.repos.getAllTopics() (2020-03-04) - */ - listTopics: { - (params?: RestEndpointMethodTypes["repos"]["listTopics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listWebhooks: { - (params?: RestEndpointMethodTypes["repos"]["listWebhooks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - merge: { - (params?: RestEndpointMethodTypes["repos"]["merge"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook. - * @deprecated octokit.repos.pingHook() has been renamed to octokit.repos.pingWebhook() (2020-06-04) - */ - pingHook: { - (params?: RestEndpointMethodTypes["repos"]["pingHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook. - */ - pingWebhook: { - (params?: RestEndpointMethodTypes["repos"]["pingWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - removeAppAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeAppAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.removeBranchProtection() has been renamed to octokit.repos.deleteBranchProtection() (2020-06-04) - */ - removeBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["removeBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - removeCollaborator: { - (params?: RestEndpointMethodTypes["repos"]["removeCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.removeDeployKey() has been renamed to octokit.repos.deleteDeployKey() (2020-06-04) - */ - removeDeployKey: { - (params?: RestEndpointMethodTypes["repos"]["removeDeployKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - * @deprecated octokit.repos.removeProtectedBranchAdminEnforcement() has been renamed to octokit.repos.deleteAdminBranchProtection() (2020-06-04) - */ - removeProtectedBranchAdminEnforcement: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchAdminEnforcement"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.removeProtectedBranchAppRestrictions() has been renamed to octokit.repos.removeAppAccessRestrictions() (2020-06-04) - */ - removeProtectedBranchAppRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchAppRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.removeProtectedBranchPullRequestReviewEnforcement() has been renamed to octokit.repos.deletePullRequestReviewProtection() (2020-06-04) - */ - removeProtectedBranchPullRequestReviewEnforcement: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchPullRequestReviewEnforcement"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. - * @deprecated octokit.repos.removeProtectedBranchRequiredSignatures() has been renamed to octokit.repos.deleteCommitSignatureProtection() (2020-06-04) - */ - removeProtectedBranchRequiredSignatures: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchRequiredSignatures"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.removeProtectedBranchRequiredStatusChecks() has been renamed to octokit.repos.removeStatusChecksProtection() (2020-06-04) - */ - removeProtectedBranchRequiredStatusChecks: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchRequiredStatusChecks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.removeProtectedBranchRequiredStatusChecksContexts() has been renamed to octokit.repos.removeStatusCheckContexts() (2020-06-04) - */ - removeProtectedBranchRequiredStatusChecksContexts: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchRequiredStatusChecksContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Disables the ability to restrict who can push to this branch. - * @deprecated octokit.repos.removeProtectedBranchRestrictions() has been renamed to octokit.repos.deleteAccessRestrictions() (2020-06-04) - */ - removeProtectedBranchRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a team to push to this branch. You can also remove push access for child teams. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.removeProtectedBranchTeamRestrictions() has been renamed to octokit.repos.removeTeamAccessRestrictions() (2020-06-04) - */ - removeProtectedBranchTeamRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchTeamRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a user to push to this branch. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.removeProtectedBranchUserRestrictions() has been renamed to octokit.repos.removeUserAccessRestrictions() (2020-06-04) - */ - removeProtectedBranchUserRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeProtectedBranchUserRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - removeStatusCheckContexts: { - (params?: RestEndpointMethodTypes["repos"]["removeStatusCheckContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - removeStatusCheckProtection: { - (params?: RestEndpointMethodTypes["repos"]["removeStatusCheckProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a team to push to this branch. You can also remove push access for child teams. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - removeTeamAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeTeamAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a user to push to this branch. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - removeUserAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeUserAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - replaceAllTopics: { - (params?: RestEndpointMethodTypes["repos"]["replaceAllTopics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.replaceProtectedBranchAppRestrictions() has been renamed to octokit.repos.setAppAccessRestrictions() (2020-06-04) - */ - replaceProtectedBranchAppRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["replaceProtectedBranchAppRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * @deprecated octokit.repos.replaceProtectedBranchRequiredStatusChecksContexts() has been renamed to octokit.repos.setStatusCheckContexts() (2020-06-04) - */ - replaceProtectedBranchRequiredStatusChecksContexts: { - (params?: RestEndpointMethodTypes["repos"]["replaceProtectedBranchRequiredStatusChecksContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.replaceProtectedBranchTeamRestrictions() has been renamed to octokit.repos.setTeamAccessRestrictions() (2020-06-04) - */ - replaceProtectedBranchTeamRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["replaceProtectedBranchTeamRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - * @deprecated octokit.repos.replaceProtectedBranchUserRestrictions() has been renamed to octokit.repos.setUserAccessRestrictions() (2020-06-04) - */ - replaceProtectedBranchUserRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["replaceProtectedBranchUserRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.replaceTopics() has been renamed to octokit.repos.replaceAllTopics() (2020-03-04) - */ - replaceTopics: { - (params?: RestEndpointMethodTypes["repos"]["replaceTopics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures. - * - * Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. - * @deprecated octokit.repos.requestPageBuild() has been renamed to octokit.repos.requestPagesBuild() (2020-06-04) - */ - requestPageBuild: { - (params?: RestEndpointMethodTypes["repos"]["requestPageBuild"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures. - * - * Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. - */ - requestPagesBuild: { - (params?: RestEndpointMethodTypes["repos"]["requestPagesBuild"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE, README, and CONTRIBUTING files. - * @deprecated octokit.repos.retrieveCommunityProfileMetrics() has been renamed to octokit.repos.getCommunityProfileMetrics() (2020-06-04) - */ - retrieveCommunityProfileMetrics: { - (params?: RestEndpointMethodTypes["repos"]["retrieveCommunityProfileMetrics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - */ - setAdminBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["setAdminBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - setAppAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["setAppAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - setStatusCheckContexts: { - (params?: RestEndpointMethodTypes["repos"]["setStatusCheckContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - setTeamAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["setTeamAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - setUserAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["setUserAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. - * - * **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` - * @deprecated octokit.repos.testPushHook() has been renamed to octokit.repos.testPushWebhook() (2020-06-04) - */ - testPushHook: { - (params?: RestEndpointMethodTypes["repos"]["testPushHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. - * - * **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` - */ - testPushWebhook: { - (params?: RestEndpointMethodTypes["repos"]["testPushWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/). - */ - transfer: { - (params?: RestEndpointMethodTypes["repos"]["transfer"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note**: To edit a repository's topics, use the [Replace all repository topics](https://developer.github.com/v3/repos/#replace-all-repository-topics) endpoint. - */ - update: { - (params?: RestEndpointMethodTypes["repos"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Protecting a branch requires admin or owner permissions to the repository. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - * - * **Note**: The list of users, apps, and teams in total is limited to 100 items. - */ - updateBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["updateBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateCommitComment: { - (params?: RestEndpointMethodTypes["repos"]["updateCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.repos.updateHook() has been renamed to octokit.repos.updateWebhook() (2020-06-04) - */ - updateHook: { - (params?: RestEndpointMethodTypes["repos"]["updateHook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateInformationAboutPagesSite: { - (params?: RestEndpointMethodTypes["repos"]["updateInformationAboutPagesSite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateInvitation: { - (params?: RestEndpointMethodTypes["repos"]["updateInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - * @deprecated octokit.repos.updateProtectedBranchPullRequestReviewEnforcement() has been renamed to octokit.repos.updatePullRequestReviewProtection() (2020-06-04) - */ - updateProtectedBranchPullRequestReviewEnforcement: { - (params?: RestEndpointMethodTypes["repos"]["updateProtectedBranchPullRequestReviewEnforcement"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. - * @deprecated octokit.repos.updateProtectedBranchRequiredStatusChecks() has been renamed to octokit.repos.updateStatusChecksProtection() (2020-06-04) - */ - updateProtectedBranchRequiredStatusChecks: { - (params?: RestEndpointMethodTypes["repos"]["updateProtectedBranchRequiredStatusChecks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - */ - updatePullRequestReviewProtection: { - (params?: RestEndpointMethodTypes["repos"]["updatePullRequestReviewProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access to the repository can edit a release. - */ - updateRelease: { - (params?: RestEndpointMethodTypes["repos"]["updateRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access to the repository can edit a release asset. - */ - updateReleaseAsset: { - (params?: RestEndpointMethodTypes["repos"]["updateReleaseAsset"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. - */ - updateStatusCheckPotection: { - (params?: RestEndpointMethodTypes["repos"]["updateStatusCheckPotection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateWebhook: { - (params?: RestEndpointMethodTypes["repos"]["updateWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint makes use of [a Hypermedia relation](https://developer.github.com/v3/#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in the response of the [Create a release endpoint](https://developer.github.com/v3/repos/releases/#create-a-release) to upload a release asset. - * - * You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint. - * - * Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: - * - * `application/zip` - * - * GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, you'll still need to pass your authentication to be able to upload an asset. - * - * **Notes:** - * - * * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List assets for a release](https://developer.github.com/v3/repos/releases/#list-assets-for-a-release)" endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://github.com/contact). - * * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. - * - * This may leave an empty asset with a state of `starter`. It can be safely deleted. - */ - uploadReleaseAsset: { - (params?: RestEndpointMethodTypes["repos"]["uploadReleaseAsset"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - search: { - /** - * Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination). - * - * When searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). - * - * **Note:** You must [authenticate](https://developer.github.com/v3/#authentication) to search for code across all public repositories. - * - * **Considerations for code search** - * - * Due to the complexity of searching code, there are a few restrictions on how searches are performed: - * - * * Only the _default branch_ is considered. In most cases, this will be the `master` branch. - * * Only files smaller than 384 KB are searchable. - * * You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is. - * - * Suppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this: - * - * Here, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository. - */ - code: { - (params?: RestEndpointMethodTypes["search"]["code"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination). - * - * When searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). - * - * **Considerations for commit search** - * - * Only the _default branch_ is considered. In most cases, this will be the `master` branch. - * - * Suppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this: - */ - commits: { - (params?: RestEndpointMethodTypes["search"]["commits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination). - * - * When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). - * - * Let's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. - * - * In this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results. - */ - issuesAndPullRequests: { - (params?: RestEndpointMethodTypes["search"]["issuesAndPullRequests"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/v3/#pagination). - * - * When searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). - * - * Suppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this: - * - * The labels that best match for the query appear first in the search results. - */ - labels: { - (params?: RestEndpointMethodTypes["search"]["labels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination). - * - * When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). - * - * Suppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this. - * - * You can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example: - * - * In this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results. - */ - repos: { - (params?: RestEndpointMethodTypes["search"]["repos"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination). - * - * When searching for topics, you can get text match metadata for the topic's **short\_description**, **description**, **name**, or **display\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). - * - * See "[Searching topics](https://help.github.com/articles/searching-topics/)" for a detailed list of qualifiers. - * - * Suppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this: - * - * In this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results. - * - * **Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/v3/#link-header) indicating pagination is not included in the response. - */ - topics: { - (params?: RestEndpointMethodTypes["search"]["topics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination). - * - * When searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). - * - * Imagine you're looking for a list of popular users. You might try out this query: - * - * Here, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers. - */ - users: { - (params?: RestEndpointMethodTypes["search"]["users"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - teams: { - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. - * - * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/memberships/:username`. - */ - addOrUpdateMembershipForUserInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateMembershipForUserInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. - * - * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/memberships/:username`. - * @deprecated octokit.teams.addOrUpdateMembershipInOrg() has been renamed to octokit.teams.addOrUpdateMembershipForUserInOrg() (2020-06-01) - */ - addOrUpdateMembershipInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateMembershipInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/projects/:project_id`. - * @deprecated octokit.teams.addOrUpdateProjectInOrg() has been renamed to octokit.teams.addOrUpdateProjectPermissionsInOrg() (2020-06-01) - */ - addOrUpdateProjectInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateProjectInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/projects/:project_id`. - */ - addOrUpdateProjectPermissionsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateProjectPermissionsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/repos/:owner/:repo`. - * - * For more information about the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)" in the GitHub Help documentation. - * @deprecated octokit.teams.addOrUpdateRepoInOrg() has been renamed to octokit.teams.addOrUpdateRepoPermissionsInOrg() (2020-06-01) - */ - addOrUpdateRepoInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateRepoInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/repos/:owner/:repo`. - * - * For more information about the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)" in the GitHub Help documentation. - */ - addOrUpdateRepoPermissionsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateRepoPermissionsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/repos/:owner/:repo`. - * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header: - * @deprecated octokit.teams.checkManagesRepoInOrg() has been renamed to octokit.teams.checkPermissionsForRepoInOrg() (2020-06-01) - */ - checkManagesRepoInOrg: { - (params?: RestEndpointMethodTypes["teams"]["checkManagesRepoInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/projects/:project_id`. - */ - checkPermissionsForProjectInOrg: { - (params?: RestEndpointMethodTypes["teams"]["checkPermissionsForProjectInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/repos/:owner/:repo`. - * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header: - */ - checkPermissionsForRepoInOrg: { - (params?: RestEndpointMethodTypes["teams"]["checkPermissionsForRepoInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To create a team, the authenticated user must be a member or owner of `:org`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization)." - * - * When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)" in the GitHub Help documentation. - */ - create: { - (params?: RestEndpointMethodTypes["teams"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments`. - */ - createDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["teams"]["createDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions`. - */ - createDiscussionInOrg: { - (params?: RestEndpointMethodTypes["teams"]["createDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number`. - */ - deleteDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["teams"]["deleteDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number`. - */ - deleteDiscussionInOrg: { - (params?: RestEndpointMethodTypes["teams"]["deleteDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To delete a team, the authenticated user must be an organization owner or team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id`. - * - * If you are an organization owner, deleting a parent team will delete all of its child teams as well. - */ - deleteInOrg: { - (params?: RestEndpointMethodTypes["teams"]["deleteInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id`. - */ - getByName: { - (params?: RestEndpointMethodTypes["teams"]["getByName"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number`. - */ - getDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["teams"]["getDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number`. - */ - getDiscussionInOrg: { - (params?: RestEndpointMethodTypes["teams"]["getDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team members will include the members of child teams. - * - * To get a user's membership with a team, the team must be visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/memberships/:username`. - * - * **Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://developer.github.com/v3/teams/#create-a-team). - */ - getMembershipForUserInOrg: { - (params?: RestEndpointMethodTypes["teams"]["getMembershipForUserInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team members will include the members of child teams. - * - * To get a user's membership with a team, the team must be visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/memberships/:username`. - * - * **Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://developer.github.com/v3/teams/#create-a-team). - * @deprecated octokit.teams.getMembershipInOrg() has been renamed to octokit.teams.getMembershipForUserInOrg() (2020-06-01) - */ - getMembershipInOrg: { - (params?: RestEndpointMethodTypes["teams"]["getMembershipInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all teams in an organization that are visible to the authenticated user. - */ - list: { - (params?: RestEndpointMethodTypes["teams"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the child teams of the team requested by `:team_slug`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/teams`. - */ - listChildInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listChildInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments`. - */ - listDiscussionCommentsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listDiscussionCommentsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions`. - */ - listDiscussionsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listDiscussionsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/apps/building-oauth-apps/). - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["teams"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team members will include the members of child teams. - * - * To list members in a team, the team must be visible to the authenticated user. - */ - listMembersInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listMembersInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/invitations`. - */ - listPendingInvitationsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listPendingInvitationsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the organization projects for a team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/projects`. - */ - listProjectsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listProjectsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists a team's repositories visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/repos`. - */ - listReposInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listReposInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/memberships/:username`. - */ - removeMembershipForUserInOrg: { - (params?: RestEndpointMethodTypes["teams"]["removeMembershipForUserInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/memberships/:username`. - * @deprecated octokit.teams.removeMembershipInOrg() has been renamed to octokit.teams.removeMembershipForUserInOrg() (2020-06-01) - */ - removeMembershipInOrg: { - (params?: RestEndpointMethodTypes["teams"]["removeMembershipInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/projects/:project_id`. - */ - removeProjectInOrg: { - (params?: RestEndpointMethodTypes["teams"]["removeProjectInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/repos/:owner/:repo`. - */ - removeRepoInOrg: { - (params?: RestEndpointMethodTypes["teams"]["removeRepoInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/projects/:project_id`. - * @deprecated octokit.teams.reviewProjectInOrg() has been renamed to octokit.teams.checkPermissionsForProjectInOrg() (2020-06-01) - */ - reviewProjectInOrg: { - (params?: RestEndpointMethodTypes["teams"]["reviewProjectInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number`. - */ - updateDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["teams"]["updateDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/:org_id/team/:team_id/discussions/:discussion_number`. - */ - updateDiscussionInOrg: { - (params?: RestEndpointMethodTypes["teams"]["updateDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To edit a team, the authenticated user must either be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/:org_id/team/:team_id`. - */ - updateInOrg: { - (params?: RestEndpointMethodTypes["teams"]["updateInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - users: { - /** - * This endpoint is accessible with the `user` scope. - */ - addEmailForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["addEmailForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint is accessible with the `user` scope. - * @deprecated octokit.users.addEmails() has been renamed to octokit.users.addEmailsForAuthenticated() (2020-06-04) - */ - addEmails: { - (params?: RestEndpointMethodTypes["users"]["addEmails"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - block: { - (params?: RestEndpointMethodTypes["users"]["block"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If the user is blocked: - * - * If the user is not blocked: - */ - checkBlocked: { - (params?: RestEndpointMethodTypes["users"]["checkBlocked"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * @deprecated octokit.users.checkFollowing() has been renamed to octokit.users.checkPersonIsFollowedByAuthenticated() (2020-06-04) - */ - checkFollowing: { - (params?: RestEndpointMethodTypes["users"]["checkFollowing"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - checkFollowingForUser: { - (params?: RestEndpointMethodTypes["users"]["checkFollowingForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - checkPersonIsFollowedByAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["checkPersonIsFollowedByAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * @deprecated octokit.users.createGpgKey() has been renamed to octokit.users.createGpgKeyForAuthenticated() (2020-06-04) - */ - createGpgKey: { - (params?: RestEndpointMethodTypes["users"]["createGpgKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - createGpgKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["createGpgKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * @deprecated octokit.users.createPublicKey() has been renamed to octokit.users.createPublicSshKeyForAuthenticated() (2020-06-04) - */ - createPublicKey: { - (params?: RestEndpointMethodTypes["users"]["createPublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - createPublicSshKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["createPublicSshKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint is accessible with the `user` scope. - */ - deleteEmailForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["deleteEmailForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint is accessible with the `user` scope. - * @deprecated octokit.users.deleteEmails() has been renamed to octokit.users.deleteEmailsForAuthenticated() (2020-06-04) - */ - deleteEmails: { - (params?: RestEndpointMethodTypes["users"]["deleteEmails"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * @deprecated octokit.users.deleteGpgKey() has been renamed to octokit.users.deleteGpgKeyForAuthenticated() (2020-06-04) - */ - deleteGpgKey: { - (params?: RestEndpointMethodTypes["users"]["deleteGpgKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - deleteGpgKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["deleteGpgKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * @deprecated octokit.users.deletePublicKey() has been renamed to octokit.users.deletePublicSshKeyForAuthenticated() (2020-06-04) - */ - deletePublicKey: { - (params?: RestEndpointMethodTypes["users"]["deletePublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - deletePublicSshKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["deletePublicSshKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - * - * Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. - */ - follow: { - (params?: RestEndpointMethodTypes["users"]["follow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope. - * - * Lists public profile information when authenticated through OAuth without the `user` scope. - */ - getAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["getAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Provides publicly available information about someone with a GitHub account. - * - * GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see "[Response with GitHub plan information](https://developer.github.com/v3/users/#response-with-github-plan-information)." - * - * The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://developer.github.com/v3/#authentication). - * - * The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://developer.github.com/v3/users/emails/)". - */ - getByUsername: { - (params?: RestEndpointMethodTypes["users"]["getByUsername"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. - * - * The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this: - */ - getContextForUser: { - (params?: RestEndpointMethodTypes["users"]["getContextForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * @deprecated octokit.users.getGpgKey() has been renamed to octokit.users.getGpgKeyForAuthenticated() (2020-06-04) - */ - getGpgKey: { - (params?: RestEndpointMethodTypes["users"]["getGpgKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - getGpgKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["getGpgKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * @deprecated octokit.users.getPublicKey() has been renamed to octokit.users.getPublicSshKeyForAuthenticated() (2020-06-04) - */ - getPublicKey: { - (params?: RestEndpointMethodTypes["users"]["getPublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - getPublicSshKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["getPublicSshKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts. - * - * Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of users. - */ - list: { - (params?: RestEndpointMethodTypes["users"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the users you've blocked on your personal account. - * @deprecated octokit.users.listBlocked() has been renamed to octokit.users.listBlockedByAuthenticated() (2020-06-04) - */ - listBlocked: { - (params?: RestEndpointMethodTypes["users"]["listBlocked"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the users you've blocked on your personal account. - */ - listBlockedByAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listBlockedByAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope. - * @deprecated octokit.users.listEmails() has been renamed to octokit.users.listEmailsForAuthenticated() (2020-06-04) - */ - listEmails: { - (params?: RestEndpointMethodTypes["users"]["listEmails"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope. - */ - listEmailsForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listEmailsForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people who the authenticated user follows. - */ - listFollowedByAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listFollowedByAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people following the authenticated user. - */ - listFollowersForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["users"]["listFollowersForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people following the specified user. - */ - listFollowersForUser: { - (params?: RestEndpointMethodTypes["users"]["listFollowersForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people who the authenticated user follows. - * @deprecated octokit.users.listFollowingForAuthenticatedUser() has been renamed to octokit.users.listFollowedByAuthenticated() (2020-03-04) - */ - listFollowingForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["users"]["listFollowingForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people who the specified user follows. - */ - listFollowingForUser: { - (params?: RestEndpointMethodTypes["users"]["listFollowingForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * @deprecated octokit.users.listGpgKeys() has been renamed to octokit.users.listGpgKeysForAuthenticated() (2020-06-04) - */ - listGpgKeys: { - (params?: RestEndpointMethodTypes["users"]["listGpgKeys"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - listGpgKeysForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listGpgKeysForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the GPG keys for a user. This information is accessible by anyone. - */ - listGpgKeysForUser: { - (params?: RestEndpointMethodTypes["users"]["listGpgKeysForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://developer.github.com/v3/users/emails/#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope. - * @deprecated octokit.users.listPublicEmails() has been renamed to octokit.users.listPublicEmailsForAuthenticatedUser() (2020-06-04) - */ - listPublicEmails: { - (params?: RestEndpointMethodTypes["users"]["listPublicEmails"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://developer.github.com/v3/users/emails/#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope. - */ - listPublicEmailsForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listPublicEmailsForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * @deprecated octokit.users.listPublicKeys() has been renamed to octokit.users.listPublicSshKeysForAuthenticated() (2020-06-04) - */ - listPublicKeys: { - (params?: RestEndpointMethodTypes["users"]["listPublicKeys"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the _verified_ public SSH keys for a user. This is accessible by anyone. - */ - listPublicKeysForUser: { - (params?: RestEndpointMethodTypes["users"]["listPublicKeysForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - listPublicSshKeysForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listPublicSshKeysForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the visibility for your primary email addresses. - */ - setPrimaryEmailVisibilityForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["setPrimaryEmailVisibilityForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the visibility for your primary email addresses. - * @deprecated octokit.users.togglePrimaryEmailVisibility() has been renamed to octokit.users.setPrimaryEmailVisibilityForAuthenticated() (2020-06-04) - */ - togglePrimaryEmailVisibility: { - (params?: RestEndpointMethodTypes["users"]["togglePrimaryEmailVisibility"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - unblock: { - (params?: RestEndpointMethodTypes["users"]["unblock"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. - */ - unfollow: { - (params?: RestEndpointMethodTypes["users"]["unfollow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. - */ - updateAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["updateAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts deleted file mode 100644 index aea995f85e..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts +++ /dev/null @@ -1,2857 +0,0 @@ -import { Endpoints, RequestParameters } from "@octokit/types"; -export declare type RestEndpointMethodTypes = { - actions: { - addSelectedRepoToOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/actions/secrets/:secret_name/repositories/:repository_id"]["response"]; - }; - cancelWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/actions/runs/:run_id/cancel"]["response"]; - }; - createOrUpdateOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/actions/secrets/:secret_name"]["response"]; - }; - createOrUpdateRepoSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/actions/secrets/:secret_name"]["response"]; - }; - createOrUpdateSecretForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/actions/secrets/:secret_name"]["response"]; - }; - createRegistrationToken: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/actions/runners/registration-token"]["response"]; - }; - createRegistrationTokenForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/actions/runners/registration-token"]["response"]; - }; - createRegistrationTokenForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/actions/runners/registration-token"]["response"]; - }; - createRemoveToken: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/actions/runners/remove-token"]["response"]; - }; - createRemoveTokenForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/actions/runners/remove-token"]["response"]; - }; - createRemoveTokenForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/actions/runners/remove-token"]["response"]; - }; - deleteArtifact: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/actions/artifacts/:artifact_id"]["response"]; - }; - deleteOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/actions/secrets/:secret_name"]["response"]; - }; - deleteRepoSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/actions/secrets/:secret_name"]["response"]; - }; - deleteSecretFromRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/actions/secrets/:secret_name"]["response"]; - }; - deleteSelfHostedRunnerFromOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/actions/runners/:runner_id"]["response"]; - }; - deleteSelfHostedRunnerFromRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/actions/runners/:runner_id"]["response"]; - }; - deleteWorkflowRunLogs: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/actions/runs/:run_id/logs"]["response"]; - }; - downloadArtifact: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format"]["response"]; - }; - downloadJobLogsForWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/jobs/:job_id/logs"]["response"]; - }; - downloadWorkflowJobLogs: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/jobs/:job_id/logs"]["response"]; - }; - downloadWorkflowRunLogs: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/logs"]["response"]; - }; - getArtifact: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/artifacts/:artifact_id"]["response"]; - }; - getJobForWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/jobs/:job_id"]["response"]; - }; - getOrgPublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/actions/secrets/public-key"]["response"]; - }; - getOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/actions/secrets/:secret_name"]["response"]; - }; - getPublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/secrets/public-key"]["response"]; - }; - getRepoPublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/secrets/public-key"]["response"]; - }; - getRepoSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/secrets/:secret_name"]["response"]; - }; - getSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/secrets/:secret_name"]["response"]; - }; - getSelfHostedRunner: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runners/:runner_id"]["response"]; - }; - getSelfHostedRunnerForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/actions/runners/:runner_id"]["response"]; - }; - getSelfHostedRunnerForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runners/:runner_id"]["response"]; - }; - getWorkflow: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id"]["response"]; - }; - getWorkflowJob: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/jobs/:job_id"]["response"]; - }; - getWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id"]["response"]; - }; - getWorkflowRunUsage: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/timing"]["response"]; - }; - getWorkflowUsage: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id/timing"]["response"]; - }; - listArtifactsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/artifacts"]["response"]; - }; - listDownloadsForSelfHostedRunnerApplication: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runners/downloads"]["response"]; - }; - listJobsForWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/jobs"]["response"]; - }; - listOrgSecrets: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/actions/secrets"]["response"]; - }; - listRepoSecrets: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/secrets"]["response"]; - }; - listRepoWorkflowRuns: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runs"]["response"]; - }; - listRepoWorkflows: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/workflows"]["response"]; - }; - listRunnerApplicationsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/actions/runners/downloads"]["response"]; - }; - listRunnerApplicationsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runners/downloads"]["response"]; - }; - listSecretsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/secrets"]["response"]; - }; - listSelectedReposForOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["response"]; - }; - listSelfHostedRunnersForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/actions/runners"]["response"]; - }; - listSelfHostedRunnersForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runners"]["response"]; - }; - listWorkflowJobLogs: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/jobs/:job_id/logs"]["response"]; - }; - listWorkflowRunArtifacts: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/artifacts"]["response"]; - }; - listWorkflowRunLogs: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/logs"]["response"]; - }; - listWorkflowRuns: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs"]["response"]; - }; - listWorkflowRunsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/actions/runs"]["response"]; - }; - reRunWorkflow: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/actions/runs/:run_id/rerun"]["response"]; - }; - removeSelectedRepoFromOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/actions/secrets/:secret_name/repositories/:repository_id"]["response"]; - }; - removeSelfHostedRunner: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/actions/runners/:runner_id"]["response"]; - }; - setSelectedReposForOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/actions/secrets/:secret_name/repositories"]["response"]; - }; - }; - activity: { - checkRepoIsStarredByAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/starred/:owner/:repo"]["response"]; - }; - checkStarringRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/starred/:owner/:repo"]["response"]; - }; - deleteRepoSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/subscription"]["response"]; - }; - deleteThreadSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /notifications/threads/:thread_id/subscription"]["response"]; - }; - getFeeds: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /feeds"]["response"]; - }; - getRepoSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/subscription"]["response"]; - }; - getThread: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /notifications/threads/:thread_id"]["response"]; - }; - getThreadSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /notifications"]["response"]; - }; - getThreadSubscriptionForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /notifications/threads/:thread_id/subscription"]["response"]; - }; - listEventsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/events"]["response"]; - }; - listEventsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/events/orgs/:org"]["response"]; - }; - listEventsForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/events"]["response"]; - }; - listFeeds: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /feeds"]["response"]; - }; - listNotifications: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /notifications"]["response"]; - }; - listNotificationsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /notifications"]["response"]; - }; - listNotificationsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/notifications"]["response"]; - }; - listOrgEventsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/events/orgs/:org"]["response"]; - }; - listPublicEvents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /events"]["response"]; - }; - listPublicEventsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/events"]["response"]; - }; - listPublicEventsForRepoNetwork: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /networks/:owner/:repo/events"]["response"]; - }; - listPublicEventsForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/events/public"]["response"]; - }; - listPublicOrgEvents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/events"]["response"]; - }; - listReceivedEventsForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/received_events"]["response"]; - }; - listReceivedPublicEventsForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/received_events/public"]["response"]; - }; - listRepoEvents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/events"]["response"]; - }; - listRepoNotificationsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/notifications"]["response"]; - }; - listReposStarredByAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/starred"]["response"]; - }; - listReposStarredByUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/starred"]["response"]; - }; - listReposWatchedByUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/subscriptions"]["response"]; - }; - listStargazersForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/stargazers"]["response"]; - }; - listWatchedReposForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/subscriptions"]["response"]; - }; - listWatchersForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/subscribers"]["response"]; - }; - markAsRead: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /notifications"]["response"]; - }; - markNotificationsAsRead: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /notifications"]["response"]; - }; - markNotificationsAsReadForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/notifications"]["response"]; - }; - markRepoNotificationsAsRead: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/notifications"]["response"]; - }; - markThreadAsRead: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /notifications/threads/:thread_id"]["response"]; - }; - setRepoSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/subscription"]["response"]; - }; - setThreadSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /notifications/threads/:thread_id/subscription"]["response"]; - }; - starRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/starred/:owner/:repo"]["response"]; - }; - starRepoForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/starred/:owner/:repo"]["response"]; - }; - unstarRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/starred/:owner/:repo"]["response"]; - }; - unstarRepoForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/starred/:owner/:repo"]["response"]; - }; - }; - apps: { - addRepoToInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/installations/:installation_id/repositories/:repository_id"]["response"]; - }; - checkAccountIsAssociatedWithAny: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/accounts/:account_id"]["response"]; - }; - checkAccountIsAssociatedWithAnyStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/stubbed/accounts/:account_id"]["response"]; - }; - checkToken: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /applications/:client_id/token"]["response"]; - }; - createContentAttachment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /content_references/:content_reference_id/attachments"]["response"]; - }; - createFromManifest: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /app-manifests/:code/conversions"]["response"]; - }; - createInstallationAccessToken: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /app/installations/:installation_id/access_tokens"]["response"]; - }; - createInstallationToken: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /app/installations/:installation_id/access_tokens"]["response"]; - }; - deleteAuthorization: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /applications/:client_id/grant"]["response"]; - }; - deleteInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /app/installations/:installation_id"]["response"]; - }; - deleteToken: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /applications/:client_id/token"]["response"]; - }; - getAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app"]["response"]; - }; - getBySlug: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /apps/:app_slug"]["response"]; - }; - getInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app/installations/:installation_id"]["response"]; - }; - getOrgInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/installation"]["response"]; - }; - getRepoInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/installation"]["response"]; - }; - getSubscriptionPlanForAccount: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/accounts/:account_id"]["response"]; - }; - getSubscriptionPlanForAccountStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/stubbed/accounts/:account_id"]["response"]; - }; - getUserInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/installation"]["response"]; - }; - listAccountsForPlan: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/plans/:plan_id/accounts"]["response"]; - }; - listAccountsForPlanStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/stubbed/plans/:plan_id/accounts"]["response"]; - }; - listAccountsUserOrOrgOnPlan: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/plans/:plan_id/accounts"]["response"]; - }; - listAccountsUserOrOrgOnPlanStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/stubbed/plans/:plan_id/accounts"]["response"]; - }; - listInstallationReposForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/installations/:installation_id/repositories"]["response"]; - }; - listInstallations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app/installations"]["response"]; - }; - listInstallationsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/installations"]["response"]; - }; - listMarketplacePurchasesForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/marketplace_purchases"]["response"]; - }; - listMarketplacePurchasesForAuthenticatedUserStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/marketplace_purchases/stubbed"]["response"]; - }; - listPlans: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/plans"]["response"]; - }; - listPlansStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/stubbed/plans"]["response"]; - }; - listRepos: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /installation/repositories"]["response"]; - }; - listReposAccessibleToInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /installation/repositories"]["response"]; - }; - listSubscriptionsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/marketplace_purchases"]["response"]; - }; - listSubscriptionsForAuthenticatedUserStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/marketplace_purchases/stubbed"]["response"]; - }; - removeRepoFromInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/installations/:installation_id/repositories/:repository_id"]["response"]; - }; - resetToken: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /applications/:client_id/token"]["response"]; - }; - revokeInstallationAccessToken: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /installation/token"]["response"]; - }; - revokeInstallationToken: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /installation/token"]["response"]; - }; - suspendInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /app/installations/:installation_id/suspended"]["response"]; - }; - unsuspendInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /app/installations/:installation_id/suspended"]["response"]; - }; - }; - checks: { - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/check-runs"]["response"]; - }; - createSuite: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/check-suites"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/check-runs/:check_run_id"]["response"]; - }; - getSuite: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/check-suites/:check_suite_id"]["response"]; - }; - listAnnotations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/check-runs/:check_run_id/annotations"]["response"]; - }; - listForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-runs"]["response"]; - }; - listForSuite: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs"]["response"]; - }; - listSuitesForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-suites"]["response"]; - }; - rerequestSuite: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/check-suites/:check_suite_id/rerequest"]["response"]; - }; - setSuitesPreferences: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/check-suites/preferences"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/check-runs/:check_run_id"]["response"]; - }; - }; - codeScanning: { - getAlert: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/code-scanning/alerts/:alert_id"]["response"]; - }; - listAlertsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/code-scanning/alerts"]["response"]; - }; - }; - codesOfConduct: { - getAllCodesOfConduct: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /codes_of_conduct"]["response"]; - }; - getConductCode: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /codes_of_conduct/:key"]["response"]; - }; - getForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/community/code_of_conduct"]["response"]; - }; - listConductCodes: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /codes_of_conduct"]["response"]; - }; - }; - emojis: { - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /emojis"]["response"]; - }; - }; - gists: { - checkIsStarred: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/:gist_id/star"]["response"]; - }; - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /gists"]["response"]; - }; - createComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /gists/:gist_id/comments"]["response"]; - }; - delete: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /gists/:gist_id"]["response"]; - }; - deleteComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /gists/:gist_id/comments/:comment_id"]["response"]; - }; - fork: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /gists/:gist_id/forks"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/:gist_id"]["response"]; - }; - getComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/:gist_id/comments/:comment_id"]["response"]; - }; - getRevision: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/:gist_id/:sha"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists"]["response"]; - }; - listComments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/:gist_id/comments"]["response"]; - }; - listCommits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/:gist_id/commits"]["response"]; - }; - listForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/gists"]["response"]; - }; - listForks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/:gist_id/forks"]["response"]; - }; - listPublic: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/public"]["response"]; - }; - listPublicForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/gists"]["response"]; - }; - listStarred: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/starred"]["response"]; - }; - star: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /gists/:gist_id/star"]["response"]; - }; - unstar: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /gists/:gist_id/star"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /gists/:gist_id"]["response"]; - }; - updateComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /gists/:gist_id/comments/:comment_id"]["response"]; - }; - }; - git: { - createBlob: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/git/blobs"]["response"]; - }; - createCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/git/commits"]["response"]; - }; - createRef: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/git/refs"]["response"]; - }; - createTag: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/git/tags"]["response"]; - }; - createTree: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/git/trees"]["response"]; - }; - deleteRef: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/git/refs/:ref"]["response"]; - }; - getBlob: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/git/blobs/:file_sha"]["response"]; - }; - getCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/git/commits/:commit_sha"]["response"]; - }; - getRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/git/ref/:ref"]["response"]; - }; - getTag: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/git/tags/:tag_sha"]["response"]; - }; - getTree: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/git/trees/:tree_sha"]["response"]; - }; - listMatchingRefs: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/git/matching-refs/:ref"]["response"]; - }; - updateRef: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/git/refs/:ref"]["response"]; - }; - }; - gitignore: { - getAllTemplates: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gitignore/templates"]["response"]; - }; - getTemplate: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gitignore/templates/:name"]["response"]; - }; - listTemplates: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gitignore/templates"]["response"]; - }; - }; - interactions: { - addOrUpdateRestrictionsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/interaction-limits"]["response"]; - }; - addOrUpdateRestrictionsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/interaction-limits"]["response"]; - }; - getRestrictionsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/interaction-limits"]["response"]; - }; - getRestrictionsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/interaction-limits"]["response"]; - }; - removeRestrictionsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/interaction-limits"]["response"]; - }; - removeRestrictionsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/interaction-limits"]["response"]; - }; - setRestrictionsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/interaction-limits"]["response"]; - }; - setRestrictionsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/interaction-limits"]["response"]; - }; - }; - issues: { - addAssignees: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/issues/:issue_number/assignees"]["response"]; - }; - addLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/issues/:issue_number/labels"]["response"]; - }; - checkAssignee: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/assignees/:assignee"]["response"]; - }; - checkUserCanBeAssigned: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/assignees/:assignee"]["response"]; - }; - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/issues"]["response"]; - }; - createComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/issues/:issue_number/comments"]["response"]; - }; - createLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/labels"]["response"]; - }; - createMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/milestones"]["response"]; - }; - deleteComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/issues/comments/:comment_id"]["response"]; - }; - deleteLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/labels/:name"]["response"]; - }; - deleteMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/milestones/:milestone_number"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number"]["response"]; - }; - getComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/comments/:comment_id"]["response"]; - }; - getEvent: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/events/:event_id"]["response"]; - }; - getLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/labels/:name"]["response"]; - }; - getMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/milestones/:milestone_number"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /issues"]["response"]; - }; - listAssignees: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/assignees"]["response"]; - }; - listComments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/comments"]["response"]; - }; - listCommentsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/comments"]["response"]; - }; - listEvents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/events"]["response"]; - }; - listEventsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/events"]["response"]; - }; - listEventsForTimeline: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/timeline"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/issues"]["response"]; - }; - listForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/issues"]["response"]; - }; - listForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues"]["response"]; - }; - listLabelsForMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/milestones/:milestone_number/labels"]["response"]; - }; - listLabelsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/labels"]["response"]; - }; - listLabelsOnIssue: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/labels"]["response"]; - }; - listMilestones: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/milestones"]["response"]; - }; - listMilestonesForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/milestones"]["response"]; - }; - lock: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/issues/:issue_number/lock"]["response"]; - }; - removeAllLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/issues/:issue_number/labels"]["response"]; - }; - removeAssignees: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/issues/:issue_number/assignees"]["response"]; - }; - removeLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/issues/:issue_number/labels/:name"]["response"]; - }; - removeLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/issues/:issue_number/labels"]["response"]; - }; - replaceAllLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/issues/:issue_number/labels"]["response"]; - }; - replaceLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/issues/:issue_number/labels"]["response"]; - }; - setLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/issues/:issue_number/labels"]["response"]; - }; - unlock: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/issues/:issue_number/lock"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/issues/:issue_number"]["response"]; - }; - updateComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/issues/comments/:comment_id"]["response"]; - }; - updateLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/labels/:name"]["response"]; - }; - updateMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/milestones/:milestone_number"]["response"]; - }; - }; - licenses: { - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /licenses/:license"]["response"]; - }; - getAllCommonlyUsed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /licenses"]["response"]; - }; - getForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/license"]["response"]; - }; - listCommonlyUsed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /licenses"]["response"]; - }; - }; - markdown: { - render: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /markdown"]["response"]; - }; - renderRaw: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /markdown/raw"]["response"]; - }; - }; - meta: { - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /meta"]["response"]; - }; - }; - migrations: { - cancelImport: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/import"]["response"]; - }; - deleteArchiveForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/migrations/:migration_id/archive"]["response"]; - }; - deleteArchiveForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/migrations/:migration_id/archive"]["response"]; - }; - downloadArchiveForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/migrations/:migration_id/archive"]["response"]; - }; - getArchiveForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/migrations/:migration_id/archive"]["response"]; - }; - getCommitAuthors: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/import/authors"]["response"]; - }; - getImportProgress: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/import"]["response"]; - }; - getImportStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/import"]["response"]; - }; - getLargeFiles: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/import/large_files"]["response"]; - }; - getStatusForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/migrations/:migration_id"]["response"]; - }; - getStatusForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/migrations/:migration_id"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/migrations"]["response"]; - }; - listForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/migrations"]["response"]; - }; - listReposForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/migrations/:migration_id/repositories"]["response"]; - }; - listReposForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/:migration_id/repositories"]["response"]; - }; - mapCommitAuthor: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/import/authors/:author_id"]["response"]; - }; - setLfsPreference: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/import/lfs"]["response"]; - }; - startForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/migrations"]["response"]; - }; - startForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/migrations"]["response"]; - }; - startImport: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/import"]["response"]; - }; - unlockRepoForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/migrations/:migration_id/repos/:repo_name/lock"]["response"]; - }; - unlockRepoForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/migrations/:migration_id/repos/:repo_name/lock"]["response"]; - }; - updateImport: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/import"]["response"]; - }; - }; - orgs: { - addOrUpdateMembership: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/memberships/:username"]["response"]; - }; - blockUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/blocks/:username"]["response"]; - }; - checkBlockedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/blocks/:username"]["response"]; - }; - checkMembership: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/members/:username"]["response"]; - }; - checkMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/members/:username"]["response"]; - }; - checkPublicMembership: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/public_members/:username"]["response"]; - }; - checkPublicMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/public_members/:username"]["response"]; - }; - concealMembership: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/public_members/:username"]["response"]; - }; - convertMemberToOutsideCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/outside_collaborators/:username"]["response"]; - }; - createHook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/hooks"]["response"]; - }; - createInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/invitations"]["response"]; - }; - createWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/hooks"]["response"]; - }; - deleteHook: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/hooks/:hook_id"]["response"]; - }; - deleteWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/hooks/:hook_id"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org"]["response"]; - }; - getHook: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/hooks/:hook_id"]["response"]; - }; - getMembership: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/memberships/:username"]["response"]; - }; - getMembershipForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/memberships/orgs/:org"]["response"]; - }; - getMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/memberships/:username"]["response"]; - }; - getWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/hooks/:hook_id"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /organizations"]["response"]; - }; - listAppInstallations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/installations"]["response"]; - }; - listBlockedUsers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/blocks"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/orgs"]["response"]; - }; - listForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/orgs"]["response"]; - }; - listHooks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/hooks"]["response"]; - }; - listInstallations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/installations"]["response"]; - }; - listInvitationTeams: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/invitations/:invitation_id/teams"]["response"]; - }; - listMembers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/members"]["response"]; - }; - listMemberships: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/memberships/orgs"]["response"]; - }; - listMembershipsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/memberships/orgs"]["response"]; - }; - listOutsideCollaborators: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/outside_collaborators"]["response"]; - }; - listPendingInvitations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/invitations"]["response"]; - }; - listPublicMembers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/public_members"]["response"]; - }; - listWebhooks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/hooks"]["response"]; - }; - pingHook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/hooks/:hook_id/pings"]["response"]; - }; - pingWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/hooks/:hook_id/pings"]["response"]; - }; - publicizeMembership: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/public_members/:username"]["response"]; - }; - removeMember: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/members/:username"]["response"]; - }; - removeMembership: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/memberships/:username"]["response"]; - }; - removeMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/memberships/:username"]["response"]; - }; - removeOutsideCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/outside_collaborators/:username"]["response"]; - }; - removePublicMembershipForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/public_members/:username"]["response"]; - }; - setMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/memberships/:username"]["response"]; - }; - setPublicMembershipForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/public_members/:username"]["response"]; - }; - unblockUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/blocks/:username"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/:org"]["response"]; - }; - updateHook: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/:org/hooks/:hook_id"]["response"]; - }; - updateMembership: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user/memberships/orgs/:org"]["response"]; - }; - updateMembershipForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user/memberships/orgs/:org"]["response"]; - }; - updateWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/:org/hooks/:hook_id"]["response"]; - }; - }; - projects: { - addCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /projects/:project_id/collaborators/:username"]["response"]; - }; - createCard: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /projects/columns/:column_id/cards"]["response"]; - }; - createColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /projects/:project_id/columns"]["response"]; - }; - createForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/projects"]["response"]; - }; - createForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/projects"]["response"]; - }; - createForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/projects"]["response"]; - }; - delete: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /projects/:project_id"]["response"]; - }; - deleteCard: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /projects/columns/cards/:card_id"]["response"]; - }; - deleteColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /projects/columns/:column_id"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/:project_id"]["response"]; - }; - getCard: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/columns/cards/:card_id"]["response"]; - }; - getColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/columns/:column_id"]["response"]; - }; - getPermissionForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/:project_id/collaborators/:username/permission"]["response"]; - }; - listCards: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/columns/:column_id/cards"]["response"]; - }; - listCollaborators: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/:project_id/collaborators"]["response"]; - }; - listColumns: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/:project_id/columns"]["response"]; - }; - listForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/projects"]["response"]; - }; - listForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/projects"]["response"]; - }; - listForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/projects"]["response"]; - }; - moveCard: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /projects/columns/cards/:card_id/moves"]["response"]; - }; - moveColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /projects/columns/:column_id/moves"]["response"]; - }; - removeCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /projects/:project_id/collaborators/:username"]["response"]; - }; - reviewUserPermissionLevel: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/:project_id/collaborators/:username/permission"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /projects/:project_id"]["response"]; - }; - updateCard: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /projects/columns/cards/:card_id"]["response"]; - }; - updateColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /projects/columns/:column_id"]["response"]; - }; - }; - pulls: { - checkIfMerged: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/merge"]["response"]; - }; - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls"]["response"]; - }; - createComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/:pull_number/comments"]["response"]; - }; - createReplyForReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"]["response"]; - }; - createReview: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/:pull_number/reviews"]["response"]; - }; - createReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/:pull_number/comments"]["response"]; - }; - createReviewCommentReply: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"]["response"]; - }; - createReviewRequest: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"]; - }; - deleteComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/pulls/comments/:comment_id"]["response"]; - }; - deletePendingReview: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"]["response"]; - }; - deleteReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/pulls/comments/:comment_id"]["response"]; - }; - deleteReviewRequest: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"]; - }; - dismissReview: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number"]["response"]; - }; - getComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/comments/:comment_id"]["response"]; - }; - getCommentsForReview: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"]["response"]; - }; - getReview: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"]["response"]; - }; - getReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/comments/:comment_id"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls"]["response"]; - }; - listComments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/comments"]["response"]; - }; - listCommentsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/comments"]["response"]; - }; - listCommentsForReview: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"]["response"]; - }; - listCommits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/commits"]["response"]; - }; - listFiles: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/files"]["response"]; - }; - listRequestedReviewers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"]; - }; - listReviewComments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/comments"]["response"]; - }; - listReviewCommentsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/comments"]["response"]; - }; - listReviewRequests: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"]; - }; - listReviews: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews"]["response"]; - }; - merge: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/pulls/:pull_number/merge"]["response"]; - }; - removeRequestedReviewers: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"]; - }; - requestReviewers: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"]; - }; - submitReview: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/pulls/:pull_number"]["response"]; - }; - updateBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/pulls/:pull_number/update-branch"]["response"]; - }; - updateComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/pulls/comments/:comment_id"]["response"]; - }; - updateReview: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"]["response"]; - }; - updateReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/pulls/comments/:comment_id"]["response"]; - }; - }; - rateLimit: { - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /rate_limit"]["response"]; - }; - }; - reactions: { - createForCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/comments/:comment_id/reactions"]["response"]; - }; - createForIssue: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/issues/:issue_number/reactions"]["response"]; - }; - createForIssueComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/issues/comments/:comment_id/reactions"]["response"]; - }; - createForPullRequestReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pulls/comments/:comment_id/reactions"]["response"]; - }; - createForTeamDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"]["response"]; - }; - createForTeamDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"]["response"]; - }; - delete: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /reactions/:reaction_id"]["response"]; - }; - deleteForCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id"]["response"]; - }; - deleteForIssue: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id"]["response"]; - }; - deleteForIssueComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id"]["response"]; - }; - deleteForPullRequestComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id"]["response"]; - }; - deleteForTeamDiscussion: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id"]["response"]; - }; - deleteForTeamDiscussionComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id"]["response"]; - }; - deleteLegacy: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /reactions/:reaction_id"]["response"]; - }; - listForCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/comments/:comment_id/reactions"]["response"]; - }; - listForIssue: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/reactions"]["response"]; - }; - listForIssueComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/issues/comments/:comment_id/reactions"]["response"]; - }; - listForPullRequestReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions"]["response"]; - }; - listForTeamDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"]["response"]; - }; - listForTeamDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"]["response"]; - }; - }; - repos: { - acceptInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user/repository_invitations/:invitation_id"]["response"]; - }; - addAppAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps"]["response"]; - }; - addCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/collaborators/:username"]["response"]; - }; - addDeployKey: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/keys"]["response"]; - }; - addProtectedBranchAdminEnforcement: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins"]["response"]; - }; - addProtectedBranchAppRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps"]["response"]; - }; - addProtectedBranchRequiredSignatures: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/required_signatures"]["response"]; - }; - addProtectedBranchRequiredStatusChecksContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"]; - }; - addProtectedBranchTeamRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams"]["response"]; - }; - addProtectedBranchUserRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users"]["response"]; - }; - addStatusCheckContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"]; - }; - addTeamAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams"]["response"]; - }; - addUserAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users"]["response"]; - }; - checkCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/collaborators/:username"]["response"]; - }; - checkVulnerabilityAlerts: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/vulnerability-alerts"]["response"]; - }; - compareCommits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/compare/:base...:head"]["response"]; - }; - createCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/commits/:commit_sha/comments"]["response"]; - }; - createCommitSignatureProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/required_signatures"]["response"]; - }; - createCommitStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/statuses/:sha"]["response"]; - }; - createDeployKey: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/keys"]["response"]; - }; - createDeployment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/deployments"]["response"]; - }; - createDeploymentStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/deployments/:deployment_id/statuses"]["response"]; - }; - createDispatchEvent: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/dispatches"]["response"]; - }; - createForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/repos"]["response"]; - }; - createFork: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/forks"]["response"]; - }; - createHook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/hooks"]["response"]; - }; - createInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/repos"]["response"]; - }; - createOrUpdateFile: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/contents/:path"]["response"]; - }; - createOrUpdateFileContents: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/contents/:path"]["response"]; - }; - createPagesSite: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pages"]["response"]; - }; - createRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/releases"]["response"]; - }; - createStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/statuses/:sha"]["response"]; - }; - createUsingTemplate: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:template_owner/:template_repo/generate"]["response"]; - }; - createWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/hooks"]["response"]; - }; - declineInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/repository_invitations/:invitation_id"]["response"]; - }; - delete: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo"]["response"]; - }; - deleteAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions"]["response"]; - }; - deleteAdminBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins"]["response"]; - }; - deleteBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection"]["response"]; - }; - deleteCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/comments/:comment_id"]["response"]; - }; - deleteCommitSignatureProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures"]["response"]; - }; - deleteDeployKey: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/keys/:key_id"]["response"]; - }; - deleteDeployment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/deployments/:deployment_id"]["response"]; - }; - deleteDownload: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/downloads/:download_id"]["response"]; - }; - deleteFile: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/contents/:path"]["response"]; - }; - deleteHook: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/hooks/:hook_id"]["response"]; - }; - deleteInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/invitations/:invitation_id"]["response"]; - }; - deletePagesSite: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/pages"]["response"]; - }; - deletePullRequestReviewProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"]["response"]; - }; - deleteRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/releases/:release_id"]["response"]; - }; - deleteReleaseAsset: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/releases/assets/:asset_id"]["response"]; - }; - deleteWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/hooks/:hook_id"]["response"]; - }; - disableAutomatedSecurityFixes: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/automated-security-fixes"]["response"]; - }; - disablePagesSite: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/pages"]["response"]; - }; - disableVulnerabilityAlerts: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/vulnerability-alerts"]["response"]; - }; - downloadArchive: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/:archive_format/:ref"]["response"]; - }; - enableAutomatedSecurityFixes: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/automated-security-fixes"]["response"]; - }; - enablePagesSite: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pages"]["response"]; - }; - enableVulnerabilityAlerts: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/vulnerability-alerts"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo"]["response"]; - }; - getAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/restrictions"]["response"]; - }; - getAdminBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins"]["response"]; - }; - getAllStatusCheckContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"]; - }; - getAllTopics: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/topics"]["response"]; - }; - getAppsWithAccessToProtectedBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps"]["response"]; - }; - getArchiveLink: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/:archive_format/:ref"]["response"]; - }; - getBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch"]["response"]; - }; - getBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection"]["response"]; - }; - getClones: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/traffic/clones"]["response"]; - }; - getCodeFrequencyStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/stats/code_frequency"]["response"]; - }; - getCollaboratorPermissionLevel: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/collaborators/:username/permission"]["response"]; - }; - getCombinedStatusForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref/status"]["response"]; - }; - getCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref"]["response"]; - }; - getCommitActivityStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/stats/commit_activity"]["response"]; - }; - getCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/comments/:comment_id"]["response"]; - }; - getCommitSignatureProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_signatures"]["response"]; - }; - getCommunityProfileMetrics: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/community/profile"]["response"]; - }; - getContent: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/contents/:path"]["response"]; - }; - getContents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/contents/:path"]["response"]; - }; - getContributorsStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/stats/contributors"]["response"]; - }; - getDeployKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/keys/:key_id"]["response"]; - }; - getDeployment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/deployments/:deployment_id"]["response"]; - }; - getDeploymentStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"]["response"]; - }; - getDownload: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/downloads/:download_id"]["response"]; - }; - getHook: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/hooks/:hook_id"]["response"]; - }; - getLatestPagesBuild: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pages/builds/latest"]["response"]; - }; - getLatestRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/releases/latest"]["response"]; - }; - getPages: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pages"]["response"]; - }; - getPagesBuild: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pages/builds/:build_id"]["response"]; - }; - getParticipationStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/stats/participation"]["response"]; - }; - getProtectedBranchAdminEnforcement: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins"]["response"]; - }; - getProtectedBranchPullRequestReviewEnforcement: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"]["response"]; - }; - getProtectedBranchRequiredSignatures: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_signatures"]["response"]; - }; - getProtectedBranchRequiredStatusChecks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks"]["response"]; - }; - getProtectedBranchRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/restrictions"]["response"]; - }; - getPullRequestReviewProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"]["response"]; - }; - getPunchCardStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/stats/punch_card"]["response"]; - }; - getReadme: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/readme"]["response"]; - }; - getRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/releases/:release_id"]["response"]; - }; - getReleaseAsset: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/releases/assets/:asset_id"]["response"]; - }; - getReleaseByTag: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/releases/tags/:tag"]["response"]; - }; - getStatusChecksProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks"]["response"]; - }; - getTeamsWithAccessToProtectedBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams"]["response"]; - }; - getTopPaths: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/traffic/popular/paths"]["response"]; - }; - getTopReferrers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/traffic/popular/referrers"]["response"]; - }; - getUsersWithAccessToProtectedBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users"]["response"]; - }; - getViews: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/traffic/views"]["response"]; - }; - getWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/hooks/:hook_id"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/repos"]["response"]; - }; - listAssetsForRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/releases/:release_id/assets"]["response"]; - }; - listBranches: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches"]["response"]; - }; - listBranchesForHeadCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head"]["response"]; - }; - listCollaborators: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/collaborators"]["response"]; - }; - listCommentsForCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/comments"]["response"]; - }; - listCommitComments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/comments"]["response"]; - }; - listCommitCommentsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/comments"]["response"]; - }; - listCommitStatusesForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref/statuses"]["response"]; - }; - listCommits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits"]["response"]; - }; - listContributors: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/contributors"]["response"]; - }; - listDeployKeys: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/keys"]["response"]; - }; - listDeploymentStatuses: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/deployments/:deployment_id/statuses"]["response"]; - }; - listDeployments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/deployments"]["response"]; - }; - listDownloads: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/downloads"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/repos"]["response"]; - }; - listForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/repos"]["response"]; - }; - listForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/repos"]["response"]; - }; - listForks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/forks"]["response"]; - }; - listHooks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/hooks"]["response"]; - }; - listInvitations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/invitations"]["response"]; - }; - listInvitationsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/repository_invitations"]["response"]; - }; - listLanguages: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/languages"]["response"]; - }; - listPagesBuilds: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/pages/builds"]["response"]; - }; - listProtectedBranchRequiredStatusChecksContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"]; - }; - listPublic: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repositories"]["response"]; - }; - listPullRequestsAssociatedWithCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/pulls"]["response"]; - }; - listReleaseAssets: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/releases/:release_id/assets"]["response"]; - }; - listReleases: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/releases"]["response"]; - }; - listStatusesForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/commits/:ref/statuses"]["response"]; - }; - listTags: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/tags"]["response"]; - }; - listTeams: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/teams"]["response"]; - }; - listTopics: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/topics"]["response"]; - }; - listWebhooks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/hooks"]["response"]; - }; - merge: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/merges"]["response"]; - }; - pingHook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/hooks/:hook_id/pings"]["response"]; - }; - pingWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/hooks/:hook_id/pings"]["response"]; - }; - removeAppAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps"]["response"]; - }; - removeBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection"]["response"]; - }; - removeCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/collaborators/:username"]["response"]; - }; - removeDeployKey: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/keys/:key_id"]["response"]; - }; - removeProtectedBranchAdminEnforcement: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins"]["response"]; - }; - removeProtectedBranchAppRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps"]["response"]; - }; - removeProtectedBranchPullRequestReviewEnforcement: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"]["response"]; - }; - removeProtectedBranchRequiredSignatures: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures"]["response"]; - }; - removeProtectedBranchRequiredStatusChecks: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks"]["response"]; - }; - removeProtectedBranchRequiredStatusChecksContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"]; - }; - removeProtectedBranchRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions"]["response"]; - }; - removeProtectedBranchTeamRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams"]["response"]; - }; - removeProtectedBranchUserRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users"]["response"]; - }; - removeStatusCheckContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"]; - }; - removeStatusCheckProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks"]["response"]; - }; - removeTeamAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams"]["response"]; - }; - removeUserAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users"]["response"]; - }; - replaceAllTopics: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/topics"]["response"]; - }; - replaceProtectedBranchAppRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps"]["response"]; - }; - replaceProtectedBranchRequiredStatusChecksContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"]; - }; - replaceProtectedBranchTeamRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams"]["response"]; - }; - replaceProtectedBranchUserRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users"]["response"]; - }; - replaceTopics: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/topics"]["response"]; - }; - requestPageBuild: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pages/builds"]["response"]; - }; - requestPagesBuild: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/pages/builds"]["response"]; - }; - retrieveCommunityProfileMetrics: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/:owner/:repo/community/profile"]["response"]; - }; - setAdminBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins"]["response"]; - }; - setAppAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps"]["response"]; - }; - setStatusCheckContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"]; - }; - setTeamAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams"]["response"]; - }; - setUserAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users"]["response"]; - }; - testPushHook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/hooks/:hook_id/tests"]["response"]; - }; - testPushWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/hooks/:hook_id/tests"]["response"]; - }; - transfer: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/transfer"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo"]["response"]; - }; - updateBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/branches/:branch/protection"]["response"]; - }; - updateCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/comments/:comment_id"]["response"]; - }; - updateHook: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/hooks/:hook_id"]["response"]; - }; - updateInformationAboutPagesSite: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/:owner/:repo/pages"]["response"]; - }; - updateInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/invitations/:invitation_id"]["response"]; - }; - updateProtectedBranchPullRequestReviewEnforcement: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"]["response"]; - }; - updateProtectedBranchRequiredStatusChecks: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks"]["response"]; - }; - updatePullRequestReviewProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"]["response"]; - }; - updateRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/releases/:release_id"]["response"]; - }; - updateReleaseAsset: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/releases/assets/:asset_id"]["response"]; - }; - updateStatusCheckPotection: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks"]["response"]; - }; - updateWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/:owner/:repo/hooks/:hook_id"]["response"]; - }; - uploadReleaseAsset: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/:owner/:repo/releases/:release_id/assets{?name,label}"]["response"]; - }; - }; - search: { - code: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/code"]["response"]; - }; - commits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/commits"]["response"]; - }; - issuesAndPullRequests: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/issues"]["response"]; - }; - labels: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/labels"]["response"]; - }; - repos: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/repositories"]["response"]; - }; - topics: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/topics"]["response"]; - }; - users: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/users"]["response"]; - }; - }; - teams: { - addOrUpdateMembershipForUserInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/teams/:team_slug/memberships/:username"]["response"]; - }; - addOrUpdateMembershipInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/teams/:team_slug/memberships/:username"]["response"]; - }; - addOrUpdateProjectInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/teams/:team_slug/projects/:project_id"]["response"]; - }; - addOrUpdateProjectPermissionsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/teams/:team_slug/projects/:project_id"]["response"]; - }; - addOrUpdateRepoInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/teams/:team_slug/repos/:owner/:repo"]["response"]; - }; - addOrUpdateRepoPermissionsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/:org/teams/:team_slug/repos/:owner/:repo"]["response"]; - }; - checkManagesRepoInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/repos/:owner/:repo"]["response"]; - }; - checkPermissionsForProjectInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/projects/:project_id"]["response"]; - }; - checkPermissionsForRepoInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/repos/:owner/:repo"]["response"]; - }; - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/teams"]["response"]; - }; - createDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"]["response"]; - }; - createDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/:org/teams/:team_slug/discussions"]["response"]; - }; - deleteDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"]["response"]; - }; - deleteDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number"]["response"]; - }; - deleteInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug"]["response"]; - }; - getByName: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug"]["response"]; - }; - getDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"]["response"]; - }; - getDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number"]["response"]; - }; - getMembershipForUserInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/memberships/:username"]["response"]; - }; - getMembershipInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/memberships/:username"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams"]["response"]; - }; - listChildInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/teams"]["response"]; - }; - listDiscussionCommentsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"]["response"]; - }; - listDiscussionsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/teams"]["response"]; - }; - listMembersInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/members"]["response"]; - }; - listPendingInvitationsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/invitations"]["response"]; - }; - listProjectsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/projects"]["response"]; - }; - listReposInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/repos"]["response"]; - }; - removeMembershipForUserInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug/memberships/:username"]["response"]; - }; - removeMembershipInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug/memberships/:username"]["response"]; - }; - removeProjectInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug/projects/:project_id"]["response"]; - }; - removeRepoInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/:org/teams/:team_slug/repos/:owner/:repo"]["response"]; - }; - reviewProjectInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/:org/teams/:team_slug/projects/:project_id"]["response"]; - }; - updateDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"]["response"]; - }; - updateDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number"]["response"]; - }; - updateInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/:org/teams/:team_slug"]["response"]; - }; - }; - users: { - addEmailForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/emails"]["response"]; - }; - addEmails: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/emails"]["response"]; - }; - block: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/blocks/:username"]["response"]; - }; - checkBlocked: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/blocks/:username"]["response"]; - }; - checkFollowing: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/following/:username"]["response"]; - }; - checkFollowingForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/following/:target_user"]["response"]; - }; - checkPersonIsFollowedByAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/following/:username"]["response"]; - }; - createGpgKey: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/gpg_keys"]["response"]; - }; - createGpgKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/gpg_keys"]["response"]; - }; - createPublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/keys"]["response"]; - }; - createPublicSshKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/keys"]["response"]; - }; - deleteEmailForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/emails"]["response"]; - }; - deleteEmails: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/emails"]["response"]; - }; - deleteGpgKey: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/gpg_keys/:gpg_key_id"]["response"]; - }; - deleteGpgKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/gpg_keys/:gpg_key_id"]["response"]; - }; - deletePublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/keys/:key_id"]["response"]; - }; - deletePublicSshKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/keys/:key_id"]["response"]; - }; - follow: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/following/:username"]["response"]; - }; - getAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user"]["response"]; - }; - getByUsername: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username"]["response"]; - }; - getContextForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/hovercard"]["response"]; - }; - getGpgKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/gpg_keys/:gpg_key_id"]["response"]; - }; - getGpgKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/gpg_keys/:gpg_key_id"]["response"]; - }; - getPublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/keys/:key_id"]["response"]; - }; - getPublicSshKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/keys/:key_id"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users"]["response"]; - }; - listBlocked: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/blocks"]["response"]; - }; - listBlockedByAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/blocks"]["response"]; - }; - listEmails: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/emails"]["response"]; - }; - listEmailsForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/emails"]["response"]; - }; - listFollowedByAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/following"]["response"]; - }; - listFollowersForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/followers"]["response"]; - }; - listFollowersForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/followers"]["response"]; - }; - listFollowingForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/following"]["response"]; - }; - listFollowingForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/following"]["response"]; - }; - listGpgKeys: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/gpg_keys"]["response"]; - }; - listGpgKeysForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/gpg_keys"]["response"]; - }; - listGpgKeysForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/gpg_keys"]["response"]; - }; - listPublicEmails: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/public_emails"]["response"]; - }; - listPublicEmailsForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/public_emails"]["response"]; - }; - listPublicKeys: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/keys"]["response"]; - }; - listPublicKeysForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/:username/keys"]["response"]; - }; - listPublicSshKeysForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/keys"]["response"]; - }; - setPrimaryEmailVisibilityForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user/email/visibility"]["response"]; - }; - togglePrimaryEmailVisibility: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user/email/visibility"]["response"]; - }; - unblock: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/blocks/:username"]["response"]; - }; - unfollow: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/following/:username"]["response"]; - }; - updateAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user"]["response"]; - }; - }; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts deleted file mode 100644 index 455e998981..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Octokit } from "@octokit/core"; -export { RestEndpointMethodTypes } from "./generated/parameters-and-response-types"; -import { Api } from "./types"; -/** - * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary - * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is - * done, we will remove the registerEndpoints methods and return the methods - * directly as with the other plugins. At that point we will also remove the - * legacy workarounds and deprecations. - * - * See the plan at - * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 - */ -export declare function restEndpointMethods(octokit: Octokit): Api; -export declare namespace restEndpointMethods { - var VERSION: string; -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts deleted file mode 100644 index e9b177b40f..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Route, RequestParameters } from "@octokit/types"; -import { RestEndpointMethods } from "./generated/method-types"; -export declare type Api = RestEndpointMethods; -export declare type EndpointDecorations = { - mapToData?: string; - deprecated?: string; - renamed?: [string, string]; - renamedParameters?: { - [name: string]: string; - }; -}; -export declare type EndpointsDefaultsAndDecorations = { - [scope: string]: { - [methodName: string]: [Route, RequestParameters?, EndpointDecorations?]; - }; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts deleted file mode 100644 index efe0a6b7a1..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "3.17.0"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js deleted file mode 100644 index a5c0129e3b..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js +++ /dev/null @@ -1,2075 +0,0 @@ -const Endpoints = { - actions: { - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - ], - cancelWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel", - ], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { renamedParameters: { name: "secret_name" } }, - ], - createOrUpdateSecretForRepo: [ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { - renamed: ["actions", "createOrUpdateRepoSecret"], - renamedParameters: { name: "secret_name" }, - }, - ], - createRegistrationToken: [ - "POST /repos/{owner}/{repo}/actions/runners/registration-token", - {}, - { renamed: ["actions", "createRegistrationTokenForRepo"] }, - ], - createRegistrationTokenForOrg: [ - "POST /orgs/{org}/actions/runners/registration-token", - ], - createRegistrationTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/registration-token", - ], - createRemoveToken: [ - "POST /repos/{owner}/{repo}/actions/runners/remove-token", - {}, - { renamed: ["actions", "createRemoveTokenForRepo"] }, - ], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/remove-token", - ], - deleteArtifact: [ - "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - ], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { renamedParameters: { name: "secret_name" } }, - ], - deleteSecretFromRepo: [ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { - renamed: ["actions", "deleteRepoSecret"], - renamedParameters: { name: "secret_name" }, - }, - ], - deleteSelfHostedRunnerFromOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}", - ], - deleteSelfHostedRunnerFromRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", - ], - deleteWorkflowRunLogs: [ - "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - ], - downloadArtifact: [ - "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", - ], - downloadJobLogsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - ], - downloadWorkflowJobLogs: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - {}, - { renamed: ["actions", "downloadJobLogsForWorkflowRun"] }, - ], - downloadWorkflowRunLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - ], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getPublicKey: [ - "GET /repos/{owner}/{repo}/actions/secrets/public-key", - {}, - { renamed: ["actions", "getRepoPublicKey"] }, - ], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: [ - "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { renamedParameters: { name: "secret_name" } }, - ], - getSecret: [ - "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", - {}, - { - renamed: ["actions", "getRepoSecret"], - renamedParameters: { name: "secret_name" }, - }, - ], - getSelfHostedRunner: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}", - {}, - { renamed: ["actions", "getSelfHostedRunnerForRepo"] }, - ], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}", - ], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowJob: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}", - {}, - { renamed: ["actions", "getJobForWorkflowRun"] }, - ], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunUsage: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing", - ], - getWorkflowUsage: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", - ], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listDownloadsForSelfHostedRunnerApplication: [ - "GET /repos/{owner}/{repo}/actions/runners/downloads", - {}, - { renamed: ["actions", "listRunnerApplicationsForRepo"] }, - ], - listJobsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - ], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoWorkflowRuns: [ - "GET /repos/{owner}/{repo}/actions/runs", - {}, - { renamed: ["actions", "listWorkflowRunsForRepo"] }, - ], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/downloads", - ], - listSecretsForRepo: [ - "GET /repos/{owner}/{repo}/actions/secrets", - {}, - { renamed: ["actions", "listRepoSecrets"] }, - ], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", - ], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowJobLogs: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - {}, - { renamed: ["actions", "downloadWorkflowJobLogs"] }, - ], - listWorkflowRunArtifacts: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - ], - listWorkflowRunLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - {}, - { renamed: ["actions", "downloadWorkflowRunLogs"] }, - ], - listWorkflowRuns: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - ], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - ], - removeSelfHostedRunner: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", - {}, - { renamed: ["actions", "deleteSelfHostedRunnerFromRepo"] }, - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories", - ], - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - checkStarringRepo: [ - "GET /user/starred/{owner}/{repo}", - {}, - { renamed: ["activity", "checkRepoIsStarredByAuthenticatedUser"] }, - ], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: [ - "DELETE /notifications/threads/{thread_id}/subscription", - ], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscription: [ - "PUT /notifications", - {}, - { renamed: ["activity", "getThreadSubscriptionForAuthenticatedUser"] }, - ], - getThreadSubscriptionForAuthenticatedUser: [ - "GET /notifications/threads/{thread_id}/subscription", - ], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listEventsForOrg: [ - "GET /users/{username}/events/orgs/{org}", - {}, - { renamed: ["activity", "listOrgEventsForAuthenticatedUser"] }, - ], - listEventsForUser: [ - "GET /users/{username}/events", - {}, - { renamed: ["activity", "listEventsForAuthenticatedUser"] }, - ], - listFeeds: ["GET /feeds", {}, { renamed: ["activity", "getFeeds"] }], - listNotifications: [ - "GET /notifications", - {}, - { renamed: ["activity", "listNotificationsForAuthenticatedUser"] }, - ], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listNotificationsForRepo: [ - "GET /repos/{owner}/{repo}/notifications", - {}, - { renamed: ["activity", "listRepoNotificationsForAuthenticatedUser"] }, - ], - listOrgEventsForAuthenticatedUser: [ - "GET /users/{username}/events/orgs/{org}", - ], - listPublicEvents: ["GET /events"], - listPublicEventsForOrg: [ - "GET /orgs/{org}/events", - {}, - { renamed: ["activity", "listPublicOrgEvents"] }, - ], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: [ - "GET /users/{username}/received_events/public", - ], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/notifications", - ], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markAsRead: [ - "PUT /notifications", - {}, - { renamed: ["activity", "markNotificationsAsRead"] }, - ], - markNotificationsAsRead: ["PUT /notifications"], - markNotificationsAsReadForRepo: [ - "PUT /repos/{owner}/{repo}/notifications", - {}, - { renamed: ["activity", "markRepoNotificationsAsRead"] }, - ], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: [ - "PUT /notifications/threads/{thread_id}/subscription", - ], - starRepo: [ - "PUT /user/starred/{owner}/{repo}", - {}, - { renamed: ["activity", "starRepoForAuthenticatedUser"] }, - ], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepo: [ - "DELETE /user/starred/{owner}/{repo}", - {}, - { renamed: ["activity", "unstarRepoForAuthenticatedUser"] }, - ], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"], - }, - apps: { - addRepoToInstallation: [ - "PUT /user/installations/{installation_id}/repositories/{repository_id}", - { mediaType: { previews: ["machine-man"] } }, - ], - checkAccountIsAssociatedWithAny: [ - "GET /marketplace_listing/accounts/{account_id}", - {}, - { renamed: ["apps", "getSubscriptionPlanForAccount"] }, - ], - checkAccountIsAssociatedWithAnyStubbed: [ - "GET /marketplace_listing/stubbed/accounts/{account_id}", - {}, - { renamed: ["apps", "getSubscriptionPlanForAccountStubbed"] }, - ], - checkToken: ["POST /applications/{client_id}/token"], - createContentAttachment: [ - "POST /content_references/{content_reference_id}/attachments", - { mediaType: { previews: ["corsair"] } }, - ], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: [ - "POST /app/installations/{installation_id}/access_tokens", - { mediaType: { previews: ["machine-man"] } }, - ], - createInstallationToken: [ - "POST /app/installations/{installation_id}/access_tokens", - { mediaType: { previews: ["machine-man"] } }, - { renamed: ["apps", "createInstallationAccessToken"] }, - ], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: [ - "DELETE /app/installations/{installation_id}", - { mediaType: { previews: ["machine-man"] } }, - ], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: [ - "GET /app", - { mediaType: { previews: ["machine-man"] } }, - ], - getBySlug: [ - "GET /apps/{app_slug}", - { mediaType: { previews: ["machine-man"] } }, - ], - getInstallation: [ - "GET /app/installations/{installation_id}", - { mediaType: { previews: ["machine-man"] } }, - ], - getOrgInstallation: [ - "GET /orgs/{org}/installation", - { mediaType: { previews: ["machine-man"] } }, - ], - getRepoInstallation: [ - "GET /repos/{owner}/{repo}/installation", - { mediaType: { previews: ["machine-man"] } }, - ], - getSubscriptionPlanForAccount: [ - "GET /marketplace_listing/accounts/{account_id}", - ], - getSubscriptionPlanForAccountStubbed: [ - "GET /marketplace_listing/stubbed/accounts/{account_id}", - ], - getUserInstallation: [ - "GET /users/{username}/installation", - { mediaType: { previews: ["machine-man"] } }, - ], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: [ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - ], - listAccountsUserOrOrgOnPlan: [ - "GET /marketplace_listing/plans/{plan_id}/accounts", - {}, - { renamed: ["apps", "listAccountsForPlan"] }, - ], - listAccountsUserOrOrgOnPlanStubbed: [ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - {}, - { renamed: ["apps", "listAccountsForPlanStubbed"] }, - ], - listInstallationReposForAuthenticatedUser: [ - "GET /user/installations/{installation_id}/repositories", - { mediaType: { previews: ["machine-man"] } }, - ], - listInstallations: [ - "GET /app/installations", - { mediaType: { previews: ["machine-man"] } }, - ], - listInstallationsForAuthenticatedUser: [ - "GET /user/installations", - { mediaType: { previews: ["machine-man"] } }, - ], - listMarketplacePurchasesForAuthenticatedUser: [ - "GET /user/marketplace_purchases", - {}, - { renamed: ["apps", "listSubscriptionsForAuthenticatedUser"] }, - ], - listMarketplacePurchasesForAuthenticatedUserStubbed: [ - "GET /user/marketplace_purchases/stubbed", - {}, - { renamed: ["apps", "listSubscriptionsForAuthenticatedUserStubbed"] }, - ], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listRepos: [ - "GET /installation/repositories", - { mediaType: { previews: ["machine-man"] } }, - { renamed: ["apps", "listReposAccessibleToInstallation"] }, - ], - listReposAccessibleToInstallation: [ - "GET /installation/repositories", - { mediaType: { previews: ["machine-man"] } }, - ], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: [ - "GET /user/marketplace_purchases/stubbed", - ], - removeRepoFromInstallation: [ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}", - { mediaType: { previews: ["machine-man"] } }, - ], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - revokeInstallationToken: [ - "DELETE /installation/token", - {}, - { renamed: ["apps", "revokeInstallationAccessToken"] }, - ], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: [ - "DELETE /app/installations/{installation_id}/suspended", - ], - }, - checks: { - create: [ - "POST /repos/{owner}/{repo}/check-runs", - { mediaType: { previews: ["antiope"] } }, - ], - createSuite: [ - "POST /repos/{owner}/{repo}/check-suites", - { mediaType: { previews: ["antiope"] } }, - ], - get: [ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}", - { mediaType: { previews: ["antiope"] } }, - ], - getSuite: [ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}", - { mediaType: { previews: ["antiope"] } }, - ], - listAnnotations: [ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - { mediaType: { previews: ["antiope"] } }, - ], - listForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", - { mediaType: { previews: ["antiope"] } }, - ], - listForSuite: [ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - { mediaType: { previews: ["antiope"] } }, - ], - listSuitesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", - { mediaType: { previews: ["antiope"] } }, - ], - rerequestSuite: [ - "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - { mediaType: { previews: ["antiope"] } }, - ], - setSuitesPreferences: [ - "PATCH /repos/{owner}/{repo}/check-suites/preferences", - { mediaType: { previews: ["antiope"] } }, - ], - update: [ - "PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}", - { mediaType: { previews: ["antiope"] } }, - ], - }, - codeScanning: { - getAlert: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - }, - codesOfConduct: { - getAllCodesOfConduct: [ - "GET /codes_of_conduct", - { mediaType: { previews: ["scarlet-witch"] } }, - ], - getConductCode: [ - "GET /codes_of_conduct/{key}", - { mediaType: { previews: ["scarlet-witch"] } }, - ], - getForRepo: [ - "GET /repos/{owner}/{repo}/community/code_of_conduct", - { mediaType: { previews: ["scarlet-witch"] } }, - ], - listConductCodes: [ - "GET /codes_of_conduct", - { mediaType: { previews: ["scarlet-witch"] } }, - { renamed: ["codesOfConduct", "getAllCodesOfConduct"] }, - ], - }, - emojis: { get: ["GET /emojis"] }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listPublicForUser: [ - "GET /users/{username}/gists", - {}, - { renamed: ["gists", "listForUser"] }, - ], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"], - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"], - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"], - listTemplates: [ - "GET /gitignore/templates", - {}, - { renamed: ["gitignore", "getAllTemplates"] }, - ], - }, - interactions: { - addOrUpdateRestrictionsForOrg: [ - "PUT /orgs/{org}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - { renamed: ["interactions", "setRestrictionsForOrg"] }, - ], - addOrUpdateRestrictionsForRepo: [ - "PUT /repos/{owner}/{repo}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - { renamed: ["interactions", "setRestrictionsForRepo"] }, - ], - getRestrictionsForOrg: [ - "GET /orgs/{org}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - getRestrictionsForRepo: [ - "GET /repos/{owner}/{repo}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - removeRestrictionsForOrg: [ - "DELETE /orgs/{org}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - removeRestrictionsForRepo: [ - "DELETE /repos/{owner}/{repo}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - setRestrictionsForOrg: [ - "PUT /orgs/{org}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - setRestrictionsForRepo: [ - "PUT /repos/{owner}/{repo}/interaction-limits", - { mediaType: { previews: ["sombra"] } }, - ], - }, - issues: { - addAssignees: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees", - ], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkAssignee: [ - "GET /repos/{owner}/{repo}/assignees/{assignee}", - {}, - { renamed: ["issues", "checkUserCanBeAssigned"] }, - ], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/comments", - ], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}", - ], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: [ - "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}", - ], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", - { mediaType: { previews: ["mockingbird"] } }, - ], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: [ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", - ], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", - ], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - listMilestonesForRepo: [ - "GET /repos/{owner}/{repo}/milestones", - {}, - { renamed: ["issues", "listMilestones"] }, - ], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels", - ], - removeAssignees: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees", - ], - removeLabel: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - ], - removeLabels: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels", - {}, - { renamed: ["issues", "removeAllLabels"] }, - ], - replaceAllLabels: [ - "PUT /repos/{owner}/{repo}/issues/{issue_number}/labels", - {}, - { renamed: ["issues", "setLabels"] }, - ], - replaceLabels: [ - "PUT /repos/{owner}/{repo}/issues/{issue_number}/labels", - {}, - { renamed: ["issues", "replaceAllLabels"] }, - ], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: [ - "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}", - ], - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"], - listCommonlyUsed: [ - "GET /licenses", - {}, - { renamed: ["licenses", "getAllCommonlyUsed"] }, - ], - }, - markdown: { - render: ["POST /markdown"], - renderRaw: [ - "POST /markdown/raw", - { headers: { "content-type": "text/plain; charset=utf-8" } }, - ], - }, - meta: { get: ["GET /meta"] }, - migrations: { - cancelImport: ["DELETE /repos/{owner}/{repo}/import"], - deleteArchiveForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - deleteArchiveForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - downloadArchiveForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - getArchiveForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], - getImportProgress: [ - "GET /repos/{owner}/{repo}/import", - {}, - { renamed: ["migrations", "getImportStatus"] }, - ], - getImportStatus: ["GET /repos/{owner}/{repo}/import"], - getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], - getStatusForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}", - { mediaType: { previews: ["wyandotte"] } }, - ], - getStatusForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}", - { mediaType: { previews: ["wyandotte"] } }, - ], - listForAuthenticatedUser: [ - "GET /user/migrations", - { mediaType: { previews: ["wyandotte"] } }, - ], - listForOrg: [ - "GET /orgs/{org}/migrations", - { mediaType: { previews: ["wyandotte"] } }, - ], - listReposForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/repositories", - { mediaType: { previews: ["wyandotte"] } }, - ], - listReposForUser: [ - "GET /user/{migration_id}/repositories", - { mediaType: { previews: ["wyandotte"] } }, - ], - mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], - setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: ["PUT /repos/{owner}/{repo}/import"], - unlockRepoForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", - { mediaType: { previews: ["wyandotte"] } }, - ], - unlockRepoForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", - { mediaType: { previews: ["wyandotte"] } }, - ], - updateImport: ["PATCH /repos/{owner}/{repo}/import"], - }, - orgs: { - addOrUpdateMembership: [ - "PUT /orgs/{org}/memberships/{username}", - {}, - { renamed: ["orgs", "setMembershipForUser"] }, - ], - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembership: [ - "GET /orgs/{org}/members/{username}", - {}, - { renamed: ["orgs", "checkMembershipForUser"] }, - ], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembership: [ - "GET /orgs/{org}/public_members/{username}", - {}, - { renamed: ["orgs", "checkPublicMembershipForUser"] }, - ], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - concealMembership: [ - "DELETE /orgs/{org}/public_members/{username}", - {}, - { renamed: ["orgs", "removePublicMembershipForAuthenticatedUser"] }, - ], - convertMemberToOutsideCollaborator: [ - "PUT /orgs/{org}/outside_collaborators/{username}", - ], - createHook: [ - "POST /orgs/{org}/hooks", - {}, - { renamed: ["orgs", "createWebhook"] }, - ], - createInvitation: ["POST /orgs/{org}/invitations"], - createWebhook: ["POST /orgs/{org}/hooks"], - deleteHook: [ - "DELETE /orgs/{org}/hooks/{hook_id}", - {}, - { renamed: ["orgs", "deleteWebhook"] }, - ], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - get: ["GET /orgs/{org}"], - getHook: [ - "GET /orgs/{org}/hooks/{hook_id}", - {}, - { renamed: ["orgs", "getWebhook"] }, - ], - getMembership: [ - "GET /orgs/{org}/memberships/{username}", - {}, - { renamed: ["orgs", "getMembershipForUser"] }, - ], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - list: ["GET /organizations"], - listAppInstallations: [ - "GET /orgs/{org}/installations", - { mediaType: { previews: ["machine-man"] } }, - ], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listHooks: [ - "GET /orgs/{org}/hooks", - {}, - { renamed: ["orgs", "listWebhooks"] }, - ], - listInstallations: [ - "GET /orgs/{org}/installations", - { mediaType: { previews: ["machine-man"] } }, - { renamed: ["orgs", "listAppInstallations"] }, - ], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMemberships: [ - "GET /user/memberships/orgs", - {}, - { renamed: ["orgs", "listMembershipsForAuthenticatedUser"] }, - ], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingHook: [ - "POST /orgs/{org}/hooks/{hook_id}/pings", - {}, - { renamed: ["orgs", "pingWebhook"] }, - ], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - publicizeMembership: [ - "PUT /orgs/{org}/public_members/{username}", - {}, - { renamed: ["orgs", "setPublicMembershipForAuthenticatedUser"] }, - ], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembership: [ - "DELETE /orgs/{org}/memberships/{username}", - {}, - { renamed: ["orgs", "removeMembershipForUser"] }, - ], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: [ - "DELETE /orgs/{org}/outside_collaborators/{username}", - ], - removePublicMembershipForAuthenticatedUser: [ - "DELETE /orgs/{org}/public_members/{username}", - ], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: [ - "PUT /orgs/{org}/public_members/{username}", - ], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateHook: [ - "PATCH /orgs/{org}/hooks/{hook_id}", - {}, - { renamed: ["orgs", "updateWebhook"] }, - ], - updateMembership: [ - "PATCH /user/memberships/orgs/{org}", - {}, - { renamed: ["orgs", "updateMembershipForAuthenticatedUser"] }, - ], - updateMembershipForAuthenticatedUser: [ - "PATCH /user/memberships/orgs/{org}", - ], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], - }, - projects: { - addCollaborator: [ - "PUT /projects/{project_id}/collaborators/{username}", - { mediaType: { previews: ["inertia"] } }, - ], - createCard: [ - "POST /projects/columns/{column_id}/cards", - { mediaType: { previews: ["inertia"] } }, - ], - createColumn: [ - "POST /projects/{project_id}/columns", - { mediaType: { previews: ["inertia"] } }, - ], - createForAuthenticatedUser: [ - "POST /user/projects", - { mediaType: { previews: ["inertia"] } }, - ], - createForOrg: [ - "POST /orgs/{org}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - createForRepo: [ - "POST /repos/{owner}/{repo}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - delete: [ - "DELETE /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - deleteCard: [ - "DELETE /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - deleteColumn: [ - "DELETE /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - get: [ - "GET /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getCard: [ - "GET /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getColumn: [ - "GET /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission", - { mediaType: { previews: ["inertia"] } }, - ], - listCards: [ - "GET /projects/columns/{column_id}/cards", - { mediaType: { previews: ["inertia"] } }, - ], - listCollaborators: [ - "GET /projects/{project_id}/collaborators", - { mediaType: { previews: ["inertia"] } }, - ], - listColumns: [ - "GET /projects/{project_id}/columns", - { mediaType: { previews: ["inertia"] } }, - ], - listForOrg: [ - "GET /orgs/{org}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listForRepo: [ - "GET /repos/{owner}/{repo}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listForUser: [ - "GET /users/{username}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - moveCard: [ - "POST /projects/columns/cards/{card_id}/moves", - { mediaType: { previews: ["inertia"] } }, - ], - moveColumn: [ - "POST /projects/columns/{column_id}/moves", - { mediaType: { previews: ["inertia"] } }, - ], - removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}", - { mediaType: { previews: ["inertia"] } }, - ], - reviewUserPermissionLevel: [ - "GET /projects/{project_id}/collaborators/{username}/permission", - { mediaType: { previews: ["inertia"] } }, - { renamed: ["projects", "getPermissionForUser"] }, - ], - update: [ - "PATCH /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - updateCard: [ - "PATCH /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - updateColumn: [ - "PATCH /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments", - {}, - { renamed: ["pulls", "createReviewComment"] }, - ], - createReplyForReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - ], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments", - ], - createReviewCommentReply: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - {}, - { renamed: ["pulls", "createReplyForReviewComment"] }, - ], - createReviewRequest: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - {}, - { renamed: ["pulls", "requestReviewers"] }, - ], - deleteComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}", - {}, - { renamed: ["pulls", "deleteReviewComment"] }, - ], - deletePendingReview: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - deleteReviewComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}", - ], - deleteReviewRequest: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - {}, - { renamed: ["pulls", "removeRequestedReviewers"] }, - ], - dismissReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - ], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getComment: [ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}", - {}, - { renamed: ["pulls", "getReviewComment"] }, - ], - getCommentsForReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - {}, - { renamed: ["pulls", "listCommentsForReview"] }, - ], - getReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listComments: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - {}, - { renamed: ["pulls", "listReviewComments"] }, - ], - listCommentsForRepo: [ - "GET /repos/{owner}/{repo}/pulls/comments", - {}, - { renamed: ["pulls", "listReviewCommentsForRepo"] }, - ], - listCommentsForReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - ], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - listReviewComments: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - ], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviewRequests: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - {}, - { renamed: ["pulls", "listRequestedReviewers"] }, - ], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - requestReviewers: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - submitReview: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - ], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - { mediaType: { previews: ["lydian"] } }, - ], - updateComment: [ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}", - {}, - { renamed: ["pulls", "updateReviewComment"] }, - ], - updateReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - updateReviewComment: [ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}", - ], - }, - rateLimit: { get: ["GET /rate_limit"] }, - reactions: { - createForCommitComment: [ - "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForIssue: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForIssueComment: [ - "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForPullRequestReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForTeamDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForTeamDiscussionInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - delete: [ - "DELETE /reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - { renamed: ["reactions", "deleteLegacy"] }, - ], - deleteForCommitComment: [ - "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForIssue: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForIssueComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForPullRequestComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForTeamDiscussion: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForTeamDiscussionComment: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteLegacy: [ - "DELETE /reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - { - deprecated: "octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy", - }, - ], - listForCommitComment: [ - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForIssueComment: [ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForPullRequestReviewComment: [ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForTeamDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForTeamDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - }, - repos: { - acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], - addAppAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addDeployKey: [ - "POST /repos/{owner}/{repo}/keys", - {}, - { renamed: ["repos", "createDeployKey"] }, - ], - addProtectedBranchAdminEnforcement: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - {}, - { renamed: ["repos", "setAdminBranchProtection"] }, - ], - addProtectedBranchAppRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps", renamed: ["repos", "addAppAccessRestrictions"] }, - ], - addProtectedBranchRequiredSignatures: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - { renamed: ["repos", "createCommitSignatureProtection"] }, - ], - addProtectedBranchRequiredStatusChecksContexts: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts", renamed: ["repos", "addStatusCheckContexts"] }, - ], - addProtectedBranchTeamRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams", renamed: ["repos", "addTeamAccessRestrictions"] }, - ], - addProtectedBranchUserRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users", renamed: ["repos", "addUserAccessRestrictions"] }, - ], - addStatusCheckContexts: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - addTeamAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - addUserAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: [ - "GET /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - createCommitComment: [ - "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments", - ], - createCommitSignatureProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentStatus: [ - "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - ], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createHook: [ - "POST /repos/{owner}/{repo}/hooks", - {}, - { renamed: ["repos", "createWebhook"] }, - ], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateFile: [ - "PUT /repos/{owner}/{repo}/contents/{path}", - {}, - { renamed: ["repos", "createOrUpdateFileContents"] }, - ], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createPagesSite: [ - "POST /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - ], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createStatus: [ - "POST /repos/{owner}/{repo}/statuses/{sha}", - {}, - { renamed: ["repos", "createCommitStatus"] }, - ], - createUsingTemplate: [ - "POST /repos/{template_owner}/{template_repo}/generate", - { mediaType: { previews: ["baptiste"] } }, - ], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - ], - deleteAdminBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - deleteBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection", - ], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: [ - "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}", - ], - deleteDownload: ["DELETE /repos/{owner}/{repo}/downloads/{download_id}"], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteHook: [ - "DELETE /repos/{owner}/{repo}/hooks/{hook_id}", - {}, - { renamed: ["repos", "deleteWebhook"] }, - ], - deleteInvitation: [ - "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}", - ], - deletePagesSite: [ - "DELETE /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - ], - deletePullRequestReviewProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: [ - "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}", - ], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: [ - "DELETE /repos/{owner}/{repo}/automated-security-fixes", - { mediaType: { previews: ["london"] } }, - ], - disablePagesSite: [ - "DELETE /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - { renamed: ["repos", "deletePagesSite"] }, - ], - disableVulnerabilityAlerts: [ - "DELETE /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - downloadArchive: ["GET /repos/{owner}/{repo}/{archive_format}/{ref}"], - enableAutomatedSecurityFixes: [ - "PUT /repos/{owner}/{repo}/automated-security-fixes", - { mediaType: { previews: ["london"] } }, - ], - enablePagesSite: [ - "POST /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - { renamed: ["repos", "createPagesSite"] }, - ], - enableVulnerabilityAlerts: [ - "PUT /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - ], - getAdminBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - getAllStatusCheckContexts: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - ], - getAllTopics: [ - "GET /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - ], - getAppsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - ], - getArchiveLink: [ - "GET /repos/{owner}/{repo}/{archive_format}/{ref}", - {}, - { renamed: ["repos", "downloadArchive"] }, - ], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection", - ], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: [ - "GET /repos/{owner}/{repo}/collaborators/{username}/permission", - ], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContents: [ - "GET /repos/{owner}/{repo}/contents/{path}", - {}, - { renamed: ["repos", "getContent"] }, - ], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentStatus: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - ], - getDownload: ["GET /repos/{owner}/{repo}/downloads/{download_id}"], - getHook: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}", - {}, - { renamed: ["repos", "getWebhook"] }, - ], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getProtectedBranchAdminEnforcement: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - {}, - { renamed: ["repos", "getAdminBranchProtection"] }, - ], - getProtectedBranchPullRequestReviewEnforcement: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - {}, - { renamed: ["repos", "getPullRequestReviewProtection"] }, - ], - getProtectedBranchRequiredSignatures: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - { renamed: ["repos", "getCommitSignatureProtection"] }, - ], - getProtectedBranchRequiredStatusChecks: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "getStatusChecksProtection"] }, - ], - getProtectedBranchRestrictions: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - {}, - { renamed: ["repos", "getAccessRestrictions"] }, - ], - getPullRequestReviewProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getStatusChecksProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - getTeamsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - ], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - ], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - list: [ - "GET /user/repos", - {}, - { renamed: ["repos", "listForAuthenticatedUser"] }, - ], - listAssetsForRelease: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - {}, - { renamed: ["repos", "listReleaseAssets"] }, - ], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - { mediaType: { previews: ["groot"] } }, - ], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", - ], - listCommitComments: [ - "GET /repos/{owner}/{repo}/comments", - {}, - { renamed: ["repos", "listCommitCommentsForRepo"] }, - ], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - ], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentStatuses: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - ], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listDownloads: ["GET /repos/{owner}/{repo}/downloads"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listHooks: [ - "GET /repos/{owner}/{repo}/hooks", - {}, - { renamed: ["repos", "listWebhooks"] }, - ], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listProtectedBranchRequiredStatusChecksContexts: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { renamed: ["repos", "getAllStatusCheckContexts"] }, - ], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", - { mediaType: { previews: ["groot"] } }, - ], - listReleaseAssets: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - ], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listStatusesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - {}, - { renamed: ["repos", "listCommitStatusesForRef"] }, - ], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listTopics: [ - "GET /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - { renamed: ["repos", "getAllTopics"] }, - ], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - pingHook: [ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/pings", - {}, - { renamed: ["repos", "pingWebhook"] }, - ], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - removeAppAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - removeBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection", - {}, - { renamed: ["repos", "deleteBranchProtection"] }, - ], - removeCollaborator: [ - "DELETE /repos/{owner}/{repo}/collaborators/{username}", - ], - removeDeployKey: [ - "DELETE /repos/{owner}/{repo}/keys/{key_id}", - {}, - { renamed: ["repos", "deleteDeployKey"] }, - ], - removeProtectedBranchAdminEnforcement: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - {}, - { renamed: ["repos", "deleteAdminBranchProtection"] }, - ], - removeProtectedBranchAppRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps", renamed: ["repos", "removeAppAccessRestrictions"] }, - ], - removeProtectedBranchPullRequestReviewEnforcement: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - {}, - { renamed: ["repos", "deletePullRequestReviewProtection"] }, - ], - removeProtectedBranchRequiredSignatures: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - { renamed: ["repos", "deleteCommitSignatureProtection"] }, - ], - removeProtectedBranchRequiredStatusChecks: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "removeStatusChecksProtection"] }, - ], - removeProtectedBranchRequiredStatusChecksContexts: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { - mapToData: "contexts", - renamed: ["repos", "removeStatusCheckContexts"], - }, - ], - removeProtectedBranchRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - {}, - { renamed: ["repos", "deleteAccessRestrictions"] }, - ], - removeProtectedBranchTeamRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { - mapToData: "teams", - renamed: ["repos", "removeTeamAccessRestrictions"], - }, - ], - removeProtectedBranchUserRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { - mapToData: "users", - renamed: ["repos", "removeUserAccessRestrictions"], - }, - ], - removeStatusCheckContexts: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - removeStatusCheckProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - removeTeamAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - removeUserAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - replaceAllTopics: [ - "PUT /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - ], - replaceProtectedBranchAppRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps", renamed: ["repos", "setAppAccessRestrictions"] }, - ], - replaceProtectedBranchRequiredStatusChecksContexts: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts", renamed: ["repos", "setStatusCheckContexts"] }, - ], - replaceProtectedBranchTeamRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams", renamed: ["repos", "setTeamAccessRestrictions"] }, - ], - replaceProtectedBranchUserRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users", renamed: ["repos", "setUserAccessRestrictions"] }, - ], - replaceTopics: [ - "PUT /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - { renamed: ["repos", "replaceAllTopics"] }, - ], - requestPageBuild: [ - "POST /repos/{owner}/{repo}/pages/builds", - {}, - { renamed: ["repos", "requestPagesBuild"] }, - ], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - retrieveCommunityProfileMetrics: [ - "GET /repos/{owner}/{repo}/community/profile", - {}, - { renamed: ["repos", "getCommunityProfileMetrics"] }, - ], - setAdminBranchProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - setAppAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - setStatusCheckContexts: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - setTeamAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - setUserAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - testPushHook: [ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/tests", - {}, - { renamed: ["repos", "testPushWebhook"] }, - ], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection", - ], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateHook: [ - "PATCH /repos/{owner}/{repo}/hooks/{hook_id}", - {}, - { renamed: ["repos", "updateWebhook"] }, - ], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: [ - "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}", - ], - updateProtectedBranchPullRequestReviewEnforcement: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - {}, - { renamed: ["repos", "updatePullRequestReviewProtection"] }, - ], - updateProtectedBranchRequiredStatusChecks: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "updateStatusChecksProtection"] }, - ], - updatePullRequestReviewProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: [ - "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}", - ], - updateStatusCheckPotection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - uploadReleaseAsset: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", - { baseUrl: "https://uploads.github.com" }, - ], - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits", { mediaType: { previews: ["cloak"] } }], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics"], - users: ["GET /search/users"], - }, - teams: { - addOrUpdateMembershipForUserInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - addOrUpdateMembershipInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}", - {}, - { renamed: ["teams", "addOrUpdateMembershipForUserInOrg"] }, - ], - addOrUpdateProjectInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - { renamed: ["teams", "addOrUpdateProjectPermissionsInOrg"] }, - ], - addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - addOrUpdateRepoInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - {}, - { renamed: ["teams", "addOrUpdateRepoPermissionsInOrg"] }, - ], - addOrUpdateRepoPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - checkManagesRepoInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - {}, - { renamed: ["teams", "checkPermissionsForRepoInOrg"] }, - ], - checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - checkPermissionsForRepoInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - ], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - deleteDiscussionInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - getDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - getMembershipForUserInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - getMembershipInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}", - {}, - { renamed: ["teams", "getMembershipForUserInOrg"] }, - ], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - ], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/invitations", - ], - listProjectsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - removeMembershipInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}", - {}, - { renamed: ["teams", "removeMembershipForUserInOrg"] }, - ], - removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", - ], - removeRepoInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - reviewProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - { renamed: ["teams", "checkPermissionsForProjectInOrg"] }, - ], - updateDiscussionCommentInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - updateDiscussionInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"], - }, - users: { - addEmailForAuthenticated: ["POST /user/emails"], - addEmails: [ - "POST /user/emails", - {}, - { renamed: ["users", "addEmailsForAuthenticated"] }, - ], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowing: [ - "GET /user/following/{username}", - {}, - { renamed: ["users", "checkPersonIsFollowedByAuthenticated"] }, - ], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKey: [ - "POST /user/gpg_keys", - {}, - { renamed: ["users", "createGpgKeyForAuthenticated"] }, - ], - createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], - createPublicKey: [ - "POST /user/keys", - {}, - { renamed: ["users", "createPublicSshKeyForAuthenticated"] }, - ], - createPublicSshKeyForAuthenticated: ["POST /user/keys"], - deleteEmailForAuthenticated: ["DELETE /user/emails"], - deleteEmails: [ - "DELETE /user/emails", - {}, - { renamed: ["users", "deleteEmailsForAuthenticated"] }, - ], - deleteGpgKey: [ - "DELETE /user/gpg_keys/{gpg_key_id}", - {}, - { renamed: ["users", "deleteGpgKeyForAuthenticated"] }, - ], - deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicKey: [ - "DELETE /user/keys/{key_id}", - {}, - { renamed: ["users", "deletePublicSshKeyForAuthenticated"] }, - ], - deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKey: [ - "GET /user/gpg_keys/{gpg_key_id}", - {}, - { renamed: ["users", "getGpgKeyForAuthenticated"] }, - ], - getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicKey: [ - "GET /user/keys/{key_id}", - {}, - { renamed: ["users", "getPublicSshKeyForAuthenticated"] }, - ], - getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], - list: ["GET /users"], - listBlocked: [ - "GET /user/blocks", - {}, - { renamed: ["users", "listBlockedByAuthenticated"] }, - ], - listBlockedByAuthenticated: ["GET /user/blocks"], - listEmails: [ - "GET /user/emails", - {}, - { renamed: ["users", "listEmailsForAuthenticated"] }, - ], - listEmailsForAuthenticated: ["GET /user/emails"], - listFollowedByAuthenticated: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForAuthenticatedUser: [ - "GET /user/following", - {}, - { renamed: ["users", "listFollowedByAuthenticated"] }, - ], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeys: [ - "GET /user/gpg_keys", - {}, - { renamed: ["users", "listGpgKeysForAuthenticated"] }, - ], - listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmails: [ - "GET /user/public_emails", - {}, - { renamed: ["users", "listPublicEmailsForAuthenticatedUser"] }, - ], - listPublicEmailsForAuthenticated: ["GET /user/public_emails"], - listPublicKeys: [ - "GET /user/keys", - {}, - { renamed: ["users", "listPublicSshKeysForAuthenticated"] }, - ], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: ["GET /user/keys"], - setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], - togglePrimaryEmailVisibility: [ - "PATCH /user/email/visibility", - {}, - { renamed: ["users", "setPrimaryEmailVisibilityForAuthenticated"] }, - ], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"], - }, -}; - -const VERSION = "3.17.0"; - -function endpointsToMethods(octokit, endpointsMap) { - const newMethods = {}; - for (const [scope, endpoints] of Object.entries(endpointsMap)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign({ method, url }, defaults); - if (!newMethods[scope]) { - newMethods[scope] = {}; - } - const scopeMethods = newMethods[scope]; - if (decorations) { - scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); - continue; - } - scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); - } - } - return newMethods; -} -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - function withDecorations(...args) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - let options = requestWithDefaults.endpoint.merge(...args); - // There are currently no other decorations than `.mapToData` - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: undefined, - }); - return requestWithDefaults(options); - } - // NOTE: there are currently no deprecations. But we keep the code - // below for future reference - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); - } - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - if (decorations.renamedParameters) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - const options = requestWithDefaults.endpoint.merge(...args); - for (const [name, alias] of Object.entries(decorations.renamedParameters)) { - // There is currently no deprecated parameter that is optional, - // so we never hit the else branch below at this point. - /* istanbul ignore else */ - if (name in options) { - octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); - if (!(alias in options)) { - options[alias] = options[name]; - } - delete options[name]; - } - } - return requestWithDefaults(options); - } - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - return requestWithDefaults(...args); - } - return Object.assign(withDecorations, requestWithDefaults); -} - -/** - * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary - * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is - * done, we will remove the registerEndpoints methods and return the methods - * directly as with the other plugins. At that point we will also remove the - * legacy workarounds and deprecations. - * - * See the plan at - * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 - */ -function restEndpointMethods(octokit) { - return endpointsToMethods(octokit, Endpoints); -} -restEndpointMethods.VERSION = VERSION; - -export { restEndpointMethods }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map deleted file mode 100644 index ceeec73372..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/generated/endpoints.js","../dist-src/version.js","../dist-src/endpoints-to-methods.js","../dist-src/index.js"],"sourcesContent":["const Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n cancelWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\",\n ],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n createOrUpdateSecretForRepo: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"createOrUpdateRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n createRegistrationToken: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n {},\n { renamed: [\"actions\", \"createRegistrationTokenForRepo\"] },\n ],\n createRegistrationTokenForOrg: [\n \"POST /orgs/{org}/actions/runners/registration-token\",\n ],\n createRegistrationTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n ],\n createRemoveToken: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n {},\n { renamed: [\"actions\", \"createRemoveTokenForRepo\"] },\n ],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n ],\n deleteArtifact: [\n \"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\",\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n deleteSecretFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"deleteRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n deleteSelfHostedRunnerFromOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}\",\n ],\n deleteSelfHostedRunnerFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n deleteWorkflowRunLogs: [\n \"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n downloadArtifact: [\n \"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\",\n ],\n downloadJobLogsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n ],\n downloadWorkflowJobLogs: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadJobLogsForWorkflowRun\"] },\n ],\n downloadWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPublicKey: [\n \"GET /repos/{owner}/{repo}/actions/secrets/public-key\",\n {},\n { renamed: [\"actions\", \"getRepoPublicKey\"] },\n ],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\n \"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n getSecret: [\n \"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"getRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n getSelfHostedRunner: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n {},\n { renamed: [\"actions\", \"getSelfHostedRunnerForRepo\"] },\n ],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowJob: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\",\n {},\n { renamed: [\"actions\", \"getJobForWorkflowRun\"] },\n ],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunUsage: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\",\n ],\n getWorkflowUsage: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\",\n ],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listDownloadsForSelfHostedRunnerApplication: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n {},\n { renamed: [\"actions\", \"listRunnerApplicationsForRepo\"] },\n ],\n listJobsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n ],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/runs\",\n {},\n { renamed: [\"actions\", \"listWorkflowRunsForRepo\"] },\n ],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n ],\n listSecretsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/secrets\",\n {},\n { renamed: [\"actions\", \"listRepoSecrets\"] },\n ],\n listSelectedReposForOrgSecret: [\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowJobLogs: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadWorkflowJobLogs\"] },\n ],\n listWorkflowRunArtifacts: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n ],\n listWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadWorkflowRunLogs\"] },\n ],\n listWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n ],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n removeSelectedRepoFromOrgSecret: [\n \"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n removeSelfHostedRunner: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n {},\n { renamed: [\"actions\", \"deleteSelfHostedRunnerFromRepo\"] },\n ],\n setSelectedReposForOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n checkStarringRepo: [\n \"GET /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"checkRepoIsStarredByAuthenticatedUser\"] },\n ],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\n \"DELETE /notifications/threads/{thread_id}/subscription\",\n ],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscription: [\n \"PUT /notifications\",\n {},\n { renamed: [\"activity\", \"getThreadSubscriptionForAuthenticatedUser\"] },\n ],\n getThreadSubscriptionForAuthenticatedUser: [\n \"GET /notifications/threads/{thread_id}/subscription\",\n ],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listEventsForOrg: [\n \"GET /users/{username}/events/orgs/{org}\",\n {},\n { renamed: [\"activity\", \"listOrgEventsForAuthenticatedUser\"] },\n ],\n listEventsForUser: [\n \"GET /users/{username}/events\",\n {},\n { renamed: [\"activity\", \"listEventsForAuthenticatedUser\"] },\n ],\n listFeeds: [\"GET /feeds\", {}, { renamed: [\"activity\", \"getFeeds\"] }],\n listNotifications: [\n \"GET /notifications\",\n {},\n { renamed: [\"activity\", \"listNotificationsForAuthenticatedUser\"] },\n ],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listNotificationsForRepo: [\n \"GET /repos/{owner}/{repo}/notifications\",\n {},\n { renamed: [\"activity\", \"listRepoNotificationsForAuthenticatedUser\"] },\n ],\n listOrgEventsForAuthenticatedUser: [\n \"GET /users/{username}/events/orgs/{org}\",\n ],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForOrg: [\n \"GET /orgs/{org}/events\",\n {},\n { renamed: [\"activity\", \"listPublicOrgEvents\"] },\n ],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\n \"GET /users/{username}/received_events/public\",\n ],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/notifications\",\n ],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markAsRead: [\n \"PUT /notifications\",\n {},\n { renamed: [\"activity\", \"markNotificationsAsRead\"] },\n ],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markNotificationsAsReadForRepo: [\n \"PUT /repos/{owner}/{repo}/notifications\",\n {},\n { renamed: [\"activity\", \"markRepoNotificationsAsRead\"] },\n ],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\n \"PUT /notifications/threads/{thread_id}/subscription\",\n ],\n starRepo: [\n \"PUT /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"starRepoForAuthenticatedUser\"] },\n ],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepo: [\n \"DELETE /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"unstarRepoForAuthenticatedUser\"] },\n ],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"],\n },\n apps: {\n addRepoToInstallation: [\n \"PUT /user/installations/{installation_id}/repositories/{repository_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n checkAccountIsAssociatedWithAny: [\n \"GET /marketplace_listing/accounts/{account_id}\",\n {},\n { renamed: [\"apps\", \"getSubscriptionPlanForAccount\"] },\n ],\n checkAccountIsAssociatedWithAnyStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\",\n {},\n { renamed: [\"apps\", \"getSubscriptionPlanForAccountStubbed\"] },\n ],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createContentAttachment: [\n \"POST /content_references/{content_reference_id}/attachments\",\n { mediaType: { previews: [\"corsair\"] } },\n ],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\n \"POST /app/installations/{installation_id}/access_tokens\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n createInstallationToken: [\n \"POST /app/installations/{installation_id}/access_tokens\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"apps\", \"createInstallationAccessToken\"] },\n ],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\n \"DELETE /app/installations/{installation_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\n \"GET /app\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getBySlug: [\n \"GET /apps/{app_slug}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getInstallation: [\n \"GET /app/installations/{installation_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getOrgInstallation: [\n \"GET /orgs/{org}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getRepoInstallation: [\n \"GET /repos/{owner}/{repo}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getSubscriptionPlanForAccount: [\n \"GET /marketplace_listing/accounts/{account_id}\",\n ],\n getSubscriptionPlanForAccountStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\",\n ],\n getUserInstallation: [\n \"GET /users/{username}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n ],\n listAccountsUserOrOrgOnPlan: [\n \"GET /marketplace_listing/plans/{plan_id}/accounts\",\n {},\n { renamed: [\"apps\", \"listAccountsForPlan\"] },\n ],\n listAccountsUserOrOrgOnPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n {},\n { renamed: [\"apps\", \"listAccountsForPlanStubbed\"] },\n ],\n listInstallationReposForAuthenticatedUser: [\n \"GET /user/installations/{installation_id}/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listInstallations: [\n \"GET /app/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listInstallationsForAuthenticatedUser: [\n \"GET /user/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listMarketplacePurchasesForAuthenticatedUser: [\n \"GET /user/marketplace_purchases\",\n {},\n { renamed: [\"apps\", \"listSubscriptionsForAuthenticatedUser\"] },\n ],\n listMarketplacePurchasesForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\",\n {},\n { renamed: [\"apps\", \"listSubscriptionsForAuthenticatedUserStubbed\"] },\n ],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listRepos: [\n \"GET /installation/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"apps\", \"listReposAccessibleToInstallation\"] },\n ],\n listReposAccessibleToInstallation: [\n \"GET /installation/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\",\n ],\n removeRepoFromInstallation: [\n \"DELETE /user/installations/{installation_id}/repositories/{repository_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n revokeInstallationToken: [\n \"DELETE /installation/token\",\n {},\n { renamed: [\"apps\", \"revokeInstallationAccessToken\"] },\n ],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\n \"DELETE /app/installations/{installation_id}/suspended\",\n ],\n },\n checks: {\n create: [\n \"POST /repos/{owner}/{repo}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n createSuite: [\n \"POST /repos/{owner}/{repo}/check-suites\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n get: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n getSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listAnnotations: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listForSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listSuitesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n rerequestSuite: [\n \"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n setSuitesPreferences: [\n \"PATCH /repos/{owner}/{repo}/check-suites/preferences\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n update: [\n \"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n },\n codeScanning: {\n getAlert: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\n \"GET /codes_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n getConductCode: [\n \"GET /codes_of_conduct/{key}\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n getForRepo: [\n \"GET /repos/{owner}/{repo}/community/code_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n listConductCodes: [\n \"GET /codes_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n { renamed: [\"codesOfConduct\", \"getAllCodesOfConduct\"] },\n ],\n },\n emojis: { get: [\"GET /emojis\"] },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listPublicForUser: [\n \"GET /users/{username}/gists\",\n {},\n { renamed: [\"gists\", \"listForUser\"] },\n ],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"],\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"],\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"],\n listTemplates: [\n \"GET /gitignore/templates\",\n {},\n { renamed: [\"gitignore\", \"getAllTemplates\"] },\n ],\n },\n interactions: {\n addOrUpdateRestrictionsForOrg: [\n \"PUT /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n { renamed: [\"interactions\", \"setRestrictionsForOrg\"] },\n ],\n addOrUpdateRestrictionsForRepo: [\n \"PUT /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n { renamed: [\"interactions\", \"setRestrictionsForRepo\"] },\n ],\n getRestrictionsForOrg: [\n \"GET /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n getRestrictionsForRepo: [\n \"GET /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n removeRestrictionsForOrg: [\n \"DELETE /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n removeRestrictionsForRepo: [\n \"DELETE /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n setRestrictionsForOrg: [\n \"PUT /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n setRestrictionsForRepo: [\n \"PUT /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n },\n issues: {\n addAssignees: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkAssignee: [\n \"GET /repos/{owner}/{repo}/assignees/{assignee}\",\n {},\n { renamed: [\"issues\", \"checkUserCanBeAssigned\"] },\n ],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n ],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\",\n ],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\n \"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n { mediaType: { previews: [\"mockingbird\"] } },\n ],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n ],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n listMilestonesForRepo: [\n \"GET /repos/{owner}/{repo}/milestones\",\n {},\n { renamed: [\"issues\", \"listMilestones\"] },\n ],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n removeAssignees: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n removeLabel: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\",\n ],\n removeLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"removeAllLabels\"] },\n ],\n replaceAllLabels: [\n \"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"setLabels\"] },\n ],\n replaceLabels: [\n \"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"replaceAllLabels\"] },\n ],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\n \"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"],\n listCommonlyUsed: [\n \"GET /licenses\",\n {},\n { renamed: [\"licenses\", \"getAllCommonlyUsed\"] },\n ],\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\n \"POST /markdown/raw\",\n { headers: { \"content-type\": \"text/plain; charset=utf-8\" } },\n ],\n },\n meta: { get: [\"GET /meta\"] },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n deleteArchiveForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n downloadArchiveForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getArchiveForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportProgress: [\n \"GET /repos/{owner}/{repo}/import\",\n {},\n { renamed: [\"migrations\", \"getImportStatus\"] },\n ],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getStatusForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForAuthenticatedUser: [\n \"GET /user/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForUser: [\n \"GET /user/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n unlockRepoForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"],\n },\n orgs: {\n addOrUpdateMembership: [\n \"PUT /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"setMembershipForUser\"] },\n ],\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembership: [\n \"GET /orgs/{org}/members/{username}\",\n {},\n { renamed: [\"orgs\", \"checkMembershipForUser\"] },\n ],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembership: [\n \"GET /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"checkPublicMembershipForUser\"] },\n ],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n concealMembership: [\n \"DELETE /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"removePublicMembershipForAuthenticatedUser\"] },\n ],\n convertMemberToOutsideCollaborator: [\n \"PUT /orgs/{org}/outside_collaborators/{username}\",\n ],\n createHook: [\n \"POST /orgs/{org}/hooks\",\n {},\n { renamed: [\"orgs\", \"createWebhook\"] },\n ],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteHook: [\n \"DELETE /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"deleteWebhook\"] },\n ],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getHook: [\n \"GET /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"getWebhook\"] },\n ],\n getMembership: [\n \"GET /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"getMembershipForUser\"] },\n ],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n list: [\"GET /organizations\"],\n listAppInstallations: [\n \"GET /orgs/{org}/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listHooks: [\n \"GET /orgs/{org}/hooks\",\n {},\n { renamed: [\"orgs\", \"listWebhooks\"] },\n ],\n listInstallations: [\n \"GET /orgs/{org}/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"orgs\", \"listAppInstallations\"] },\n ],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMemberships: [\n \"GET /user/memberships/orgs\",\n {},\n { renamed: [\"orgs\", \"listMembershipsForAuthenticatedUser\"] },\n ],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingHook: [\n \"POST /orgs/{org}/hooks/{hook_id}/pings\",\n {},\n { renamed: [\"orgs\", \"pingWebhook\"] },\n ],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n publicizeMembership: [\n \"PUT /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"setPublicMembershipForAuthenticatedUser\"] },\n ],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembership: [\n \"DELETE /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"removeMembershipForUser\"] },\n ],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\n \"DELETE /orgs/{org}/outside_collaborators/{username}\",\n ],\n removePublicMembershipForAuthenticatedUser: [\n \"DELETE /orgs/{org}/public_members/{username}\",\n ],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\n \"PUT /orgs/{org}/public_members/{username}\",\n ],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateHook: [\n \"PATCH /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"updateWebhook\"] },\n ],\n updateMembership: [\n \"PATCH /user/memberships/orgs/{org}\",\n {},\n { renamed: [\"orgs\", \"updateMembershipForAuthenticatedUser\"] },\n ],\n updateMembershipForAuthenticatedUser: [\n \"PATCH /user/memberships/orgs/{org}\",\n ],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n },\n projects: {\n addCollaborator: [\n \"PUT /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createCard: [\n \"POST /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createColumn: [\n \"POST /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForAuthenticatedUser: [\n \"POST /user/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForOrg: [\n \"POST /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForRepo: [\n \"POST /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n delete: [\n \"DELETE /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteCard: [\n \"DELETE /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteColumn: [\n \"DELETE /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n get: [\n \"GET /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getCard: [\n \"GET /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getColumn: [\n \"GET /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getPermissionForUser: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCards: [\n \"GET /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCollaborators: [\n \"GET /projects/{project_id}/collaborators\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listColumns: [\n \"GET /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForRepo: [\n \"GET /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForUser: [\n \"GET /users/{username}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveCard: [\n \"POST /projects/columns/cards/{card_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveColumn: [\n \"POST /projects/columns/{column_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n removeCollaborator: [\n \"DELETE /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n reviewUserPermissionLevel: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"projects\", \"getPermissionForUser\"] },\n ],\n update: [\n \"PATCH /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateCard: [\n \"PATCH /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateColumn: [\n \"PATCH /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n {},\n { renamed: [\"pulls\", \"createReviewComment\"] },\n ],\n createReplyForReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\",\n ],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n createReviewCommentReply: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\",\n {},\n { renamed: [\"pulls\", \"createReplyForReviewComment\"] },\n ],\n createReviewRequest: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"requestReviewers\"] },\n ],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"deleteReviewComment\"] },\n ],\n deletePendingReview: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n deleteReviewComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n deleteReviewRequest: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"removeRequestedReviewers\"] },\n ],\n dismissReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\",\n ],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"getReviewComment\"] },\n ],\n getCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n {},\n { renamed: [\"pulls\", \"listCommentsForReview\"] },\n ],\n getReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n {},\n { renamed: [\"pulls\", \"listReviewComments\"] },\n ],\n listCommentsForRepo: [\n \"GET /repos/{owner}/{repo}/pulls/comments\",\n {},\n { renamed: [\"pulls\", \"listReviewCommentsForRepo\"] },\n ],\n listCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n listReviewComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviewRequests: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"listRequestedReviewers\"] },\n ],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n requestReviewers: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n submitReview: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\",\n ],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\",\n { mediaType: { previews: [\"lydian\"] } },\n ],\n updateComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"updateReviewComment\"] },\n ],\n updateReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n updateReviewComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n },\n rateLimit: { get: [\"GET /rate_limit\"] },\n reactions: {\n createForCommitComment: [\n \"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssue: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssueComment: [\n \"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForPullRequestReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n delete: [\n \"DELETE /reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n { renamed: [\"reactions\", \"deleteLegacy\"] },\n ],\n deleteForCommitComment: [\n \"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssue: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssueComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForPullRequestComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussion: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussionComment: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteLegacy: [\n \"DELETE /reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n {\n deprecated: \"octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy\",\n },\n ],\n listForCommitComment: [\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssueComment: [\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForPullRequestReviewComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addDeployKey: [\n \"POST /repos/{owner}/{repo}/keys\",\n {},\n { renamed: [\"repos\", \"createDeployKey\"] },\n ],\n addProtectedBranchAdminEnforcement: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"setAdminBranchProtection\"] },\n ],\n addProtectedBranchAppRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"addAppAccessRestrictions\"] },\n ],\n addProtectedBranchRequiredSignatures: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"createCommitSignatureProtection\"] },\n ],\n addProtectedBranchRequiredStatusChecksContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\", renamed: [\"repos\", \"addStatusCheckContexts\"] },\n ],\n addProtectedBranchTeamRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\", renamed: [\"repos\", \"addTeamAccessRestrictions\"] },\n ],\n addProtectedBranchUserRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\", renamed: [\"repos\", \"addUserAccessRestrictions\"] },\n ],\n addStatusCheckContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n addTeamAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n addUserAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\n \"GET /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n createCommitComment: [\n \"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n createCommitSignatureProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\n \"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createHook: [\n \"POST /repos/{owner}/{repo}/hooks\",\n {},\n { renamed: [\"repos\", \"createWebhook\"] },\n ],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateFile: [\n \"PUT /repos/{owner}/{repo}/contents/{path}\",\n {},\n { renamed: [\"repos\", \"createOrUpdateFileContents\"] },\n ],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\n \"POST /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createStatus: [\n \"POST /repos/{owner}/{repo}/statuses/{sha}\",\n {},\n { renamed: [\"repos\", \"createCommitStatus\"] },\n ],\n createUsingTemplate: [\n \"POST /repos/{template_owner}/{template_repo}/generate\",\n { mediaType: { previews: [\"baptiste\"] } },\n ],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n deleteAdminBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n deleteBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\n \"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\",\n ],\n deleteDownload: [\"DELETE /repos/{owner}/{repo}/downloads/{download_id}\"],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteHook: [\n \"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"deleteWebhook\"] },\n ],\n deleteInvitation: [\n \"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n deletePagesSite: [\n \"DELETE /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n deletePullRequestReviewProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\n \"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\n \"DELETE /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n disablePagesSite: [\n \"DELETE /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n { renamed: [\"repos\", \"deletePagesSite\"] },\n ],\n disableVulnerabilityAlerts: [\n \"DELETE /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n downloadArchive: [\"GET /repos/{owner}/{repo}/{archive_format}/{ref}\"],\n enableAutomatedSecurityFixes: [\n \"PUT /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n enablePagesSite: [\n \"POST /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n { renamed: [\"repos\", \"createPagesSite\"] },\n ],\n enableVulnerabilityAlerts: [\n \"PUT /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n getAdminBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n getAllStatusCheckContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n ],\n getAllTopics: [\n \"GET /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n getAppsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n ],\n getArchiveLink: [\n \"GET /repos/{owner}/{repo}/{archive_format}/{ref}\",\n {},\n { renamed: [\"repos\", \"downloadArchive\"] },\n ],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\n \"GET /repos/{owner}/{repo}/collaborators/{username}/permission\",\n ],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContents: [\n \"GET /repos/{owner}/{repo}/contents/{path}\",\n {},\n { renamed: [\"repos\", \"getContent\"] },\n ],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\",\n ],\n getDownload: [\"GET /repos/{owner}/{repo}/downloads/{download_id}\"],\n getHook: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"getWebhook\"] },\n ],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getProtectedBranchAdminEnforcement: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"getAdminBranchProtection\"] },\n ],\n getProtectedBranchPullRequestReviewEnforcement: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"getPullRequestReviewProtection\"] },\n ],\n getProtectedBranchRequiredSignatures: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"getCommitSignatureProtection\"] },\n ],\n getProtectedBranchRequiredStatusChecks: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"getStatusChecksProtection\"] },\n ],\n getProtectedBranchRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n {},\n { renamed: [\"repos\", \"getAccessRestrictions\"] },\n ],\n getPullRequestReviewProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n getTeamsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n ],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n ],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n list: [\n \"GET /user/repos\",\n {},\n { renamed: [\"repos\", \"listForAuthenticatedUser\"] },\n ],\n listAssetsForRelease: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n {},\n { renamed: [\"repos\", \"listReleaseAssets\"] },\n ],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n listCommitComments: [\n \"GET /repos/{owner}/{repo}/comments\",\n {},\n { renamed: [\"repos\", \"listCommitCommentsForRepo\"] },\n ],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listDownloads: [\"GET /repos/{owner}/{repo}/downloads\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listHooks: [\n \"GET /repos/{owner}/{repo}/hooks\",\n {},\n { renamed: [\"repos\", \"listWebhooks\"] },\n ],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listProtectedBranchRequiredStatusChecksContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { renamed: [\"repos\", \"getAllStatusCheckContexts\"] },\n ],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listReleaseAssets: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n ],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n {},\n { renamed: [\"repos\", \"listCommitStatusesForRef\"] },\n ],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listTopics: [\n \"GET /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n { renamed: [\"repos\", \"getAllTopics\"] },\n ],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n pingHook: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\",\n {},\n { renamed: [\"repos\", \"pingWebhook\"] },\n ],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n removeAppAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n removeBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n {},\n { renamed: [\"repos\", \"deleteBranchProtection\"] },\n ],\n removeCollaborator: [\n \"DELETE /repos/{owner}/{repo}/collaborators/{username}\",\n ],\n removeDeployKey: [\n \"DELETE /repos/{owner}/{repo}/keys/{key_id}\",\n {},\n { renamed: [\"repos\", \"deleteDeployKey\"] },\n ],\n removeProtectedBranchAdminEnforcement: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"deleteAdminBranchProtection\"] },\n ],\n removeProtectedBranchAppRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"removeAppAccessRestrictions\"] },\n ],\n removeProtectedBranchPullRequestReviewEnforcement: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"deletePullRequestReviewProtection\"] },\n ],\n removeProtectedBranchRequiredSignatures: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"deleteCommitSignatureProtection\"] },\n ],\n removeProtectedBranchRequiredStatusChecks: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"removeStatusChecksProtection\"] },\n ],\n removeProtectedBranchRequiredStatusChecksContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n {\n mapToData: \"contexts\",\n renamed: [\"repos\", \"removeStatusCheckContexts\"],\n },\n ],\n removeProtectedBranchRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n {},\n { renamed: [\"repos\", \"deleteAccessRestrictions\"] },\n ],\n removeProtectedBranchTeamRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n {\n mapToData: \"teams\",\n renamed: [\"repos\", \"removeTeamAccessRestrictions\"],\n },\n ],\n removeProtectedBranchUserRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n {\n mapToData: \"users\",\n renamed: [\"repos\", \"removeUserAccessRestrictions\"],\n },\n ],\n removeStatusCheckContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n removeStatusCheckProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n removeTeamAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n removeUserAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n replaceAllTopics: [\n \"PUT /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n replaceProtectedBranchAppRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"setAppAccessRestrictions\"] },\n ],\n replaceProtectedBranchRequiredStatusChecksContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\", renamed: [\"repos\", \"setStatusCheckContexts\"] },\n ],\n replaceProtectedBranchTeamRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\", renamed: [\"repos\", \"setTeamAccessRestrictions\"] },\n ],\n replaceProtectedBranchUserRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\", renamed: [\"repos\", \"setUserAccessRestrictions\"] },\n ],\n replaceTopics: [\n \"PUT /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n { renamed: [\"repos\", \"replaceAllTopics\"] },\n ],\n requestPageBuild: [\n \"POST /repos/{owner}/{repo}/pages/builds\",\n {},\n { renamed: [\"repos\", \"requestPagesBuild\"] },\n ],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n retrieveCommunityProfileMetrics: [\n \"GET /repos/{owner}/{repo}/community/profile\",\n {},\n { renamed: [\"repos\", \"getCommunityProfileMetrics\"] },\n ],\n setAdminBranchProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n setAppAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n setStatusCheckContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n setTeamAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n setUserAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n testPushHook: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\",\n {},\n { renamed: [\"repos\", \"testPushWebhook\"] },\n ],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateHook: [\n \"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"updateWebhook\"] },\n ],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\n \"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n updateProtectedBranchPullRequestReviewEnforcement: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"updatePullRequestReviewProtection\"] },\n ],\n updateProtectedBranchRequiredStatusChecks: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"updateStatusChecksProtection\"] },\n ],\n updatePullRequestReviewProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\n \"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n updateStatusCheckPotection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n uploadReleaseAsset: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\",\n { baseUrl: \"https://uploads.github.com\" },\n ],\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\", { mediaType: { previews: [\"cloak\"] } }],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\"],\n users: [\"GET /search/users\"],\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n addOrUpdateMembershipInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"addOrUpdateMembershipForUserInOrg\"] },\n ],\n addOrUpdateProjectInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"teams\", \"addOrUpdateProjectPermissionsInOrg\"] },\n ],\n addOrUpdateProjectPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n addOrUpdateRepoInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n {},\n { renamed: [\"teams\", \"addOrUpdateRepoPermissionsInOrg\"] },\n ],\n addOrUpdateRepoPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n checkManagesRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n {},\n { renamed: [\"teams\", \"checkPermissionsForRepoInOrg\"] },\n ],\n checkPermissionsForProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n checkPermissionsForRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n deleteDiscussionInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n getDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n getMembershipForUserInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n getMembershipInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"getMembershipForUserInOrg\"] },\n ],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n ],\n listProjectsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n removeMembershipInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"removeMembershipForUserInOrg\"] },\n ],\n removeProjectInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n ],\n removeRepoInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n reviewProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"teams\", \"checkPermissionsForProjectInOrg\"] },\n ],\n updateDiscussionCommentInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n updateDiscussionInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"],\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\"],\n addEmails: [\n \"POST /user/emails\",\n {},\n { renamed: [\"users\", \"addEmailsForAuthenticated\"] },\n ],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowing: [\n \"GET /user/following/{username}\",\n {},\n { renamed: [\"users\", \"checkPersonIsFollowedByAuthenticated\"] },\n ],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKey: [\n \"POST /user/gpg_keys\",\n {},\n { renamed: [\"users\", \"createGpgKeyForAuthenticated\"] },\n ],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\"],\n createPublicKey: [\n \"POST /user/keys\",\n {},\n { renamed: [\"users\", \"createPublicSshKeyForAuthenticated\"] },\n ],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\"],\n deleteEmails: [\n \"DELETE /user/emails\",\n {},\n { renamed: [\"users\", \"deleteEmailsForAuthenticated\"] },\n ],\n deleteGpgKey: [\n \"DELETE /user/gpg_keys/{gpg_key_id}\",\n {},\n { renamed: [\"users\", \"deleteGpgKeyForAuthenticated\"] },\n ],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicKey: [\n \"DELETE /user/keys/{key_id}\",\n {},\n { renamed: [\"users\", \"deletePublicSshKeyForAuthenticated\"] },\n ],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKey: [\n \"GET /user/gpg_keys/{gpg_key_id}\",\n {},\n { renamed: [\"users\", \"getGpgKeyForAuthenticated\"] },\n ],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicKey: [\n \"GET /user/keys/{key_id}\",\n {},\n { renamed: [\"users\", \"getPublicSshKeyForAuthenticated\"] },\n ],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlocked: [\n \"GET /user/blocks\",\n {},\n { renamed: [\"users\", \"listBlockedByAuthenticated\"] },\n ],\n listBlockedByAuthenticated: [\"GET /user/blocks\"],\n listEmails: [\n \"GET /user/emails\",\n {},\n { renamed: [\"users\", \"listEmailsForAuthenticated\"] },\n ],\n listEmailsForAuthenticated: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForAuthenticatedUser: [\n \"GET /user/following\",\n {},\n { renamed: [\"users\", \"listFollowedByAuthenticated\"] },\n ],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeys: [\n \"GET /user/gpg_keys\",\n {},\n { renamed: [\"users\", \"listGpgKeysForAuthenticated\"] },\n ],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmails: [\n \"GET /user/public_emails\",\n {},\n { renamed: [\"users\", \"listPublicEmailsForAuthenticatedUser\"] },\n ],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\"],\n listPublicKeys: [\n \"GET /user/keys\",\n {},\n { renamed: [\"users\", \"listPublicSshKeysForAuthenticated\"] },\n ],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\"],\n togglePrimaryEmailVisibility: [\n \"PATCH /user/email/visibility\",\n {},\n { renamed: [\"users\", \"setPrimaryEmailVisibilityForAuthenticated\"] },\n ],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"],\n },\n};\nexport default Endpoints;\n","export const VERSION = \"3.17.0\";\n","export function endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({ method, url }, defaults);\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n const scopeMethods = newMethods[scope];\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n return newMethods;\n}\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args);\n // There are currently no other decorations than `.mapToData`\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined,\n });\n return requestWithDefaults(options);\n }\n // NOTE: there are currently no deprecations. But we keep the code\n // below for future reference\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n // There is currently no deprecated parameter that is optional,\n // so we never hit the else branch below at this point.\n /* istanbul ignore else */\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n delete options[name];\n }\n }\n return requestWithDefaults(options);\n }\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n return requestWithDefaults(...args);\n }\n return Object.assign(withDecorations, requestWithDefaults);\n}\n","import ENDPOINTS from \"./generated/endpoints\";\nimport { VERSION } from \"./version\";\nimport { endpointsToMethods } from \"./endpoints-to-methods\";\n/**\n * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary\n * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is\n * done, we will remove the registerEndpoints methods and return the methods\n * directly as with the other plugins. At that point we will also remove the\n * legacy workarounds and deprecations.\n *\n * See the plan at\n * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1\n */\nexport function restEndpointMethods(octokit) {\n return endpointsToMethods(octokit, ENDPOINTS);\n}\nrestEndpointMethods.VERSION = VERSION;\n"],"names":["ENDPOINTS"],"mappings":"AAAA,MAAM,SAAS,GAAG;AAClB,IAAI,OAAO,EAAE;AACb,QAAQ,0BAA0B,EAAE;AACpC,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,+CAA+C,CAAC;AAClF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,yDAAyD;AACrE,YAAY,EAAE;AACd,YAAY,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,yDAAyD;AACrE,YAAY,EAAE;AACd,YAAY;AACZ,gBAAgB,OAAO,EAAE,CAAC,SAAS,EAAE,0BAA0B,CAAC;AAChE,gBAAgB,iBAAiB,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;AAC1D,aAAa;AACb,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,+DAA+D;AAC3E,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,gCAAgC,CAAC,EAAE;AACtE,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,+DAA+D;AAC3E,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,yDAAyD;AACrE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,0BAA0B,CAAC,EAAE;AAChE,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,+CAA+C,CAAC;AAClF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,8DAA8D;AAC1E,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,kDAAkD,CAAC;AAC7E,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,4DAA4D;AACxE,YAAY,EAAE;AACd,YAAY,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,4DAA4D;AACxE,YAAY,EAAE;AACd,YAAY;AACZ,gBAAgB,OAAO,EAAE,CAAC,SAAS,EAAE,kBAAkB,CAAC;AACxD,gBAAgB,iBAAiB,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;AAC1D,aAAa;AACb,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,gDAAgD;AAC5D,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,sDAAsD;AAClE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,+BAA+B,CAAC,EAAE;AACrE,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,2DAA2D,CAAC;AAClF,QAAQ,oBAAoB,EAAE,CAAC,iDAAiD,CAAC;AACjF,QAAQ,eAAe,EAAE,CAAC,4CAA4C,CAAC;AACvE,QAAQ,YAAY,EAAE,CAAC,+CAA+C,CAAC;AACvE,QAAQ,YAAY,EAAE;AACtB,YAAY,sDAAsD;AAClE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,kBAAkB,CAAC,EAAE;AACxD,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,sDAAsD,CAAC;AAClF,QAAQ,aAAa,EAAE;AACvB,YAAY,yDAAyD;AACrE,YAAY,EAAE;AACd,YAAY,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,SAAS,EAAE;AACnB,YAAY,yDAAyD;AACrE,YAAY,EAAE;AACd,YAAY;AACZ,gBAAgB,OAAO,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC;AACrD,gBAAgB,iBAAiB,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;AAC1D,aAAa;AACb,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,uDAAuD;AACnE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,4BAA4B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,yBAAyB,EAAE,CAAC,6CAA6C,CAAC;AAClF,QAAQ,0BAA0B,EAAE;AACpC,YAAY,uDAAuD;AACnE,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,2DAA2D,CAAC;AAClF,QAAQ,cAAc,EAAE;AACxB,YAAY,iDAAiD;AAC7D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,sBAAsB,CAAC,EAAE;AAC5D,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,iDAAiD,CAAC;AAC3E,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,kEAAkE;AAC9E,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,6CAA6C,CAAC;AAC7E,QAAQ,2CAA2C,EAAE;AACrD,YAAY,qDAAqD;AACjE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,+BAA+B,CAAC,EAAE;AACrE,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,iCAAiC,CAAC;AAC3D,QAAQ,eAAe,EAAE,CAAC,2CAA2C,CAAC;AACtE,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,wCAAwC;AACpD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,yBAAyB,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,6CAA6C,CAAC;AAC1E,QAAQ,4BAA4B,EAAE,CAAC,2CAA2C,CAAC;AACnF,QAAQ,6BAA6B,EAAE;AACvC,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,2CAA2C;AACvD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,iBAAiB,CAAC,EAAE;AACvD,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,2BAA2B,EAAE,CAAC,iCAAiC,CAAC;AACxE,QAAQ,4BAA4B,EAAE,CAAC,2CAA2C,CAAC;AACnF,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,sDAAsD;AAClE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,yBAAyB,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,sDAAsD;AAClE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,yBAAyB,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,wCAAwC,CAAC;AAC3E,QAAQ,aAAa,EAAE,CAAC,wDAAwD,CAAC;AACjF,QAAQ,+BAA+B,EAAE;AACzC,YAAY,+EAA+E;AAC3F,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,0DAA0D;AACtE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,gCAAgC,CAAC,EAAE;AACtE,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,4DAA4D;AACxE,SAAS;AACT,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,qCAAqC,EAAE,CAAC,kCAAkC,CAAC;AACnF,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,kCAAkC;AAC9C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,uCAAuC,CAAC,EAAE;AAC9E,SAAS;AACT,QAAQ,sBAAsB,EAAE,CAAC,2CAA2C,CAAC;AAC7E,QAAQ,wBAAwB,EAAE;AAClC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,QAAQ,EAAE,CAAC,YAAY,CAAC;AAChC,QAAQ,mBAAmB,EAAE,CAAC,wCAAwC,CAAC;AACvE,QAAQ,SAAS,EAAE,CAAC,wCAAwC,CAAC;AAC7D,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,oBAAoB;AAChC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,2CAA2C,CAAC,EAAE;AAClF,SAAS;AACT,QAAQ,yCAAyC,EAAE;AACnD,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,8BAA8B,EAAE,CAAC,8BAA8B,CAAC;AACxE,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,yCAAyC;AACrD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,mCAAmC,CAAC,EAAE;AAC1E,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,8BAA8B;AAC1C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,gCAAgC,CAAC,EAAE;AACvE,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,YAAY,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC;AAC5E,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,oBAAoB;AAChC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,uCAAuC,CAAC,EAAE;AAC9E,SAAS;AACT,QAAQ,qCAAqC,EAAE,CAAC,oBAAoB,CAAC;AACrE,QAAQ,wBAAwB,EAAE;AAClC,YAAY,yCAAyC;AACrD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,2CAA2C,CAAC,EAAE;AAClF,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,yCAAyC;AACrD,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,aAAa,CAAC;AACzC,QAAQ,sBAAsB,EAAE;AAChC,YAAY,wBAAwB;AACpC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,qBAAqB,CAAC,EAAE;AAC5D,SAAS;AACT,QAAQ,8BAA8B,EAAE,CAAC,qCAAqC,CAAC;AAC/E,QAAQ,uBAAuB,EAAE,CAAC,qCAAqC,CAAC;AACxE,QAAQ,mBAAmB,EAAE,CAAC,wBAAwB,CAAC;AACvD,QAAQ,yBAAyB,EAAE,CAAC,uCAAuC,CAAC;AAC5E,QAAQ,+BAA+B,EAAE;AACzC,YAAY,8CAA8C;AAC1D,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,kCAAkC,CAAC;AAC5D,QAAQ,yCAAyC,EAAE;AACnD,YAAY,yCAAyC;AACrD,SAAS;AACT,QAAQ,mCAAmC,EAAE,CAAC,mBAAmB,CAAC;AAClE,QAAQ,sBAAsB,EAAE,CAAC,+BAA+B,CAAC;AACjE,QAAQ,sBAAsB,EAAE,CAAC,qCAAqC,CAAC;AACvE,QAAQ,qBAAqB,EAAE,CAAC,sCAAsC,CAAC;AACvE,QAAQ,oCAAoC,EAAE,CAAC,yBAAyB,CAAC;AACzE,QAAQ,mBAAmB,EAAE,CAAC,uCAAuC,CAAC;AACtE,QAAQ,UAAU,EAAE;AACpB,YAAY,oBAAoB;AAChC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,yBAAyB,CAAC,EAAE;AAChE,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,oBAAoB,CAAC;AACvD,QAAQ,8BAA8B,EAAE;AACxC,YAAY,yCAAyC;AACrD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,6BAA6B,CAAC,EAAE;AACpE,SAAS;AACT,QAAQ,2BAA2B,EAAE,CAAC,yCAAyC,CAAC;AAChF,QAAQ,gBAAgB,EAAE,CAAC,0CAA0C,CAAC;AACtE,QAAQ,mBAAmB,EAAE,CAAC,wCAAwC,CAAC;AACvE,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,QAAQ,EAAE;AAClB,YAAY,kCAAkC;AAC9C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,8BAA8B,CAAC,EAAE;AACrE,SAAS;AACT,QAAQ,4BAA4B,EAAE,CAAC,kCAAkC,CAAC;AAC1E,QAAQ,UAAU,EAAE;AACpB,YAAY,qCAAqC;AACjD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,gCAAgC,CAAC,EAAE;AACvE,SAAS;AACT,QAAQ,8BAA8B,EAAE,CAAC,qCAAqC,CAAC;AAC/E,KAAK;AACL,IAAI,IAAI,EAAE;AACV,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,wEAAwE;AACpF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,gDAAgD;AAC5D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,+BAA+B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,sCAAsC,EAAE;AAChD,YAAY,wDAAwD;AACpE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,sCAAsC,CAAC,EAAE;AACzE,SAAS;AACT,QAAQ,UAAU,EAAE,CAAC,sCAAsC,CAAC;AAC5D,QAAQ,uBAAuB,EAAE;AACjC,YAAY,6DAA6D;AACzE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,kBAAkB,EAAE,CAAC,wCAAwC,CAAC;AACtE,QAAQ,6BAA6B,EAAE;AACvC,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,+BAA+B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,wCAAwC,CAAC;AACvE,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,6CAA6C;AACzD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,wCAAwC,CAAC;AAC/D,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,UAAU;AACtB,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,SAAS,EAAE;AACnB,YAAY,sBAAsB;AAClC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,8BAA8B;AAC1C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,wCAAwC;AACpD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,gDAAgD;AAC5D,SAAS;AACT,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,mDAAmD,CAAC;AAClF,QAAQ,0BAA0B,EAAE;AACpC,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,mDAAmD;AAC/D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,qBAAqB,CAAC,EAAE;AACxD,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,2DAA2D;AACvE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,4BAA4B,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,yCAAyC,EAAE;AACnD,YAAY,wDAAwD;AACpE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,wBAAwB;AACpC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,yBAAyB;AACrC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,4CAA4C,EAAE;AACtD,YAAY,iCAAiC;AAC7C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,uCAAuC,CAAC,EAAE;AAC1E,SAAS;AACT,QAAQ,mDAAmD,EAAE;AAC7D,YAAY,yCAAyC;AACrD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,8CAA8C,CAAC,EAAE;AACjF,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,gCAAgC,CAAC;AACrD,QAAQ,gBAAgB,EAAE,CAAC,wCAAwC,CAAC;AACpE,QAAQ,SAAS,EAAE;AACnB,YAAY,gCAAgC;AAC5C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,mCAAmC,CAAC,EAAE;AACtE,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,gCAAgC;AAC5C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,qCAAqC,EAAE,CAAC,iCAAiC,CAAC;AAClF,QAAQ,4CAA4C,EAAE;AACtD,YAAY,yCAAyC;AACrD,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,2EAA2E;AACvF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,UAAU,EAAE,CAAC,uCAAuC,CAAC;AAC7D,QAAQ,6BAA6B,EAAE,CAAC,4BAA4B,CAAC;AACrE,QAAQ,uBAAuB,EAAE;AACjC,YAAY,4BAA4B;AACxC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,+BAA+B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,oDAAoD,CAAC;AACnF,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,uDAAuD;AACnE,SAAS;AACT,KAAK;AACL,IAAI,MAAM,EAAE;AACZ,QAAQ,MAAM,EAAE;AAChB,YAAY,uCAAuC;AACnD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,yCAAyC;AACrD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,GAAG,EAAE;AACb,YAAY,qDAAqD;AACjE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,QAAQ,EAAE;AAClB,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,iEAAiE;AAC7E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,oDAAoD;AAChE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,oEAAoE;AAChF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,sDAAsD;AAClE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,oEAAoE;AAChF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,sDAAsD;AAClE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,MAAM,EAAE;AAChB,YAAY,uDAAuD;AACnE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,KAAK;AACL,IAAI,YAAY,EAAE;AAClB,QAAQ,QAAQ,EAAE,CAAC,2DAA2D,CAAC;AAC/E,QAAQ,iBAAiB,EAAE,CAAC,gDAAgD,CAAC;AAC7E,KAAK;AACL,IAAI,cAAc,EAAE;AACpB,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,uBAAuB;AACnC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,6BAA6B;AACzC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,qDAAqD;AACjE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,uBAAuB;AACnC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,YAAY,EAAE,OAAO,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,EAAE;AACnE,SAAS;AACT,KAAK;AACL,IAAI,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,EAAE;AACpC,IAAI,KAAK,EAAE;AACX,QAAQ,cAAc,EAAE,CAAC,2BAA2B,CAAC;AACrD,QAAQ,MAAM,EAAE,CAAC,aAAa,CAAC;AAC/B,QAAQ,aAAa,EAAE,CAAC,gCAAgC,CAAC;AACzD,QAAQ,MAAM,EAAE,CAAC,yBAAyB,CAAC;AAC3C,QAAQ,aAAa,EAAE,CAAC,+CAA+C,CAAC;AACxE,QAAQ,IAAI,EAAE,CAAC,6BAA6B,CAAC;AAC7C,QAAQ,GAAG,EAAE,CAAC,sBAAsB,CAAC;AACrC,QAAQ,UAAU,EAAE,CAAC,4CAA4C,CAAC;AAClE,QAAQ,WAAW,EAAE,CAAC,4BAA4B,CAAC;AACnD,QAAQ,IAAI,EAAE,CAAC,YAAY,CAAC;AAC5B,QAAQ,YAAY,EAAE,CAAC,+BAA+B,CAAC;AACvD,QAAQ,WAAW,EAAE,CAAC,8BAA8B,CAAC;AACrD,QAAQ,WAAW,EAAE,CAAC,6BAA6B,CAAC;AACpD,QAAQ,SAAS,EAAE,CAAC,4BAA4B,CAAC;AACjD,QAAQ,UAAU,EAAE,CAAC,mBAAmB,CAAC;AACzC,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,6BAA6B;AACzC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC,EAAE;AACjD,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,oBAAoB,CAAC;AAC3C,QAAQ,IAAI,EAAE,CAAC,2BAA2B,CAAC;AAC3C,QAAQ,MAAM,EAAE,CAAC,8BAA8B,CAAC;AAChD,QAAQ,MAAM,EAAE,CAAC,wBAAwB,CAAC;AAC1C,QAAQ,aAAa,EAAE,CAAC,8CAA8C,CAAC;AACvE,KAAK;AACL,IAAI,GAAG,EAAE;AACT,QAAQ,UAAU,EAAE,CAAC,sCAAsC,CAAC;AAC5D,QAAQ,YAAY,EAAE,CAAC,wCAAwC,CAAC;AAChE,QAAQ,SAAS,EAAE,CAAC,qCAAqC,CAAC;AAC1D,QAAQ,SAAS,EAAE,CAAC,qCAAqC,CAAC;AAC1D,QAAQ,UAAU,EAAE,CAAC,sCAAsC,CAAC;AAC5D,QAAQ,SAAS,EAAE,CAAC,6CAA6C,CAAC;AAClE,QAAQ,OAAO,EAAE,CAAC,gDAAgD,CAAC;AACnE,QAAQ,SAAS,EAAE,CAAC,oDAAoD,CAAC;AACzE,QAAQ,MAAM,EAAE,CAAC,yCAAyC,CAAC;AAC3D,QAAQ,MAAM,EAAE,CAAC,8CAA8C,CAAC;AAChE,QAAQ,OAAO,EAAE,CAAC,gDAAgD,CAAC;AACnE,QAAQ,gBAAgB,EAAE,CAAC,mDAAmD,CAAC;AAC/E,QAAQ,SAAS,EAAE,CAAC,4CAA4C,CAAC;AACjE,KAAK;AACL,IAAI,SAAS,EAAE;AACf,QAAQ,eAAe,EAAE,CAAC,0BAA0B,CAAC;AACrD,QAAQ,WAAW,EAAE,CAAC,iCAAiC,CAAC;AACxD,QAAQ,aAAa,EAAE;AACvB,YAAY,0BAA0B;AACtC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC,EAAE;AACzD,SAAS;AACT,KAAK;AACL,IAAI,YAAY,EAAE;AAClB,QAAQ,6BAA6B,EAAE;AACvC,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,YAAY,EAAE,OAAO,EAAE,CAAC,cAAc,EAAE,uBAAuB,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,8CAA8C;AAC1D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,YAAY,EAAE,OAAO,EAAE,CAAC,cAAc,EAAE,wBAAwB,CAAC,EAAE;AACnE,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,8CAA8C;AAC1D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,uCAAuC;AACnD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,iDAAiD;AAC7D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,8CAA8C;AAC1D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,KAAK;AACL,IAAI,MAAM,EAAE;AACZ,QAAQ,YAAY,EAAE;AACtB,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,yDAAyD,CAAC;AAC9E,QAAQ,aAAa,EAAE;AACvB,YAAY,gDAAgD;AAC5D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,QAAQ,EAAE,wBAAwB,CAAC,EAAE;AAC7D,SAAS;AACT,QAAQ,sBAAsB,EAAE,CAAC,gDAAgD,CAAC;AAClF,QAAQ,MAAM,EAAE,CAAC,mCAAmC,CAAC;AACrD,QAAQ,aAAa,EAAE;AACvB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,mCAAmC,CAAC;AAC1D,QAAQ,eAAe,EAAE,CAAC,uCAAuC,CAAC;AAClE,QAAQ,aAAa,EAAE;AACvB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,4CAA4C,CAAC;AACnE,QAAQ,eAAe,EAAE;AACzB,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,GAAG,EAAE,CAAC,iDAAiD,CAAC;AAChE,QAAQ,UAAU,EAAE,CAAC,wDAAwD,CAAC;AAC9E,QAAQ,QAAQ,EAAE,CAAC,oDAAoD,CAAC;AACxE,QAAQ,QAAQ,EAAE,CAAC,yCAAyC,CAAC;AAC7D,QAAQ,YAAY,EAAE,CAAC,yDAAyD,CAAC;AACjF,QAAQ,IAAI,EAAE,CAAC,aAAa,CAAC;AAC7B,QAAQ,aAAa,EAAE,CAAC,qCAAqC,CAAC;AAC9D,QAAQ,YAAY,EAAE,CAAC,0DAA0D,CAAC;AAClF,QAAQ,mBAAmB,EAAE,CAAC,2CAA2C,CAAC;AAC1E,QAAQ,UAAU,EAAE,CAAC,wDAAwD,CAAC;AAC9E,QAAQ,iBAAiB,EAAE,CAAC,yCAAyC,CAAC;AACtE,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,0DAA0D;AACtE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,wBAAwB,EAAE,CAAC,kBAAkB,CAAC;AACtD,QAAQ,UAAU,EAAE,CAAC,wBAAwB,CAAC;AAC9C,QAAQ,WAAW,EAAE,CAAC,kCAAkC,CAAC;AACzD,QAAQ,sBAAsB,EAAE;AAChC,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,kCAAkC,CAAC;AAC/D,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,sCAAsC,CAAC;AAChE,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,sCAAsC;AAClD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,QAAQ,EAAE,gBAAgB,CAAC,EAAE;AACrD,SAAS;AACT,QAAQ,IAAI,EAAE,CAAC,sDAAsD,CAAC;AACtE,QAAQ,eAAe,EAAE;AACzB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,8DAA8D;AAC1E,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,kEAAkE;AAC9E,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,2DAA2D;AACvE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC,EAAE;AACtD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,wDAAwD;AACpE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC,EAAE;AAChD,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,wDAAwD;AACpE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,QAAQ,EAAE,kBAAkB,CAAC,EAAE;AACvD,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,wDAAwD,CAAC;AAC7E,QAAQ,MAAM,EAAE,CAAC,yDAAyD,CAAC;AAC3E,QAAQ,MAAM,EAAE,CAAC,mDAAmD,CAAC;AACrE,QAAQ,aAAa,EAAE,CAAC,0DAA0D,CAAC;AACnF,QAAQ,WAAW,EAAE,CAAC,2CAA2C,CAAC;AAClE,QAAQ,eAAe,EAAE;AACzB,YAAY,2DAA2D;AACvE,SAAS;AACT,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,GAAG,EAAE,CAAC,yBAAyB,CAAC;AACxC,QAAQ,kBAAkB,EAAE,CAAC,eAAe,CAAC;AAC7C,QAAQ,UAAU,EAAE,CAAC,mCAAmC,CAAC;AACzD,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,eAAe;AAC3B,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,oBAAoB,CAAC,EAAE;AAC3D,SAAS;AACT,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,MAAM,EAAE,CAAC,gBAAgB,CAAC;AAClC,QAAQ,SAAS,EAAE;AACnB,YAAY,oBAAoB;AAChC,YAAY,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,2BAA2B,EAAE,EAAE;AACxE,SAAS;AACT,KAAK;AACL,IAAI,IAAI,EAAE,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE;AAChC,IAAI,UAAU,EAAE;AAChB,QAAQ,YAAY,EAAE,CAAC,qCAAqC,CAAC;AAC7D,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,gDAAgD;AAC5D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,sDAAsD;AAClE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,mDAAmD;AAC/D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,6CAA6C;AACzD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,0CAA0C,CAAC;AACtE,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,kCAAkC;AAC9C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC,EAAE;AAC1D,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,kCAAkC,CAAC;AAC7D,QAAQ,aAAa,EAAE,CAAC,8CAA8C,CAAC;AACvE,QAAQ,6BAA6B,EAAE;AACvC,YAAY,qCAAqC;AACjD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,2CAA2C;AACvD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,sBAAsB;AAClC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,4BAA4B;AACxC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,wDAAwD;AACpE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,uCAAuC;AACnD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,wDAAwD,CAAC;AACnF,QAAQ,gBAAgB,EAAE,CAAC,wCAAwC,CAAC;AACpE,QAAQ,yBAAyB,EAAE,CAAC,uBAAuB,CAAC;AAC5D,QAAQ,WAAW,EAAE,CAAC,6BAA6B,CAAC;AACpD,QAAQ,WAAW,EAAE,CAAC,kCAAkC,CAAC;AACzD,QAAQ,8BAA8B,EAAE;AACxC,YAAY,+DAA+D;AAC3E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,qEAAqE;AACjF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,oCAAoC,CAAC;AAC5D,KAAK;AACL,IAAI,IAAI,EAAE;AACV,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,wCAAwC;AACpD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,sBAAsB,CAAC,EAAE;AACzD,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,mCAAmC,CAAC;AACxD,QAAQ,gBAAgB,EAAE,CAAC,mCAAmC,CAAC;AAC/D,QAAQ,eAAe,EAAE;AACzB,YAAY,oCAAoC;AAChD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,wBAAwB,CAAC,EAAE;AAC3D,SAAS;AACT,QAAQ,sBAAsB,EAAE,CAAC,oCAAoC,CAAC;AACtE,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,2CAA2C;AACvD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,8BAA8B,CAAC,EAAE;AACjE,SAAS;AACT,QAAQ,4BAA4B,EAAE,CAAC,2CAA2C,CAAC;AACnF,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,8CAA8C;AAC1D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,4CAA4C,CAAC,EAAE;AAC/E,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,kDAAkD;AAC9D,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,wBAAwB;AACpC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC,EAAE;AAClD,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,8BAA8B,CAAC;AAC1D,QAAQ,aAAa,EAAE,CAAC,wBAAwB,CAAC;AACjD,QAAQ,UAAU,EAAE;AACpB,YAAY,oCAAoC;AAChD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC,EAAE;AAClD,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,oCAAoC,CAAC;AAC7D,QAAQ,GAAG,EAAE,CAAC,iBAAiB,CAAC;AAChC,QAAQ,OAAO,EAAE;AACjB,YAAY,iCAAiC;AAC7C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE;AAC/C,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,wCAAwC;AACpD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,sBAAsB,CAAC,EAAE;AACzD,SAAS;AACT,QAAQ,iCAAiC,EAAE,CAAC,kCAAkC,CAAC;AAC/E,QAAQ,oBAAoB,EAAE,CAAC,wCAAwC,CAAC;AACxE,QAAQ,UAAU,EAAE,CAAC,iCAAiC,CAAC;AACvD,QAAQ,IAAI,EAAE,CAAC,oBAAoB,CAAC;AACpC,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,+BAA+B;AAC3C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,wBAAwB,CAAC;AACpD,QAAQ,wBAAwB,EAAE,CAAC,gBAAgB,CAAC;AACpD,QAAQ,WAAW,EAAE,CAAC,4BAA4B,CAAC;AACnD,QAAQ,SAAS,EAAE;AACnB,YAAY,uBAAuB;AACnC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC,EAAE;AACjD,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,+BAA+B;AAC3C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,sBAAsB,CAAC,EAAE;AACzD,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,mDAAmD,CAAC;AAClF,QAAQ,WAAW,EAAE,CAAC,yBAAyB,CAAC;AAChD,QAAQ,eAAe,EAAE;AACzB,YAAY,4BAA4B;AACxC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,qCAAqC,CAAC,EAAE;AACxE,SAAS;AACT,QAAQ,mCAAmC,EAAE,CAAC,4BAA4B,CAAC;AAC3E,QAAQ,wBAAwB,EAAE,CAAC,uCAAuC,CAAC;AAC3E,QAAQ,sBAAsB,EAAE,CAAC,6BAA6B,CAAC;AAC/D,QAAQ,iBAAiB,EAAE,CAAC,gCAAgC,CAAC;AAC7D,QAAQ,YAAY,EAAE,CAAC,uBAAuB,CAAC;AAC/C,QAAQ,QAAQ,EAAE;AAClB,YAAY,wCAAwC;AACpD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE;AAChD,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,wCAAwC,CAAC;AAC/D,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,2CAA2C;AACvD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,yCAAyC,CAAC,EAAE;AAC5E,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,uCAAuC,CAAC;AAC/D,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,2CAA2C;AACvD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,yBAAyB,CAAC,EAAE;AAC5D,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,2CAA2C,CAAC;AAC9E,QAAQ,yBAAyB,EAAE;AACnC,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,0CAA0C,EAAE;AACpD,YAAY,8CAA8C;AAC1D,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,wCAAwC,CAAC;AACxE,QAAQ,uCAAuC,EAAE;AACjD,YAAY,2CAA2C;AACvD,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,sCAAsC,CAAC;AAC7D,QAAQ,MAAM,EAAE,CAAC,mBAAmB,CAAC;AACrC,QAAQ,UAAU,EAAE;AACpB,YAAY,mCAAmC;AAC/C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC,EAAE;AAClD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,oCAAoC;AAChD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,sCAAsC,CAAC,EAAE;AACzE,SAAS;AACT,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,oCAAoC;AAChD,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,mCAAmC,CAAC;AAC5D,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,eAAe,EAAE;AACzB,YAAY,qDAAqD;AACjE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,qCAAqC;AACjD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,qBAAqB;AACjC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,2BAA2B;AACvC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,qCAAqC;AACjD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,MAAM,EAAE;AAChB,YAAY,+BAA+B;AAC3C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,sCAAsC;AAClD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,GAAG,EAAE;AACb,YAAY,4BAA4B;AACxC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,OAAO,EAAE;AACjB,YAAY,uCAAuC;AACnD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,SAAS,EAAE;AACnB,YAAY,mCAAmC;AAC/C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,gEAAgE;AAC5E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,SAAS,EAAE;AACnB,YAAY,yCAAyC;AACrD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,0BAA0B;AACtC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,gCAAgC;AAC5C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,QAAQ,EAAE;AAClB,YAAY,8CAA8C;AAC1D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,wDAAwD;AACpE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,gEAAgE;AAC5E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,sBAAsB,CAAC,EAAE;AAC7D,SAAS;AACT,QAAQ,MAAM,EAAE;AAChB,YAAY,8BAA8B;AAC1C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,yCAAyC;AACrD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,qCAAqC;AACjD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,aAAa,EAAE,CAAC,qDAAqD,CAAC;AAC9E,QAAQ,MAAM,EAAE,CAAC,kCAAkC,CAAC;AACpD,QAAQ,aAAa,EAAE;AACvB,YAAY,yDAAyD;AACrE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,qBAAqB,CAAC,EAAE;AACzD,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,8EAA8E;AAC1F,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,wDAAwD,CAAC;AAChF,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,8EAA8E;AAC1F,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,EAAE;AACjE,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,oEAAoE;AAChF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,EAAE;AACtD,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,0DAA0D;AACtE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,qBAAqB,CAAC,EAAE;AACzD,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,sEAAsE;AAClF,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,sEAAsE;AAClF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;AAC9D,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,8EAA8E;AAC1F,SAAS;AACT,QAAQ,GAAG,EAAE,CAAC,+CAA+C,CAAC;AAC9D,QAAQ,UAAU,EAAE;AACpB,YAAY,uDAAuD;AACnE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,EAAE;AACtD,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,4EAA4E;AACxF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,uBAAuB,CAAC,EAAE;AAC3D,SAAS;AACT,QAAQ,SAAS,EAAE;AACnB,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,uDAAuD,CAAC;AACnF,QAAQ,IAAI,EAAE,CAAC,iCAAiC,CAAC;AACjD,QAAQ,YAAY,EAAE;AACtB,YAAY,wDAAwD;AACpE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,CAAC,EAAE;AACxD,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,0CAA0C;AACtD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,uDAAuD,CAAC;AAC9E,QAAQ,SAAS,EAAE,CAAC,qDAAqD,CAAC;AAC1E,QAAQ,sBAAsB,EAAE;AAChC,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,yBAAyB,EAAE,CAAC,0CAA0C,CAAC;AAC/E,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,mEAAmE;AAC/E,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,wBAAwB,CAAC,EAAE;AAC5D,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,uDAAuD,CAAC;AAC9E,QAAQ,KAAK,EAAE,CAAC,qDAAqD,CAAC;AACtE,QAAQ,wBAAwB,EAAE;AAClC,YAAY,sEAAsE;AAClF,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,oEAAoE;AAChF,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,2EAA2E;AACvF,SAAS;AACT,QAAQ,MAAM,EAAE,CAAC,iDAAiD,CAAC;AACnE,QAAQ,YAAY,EAAE;AACtB,YAAY,6DAA6D;AACzE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,yDAAyD;AACrE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,qBAAqB,CAAC,EAAE;AACzD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,yDAAyD;AACrE,SAAS;AACT,KAAK;AACL,IAAI,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,EAAE;AAC3C,IAAI,SAAS,EAAE;AACf,QAAQ,sBAAsB,EAAE;AAChC,YAAY,4DAA4D;AACxE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,4DAA4D;AACxE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,mEAAmE;AAC/E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,kEAAkE;AAC9E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,mCAAmC,EAAE;AAC7C,YAAY,wGAAwG;AACpH,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,8EAA8E;AAC1F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,MAAM,EAAE;AAChB,YAAY,iCAAiC;AAC7C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,YAAY,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,cAAc,CAAC,EAAE;AACtD,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,4EAA4E;AACxF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,4EAA4E;AACxF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,mFAAmF;AAC/F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,kFAAkF;AAC9F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,8FAA8F;AAC1G,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,wHAAwH;AACpI,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,iCAAiC;AAC7C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,YAAY;AACZ,gBAAgB,UAAU,EAAE,yHAAyH;AACrJ,aAAa;AACb,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,2DAA2D;AACvE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,2DAA2D;AACvE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,kEAAkE;AAC9E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,iEAAiE;AAC7E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,uGAAuG;AACnH,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,6EAA6E;AACzF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,gBAAgB,EAAE,CAAC,oDAAoD,CAAC;AAChF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE;AACjC,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,oDAAoD,CAAC;AAC/E,QAAQ,YAAY,EAAE;AACtB,YAAY,iCAAiC;AAC7C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,EAAE;AACrD,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,wEAAwE;AACpF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;AAC9D,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;AACjF,SAAS;AACT,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,6EAA6E;AACzF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iCAAiC,CAAC,EAAE;AACrE,SAAS;AACT,QAAQ,8CAA8C,EAAE;AACxD,YAAY,yFAAyF;AACrG,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,wBAAwB,CAAC,EAAE;AACnF,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,4EAA4E;AACxF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AACnF,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,4EAA4E;AACxF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AACnF,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,yFAAyF;AACrG,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE;AACrC,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,4EAA4E;AACxF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,4EAA4E;AACxF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,oDAAoD,CAAC;AACjF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,gDAAgD;AAC5D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,mDAAmD,CAAC;AAC7E,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,6EAA6E;AACzF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,kBAAkB,EAAE,CAAC,2CAA2C,CAAC;AACzE,QAAQ,eAAe,EAAE,CAAC,iCAAiC,CAAC;AAC5D,QAAQ,gBAAgB,EAAE,CAAC,wCAAwC,CAAC;AACpE,QAAQ,sBAAsB,EAAE;AAChC,YAAY,iEAAiE;AAC7E,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,uCAAuC,CAAC;AACtE,QAAQ,0BAA0B,EAAE,CAAC,kBAAkB,CAAC;AACxD,QAAQ,UAAU,EAAE,CAAC,kCAAkC,CAAC;AACxD,QAAQ,UAAU,EAAE;AACpB,YAAY,kCAAkC;AAC9C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC,EAAE;AACnD,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,wBAAwB,CAAC;AAC/C,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,2CAA2C;AACvD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,4BAA4B,CAAC,EAAE;AAChE,SAAS;AACT,QAAQ,0BAA0B,EAAE,CAAC,2CAA2C,CAAC;AACjF,QAAQ,eAAe,EAAE;AACzB,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;AACvD,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,qCAAqC,CAAC;AAC9D,QAAQ,YAAY,EAAE;AACtB,YAAY,2CAA2C;AACvD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,CAAC,EAAE;AACxD,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,uDAAuD;AACnE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE;AACrD,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,kCAAkC,CAAC;AAC3D,QAAQ,iBAAiB,EAAE,CAAC,qDAAqD,CAAC;AAClF,QAAQ,MAAM,EAAE,CAAC,8BAA8B,CAAC;AAChD,QAAQ,wBAAwB,EAAE;AAClC,YAAY,wEAAwE;AACpF,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,0EAA0E;AACtF,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,oDAAoD,CAAC;AACnF,QAAQ,+BAA+B,EAAE;AACzC,YAAY,+EAA+E;AAC3F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,4CAA4C,CAAC;AACvE,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,sDAAsD,CAAC;AAChF,QAAQ,UAAU,EAAE,CAAC,8CAA8C,CAAC;AACpE,QAAQ,UAAU,EAAE;AACpB,YAAY,8CAA8C;AAC1D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC,EAAE;AACnD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;AACvD,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,yFAAyF;AACrG,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,oDAAoD,CAAC;AAC7E,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,8CAA8C,CAAC;AACvE,QAAQ,6BAA6B,EAAE;AACvC,YAAY,uDAAuD;AACnE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;AACvD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,EAAE;AACrD,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,mDAAmD;AAC/D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,kDAAkD,CAAC;AAC7E,QAAQ,4BAA4B,EAAE;AACtC,YAAY,oDAAoD;AAChE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;AACvD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,EAAE;AACrD,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,gDAAgD;AAC5D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,GAAG,EAAE,CAAC,2BAA2B,CAAC;AAC1C,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,qEAAqE;AACjF,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,uEAAuE;AACnF,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,wFAAwF;AACpG,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,0EAA0E;AACtF,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,kDAAkD;AAC9D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,EAAE;AACrD,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,6CAA6C,CAAC;AAClE,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,0CAA0C,CAAC;AAC/D,QAAQ,qBAAqB,EAAE,CAAC,gDAAgD,CAAC;AACjF,QAAQ,8BAA8B,EAAE;AACxC,YAAY,+DAA+D;AAC3E,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,gDAAgD,CAAC;AACnF,QAAQ,SAAS,EAAE,CAAC,yCAAyC,CAAC;AAC9D,QAAQ,sBAAsB,EAAE,CAAC,iDAAiD,CAAC;AACnF,QAAQ,gBAAgB,EAAE,CAAC,iDAAiD,CAAC;AAC7E,QAAQ,4BAA4B,EAAE;AACtC,YAAY,4EAA4E;AACxF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,0BAA0B,EAAE,CAAC,6CAA6C,CAAC;AACnF,QAAQ,UAAU,EAAE,CAAC,2CAA2C,CAAC;AACjE,QAAQ,WAAW,EAAE;AACrB,YAAY,2CAA2C;AACvD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE;AAChD,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,8CAA8C,CAAC;AAC9E,QAAQ,YAAY,EAAE,CAAC,yCAAyC,CAAC;AACjE,QAAQ,aAAa,EAAE,CAAC,uDAAuD,CAAC;AAChF,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,mDAAmD,CAAC;AAC1E,QAAQ,OAAO,EAAE;AACjB,YAAY,2CAA2C;AACvD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE;AAChD,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,+CAA+C,CAAC;AAC9E,QAAQ,gBAAgB,EAAE,CAAC,2CAA2C,CAAC;AACvE,QAAQ,QAAQ,EAAE,CAAC,iCAAiC,CAAC;AACrD,QAAQ,aAAa,EAAE,CAAC,mDAAmD,CAAC;AAC5E,QAAQ,qBAAqB,EAAE,CAAC,+CAA+C,CAAC;AAChF,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,uEAAuE;AACnF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;AAC9D,SAAS;AACT,QAAQ,8CAA8C,EAAE;AACxD,YAAY,sFAAsF;AAClG,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,gCAAgC,CAAC,EAAE;AACpE,SAAS;AACT,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,4EAA4E;AACxF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,sCAAsC,EAAE;AAChD,YAAY,+EAA+E;AAC3F,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,qEAAqE;AACjF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,uBAAuB,CAAC,EAAE;AAC3D,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,sFAAsF;AAClG,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,4CAA4C,CAAC;AACzE,QAAQ,SAAS,EAAE,CAAC,kCAAkC,CAAC;AACvD,QAAQ,UAAU,EAAE,CAAC,iDAAiD,CAAC;AACvE,QAAQ,eAAe,EAAE,CAAC,sDAAsD,CAAC;AACjF,QAAQ,eAAe,EAAE,CAAC,+CAA+C,CAAC;AAC1E,QAAQ,yBAAyB,EAAE;AACnC,YAAY,+EAA+E;AAC3F,SAAS;AACT,QAAQ,mCAAmC,EAAE;AAC7C,YAAY,2EAA2E;AACvF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,iDAAiD,CAAC;AACxE,QAAQ,eAAe,EAAE,CAAC,qDAAqD,CAAC;AAChF,QAAQ,mCAAmC,EAAE;AAC7C,YAAY,2EAA2E;AACvF,SAAS;AACT,QAAQ,QAAQ,EAAE,CAAC,yCAAyC,CAAC;AAC7D,QAAQ,UAAU,EAAE,CAAC,2CAA2C,CAAC;AACjE,QAAQ,IAAI,EAAE;AACd,YAAY,iBAAiB;AAC7B,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;AAC9D,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,wDAAwD;AACpE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,mBAAmB,CAAC,EAAE;AACvD,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,oCAAoC,CAAC;AAC5D,QAAQ,yBAAyB,EAAE;AACnC,YAAY,oEAAoE;AAChF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,yCAAyC,CAAC;AACtE,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,oCAAoC;AAChD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,yBAAyB,EAAE,CAAC,oCAAoC,CAAC;AACzE,QAAQ,wBAAwB,EAAE;AAClC,YAAY,kDAAkD;AAC9D,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,mCAAmC,CAAC;AAC1D,QAAQ,gBAAgB,EAAE,CAAC,wCAAwC,CAAC;AACpE,QAAQ,cAAc,EAAE,CAAC,gCAAgC,CAAC;AAC1D,QAAQ,sBAAsB,EAAE;AAChC,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,uCAAuC,CAAC;AAClE,QAAQ,aAAa,EAAE,CAAC,qCAAqC,CAAC;AAC9D,QAAQ,wBAAwB,EAAE,CAAC,iBAAiB,CAAC;AACrD,QAAQ,UAAU,EAAE,CAAC,uBAAuB,CAAC;AAC7C,QAAQ,WAAW,EAAE,CAAC,6BAA6B,CAAC;AACpD,QAAQ,SAAS,EAAE,CAAC,iCAAiC,CAAC;AACtD,QAAQ,SAAS,EAAE;AACnB,YAAY,iCAAiC;AAC7C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,EAAE;AAClD,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,uCAAuC,CAAC;AAClE,QAAQ,mCAAmC,EAAE,CAAC,kCAAkC,CAAC;AACjF,QAAQ,aAAa,EAAE,CAAC,qCAAqC,CAAC;AAC9D,QAAQ,eAAe,EAAE,CAAC,wCAAwC,CAAC;AACnE,QAAQ,+CAA+C,EAAE;AACzD,YAAY,wFAAwF;AACpG,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,UAAU,EAAE,CAAC,mBAAmB,CAAC;AACzC,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,sDAAsD;AAClE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,oCAAoC,CAAC;AAC5D,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,kDAAkD;AAC9D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;AAC9D,SAAS;AACT,QAAQ,QAAQ,EAAE,CAAC,gCAAgC,CAAC;AACpD,QAAQ,SAAS,EAAE,CAAC,iCAAiC,CAAC;AACtD,QAAQ,UAAU,EAAE;AACpB,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,EAAE;AAClD,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,iCAAiC,CAAC;AACzD,QAAQ,KAAK,EAAE,CAAC,mCAAmC,CAAC;AACpD,QAAQ,QAAQ,EAAE;AAClB,YAAY,kDAAkD;AAC9D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC,EAAE;AACjD,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,kDAAkD,CAAC;AACzE,QAAQ,2BAA2B,EAAE;AACrC,YAAY,6EAA6E;AACzF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE;AACjC,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,2DAA2D;AACvE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,wBAAwB,CAAC,EAAE;AAC5D,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,uDAAuD;AACnE,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,4CAA4C;AACxD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,EAAE;AACrD,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,0EAA0E;AACtF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,EAAE;AACjE,SAAS;AACT,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,6EAA6E;AACzF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,EAAE;AACpF,SAAS;AACT,QAAQ,iDAAiD,EAAE;AAC3D,YAAY,yFAAyF;AACrG,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,mCAAmC,CAAC,EAAE;AACvE,SAAS;AACT,QAAQ,uCAAuC,EAAE;AACjD,YAAY,+EAA+E;AAC3F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iCAAiC,CAAC,EAAE;AACrE,SAAS;AACT,QAAQ,yCAAyC,EAAE;AACnD,YAAY,kFAAkF;AAC9F,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,iDAAiD,EAAE;AAC3D,YAAY,2FAA2F;AACvG,YAAY,EAAE;AACd,YAAY;AACZ,gBAAgB,SAAS,EAAE,UAAU;AACrC,gBAAgB,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC;AAC/D,aAAa;AACb,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,wEAAwE;AACpF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;AAC9D,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,8EAA8E;AAC1F,YAAY,EAAE;AACd,YAAY;AACZ,gBAAgB,SAAS,EAAE,OAAO;AAClC,gBAAgB,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC;AAClE,aAAa;AACb,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,8EAA8E;AAC1F,YAAY,EAAE;AACd,YAAY;AACZ,gBAAgB,SAAS,EAAE,OAAO;AAClC,gBAAgB,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC;AAClE,aAAa;AACb,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,2FAA2F;AACvG,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE;AACrC,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,kFAAkF;AAC9F,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,8EAA8E;AAC1F,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,8EAA8E;AAC1F,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,0EAA0E;AACtF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;AACjF,SAAS;AACT,QAAQ,kDAAkD,EAAE;AAC5D,YAAY,wFAAwF;AACpG,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,wBAAwB,CAAC,EAAE;AACnF,SAAS;AACT,QAAQ,sCAAsC,EAAE;AAChD,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AACnF,SAAS;AACT,QAAQ,sCAAsC,EAAE;AAChD,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AACnF,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,EAAE;AACtD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,yCAAyC;AACrD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,mBAAmB,CAAC,EAAE;AACvD,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,yCAAyC,CAAC;AACtE,QAAQ,+BAA+B,EAAE;AACzC,YAAY,6CAA6C;AACzD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,4BAA4B,CAAC,EAAE;AAChE,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,wEAAwE;AACpF,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,0EAA0E;AACtF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE;AACjC,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,wFAAwF;AACpG,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE;AACrC,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,kDAAkD;AAC9D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,EAAE;AACrD,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,kDAAkD,CAAC;AAC7E,QAAQ,QAAQ,EAAE,CAAC,qCAAqC,CAAC;AACzD,QAAQ,MAAM,EAAE,CAAC,6BAA6B,CAAC;AAC/C,QAAQ,sBAAsB,EAAE;AAChC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,mDAAmD,CAAC;AAClF,QAAQ,UAAU,EAAE;AACpB,YAAY,6CAA6C;AACzD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC,EAAE;AACnD,SAAS;AACT,QAAQ,+BAA+B,EAAE,CAAC,iCAAiC,CAAC;AAC5E,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,iDAAiD,EAAE;AAC3D,YAAY,wFAAwF;AACpG,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,mCAAmC,CAAC,EAAE;AACvE,SAAS;AACT,QAAQ,yCAAyC,EAAE;AACnD,YAAY,iFAAiF;AAC7F,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,wFAAwF;AACpG,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,mDAAmD,CAAC;AAC5E,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,iFAAiF;AAC7F,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,6CAA6C,CAAC;AACtE,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,sEAAsE;AAClF,YAAY,EAAE,OAAO,EAAE,4BAA4B,EAAE;AACrD,SAAS;AACT,KAAK;AACL,IAAI,MAAM,EAAE;AACZ,QAAQ,IAAI,EAAE,CAAC,kBAAkB,CAAC;AAClC,QAAQ,OAAO,EAAE,CAAC,qBAAqB,EAAE,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;AAChF,QAAQ,qBAAqB,EAAE,CAAC,oBAAoB,CAAC;AACrD,QAAQ,MAAM,EAAE,CAAC,oBAAoB,CAAC;AACtC,QAAQ,KAAK,EAAE,CAAC,0BAA0B,CAAC;AAC3C,QAAQ,MAAM,EAAE,CAAC,oBAAoB,CAAC;AACtC,QAAQ,KAAK,EAAE,CAAC,mBAAmB,CAAC;AACpC,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,0DAA0D;AACtE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,mCAAmC,CAAC,EAAE;AACvE,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,oCAAoC,CAAC,EAAE;AACxE,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,wDAAwD;AACpE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iCAAiC,CAAC,EAAE;AACrE,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,wDAAwD;AACpE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,MAAM,EAAE,CAAC,wBAAwB,CAAC;AAC1C,QAAQ,4BAA4B,EAAE;AACtC,YAAY,6EAA6E;AACzF,SAAS;AACT,QAAQ,qBAAqB,EAAE,CAAC,gDAAgD,CAAC;AACjF,QAAQ,4BAA4B,EAAE;AACtC,YAAY,gGAAgG;AAC5G,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,sEAAsE;AAClF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,sCAAsC,CAAC;AAC7D,QAAQ,SAAS,EAAE,CAAC,mCAAmC,CAAC;AACxD,QAAQ,yBAAyB,EAAE;AACnC,YAAY,6FAA6F;AACzG,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,0DAA0D;AACtE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,IAAI,EAAE,CAAC,uBAAuB,CAAC;AACvC,QAAQ,cAAc,EAAE,CAAC,yCAAyC,CAAC;AACnE,QAAQ,2BAA2B,EAAE;AACrC,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,+CAA+C,CAAC;AAC/E,QAAQ,wBAAwB,EAAE,CAAC,iBAAiB,CAAC;AACrD,QAAQ,gBAAgB,EAAE,CAAC,2CAA2C,CAAC;AACvE,QAAQ,2BAA2B,EAAE;AACrC,YAAY,+CAA+C;AAC3D,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,4CAA4C;AACxD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,yCAAyC,CAAC;AACnE,QAAQ,4BAA4B,EAAE;AACtC,YAAY,6DAA6D;AACzE,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,6DAA6D;AACzE,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iCAAiC,CAAC,EAAE;AACrE,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,+FAA+F;AAC3G,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,qEAAqE;AACjF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,qCAAqC,CAAC;AAC5D,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,wBAAwB,EAAE,CAAC,mBAAmB,CAAC;AACvD,QAAQ,SAAS,EAAE;AACnB,YAAY,mBAAmB;AAC/B,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,KAAK,EAAE,CAAC,6BAA6B,CAAC;AAC9C,QAAQ,YAAY,EAAE,CAAC,6BAA6B,CAAC;AACrD,QAAQ,cAAc,EAAE;AACxB,YAAY,gCAAgC;AAC5C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,sCAAsC,CAAC,EAAE;AAC1E,SAAS;AACT,QAAQ,qBAAqB,EAAE,CAAC,+CAA+C,CAAC;AAChF,QAAQ,oCAAoC,EAAE,CAAC,gCAAgC,CAAC;AAChF,QAAQ,YAAY,EAAE;AACtB,YAAY,qBAAqB;AACjC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,4BAA4B,EAAE,CAAC,qBAAqB,CAAC;AAC7D,QAAQ,eAAe,EAAE;AACzB,YAAY,iBAAiB;AAC7B,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,oCAAoC,CAAC,EAAE;AACxE,SAAS;AACT,QAAQ,kCAAkC,EAAE,CAAC,iBAAiB,CAAC;AAC/D,QAAQ,2BAA2B,EAAE,CAAC,qBAAqB,CAAC;AAC5D,QAAQ,YAAY,EAAE;AACtB,YAAY,qBAAqB;AACjC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,oCAAoC;AAChD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,EAAE;AAClE,SAAS;AACT,QAAQ,4BAA4B,EAAE,CAAC,oCAAoC,CAAC;AAC5E,QAAQ,eAAe,EAAE;AACzB,YAAY,4BAA4B;AACxC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,oCAAoC,CAAC,EAAE;AACxE,SAAS;AACT,QAAQ,kCAAkC,EAAE,CAAC,4BAA4B,CAAC;AAC1E,QAAQ,MAAM,EAAE,CAAC,gCAAgC,CAAC;AAClD,QAAQ,gBAAgB,EAAE,CAAC,WAAW,CAAC;AACvC,QAAQ,aAAa,EAAE,CAAC,uBAAuB,CAAC;AAChD,QAAQ,iBAAiB,EAAE,CAAC,iCAAiC,CAAC;AAC9D,QAAQ,SAAS,EAAE;AACnB,YAAY,iCAAiC;AAC7C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2BAA2B,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,yBAAyB,EAAE,CAAC,iCAAiC,CAAC;AACtE,QAAQ,YAAY,EAAE;AACtB,YAAY,yBAAyB;AACrC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,iCAAiC,CAAC,EAAE;AACrE,SAAS;AACT,QAAQ,+BAA+B,EAAE,CAAC,yBAAyB,CAAC;AACpE,QAAQ,IAAI,EAAE,CAAC,YAAY,CAAC;AAC5B,QAAQ,WAAW,EAAE;AACrB,YAAY,kBAAkB;AAC9B,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,4BAA4B,CAAC,EAAE;AAChE,SAAS;AACT,QAAQ,0BAA0B,EAAE,CAAC,kBAAkB,CAAC;AACxD,QAAQ,UAAU,EAAE;AACpB,YAAY,kBAAkB;AAC9B,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,4BAA4B,CAAC,EAAE;AAChE,SAAS;AACT,QAAQ,0BAA0B,EAAE,CAAC,kBAAkB,CAAC;AACxD,QAAQ,2BAA2B,EAAE,CAAC,qBAAqB,CAAC;AAC5D,QAAQ,iCAAiC,EAAE,CAAC,qBAAqB,CAAC;AAClE,QAAQ,oBAAoB,EAAE,CAAC,iCAAiC,CAAC;AACjE,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,qBAAqB;AACjC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,EAAE;AACjE,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,iCAAiC,CAAC;AACjE,QAAQ,WAAW,EAAE;AACrB,YAAY,oBAAoB;AAChC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,EAAE;AACjE,SAAS;AACT,QAAQ,2BAA2B,EAAE,CAAC,oBAAoB,CAAC;AAC3D,QAAQ,kBAAkB,EAAE,CAAC,gCAAgC,CAAC;AAC9D,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,yBAAyB;AACrC,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,sCAAsC,CAAC,EAAE;AAC1E,SAAS;AACT,QAAQ,gCAAgC,EAAE,CAAC,yBAAyB,CAAC;AACrE,QAAQ,cAAc,EAAE;AACxB,YAAY,gBAAgB;AAC5B,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,mCAAmC,CAAC,EAAE;AACvE,SAAS;AACT,QAAQ,qBAAqB,EAAE,CAAC,4BAA4B,CAAC;AAC7D,QAAQ,iCAAiC,EAAE,CAAC,gBAAgB,CAAC;AAC7D,QAAQ,yCAAyC,EAAE,CAAC,8BAA8B,CAAC;AACnF,QAAQ,4BAA4B,EAAE;AACtC,YAAY,8BAA8B;AAC1C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,2CAA2C,CAAC,EAAE;AAC/E,SAAS;AACT,QAAQ,OAAO,EAAE,CAAC,gCAAgC,CAAC;AACnD,QAAQ,QAAQ,EAAE,CAAC,mCAAmC,CAAC;AACvD,QAAQ,mBAAmB,EAAE,CAAC,aAAa,CAAC;AAC5C,KAAK;AACL,CAAC;;ACr8DM,MAAM,OAAO,GAAG,mBAAmB,CAAC;;ACApC,SAAS,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE;AAC1D,IAAI,MAAM,UAAU,GAAG,EAAE,CAAC;AAC1B,IAAI,KAAK,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;AACnE,QAAQ,KAAK,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;AACxE,YAAY,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC;AAC5D,YAAY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACnD,YAAY,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,QAAQ,CAAC,CAAC;AAC9E,YAAY,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;AACpC,gBAAgB,UAAU,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;AACvC,aAAa;AACb,YAAY,MAAM,YAAY,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;AACnD,YAAY,IAAI,WAAW,EAAE;AAC7B,gBAAgB,YAAY,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,CAAC,CAAC;AAC/G,gBAAgB,SAAS;AACzB,aAAa;AACb,YAAY,YAAY,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AAClF,SAAS;AACT,KAAK;AACL,IAAI,OAAO,UAAU,CAAC;AACtB,CAAC;AACD,SAAS,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE;AACrE,IAAI,MAAM,mBAAmB,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AACnE,IAAI,SAAS,eAAe,CAAC,GAAG,IAAI,EAAE;AACtC;AACA,QAAQ,IAAI,OAAO,GAAG,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;AAClE;AACA,QAAQ,IAAI,WAAW,CAAC,SAAS,EAAE;AACnC,YAAY,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE;AACjD,gBAAgB,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;AACpD,gBAAgB,CAAC,WAAW,CAAC,SAAS,GAAG,SAAS;AAClD,aAAa,CAAC,CAAC;AACf,YAAY,OAAO,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAChD,SAAS;AACT;AACA;AACA,QAAQ,IAAI,WAAW,CAAC,OAAO,EAAE;AACjC,YAAY,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC;AAClE,YAAY,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,+BAA+B,EAAE,QAAQ,CAAC,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5H,SAAS;AACT,QAAQ,IAAI,WAAW,CAAC,UAAU,EAAE;AACpC,YAAY,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AACrD,SAAS;AACT,QAAQ,IAAI,WAAW,CAAC,iBAAiB,EAAE;AAC3C;AACA,YAAY,MAAM,OAAO,GAAG,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;AACxE,YAAY,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE;AACvF;AACA;AACA;AACA,gBAAgB,IAAI,IAAI,IAAI,OAAO,EAAE;AACrC,oBAAoB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AACzI,oBAAoB,IAAI,EAAE,KAAK,IAAI,OAAO,CAAC,EAAE;AAC7C,wBAAwB,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvD,qBAAqB;AACrB,oBAAoB,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;AACzC,iBAAiB;AACjB,aAAa;AACb,YAAY,OAAO,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAChD,SAAS;AACT;AACA,QAAQ,OAAO,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC;AAC5C,KAAK;AACL,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;AAC/D,CAAC;;AC5DD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,SAAS,mBAAmB,CAAC,OAAO,EAAE;AAC7C,IAAI,OAAO,kBAAkB,CAAC,OAAO,EAAEA,SAAS,CAAC,CAAC;AAClD,CAAC;AACD,mBAAmB,CAAC,OAAO,GAAG,OAAO,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/LICENSE b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/LICENSE deleted file mode 100644 index 57bee5f182..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -MIT License Copyright (c) 2019 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/README.md b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/README.md deleted file mode 100644 index 74079207d9..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/README.md +++ /dev/null @@ -1,64 +0,0 @@ -# types.ts - -> Shared TypeScript definitions for Octokit projects - -[![@latest](https://img.shields.io/npm/v/@octokit/types.svg)](https://www.npmjs.com/package/@octokit/types) -[![Build Status](https://github.com/octokit/types.ts/workflows/Test/badge.svg)](https://github.com/octokit/types.ts/actions?workflow=Test) - - - -- [Usage](#usage) -- [Examples](#examples) - - [Get parameter and response data types for a REST API endpoint](#get-parameter-and-response-data-types-for-a-rest-api-endpoint) - - [Get response types from endpoint methods](#get-response-types-from-endpoint-methods) -- [Contributing](#contributing) -- [License](#license) - - - -## Usage - -See all exported types at https://octokit.github.io/types.ts - -## Examples - -### Get parameter and response data types for a REST API endpoint - -```ts -import { Endpoints } from "./src"; - -type listUserReposParameters = Endpoints["GET /repos/:owner/:repo"]["parameters"]; -type listUserReposResponse = Endpoints["GET /repos/:owner/:repo"]["response"]; - -async function listRepos( - options: listUserReposParameters -): listUserReposResponse["data"] { - // ... -} -``` - -### Get response types from endpoint methods - -```ts -import { - GetResponseTypeFromEndpointMethod, - GetResponseDataTypeFromEndpointMethod, -} from "@octokit/types"; -import { Octokit } from "@octokit/rest"; - -const octokit = new Octokit(); -type CreateLabelResponseType = GetResponseTypeFromEndpointMethod< - typeof octokit.issues.createLabel ->; -type CreateLabelResponseDataType = GetResponseDataTypeFromEndpointMethod< - typeof octokit.issues.createLabel ->; -``` - -## Contributing - -See [CONTRIBUTING.md](CONTRIBUTING.md) - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-node/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-node/index.js deleted file mode 100644 index 2ef6e0a1dc..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-node/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -const VERSION = "4.1.10"; - -exports.VERSION = VERSION; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-node/index.js.map b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-node/index.js.map deleted file mode 100644 index 2d148d3b95..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":["VERSION"],"mappings":";;;;MAAaA,OAAO,GAAG;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/AuthInterface.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/AuthInterface.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/EndpointDefaults.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/EndpointDefaults.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/EndpointInterface.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/EndpointInterface.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/EndpointOptions.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/EndpointOptions.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/Fetch.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/Fetch.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/OctokitResponse.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/OctokitResponse.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestHeaders.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestHeaders.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestInterface.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestInterface.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestMethod.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestMethod.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestOptions.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestOptions.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestParameters.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestParameters.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestRequestOptions.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/RequestRequestOptions.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/ResponseHeaders.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/ResponseHeaders.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/Route.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/Route.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/Signal.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/Signal.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/StrategyInterface.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/StrategyInterface.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/Url.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/Url.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/VERSION.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/VERSION.js deleted file mode 100644 index e440b7709e..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/VERSION.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "4.1.10"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/generated/Endpoints.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/generated/Endpoints.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/index.js deleted file mode 100644 index 5d2d5ae09b..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-src/index.js +++ /dev/null @@ -1,20 +0,0 @@ -export * from "./AuthInterface"; -export * from "./EndpointDefaults"; -export * from "./EndpointInterface"; -export * from "./EndpointOptions"; -export * from "./Fetch"; -export * from "./OctokitResponse"; -export * from "./RequestHeaders"; -export * from "./RequestInterface"; -export * from "./RequestMethod"; -export * from "./RequestOptions"; -export * from "./RequestParameters"; -export * from "./RequestRequestOptions"; -export * from "./ResponseHeaders"; -export * from "./Route"; -export * from "./Signal"; -export * from "./StrategyInterface"; -export * from "./Url"; -export * from "./VERSION"; -export * from "./GetResponseTypeFromEndpointMethod"; -export * from "./generated/Endpoints"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/AuthInterface.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/AuthInterface.d.ts deleted file mode 100644 index 0c19b50d2d..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/AuthInterface.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { EndpointOptions } from "./EndpointOptions"; -import { OctokitResponse } from "./OctokitResponse"; -import { RequestInterface } from "./RequestInterface"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -/** - * Interface to implement complex authentication strategies for Octokit. - * An object Implementing the AuthInterface can directly be passed as the - * `auth` option in the Octokit constructor. - * - * For the official implementations of the most common authentication - * strategies, see https://github.com/octokit/auth.js - */ -export interface AuthInterface { - (...args: AuthOptions): Promise; - hook: { - /** - * Sends a request using the passed `request` instance - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: RequestInterface, options: EndpointOptions): Promise>; - /** - * Sends a request using the passed `request` instance - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: RequestInterface, route: Route, parameters?: RequestParameters): Promise>; - }; -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts deleted file mode 100644 index a2c2307829..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { RequestHeaders } from "./RequestHeaders"; -import { RequestMethod } from "./RequestMethod"; -import { RequestParameters } from "./RequestParameters"; -import { Url } from "./Url"; -/** - * The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters - * as well as the method property. - */ -export declare type EndpointDefaults = RequestParameters & { - baseUrl: Url; - method: RequestMethod; - url?: Url; - headers: RequestHeaders & { - accept: string; - "user-agent": string; - }; - mediaType: { - format: string; - previews: string[]; - }; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts deleted file mode 100644 index df585bef1d..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { EndpointDefaults } from "./EndpointDefaults"; -import { RequestOptions } from "./RequestOptions"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -import { Endpoints } from "./generated/Endpoints"; -export interface EndpointInterface { - /** - * Transforms a GitHub REST API endpoint into generic request options - * - * @param {object} endpoint Must set `url` unless it's set defaults. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: O & { - method?: string; - } & ("url" extends keyof D ? { - url?: string; - } : { - url: string; - })): RequestOptions & Pick; - /** - * Transforms a GitHub REST API endpoint into generic request options - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: keyof Endpoints | R, parameters?: P): (R extends keyof Endpoints ? Endpoints[R]["request"] : RequestOptions) & Pick; - /** - * Object with current default route and parameters - */ - DEFAULTS: D & EndpointDefaults; - /** - * Returns a new `endpoint` interface with new defaults - */ - defaults: (newDefaults: O) => EndpointInterface; - merge: { - /** - * Merges current endpoint defaults with passed route and parameters, - * without transforming them into request options. - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * - */ - (route: keyof Endpoints | R, parameters?: P): D & (R extends keyof Endpoints ? Endpoints[R]["request"] & Endpoints[R]["parameters"] : EndpointDefaults) & P; - /** - * Merges current endpoint defaults with passed route and parameters, - * without transforming them into request options. - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ -

(options: P): EndpointDefaults & D & P; - /** - * Returns current default options. - * - * @deprecated use endpoint.DEFAULTS instead - */ - (): D & EndpointDefaults; - }; - /** - * Stateless method to turn endpoint options into request options. - * Calling `endpoint(options)` is the same as calling `endpoint.parse(endpoint.merge(options))`. - * - * @param {object} options `method`, `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - parse: (options: O) => RequestOptions & Pick; -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts deleted file mode 100644 index b1b91f11f3..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { RequestMethod } from "./RequestMethod"; -import { Url } from "./Url"; -import { RequestParameters } from "./RequestParameters"; -export declare type EndpointOptions = RequestParameters & { - method: RequestMethod; - url: Url; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Fetch.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Fetch.d.ts deleted file mode 100644 index cbbd5e8fa9..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Fetch.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Browser's fetch method (or compatible such as fetch-mock) - */ -export declare type Fetch = any; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts deleted file mode 100644 index 70e1a8d466..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare type Unwrap = T extends Promise ? U : T; -declare type AnyFunction = (...args: any[]) => any; -export declare type GetResponseTypeFromEndpointMethod = Unwrap>; -export declare type GetResponseDataTypeFromEndpointMethod = Unwrap>["data"]; -export {}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts deleted file mode 100644 index 9a2dd7f658..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ResponseHeaders } from "./ResponseHeaders"; -import { Url } from "./Url"; -export declare type OctokitResponse = { - headers: ResponseHeaders; - /** - * http response code - */ - status: number; - /** - * URL of response after all redirects - */ - url: Url; - /** - * This is the data you would see in https://developer.Octokit.com/v3/ - */ - data: T; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts deleted file mode 100644 index ac5aae0a57..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export declare type RequestHeaders = { - /** - * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead. - */ - accept?: string; - /** - * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` - */ - authorization?: string; - /** - * `user-agent` is set do a default and can be overwritten as needed. - */ - "user-agent"?: string; - [header: string]: string | number | undefined; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestInterface.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestInterface.d.ts deleted file mode 100644 index ef4d8d3a86..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestInterface.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { EndpointInterface } from "./EndpointInterface"; -import { OctokitResponse } from "./OctokitResponse"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -import { Endpoints } from "./generated/Endpoints"; -export interface RequestInterface { - /** - * Sends a request based on endpoint options - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: O & { - method?: string; - } & ("url" extends keyof D ? { - url?: string; - } : { - url: string; - })): Promise>; - /** - * Sends a request based on endpoint options - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: keyof Endpoints | R, options?: R extends keyof Endpoints ? Endpoints[R]["parameters"] & RequestParameters : RequestParameters): R extends keyof Endpoints ? Promise : Promise>; - /** - * Returns a new `request` with updated route and parameters - */ - defaults: (newDefaults: O) => RequestInterface; - /** - * Octokit endpoint API, see {@link https://github.com/octokit/endpoint.js|@octokit/endpoint} - */ - endpoint: EndpointInterface; -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestMethod.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestMethod.d.ts deleted file mode 100644 index e999c8d96c..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestMethod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * HTTP Verb supported by GitHub's REST API - */ -export declare type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestOptions.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestOptions.d.ts deleted file mode 100644 index 97e2181ca7..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestOptions.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { RequestHeaders } from "./RequestHeaders"; -import { RequestMethod } from "./RequestMethod"; -import { RequestRequestOptions } from "./RequestRequestOptions"; -import { Url } from "./Url"; -/** - * Generic request options as they are returned by the `endpoint()` method - */ -export declare type RequestOptions = { - method: RequestMethod; - url: Url; - headers: RequestHeaders; - body?: any; - request?: RequestRequestOptions; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestParameters.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestParameters.d.ts deleted file mode 100644 index 692d193b43..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestParameters.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { RequestRequestOptions } from "./RequestRequestOptions"; -import { RequestHeaders } from "./RequestHeaders"; -import { Url } from "./Url"; -/** - * Parameters that can be passed into `request(route, parameters)` or `endpoint(route, parameters)` methods - */ -export declare type RequestParameters = { - /** - * Base URL to be used when a relative URL is passed, such as `/orgs/:org`. - * If `baseUrl` is `https://enterprise.acme-inc.com/api/v3`, then the request - * will be sent to `https://enterprise.acme-inc.com/api/v3/orgs/:org`. - */ - baseUrl?: Url; - /** - * HTTP headers. Use lowercase keys. - */ - headers?: RequestHeaders; - /** - * Media type options, see {@link https://developer.github.com/v3/media/|GitHub Developer Guide} - */ - mediaType?: { - /** - * `json` by default. Can be `raw`, `text`, `html`, `full`, `diff`, `patch`, `sha`, `base64`. Depending on endpoint - */ - format?: string; - /** - * Custom media type names of {@link https://developer.github.com/v3/media/|API Previews} without the `-preview` suffix. - * Example for single preview: `['squirrel-girl']`. - * Example for multiple previews: `['squirrel-girl', 'mister-fantastic']`. - */ - previews?: string[]; - }; - /** - * Pass custom meta information for the request. The `request` object will be returned as is. - */ - request?: RequestRequestOptions; - /** - * Any additional parameter will be passed as follows - * 1. URL parameter if `':parameter'` or `{parameter}` is part of `url` - * 2. Query parameter if `method` is `'GET'` or `'HEAD'` - * 3. Request body if `parameter` is `'data'` - * 4. JSON in the request body in the form of `body[parameter]` unless `parameter` key is `'data'` - */ - [parameter: string]: unknown; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts deleted file mode 100644 index 4482a8a45b..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/// -import { Agent } from "http"; -import { Fetch } from "./Fetch"; -import { Signal } from "./Signal"; -/** - * Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled - */ -export declare type RequestRequestOptions = { - /** - * Node only. Useful for custom proxy, certificate, or dns lookup. - */ - agent?: Agent; - /** - * Custom replacement for built-in fetch method. Useful for testing or request hooks. - */ - fetch?: Fetch; - /** - * Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests. - */ - signal?: Signal; - /** - * Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). `options.request.signal` is recommended instead. - */ - timeout?: number; - [option: string]: any; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts deleted file mode 100644 index c8fbe43f3d..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export declare type ResponseHeaders = { - "cache-control"?: string; - "content-length"?: number; - "content-type"?: string; - date?: string; - etag?: string; - "last-modified"?: string; - link?: string; - location?: string; - server?: string; - status?: string; - vary?: string; - "x-github-mediatype"?: string; - "x-github-request-id"?: string; - "x-oauth-scopes"?: string; - "x-ratelimit-limit"?: string; - "x-ratelimit-remaining"?: string; - "x-ratelimit-reset"?: string; - [header: string]: string | number | undefined; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Route.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Route.d.ts deleted file mode 100644 index 807904440a..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Route.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * String consisting of an optional HTTP method and relative path or absolute URL. Examples: `'/orgs/:org'`, `'PUT /orgs/:org'`, `GET https://example.com/foo/bar` - */ -export declare type Route = string; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Signal.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Signal.d.ts deleted file mode 100644 index 4ebcf24e6c..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Signal.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Abort signal - * - * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal - */ -export declare type Signal = any; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts deleted file mode 100644 index 405cbd2353..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { AuthInterface } from "./AuthInterface"; -export interface StrategyInterface { - (...args: StrategyOptions): AuthInterface; -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Url.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Url.d.ts deleted file mode 100644 index acaad63364..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/Url.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Relative or absolute URL. Examples: `'/orgs/:org'`, `https://example.com/foo/bar` - */ -export declare type Url = string; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/VERSION.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/VERSION.d.ts deleted file mode 100644 index 5f7f472aa2..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/VERSION.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "4.1.10"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts deleted file mode 100644 index 682e2488b5..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts +++ /dev/null @@ -1,37035 +0,0 @@ -import { OctokitResponse } from "../OctokitResponse"; -import { RequestHeaders } from "../RequestHeaders"; -import { RequestRequestOptions } from "../RequestRequestOptions"; -declare type RequiredPreview = { - mediaType: { - previews: [T, ...string[]]; - }; -}; -export interface Endpoints { - /** - * @see https://developer.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app - */ - "DELETE /app/installations/:installation_id": { - parameters: AppsDeleteInstallationEndpoint; - request: AppsDeleteInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#unsuspend-an-app-installation - */ - "DELETE /app/installations/:installation_id/suspended": { - parameters: AppsUnsuspendInstallationEndpoint; - request: AppsUnsuspendInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization - */ - "DELETE /applications/:client_id/grant": { - parameters: AppsDeleteAuthorizationEndpoint; - request: AppsDeleteAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application - */ - "DELETE /applications/:client_id/grants/:access_token": { - parameters: AppsRevokeGrantForApplicationEndpoint; - request: AppsRevokeGrantForApplicationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token - */ - "DELETE /applications/:client_id/token": { - parameters: AppsDeleteTokenEndpoint; - request: AppsDeleteTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application - */ - "DELETE /applications/:client_id/tokens/:access_token": { - parameters: AppsRevokeAuthorizationForApplicationEndpoint; - request: AppsRevokeAuthorizationForApplicationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant - */ - "DELETE /applications/grants/:grant_id": { - parameters: OauthAuthorizationsDeleteGrantEndpoint; - request: OauthAuthorizationsDeleteGrantRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization - */ - "DELETE /authorizations/:authorization_id": { - parameters: OauthAuthorizationsDeleteAuthorizationEndpoint; - request: OauthAuthorizationsDeleteAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#delete-a-gist - */ - "DELETE /gists/:gist_id": { - parameters: GistsDeleteEndpoint; - request: GistsDeleteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#delete-a-gist-comment - */ - "DELETE /gists/:gist_id/comments/:comment_id": { - parameters: GistsDeleteCommentEndpoint; - request: GistsDeleteCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#unstar-a-gist - */ - "DELETE /gists/:gist_id/star": { - parameters: GistsUnstarEndpoint; - request: GistsUnstarRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#revoke-an-installation-access-token - */ - "DELETE /installation/token": { - parameters: AppsRevokeInstallationAccessTokenEndpoint; - request: AppsRevokeInstallationAccessTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription - */ - "DELETE /notifications/threads/:thread_id/subscription": { - parameters: ActivityDeleteThreadSubscriptionEndpoint; - request: ActivityDeleteThreadSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-an-organization - */ - "DELETE /orgs/:org/actions/runners/:runner_id": { - parameters: ActionsDeleteSelfHostedRunnerFromOrgEndpoint; - request: ActionsDeleteSelfHostedRunnerFromOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#delete-an-organization-secret - */ - "DELETE /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsDeleteOrgSecretEndpoint; - request: ActionsDeleteOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret - */ - "DELETE /orgs/:org/actions/secrets/:secret_name/repositories/:repository_id": { - parameters: ActionsRemoveSelectedRepoFromOrgSecretEndpoint; - request: ActionsRemoveSelectedRepoFromOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#unblock-a-user-from-an-organization - */ - "DELETE /orgs/:org/blocks/:username": { - parameters: OrgsUnblockUserEndpoint; - request: OrgsUnblockUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization - */ - "DELETE /orgs/:org/credential-authorizations/:credential_id": { - parameters: OrgsRemoveSamlSsoAuthorizationEndpoint; - request: OrgsRemoveSamlSsoAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#delete-an-organization-webhook - */ - "DELETE /orgs/:org/hooks/:hook_id": { - parameters: OrgsDeleteWebhookEndpoint; - request: OrgsDeleteWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/orgs/#remove-interaction-restrictions-for-an-organization - */ - "DELETE /orgs/:org/interaction-limits": { - parameters: InteractionsRemoveRestrictionsForOrgEndpoint; - request: InteractionsRemoveRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#remove-an-organization-member - */ - "DELETE /orgs/:org/members/:username": { - parameters: OrgsRemoveMemberEndpoint; - request: OrgsRemoveMemberRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#remove-organization-membership-for-a-user - */ - "DELETE /orgs/:org/memberships/:username": { - parameters: OrgsRemoveMembershipForUserEndpoint; - request: OrgsRemoveMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#delete-an-organization-migration-archive - */ - "DELETE /orgs/:org/migrations/:migration_id/archive": { - parameters: MigrationsDeleteArchiveForOrgEndpoint; - request: MigrationsDeleteArchiveForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#unlock-an-organization-repository - */ - "DELETE /orgs/:org/migrations/:migration_id/repos/:repo_name/lock": { - parameters: MigrationsUnlockRepoForOrgEndpoint; - request: MigrationsUnlockRepoForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator-from-an-organization - */ - "DELETE /orgs/:org/outside_collaborators/:username": { - parameters: OrgsRemoveOutsideCollaboratorEndpoint; - request: OrgsRemoveOutsideCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#remove-public-organization-membership-for-the-authenticated-user - */ - "DELETE /orgs/:org/public_members/:username": { - parameters: OrgsRemovePublicMembershipForAuthenticatedUserEndpoint; - request: OrgsRemovePublicMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#delete-a-team - */ - "DELETE /orgs/:org/teams/:team_slug": { - parameters: TeamsDeleteInOrgEndpoint; - request: TeamsDeleteInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#delete-a-discussion - */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsDeleteDiscussionInOrgEndpoint; - request: TeamsDeleteDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment - */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsDeleteDiscussionCommentInOrgEndpoint; - request: TeamsDeleteDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-team-discussion-comment-reaction - */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForTeamDiscussionCommentEndpoint; - request: ReactionsDeleteForTeamDiscussionCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-team-discussion-reaction - */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForTeamDiscussionEndpoint; - request: ReactionsDeleteForTeamDiscussionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user - */ - "DELETE /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsRemoveMembershipForUserInOrgEndpoint; - request: TeamsRemoveMembershipForUserInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#remove-a-project-from-a-team - */ - "DELETE /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsRemoveProjectInOrgEndpoint; - request: TeamsRemoveProjectInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#remove-a-repository-from-a-team - */ - "DELETE /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsRemoveRepoInOrgEndpoint; - request: TeamsRemoveRepoInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#delete-a-project - */ - "DELETE /projects/:project_id": { - parameters: ProjectsDeleteEndpoint; - request: ProjectsDeleteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#remove-project-collaborator - */ - "DELETE /projects/:project_id/collaborators/:username": { - parameters: ProjectsRemoveCollaboratorEndpoint; - request: ProjectsRemoveCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#delete-a-project-column - */ - "DELETE /projects/columns/:column_id": { - parameters: ProjectsDeleteColumnEndpoint; - request: ProjectsDeleteColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#delete-a-project-card - */ - "DELETE /projects/columns/cards/:card_id": { - parameters: ProjectsDeleteCardEndpoint; - request: ProjectsDeleteCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy - */ - "DELETE /reactions/:reaction_id": { - parameters: ReactionsDeleteLegacyEndpoint; - request: ReactionsDeleteLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#delete-a-repository - */ - "DELETE /repos/:owner/:repo": { - parameters: ReposDeleteEndpoint; - request: ReposDeleteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#delete-an-artifact - */ - "DELETE /repos/:owner/:repo/actions/artifacts/:artifact_id": { - parameters: ActionsDeleteArtifactEndpoint; - request: ActionsDeleteArtifactRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-a-repository - */ - "DELETE /repos/:owner/:repo/actions/runners/:runner_id": { - parameters: ActionsDeleteSelfHostedRunnerFromRepoEndpoint; - request: ActionsDeleteSelfHostedRunnerFromRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#delete-workflow-run-logs - */ - "DELETE /repos/:owner/:repo/actions/runs/:run_id/logs": { - parameters: ActionsDeleteWorkflowRunLogsEndpoint; - request: ActionsDeleteWorkflowRunLogsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#delete-a-repository-secret - */ - "DELETE /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsDeleteRepoSecretEndpoint; - request: ActionsDeleteRepoSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#disable-automated-security-fixes - */ - "DELETE /repos/:owner/:repo/automated-security-fixes": { - parameters: ReposDisableAutomatedSecurityFixesEndpoint; - request: ReposDisableAutomatedSecurityFixesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-branch-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposDeleteBranchProtectionEndpoint; - request: ReposDeleteBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-admin-branch-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposDeleteAdminBranchProtectionEndpoint; - request: ReposDeleteAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-pull-request-review-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposDeletePullRequestReviewProtectionEndpoint; - request: ReposDeletePullRequestReviewProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-commit-signature-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposDeleteCommitSignatureProtectionEndpoint; - request: ReposDeleteCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-status-check-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposRemoveStatusCheckProtectionEndpoint; - request: ReposRemoveStatusCheckProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-status-check-contexts - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposRemoveStatusCheckContextsEndpoint; - request: ReposRemoveStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-access-restrictions - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions": { - parameters: ReposDeleteAccessRestrictionsEndpoint; - request: ReposDeleteAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-app-access-restrictions - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposRemoveAppAccessRestrictionsEndpoint; - request: ReposRemoveAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-team-access-restrictions - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposRemoveTeamAccessRestrictionsEndpoint; - request: ReposRemoveTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-user-access-restrictions - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposRemoveUserAccessRestrictionsEndpoint; - request: ReposRemoveUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#remove-a-repository-collaborator - */ - "DELETE /repos/:owner/:repo/collaborators/:username": { - parameters: ReposRemoveCollaboratorEndpoint; - request: ReposRemoveCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#delete-a-commit-comment - */ - "DELETE /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposDeleteCommitCommentEndpoint; - request: ReposDeleteCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-a-commit-comment-reaction - */ - "DELETE /repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForCommitCommentEndpoint; - request: ReactionsDeleteForCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#delete-a-file - */ - "DELETE /repos/:owner/:repo/contents/:path": { - parameters: ReposDeleteFileEndpoint; - request: ReposDeleteFileRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#delete-a-deployment - */ - "DELETE /repos/:owner/:repo/deployments/:deployment_id": { - parameters: ReposDeleteDeploymentEndpoint; - request: ReposDeleteDeploymentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/downloads/#delete-a-download - */ - "DELETE /repos/:owner/:repo/downloads/:download_id": { - parameters: ReposDeleteDownloadEndpoint; - request: ReposDeleteDownloadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#delete-a-reference - */ - "DELETE /repos/:owner/:repo/git/refs/:ref": { - parameters: GitDeleteRefEndpoint; - request: GitDeleteRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#delete-a-repository-webhook - */ - "DELETE /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposDeleteWebhookEndpoint; - request: ReposDeleteWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#cancel-an-import - */ - "DELETE /repos/:owner/:repo/import": { - parameters: MigrationsCancelImportEndpoint; - request: MigrationsCancelImportRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/repos/#remove-interaction-restrictions-for-a-repository - */ - "DELETE /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsRemoveRestrictionsForRepoEndpoint; - request: InteractionsRemoveRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#delete-a-repository-invitation - */ - "DELETE /repos/:owner/:repo/invitations/:invitation_id": { - parameters: ReposDeleteInvitationEndpoint; - request: ReposDeleteInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#remove-assignees-from-an-issue - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/assignees": { - parameters: IssuesRemoveAssigneesEndpoint; - request: IssuesRemoveAssigneesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#remove-all-labels-from-an-issue - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesRemoveAllLabelsEndpoint; - request: IssuesRemoveAllLabelsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/labels/:name": { - parameters: IssuesRemoveLabelEndpoint; - request: IssuesRemoveLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#unlock-an-issue - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/lock": { - parameters: IssuesUnlockEndpoint; - request: IssuesUnlockRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-an-issue-reaction - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForIssueEndpoint; - request: ReactionsDeleteForIssueRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#delete-an-issue-comment - */ - "DELETE /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesDeleteCommentEndpoint; - request: IssuesDeleteCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-an-issue-comment-reaction - */ - "DELETE /repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForIssueCommentEndpoint; - request: ReactionsDeleteForIssueCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#delete-a-deploy-key - */ - "DELETE /repos/:owner/:repo/keys/:key_id": { - parameters: ReposDeleteDeployKeyEndpoint; - request: ReposDeleteDeployKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#delete-a-label - */ - "DELETE /repos/:owner/:repo/labels/:name": { - parameters: IssuesDeleteLabelEndpoint; - request: IssuesDeleteLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#delete-a-milestone - */ - "DELETE /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesDeleteMilestoneEndpoint; - request: IssuesDeleteMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#delete-a-github-pages-site - */ - "DELETE /repos/:owner/:repo/pages": { - parameters: ReposDeletePagesSiteEndpoint; - request: ReposDeletePagesSiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/review_requests/#remove-requested-reviewers-from-a-pull-request - */ - "DELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsRemoveRequestedReviewersEndpoint; - request: PullsRemoveRequestedReviewersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#delete-a-pending-review-for-a-pull-request - */ - "DELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsDeletePendingReviewEndpoint; - request: PullsDeletePendingReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#delete-a-review-comment-for-a-pull-request - */ - "DELETE /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsDeleteReviewCommentEndpoint; - request: PullsDeleteReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-a-pull-request-comment-reaction - */ - "DELETE /repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForPullRequestCommentEndpoint; - request: ReactionsDeleteForPullRequestCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#delete-a-release - */ - "DELETE /repos/:owner/:repo/releases/:release_id": { - parameters: ReposDeleteReleaseEndpoint; - request: ReposDeleteReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#delete-a-release-asset - */ - "DELETE /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposDeleteReleaseAssetEndpoint; - request: ReposDeleteReleaseAssetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#delete-a-repository-subscription - */ - "DELETE /repos/:owner/:repo/subscription": { - parameters: ActivityDeleteRepoSubscriptionEndpoint; - request: ActivityDeleteRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#disable-vulnerability-alerts - */ - "DELETE /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposDisableVulnerabilityAlertsEndpoint; - request: ReposDisableVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#delete-a-scim-user-from-an-organization - */ - "DELETE /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimDeleteUserFromOrgEndpoint; - request: ScimDeleteUserFromOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#delete-a-team-legacy - */ - "DELETE /teams/:team_id": { - parameters: TeamsDeleteLegacyEndpoint; - request: TeamsDeleteLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy - */ - "DELETE /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsDeleteDiscussionLegacyEndpoint; - request: TeamsDeleteDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment-legacy - */ - "DELETE /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsDeleteDiscussionCommentLegacyEndpoint; - request: TeamsDeleteDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#remove-team-member-legacy - */ - "DELETE /teams/:team_id/members/:username": { - parameters: TeamsRemoveMemberLegacyEndpoint; - request: TeamsRemoveMemberLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user-legacy - */ - "DELETE /teams/:team_id/memberships/:username": { - parameters: TeamsRemoveMembershipForUserLegacyEndpoint; - request: TeamsRemoveMembershipForUserLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#remove-a-project-from-a-team-legacy - */ - "DELETE /teams/:team_id/projects/:project_id": { - parameters: TeamsRemoveProjectLegacyEndpoint; - request: TeamsRemoveProjectLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#remove-a-repository-from-a-team-legacy - */ - "DELETE /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsRemoveRepoLegacyEndpoint; - request: TeamsRemoveRepoLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#unblock-a-user - */ - "DELETE /user/blocks/:username": { - parameters: UsersUnblockEndpoint; - request: UsersUnblockRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#delete-an-email-address-for-the-authenticated-user - */ - "DELETE /user/emails": { - parameters: UsersDeleteEmailForAuthenticatedEndpoint; - request: UsersDeleteEmailForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#unfollow-a-user - */ - "DELETE /user/following/:username": { - parameters: UsersUnfollowEndpoint; - request: UsersUnfollowRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#delete-a-gpg-key-for-the-authenticated-user - */ - "DELETE /user/gpg_keys/:gpg_key_id": { - parameters: UsersDeleteGpgKeyForAuthenticatedEndpoint; - request: UsersDeleteGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#remove-a-repository-from-an-app-installation - */ - "DELETE /user/installations/:installation_id/repositories/:repository_id": { - parameters: AppsRemoveRepoFromInstallationEndpoint; - request: AppsRemoveRepoFromInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#delete-a-public-ssh-key-for-the-authenticated-user - */ - "DELETE /user/keys/:key_id": { - parameters: UsersDeletePublicSshKeyForAuthenticatedEndpoint; - request: UsersDeletePublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#delete-a-user-migration-archive - */ - "DELETE /user/migrations/:migration_id/archive": { - parameters: MigrationsDeleteArchiveForAuthenticatedUserEndpoint; - request: MigrationsDeleteArchiveForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#unlock-a-user-repository - */ - "DELETE /user/migrations/:migration_id/repos/:repo_name/lock": { - parameters: MigrationsUnlockRepoForAuthenticatedUserEndpoint; - request: MigrationsUnlockRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#decline-a-repository-invitation - */ - "DELETE /user/repository_invitations/:invitation_id": { - parameters: ReposDeclineInvitationEndpoint; - request: ReposDeclineInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#unstar-a-repository-for-the-authenticated-user - */ - "DELETE /user/starred/:owner/:repo": { - parameters: ActivityUnstarRepoForAuthenticatedUserEndpoint; - request: ActivityUnstarRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-the-authenticated-app - */ - "GET /app": { - parameters: AppsGetAuthenticatedEndpoint; - request: AppsGetAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app - */ - "GET /app/installations": { - parameters: AppsListInstallationsEndpoint; - request: AppsListInstallationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-an-installation-for-the-authenticated-app - */ - "GET /app/installations/:installation_id": { - parameters: AppsGetInstallationEndpoint; - request: AppsGetInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization - */ - "GET /applications/:client_id/tokens/:access_token": { - parameters: AppsCheckAuthorizationEndpoint; - request: AppsCheckAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#list-your-grants - */ - "GET /applications/grants": { - parameters: OauthAuthorizationsListGrantsEndpoint; - request: OauthAuthorizationsListGrantsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant - */ - "GET /applications/grants/:grant_id": { - parameters: OauthAuthorizationsGetGrantEndpoint; - request: OauthAuthorizationsGetGrantRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-an-app - */ - "GET /apps/:app_slug": { - parameters: AppsGetBySlugEndpoint; - request: AppsGetBySlugRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations - */ - "GET /authorizations": { - parameters: OauthAuthorizationsListAuthorizationsEndpoint; - request: OauthAuthorizationsListAuthorizationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization - */ - "GET /authorizations/:authorization_id": { - parameters: OauthAuthorizationsGetAuthorizationEndpoint; - request: OauthAuthorizationsGetAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct - */ - "GET /codes_of_conduct": { - parameters: CodesOfConductGetAllCodesOfConductEndpoint; - request: CodesOfConductGetAllCodesOfConductRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-a-code-of-conduct - */ - "GET /codes_of_conduct/:key": { - parameters: CodesOfConductGetConductCodeEndpoint; - request: CodesOfConductGetConductCodeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/emojis/#get-emojis - */ - "GET /emojis": { - parameters: EmojisGetEndpoint; - request: EmojisGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-events - */ - "GET /events": { - parameters: ActivityListPublicEventsEndpoint; - request: ActivityListPublicEventsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/feeds/#get-feeds - */ - "GET /feeds": { - parameters: ActivityGetFeedsEndpoint; - request: ActivityGetFeedsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gists-for-the-authenticated-user - */ - "GET /gists": { - parameters: GistsListEndpoint; - request: GistsListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#get-a-gist - */ - "GET /gists/:gist_id": { - parameters: GistsGetEndpoint; - request: GistsGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#get-a-gist-revision - */ - "GET /gists/:gist_id/:sha": { - parameters: GistsGetRevisionEndpoint; - request: GistsGetRevisionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#list-gist-comments - */ - "GET /gists/:gist_id/comments": { - parameters: GistsListCommentsEndpoint; - request: GistsListCommentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#get-a-gist-comment - */ - "GET /gists/:gist_id/comments/:comment_id": { - parameters: GistsGetCommentEndpoint; - request: GistsGetCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gist-commits - */ - "GET /gists/:gist_id/commits": { - parameters: GistsListCommitsEndpoint; - request: GistsListCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gist-forks - */ - "GET /gists/:gist_id/forks": { - parameters: GistsListForksEndpoint; - request: GistsListForksRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#check-if-a-gist-is-starred - */ - "GET /gists/:gist_id/star": { - parameters: GistsCheckIsStarredEndpoint; - request: GistsCheckIsStarredRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-public-gists - */ - "GET /gists/public": { - parameters: GistsListPublicEndpoint; - request: GistsListPublicRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-starred-gists - */ - "GET /gists/starred": { - parameters: GistsListStarredEndpoint; - request: GistsListStarredRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gitignore/#get-all-gitignore-templates - */ - "GET /gitignore/templates": { - parameters: GitignoreGetAllTemplatesEndpoint; - request: GitignoreGetAllTemplatesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gitignore/#get-a-gitignore-template - */ - "GET /gitignore/templates/:name": { - parameters: GitignoreGetTemplateEndpoint; - request: GitignoreGetTemplateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation - */ - "GET /installation/repositories": { - parameters: AppsListReposAccessibleToInstallationEndpoint; - request: AppsListReposAccessibleToInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user - */ - "GET /issues": { - parameters: IssuesListEndpoint; - request: IssuesListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/licenses/#get-all-commonly-used-licenses - */ - "GET /licenses": { - parameters: LicensesGetAllCommonlyUsedEndpoint; - request: LicensesGetAllCommonlyUsedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/licenses/#get-a-license - */ - "GET /licenses/:license": { - parameters: LicensesGetEndpoint; - request: LicensesGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account - */ - "GET /marketplace_listing/accounts/:account_id": { - parameters: AppsGetSubscriptionPlanForAccountEndpoint; - request: AppsGetSubscriptionPlanForAccountRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-plans - */ - "GET /marketplace_listing/plans": { - parameters: AppsListPlansEndpoint; - request: AppsListPlansRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan - */ - "GET /marketplace_listing/plans/:plan_id/accounts": { - parameters: AppsListAccountsForPlanEndpoint; - request: AppsListAccountsForPlanRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account-stubbed - */ - "GET /marketplace_listing/stubbed/accounts/:account_id": { - parameters: AppsGetSubscriptionPlanForAccountStubbedEndpoint; - request: AppsGetSubscriptionPlanForAccountStubbedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-plans-stubbed - */ - "GET /marketplace_listing/stubbed/plans": { - parameters: AppsListPlansStubbedEndpoint; - request: AppsListPlansStubbedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed - */ - "GET /marketplace_listing/stubbed/plans/:plan_id/accounts": { - parameters: AppsListAccountsForPlanStubbedEndpoint; - request: AppsListAccountsForPlanStubbedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/meta/#get-github-meta-information - */ - "GET /meta": { - parameters: MetaGetEndpoint; - request: MetaGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories - */ - "GET /networks/:owner/:repo/events": { - parameters: ActivityListPublicEventsForRepoNetworkEndpoint; - request: ActivityListPublicEventsForRepoNetworkRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user - */ - "GET /notifications": { - parameters: ActivityListNotificationsForAuthenticatedUserEndpoint; - request: ActivityListNotificationsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#get-a-thread - */ - "GET /notifications/threads/:thread_id": { - parameters: ActivityGetThreadEndpoint; - request: ActivityGetThreadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#get-a-thread-subscription-for-the-authenticated-user - */ - "GET /notifications/threads/:thread_id/subscription": { - parameters: ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint; - request: ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations - */ - "GET /organizations": { - parameters: OrgsListEndpoint; - request: OrgsListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#get-an-organization - */ - "GET /orgs/:org": { - parameters: OrgsGetEndpoint; - request: OrgsGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-an-organization - */ - "GET /orgs/:org/actions/runners": { - parameters: ActionsListSelfHostedRunnersForOrgEndpoint; - request: ActionsListSelfHostedRunnersForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#get-a-self-hosted-runner-for-an-organization - */ - "GET /orgs/:org/actions/runners/:runner_id": { - parameters: ActionsGetSelfHostedRunnerForOrgEndpoint; - request: ActionsGetSelfHostedRunnerForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-an-organization - */ - "GET /orgs/:org/actions/runners/downloads": { - parameters: ActionsListRunnerApplicationsForOrgEndpoint; - request: ActionsListRunnerApplicationsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-organization-secrets - */ - "GET /orgs/:org/actions/secrets": { - parameters: ActionsListOrgSecretsEndpoint; - request: ActionsListOrgSecretsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#get-an-organization-secret - */ - "GET /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsGetOrgSecretEndpoint; - request: ActionsGetOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret - */ - "GET /orgs/:org/actions/secrets/:secret_name/repositories": { - parameters: ActionsListSelectedReposForOrgSecretEndpoint; - request: ActionsListSelectedReposForOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key - */ - "GET /orgs/:org/actions/secrets/public-key": { - parameters: ActionsGetOrgPublicKeyEndpoint; - request: ActionsGetOrgPublicKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization - */ - "GET /orgs/:org/blocks": { - parameters: OrgsListBlockedUsersEndpoint; - request: OrgsListBlockedUsersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#check-if-a-user-is-blocked-by-an-organization - */ - "GET /orgs/:org/blocks/:username": { - parameters: OrgsCheckBlockedUserEndpoint; - request: OrgsCheckBlockedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization - */ - "GET /orgs/:org/credential-authorizations": { - parameters: OrgsListSamlSsoAuthorizationsEndpoint; - request: OrgsListSamlSsoAuthorizationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-organization-events - */ - "GET /orgs/:org/events": { - parameters: ActivityListPublicOrgEventsEndpoint; - request: ActivityListPublicOrgEventsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks - */ - "GET /orgs/:org/hooks": { - parameters: OrgsListWebhooksEndpoint; - request: OrgsListWebhooksRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#get-an-organization-webhook - */ - "GET /orgs/:org/hooks/:hook_id": { - parameters: OrgsGetWebhookEndpoint; - request: OrgsGetWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app - */ - "GET /orgs/:org/installation": { - parameters: AppsGetOrgInstallationEndpoint; - request: AppsGetOrgInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization - */ - "GET /orgs/:org/installations": { - parameters: OrgsListAppInstallationsEndpoint; - request: OrgsListAppInstallationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/orgs/#get-interaction-restrictions-for-an-organization - */ - "GET /orgs/:org/interaction-limits": { - parameters: InteractionsGetRestrictionsForOrgEndpoint; - request: InteractionsGetRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations - */ - "GET /orgs/:org/invitations": { - parameters: OrgsListPendingInvitationsEndpoint; - request: OrgsListPendingInvitationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-invitation-teams - */ - "GET /orgs/:org/invitations/:invitation_id/teams": { - parameters: OrgsListInvitationTeamsEndpoint; - request: OrgsListInvitationTeamsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user - */ - "GET /orgs/:org/issues": { - parameters: IssuesListForOrgEndpoint; - request: IssuesListForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-members - */ - "GET /orgs/:org/members": { - parameters: OrgsListMembersEndpoint; - request: OrgsListMembersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#check-organization-membership-for-a-user - */ - "GET /orgs/:org/members/:username": { - parameters: OrgsCheckMembershipForUserEndpoint; - request: OrgsCheckMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#get-organization-membership-for-a-user - */ - "GET /orgs/:org/memberships/:username": { - parameters: OrgsGetMembershipForUserEndpoint; - request: OrgsGetMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#list-organization-migrations - */ - "GET /orgs/:org/migrations": { - parameters: MigrationsListForOrgEndpoint; - request: MigrationsListForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#get-an-organization-migration-status - */ - "GET /orgs/:org/migrations/:migration_id": { - parameters: MigrationsGetStatusForOrgEndpoint; - request: MigrationsGetStatusForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#download-an-organization-migration-archive - */ - "GET /orgs/:org/migrations/:migration_id/archive": { - parameters: MigrationsDownloadArchiveForOrgEndpoint; - request: MigrationsDownloadArchiveForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#list-repositories-in-an-organization-migration - */ - "GET /orgs/:org/migrations/:migration_id/repositories": { - parameters: MigrationsListReposForOrgEndpoint; - request: MigrationsListReposForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization - */ - "GET /orgs/:org/outside_collaborators": { - parameters: OrgsListOutsideCollaboratorsEndpoint; - request: OrgsListOutsideCollaboratorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#list-organization-projects - */ - "GET /orgs/:org/projects": { - parameters: ProjectsListForOrgEndpoint; - request: ProjectsListForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-public-organization-members - */ - "GET /orgs/:org/public_members": { - parameters: OrgsListPublicMembersEndpoint; - request: OrgsListPublicMembersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#check-public-organization-membership-for-a-user - */ - "GET /orgs/:org/public_members/:username": { - parameters: OrgsCheckPublicMembershipForUserEndpoint; - request: OrgsCheckPublicMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-organization-repositories - */ - "GET /orgs/:org/repos": { - parameters: ReposListForOrgEndpoint; - request: ReposListForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-an-organization - */ - "GET /orgs/:org/team-sync/groups": { - parameters: TeamsListIdPGroupsForOrgEndpoint; - request: TeamsListIdPGroupsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-teams - */ - "GET /orgs/:org/teams": { - parameters: TeamsListEndpoint; - request: TeamsListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#get-a-team-by-name - */ - "GET /orgs/:org/teams/:team_slug": { - parameters: TeamsGetByNameEndpoint; - request: TeamsGetByNameRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#list-discussions - */ - "GET /orgs/:org/teams/:team_slug/discussions": { - parameters: TeamsListDiscussionsInOrgEndpoint; - request: TeamsListDiscussionsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#get-a-discussion - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsGetDiscussionInOrgEndpoint; - request: TeamsGetDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": { - parameters: TeamsListDiscussionCommentsInOrgEndpoint; - request: TeamsListDiscussionCommentsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsGetDiscussionCommentInOrgEndpoint; - request: TeamsGetDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsListForTeamDiscussionCommentInOrgEndpoint; - request: ReactionsListForTeamDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions": { - parameters: ReactionsListForTeamDiscussionInOrgEndpoint; - request: ReactionsListForTeamDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations - */ - "GET /orgs/:org/teams/:team_slug/invitations": { - parameters: TeamsListPendingInvitationsInOrgEndpoint; - request: TeamsListPendingInvitationsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-team-members - */ - "GET /orgs/:org/teams/:team_slug/members": { - parameters: TeamsListMembersInOrgEndpoint; - request: TeamsListMembersInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user - */ - "GET /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsGetMembershipForUserInOrgEndpoint; - request: TeamsGetMembershipForUserInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-projects - */ - "GET /orgs/:org/teams/:team_slug/projects": { - parameters: TeamsListProjectsInOrgEndpoint; - request: TeamsListProjectsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-project - */ - "GET /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsCheckPermissionsForProjectInOrgEndpoint; - request: TeamsCheckPermissionsForProjectInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-repositories - */ - "GET /orgs/:org/teams/:team_slug/repos": { - parameters: TeamsListReposInOrgEndpoint; - request: TeamsListReposInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository - */ - "GET /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsCheckPermissionsForRepoInOrgEndpoint; - request: TeamsCheckPermissionsForRepoInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team - */ - "GET /orgs/:org/teams/:team_slug/team-sync/group-mappings": { - parameters: TeamsListIdPGroupsInOrgEndpoint; - request: TeamsListIdPGroupsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-child-teams - */ - "GET /orgs/:org/teams/:team_slug/teams": { - parameters: TeamsListChildInOrgEndpoint; - request: TeamsListChildInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#get-a-project - */ - "GET /projects/:project_id": { - parameters: ProjectsGetEndpoint; - request: ProjectsGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#list-project-collaborators - */ - "GET /projects/:project_id/collaborators": { - parameters: ProjectsListCollaboratorsEndpoint; - request: ProjectsListCollaboratorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#get-project-permission-for-a-user - */ - "GET /projects/:project_id/collaborators/:username/permission": { - parameters: ProjectsGetPermissionForUserEndpoint; - request: ProjectsGetPermissionForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#list-project-columns - */ - "GET /projects/:project_id/columns": { - parameters: ProjectsListColumnsEndpoint; - request: ProjectsListColumnsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#get-a-project-column - */ - "GET /projects/columns/:column_id": { - parameters: ProjectsGetColumnEndpoint; - request: ProjectsGetColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#list-project-cards - */ - "GET /projects/columns/:column_id/cards": { - parameters: ProjectsListCardsEndpoint; - request: ProjectsListCardsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#get-a-project-card - */ - "GET /projects/columns/cards/:card_id": { - parameters: ProjectsGetCardEndpoint; - request: ProjectsGetCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user - */ - "GET /rate_limit": { - parameters: RateLimitGetEndpoint; - request: RateLimitGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#get-a-repository - */ - "GET /repos/:owner/:repo": { - parameters: ReposGetEndpoint; - request: ReposGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#download-a-repository-archive - */ - "GET /repos/:owner/:repo/:archive_format/:ref": { - parameters: ReposDownloadArchiveEndpoint; - request: ReposDownloadArchiveRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#list-artifacts-for-a-repository - */ - "GET /repos/:owner/:repo/actions/artifacts": { - parameters: ActionsListArtifactsForRepoEndpoint; - request: ActionsListArtifactsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#get-an-artifact - */ - "GET /repos/:owner/:repo/actions/artifacts/:artifact_id": { - parameters: ActionsGetArtifactEndpoint; - request: ActionsGetArtifactRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#download-an-artifact - */ - "GET /repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format": { - parameters: ActionsDownloadArtifactEndpoint; - request: ActionsDownloadArtifactRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#get-a-job-for-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/jobs/:job_id": { - parameters: ActionsGetJobForWorkflowRunEndpoint; - request: ActionsGetJobForWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#download-job-logs-for-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/jobs/:job_id/logs": { - parameters: ActionsDownloadJobLogsForWorkflowRunEndpoint; - request: ActionsDownloadJobLogsForWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runners": { - parameters: ActionsListSelfHostedRunnersForRepoEndpoint; - request: ActionsListSelfHostedRunnersForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#get-a-self-hosted-runner-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runners/:runner_id": { - parameters: ActionsGetSelfHostedRunnerForRepoEndpoint; - request: ActionsGetSelfHostedRunnerForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runners/downloads": { - parameters: ActionsListRunnerApplicationsForRepoEndpoint; - request: ActionsListRunnerApplicationsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runs": { - parameters: ActionsListWorkflowRunsForRepoEndpoint; - request: ActionsListWorkflowRunsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#get-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/runs/:run_id": { - parameters: ActionsGetWorkflowRunEndpoint; - request: ActionsGetWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#list-workflow-run-artifacts - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/artifacts": { - parameters: ActionsListWorkflowRunArtifactsEndpoint; - request: ActionsListWorkflowRunArtifactsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#list-jobs-for-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/jobs": { - parameters: ActionsListJobsForWorkflowRunEndpoint; - request: ActionsListJobsForWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#download-workflow-run-logs - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/logs": { - parameters: ActionsDownloadWorkflowRunLogsEndpoint; - request: ActionsDownloadWorkflowRunLogsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#get-workflow-run-usage - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/timing": { - parameters: ActionsGetWorkflowRunUsageEndpoint; - request: ActionsGetWorkflowRunUsageRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-repository-secrets - */ - "GET /repos/:owner/:repo/actions/secrets": { - parameters: ActionsListRepoSecretsEndpoint; - request: ActionsListRepoSecretsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#get-a-repository-secret - */ - "GET /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsGetRepoSecretEndpoint; - request: ActionsGetRepoSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key - */ - "GET /repos/:owner/:repo/actions/secrets/public-key": { - parameters: ActionsGetRepoPublicKeyEndpoint; - request: ActionsGetRepoPublicKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflows/#list-repository-workflows - */ - "GET /repos/:owner/:repo/actions/workflows": { - parameters: ActionsListRepoWorkflowsEndpoint; - request: ActionsListRepoWorkflowsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflows/#get-a-workflow - */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id": { - parameters: ActionsGetWorkflowEndpoint; - request: ActionsGetWorkflowRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs - */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs": { - parameters: ActionsListWorkflowRunsEndpoint; - request: ActionsListWorkflowRunsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflows/#get-workflow-usage - */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id/timing": { - parameters: ActionsGetWorkflowUsageEndpoint; - request: ActionsGetWorkflowUsageRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#list-assignees - */ - "GET /repos/:owner/:repo/assignees": { - parameters: IssuesListAssigneesEndpoint; - request: IssuesListAssigneesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#check-if-a-user-can-be-assigned - */ - "GET /repos/:owner/:repo/assignees/:assignee": { - parameters: IssuesCheckUserCanBeAssignedEndpoint; - request: IssuesCheckUserCanBeAssignedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-branches - */ - "GET /repos/:owner/:repo/branches": { - parameters: ReposListBranchesEndpoint; - request: ReposListBranchesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-a-branch - */ - "GET /repos/:owner/:repo/branches/:branch": { - parameters: ReposGetBranchEndpoint; - request: ReposGetBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-branch-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposGetBranchProtectionEndpoint; - request: ReposGetBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-admin-branch-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposGetAdminBranchProtectionEndpoint; - request: ReposGetAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-pull-request-review-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposGetPullRequestReviewProtectionEndpoint; - request: ReposGetPullRequestReviewProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-commit-signature-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposGetCommitSignatureProtectionEndpoint; - request: ReposGetCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-status-checks-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposGetStatusChecksProtectionEndpoint; - request: ReposGetStatusChecksProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-all-status-check-contexts - */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposGetAllStatusCheckContextsEndpoint; - request: ReposGetAllStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-access-restrictions - */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions": { - parameters: ReposGetAccessRestrictionsEndpoint; - request: ReposGetAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-apps-with-access-to-the-protected-branch - */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposGetAppsWithAccessToProtectedBranchEndpoint; - request: ReposGetAppsWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-teams-with-access-to-the-protected-branch - */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposGetTeamsWithAccessToProtectedBranchEndpoint; - request: ReposGetTeamsWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-users-with-access-to-the-protected-branch - */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposGetUsersWithAccessToProtectedBranchEndpoint; - request: ReposGetUsersWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#get-a-check-run - */ - "GET /repos/:owner/:repo/check-runs/:check_run_id": { - parameters: ChecksGetEndpoint; - request: ChecksGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-run-annotations - */ - "GET /repos/:owner/:repo/check-runs/:check_run_id/annotations": { - parameters: ChecksListAnnotationsEndpoint; - request: ChecksListAnnotationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#get-a-check-suite - */ - "GET /repos/:owner/:repo/check-suites/:check_suite_id": { - parameters: ChecksGetSuiteEndpoint; - request: ChecksGetSuiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-runs-in-a-check-suite - */ - "GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs": { - parameters: ChecksListForSuiteEndpoint; - request: ChecksListForSuiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository - */ - "GET /repos/:owner/:repo/code-scanning/alerts": { - parameters: CodeScanningListAlertsForRepoEndpoint; - request: CodeScanningListAlertsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/code-scanning/#get-a-code-scanning-alert - */ - "GET /repos/:owner/:repo/code-scanning/alerts/:alert_id": { - parameters: CodeScanningGetAlertEndpoint; - request: CodeScanningGetAlertRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators - */ - "GET /repos/:owner/:repo/collaborators": { - parameters: ReposListCollaboratorsEndpoint; - request: ReposListCollaboratorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-repository-collaborator - */ - "GET /repos/:owner/:repo/collaborators/:username": { - parameters: ReposCheckCollaboratorEndpoint; - request: ReposCheckCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#get-repository-permissions-for-a-user - */ - "GET /repos/:owner/:repo/collaborators/:username/permission": { - parameters: ReposGetCollaboratorPermissionLevelEndpoint; - request: ReposGetCollaboratorPermissionLevelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository - */ - "GET /repos/:owner/:repo/comments": { - parameters: ReposListCommitCommentsForRepoEndpoint; - request: ReposListCommitCommentsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#get-a-commit-comment - */ - "GET /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposGetCommitCommentEndpoint; - request: ReposGetCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment - */ - "GET /repos/:owner/:repo/comments/:comment_id/reactions": { - parameters: ReactionsListForCommitCommentEndpoint; - request: ReactionsListForCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-commits - */ - "GET /repos/:owner/:repo/commits": { - parameters: ReposListCommitsEndpoint; - request: ReposListCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-branches-for-head-commit - */ - "GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head": { - parameters: ReposListBranchesForHeadCommitEndpoint; - request: ReposListBranchesForHeadCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#list-commit-comments - */ - "GET /repos/:owner/:repo/commits/:commit_sha/comments": { - parameters: ReposListCommentsForCommitEndpoint; - request: ReposListCommentsForCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit - */ - "GET /repos/:owner/:repo/commits/:commit_sha/pulls": { - parameters: ReposListPullRequestsAssociatedWithCommitEndpoint; - request: ReposListPullRequestsAssociatedWithCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#get-a-commit - */ - "GET /repos/:owner/:repo/commits/:ref": { - parameters: ReposGetCommitEndpoint; - request: ReposGetCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-git-reference - */ - "GET /repos/:owner/:repo/commits/:ref/check-runs": { - parameters: ChecksListForRefEndpoint; - request: ChecksListForRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-git-reference - */ - "GET /repos/:owner/:repo/commits/:ref/check-suites": { - parameters: ChecksListSuitesForRefEndpoint; - request: ChecksListSuitesForRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-reference - */ - "GET /repos/:owner/:repo/commits/:ref/status": { - parameters: ReposGetCombinedStatusForRefEndpoint; - request: ReposGetCombinedStatusForRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference - */ - "GET /repos/:owner/:repo/commits/:ref/statuses": { - parameters: ReposListCommitStatusesForRefEndpoint; - request: ReposListCommitStatusesForRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository - */ - "GET /repos/:owner/:repo/community/code_of_conduct": { - parameters: CodesOfConductGetForRepoEndpoint; - request: CodesOfConductGetForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/community/#get-community-profile-metrics - */ - "GET /repos/:owner/:repo/community/profile": { - parameters: ReposGetCommunityProfileMetricsEndpoint; - request: ReposGetCommunityProfileMetricsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#compare-two-commits - */ - "GET /repos/:owner/:repo/compare/:base...:head": { - parameters: ReposCompareCommitsEndpoint; - request: ReposCompareCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#get-repository-content - */ - "GET /repos/:owner/:repo/contents/:path": { - parameters: ReposGetContentEndpoint; - request: ReposGetContentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-contributors - */ - "GET /repos/:owner/:repo/contributors": { - parameters: ReposListContributorsEndpoint; - request: ReposListContributorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#list-deployments - */ - "GET /repos/:owner/:repo/deployments": { - parameters: ReposListDeploymentsEndpoint; - request: ReposListDeploymentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#get-a-deployment - */ - "GET /repos/:owner/:repo/deployments/:deployment_id": { - parameters: ReposGetDeploymentEndpoint; - request: ReposGetDeploymentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#list-deployment-statuses - */ - "GET /repos/:owner/:repo/deployments/:deployment_id/statuses": { - parameters: ReposListDeploymentStatusesEndpoint; - request: ReposListDeploymentStatusesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#get-a-deployment-status - */ - "GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id": { - parameters: ReposGetDeploymentStatusEndpoint; - request: ReposGetDeploymentStatusRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/downloads/#list-downloads-for-a-repository - */ - "GET /repos/:owner/:repo/downloads": { - parameters: ReposListDownloadsEndpoint; - request: ReposListDownloadsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/downloads/#get-a-single-download - */ - "GET /repos/:owner/:repo/downloads/:download_id": { - parameters: ReposGetDownloadEndpoint; - request: ReposGetDownloadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-repository-events - */ - "GET /repos/:owner/:repo/events": { - parameters: ActivityListRepoEventsEndpoint; - request: ActivityListRepoEventsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/forks/#list-forks - */ - "GET /repos/:owner/:repo/forks": { - parameters: ReposListForksEndpoint; - request: ReposListForksRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/blobs/#get-a-blob - */ - "GET /repos/:owner/:repo/git/blobs/:file_sha": { - parameters: GitGetBlobEndpoint; - request: GitGetBlobRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/commits/#get-a-commit - */ - "GET /repos/:owner/:repo/git/commits/:commit_sha": { - parameters: GitGetCommitEndpoint; - request: GitGetCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#list-matching-references - */ - "GET /repos/:owner/:repo/git/matching-refs/:ref": { - parameters: GitListMatchingRefsEndpoint; - request: GitListMatchingRefsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#get-a-reference - */ - "GET /repos/:owner/:repo/git/ref/:ref": { - parameters: GitGetRefEndpoint; - request: GitGetRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/tags/#get-a-tag - */ - "GET /repos/:owner/:repo/git/tags/:tag_sha": { - parameters: GitGetTagEndpoint; - request: GitGetTagRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/trees/#get-a-tree - */ - "GET /repos/:owner/:repo/git/trees/:tree_sha": { - parameters: GitGetTreeEndpoint; - request: GitGetTreeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#list-repository-webhooks - */ - "GET /repos/:owner/:repo/hooks": { - parameters: ReposListWebhooksEndpoint; - request: ReposListWebhooksRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#get-a-repository-webhook - */ - "GET /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposGetWebhookEndpoint; - request: ReposGetWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-an-import-status - */ - "GET /repos/:owner/:repo/import": { - parameters: MigrationsGetImportStatusEndpoint; - request: MigrationsGetImportStatusRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-commit-authors - */ - "GET /repos/:owner/:repo/import/authors": { - parameters: MigrationsGetCommitAuthorsEndpoint; - request: MigrationsGetCommitAuthorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-large-files - */ - "GET /repos/:owner/:repo/import/large_files": { - parameters: MigrationsGetLargeFilesEndpoint; - request: MigrationsGetLargeFilesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app - */ - "GET /repos/:owner/:repo/installation": { - parameters: AppsGetRepoInstallationEndpoint; - request: AppsGetRepoInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/repos/#get-interaction-restrictions-for-a-repository - */ - "GET /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsGetRestrictionsForRepoEndpoint; - request: InteractionsGetRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations - */ - "GET /repos/:owner/:repo/invitations": { - parameters: ReposListInvitationsEndpoint; - request: ReposListInvitationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#list-repository-issues - */ - "GET /repos/:owner/:repo/issues": { - parameters: IssuesListForRepoEndpoint; - request: IssuesListForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#get-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number": { - parameters: IssuesGetEndpoint; - request: IssuesGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#list-issue-comments - */ - "GET /repos/:owner/:repo/issues/:issue_number/comments": { - parameters: IssuesListCommentsEndpoint; - request: IssuesListCommentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/events/#list-issue-events - */ - "GET /repos/:owner/:repo/issues/:issue_number/events": { - parameters: IssuesListEventsEndpoint; - request: IssuesListEventsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesListLabelsOnIssueEndpoint; - request: IssuesListLabelsOnIssueRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/reactions": { - parameters: ReactionsListForIssueEndpoint; - request: ReactionsListForIssueRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/timeline/#list-timeline-events-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/timeline": { - parameters: IssuesListEventsForTimelineEndpoint; - request: IssuesListEventsForTimelineRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#list-issue-comments-for-a-repository - */ - "GET /repos/:owner/:repo/issues/comments": { - parameters: IssuesListCommentsForRepoEndpoint; - request: IssuesListCommentsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#get-an-issue-comment - */ - "GET /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesGetCommentEndpoint; - request: IssuesGetCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment - */ - "GET /repos/:owner/:repo/issues/comments/:comment_id/reactions": { - parameters: ReactionsListForIssueCommentEndpoint; - request: ReactionsListForIssueCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/events/#list-issue-events-for-a-repository - */ - "GET /repos/:owner/:repo/issues/events": { - parameters: IssuesListEventsForRepoEndpoint; - request: IssuesListEventsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/events/#get-an-issue-event - */ - "GET /repos/:owner/:repo/issues/events/:event_id": { - parameters: IssuesGetEventEndpoint; - request: IssuesGetEventRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#list-deploy-keys - */ - "GET /repos/:owner/:repo/keys": { - parameters: ReposListDeployKeysEndpoint; - request: ReposListDeployKeysRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#get-a-deploy-key - */ - "GET /repos/:owner/:repo/keys/:key_id": { - parameters: ReposGetDeployKeyEndpoint; - request: ReposGetDeployKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-a-repository - */ - "GET /repos/:owner/:repo/labels": { - parameters: IssuesListLabelsForRepoEndpoint; - request: IssuesListLabelsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#get-a-label - */ - "GET /repos/:owner/:repo/labels/:name": { - parameters: IssuesGetLabelEndpoint; - request: IssuesGetLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-languages - */ - "GET /repos/:owner/:repo/languages": { - parameters: ReposListLanguagesEndpoint; - request: ReposListLanguagesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/licenses/#get-the-license-for-a-repository - */ - "GET /repos/:owner/:repo/license": { - parameters: LicensesGetForRepoEndpoint; - request: LicensesGetForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#list-milestones - */ - "GET /repos/:owner/:repo/milestones": { - parameters: IssuesListMilestonesEndpoint; - request: IssuesListMilestonesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#get-a-milestone - */ - "GET /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesGetMilestoneEndpoint; - request: IssuesGetMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-issues-in-a-milestone - */ - "GET /repos/:owner/:repo/milestones/:milestone_number/labels": { - parameters: IssuesListLabelsForMilestoneEndpoint; - request: IssuesListLabelsForMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user - */ - "GET /repos/:owner/:repo/notifications": { - parameters: ActivityListRepoNotificationsForAuthenticatedUserEndpoint; - request: ActivityListRepoNotificationsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#get-a-github-pages-site - */ - "GET /repos/:owner/:repo/pages": { - parameters: ReposGetPagesEndpoint; - request: ReposGetPagesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#list-github-pages-builds - */ - "GET /repos/:owner/:repo/pages/builds": { - parameters: ReposListPagesBuildsEndpoint; - request: ReposListPagesBuildsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#get-github-pages-build - */ - "GET /repos/:owner/:repo/pages/builds/:build_id": { - parameters: ReposGetPagesBuildEndpoint; - request: ReposGetPagesBuildRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#get-latest-pages-build - */ - "GET /repos/:owner/:repo/pages/builds/latest": { - parameters: ReposGetLatestPagesBuildEndpoint; - request: ReposGetLatestPagesBuildRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#list-repository-projects - */ - "GET /repos/:owner/:repo/projects": { - parameters: ProjectsListForRepoEndpoint; - request: ProjectsListForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-pull-requests - */ - "GET /repos/:owner/:repo/pulls": { - parameters: PullsListEndpoint; - request: PullsListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#get-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number": { - parameters: PullsGetEndpoint; - request: PullsGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/comments": { - parameters: PullsListReviewCommentsEndpoint; - request: PullsListReviewCommentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/commits": { - parameters: PullsListCommitsEndpoint; - request: PullsListCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-pull-requests-files - */ - "GET /repos/:owner/:repo/pulls/:pull_number/files": { - parameters: PullsListFilesEndpoint; - request: PullsListFilesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged - */ - "GET /repos/:owner/:repo/pulls/:pull_number/merge": { - parameters: PullsCheckIfMergedEndpoint; - request: PullsCheckIfMergedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsListRequestedReviewersEndpoint; - request: PullsListRequestedReviewersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews": { - parameters: PullsListReviewsEndpoint; - request: PullsListReviewsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#get-a-review-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsGetReviewEndpoint; - request: PullsGetReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review - */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments": { - parameters: PullsListCommentsForReviewEndpoint; - request: PullsListCommentsForReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository - */ - "GET /repos/:owner/:repo/pulls/comments": { - parameters: PullsListReviewCommentsForRepoEndpoint; - request: PullsListReviewCommentsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#get-a-review-comment-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsGetReviewCommentEndpoint; - request: PullsGetReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment - */ - "GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions": { - parameters: ReactionsListForPullRequestReviewCommentEndpoint; - request: ReactionsListForPullRequestReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#get-a-repository-readme - */ - "GET /repos/:owner/:repo/readme": { - parameters: ReposGetReadmeEndpoint; - request: ReposGetReadmeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#list-releases - */ - "GET /repos/:owner/:repo/releases": { - parameters: ReposListReleasesEndpoint; - request: ReposListReleasesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release - */ - "GET /repos/:owner/:repo/releases/:release_id": { - parameters: ReposGetReleaseEndpoint; - request: ReposGetReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#list-release-assets - */ - "GET /repos/:owner/:repo/releases/:release_id/assets": { - parameters: ReposListReleaseAssetsEndpoint; - request: ReposListReleaseAssetsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release-asset - */ - "GET /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposGetReleaseAssetEndpoint; - request: ReposGetReleaseAssetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#get-the-latest-release - */ - "GET /repos/:owner/:repo/releases/latest": { - parameters: ReposGetLatestReleaseEndpoint; - request: ReposGetLatestReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name - */ - "GET /repos/:owner/:repo/releases/tags/:tag": { - parameters: ReposGetReleaseByTagEndpoint; - request: ReposGetReleaseByTagRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-stargazers - */ - "GET /repos/:owner/:repo/stargazers": { - parameters: ActivityListStargazersForRepoEndpoint; - request: ActivityListStargazersForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-activity - */ - "GET /repos/:owner/:repo/stats/code_frequency": { - parameters: ReposGetCodeFrequencyStatsEndpoint; - request: ReposGetCodeFrequencyStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity - */ - "GET /repos/:owner/:repo/stats/commit_activity": { - parameters: ReposGetCommitActivityStatsEndpoint; - request: ReposGetCommitActivityStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-all-contributor-commit-activity - */ - "GET /repos/:owner/:repo/stats/contributors": { - parameters: ReposGetContributorsStatsEndpoint; - request: ReposGetContributorsStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count - */ - "GET /repos/:owner/:repo/stats/participation": { - parameters: ReposGetParticipationStatsEndpoint; - request: ReposGetParticipationStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-hourly-commit-count-for-each-day - */ - "GET /repos/:owner/:repo/stats/punch_card": { - parameters: ReposGetPunchCardStatsEndpoint; - request: ReposGetPunchCardStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-watchers - */ - "GET /repos/:owner/:repo/subscribers": { - parameters: ActivityListWatchersForRepoEndpoint; - request: ActivityListWatchersForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#get-a-repository-subscription - */ - "GET /repos/:owner/:repo/subscription": { - parameters: ActivityGetRepoSubscriptionEndpoint; - request: ActivityGetRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-tags - */ - "GET /repos/:owner/:repo/tags": { - parameters: ReposListTagsEndpoint; - request: ReposListTagsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-teams - */ - "GET /repos/:owner/:repo/teams": { - parameters: ReposListTeamsEndpoint; - request: ReposListTeamsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#get-all-repository-topics - */ - "GET /repos/:owner/:repo/topics": { - parameters: ReposGetAllTopicsEndpoint; - request: ReposGetAllTopicsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/traffic/#get-repository-clones - */ - "GET /repos/:owner/:repo/traffic/clones": { - parameters: ReposGetClonesEndpoint; - request: ReposGetClonesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/traffic/#get-top-referral-paths - */ - "GET /repos/:owner/:repo/traffic/popular/paths": { - parameters: ReposGetTopPathsEndpoint; - request: ReposGetTopPathsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/traffic/#get-top-referral-sources - */ - "GET /repos/:owner/:repo/traffic/popular/referrers": { - parameters: ReposGetTopReferrersEndpoint; - request: ReposGetTopReferrersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/traffic/#get-page-views - */ - "GET /repos/:owner/:repo/traffic/views": { - parameters: ReposGetViewsEndpoint; - request: ReposGetViewsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository - */ - "GET /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposCheckVulnerabilityAlertsEndpoint; - request: ReposCheckVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-public-repositories - */ - "GET /repositories": { - parameters: ReposListPublicEndpoint; - request: ReposListPublicRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#list-scim-provisioned-identities - */ - "GET /scim/v2/organizations/:org/Users": { - parameters: ScimListProvisionedIdentitiesEndpoint; - request: ScimListProvisionedIdentitiesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#get-scim-provisioning-information-for-a-user - */ - "GET /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimGetProvisioningInformationForUserEndpoint; - request: ScimGetProvisioningInformationForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-code - */ - "GET /search/code": { - parameters: SearchCodeEndpoint; - request: SearchCodeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-commits - */ - "GET /search/commits": { - parameters: SearchCommitsEndpoint; - request: SearchCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-issues-and-pull-requests - */ - "GET /search/issues": { - parameters: SearchIssuesAndPullRequestsEndpoint; - request: SearchIssuesAndPullRequestsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-labels - */ - "GET /search/labels": { - parameters: SearchLabelsEndpoint; - request: SearchLabelsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-repositories - */ - "GET /search/repositories": { - parameters: SearchReposEndpoint; - request: SearchReposRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-topics - */ - "GET /search/topics": { - parameters: SearchTopicsEndpoint; - request: SearchTopicsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-users - */ - "GET /search/users": { - parameters: SearchUsersEndpoint; - request: SearchUsersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#get-a-team-legacy - */ - "GET /teams/:team_id": { - parameters: TeamsGetLegacyEndpoint; - request: TeamsGetLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy - */ - "GET /teams/:team_id/discussions": { - parameters: TeamsListDiscussionsLegacyEndpoint; - request: TeamsListDiscussionsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#get-a-discussion-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsGetDiscussionLegacyEndpoint; - request: TeamsGetDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/comments": { - parameters: TeamsListDiscussionCommentsLegacyEndpoint; - request: TeamsListDiscussionCommentsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsGetDiscussionCommentLegacyEndpoint; - request: TeamsGetDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsListForTeamDiscussionCommentLegacyEndpoint; - request: ReactionsListForTeamDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/reactions": { - parameters: ReactionsListForTeamDiscussionLegacyEndpoint; - request: ReactionsListForTeamDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy - */ - "GET /teams/:team_id/invitations": { - parameters: TeamsListPendingInvitationsLegacyEndpoint; - request: TeamsListPendingInvitationsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-team-members-legacy - */ - "GET /teams/:team_id/members": { - parameters: TeamsListMembersLegacyEndpoint; - request: TeamsListMembersLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#get-team-member-legacy - */ - "GET /teams/:team_id/members/:username": { - parameters: TeamsGetMemberLegacyEndpoint; - request: TeamsGetMemberLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user-legacy - */ - "GET /teams/:team_id/memberships/:username": { - parameters: TeamsGetMembershipForUserLegacyEndpoint; - request: TeamsGetMembershipForUserLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-projects-legacy - */ - "GET /teams/:team_id/projects": { - parameters: TeamsListProjectsLegacyEndpoint; - request: TeamsListProjectsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-project-legacy - */ - "GET /teams/:team_id/projects/:project_id": { - parameters: TeamsCheckPermissionsForProjectLegacyEndpoint; - request: TeamsCheckPermissionsForProjectLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-repositories-legacy - */ - "GET /teams/:team_id/repos": { - parameters: TeamsListReposLegacyEndpoint; - request: TeamsListReposLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository-legacy - */ - "GET /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsCheckPermissionsForRepoLegacyEndpoint; - request: TeamsCheckPermissionsForRepoLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team-legacy - */ - "GET /teams/:team_id/team-sync/group-mappings": { - parameters: TeamsListIdPGroupsForLegacyEndpoint; - request: TeamsListIdPGroupsForLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-child-teams-legacy - */ - "GET /teams/:team_id/teams": { - parameters: TeamsListChildLegacyEndpoint; - request: TeamsListChildLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#get-the-authenticated-user - */ - "GET /user": { - parameters: UsersGetAuthenticatedEndpoint; - request: UsersGetAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration - */ - "GET /user/:migration_id/repositories": { - parameters: MigrationsListReposForUserEndpoint; - request: MigrationsListReposForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user - */ - "GET /user/blocks": { - parameters: UsersListBlockedByAuthenticatedEndpoint; - request: UsersListBlockedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#check-if-a-user-is-blocked-by-the-authenticated-user - */ - "GET /user/blocks/:username": { - parameters: UsersCheckBlockedEndpoint; - request: UsersCheckBlockedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#list-email-addresses-for-the-authenticated-user - */ - "GET /user/emails": { - parameters: UsersListEmailsForAuthenticatedEndpoint; - request: UsersListEmailsForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-followers-of-the-authenticated-user - */ - "GET /user/followers": { - parameters: UsersListFollowersForAuthenticatedUserEndpoint; - request: UsersListFollowersForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-the-people-the-authenticated-user-follows - */ - "GET /user/following": { - parameters: UsersListFollowedByAuthenticatedEndpoint; - request: UsersListFollowedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#check-if-a-person-is-followed-by-the-authenticated-user - */ - "GET /user/following/:username": { - parameters: UsersCheckPersonIsFollowedByAuthenticatedEndpoint; - request: UsersCheckPersonIsFollowedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-the-authenticated-user - */ - "GET /user/gpg_keys": { - parameters: UsersListGpgKeysForAuthenticatedEndpoint; - request: UsersListGpgKeysForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#get-a-gpg-key-for-the-authenticated-user - */ - "GET /user/gpg_keys/:gpg_key_id": { - parameters: UsersGetGpgKeyForAuthenticatedEndpoint; - request: UsersGetGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token - */ - "GET /user/installations": { - parameters: AppsListInstallationsForAuthenticatedUserEndpoint; - request: AppsListInstallationsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token - */ - "GET /user/installations/:installation_id/repositories": { - parameters: AppsListInstallationReposForAuthenticatedUserEndpoint; - request: AppsListInstallationReposForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user - */ - "GET /user/issues": { - parameters: IssuesListForAuthenticatedUserEndpoint; - request: IssuesListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#list-public-ssh-keys-for-the-authenticated-user - */ - "GET /user/keys": { - parameters: UsersListPublicSshKeysForAuthenticatedEndpoint; - request: UsersListPublicSshKeysForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#get-a-public-ssh-key-for-the-authenticated-user - */ - "GET /user/keys/:key_id": { - parameters: UsersGetPublicSshKeyForAuthenticatedEndpoint; - request: UsersGetPublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user - */ - "GET /user/marketplace_purchases": { - parameters: AppsListSubscriptionsForAuthenticatedUserEndpoint; - request: AppsListSubscriptionsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed - */ - "GET /user/marketplace_purchases/stubbed": { - parameters: AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint; - request: AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user - */ - "GET /user/memberships/orgs": { - parameters: OrgsListMembershipsForAuthenticatedUserEndpoint; - request: OrgsListMembershipsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#get-an-organization-membership-for-the-authenticated-user - */ - "GET /user/memberships/orgs/:org": { - parameters: OrgsGetMembershipForAuthenticatedUserEndpoint; - request: OrgsGetMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#list-user-migrations - */ - "GET /user/migrations": { - parameters: MigrationsListForAuthenticatedUserEndpoint; - request: MigrationsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#get-a-user-migration-status - */ - "GET /user/migrations/:migration_id": { - parameters: MigrationsGetStatusForAuthenticatedUserEndpoint; - request: MigrationsGetStatusForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#download-a-user-migration-archive - */ - "GET /user/migrations/:migration_id/archive": { - parameters: MigrationsGetArchiveForAuthenticatedUserEndpoint; - request: MigrationsGetArchiveForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user - */ - "GET /user/orgs": { - parameters: OrgsListForAuthenticatedUserEndpoint; - request: OrgsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-the-authenticated-user - */ - "GET /user/public_emails": { - parameters: UsersListPublicEmailsForAuthenticatedEndpoint; - request: UsersListPublicEmailsForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repositories-for-the-authenticated-user - */ - "GET /user/repos": { - parameters: ReposListForAuthenticatedUserEndpoint; - request: ReposListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user - */ - "GET /user/repository_invitations": { - parameters: ReposListInvitationsForAuthenticatedUserEndpoint; - request: ReposListInvitationsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user - */ - "GET /user/starred": { - parameters: ActivityListReposStarredByAuthenticatedUserEndpoint; - request: ActivityListReposStarredByAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#check-if-a-repository-is-starred-by-the-authenticated-user - */ - "GET /user/starred/:owner/:repo": { - parameters: ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint; - request: ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user - */ - "GET /user/subscriptions": { - parameters: ActivityListWatchedReposForAuthenticatedUserEndpoint; - request: ActivityListWatchedReposForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-teams-for-the-authenticated-user - */ - "GET /user/teams": { - parameters: TeamsListForAuthenticatedUserEndpoint; - request: TeamsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#list-users - */ - "GET /users": { - parameters: UsersListEndpoint; - request: UsersListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#get-a-user - */ - "GET /users/:username": { - parameters: UsersGetByUsernameEndpoint; - request: UsersGetByUsernameRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-events-for-the-authenticated-user - */ - "GET /users/:username/events": { - parameters: ActivityListEventsForAuthenticatedUserEndpoint; - request: ActivityListEventsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-organization-events-for-the-authenticated-user - */ - "GET /users/:username/events/orgs/:org": { - parameters: ActivityListOrgEventsForAuthenticatedUserEndpoint; - request: ActivityListOrgEventsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-for-a-user - */ - "GET /users/:username/events/public": { - parameters: ActivityListPublicEventsForUserEndpoint; - request: ActivityListPublicEventsForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-followers-of-a-user - */ - "GET /users/:username/followers": { - parameters: UsersListFollowersForUserEndpoint; - request: UsersListFollowersForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-the-people-a-user-follows - */ - "GET /users/:username/following": { - parameters: UsersListFollowingForUserEndpoint; - request: UsersListFollowingForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#check-if-a-user-follows-another-user - */ - "GET /users/:username/following/:target_user": { - parameters: UsersCheckFollowingForUserEndpoint; - request: UsersCheckFollowingForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gists-for-a-user - */ - "GET /users/:username/gists": { - parameters: GistsListForUserEndpoint; - request: GistsListForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-a-user - */ - "GET /users/:username/gpg_keys": { - parameters: UsersListGpgKeysForUserEndpoint; - request: UsersListGpgKeysForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#get-contextual-information-for-a-user - */ - "GET /users/:username/hovercard": { - parameters: UsersGetContextForUserEndpoint; - request: UsersGetContextForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app - */ - "GET /users/:username/installation": { - parameters: AppsGetUserInstallationEndpoint; - request: AppsGetUserInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user - */ - "GET /users/:username/keys": { - parameters: UsersListPublicKeysForUserEndpoint; - request: UsersListPublicKeysForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations-for-a-user - */ - "GET /users/:username/orgs": { - parameters: OrgsListForUserEndpoint; - request: OrgsListForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#list-user-projects - */ - "GET /users/:username/projects": { - parameters: ProjectsListForUserEndpoint; - request: ProjectsListForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-events-received-by-the-authenticated-user - */ - "GET /users/:username/received_events": { - parameters: ActivityListReceivedEventsForUserEndpoint; - request: ActivityListReceivedEventsForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-received-by-a-user - */ - "GET /users/:username/received_events/public": { - parameters: ActivityListReceivedPublicEventsForUserEndpoint; - request: ActivityListReceivedPublicEventsForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repositories-for-a-user - */ - "GET /users/:username/repos": { - parameters: ReposListForUserEndpoint; - request: ReposListForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-a-user - */ - "GET /users/:username/starred": { - parameters: ActivityListReposStarredByUserEndpoint; - request: ActivityListReposStarredByUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-a-user - */ - "GET /users/:username/subscriptions": { - parameters: ActivityListReposWatchedByUserEndpoint; - request: ActivityListReposWatchedByUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#reset-a-token - */ - "PATCH /applications/:client_id/token": { - parameters: AppsResetTokenEndpoint; - request: AppsResetTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization - */ - "PATCH /authorizations/:authorization_id": { - parameters: OauthAuthorizationsUpdateAuthorizationEndpoint; - request: OauthAuthorizationsUpdateAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#update-a-gist - */ - "PATCH /gists/:gist_id": { - parameters: GistsUpdateEndpoint; - request: GistsUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#update-a-gist-comment - */ - "PATCH /gists/:gist_id/comments/:comment_id": { - parameters: GistsUpdateCommentEndpoint; - request: GistsUpdateCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read - */ - "PATCH /notifications/threads/:thread_id": { - parameters: ActivityMarkThreadAsReadEndpoint; - request: ActivityMarkThreadAsReadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#update-an-organization - */ - "PATCH /orgs/:org": { - parameters: OrgsUpdateEndpoint; - request: OrgsUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#update-an-organization-webhook - */ - "PATCH /orgs/:org/hooks/:hook_id": { - parameters: OrgsUpdateWebhookEndpoint; - request: OrgsUpdateWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#update-a-team - */ - "PATCH /orgs/:org/teams/:team_slug": { - parameters: TeamsUpdateInOrgEndpoint; - request: TeamsUpdateInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#update-a-discussion - */ - "PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsUpdateDiscussionInOrgEndpoint; - request: TeamsUpdateDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment - */ - "PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsUpdateDiscussionCommentInOrgEndpoint; - request: TeamsUpdateDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections - */ - "PATCH /orgs/:org/teams/:team_slug/team-sync/group-mappings": { - parameters: TeamsCreateOrUpdateIdPGroupConnectionsInOrgEndpoint; - request: TeamsCreateOrUpdateIdPGroupConnectionsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#update-a-project - */ - "PATCH /projects/:project_id": { - parameters: ProjectsUpdateEndpoint; - request: ProjectsUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#update-a-project-column - */ - "PATCH /projects/columns/:column_id": { - parameters: ProjectsUpdateColumnEndpoint; - request: ProjectsUpdateColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#update-a-project-card - */ - "PATCH /projects/columns/cards/:card_id": { - parameters: ProjectsUpdateCardEndpoint; - request: ProjectsUpdateCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#update-a-repository - */ - "PATCH /repos/:owner/:repo": { - parameters: ReposUpdateEndpoint; - request: ReposUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#update-pull-request-review-protection - */ - "PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposUpdatePullRequestReviewProtectionEndpoint; - request: ReposUpdatePullRequestReviewProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#update-status-check-potection - */ - "PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposUpdateStatusCheckPotectionEndpoint; - request: ReposUpdateStatusCheckPotectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#update-a-check-run - */ - "PATCH /repos/:owner/:repo/check-runs/:check_run_id": { - parameters: ChecksUpdateEndpoint; - request: ChecksUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites - */ - "PATCH /repos/:owner/:repo/check-suites/preferences": { - parameters: ChecksSetSuitesPreferencesEndpoint; - request: ChecksSetSuitesPreferencesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#update-a-commit-comment - */ - "PATCH /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposUpdateCommitCommentEndpoint; - request: ReposUpdateCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#update-a-reference - */ - "PATCH /repos/:owner/:repo/git/refs/:ref": { - parameters: GitUpdateRefEndpoint; - request: GitUpdateRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#update-a-repository-webhook - */ - "PATCH /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposUpdateWebhookEndpoint; - request: ReposUpdateWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#update-an-import - */ - "PATCH /repos/:owner/:repo/import": { - parameters: MigrationsUpdateImportEndpoint; - request: MigrationsUpdateImportRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#map-a-commit-author - */ - "PATCH /repos/:owner/:repo/import/authors/:author_id": { - parameters: MigrationsMapCommitAuthorEndpoint; - request: MigrationsMapCommitAuthorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#update-git-lfs-preference - */ - "PATCH /repos/:owner/:repo/import/lfs": { - parameters: MigrationsSetLfsPreferenceEndpoint; - request: MigrationsSetLfsPreferenceRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#update-a-repository-invitation - */ - "PATCH /repos/:owner/:repo/invitations/:invitation_id": { - parameters: ReposUpdateInvitationEndpoint; - request: ReposUpdateInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#update-an-issue - */ - "PATCH /repos/:owner/:repo/issues/:issue_number": { - parameters: IssuesUpdateEndpoint; - request: IssuesUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#update-an-issue-comment - */ - "PATCH /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesUpdateCommentEndpoint; - request: IssuesUpdateCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#update-a-label - */ - "PATCH /repos/:owner/:repo/labels/:name": { - parameters: IssuesUpdateLabelEndpoint; - request: IssuesUpdateLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#update-a-milestone - */ - "PATCH /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesUpdateMilestoneEndpoint; - request: IssuesUpdateMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#update-a-pull-request - */ - "PATCH /repos/:owner/:repo/pulls/:pull_number": { - parameters: PullsUpdateEndpoint; - request: PullsUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#update-a-review-comment-for-a-pull-request - */ - "PATCH /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsUpdateReviewCommentEndpoint; - request: PullsUpdateReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#update-a-release - */ - "PATCH /repos/:owner/:repo/releases/:release_id": { - parameters: ReposUpdateReleaseEndpoint; - request: ReposUpdateReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#update-a-release-asset - */ - "PATCH /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposUpdateReleaseAssetEndpoint; - request: ReposUpdateReleaseAssetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#update-an-attribute-for-a-scim-user - */ - "PATCH /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimUpdateAttributeForUserEndpoint; - request: ScimUpdateAttributeForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#update-a-team-legacy - */ - "PATCH /teams/:team_id": { - parameters: TeamsUpdateLegacyEndpoint; - request: TeamsUpdateLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#update-a-discussion-legacy - */ - "PATCH /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsUpdateDiscussionLegacyEndpoint; - request: TeamsUpdateDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment-legacy - */ - "PATCH /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsUpdateDiscussionCommentLegacyEndpoint; - request: TeamsUpdateDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections-legacy - */ - "PATCH /teams/:team_id/team-sync/group-mappings": { - parameters: TeamsCreateOrUpdateIdPGroupConnectionsLegacyEndpoint; - request: TeamsCreateOrUpdateIdPGroupConnectionsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#update-the-authenticated-user - */ - "PATCH /user": { - parameters: UsersUpdateAuthenticatedEndpoint; - request: UsersUpdateAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#set-primary-email-visibility-for-the-authenticated-user - */ - "PATCH /user/email/visibility": { - parameters: UsersSetPrimaryEmailVisibilityForAuthenticatedEndpoint; - request: UsersSetPrimaryEmailVisibilityForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#update-an-organization-membership-for-the-authenticated-user - */ - "PATCH /user/memberships/orgs/:org": { - parameters: OrgsUpdateMembershipForAuthenticatedUserEndpoint; - request: OrgsUpdateMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation - */ - "PATCH /user/repository_invitations/:invitation_id": { - parameters: ReposAcceptInvitationEndpoint; - request: ReposAcceptInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest - */ - "POST /app-manifests/:code/conversions": { - parameters: AppsCreateFromManifestEndpoint; - request: AppsCreateFromManifestRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app - */ - "POST /app/installations/:installation_id/access_tokens": { - parameters: AppsCreateInstallationAccessTokenEndpoint; - request: AppsCreateInstallationAccessTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#check-a-token - */ - "POST /applications/:client_id/token": { - parameters: AppsCheckTokenEndpoint; - request: AppsCheckTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization - */ - "POST /applications/:client_id/tokens/:access_token": { - parameters: AppsResetAuthorizationEndpoint; - request: AppsResetAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization - */ - "POST /authorizations": { - parameters: OauthAuthorizationsCreateAuthorizationEndpoint; - request: OauthAuthorizationsCreateAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#create-a-content-attachment - */ - "POST /content_references/:content_reference_id/attachments": { - parameters: AppsCreateContentAttachmentEndpoint; - request: AppsCreateContentAttachmentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#create-a-gist - */ - "POST /gists": { - parameters: GistsCreateEndpoint; - request: GistsCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#create-a-gist-comment - */ - "POST /gists/:gist_id/comments": { - parameters: GistsCreateCommentEndpoint; - request: GistsCreateCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#fork-a-gist - */ - "POST /gists/:gist_id/forks": { - parameters: GistsForkEndpoint; - request: GistsForkRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/markdown/#render-a-markdown-document - */ - "POST /markdown": { - parameters: MarkdownRenderEndpoint; - request: MarkdownRenderRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode - */ - "POST /markdown/raw": { - parameters: MarkdownRenderRawEndpoint; - request: MarkdownRenderRawRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-an-organization - */ - "POST /orgs/:org/actions/runners/registration-token": { - parameters: ActionsCreateRegistrationTokenForOrgEndpoint; - request: ActionsCreateRegistrationTokenForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-remove-token-for-an-organization - */ - "POST /orgs/:org/actions/runners/remove-token": { - parameters: ActionsCreateRemoveTokenForOrgEndpoint; - request: ActionsCreateRemoveTokenForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#create-an-organization-webhook - */ - "POST /orgs/:org/hooks": { - parameters: OrgsCreateWebhookEndpoint; - request: OrgsCreateWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#ping-an-organization-webhook - */ - "POST /orgs/:org/hooks/:hook_id/pings": { - parameters: OrgsPingWebhookEndpoint; - request: OrgsPingWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#create-an-organization-invitation - */ - "POST /orgs/:org/invitations": { - parameters: OrgsCreateInvitationEndpoint; - request: OrgsCreateInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#start-an-organization-migration - */ - "POST /orgs/:org/migrations": { - parameters: MigrationsStartForOrgEndpoint; - request: MigrationsStartForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#create-an-organization-project - */ - "POST /orgs/:org/projects": { - parameters: ProjectsCreateForOrgEndpoint; - request: ProjectsCreateForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#create-an-organization-repository - */ - "POST /orgs/:org/repos": { - parameters: ReposCreateInOrgEndpoint; - request: ReposCreateInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#create-a-team - */ - "POST /orgs/:org/teams": { - parameters: TeamsCreateEndpoint; - request: TeamsCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#create-a-discussion - */ - "POST /orgs/:org/teams/:team_slug/discussions": { - parameters: TeamsCreateDiscussionInOrgEndpoint; - request: TeamsCreateDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment - */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": { - parameters: TeamsCreateDiscussionCommentInOrgEndpoint; - request: TeamsCreateDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment - */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionCommentInOrgEndpoint; - request: ReactionsCreateForTeamDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion - */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionInOrgEndpoint; - request: ReactionsCreateForTeamDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#create-a-project-column - */ - "POST /projects/:project_id/columns": { - parameters: ProjectsCreateColumnEndpoint; - request: ProjectsCreateColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#create-a-project-card - */ - "POST /projects/columns/:column_id/cards": { - parameters: ProjectsCreateCardEndpoint; - request: ProjectsCreateCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#move-a-project-column - */ - "POST /projects/columns/:column_id/moves": { - parameters: ProjectsMoveColumnEndpoint; - request: ProjectsMoveColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#move-a-project-card - */ - "POST /projects/columns/cards/:card_id/moves": { - parameters: ProjectsMoveCardEndpoint; - request: ProjectsMoveCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-a-repository - */ - "POST /repos/:owner/:repo/actions/runners/registration-token": { - parameters: ActionsCreateRegistrationTokenForRepoEndpoint; - request: ActionsCreateRegistrationTokenForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-remove-token-for-a-repository - */ - "POST /repos/:owner/:repo/actions/runners/remove-token": { - parameters: ActionsCreateRemoveTokenForRepoEndpoint; - request: ActionsCreateRemoveTokenForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#cancel-a-workflow-run - */ - "POST /repos/:owner/:repo/actions/runs/:run_id/cancel": { - parameters: ActionsCancelWorkflowRunEndpoint; - request: ActionsCancelWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#re-run-a-workflow - */ - "POST /repos/:owner/:repo/actions/runs/:run_id/rerun": { - parameters: ActionsReRunWorkflowEndpoint; - request: ActionsReRunWorkflowRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-admin-branch-protection - */ - "POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposSetAdminBranchProtectionEndpoint; - request: ReposSetAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#create-commit-signature-protection - */ - "POST /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposCreateCommitSignatureProtectionEndpoint; - request: ReposCreateCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#add-status-check-contexts - */ - "POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposAddStatusCheckContextsEndpoint; - request: ReposAddStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#add-app-access-restrictions - */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposAddAppAccessRestrictionsEndpoint; - request: ReposAddAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#add-team-access-restrictions - */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposAddTeamAccessRestrictionsEndpoint; - request: ReposAddTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#add-user-access-restrictions - */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposAddUserAccessRestrictionsEndpoint; - request: ReposAddUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#create-a-check-run - */ - "POST /repos/:owner/:repo/check-runs": { - parameters: ChecksCreateEndpoint; - request: ChecksCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#create-a-check-suite - */ - "POST /repos/:owner/:repo/check-suites": { - parameters: ChecksCreateSuiteEndpoint; - request: ChecksCreateSuiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#rerequest-a-check-suite - */ - "POST /repos/:owner/:repo/check-suites/:check_suite_id/rerequest": { - parameters: ChecksRerequestSuiteEndpoint; - request: ChecksRerequestSuiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment - */ - "POST /repos/:owner/:repo/comments/:comment_id/reactions": { - parameters: ReactionsCreateForCommitCommentEndpoint; - request: ReactionsCreateForCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#create-a-commit-comment - */ - "POST /repos/:owner/:repo/commits/:commit_sha/comments": { - parameters: ReposCreateCommitCommentEndpoint; - request: ReposCreateCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#create-a-deployment - */ - "POST /repos/:owner/:repo/deployments": { - parameters: ReposCreateDeploymentEndpoint; - request: ReposCreateDeploymentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#create-a-deployment-status - */ - "POST /repos/:owner/:repo/deployments/:deployment_id/statuses": { - parameters: ReposCreateDeploymentStatusEndpoint; - request: ReposCreateDeploymentStatusRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#create-a-repository-dispatch-event - */ - "POST /repos/:owner/:repo/dispatches": { - parameters: ReposCreateDispatchEventEndpoint; - request: ReposCreateDispatchEventRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/forks/#create-a-fork - */ - "POST /repos/:owner/:repo/forks": { - parameters: ReposCreateForkEndpoint; - request: ReposCreateForkRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/blobs/#create-a-blob - */ - "POST /repos/:owner/:repo/git/blobs": { - parameters: GitCreateBlobEndpoint; - request: GitCreateBlobRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/commits/#create-a-commit - */ - "POST /repos/:owner/:repo/git/commits": { - parameters: GitCreateCommitEndpoint; - request: GitCreateCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#create-a-reference - */ - "POST /repos/:owner/:repo/git/refs": { - parameters: GitCreateRefEndpoint; - request: GitCreateRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/tags/#create-a-tag-object - */ - "POST /repos/:owner/:repo/git/tags": { - parameters: GitCreateTagEndpoint; - request: GitCreateTagRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/trees/#create-a-tree - */ - "POST /repos/:owner/:repo/git/trees": { - parameters: GitCreateTreeEndpoint; - request: GitCreateTreeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#create-a-repository-webhook - */ - "POST /repos/:owner/:repo/hooks": { - parameters: ReposCreateWebhookEndpoint; - request: ReposCreateWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#ping-a-repository-webhook - */ - "POST /repos/:owner/:repo/hooks/:hook_id/pings": { - parameters: ReposPingWebhookEndpoint; - request: ReposPingWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#test-the-push-repository-webhook - */ - "POST /repos/:owner/:repo/hooks/:hook_id/tests": { - parameters: ReposTestPushWebhookEndpoint; - request: ReposTestPushWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#create-an-issue - */ - "POST /repos/:owner/:repo/issues": { - parameters: IssuesCreateEndpoint; - request: IssuesCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#add-assignees-to-an-issue - */ - "POST /repos/:owner/:repo/issues/:issue_number/assignees": { - parameters: IssuesAddAssigneesEndpoint; - request: IssuesAddAssigneesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#create-an-issue-comment - */ - "POST /repos/:owner/:repo/issues/:issue_number/comments": { - parameters: IssuesCreateCommentEndpoint; - request: IssuesCreateCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue - */ - "POST /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesAddLabelsEndpoint; - request: IssuesAddLabelsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-an-issue - */ - "POST /repos/:owner/:repo/issues/:issue_number/reactions": { - parameters: ReactionsCreateForIssueEndpoint; - request: ReactionsCreateForIssueRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment - */ - "POST /repos/:owner/:repo/issues/comments/:comment_id/reactions": { - parameters: ReactionsCreateForIssueCommentEndpoint; - request: ReactionsCreateForIssueCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#create-a-deploy-key - */ - "POST /repos/:owner/:repo/keys": { - parameters: ReposCreateDeployKeyEndpoint; - request: ReposCreateDeployKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#create-a-label - */ - "POST /repos/:owner/:repo/labels": { - parameters: IssuesCreateLabelEndpoint; - request: IssuesCreateLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/merging/#merge-a-branch - */ - "POST /repos/:owner/:repo/merges": { - parameters: ReposMergeEndpoint; - request: ReposMergeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#create-a-milestone - */ - "POST /repos/:owner/:repo/milestones": { - parameters: IssuesCreateMilestoneEndpoint; - request: IssuesCreateMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#create-a-github-pages-site - */ - "POST /repos/:owner/:repo/pages": { - parameters: ReposCreatePagesSiteEndpoint; - request: ReposCreatePagesSiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#request-a-github-pages-build - */ - "POST /repos/:owner/:repo/pages/builds": { - parameters: ReposRequestPagesBuildEndpoint; - request: ReposRequestPagesBuildRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#create-a-repository-project - */ - "POST /repos/:owner/:repo/projects": { - parameters: ProjectsCreateForRepoEndpoint; - request: ProjectsCreateForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#create-a-pull-request - */ - "POST /repos/:owner/:repo/pulls": { - parameters: PullsCreateEndpoint; - request: PullsCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#create-a-review-comment-for-a-pull-request - */ - "POST /repos/:owner/:repo/pulls/:pull_number/comments": { - parameters: PullsCreateReviewCommentEndpoint; - request: PullsCreateReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#create-a-reply-for-a-review-comment - */ - "POST /repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies": { - parameters: PullsCreateReplyForReviewCommentEndpoint; - request: PullsCreateReplyForReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/review_requests/#request-reviewers-for-a-pull-request - */ - "POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsRequestReviewersEndpoint; - request: PullsRequestReviewersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#create-a-review-for-a-pull-request - */ - "POST /repos/:owner/:repo/pulls/:pull_number/reviews": { - parameters: PullsCreateReviewEndpoint; - request: PullsCreateReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request - */ - "POST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events": { - parameters: PullsSubmitReviewEndpoint; - request: PullsSubmitReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment - */ - "POST /repos/:owner/:repo/pulls/comments/:comment_id/reactions": { - parameters: ReactionsCreateForPullRequestReviewCommentEndpoint; - request: ReactionsCreateForPullRequestReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#create-a-release - */ - "POST /repos/:owner/:repo/releases": { - parameters: ReposCreateReleaseEndpoint; - request: ReposCreateReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#upload-a-release-asset - */ - "POST /repos/:owner/:repo/releases/:release_id/assets{?name,label}": { - parameters: ReposUploadReleaseAssetEndpoint; - request: ReposUploadReleaseAssetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statuses/#create-a-commit-status - */ - "POST /repos/:owner/:repo/statuses/:sha": { - parameters: ReposCreateCommitStatusEndpoint; - request: ReposCreateCommitStatusRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#transfer-a-repository - */ - "POST /repos/:owner/:repo/transfer": { - parameters: ReposTransferEndpoint; - request: ReposTransferRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#create-a-repository-using-a-template - */ - "POST /repos/:template_owner/:template_repo/generate": { - parameters: ReposCreateUsingTemplateEndpoint; - request: ReposCreateUsingTemplateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#provision-and-invite-a-scim-user - */ - "POST /scim/v2/organizations/:org/Users": { - parameters: ScimProvisionAndInviteUserEndpoint; - request: ScimProvisionAndInviteUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy - */ - "POST /teams/:team_id/discussions": { - parameters: TeamsCreateDiscussionLegacyEndpoint; - request: TeamsCreateDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment-legacy - */ - "POST /teams/:team_id/discussions/:discussion_number/comments": { - parameters: TeamsCreateDiscussionCommentLegacyEndpoint; - request: TeamsCreateDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy - */ - "POST /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionCommentLegacyEndpoint; - request: ReactionsCreateForTeamDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy - */ - "POST /teams/:team_id/discussions/:discussion_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionLegacyEndpoint; - request: ReactionsCreateForTeamDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#add-an-email-address-for-the-authenticated-user - */ - "POST /user/emails": { - parameters: UsersAddEmailForAuthenticatedEndpoint; - request: UsersAddEmailForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#create-a-gpg-key-for-the-authenticated-user - */ - "POST /user/gpg_keys": { - parameters: UsersCreateGpgKeyForAuthenticatedEndpoint; - request: UsersCreateGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#create-a-public-ssh-key-for-the-authenticated-user - */ - "POST /user/keys": { - parameters: UsersCreatePublicSshKeyForAuthenticatedEndpoint; - request: UsersCreatePublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#start-a-user-migration - */ - "POST /user/migrations": { - parameters: MigrationsStartForAuthenticatedUserEndpoint; - request: MigrationsStartForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#create-a-user-project - */ - "POST /user/projects": { - parameters: ProjectsCreateForAuthenticatedUserEndpoint; - request: ProjectsCreateForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user - */ - "POST /user/repos": { - parameters: ReposCreateForAuthenticatedUserEndpoint; - request: ReposCreateForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#suspend-an-app-installation - */ - "PUT /app/installations/:installation_id/suspended": { - parameters: AppsSuspendInstallationEndpoint; - request: AppsSuspendInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app - */ - "PUT /authorizations/clients/:client_id": { - parameters: OauthAuthorizationsGetOrCreateAuthorizationForAppEndpoint; - request: OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint - */ - "PUT /authorizations/clients/:client_id/:fingerprint": { - parameters: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint; - request: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#star-a-gist - */ - "PUT /gists/:gist_id/star": { - parameters: GistsStarEndpoint; - request: GistsStarRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#mark-notifications-as-read - */ - "PUT /notifications": { - parameters: ActivityMarkNotificationsAsReadEndpoint; - request: ActivityMarkNotificationsAsReadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription - */ - "PUT /notifications/threads/:thread_id/subscription": { - parameters: ActivitySetThreadSubscriptionEndpoint; - request: ActivitySetThreadSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret - */ - "PUT /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsCreateOrUpdateOrgSecretEndpoint; - request: ActionsCreateOrUpdateOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret - */ - "PUT /orgs/:org/actions/secrets/:secret_name/repositories": { - parameters: ActionsSetSelectedReposForOrgSecretEndpoint; - request: ActionsSetSelectedReposForOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#add-selected-repository-to-an-organization-secret - */ - "PUT /orgs/:org/actions/secrets/:secret_name/repositories/:repository_id": { - parameters: ActionsAddSelectedRepoToOrgSecretEndpoint; - request: ActionsAddSelectedRepoToOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#block-a-user-from-an-organization - */ - "PUT /orgs/:org/blocks/:username": { - parameters: OrgsBlockUserEndpoint; - request: OrgsBlockUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/orgs/#set-interaction-restrictions-for-an-organization - */ - "PUT /orgs/:org/interaction-limits": { - parameters: InteractionsSetRestrictionsForOrgEndpoint; - request: InteractionsSetRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#set-organization-membership-for-a-user - */ - "PUT /orgs/:org/memberships/:username": { - parameters: OrgsSetMembershipForUserEndpoint; - request: OrgsSetMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#convert-an-organization-member-to-outside-collaborator - */ - "PUT /orgs/:org/outside_collaborators/:username": { - parameters: OrgsConvertMemberToOutsideCollaboratorEndpoint; - request: OrgsConvertMemberToOutsideCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#set-public-organization-membership-for-the-authenticated-user - */ - "PUT /orgs/:org/public_members/:username": { - parameters: OrgsSetPublicMembershipForAuthenticatedUserEndpoint; - request: OrgsSetPublicMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user - */ - "PUT /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsAddOrUpdateMembershipForUserInOrgEndpoint; - request: TeamsAddOrUpdateMembershipForUserInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-project-permissions - */ - "PUT /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsAddOrUpdateProjectPermissionsInOrgEndpoint; - request: TeamsAddOrUpdateProjectPermissionsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions - */ - "PUT /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsAddOrUpdateRepoPermissionsInOrgEndpoint; - request: TeamsAddOrUpdateRepoPermissionsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#add-project-collaborator - */ - "PUT /projects/:project_id/collaborators/:username": { - parameters: ProjectsAddCollaboratorEndpoint; - request: ProjectsAddCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#create-or-update-a-repository-secret - */ - "PUT /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsCreateOrUpdateRepoSecretEndpoint; - request: ActionsCreateOrUpdateRepoSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#enable-automated-security-fixes - */ - "PUT /repos/:owner/:repo/automated-security-fixes": { - parameters: ReposEnableAutomatedSecurityFixesEndpoint; - request: ReposEnableAutomatedSecurityFixesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#update-branch-protection - */ - "PUT /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposUpdateBranchProtectionEndpoint; - request: ReposUpdateBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-status-check-contexts - */ - "PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposSetStatusCheckContextsEndpoint; - request: ReposSetStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-app-access-restrictions - */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposSetAppAccessRestrictionsEndpoint; - request: ReposSetAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-team-access-restrictions - */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposSetTeamAccessRestrictionsEndpoint; - request: ReposSetTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-user-access-restrictions - */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposSetUserAccessRestrictionsEndpoint; - request: ReposSetUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#add-a-repository-collaborator - */ - "PUT /repos/:owner/:repo/collaborators/:username": { - parameters: ReposAddCollaboratorEndpoint; - request: ReposAddCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#create-or-update-file-contents - */ - "PUT /repos/:owner/:repo/contents/:path": { - parameters: ReposCreateOrUpdateFileContentsEndpoint; - request: ReposCreateOrUpdateFileContentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#start-an-import - */ - "PUT /repos/:owner/:repo/import": { - parameters: MigrationsStartImportEndpoint; - request: MigrationsStartImportRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/repos/#set-interaction-restrictions-for-a-repository - */ - "PUT /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsSetRestrictionsForRepoEndpoint; - request: InteractionsSetRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#set-labels-for-an-issue - */ - "PUT /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesSetLabelsEndpoint; - request: IssuesSetLabelsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#lock-an-issue - */ - "PUT /repos/:owner/:repo/issues/:issue_number/lock": { - parameters: IssuesLockEndpoint; - request: IssuesLockRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#mark-repository-notifications-as-read - */ - "PUT /repos/:owner/:repo/notifications": { - parameters: ActivityMarkRepoNotificationsAsReadEndpoint; - request: ActivityMarkRepoNotificationsAsReadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#update-information-about-a-github-pages-site - */ - "PUT /repos/:owner/:repo/pages": { - parameters: ReposUpdateInformationAboutPagesSiteEndpoint; - request: ReposUpdateInformationAboutPagesSiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#merge-a-pull-request - */ - "PUT /repos/:owner/:repo/pulls/:pull_number/merge": { - parameters: PullsMergeEndpoint; - request: PullsMergeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#update-a-review-for-a-pull-request - */ - "PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsUpdateReviewEndpoint; - request: PullsUpdateReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#dismiss-a-review-for-a-pull-request - */ - "PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals": { - parameters: PullsDismissReviewEndpoint; - request: PullsDismissReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#update-a-pull-request-branch - */ - "PUT /repos/:owner/:repo/pulls/:pull_number/update-branch": { - parameters: PullsUpdateBranchEndpoint; - request: PullsUpdateBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#set-a-repository-subscription - */ - "PUT /repos/:owner/:repo/subscription": { - parameters: ActivitySetRepoSubscriptionEndpoint; - request: ActivitySetRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#replace-all-repository-topics - */ - "PUT /repos/:owner/:repo/topics": { - parameters: ReposReplaceAllTopicsEndpoint; - request: ReposReplaceAllTopicsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#enable-vulnerability-alerts - */ - "PUT /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposEnableVulnerabilityAlertsEndpoint; - request: ReposEnableVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#set-scim-information-for-a-provisioned-user - */ - "PUT /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimSetInformationForProvisionedUserEndpoint; - request: ScimSetInformationForProvisionedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#add-team-member-legacy - */ - "PUT /teams/:team_id/members/:username": { - parameters: TeamsAddMemberLegacyEndpoint; - request: TeamsAddMemberLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user-legacy - */ - "PUT /teams/:team_id/memberships/:username": { - parameters: TeamsAddOrUpdateMembershipForUserLegacyEndpoint; - request: TeamsAddOrUpdateMembershipForUserLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-project-permissions-legacy - */ - "PUT /teams/:team_id/projects/:project_id": { - parameters: TeamsAddOrUpdateProjectPermissionsLegacyEndpoint; - request: TeamsAddOrUpdateProjectPermissionsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions-legacy - */ - "PUT /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsAddOrUpdateRepoPermissionsLegacyEndpoint; - request: TeamsAddOrUpdateRepoPermissionsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#block-a-user - */ - "PUT /user/blocks/:username": { - parameters: UsersBlockEndpoint; - request: UsersBlockRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#follow-a-user - */ - "PUT /user/following/:username": { - parameters: UsersFollowEndpoint; - request: UsersFollowRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#add-a-repository-to-an-app-installation - */ - "PUT /user/installations/:installation_id/repositories/:repository_id": { - parameters: AppsAddRepoToInstallationEndpoint; - request: AppsAddRepoToInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#star-a-repository-for-the-authenticated-user - */ - "PUT /user/starred/:owner/:repo": { - parameters: ActivityStarRepoForAuthenticatedUserEndpoint; - request: ActivityStarRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; -} -declare type AppsGetAuthenticatedEndpoint = {} & RequiredPreview<"machine-man">; -declare type AppsGetAuthenticatedRequestOptions = { - method: "GET"; - url: "/app"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetAuthenticatedResponseData { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - installations_count: number; -} -declare type AppsCreateFromManifestEndpoint = { - code: string; -}; -declare type AppsCreateFromManifestRequestOptions = { - method: "POST"; - url: "/app-manifests/:code/conversions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCreateFromManifestResponseData { - id: number; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - client_id: string; - client_secret: string; - webhook_secret: string; - pem: string; -} -declare type AppsListInstallationsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type AppsListInstallationsRequestOptions = { - method: "GET"; - url: "/app/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListInstallationsResponseData = { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - repository_selection: "all" | "selected"; -}[]; -declare type AppsGetInstallationEndpoint = { - installation_id: number; -} & RequiredPreview<"machine-man">; -declare type AppsGetInstallationRequestOptions = { - method: "GET"; - url: "/app/installations/:installation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - repository_selection: "all" | "selected"; -} -declare type AppsDeleteInstallationEndpoint = { - installation_id: number; -} & RequiredPreview<"machine-man">; -declare type AppsDeleteInstallationRequestOptions = { - method: "DELETE"; - url: "/app/installations/:installation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsCreateInstallationAccessTokenEndpoint = { - installation_id: number; - /** - * The `id`s of the repositories that the installation token can access. Providing repository `id`s restricts the access of an installation token to specific repositories. You can use the "[List repositories accessible to the app installation](https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation)" endpoint to get the `id` of all repositories that an installation can access. For example, you can select specific repositories when creating an installation token to restrict the number of repositories that can be cloned using the token. - */ - repository_ids?: number[]; - /** - * The permissions granted to the access token. The permissions object includes the permission names and their access type. For a complete list of permissions and allowable values, see "[GitHub App permissions](https://developer.github.com/apps/building-github-apps/creating-github-apps-using-url-parameters/#github-app-permissions)." - */ - permissions?: AppsCreateInstallationAccessTokenParamsPermissions; -} & RequiredPreview<"machine-man">; -declare type AppsCreateInstallationAccessTokenRequestOptions = { - method: "POST"; - url: "/app/installations/:installation_id/access_tokens"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCreateInstallationAccessTokenResponseData { - token: string; - expires_at: string; - permissions: { - issues: string; - contents: string; - }; - repository_selection: "all" | "selected"; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} -declare type AppsSuspendInstallationEndpoint = { - installation_id: number; -}; -declare type AppsSuspendInstallationRequestOptions = { - method: "PUT"; - url: "/app/installations/:installation_id/suspended"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsUnsuspendInstallationEndpoint = { - installation_id: number; -}; -declare type AppsUnsuspendInstallationRequestOptions = { - method: "DELETE"; - url: "/app/installations/:installation_id/suspended"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OauthAuthorizationsListGrantsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OauthAuthorizationsListGrantsRequestOptions = { - method: "GET"; - url: "/applications/grants"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OauthAuthorizationsListGrantsResponseData = { - id: number; - url: string; - app: { - url: string; - name: string; - client_id: string; - }; - created_at: string; - updated_at: string; - scopes: string[]; -}[]; -declare type OauthAuthorizationsGetGrantEndpoint = { - grant_id: number; -}; -declare type OauthAuthorizationsGetGrantRequestOptions = { - method: "GET"; - url: "/applications/grants/:grant_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsGetGrantResponseData { - id: number; - url: string; - app: { - url: string; - name: string; - client_id: string; - }; - created_at: string; - updated_at: string; - scopes: string[]; -} -declare type OauthAuthorizationsDeleteGrantEndpoint = { - grant_id: number; -}; -declare type OauthAuthorizationsDeleteGrantRequestOptions = { - method: "DELETE"; - url: "/applications/grants/:grant_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsDeleteAuthorizationEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; -declare type AppsDeleteAuthorizationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/grant"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsRevokeGrantForApplicationEndpoint = { - client_id: string; - access_token: string; -}; -declare type AppsRevokeGrantForApplicationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/grants/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsCheckTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; -declare type AppsCheckTokenRequestOptions = { - method: "POST"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCheckTokenResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type AppsResetTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; -declare type AppsResetTokenRequestOptions = { - method: "PATCH"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsResetTokenResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type AppsDeleteTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; -declare type AppsDeleteTokenRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsCheckAuthorizationEndpoint = { - client_id: string; - access_token: string; -}; -declare type AppsCheckAuthorizationRequestOptions = { - method: "GET"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCheckAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type AppsResetAuthorizationEndpoint = { - client_id: string; - access_token: string; -}; -declare type AppsResetAuthorizationRequestOptions = { - method: "POST"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsResetAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type AppsRevokeAuthorizationForApplicationEndpoint = { - client_id: string; - access_token: string; -}; -declare type AppsRevokeAuthorizationForApplicationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsGetBySlugEndpoint = { - app_slug: string; -} & RequiredPreview<"machine-man">; -declare type AppsGetBySlugRequestOptions = { - method: "GET"; - url: "/apps/:app_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetBySlugResponseData { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -} -declare type OauthAuthorizationsListAuthorizationsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OauthAuthorizationsListAuthorizationsRequestOptions = { - method: "GET"; - url: "/authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OauthAuthorizationsListAuthorizationsResponseData = { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -}[]; -declare type OauthAuthorizationsCreateAuthorizationEndpoint = { - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note. - */ - note: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * The 20 character OAuth app client key for which to create the token. - */ - client_id?: string; - /** - * The 40 character OAuth app client secret for which to create the token. - */ - client_secret?: string; - /** - * A unique string to distinguish an authorization from others created for the same client ID and user. - */ - fingerprint?: string; -}; -declare type OauthAuthorizationsCreateAuthorizationRequestOptions = { - method: "POST"; - url: "/authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsCreateAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsGetOrCreateAuthorizationForAppEndpoint = { - client_id: string; - /** - * The 40 character OAuth app client secret associated with the client ID specified in the URL. - */ - client_secret: string; - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * A unique string to distinguish an authorization from others created for the same client and user. If provided, this API is functionally equivalent to [Get-or-create an authorization for a specific app and fingerprint](https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint). - */ - fingerprint?: string; -}; -declare type OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions = { - method: "PUT"; - url: "/authorizations/clients/:client_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppResponse201Data { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint = { - client_id: string; - fingerprint: string; - /** - * The 40 character OAuth app client secret associated with the client ID specified in the URL. - */ - client_secret: string; - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; -}; -declare type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions = { - method: "PUT"; - url: "/authorizations/clients/:client_id/:fingerprint"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponse201Data { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsGetAuthorizationEndpoint = { - authorization_id: number; -}; -declare type OauthAuthorizationsGetAuthorizationRequestOptions = { - method: "GET"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsGetAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsUpdateAuthorizationEndpoint = { - authorization_id: number; - /** - * Replaces the authorization scopes with these. - */ - scopes?: string[]; - /** - * A list of scopes to add to this authorization. - */ - add_scopes?: string[]; - /** - * A list of scopes to remove from this authorization. - */ - remove_scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * A unique string to distinguish an authorization from others created for the same client ID and user. - */ - fingerprint?: string; -}; -declare type OauthAuthorizationsUpdateAuthorizationRequestOptions = { - method: "PATCH"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsUpdateAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsDeleteAuthorizationEndpoint = { - authorization_id: number; -}; -declare type OauthAuthorizationsDeleteAuthorizationRequestOptions = { - method: "DELETE"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type CodesOfConductGetAllCodesOfConductEndpoint = {} & RequiredPreview<"scarlet-witch">; -declare type CodesOfConductGetAllCodesOfConductRequestOptions = { - method: "GET"; - url: "/codes_of_conduct"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type CodesOfConductGetAllCodesOfConductResponseData = { - key: string; - name: string; - url: string; -}[]; -declare type CodesOfConductGetConductCodeEndpoint = { - key: string; -} & RequiredPreview<"scarlet-witch">; -declare type CodesOfConductGetConductCodeRequestOptions = { - method: "GET"; - url: "/codes_of_conduct/:key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface CodesOfConductGetConductCodeResponseData { - key: string; - name: string; - url: string; - body: string; -} -declare type AppsCreateContentAttachmentEndpoint = { - content_reference_id: number; - /** - * The title of the content attachment displayed in the body or comment of an issue or pull request. - */ - title: string; - /** - * The body text of the content attachment displayed in the body or comment of an issue or pull request. This parameter supports markdown. - */ - body: string; -} & RequiredPreview<"corsair">; -declare type AppsCreateContentAttachmentRequestOptions = { - method: "POST"; - url: "/content_references/:content_reference_id/attachments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCreateContentAttachmentResponseData { - id: number; - title: string; - body: string; -} -declare type EmojisGetEndpoint = {}; -declare type EmojisGetRequestOptions = { - method: "GET"; - url: "/emojis"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListPublicEventsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListPublicEventsRequestOptions = { - method: "GET"; - url: "/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityGetFeedsEndpoint = {}; -declare type ActivityGetFeedsRequestOptions = { - method: "GET"; - url: "/feeds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivityGetFeedsResponseData { - timeline_url: string; - user_url: string; - current_user_public_url: string; - current_user_url: string; - current_user_actor_url: string; - current_user_organization_url: string; - current_user_organization_urls: string[]; - security_advisories_url: string; - _links: { - timeline: { - href: string; - type: string; - }; - user: { - href: string; - type: string; - }; - current_user_public: { - href: string; - type: string; - }; - current_user: { - href: string; - type: string; - }; - current_user_actor: { - href: string; - type: string; - }; - current_user_organization: { - href: string; - type: string; - }; - current_user_organizations: { - href: string; - type: string; - }[]; - security_advisories: { - href: string; - type: string; - }; - }; -} -declare type GistsListEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListRequestOptions = { - method: "GET"; - url: "/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; -declare type GistsCreateEndpoint = { - /** - * The filenames and content of each file in the gist. The keys in the `files` object represent the filename and have the type `string`. - */ - files: GistsCreateParamsFiles; - /** - * A descriptive name for this gist. - */ - description?: string; - /** - * When `true`, the gist will be public and available for anyone to see. - */ - public?: boolean; -}; -declare type GistsCreateRequestOptions = { - method: "POST"; - url: "/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsCreateResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} -declare type GistsListPublicEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListPublicRequestOptions = { - method: "GET"; - url: "/gists/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListPublicResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; -declare type GistsListStarredEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListStarredRequestOptions = { - method: "GET"; - url: "/gists/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListStarredResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; -declare type GistsGetEndpoint = { - gist_id: string; -}; -declare type GistsGetRequestOptions = { - method: "GET"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsGetResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} -declare type GistsUpdateEndpoint = { - gist_id: string; - /** - * A descriptive name for this gist. - */ - description?: string; - /** - * The filenames and content that make up this gist. - */ - files?: GistsUpdateParamsFiles; -}; -declare type GistsUpdateRequestOptions = { - method: "PATCH"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsUpdateResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} -declare type GistsDeleteEndpoint = { - gist_id: string; -}; -declare type GistsDeleteRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsListCommentsEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListCommentsRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListCommentsResponseData = { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type GistsCreateCommentEndpoint = { - gist_id: string; - /** - * The comment text. - */ - body: string; -}; -declare type GistsCreateCommentRequestOptions = { - method: "POST"; - url: "/gists/:gist_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsCreateCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type GistsGetCommentEndpoint = { - gist_id: string; - comment_id: number; -}; -declare type GistsGetCommentRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsGetCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type GistsUpdateCommentEndpoint = { - gist_id: string; - comment_id: number; - /** - * The comment text. - */ - body: string; -}; -declare type GistsUpdateCommentRequestOptions = { - method: "PATCH"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsUpdateCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type GistsDeleteCommentEndpoint = { - gist_id: string; - comment_id: number; -}; -declare type GistsDeleteCommentRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsListCommitsEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListCommitsRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListCommitsResponseData = { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; -}[]; -declare type GistsForkEndpoint = { - gist_id: string; -}; -declare type GistsForkRequestOptions = { - method: "POST"; - url: "/gists/:gist_id/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsForkResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -} -declare type GistsListForksEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListForksRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListForksResponseData = { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; -}[]; -declare type GistsStarEndpoint = { - gist_id: string; -}; -declare type GistsStarRequestOptions = { - method: "PUT"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsUnstarEndpoint = { - gist_id: string; -}; -declare type GistsUnstarRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsCheckIsStarredEndpoint = { - gist_id: string; -}; -declare type GistsCheckIsStarredRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsGetRevisionEndpoint = { - gist_id: string; - sha: string; -}; -declare type GistsGetRevisionRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/:sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsGetRevisionResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} -declare type GitignoreGetAllTemplatesEndpoint = {}; -declare type GitignoreGetAllTemplatesRequestOptions = { - method: "GET"; - url: "/gitignore/templates"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GitignoreGetAllTemplatesResponseData = string[]; -declare type GitignoreGetTemplateEndpoint = { - name: string; -}; -declare type GitignoreGetTemplateRequestOptions = { - method: "GET"; - url: "/gitignore/templates/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitignoreGetTemplateResponseData { - name: string; - source: string; -} -declare type AppsListReposAccessibleToInstallationEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type AppsListReposAccessibleToInstallationRequestOptions = { - method: "GET"; - url: "/installation/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsListReposAccessibleToInstallationResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} -declare type AppsRevokeInstallationAccessTokenEndpoint = {}; -declare type AppsRevokeInstallationAccessTokenRequestOptions = { - method: "DELETE"; - url: "/installation/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesListEndpoint = { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListRequestOptions = { - method: "GET"; - url: "/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type LicensesGetAllCommonlyUsedEndpoint = {}; -declare type LicensesGetAllCommonlyUsedRequestOptions = { - method: "GET"; - url: "/licenses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type LicensesGetAllCommonlyUsedResponseData = { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; -}[]; -declare type LicensesGetEndpoint = { - license: string; -}; -declare type LicensesGetRequestOptions = { - method: "GET"; - url: "/licenses/:license"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface LicensesGetResponseData { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - html_url: string; - description: string; - implementation: string; - permissions: string[]; - conditions: string[]; - limitations: string[]; - body: string; - featured: boolean; -} -declare type MarkdownRenderEndpoint = { - /** - * The Markdown text to render in HTML. Markdown content must be 400 KB or less. - */ - text: string; - /** - * The rendering mode. Can be either: - * \* `markdown` to render a document in plain Markdown, just like README.md files are rendered. - * \* `gfm` to render a document in [GitHub Flavored Markdown](https://github.github.com/gfm/), which creates links for user mentions as well as references to SHA-1 hashes, issues, and pull requests. - */ - mode?: "markdown" | "gfm"; - /** - * The repository context to use when creating references in `gfm` mode. Omit this parameter when using `markdown` mode. - */ - context?: string; -}; -declare type MarkdownRenderRequestOptions = { - method: "POST"; - url: "/markdown"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MarkdownRenderRawEndpoint = { - /** - * data parameter - */ - data: string; -} & { - headers: { - "content-type": "text/plain; charset=utf-8"; - }; -}; -declare type MarkdownRenderRawRequestOptions = { - method: "POST"; - url: "/markdown/raw"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsGetSubscriptionPlanForAccountEndpoint = { - account_id: number; -}; -declare type AppsGetSubscriptionPlanForAccountRequestOptions = { - method: "GET"; - url: "/marketplace_listing/accounts/:account_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetSubscriptionPlanForAccountResponseData { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: string; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: string; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -} -declare type AppsListPlansEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListPlansRequestOptions = { - method: "GET"; - url: "/marketplace_listing/plans"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListPlansResponseData = { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; -}[]; -declare type AppsListAccountsForPlanEndpoint = { - plan_id: number; - /** - * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListAccountsForPlanRequestOptions = { - method: "GET"; - url: "/marketplace_listing/plans/:plan_id/accounts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListAccountsForPlanResponseData = { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: string; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: string; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -}[]; -declare type AppsGetSubscriptionPlanForAccountStubbedEndpoint = { - account_id: number; -}; -declare type AppsGetSubscriptionPlanForAccountStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/accounts/:account_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetSubscriptionPlanForAccountStubbedResponseData { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: string; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: string; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -} -declare type AppsListPlansStubbedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListPlansStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/plans"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListPlansStubbedResponseData = { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; -}[]; -declare type AppsListAccountsForPlanStubbedEndpoint = { - plan_id: number; - /** - * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListAccountsForPlanStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/plans/:plan_id/accounts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListAccountsForPlanStubbedResponseData = { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: string; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: string; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -}[]; -declare type MetaGetEndpoint = {}; -declare type MetaGetRequestOptions = { - method: "GET"; - url: "/meta"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MetaGetResponseData { - verifiable_password_authentication: boolean; - ssh_key_fingerprints: { - MD5_RSA: string; - MD5_DSA: string; - SHA256_RSA: string; - SHA256_DSA: string; - }; - hooks: string[]; - web: string[]; - api: string[]; - git: string[]; - pages: string[]; - importer: string[]; -} -declare type ActivityListPublicEventsForRepoNetworkEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListPublicEventsForRepoNetworkRequestOptions = { - method: "GET"; - url: "/networks/:owner/:repo/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListNotificationsForAuthenticatedUserEndpoint = { - /** - * If `true`, show notifications marked as read. - */ - all?: boolean; - /** - * If `true`, only shows notifications in which the user is directly participating or mentioned. - */ - participating?: boolean; - /** - * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - before?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListNotificationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListNotificationsForAuthenticatedUserResponseData = { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -}[]; -declare type ActivityMarkNotificationsAsReadEndpoint = { - /** - * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. - */ - last_read_at?: string; -}; -declare type ActivityMarkNotificationsAsReadRequestOptions = { - method: "PUT"; - url: "/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityGetThreadEndpoint = { - thread_id: number; -}; -declare type ActivityGetThreadRequestOptions = { - method: "GET"; - url: "/notifications/threads/:thread_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivityGetThreadResponseData { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -} -declare type ActivityMarkThreadAsReadEndpoint = { - thread_id: number; -}; -declare type ActivityMarkThreadAsReadRequestOptions = { - method: "PATCH"; - url: "/notifications/threads/:thread_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint = { - thread_id: number; -}; -declare type ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivityGetThreadSubscriptionForAuthenticatedUserResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - thread_url: string; -} -declare type ActivitySetThreadSubscriptionEndpoint = { - thread_id: number; - /** - * Unsubscribes and subscribes you to a conversation. Set `ignored` to `true` to block all notifications from this thread. - */ - ignored?: boolean; -}; -declare type ActivitySetThreadSubscriptionRequestOptions = { - method: "PUT"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivitySetThreadSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - thread_url: string; -} -declare type ActivityDeleteThreadSubscriptionEndpoint = { - thread_id: number; -}; -declare type ActivityDeleteThreadSubscriptionRequestOptions = { - method: "DELETE"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsListEndpoint = { - /** - * The integer ID of the last organization that you've seen. - */ - since?: number; -}; -declare type OrgsListRequestOptions = { - method: "GET"; - url: "/organizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; -declare type OrgsGetEndpoint = { - org: string; -}; -declare type OrgsGetRequestOptions = { - method: "GET"; - url: "/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsGetResponseData { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - total_private_repos: number; - owned_private_repos: number; - private_gists: number; - disk_usage: number; - collaborators: number; - billing_email: string; - plan: { - name: string; - space: number; - private_repos: number; - }; - default_repository_permission: string; - members_can_create_repositories: boolean; - two_factor_requirement_enabled: boolean; - members_allowed_repository_creation_type: string; - members_can_create_public_repositories: boolean; - members_can_create_private_repositories: boolean; - members_can_create_internal_repositories: boolean; -} -declare type OrgsUpdateEndpoint = { - org: string; - /** - * Billing email address. This address is not publicized. - */ - billing_email?: string; - /** - * The company name. - */ - company?: string; - /** - * The publicly visible email address. - */ - email?: string; - /** - * The Twitter username of the company. - */ - twitter_username?: string; - /** - * The location. - */ - location?: string; - /** - * The shorthand name of the company. - */ - name?: string; - /** - * The description of the company. - */ - description?: string; - /** - * Toggles whether an organization can use organization projects. - */ - has_organization_projects?: boolean; - /** - * Toggles whether repositories that belong to the organization can use repository projects. - */ - has_repository_projects?: boolean; - /** - * Default permission level members have for organization repositories: - * \* `read` - can pull, but not push to or administer this repository. - * \* `write` - can pull and push, but not administer this repository. - * \* `admin` - can pull, push, and administer this repository. - * \* `none` - no permissions granted by default. - */ - default_repository_permission?: "read" | "write" | "admin" | "none"; - /** - * Toggles the ability of non-admin organization members to create repositories. Can be one of: - * \* `true` - all organization members can create repositories. - * \* `false` - only organization owners can create repositories. - * Default: `true` - * **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. - */ - members_can_create_repositories?: boolean; - /** - * Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of: - * \* `true` - all organization members can create internal repositories. - * \* `false` - only organization owners can create internal repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. - */ - members_can_create_internal_repositories?: boolean; - /** - * Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of: - * \* `true` - all organization members can create private repositories. - * \* `false` - only organization owners can create private repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. - */ - members_can_create_private_repositories?: boolean; - /** - * Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of: - * \* `true` - all organization members can create public repositories. - * \* `false` - only organization owners can create public repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. - */ - members_can_create_public_repositories?: boolean; - /** - * Specifies which types of repositories non-admin organization members can create. Can be one of: - * \* `all` - all organization members can create public and private repositories. - * \* `private` - members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * \* `none` - only admin members can create repositories. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See [this note](https://developer.github.com/v3/orgs/#members_can_create_repositories) for details. - */ - members_allowed_repository_creation_type?: "all" | "private" | "none"; -}; -declare type OrgsUpdateRequestOptions = { - method: "PATCH"; - url: "/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsUpdateResponseData { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - total_private_repos: number; - owned_private_repos: number; - private_gists: number; - disk_usage: number; - collaborators: number; - billing_email: string; - plan: { - name: string; - space: number; - private_repos: number; - }; - default_repository_permission: string; - members_can_create_repositories: boolean; - two_factor_requirement_enabled: boolean; - members_allowed_repository_creation_type: string; - members_can_create_public_repositories: boolean; - members_can_create_private_repositories: boolean; - members_can_create_internal_repositories: boolean; -} -declare type ActionsListSelfHostedRunnersForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListSelfHostedRunnersForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListSelfHostedRunnersForOrgResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - }[]; -} -declare type ActionsListRunnerApplicationsForOrgEndpoint = { - org: string; -}; -declare type ActionsListRunnerApplicationsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners/downloads"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActionsListRunnerApplicationsForOrgResponseData = { - os: string; - architecture: string; - download_url: string; - filename: string; -}[]; -declare type ActionsCreateRegistrationTokenForOrgEndpoint = { - org: string; -}; -declare type ActionsCreateRegistrationTokenForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/actions/runners/registration-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsCreateRegistrationTokenForOrgResponseData { - token: string; - expires_at: string; -} -declare type ActionsCreateRemoveTokenForOrgEndpoint = { - org: string; -}; -declare type ActionsCreateRemoveTokenForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/actions/runners/remove-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsCreateRemoveTokenForOrgResponseData { - token: string; - expires_at: string; -} -declare type ActionsGetSelfHostedRunnerForOrgEndpoint = { - org: string; - runner_id: number; -}; -declare type ActionsGetSelfHostedRunnerForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetSelfHostedRunnerForOrgResponseData { - id: number; - name: string; - os: string; - status: string; -} -declare type ActionsDeleteSelfHostedRunnerFromOrgEndpoint = { - org: string; - runner_id: number; -}; -declare type ActionsDeleteSelfHostedRunnerFromOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsListOrgSecretsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListOrgSecretsRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListOrgSecretsResponseData { - total_count: number; - secrets: { - name: string; - created_at: string; - updated_at: string; - visibility: string; - selected_repositories_url: string; - }[]; -} -declare type ActionsGetOrgPublicKeyEndpoint = { - org: string; -}; -declare type ActionsGetOrgPublicKeyRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/public-key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetOrgPublicKeyResponseData { - key_id: string; - key: string; -} -declare type ActionsGetOrgSecretEndpoint = { - org: string; - secret_name: string; -}; -declare type ActionsGetOrgSecretRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetOrgSecretResponseData { - name: string; - created_at: string; - updated_at: string; - visibility: string; - selected_repositories_url: string; -} -declare type ActionsCreateOrUpdateOrgSecretEndpoint = { - org: string; - secret_name: string; - /** - * Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key) endpoint. - */ - encrypted_value?: string; - /** - * ID of the key you used to encrypt the secret. - */ - key_id?: string; - /** - * Configures the access that repositories have to the organization secret. Can be one of: - * \- `all` - All repositories in an organization can access the secret. - * \- `private` - Private repositories in an organization can access the secret. - * \- `selected` - Only specific repositories can access the secret. - */ - visibility?: "all" | "private" | "selected"; - /** - * An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints. - */ - selected_repository_ids?: string[]; -}; -declare type ActionsCreateOrUpdateOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteOrgSecretEndpoint = { - org: string; - secret_name: string; -}; -declare type ActionsDeleteOrgSecretRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsListSelectedReposForOrgSecretEndpoint = { - org: string; - secret_name: string; -}; -declare type ActionsListSelectedReposForOrgSecretRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListSelectedReposForOrgSecretResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }[]; -} -declare type ActionsSetSelectedReposForOrgSecretEndpoint = { - org: string; - secret_name: string; - /** - * An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints. - */ - selected_repository_ids?: number[]; -}; -declare type ActionsSetSelectedReposForOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsAddSelectedRepoToOrgSecretEndpoint = { - org: string; - secret_name: string; - repository_id: number; -}; -declare type ActionsAddSelectedRepoToOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsRemoveSelectedRepoFromOrgSecretEndpoint = { - org: string; - secret_name: string; - repository_id: number; -}; -declare type ActionsRemoveSelectedRepoFromOrgSecretRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsListBlockedUsersEndpoint = { - org: string; -}; -declare type OrgsListBlockedUsersRequestOptions = { - method: "GET"; - url: "/orgs/:org/blocks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListBlockedUsersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type OrgsCheckBlockedUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsCheckBlockedUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsBlockUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsBlockUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsUnblockUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsUnblockUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsListSamlSsoAuthorizationsEndpoint = { - org: string; -}; -declare type OrgsListSamlSsoAuthorizationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/credential-authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListSamlSsoAuthorizationsResponseData = { - login: string; - credential_id: string; - credential_type: string; - token_last_eight: string; - credential_authorized_at: string; - scopes: string[]; -}[]; -declare type OrgsRemoveSamlSsoAuthorizationEndpoint = { - org: string; - credential_id: number; -}; -declare type OrgsRemoveSamlSsoAuthorizationRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/credential-authorizations/:credential_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListPublicOrgEventsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListPublicOrgEventsRequestOptions = { - method: "GET"; - url: "/orgs/:org/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsListWebhooksEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListWebhooksRequestOptions = { - method: "GET"; - url: "/orgs/:org/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListWebhooksResponseData = { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -}[]; -declare type OrgsCreateWebhookEndpoint = { - org: string; - /** - * Must be passed as "web". - */ - name: string; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/orgs/hooks/#create-hook-config-params). - */ - config: OrgsCreateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; -declare type OrgsCreateWebhookRequestOptions = { - method: "POST"; - url: "/orgs/:org/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsCreateWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} -declare type OrgsGetWebhookEndpoint = { - org: string; - hook_id: number; -}; -declare type OrgsGetWebhookRequestOptions = { - method: "GET"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsGetWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} -declare type OrgsUpdateWebhookEndpoint = { - org: string; - hook_id: number; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/orgs/hooks/#update-hook-config-params). - */ - config?: OrgsUpdateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; -declare type OrgsUpdateWebhookRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsUpdateWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} -declare type OrgsDeleteWebhookEndpoint = { - org: string; - hook_id: number; -}; -declare type OrgsDeleteWebhookRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsPingWebhookEndpoint = { - org: string; - hook_id: number; -}; -declare type OrgsPingWebhookRequestOptions = { - method: "POST"; - url: "/orgs/:org/hooks/:hook_id/pings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsGetOrgInstallationEndpoint = { - org: string; -} & RequiredPreview<"machine-man">; -declare type AppsGetOrgInstallationRequestOptions = { - method: "GET"; - url: "/orgs/:org/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetOrgInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} -declare type OrgsListAppInstallationsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type OrgsListAppInstallationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsListAppInstallationsResponseData { - total_count: number; - installations: { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - deployments: string; - metadata: string; - pull_requests: string; - statuses: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; - }[]; -} -declare type InteractionsGetRestrictionsForOrgEndpoint = { - org: string; -} & RequiredPreview<"sombra">; -declare type InteractionsGetRestrictionsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface InteractionsGetRestrictionsForOrgResponseData { - limit: string; - origin: string; - expires_at: string; -} -declare type InteractionsSetRestrictionsForOrgEndpoint = { - org: string; - /** - * Specifies the group of GitHub users who can comment, open issues, or create pull requests in public repositories for the given organization. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`. - */ - limit: "existing_users" | "contributors_only" | "collaborators_only"; -} & RequiredPreview<"sombra">; -declare type InteractionsSetRestrictionsForOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface InteractionsSetRestrictionsForOrgResponseData { - limit: string; - origin: string; - expires_at: string; -} -declare type InteractionsRemoveRestrictionsForOrgEndpoint = { - org: string; -} & RequiredPreview<"sombra">; -declare type InteractionsRemoveRestrictionsForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsListPendingInvitationsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListPendingInvitationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListPendingInvitationsResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; -declare type OrgsCreateInvitationEndpoint = { - org: string; - /** - * **Required unless you provide `email`**. GitHub user ID for the person you are inviting. - */ - invitee_id?: number; - /** - * **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user. - */ - email?: string; - /** - * Specify role for new member. Can be one of: - * \* `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams. - * \* `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation. - * \* `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization. - */ - role?: "admin" | "direct_member" | "billing_manager"; - /** - * Specify IDs for the teams you want to invite new members to. - */ - team_ids?: number[]; -}; -declare type OrgsCreateInvitationRequestOptions = { - method: "POST"; - url: "/orgs/:org/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsCreateInvitationResponseData { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -} -declare type OrgsListInvitationTeamsEndpoint = { - org: string; - invitation_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListInvitationTeamsRequestOptions = { - method: "GET"; - url: "/orgs/:org/invitations/:invitation_id/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListInvitationTeamsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; -}[]; -declare type IssuesListForOrgEndpoint = { - org: string; - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListForOrgResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type OrgsListMembersEndpoint = { - org: string; - /** - * Filter members returned in the list. Can be one of: - * \* `2fa_disabled` - Members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. Available for organization owners. - * \* `all` - All members the authenticated user can see. - */ - filter?: "2fa_disabled" | "all"; - /** - * Filter members returned by their role. Can be one of: - * \* `all` - All members of the organization, regardless of role. - * \* `admin` - Organization owners. - * \* `member` - Non-owner organization members. - */ - role?: "all" | "admin" | "member"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListMembersRequestOptions = { - method: "GET"; - url: "/orgs/:org/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListMembersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type OrgsCheckMembershipForUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsCheckMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsRemoveMemberEndpoint = { - org: string; - username: string; -}; -declare type OrgsRemoveMemberRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsGetMembershipForUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsGetMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsGetMembershipForUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type OrgsSetMembershipForUserEndpoint = { - org: string; - username: string; - /** - * The role to give the user in the organization. Can be one of: - * \* `admin` - The user will become an owner of the organization. - * \* `member` - The user will become a non-owner member of the organization. - */ - role?: "admin" | "member"; -}; -declare type OrgsSetMembershipForUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsSetMembershipForUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type OrgsRemoveMembershipForUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsRemoveMembershipForUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsStartForOrgEndpoint = { - org: string; - /** - * A list of arrays indicating which repositories should be migrated. - */ - repositories: string[]; - /** - * Indicates whether repositories should be locked (to prevent manipulation) while migrating data. - */ - lock_repositories?: boolean; - /** - * Indicates whether attachments should be excluded from the migration (to reduce migration archive file size). - */ - exclude_attachments?: boolean; -}; -declare type MigrationsStartForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsStartForOrgResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} -declare type MigrationsListForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsListForOrgResponseData = { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -}[]; -declare type MigrationsGetStatusForOrgEndpoint = { - org: string; - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsGetStatusForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsGetStatusForOrgResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} -declare type MigrationsDownloadArchiveForOrgEndpoint = { - org: string; - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsDownloadArchiveForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsDeleteArchiveForOrgEndpoint = { - org: string; - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsDeleteArchiveForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsUnlockRepoForOrgEndpoint = { - org: string; - migration_id: number; - repo_name: string; -} & RequiredPreview<"wyandotte">; -declare type MigrationsUnlockRepoForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsListReposForOrgEndpoint = { - org: string; - migration_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsListReposForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsListReposForOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: string; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type OrgsListOutsideCollaboratorsEndpoint = { - org: string; - /** - * Filter the list of outside collaborators. Can be one of: - * \* `2fa_disabled`: Outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. - * \* `all`: All outside collaborators. - */ - filter?: "2fa_disabled" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListOutsideCollaboratorsRequestOptions = { - method: "GET"; - url: "/orgs/:org/outside_collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListOutsideCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type OrgsRemoveOutsideCollaboratorEndpoint = { - org: string; - username: string; -}; -declare type OrgsRemoveOutsideCollaboratorRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/outside_collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsRemoveOutsideCollaboratorResponseData { - message: string; - documentation_url: string; -} -declare type OrgsConvertMemberToOutsideCollaboratorEndpoint = { - org: string; - username: string; -}; -declare type OrgsConvertMemberToOutsideCollaboratorRequestOptions = { - method: "PUT"; - url: "/orgs/:org/outside_collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsConvertMemberToOutsideCollaboratorResponseData { - message: string; - documentation_url: string; -} -declare type ProjectsListForOrgEndpoint = { - org: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListForOrgResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ProjectsCreateForOrgEndpoint = { - org: string; - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateForOrgResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type OrgsListPublicMembersEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListPublicMembersRequestOptions = { - method: "GET"; - url: "/orgs/:org/public_members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListPublicMembersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type OrgsCheckPublicMembershipForUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsCheckPublicMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsSetPublicMembershipForAuthenticatedUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsSetPublicMembershipForAuthenticatedUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsRemovePublicMembershipForAuthenticatedUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsRemovePublicMembershipForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListForOrgEndpoint = { - org: string; - /** - * Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`. - */ - type?: "all" | "public" | "private" | "forks" | "sources" | "member" | "internal"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: when using `full_name`: `asc`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListForOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: string; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type ReposCreateInOrgEndpoint = { - org: string; - /** - * The name of the repository. - */ - name: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to create a private repository or `false` to create a public one. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)" in the GitHub Help documentation. - * The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. - */ - team_id?: number; - /** - * Pass `true` to create an initial commit with empty README. - */ - auto_init?: boolean; - /** - * Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". - */ - gitignore_template?: string; - /** - * Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://help.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". - */ - license_template?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; -}; -declare type ReposCreateInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateInOrgResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type TeamsListIdPGroupsForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListIdPGroupsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/team-sync/groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsListIdPGroupsForOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} -declare type TeamsListEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; -}[]; -declare type TeamsCreateEndpoint = { - org: string; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * List GitHub IDs for organization members who will become team maintainers. - */ - maintainers?: string[]; - /** - * The full name (e.g., "organization-name/repository-name") of repositories to add the team to. - */ - repo_names?: string[]; - /** - * The level of privacy this team should have. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * Default: `secret` - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - * Default for child team: `closed` - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; -declare type TeamsCreateRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsGetByNameEndpoint = { - org: string; - team_slug: string; -}; -declare type TeamsGetByNameRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetByNameResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsUpdateInOrgEndpoint = { - org: string; - team_slug: string; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; -declare type TeamsUpdateInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateInOrgResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsDeleteInOrgEndpoint = { - org: string; - team_slug: string; -}; -declare type TeamsDeleteInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListDiscussionsInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListDiscussionsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListDiscussionsInOrgResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; -declare type TeamsCreateDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - /** - * The discussion post's title. - */ - title: string; - /** - * The discussion post's body text. - */ - body: string; - /** - * Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. - */ - private?: boolean; -}; -declare type TeamsCreateDiscussionInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsGetDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; -}; -declare type TeamsGetDiscussionInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsUpdateDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * The discussion post's title. - */ - title?: string; - /** - * The discussion post's body text. - */ - body?: string; -}; -declare type TeamsUpdateDiscussionInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsDeleteDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; -}; -declare type TeamsDeleteDiscussionInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListDiscussionCommentsInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListDiscussionCommentsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListDiscussionCommentsInOrgResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; -declare type TeamsCreateDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; -declare type TeamsCreateDiscussionCommentInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsGetDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; -}; -declare type TeamsGetDiscussionCommentInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsUpdateDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; -declare type TeamsUpdateDiscussionCommentInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsDeleteDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; -}; -declare type TeamsDeleteDiscussionCommentInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsListForTeamDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForTeamDiscussionCommentInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForTeamDiscussionCommentInOrgResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsCreateForTeamDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForTeamDiscussionCommentInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForTeamDiscussionCommentInOrgResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsDeleteForTeamDiscussionCommentEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForTeamDiscussionCommentRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsListForTeamDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForTeamDiscussionInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForTeamDiscussionInOrgResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsCreateForTeamDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForTeamDiscussionInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForTeamDiscussionInOrgResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsDeleteForTeamDiscussionEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForTeamDiscussionRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListPendingInvitationsInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListPendingInvitationsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListPendingInvitationsInOrgResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; -declare type TeamsListMembersInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Filters members returned by their role in the team. Can be one of: - * \* `member` - normal members of the team. - * \* `maintainer` - team maintainers. - * \* `all` - all members of the team. - */ - role?: "member" | "maintainer" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListMembersInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListMembersInOrgResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type TeamsGetMembershipForUserInOrgEndpoint = { - org: string; - team_slug: string; - username: string; -}; -declare type TeamsGetMembershipForUserInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetMembershipForUserInOrgResponseData { - url: string; - role: string; - state: string; -} -declare type TeamsAddOrUpdateMembershipForUserInOrgEndpoint = { - org: string; - team_slug: string; - username: string; - /** - * The role that this user should have in the team. Can be one of: - * \* `member` - a normal member of the team. - * \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description. - */ - role?: "member" | "maintainer"; -}; -declare type TeamsAddOrUpdateMembershipForUserInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddOrUpdateMembershipForUserInOrgResponseData { - url: string; - role: string; - state: string; -} -export interface TeamsAddOrUpdateMembershipForUserInOrgResponse422Data { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} -declare type TeamsRemoveMembershipForUserInOrgEndpoint = { - org: string; - team_slug: string; - username: string; -}; -declare type TeamsRemoveMembershipForUserInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListProjectsInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type TeamsListProjectsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListProjectsInOrgResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -}[]; -declare type TeamsCheckPermissionsForProjectInOrgEndpoint = { - org: string; - team_slug: string; - project_id: number; -} & RequiredPreview<"inertia">; -declare type TeamsCheckPermissionsForProjectInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCheckPermissionsForProjectInOrgResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -} -declare type TeamsAddOrUpdateProjectPermissionsInOrgEndpoint = { - org: string; - team_slug: string; - project_id: number; - /** - * The permission to grant to the team for this project. Can be one of: - * \* `read` - team members can read, but not write to or administer this project. - * \* `write` - team members can read and write, but not administer this project. - * \* `admin` - team members can read, write and administer this project. - * Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; -declare type TeamsAddOrUpdateProjectPermissionsInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddOrUpdateProjectPermissionsInOrgResponseData { - message: string; - documentation_url: string; -} -declare type TeamsRemoveProjectInOrgEndpoint = { - org: string; - team_slug: string; - project_id: number; -}; -declare type TeamsRemoveProjectInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListReposInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListReposInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListReposInOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: string; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type TeamsCheckPermissionsForRepoInOrgEndpoint = { - org: string; - team_slug: string; - owner: string; - repo: string; -}; -declare type TeamsCheckPermissionsForRepoInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCheckPermissionsForRepoInOrgResponseData { - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; -} -declare type TeamsAddOrUpdateRepoPermissionsInOrgEndpoint = { - org: string; - team_slug: string; - owner: string; - repo: string; - /** - * The permission to grant the team on this repository. Can be one of: - * \* `pull` - team members can pull, but not push to or administer this repository. - * \* `push` - team members can pull and push, but not administer this repository. - * \* `admin` - team members can pull, push and administer this repository. - * \* `maintain` - team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations. - * \* `triage` - team members can proactively manage issues and pull requests without write access. Recommended for contributors who triage a repository. Only applies to repositories owned by organizations. - * - * If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - */ - permission?: "pull" | "push" | "admin" | "maintain" | "triage"; -}; -declare type TeamsAddOrUpdateRepoPermissionsInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsRemoveRepoInOrgEndpoint = { - org: string; - team_slug: string; - owner: string; - repo: string; -}; -declare type TeamsRemoveRepoInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListIdPGroupsInOrgEndpoint = { - org: string; - team_slug: string; -}; -declare type TeamsListIdPGroupsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsListIdPGroupsInOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} -declare type TeamsCreateOrUpdateIdPGroupConnectionsInOrgEndpoint = { - org: string; - team_slug: string; - /** - * The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove. - */ - groups: TeamsCreateOrUpdateIdPGroupConnectionsInOrgParamsGroups[]; -}; -declare type TeamsCreateOrUpdateIdPGroupConnectionsInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateOrUpdateIdPGroupConnectionsInOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }; -} -declare type TeamsListChildInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListChildInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListChildInOrgResponseData = { - id: number; - node_id: string; - url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - }; -}[]; -declare type ProjectsGetCardEndpoint = { - card_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsGetCardRequestOptions = { - method: "GET"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsGetCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} -declare type ProjectsUpdateCardEndpoint = { - card_id: number; - /** - * The card's note content. Only valid for cards without another type of content, so this cannot be specified if the card already has a `content_id` and `content_type`. - */ - note?: string; - /** - * Use `true` to archive a project card. Specify `false` if you need to restore a previously archived project card. - */ - archived?: boolean; -} & RequiredPreview<"inertia">; -declare type ProjectsUpdateCardRequestOptions = { - method: "PATCH"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsUpdateCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} -declare type ProjectsDeleteCardEndpoint = { - card_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsDeleteCardRequestOptions = { - method: "DELETE"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsMoveCardEndpoint = { - card_id: number; - /** - * Can be one of `top`, `bottom`, or `after:`, where `` is the `id` value of a card in the same column, or in the new column specified by `column_id`. - */ - position: string; - /** - * The `id` value of a column in the same project. - */ - column_id?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsMoveCardRequestOptions = { - method: "POST"; - url: "/projects/columns/cards/:card_id/moves"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsGetColumnEndpoint = { - column_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsGetColumnRequestOptions = { - method: "GET"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsGetColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} -declare type ProjectsUpdateColumnEndpoint = { - column_id: number; - /** - * The new name of the column. - */ - name: string; -} & RequiredPreview<"inertia">; -declare type ProjectsUpdateColumnRequestOptions = { - method: "PATCH"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsUpdateColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} -declare type ProjectsDeleteColumnEndpoint = { - column_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsDeleteColumnRequestOptions = { - method: "DELETE"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsListCardsEndpoint = { - column_id: number; - /** - * Filters the project cards that are returned by the card's state. Can be one of `all`,`archived`, or `not_archived`. - */ - archived_state?: "all" | "archived" | "not_archived"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListCardsRequestOptions = { - method: "GET"; - url: "/projects/columns/:column_id/cards"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListCardsResponseData = { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -}[]; -declare type ProjectsCreateCardEndpoint = { - column_id: number; - /** - * The card's note content. Only valid for cards without another type of content, so you must omit when specifying `content_id` and `content_type`. - */ - note?: string; - /** - * The issue or pull request id you want to associate with this card. You can use the [List repository issues](https://developer.github.com/v3/issues/#list-repository-issues) and [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoints to find this id. - * **Note:** Depending on whether you use the issue id or pull request id, you will need to specify `Issue` or `PullRequest` as the `content_type`. - */ - content_id?: number; - /** - * **Required if you provide `content_id`**. The type of content you want to associate with this card. Use `Issue` when `content_id` is an issue id and use `PullRequest` when `content_id` is a pull request id. - */ - content_type?: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateCardRequestOptions = { - method: "POST"; - url: "/projects/columns/:column_id/cards"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} -declare type ProjectsMoveColumnEndpoint = { - column_id: number; - /** - * Can be one of `first`, `last`, or `after:`, where `` is the `id` value of a column in the same project. - */ - position: string; -} & RequiredPreview<"inertia">; -declare type ProjectsMoveColumnRequestOptions = { - method: "POST"; - url: "/projects/columns/:column_id/moves"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsGetEndpoint = { - project_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsGetRequestOptions = { - method: "GET"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsGetResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ProjectsUpdateEndpoint = { - project_id: number; - /** - * The name of the project. - */ - name?: string; - /** - * The description of the project. - */ - body?: string; - /** - * State of the project. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting `organization_permission` is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by `organization_permission`. For information on changing access for a team or collaborator, see [Add or update team project permissions](https://developer.github.com/v3/teams/#add-or-update-team-project-permissions) or [Add project collaborator](https://developer.github.com/v3/projects/collaborators/#add-project-collaborator). - * - * **Note:** Updating a project's `organization_permission` requires `admin` access to the project. - * - * Can be one of: - * \* `read` - Organization members can read, but not write to or administer this project. - * \* `write` - Organization members can read and write, but not administer this project. - * \* `admin` - Organization members can read, write and administer this project. - * \* `none` - Organization members can only see this project if it is public. - */ - organization_permission?: string; - /** - * Sets the visibility of a project board. Setting `private` is only available for organization and user projects. **Note:** Updating a project's visibility requires `admin` access to the project. - * - * Can be one of: - * \* `false` - Anyone can see the project. - * \* `true` - Only the user can view a project board created on a user account. Organization members with the appropriate `organization_permission` can see project boards in an organization account. - */ - private?: boolean; -} & RequiredPreview<"inertia">; -declare type ProjectsUpdateRequestOptions = { - method: "PATCH"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsUpdateResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ProjectsDeleteEndpoint = { - project_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsDeleteRequestOptions = { - method: "DELETE"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsListCollaboratorsEndpoint = { - project_id: number; - /** - * Filters the collaborators by their affiliation. Can be one of: - * \* `outside`: Outside collaborators of a project that are not a member of the project's organization. - * \* `direct`: Collaborators with permissions to a project, regardless of organization membership status. - * \* `all`: All collaborators the authenticated user can see. - */ - affiliation?: "outside" | "direct" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListCollaboratorsRequestOptions = { - method: "GET"; - url: "/projects/:project_id/collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ProjectsAddCollaboratorEndpoint = { - project_id: number; - username: string; - /** - * The permission to grant the collaborator. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." Can be one of: - * \* `read` - can read, but not write to or administer this project. - * \* `write` - can read and write, but not administer this project. - * \* `admin` - can read, write and administer this project. - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; -declare type ProjectsAddCollaboratorRequestOptions = { - method: "PUT"; - url: "/projects/:project_id/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsRemoveCollaboratorEndpoint = { - project_id: number; - username: string; -} & RequiredPreview<"inertia">; -declare type ProjectsRemoveCollaboratorRequestOptions = { - method: "DELETE"; - url: "/projects/:project_id/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsGetPermissionForUserEndpoint = { - project_id: number; - username: string; -} & RequiredPreview<"inertia">; -declare type ProjectsGetPermissionForUserRequestOptions = { - method: "GET"; - url: "/projects/:project_id/collaborators/:username/permission"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsGetPermissionForUserResponseData { - permission: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ProjectsListColumnsEndpoint = { - project_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListColumnsRequestOptions = { - method: "GET"; - url: "/projects/:project_id/columns"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListColumnsResponseData = { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -}[]; -declare type ProjectsCreateColumnEndpoint = { - project_id: number; - /** - * The name of the column. - */ - name: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateColumnRequestOptions = { - method: "POST"; - url: "/projects/:project_id/columns"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} -declare type RateLimitGetEndpoint = {}; -declare type RateLimitGetRequestOptions = { - method: "GET"; - url: "/rate_limit"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface RateLimitGetResponseData { - resources: { - core: { - limit: number; - remaining: number; - reset: number; - }; - search: { - limit: number; - remaining: number; - reset: number; - }; - graphql: { - limit: number; - remaining: number; - reset: number; - }; - integration_manifest: { - limit: number; - remaining: number; - reset: number; - }; - }; - rate: { - limit: number; - remaining: number; - reset: number; - }; -} -declare type ReactionsDeleteLegacyEndpoint = { - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteLegacyRequestOptions = { - method: "DELETE"; - url: "/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ReposUpdateEndpoint = { - owner: string; - repo: string; - /** - * The name of the repository. - */ - name?: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to make the repository private or `false` to make it public. Default: `false`. - * **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * Updates the default branch for this repository. - */ - default_branch?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; - /** - * `true` to archive this repository. **Note**: You cannot unarchive repositories through the API. - */ - archived?: boolean; -}; -declare type ReposUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ReposDeleteEndpoint = { - owner: string; - repo: string; -}; -declare type ReposDeleteRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposDeleteResponseData { - message: string; - documentation_url: string; -} -declare type ActionsListArtifactsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListArtifactsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListArtifactsForRepoResponseData { - total_count: number; - artifacts: { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; - }[]; -} -declare type ActionsGetArtifactEndpoint = { - owner: string; - repo: string; - artifact_id: number; -}; -declare type ActionsGetArtifactRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetArtifactResponseData { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; -} -declare type ActionsDeleteArtifactEndpoint = { - owner: string; - repo: string; - artifact_id: number; -}; -declare type ActionsDeleteArtifactRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDownloadArtifactEndpoint = { - owner: string; - repo: string; - artifact_id: number; - archive_format: string; -}; -declare type ActionsDownloadArtifactRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsGetJobForWorkflowRunEndpoint = { - owner: string; - repo: string; - job_id: number; -}; -declare type ActionsGetJobForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/jobs/:job_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetJobForWorkflowRunResponseData { - id: number; - run_id: number; - run_url: string; - node_id: string; - head_sha: string; - url: string; - html_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - name: string; - steps: { - name: string; - status: string; - conclusion: string; - number: number; - started_at: string; - completed_at: string; - }[]; - check_run_url: string; -} -declare type ActionsDownloadJobLogsForWorkflowRunEndpoint = { - owner: string; - repo: string; - job_id: number; -}; -declare type ActionsDownloadJobLogsForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/jobs/:job_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsListSelfHostedRunnersForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListSelfHostedRunnersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListSelfHostedRunnersForRepoResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - }[]; -} -declare type ActionsListRunnerApplicationsForRepoEndpoint = { - owner: string; - repo: string; -}; -declare type ActionsListRunnerApplicationsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners/downloads"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActionsListRunnerApplicationsForRepoResponseData = { - os: string; - architecture: string; - download_url: string; - filename: string; -}[]; -declare type ActionsCreateRegistrationTokenForRepoEndpoint = { - owner: string; - repo: string; -}; -declare type ActionsCreateRegistrationTokenForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runners/registration-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsCreateRegistrationTokenForRepoResponseData { - token: string; - expires_at: string; -} -declare type ActionsCreateRemoveTokenForRepoEndpoint = { - owner: string; - repo: string; -}; -declare type ActionsCreateRemoveTokenForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runners/remove-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsCreateRemoveTokenForRepoResponseData { - token: string; - expires_at: string; -} -declare type ActionsGetSelfHostedRunnerForRepoEndpoint = { - owner: string; - repo: string; - runner_id: number; -}; -declare type ActionsGetSelfHostedRunnerForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetSelfHostedRunnerForRepoResponseData { - id: number; - name: string; - os: string; - status: string; -} -declare type ActionsDeleteSelfHostedRunnerFromRepoEndpoint = { - owner: string; - repo: string; - runner_id: number; -}; -declare type ActionsDeleteSelfHostedRunnerFromRepoRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsListWorkflowRunsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. - */ - actor?: string; - /** - * Returns workflow runs associated with a branch. Use the name of the branch of the `push`. - */ - branch?: string; - /** - * Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)" in the GitHub Help documentation. - */ - event?: string; - /** - * Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in "[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run)." - */ - status?: "completed" | "status" | "conclusion"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListWorkflowRunsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListWorkflowRunsForRepoResponseData { - total_count: number; - workflow_runs: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - }[]; -} -declare type ActionsGetWorkflowRunEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsGetWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetWorkflowRunResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; -} -declare type ActionsListWorkflowRunArtifactsEndpoint = { - owner: string; - repo: string; - run_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListWorkflowRunArtifactsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/artifacts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListWorkflowRunArtifactsResponseData { - total_count: number; - artifacts: { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; - }[]; -} -declare type ActionsCancelWorkflowRunEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsCancelWorkflowRunRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runs/:run_id/cancel"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsListJobsForWorkflowRunEndpoint = { - owner: string; - repo: string; - run_id: number; - /** - * Filters jobs by their `completed_at` timestamp. Can be one of: - * \* `latest`: Returns jobs from the most recent execution of the workflow run. - * \* `all`: Returns all jobs for a workflow run, including from old executions of the workflow run. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListJobsForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/jobs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListJobsForWorkflowRunResponseData { - total_count: number; - jobs: { - id: number; - run_id: number; - run_url: string; - node_id: string; - head_sha: string; - url: string; - html_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - name: string; - steps: { - name: string; - status: string; - conclusion: string; - number: number; - started_at: string; - completed_at: string; - }[]; - check_run_url: string; - }[]; -} -declare type ActionsDownloadWorkflowRunLogsEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsDownloadWorkflowRunLogsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteWorkflowRunLogsEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsDeleteWorkflowRunLogsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/runs/:run_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsReRunWorkflowEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsReRunWorkflowRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runs/:run_id/rerun"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsGetWorkflowRunUsageEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsGetWorkflowRunUsageRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/timing"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetWorkflowRunUsageResponseData { - billable: { - UBUNTU: { - total_ms: number; - jobs: number; - }; - MACOS: { - total_ms: number; - jobs: number; - }; - WINDOWS: { - total_ms: number; - jobs: number; - }; - }; - run_duration_ms: number; -} -declare type ActionsListRepoSecretsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListRepoSecretsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListRepoSecretsResponseData { - total_count: number; - secrets: { - name: string; - created_at: string; - updated_at: string; - }[]; -} -declare type ActionsGetRepoPublicKeyEndpoint = { - owner: string; - repo: string; -}; -declare type ActionsGetRepoPublicKeyRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets/public-key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetRepoPublicKeyResponseData { - key_id: string; - key: string; -} -declare type ActionsGetRepoSecretEndpoint = { - owner: string; - repo: string; - secret_name: string; -}; -declare type ActionsGetRepoSecretRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetRepoSecretResponseData { - name: string; - created_at: string; - updated_at: string; -} -declare type ActionsCreateOrUpdateRepoSecretEndpoint = { - owner: string; - repo: string; - secret_name: string; - /** - * Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key) endpoint. - */ - encrypted_value?: string; - /** - * ID of the key you used to encrypt the secret. - */ - key_id?: string; -}; -declare type ActionsCreateOrUpdateRepoSecretRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteRepoSecretEndpoint = { - owner: string; - repo: string; - secret_name: string; -}; -declare type ActionsDeleteRepoSecretRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsListRepoWorkflowsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListRepoWorkflowsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListRepoWorkflowsResponseData { - total_count: number; - workflows: { - id: number; - node_id: string; - name: string; - path: string; - state: string; - created_at: string; - updated_at: string; - url: string; - html_url: string; - badge_url: string; - }[]; -} -declare type ActionsGetWorkflowEndpoint = { - owner: string; - repo: string; - workflow_id: number; -}; -declare type ActionsGetWorkflowRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetWorkflowResponseData { - id: number; - node_id: string; - name: string; - path: string; - state: string; - created_at: string; - updated_at: string; - url: string; - html_url: string; - badge_url: string; -} -declare type ActionsListWorkflowRunsEndpoint = { - owner: string; - repo: string; - workflow_id: number; - /** - * Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. - */ - actor?: string; - /** - * Returns workflow runs associated with a branch. Use the name of the branch of the `push`. - */ - branch?: string; - /** - * Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)" in the GitHub Help documentation. - */ - event?: string; - /** - * Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in "[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run)." - */ - status?: "completed" | "status" | "conclusion"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListWorkflowRunsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListWorkflowRunsResponseData { - total_count: number; - workflow_runs: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - }[]; -} -declare type ActionsGetWorkflowUsageEndpoint = { - owner: string; - repo: string; - workflow_id: number; -}; -declare type ActionsGetWorkflowUsageRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/timing"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetWorkflowUsageResponseData { - billable: { - UBUNTU: { - total_ms: number; - }; - MACOS: { - total_ms: number; - }; - WINDOWS: { - total_ms: number; - }; - }; -} -declare type IssuesListAssigneesEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListAssigneesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListAssigneesResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type IssuesCheckUserCanBeAssignedEndpoint = { - owner: string; - repo: string; - assignee: string; -}; -declare type IssuesCheckUserCanBeAssignedRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/assignees/:assignee"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposEnableAutomatedSecurityFixesEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"london">; -declare type ReposEnableAutomatedSecurityFixesRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/automated-security-fixes"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDisableAutomatedSecurityFixesEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"london">; -declare type ReposDisableAutomatedSecurityFixesRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/automated-security-fixes"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListBranchesEndpoint = { - owner: string; - repo: string; - /** - * Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. - */ - protected?: boolean; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListBranchesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListBranchesResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - protected: boolean; - protection: { - enabled: boolean; - required_status_checks: { - enforcement_level: string; - contexts: string[]; - }; - }; - protection_url: string; -}[]; -declare type ReposGetBranchEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetBranchResponseData { - name: string; - commit: { - sha: string; - node_id: string; - commit: { - author: { - name: string; - date: string; - email: string; - }; - url: string; - message: string; - tree: { - sha: string; - url: string; - }; - committer: { - name: string; - date: string; - email: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - gravatar_id: string; - avatar_url: string; - url: string; - id: number; - login: string; - }; - parents: { - sha: string; - url: string; - }[]; - url: string; - committer: { - gravatar_id: string; - avatar_url: string; - url: string; - id: number; - login: string; - }; - }; - _links: { - html: string; - self: string; - }; - protected: boolean; - protection: { - enabled: boolean; - required_status_checks: { - enforcement_level: string; - contexts: string[]; - }; - }; - protection_url: string; -} -declare type ReposGetBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetBranchProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetBranchProtectionResponseData { - url: string; - required_status_checks: { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; - }; - enforce_admins: { - url: string; - enabled: boolean; - }; - required_pull_request_reviews: { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; - }; - restrictions: { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; - }; - required_linear_history: { - enabled: boolean; - }; - allow_force_pushes: { - enabled: boolean; - }; - allow_deletions: { - enabled: boolean; - }; -} -declare type ReposUpdateBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * Require status checks to pass before merging. Set to `null` to disable. - */ - required_status_checks: ReposUpdateBranchProtectionParamsRequiredStatusChecks | null; - /** - * Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. - */ - enforce_admins: boolean | null; - /** - * Require at least one approving review on a pull request, before merging. Set to `null` to disable. - */ - required_pull_request_reviews: ReposUpdateBranchProtectionParamsRequiredPullRequestReviews | null; - /** - * Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. - */ - restrictions: ReposUpdateBranchProtectionParamsRestrictions | null; - /** - * Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://help.github.com/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation. - */ - required_linear_history?: boolean; - /** - * Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation." - */ - allow_force_pushes?: boolean | null; - /** - * Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation. - */ - allow_deletions?: boolean; -}; -declare type ReposUpdateBranchProtectionRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateBranchProtectionResponseData { - url: string; - required_status_checks: { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; - }; - enforce_admins: { - url: string; - enabled: boolean; - }; - required_pull_request_reviews: { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; - }; - restrictions: { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; - }; - required_linear_history: { - enabled: boolean; - }; - allow_force_pushes: { - enabled: boolean; - }; - allow_deletions: { - enabled: boolean; - }; -} -declare type ReposDeleteBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposDeleteBranchProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetAdminBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetAdminBranchProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetAdminBranchProtectionResponseData { - url: string; - enabled: boolean; -} -declare type ReposSetAdminBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposSetAdminBranchProtectionRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposSetAdminBranchProtectionResponseData { - url: string; - enabled: boolean; -} -declare type ReposDeleteAdminBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposDeleteAdminBranchProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetPullRequestReviewProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetPullRequestReviewProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetPullRequestReviewProtectionResponseData { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; -} -declare type ReposUpdatePullRequestReviewProtectionEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * Specify which users and teams can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. - */ - dismissal_restrictions?: ReposUpdatePullRequestReviewProtectionParamsDismissalRestrictions; - /** - * Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. - */ - dismiss_stale_reviews?: boolean; - /** - * Blocks merging pull requests until [code owners](https://help.github.com/articles/about-code-owners/) have reviewed. - */ - require_code_owner_reviews?: boolean; - /** - * Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6. - */ - required_approving_review_count?: number; -}; -declare type ReposUpdatePullRequestReviewProtectionRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdatePullRequestReviewProtectionResponseData { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; -} -declare type ReposDeletePullRequestReviewProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposDeletePullRequestReviewProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetCommitSignatureProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -} & RequiredPreview<"zzzax">; -declare type ReposGetCommitSignatureProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCommitSignatureProtectionResponseData { - url: string; - enabled: boolean; -} -declare type ReposCreateCommitSignatureProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -} & RequiredPreview<"zzzax">; -declare type ReposCreateCommitSignatureProtectionRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateCommitSignatureProtectionResponseData { - url: string; - enabled: boolean; -} -declare type ReposDeleteCommitSignatureProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -} & RequiredPreview<"zzzax">; -declare type ReposDeleteCommitSignatureProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetStatusChecksProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetStatusChecksProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetStatusChecksProtectionResponseData { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; -} -declare type ReposUpdateStatusCheckPotectionEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * Require branches to be up to date before merging. - */ - strict?: boolean; - /** - * The list of status checks to require in order to merge into this branch - */ - contexts?: string[]; -}; -declare type ReposUpdateStatusCheckPotectionRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateStatusCheckPotectionResponseData { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; -} -declare type ReposRemoveStatusCheckProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposRemoveStatusCheckProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetAllStatusCheckContextsEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetAllStatusCheckContextsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetAllStatusCheckContextsResponseData = string[]; -declare type ReposSetStatusCheckContextsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; -declare type ReposSetStatusCheckContextsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposSetStatusCheckContextsResponseData = string[]; -declare type ReposAddStatusCheckContextsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; -declare type ReposAddStatusCheckContextsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposAddStatusCheckContextsResponseData = string[]; -declare type ReposRemoveStatusCheckContextsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; -declare type ReposRemoveStatusCheckContextsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposRemoveStatusCheckContextsResponseData = string[]; -declare type ReposGetAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetAccessRestrictionsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetAccessRestrictionsResponseData { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; -} -declare type ReposDeleteAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposDeleteAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetAppsWithAccessToProtectedBranchEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetAppsWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetAppsWithAccessToProtectedBranchResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; -declare type ReposSetAppAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; -declare type ReposSetAppAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposSetAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; -declare type ReposAddAppAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; -declare type ReposAddAppAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposAddAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; -declare type ReposRemoveAppAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; -declare type ReposRemoveAppAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposRemoveAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; -declare type ReposGetTeamsWithAccessToProtectedBranchEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetTeamsWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetTeamsWithAccessToProtectedBranchResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; -}[]; -declare type ReposSetTeamAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; -declare type ReposSetTeamAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposSetTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; -}[]; -declare type ReposAddTeamAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; -declare type ReposAddTeamAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposAddTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; -}[]; -declare type ReposRemoveTeamAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; -declare type ReposRemoveTeamAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposRemoveTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; -}[]; -declare type ReposGetUsersWithAccessToProtectedBranchEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetUsersWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetUsersWithAccessToProtectedBranchResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ReposSetUserAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * users parameter - */ - users: string[]; -}; -declare type ReposSetUserAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposSetUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ReposAddUserAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * users parameter - */ - users: string[]; -}; -declare type ReposAddUserAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposAddUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ReposRemoveUserAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * users parameter - */ - users: string[]; -}; -declare type ReposRemoveUserAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposRemoveUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ChecksCreateEndpoint = { - owner: string; - repo: string; - /** - * The name of the check. For example, "code-coverage". - */ - name: string; - /** - * The SHA of the commit. - */ - head_sha: string; - /** - * The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used. - */ - details_url?: string; - /** - * A reference for the run on the integrator's system. - */ - external_id?: string; - /** - * The current status. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - started_at?: string; - /** - * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required`. When the conclusion is `action_required`, additional details should be provided on the site specified by `details_url`. - * **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. Only GitHub can change a check run conclusion to `stale`. - */ - conclusion?: "success" | "failure" | "neutral" | "cancelled" | "skipped" | "timed_out" | "action_required"; - /** - * The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - completed_at?: string; - /** - * Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://developer.github.com/v3/checks/runs/#output-object) description. - */ - output?: ChecksCreateParamsOutput; - /** - * Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://developer.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://developer.github.com/v3/checks/runs/#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." - */ - actions?: ChecksCreateParamsActions[]; -} & RequiredPreview<"antiope">; -declare type ChecksCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksCreateResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} -declare type ChecksUpdateEndpoint = { - owner: string; - repo: string; - check_run_id: number; - /** - * The name of the check. For example, "code-coverage". - */ - name?: string; - /** - * The URL of the integrator's site that has the full details of the check. - */ - details_url?: string; - /** - * A reference for the run on the integrator's system. - */ - external_id?: string; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - started_at?: string; - /** - * The current status. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required`. - * **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. Only GitHub can change a check run conclusion to `stale`. - */ - conclusion?: "success" | "failure" | "neutral" | "cancelled" | "skipped" | "timed_out" | "action_required"; - /** - * The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - completed_at?: string; - /** - * Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://developer.github.com/v3/checks/runs/#output-object-1) description. - */ - output?: ChecksUpdateParamsOutput; - /** - * Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://developer.github.com/v3/checks/runs/#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." - */ - actions?: ChecksUpdateParamsActions[]; -} & RequiredPreview<"antiope">; -declare type ChecksUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/check-runs/:check_run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksUpdateResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} -declare type ChecksGetEndpoint = { - owner: string; - repo: string; - check_run_id: number; -} & RequiredPreview<"antiope">; -declare type ChecksGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-runs/:check_run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksGetResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} -declare type ChecksListAnnotationsEndpoint = { - owner: string; - repo: string; - check_run_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; -declare type ChecksListAnnotationsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-runs/:check_run_id/annotations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ChecksListAnnotationsResponseData = { - path: string; - start_line: number; - end_line: number; - start_column: number; - end_column: number; - annotation_level: string; - title: string; - message: string; - raw_details: string; -}[]; -declare type ChecksCreateSuiteEndpoint = { - owner: string; - repo: string; - /** - * The sha of the head commit. - */ - head_sha: string; -} & RequiredPreview<"antiope">; -declare type ChecksCreateSuiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-suites"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksCreateSuiteResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ChecksSetSuitesPreferencesEndpoint = { - owner: string; - repo: string; - /** - * Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. See the [`auto_trigger_checks` object](https://developer.github.com/v3/checks/suites/#auto_trigger_checks-object) description for details. - */ - auto_trigger_checks?: ChecksSetSuitesPreferencesParamsAutoTriggerChecks[]; -} & RequiredPreview<"antiope">; -declare type ChecksSetSuitesPreferencesRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/check-suites/preferences"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksSetSuitesPreferencesResponseData { - preferences: { - auto_trigger_checks: { - app_id: number; - setting: boolean; - }[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ChecksGetSuiteEndpoint = { - owner: string; - repo: string; - check_suite_id: number; -} & RequiredPreview<"antiope">; -declare type ChecksGetSuiteRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksGetSuiteResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ChecksListForSuiteEndpoint = { - owner: string; - repo: string; - check_suite_id: number; - /** - * Returns check runs with the specified `name`. - */ - check_name?: string; - /** - * Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; -declare type ChecksListForSuiteRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksListForSuiteResponseData { - total_count: number; - check_runs: { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; - }[]; -} -declare type ChecksRerequestSuiteEndpoint = { - owner: string; - repo: string; - check_suite_id: number; -} & RequiredPreview<"antiope">; -declare type ChecksRerequestSuiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type CodeScanningListAlertsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Set to `closed` to list only closed code scanning alerts. - */ - state?: string; - /** - * Returns a list of code scanning alerts for a specific brach reference. The `ref` must be formatted as `heads/`. - */ - ref?: string; -}; -declare type CodeScanningListAlertsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/code-scanning/alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type CodeScanningListAlertsForRepoResponseData = { - rule_id: string; - rule_severity: string; - rule_description: string; - tool: string; - created_at: string; - open: boolean; - closed_by: string; - closed_at: string; - url: string; - html_url: string; -}[]; -declare type CodeScanningGetAlertEndpoint = { - owner: string; - repo: string; - alert_id: number; -}; -declare type CodeScanningGetAlertRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/code-scanning/alerts/:alert_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface CodeScanningGetAlertResponseData { - rule_id: string; - rule_severity: string; - rule_description: string; - tool: string; - created_at: string; - open: boolean; - closed_by: string; - closed_at: string; - url: string; - html_url: string; -} -declare type ReposListCollaboratorsEndpoint = { - owner: string; - repo: string; - /** - * Filter collaborators returned by their affiliation. Can be one of: - * \* `outside`: All outside collaborators of an organization-owned repository. - * \* `direct`: All collaborators with permissions to an organization-owned repository, regardless of organization membership status. - * \* `all`: All collaborators the authenticated user can see. - */ - affiliation?: "outside" | "direct" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCollaboratorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - permissions: { - pull: boolean; - push: boolean; - admin: boolean; - }; -}[]; -declare type ReposCheckCollaboratorEndpoint = { - owner: string; - repo: string; - username: string; -}; -declare type ReposCheckCollaboratorRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposAddCollaboratorEndpoint = { - owner: string; - repo: string; - username: string; - /** - * The permission to grant the collaborator. **Only valid on organization-owned repositories.** Can be one of: - * \* `pull` - can pull, but not push to or administer this repository. - * \* `push` - can pull and push, but not administer this repository. - * \* `admin` - can pull, push and administer this repository. - * \* `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. - * \* `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. - */ - permission?: "pull" | "push" | "admin" | "maintain" | "triage"; -}; -declare type ReposAddCollaboratorRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposAddCollaboratorResponseData { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -} -declare type ReposRemoveCollaboratorEndpoint = { - owner: string; - repo: string; - username: string; -}; -declare type ReposRemoveCollaboratorRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetCollaboratorPermissionLevelEndpoint = { - owner: string; - repo: string; - username: string; -}; -declare type ReposGetCollaboratorPermissionLevelRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators/:username/permission"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCollaboratorPermissionLevelResponseData { - permission: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ReposListCommitCommentsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCommitCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCommitCommentsForRepoResponseData = { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ReposGetCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type ReposGetCommitCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ReposUpdateCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The contents of the comment - */ - body: string; -}; -declare type ReposUpdateCommitCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ReposDeleteCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type ReposDeleteCommitCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsListForCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a commit comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForCommitCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForCommitCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsCreateForCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the commit comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForCommitCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForCommitCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsDeleteForCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForCommitCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListCommitsEndpoint = { - owner: string; - repo: string; - /** - * SHA or branch to start listing commits from. Default: the repository’s default branch (usually `master`). - */ - sha?: string; - /** - * Only commits containing this file path will be returned. - */ - path?: string; - /** - * GitHub login or email address by which to filter by commit author. - */ - author?: string; - /** - * Only commits after this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - until?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCommitsResponseData = { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; -}[]; -declare type ReposListBranchesForHeadCommitEndpoint = { - owner: string; - repo: string; - commit_sha: string; -} & RequiredPreview<"groot">; -declare type ReposListBranchesForHeadCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/branches-where-head"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListBranchesForHeadCommitResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - protected: boolean; -}[]; -declare type ReposListCommentsForCommitEndpoint = { - owner: string; - repo: string; - commit_sha: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCommentsForCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCommentsForCommitResponseData = { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ReposCreateCommitCommentEndpoint = { - owner: string; - repo: string; - commit_sha: string; - /** - * The contents of the comment. - */ - body: string; - /** - * Relative path of the file to comment on. - */ - path?: string; - /** - * Line index in the diff to comment on. - */ - position?: number; - /** - * **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. - */ - line?: number; -}; -declare type ReposCreateCommitCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/commits/:commit_sha/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ReposListPullRequestsAssociatedWithCommitEndpoint = { - owner: string; - repo: string; - commit_sha: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"groot">; -declare type ReposListPullRequestsAssociatedWithCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListPullRequestsAssociatedWithCommitResponseData = { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -}[]; -declare type ReposGetCommitEndpoint = { - owner: string; - repo: string; - ref: string; -}; -declare type ReposGetCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCommitResponseData { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - stats: { - additions: number; - deletions: number; - total: number; - }; - files: { - filename: string; - additions: number; - deletions: number; - changes: number; - status: string; - raw_url: string; - blob_url: string; - patch: string; - }[]; -} -declare type ChecksListForRefEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * Returns check runs with the specified `name`. - */ - check_name?: string; - /** - * Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; -declare type ChecksListForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksListForRefResponseData { - total_count: number; - check_runs: { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; - }[]; -} -declare type ChecksListSuitesForRefEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * Filters check suites by GitHub App `id`. - */ - app_id?: number; - /** - * Filters checks suites by the name of the [check run](https://developer.github.com/v3/checks/runs/). - */ - check_name?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; -declare type ChecksListSuitesForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/check-suites"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksListSuitesForRefResponseData { - total_count: number; - check_suites: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }[]; -} -declare type ReposGetCombinedStatusForRefEndpoint = { - owner: string; - repo: string; - ref: string; -}; -declare type ReposGetCombinedStatusForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/status"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCombinedStatusForRefResponseData { - state: string; - statuses: { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - }[]; - sha: string; - total_count: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - commit_url: string; - url: string; -} -declare type ReposListCommitStatusesForRefEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCommitStatusesForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCommitStatusesForRefResponseData = { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; -declare type CodesOfConductGetForRepoEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"scarlet-witch">; -declare type CodesOfConductGetForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/community/code_of_conduct"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface CodesOfConductGetForRepoResponseData { - key: string; - name: string; - url: string; - body: string; -} -declare type ReposGetCommunityProfileMetricsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetCommunityProfileMetricsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/community/profile"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCommunityProfileMetricsResponseData { - health_percentage: number; - description: string; - documentation: boolean; - files: { - code_of_conduct: { - name: string; - key: string; - url: string; - html_url: string; - }; - contributing: { - url: string; - html_url: string; - }; - issue_template: { - url: string; - html_url: string; - }; - pull_request_template: { - url: string; - html_url: string; - }; - license: { - name: string; - key: string; - spdx_id: string; - url: string; - html_url: string; - }; - readme: { - url: string; - html_url: string; - }; - }; - updated_at: string; -} -declare type ReposCompareCommitsEndpoint = { - owner: string; - repo: string; - base: string; - head: string; -}; -declare type ReposCompareCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/compare/:base...:head"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCompareCommitsResponseData { - url: string; - html_url: string; - permalink_url: string; - diff_url: string; - patch_url: string; - base_commit: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }; - merge_base_commit: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }; - status: string; - ahead_by: number; - behind_by: number; - total_commits: number; - commits: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }[]; - files: { - sha: string; - filename: string; - status: string; - additions: number; - deletions: number; - changes: number; - blob_url: string; - raw_url: string; - contents_url: string; - patch: string; - }[]; -} -declare type ReposGetContentEndpoint = { - owner: string; - repo: string; - path: string; - /** - * The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) - */ - ref?: string; -}; -declare type ReposGetContentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetContentResponseData { - type: string; - encoding: string; - size: number; - name: string; - path: string; - content: string; - sha: string; - url: string; - git_url: string; - html_url: string; - download_url: string; - _links: { - git: string; - self: string; - html: string; - }; -} -declare type ReposCreateOrUpdateFileContentsEndpoint = { - owner: string; - repo: string; - path: string; - /** - * The commit message. - */ - message: string; - /** - * The new file content, using Base64 encoding. - */ - content: string; - /** - * **Required if you are updating a file**. The blob SHA of the file being replaced. - */ - sha?: string; - /** - * The branch name. Default: the repository’s default branch (usually `master`) - */ - branch?: string; - /** - * The person that committed the file. Default: the authenticated user. - */ - committer?: ReposCreateOrUpdateFileContentsParamsCommitter; - /** - * The author of the file. Default: The `committer` or the authenticated user if you omit `committer`. - */ - author?: ReposCreateOrUpdateFileContentsParamsAuthor; -}; -declare type ReposCreateOrUpdateFileContentsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateOrUpdateFileContentsResponseData { - content: { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - _links: { - self: string; - git: string; - html: string; - }; - }; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} -export interface ReposCreateOrUpdateFileContentsResponse201Data { - content: { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - _links: { - self: string; - git: string; - html: string; - }; - }; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} -declare type ReposDeleteFileEndpoint = { - owner: string; - repo: string; - path: string; - /** - * The commit message. - */ - message: string; - /** - * The blob SHA of the file being replaced. - */ - sha: string; - /** - * The branch name. Default: the repository’s default branch (usually `master`) - */ - branch?: string; - /** - * object containing information about the committer. - */ - committer?: ReposDeleteFileParamsCommitter; - /** - * object containing information about the author. - */ - author?: ReposDeleteFileParamsAuthor; -}; -declare type ReposDeleteFileRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposDeleteFileResponseData { - content: string; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} -declare type ReposListContributorsEndpoint = { - owner: string; - repo: string; - /** - * Set to `1` or `true` to include anonymous contributors in results. - */ - anon?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListContributorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/contributors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListContributorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - contributions: number; -}[]; -declare type ReposListDeploymentsEndpoint = { - owner: string; - repo: string; - /** - * The SHA recorded at creation time. - */ - sha?: string; - /** - * The name of the ref. This can be a branch, tag, or SHA. - */ - ref?: string; - /** - * The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`). - */ - task?: string; - /** - * The name of the environment that was deployed to (e.g., `staging` or `production`). - */ - environment?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListDeploymentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListDeploymentsResponseData = { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -}[]; -declare type ReposCreateDeploymentEndpoint = { - owner: string; - repo: string; - /** - * The ref to deploy. This can be a branch, tag, or SHA. - */ - ref: string; - /** - * Specifies a task to execute (e.g., `deploy` or `deploy:migrations`). - */ - task?: string; - /** - * Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch. - */ - auto_merge?: boolean; - /** - * The [status](https://developer.github.com/v3/repos/statuses/) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. - */ - required_contexts?: string[]; - /** - * JSON payload with extra information about the deployment. - */ - payload?: string; - /** - * Name for the target deployment environment (e.g., `production`, `staging`, `qa`). - */ - environment?: string; - /** - * Short description of the deployment. - */ - description?: string; - /** - * Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - transient_environment?: boolean; - /** - * Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - production_environment?: boolean; -}; -declare type ReposCreateDeploymentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/deployments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateDeploymentResponseData { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -} -export interface ReposCreateDeploymentResponse202Data { - message: string; -} -export interface ReposCreateDeploymentResponse409Data { - message: string; -} -declare type ReposGetDeploymentEndpoint = { - owner: string; - repo: string; - deployment_id: number; -}; -declare type ReposGetDeploymentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetDeploymentResponseData { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -} -declare type ReposDeleteDeploymentEndpoint = { - owner: string; - repo: string; - deployment_id: number; -}; -declare type ReposDeleteDeploymentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/deployments/:deployment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListDeploymentStatusesEndpoint = { - owner: string; - repo: string; - deployment_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListDeploymentStatusesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListDeploymentStatusesResponseData = { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -}[]; -declare type ReposCreateDeploymentStatusEndpoint = { - owner: string; - repo: string; - deployment_id: number; - /** - * The state of the status. Can be one of `error`, `failure`, `inactive`, `in_progress`, `queued` `pending`, or `success`. **Note:** To use the `inactive` state, you must provide the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. To use the `in_progress` and `queued` states, you must provide the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. - */ - state: "error" | "failure" | "inactive" | "in_progress" | "queued" | "pending" | "success"; - /** - * The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. - */ - target_url?: string; - /** - * The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - log_url?: string; - /** - * A short description of the status. The maximum description length is 140 characters. - */ - description?: string; - /** - * Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. **Note:** This parameter requires you to use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. - */ - environment?: "production" | "staging" | "qa"; - /** - * Sets the URL for accessing your environment. Default: `""` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - environment_url?: string; - /** - * Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` - * **Note:** To add an `inactive` status to `production` environments, you must use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - auto_inactive?: boolean; -}; -declare type ReposCreateDeploymentStatusRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateDeploymentStatusResponseData { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -} -declare type ReposGetDeploymentStatusEndpoint = { - owner: string; - repo: string; - deployment_id: number; - status_id: number; -}; -declare type ReposGetDeploymentStatusRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetDeploymentStatusResponseData { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -} -declare type ReposCreateDispatchEventEndpoint = { - owner: string; - repo: string; - /** - * **Required:** A custom webhook event name. - */ - event_type?: string; - /** - * JSON payload with extra information about the webhook event that your action or worklow may use. - */ - client_payload?: ReposCreateDispatchEventParamsClientPayload; -}; -declare type ReposCreateDispatchEventRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/dispatches"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListDownloadsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListDownloadsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/downloads"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListDownloadsResponseData = { - url: string; - html_url: string; - id: number; - name: string; - description: string; - size: number; - download_count: number; - content_type: string; -}[]; -declare type ReposGetDownloadEndpoint = { - owner: string; - repo: string; - download_id: number; -}; -declare type ReposGetDownloadRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/downloads/:download_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetDownloadResponseData { - url: string; - html_url: string; - id: number; - name: string; - description: string; - size: number; - download_count: number; - content_type: string; -} -declare type ReposDeleteDownloadEndpoint = { - owner: string; - repo: string; - download_id: number; -}; -declare type ReposDeleteDownloadRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/downloads/:download_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListRepoEventsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListRepoEventsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListForksEndpoint = { - owner: string; - repo: string; - /** - * The sort order. Can be either `newest`, `oldest`, or `stargazers`. - */ - sort?: "newest" | "oldest" | "stargazers"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListForksRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListForksResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: string; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type ReposCreateForkEndpoint = { - owner: string; - repo: string; - /** - * Optional parameter to specify the organization name if forking into an organization. - */ - organization?: string; -}; -declare type ReposCreateForkRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateForkResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type GitCreateBlobEndpoint = { - owner: string; - repo: string; - /** - * The new blob's content. - */ - content: string; - /** - * The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported. - */ - encoding?: string; -}; -declare type GitCreateBlobRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/blobs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateBlobResponseData { - url: string; - sha: string; -} -declare type GitGetBlobEndpoint = { - owner: string; - repo: string; - file_sha: string; -}; -declare type GitGetBlobRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/blobs/:file_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetBlobResponseData { - content: string; - encoding: string; - url: string; - sha: string; - size: number; -} -declare type GitCreateCommitEndpoint = { - owner: string; - repo: string; - /** - * The commit message - */ - message: string; - /** - * The SHA of the tree object this commit points to - */ - tree: string; - /** - * The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. - */ - parents: string[]; - /** - * Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. - */ - author?: GitCreateCommitParamsAuthor; - /** - * Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details. - */ - committer?: GitCreateCommitParamsCommitter; - /** - * The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits. - */ - signature?: string; -}; -declare type GitCreateCommitRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateCommitResponseData { - sha: string; - node_id: string; - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} -declare type GitGetCommitEndpoint = { - owner: string; - repo: string; - commit_sha: string; -}; -declare type GitGetCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/commits/:commit_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetCommitResponseData { - sha: string; - node_id: string; - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} -declare type GitListMatchingRefsEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GitListMatchingRefsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/matching-refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GitListMatchingRefsResponseData = { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -}[]; -declare type GitGetRefEndpoint = { - owner: string; - repo: string; - ref: string; -}; -declare type GitGetRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/ref/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} -declare type GitCreateRefEndpoint = { - owner: string; - repo: string; - /** - * The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected. - */ - ref: string; - /** - * The SHA1 value for this reference. - */ - sha: string; -}; -declare type GitCreateRefRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/refs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} -declare type GitUpdateRefEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * The SHA1 value to set this reference to - */ - sha: string; - /** - * Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work. - */ - force?: boolean; -}; -declare type GitUpdateRefRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/git/refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitUpdateRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} -declare type GitDeleteRefEndpoint = { - owner: string; - repo: string; - ref: string; -}; -declare type GitDeleteRefRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/git/refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GitCreateTagEndpoint = { - owner: string; - repo: string; - /** - * The tag's name. This is typically a version (e.g., "v0.0.1"). - */ - tag: string; - /** - * The tag message. - */ - message: string; - /** - * The SHA of the git object this is tagging. - */ - object: string; - /** - * The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`. - */ - type: "commit" | "tree" | "blob"; - /** - * An object with information about the individual creating the tag. - */ - tagger?: GitCreateTagParamsTagger; -}; -declare type GitCreateTagRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/tags"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateTagResponseData { - node_id: string; - tag: string; - sha: string; - url: string; - message: string; - tagger: { - name: string; - email: string; - date: string; - }; - object: { - type: string; - sha: string; - url: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} -declare type GitGetTagEndpoint = { - owner: string; - repo: string; - tag_sha: string; -}; -declare type GitGetTagRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/tags/:tag_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetTagResponseData { - node_id: string; - tag: string; - sha: string; - url: string; - message: string; - tagger: { - name: string; - email: string; - date: string; - }; - object: { - type: string; - sha: string; - url: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} -declare type GitCreateTreeEndpoint = { - owner: string; - repo: string; - /** - * Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure. - */ - tree: GitCreateTreeParamsTree[]; - /** - * The SHA1 of the tree you want to update with new data. If you don't set this, the commit will be created on top of everything; however, it will only contain your change, the rest of your files will show up as deleted. - */ - base_tree?: string; -}; -declare type GitCreateTreeRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/trees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateTreeResponseData { - sha: string; - url: string; - tree: { - path: string; - mode: string; - type: string; - size: number; - sha: string; - url: string; - }[]; -} -declare type GitGetTreeEndpoint = { - owner: string; - repo: string; - tree_sha: string; - /** - * Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `"true"`, and `"false"`. Omit this parameter to prevent recursively returning objects or subtrees. - */ - recursive?: string; -}; -declare type GitGetTreeRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/trees/:tree_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetTreeResponseData { - sha: string; - url: string; - tree: { - path: string; - mode: string; - type: string; - size: number; - sha: string; - url: string; - }[]; - truncated: boolean; -} -declare type ReposListWebhooksEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListWebhooksRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListWebhooksResponseData = { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -}[]; -declare type ReposCreateWebhookEndpoint = { - owner: string; - repo: string; - /** - * Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`. - */ - name?: string; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/repos/hooks/#create-hook-config-params). - */ - config: ReposCreateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; -declare type ReposCreateWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} -declare type ReposGetWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; -}; -declare type ReposGetWebhookRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} -declare type ReposUpdateWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/repos/hooks/#create-hook-config-params). - */ - config?: ReposUpdateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events. - */ - events?: string[]; - /** - * Determines a list of events to be added to the list of events that the Hook triggers for. - */ - add_events?: string[]; - /** - * Determines a list of events to be removed from the list of events that the Hook triggers for. - */ - remove_events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; -declare type ReposUpdateWebhookRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} -declare type ReposDeleteWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; -}; -declare type ReposDeleteWebhookRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposPingWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; -}; -declare type ReposPingWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks/:hook_id/pings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposTestPushWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; -}; -declare type ReposTestPushWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks/:hook_id/tests"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsStartImportEndpoint = { - owner: string; - repo: string; - /** - * The URL of the originating repository. - */ - vcs_url: string; - /** - * The originating VCS type. Can be one of `subversion`, `git`, `mercurial`, or `tfvc`. Please be aware that without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response. - */ - vcs?: "subversion" | "git" | "mercurial" | "tfvc"; - /** - * If authentication is required, the username to provide to `vcs_url`. - */ - vcs_username?: string; - /** - * If authentication is required, the password to provide to `vcs_url`. - */ - vcs_password?: string; - /** - * For a tfvc import, the name of the project that is being imported. - */ - tfvc_project?: string; -}; -declare type MigrationsStartImportRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsStartImportResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - percent: number; - commit_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; -} -declare type MigrationsGetImportStatusEndpoint = { - owner: string; - repo: string; -}; -declare type MigrationsGetImportStatusRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsGetImportStatusResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; -} -declare type MigrationsUpdateImportEndpoint = { - owner: string; - repo: string; - /** - * The username to provide to the originating repository. - */ - vcs_username?: string; - /** - * The password to provide to the originating repository. - */ - vcs_password?: string; -}; -declare type MigrationsUpdateImportRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsUpdateImportResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - url: string; - html_url: string; - authors_url: string; - repository_url: string; -} -declare type MigrationsCancelImportEndpoint = { - owner: string; - repo: string; -}; -declare type MigrationsCancelImportRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsGetCommitAuthorsEndpoint = { - owner: string; - repo: string; - /** - * Only authors found after this id are returned. Provide the highest author ID you've seen so far. New authors may be added to the list at any point while the importer is performing the `raw` step. - */ - since?: string; -}; -declare type MigrationsGetCommitAuthorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import/authors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsGetCommitAuthorsResponseData = { - id: number; - remote_id: string; - remote_name: string; - email: string; - name: string; - url: string; - import_url: string; -}[]; -declare type MigrationsMapCommitAuthorEndpoint = { - owner: string; - repo: string; - author_id: number; - /** - * The new Git author email. - */ - email?: string; - /** - * The new Git author name. - */ - name?: string; -}; -declare type MigrationsMapCommitAuthorRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import/authors/:author_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsMapCommitAuthorResponseData { - id: number; - remote_id: string; - remote_name: string; - email: string; - name: string; - url: string; - import_url: string; -} -declare type MigrationsGetLargeFilesEndpoint = { - owner: string; - repo: string; -}; -declare type MigrationsGetLargeFilesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import/large_files"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsGetLargeFilesResponseData = { - ref_name: string; - path: string; - oid: string; - size: number; -}[]; -declare type MigrationsSetLfsPreferenceEndpoint = { - owner: string; - repo: string; - /** - * Can be one of `opt_in` (large files will be stored using Git LFS) or `opt_out` (large files will be removed during the import). - */ - use_lfs: "opt_in" | "opt_out"; -}; -declare type MigrationsSetLfsPreferenceRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import/lfs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsSetLfsPreferenceResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; -} -declare type AppsGetRepoInstallationEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"machine-man">; -declare type AppsGetRepoInstallationRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetRepoInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} -declare type InteractionsGetRestrictionsForRepoEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"sombra">; -declare type InteractionsGetRestrictionsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface InteractionsGetRestrictionsForRepoResponseData { - limit: string; - origin: string; - expires_at: string; -} -declare type InteractionsSetRestrictionsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Specifies the group of GitHub users who can comment, open issues, or create pull requests for the given repository. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`. - */ - limit: "existing_users" | "contributors_only" | "collaborators_only"; -} & RequiredPreview<"sombra">; -declare type InteractionsSetRestrictionsForRepoRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface InteractionsSetRestrictionsForRepoResponseData { - limit: string; - origin: string; - expires_at: string; -} -declare type InteractionsRemoveRestrictionsForRepoEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"sombra">; -declare type InteractionsRemoveRestrictionsForRepoRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListInvitationsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListInvitationsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListInvitationsResponseData = { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -}[]; -declare type ReposDeleteInvitationEndpoint = { - owner: string; - repo: string; - invitation_id: number; -}; -declare type ReposDeleteInvitationRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposUpdateInvitationEndpoint = { - owner: string; - repo: string; - invitation_id: number; - /** - * The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`. - */ - permissions?: "read" | "write" | "maintain" | "triage" | "admin"; -}; -declare type ReposUpdateInvitationRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateInvitationResponseData { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -} -declare type IssuesListForRepoEndpoint = { - owner: string; - repo: string; - /** - * If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned. - */ - milestone?: string; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. - */ - assignee?: string; - /** - * The user that created the issue. - */ - creator?: string; - /** - * A user that's mentioned in the issue. - */ - mentioned?: string; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListForRepoResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -}[]; -declare type IssuesCreateEndpoint = { - owner: string; - repo: string; - /** - * The title of the issue. - */ - title: string; - /** - * The contents of the issue. - */ - body?: string; - /** - * Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ - */ - assignee?: string; - /** - * The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._ - */ - milestone?: number; - /** - * Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ - */ - labels?: string[]; - /** - * Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ - */ - assignees?: string[]; -}; -declare type IssuesCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesCreateResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type IssuesListCommentsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Either `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * Either `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Only comments updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListCommentsForRepoResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type IssuesGetCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type IssuesGetCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type IssuesUpdateCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The contents of the comment. - */ - body: string; -}; -declare type IssuesUpdateCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesUpdateCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type IssuesDeleteCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type IssuesDeleteCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsListForIssueCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForIssueCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForIssueCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsCreateForIssueCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForIssueCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForIssueCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsDeleteForIssueCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForIssueCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesListEventsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListEventsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListEventsForRepoResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; - issue: { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - }; -}[]; -declare type IssuesGetEventEndpoint = { - owner: string; - repo: string; - event_id: number; -}; -declare type IssuesGetEventRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/events/:event_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetEventResponseData { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; - issue: { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - }; -} -declare type IssuesGetEndpoint = { - owner: string; - repo: string; - issue_number: number; -}; -declare type IssuesGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type IssuesUpdateEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The title of the issue. - */ - title?: string; - /** - * The contents of the issue. - */ - body?: string; - /** - * Login for the user that this issue should be assigned to. **This field is deprecated.** - */ - assignee?: string; - /** - * State of the issue. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._ - */ - milestone?: number | null; - /** - * Labels to associate with this issue. Pass one or more Labels to _replace_ the set of Labels on this Issue. Send an empty array (`[]`) to clear all Labels from the Issue. _NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise._ - */ - labels?: string[]; - /** - * Logins for Users to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this Issue. Send an empty array (`[]`) to clear all assignees from the Issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ - */ - assignees?: string[]; -}; -declare type IssuesUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/issues/:issue_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesUpdateResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type IssuesAddAssigneesEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._ - */ - assignees?: string[]; -}; -declare type IssuesAddAssigneesRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesAddAssigneesResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -} -declare type IssuesRemoveAssigneesEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._ - */ - assignees?: string[]; -}; -declare type IssuesRemoveAssigneesRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesRemoveAssigneesResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -} -declare type IssuesListCommentsEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Only comments updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListCommentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListCommentsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type IssuesCreateCommentEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The contents of the comment. - */ - body: string; -}; -declare type IssuesCreateCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesCreateCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type IssuesListEventsEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListEventsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListEventsResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; -}[]; -declare type IssuesListLabelsOnIssueEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListLabelsOnIssueRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListLabelsOnIssueResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesAddLabelsEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The name of the label to add to the issue. Must contain at least one label. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. - */ - labels: string[]; -}; -declare type IssuesAddLabelsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesAddLabelsResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesSetLabelsEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. - */ - labels?: string[]; -}; -declare type IssuesSetLabelsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesSetLabelsResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesRemoveAllLabelsEndpoint = { - owner: string; - repo: string; - issue_number: number; -}; -declare type IssuesRemoveAllLabelsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesRemoveLabelEndpoint = { - owner: string; - repo: string; - issue_number: number; - name: string; -}; -declare type IssuesRemoveLabelRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesRemoveLabelResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesLockEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: - * \* `off-topic` - * \* `too heated` - * \* `resolved` - * \* `spam` - */ - lock_reason?: "off-topic" | "too heated" | "resolved" | "spam"; -}; -declare type IssuesLockRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/issues/:issue_number/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesUnlockEndpoint = { - owner: string; - repo: string; - issue_number: number; -}; -declare type IssuesUnlockRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsListForIssueEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForIssueRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForIssueResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsCreateForIssueEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForIssueRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForIssueResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsDeleteForIssueEndpoint = { - owner: string; - repo: string; - issue_number: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForIssueRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesListEventsForTimelineEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"mockingbird">; -declare type IssuesListEventsForTimelineRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/timeline"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListEventsForTimelineResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; -}[]; -declare type ReposListDeployKeysEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListDeployKeysRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListDeployKeysResponseData = { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -}[]; -declare type ReposCreateDeployKeyEndpoint = { - owner: string; - repo: string; - /** - * A name for the key. - */ - title?: string; - /** - * The contents of the key. - */ - key: string; - /** - * If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. - * - * Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://help.github.com/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://help.github.com/articles/permission-levels-for-a-user-account-repository/)." - */ - read_only?: boolean; -}; -declare type ReposCreateDeployKeyRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateDeployKeyResponseData { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -} -declare type ReposGetDeployKeyEndpoint = { - owner: string; - repo: string; - key_id: number; -}; -declare type ReposGetDeployKeyRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetDeployKeyResponseData { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -} -declare type ReposDeleteDeployKeyEndpoint = { - owner: string; - repo: string; - key_id: number; -}; -declare type ReposDeleteDeployKeyRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesListLabelsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListLabelsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListLabelsForRepoResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesCreateLabelEndpoint = { - owner: string; - repo: string; - /** - * The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/). - */ - name: string; - /** - * The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. - */ - color: string; - /** - * A short description of the label. - */ - description?: string; -}; -declare type IssuesCreateLabelRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesCreateLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} -declare type IssuesGetLabelEndpoint = { - owner: string; - repo: string; - name: string; -}; -declare type IssuesGetLabelRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} -declare type IssuesUpdateLabelEndpoint = { - owner: string; - repo: string; - name: string; - /** - * The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/). - */ - new_name?: string; - /** - * The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. - */ - color?: string; - /** - * A short description of the label. - */ - description?: string; -}; -declare type IssuesUpdateLabelRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesUpdateLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} -declare type IssuesDeleteLabelEndpoint = { - owner: string; - repo: string; - name: string; -}; -declare type IssuesDeleteLabelRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListLanguagesEndpoint = { - owner: string; - repo: string; -}; -declare type ReposListLanguagesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/languages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposListLanguagesResponseData { - C: number; - Python: number; -} -declare type LicensesGetForRepoEndpoint = { - owner: string; - repo: string; -}; -declare type LicensesGetForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/license"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface LicensesGetForRepoResponseData { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - content: string; - encoding: string; - _links: { - self: string; - git: string; - html: string; - }; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -} -declare type ReposMergeEndpoint = { - owner: string; - repo: string; - /** - * The name of the base branch that the head will be merged into. - */ - base: string; - /** - * The head to merge. This can be a branch name or a commit SHA1. - */ - head: string; - /** - * Commit message to use for the merge commit. If omitted, a default message will be used. - */ - commit_message?: string; -}; -declare type ReposMergeRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/merges"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposMergeResponseData { - sha: string; - node_id: string; - commit: { - author: { - name: string; - date: string; - email: string; - }; - committer: { - name: string; - date: string; - email: string; - }; - message: string; - tree: { - sha: string; - url: string; - }; - url: string; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - url: string; - html_url: string; - comments_url: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - sha: string; - url: string; - }[]; -} -export interface ReposMergeResponse404Data { - message: string; -} -export interface ReposMergeResponse409Data { - message: string; -} -declare type IssuesListMilestonesEndpoint = { - owner: string; - repo: string; - /** - * The state of the milestone. Either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * What to sort results by. Either `due_on` or `completeness`. - */ - sort?: "due_on" | "completeness"; - /** - * The direction of the sort. Either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListMilestonesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListMilestonesResponseData = { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -}[]; -declare type IssuesCreateMilestoneEndpoint = { - owner: string; - repo: string; - /** - * The title of the milestone. - */ - title: string; - /** - * The state of the milestone. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * A description of the milestone. - */ - description?: string; - /** - * The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - due_on?: string; -}; -declare type IssuesCreateMilestoneRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/milestones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesCreateMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} -declare type IssuesGetMilestoneEndpoint = { - owner: string; - repo: string; - milestone_number: number; -}; -declare type IssuesGetMilestoneRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} -declare type IssuesUpdateMilestoneEndpoint = { - owner: string; - repo: string; - milestone_number: number; - /** - * The title of the milestone. - */ - title?: string; - /** - * The state of the milestone. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * A description of the milestone. - */ - description?: string; - /** - * The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - due_on?: string; -}; -declare type IssuesUpdateMilestoneRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesUpdateMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} -declare type IssuesDeleteMilestoneEndpoint = { - owner: string; - repo: string; - milestone_number: number; -}; -declare type IssuesDeleteMilestoneRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesListLabelsForMilestoneEndpoint = { - owner: string; - repo: string; - milestone_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListLabelsForMilestoneRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones/:milestone_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListLabelsForMilestoneResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type ActivityListRepoNotificationsForAuthenticatedUserEndpoint = { - owner: string; - repo: string; - /** - * If `true`, show notifications marked as read. - */ - all?: boolean; - /** - * If `true`, only shows notifications in which the user is directly participating or mentioned. - */ - participating?: boolean; - /** - * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - before?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListRepoNotificationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListRepoNotificationsForAuthenticatedUserResponseData = { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -}[]; -declare type ActivityMarkRepoNotificationsAsReadEndpoint = { - owner: string; - repo: string; - /** - * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. - */ - last_read_at?: string; -}; -declare type ActivityMarkRepoNotificationsAsReadRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetPagesEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetPagesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetPagesResponseData { - url: string; - status: string; - cname: string; - custom_404: boolean; - html_url: string; - source: { - branch: string; - directory: string; - }; -} -declare type ReposCreatePagesSiteEndpoint = { - owner: string; - repo: string; - source?: ReposCreatePagesSiteParamsSource; -} & RequiredPreview<"switcheroo">; -declare type ReposCreatePagesSiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreatePagesSiteResponseData { - url: string; - status: string; - cname: string; - custom_404: boolean; - html_url: string; - source: { - branch: string; - directory: string; - }; -} -declare type ReposDeletePagesSiteEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"switcheroo">; -declare type ReposDeletePagesSiteRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposUpdateInformationAboutPagesSiteEndpoint = { - owner: string; - repo: string; - /** - * Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - */ - cname?: string; - /** - * Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. - */ - source?: '"gh-pages"' | '"master"' | '"master /docs"'; -}; -declare type ReposUpdateInformationAboutPagesSiteRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposRequestPagesBuildEndpoint = { - owner: string; - repo: string; -}; -declare type ReposRequestPagesBuildRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pages/builds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposRequestPagesBuildResponseData { - url: string; - status: string; -} -declare type ReposListPagesBuildsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListPagesBuildsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListPagesBuildsResponseData = { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -}[]; -declare type ReposGetLatestPagesBuildEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetLatestPagesBuildRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds/latest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetLatestPagesBuildResponseData { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -} -declare type ReposGetPagesBuildEndpoint = { - owner: string; - repo: string; - build_id: number; -}; -declare type ReposGetPagesBuildRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds/:build_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetPagesBuildResponseData { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -} -declare type ProjectsListForRepoEndpoint = { - owner: string; - repo: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListForRepoResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ProjectsCreateForRepoEndpoint = { - owner: string; - repo: string; - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateForRepoResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type PullsListEndpoint = { - owner: string; - repo: string; - /** - * Either `open`, `closed`, or `all` to filter by state. - */ - state?: "open" | "closed" | "all"; - /** - * Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`. - */ - head?: string; - /** - * Filter pulls by base branch name. Example: `gh-pages`. - */ - base?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month). - */ - sort?: "created" | "updated" | "popularity" | "long-running"; - /** - * The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListResponseData = { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -}[]; -declare type PullsCreateEndpoint = { - owner: string; - repo: string; - /** - * The title of the new pull request. - */ - title: string; - /** - * The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`. - */ - head: string; - /** - * The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository. - */ - base: string; - /** - * The contents of the pull request. - */ - body?: string; - /** - * Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. - */ - maintainer_can_modify?: boolean; - /** - * Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://help.github.com/en/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more. - */ - draft?: boolean; -}; -declare type PullsCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsCreateResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} -declare type PullsListReviewCommentsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Can be either `created` or `updated` comments. - */ - sort?: "created" | "updated"; - /** - * Can be either `asc` or `desc`. Ignored without `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListReviewCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListReviewCommentsForRepoResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -}[]; -declare type PullsGetReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type PullsGetReviewCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsGetReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} -declare type PullsUpdateReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The text of the reply to the review comment. - */ - body: string; -}; -declare type PullsUpdateReviewCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsUpdateReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} -declare type PullsDeleteReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type PullsDeleteReviewCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsListForPullRequestReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a pull request review comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForPullRequestReviewCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForPullRequestReviewCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsCreateForPullRequestReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the pull request review comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForPullRequestReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForPullRequestReviewCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsDeleteForPullRequestCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForPullRequestCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type PullsGetEndpoint = { - owner: string; - repo: string; - pull_number: number; -}; -declare type PullsGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsGetResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} -declare type PullsUpdateEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * The title of the pull request. - */ - title?: string; - /** - * The contents of the pull request. - */ - body?: string; - /** - * State of this Pull Request. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. - */ - base?: string; - /** - * Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. - */ - maintainer_can_modify?: boolean; -}; -declare type PullsUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/pulls/:pull_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsUpdateResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} -declare type PullsListReviewCommentsEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Can be either `created` or `updated` comments. - */ - sort?: "created" | "updated"; - /** - * Can be either `asc` or `desc`. Ignored without `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListReviewCommentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListReviewCommentsResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -}[]; -declare type PullsCreateReviewCommentEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * The text of the review comment. - */ - body: string; - /** - * The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`. - */ - commit_id: string; - /** - * The relative path to the file that necessitates a comment. - */ - path: string; - /** - * **Required without `comfort-fade` preview**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above. - */ - position?: number; - /** - * **Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "[Diff view options](https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)" in the GitHub Help documentation. - */ - side?: "LEFT" | "RIGHT"; - /** - * **Required with `comfort-fade` preview**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to. - */ - line?: number; - /** - * **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. - */ - start_line?: number; - /** - * **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see "[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. See `side` in this table for additional context. - */ - start_side?: "LEFT" | "RIGHT" | "side"; -}; -declare type PullsCreateReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsCreateReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} -declare type PullsCreateReplyForReviewCommentEndpoint = { - owner: string; - repo: string; - pull_number: number; - comment_id: number; - /** - * The text of the review comment. - */ - body: string; -}; -declare type PullsCreateReplyForReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsCreateReplyForReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} -declare type PullsListCommitsEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListCommitsResponseData = { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; -}[]; -declare type PullsListFilesEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListFilesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/files"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListFilesResponseData = { - sha: string; - filename: string; - status: string; - additions: number; - deletions: number; - changes: number; - blob_url: string; - raw_url: string; - contents_url: string; - patch: string; -}[]; -declare type PullsCheckIfMergedEndpoint = { - owner: string; - repo: string; - pull_number: number; -}; -declare type PullsCheckIfMergedRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/merge"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type PullsMergeEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Title for the automatic commit message. - */ - commit_title?: string; - /** - * Extra detail to append to automatic commit message. - */ - commit_message?: string; - /** - * SHA that pull request head must match to allow merge. - */ - sha?: string; - /** - * Merge method to use. Possible values are `merge`, `squash` or `rebase`. Default is `merge`. - */ - merge_method?: "merge" | "squash" | "rebase"; -}; -declare type PullsMergeRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/merge"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsMergeResponseData { - sha: string; - merged: boolean; - message: string; -} -export interface PullsMergeResponse405Data { - message: string; - documentation_url: string; -} -export interface PullsMergeResponse409Data { - message: string; - documentation_url: string; -} -declare type PullsListRequestedReviewersEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListRequestedReviewersRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsListRequestedReviewersResponseData { - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; -} -declare type PullsRequestReviewersEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * An array of user `login`s that will be requested. - */ - reviewers?: string[]; - /** - * An array of team `slug`s that will be requested. - */ - team_reviewers?: string[]; -}; -declare type PullsRequestReviewersRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsRequestReviewersResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -} -declare type PullsRemoveRequestedReviewersEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * An array of user `login`s that will be removed. - */ - reviewers?: string[]; - /** - * An array of team `slug`s that will be removed. - */ - team_reviewers?: string[]; -}; -declare type PullsRemoveRequestedReviewersRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type PullsListReviewsEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListReviewsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListReviewsResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -}[]; -declare type PullsCreateReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value. - */ - commit_id?: string; - /** - * **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review. - */ - body?: string; - /** - * The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request) when you are ready. - */ - event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; - /** - * Use the following table to specify the location, destination, and contents of the draft review comment. - */ - comments?: PullsCreateReviewParamsComments[]; -}; -declare type PullsCreateReviewRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsCreateReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsGetReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; -}; -declare type PullsGetReviewRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsGetReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsDeletePendingReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; -}; -declare type PullsDeletePendingReviewRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsDeletePendingReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - commit_id: string; -} -declare type PullsUpdateReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; - /** - * The body text of the pull request review. - */ - body: string; -}; -declare type PullsUpdateReviewRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsUpdateReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsListCommentsForReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListCommentsForReviewRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListCommentsForReviewResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; -}[]; -declare type PullsDismissReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; - /** - * The message for the pull request review dismissal - */ - message: string; -}; -declare type PullsDismissReviewRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsDismissReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsSubmitReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; - /** - * The body text of the pull request review - */ - body?: string; - /** - * The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action. - */ - event: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; -}; -declare type PullsSubmitReviewRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsSubmitReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsUpdateBranchEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://developer.github.com/v3/repos/commits/#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref. - */ - expected_head_sha?: string; -} & RequiredPreview<"lydian">; -declare type PullsUpdateBranchRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/update-branch"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsUpdateBranchResponseData { - message: string; - url: string; -} -declare type ReposGetReadmeEndpoint = { - owner: string; - repo: string; - /** - * The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) - */ - ref?: string; -}; -declare type ReposGetReadmeRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/readme"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetReadmeResponseData { - type: string; - encoding: string; - size: number; - name: string; - path: string; - content: string; - sha: string; - url: string; - git_url: string; - html_url: string; - download_url: string; - _links: { - git: string; - self: string; - html: string; - }; -} -declare type ReposListReleasesEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListReleasesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListReleasesResponseData = { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -}[]; -declare type ReposCreateReleaseEndpoint = { - owner: string; - repo: string; - /** - * The name of the tag. - */ - tag_name: string; - /** - * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`). - */ - target_commitish?: string; - /** - * The name of the release. - */ - name?: string; - /** - * Text describing the contents of the tag. - */ - body?: string; - /** - * `true` to create a draft (unpublished) release, `false` to create a published one. - */ - draft?: boolean; - /** - * `true` to identify the release as a prerelease. `false` to identify the release as a full release. - */ - prerelease?: boolean; -}; -declare type ReposCreateReleaseRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/releases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: unknown[]; -} -declare type ReposGetReleaseAssetEndpoint = { - owner: string; - repo: string; - asset_id: number; -}; -declare type ReposGetReleaseAssetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ReposUpdateReleaseAssetEndpoint = { - owner: string; - repo: string; - asset_id: number; - /** - * The file name of the asset. - */ - name?: string; - /** - * An alternate short description of the asset. Used in place of the filename. - */ - label?: string; -}; -declare type ReposUpdateReleaseAssetRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ReposDeleteReleaseAssetEndpoint = { - owner: string; - repo: string; - asset_id: number; -}; -declare type ReposDeleteReleaseAssetRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetLatestReleaseEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetLatestReleaseRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/latest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetLatestReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} -declare type ReposGetReleaseByTagEndpoint = { - owner: string; - repo: string; - tag: string; -}; -declare type ReposGetReleaseByTagRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/tags/:tag"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetReleaseByTagResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} -declare type ReposGetReleaseEndpoint = { - owner: string; - repo: string; - release_id: number; -}; -declare type ReposGetReleaseRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} -declare type ReposUpdateReleaseEndpoint = { - owner: string; - repo: string; - release_id: number; - /** - * The name of the tag. - */ - tag_name?: string; - /** - * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`). - */ - target_commitish?: string; - /** - * The name of the release. - */ - name?: string; - /** - * Text describing the contents of the tag. - */ - body?: string; - /** - * `true` makes the release a draft, and `false` publishes the release. - */ - draft?: boolean; - /** - * `true` to identify the release as a prerelease, `false` to identify the release as a full release. - */ - prerelease?: boolean; -}; -declare type ReposUpdateReleaseRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} -declare type ReposDeleteReleaseEndpoint = { - owner: string; - repo: string; - release_id: number; -}; -declare type ReposDeleteReleaseRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListReleaseAssetsEndpoint = { - owner: string; - repo: string; - release_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListReleaseAssetsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/:release_id/assets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListReleaseAssetsResponseData = { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; -declare type ReposUploadReleaseAssetEndpoint = { - /** - * owner parameter - */ - owner: string; - /** - * repo parameter - */ - repo: string; - /** - * release_id parameter - */ - release_id: number; - /** - * name parameter - */ - name?: string; - /** - * label parameter - */ - label?: string; - /** - * The raw file data - */ - data: string; - /** - * The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint - */ - origin?: string; - /** - * For https://api.github.com, set `baseUrl` to `https://uploads.github.com`. For GitHub Enterprise Server, set it to `/api/uploads` - */ - baseUrl: string; -} & { - headers: { - "content-type": string; - }; -}; -declare type ReposUploadReleaseAssetRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/releases/:release_id/assets{?name,label}"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUploadReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ActivityListStargazersForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListStargazersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stargazers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListStargazersForRepoResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -export declare type ActivityListStargazersForRepoResponse200Data = { - starred_at: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; -declare type ReposGetCodeFrequencyStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetCodeFrequencyStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/code_frequency"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetCodeFrequencyStatsResponseData = number[][]; -declare type ReposGetCommitActivityStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetCommitActivityStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/commit_activity"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetCommitActivityStatsResponseData = { - days: number[]; - total: number; - week: number; -}[]; -declare type ReposGetContributorsStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetContributorsStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/contributors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetContributorsStatsResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - total: number; - weeks: { - w: string; - a: number; - d: number; - c: number; - }[]; -}[]; -declare type ReposGetParticipationStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetParticipationStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/participation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetParticipationStatsResponseData { - all: number[]; - owner: number[]; -} -declare type ReposGetPunchCardStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetPunchCardStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/punch_card"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetPunchCardStatsResponseData = number[][]; -declare type ReposCreateCommitStatusEndpoint = { - owner: string; - repo: string; - sha: string; - /** - * The state of the status. Can be one of `error`, `failure`, `pending`, or `success`. - */ - state: "error" | "failure" | "pending" | "success"; - /** - * The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. - * For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: - * `http://ci.example.com/user/repo/build/sha` - */ - target_url?: string; - /** - * A short description of the status. - */ - description?: string; - /** - * A string label to differentiate this status from the status of other systems. - */ - context?: string; -}; -declare type ReposCreateCommitStatusRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/statuses/:sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateCommitStatusResponseData { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ActivityListWatchersForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListWatchersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/subscribers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListWatchersForRepoResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ActivityGetRepoSubscriptionEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityGetRepoSubscriptionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivityGetRepoSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - repository_url: string; -} -declare type ActivitySetRepoSubscriptionEndpoint = { - owner: string; - repo: string; - /** - * Determines if notifications should be received from this repository. - */ - subscribed?: boolean; - /** - * Determines if all notifications should be blocked from this repository. - */ - ignored?: boolean; -}; -declare type ActivitySetRepoSubscriptionRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivitySetRepoSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - repository_url: string; -} -declare type ActivityDeleteRepoSubscriptionEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityDeleteRepoSubscriptionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListTagsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListTagsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/tags"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListTagsResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - zipball_url: string; - tarball_url: string; -}[]; -declare type ReposListTeamsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListTeamsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListTeamsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; -}[]; -declare type ReposGetAllTopicsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"mercy">; -declare type ReposGetAllTopicsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetAllTopicsResponseData { - names: string[]; -} -declare type ReposReplaceAllTopicsEndpoint = { - owner: string; - repo: string; - /** - * An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. - */ - names: string[]; -} & RequiredPreview<"mercy">; -declare type ReposReplaceAllTopicsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposReplaceAllTopicsResponseData { - names: string[]; -} -declare type ReposGetClonesEndpoint = { - owner: string; - repo: string; - /** - * Must be one of: `day`, `week`. - */ - per?: "day" | "week"; -}; -declare type ReposGetClonesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/clones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetClonesResponseData { - count: number; - uniques: number; - clones: { - timestamp: string; - count: number; - uniques: number; - }[]; -} -declare type ReposGetTopPathsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetTopPathsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/popular/paths"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetTopPathsResponseData = { - path: string; - title: string; - count: number; - uniques: number; -}[]; -declare type ReposGetTopReferrersEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetTopReferrersRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/popular/referrers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetTopReferrersResponseData = { - referrer: string; - count: number; - uniques: number; -}[]; -declare type ReposGetViewsEndpoint = { - owner: string; - repo: string; - /** - * Must be one of: `day`, `week`. - */ - per?: "day" | "week"; -}; -declare type ReposGetViewsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/views"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetViewsResponseData { - count: number; - uniques: number; - views: { - timestamp: string; - count: number; - uniques: number; - }[]; -} -declare type ReposTransferEndpoint = { - owner: string; - repo: string; - /** - * **Required:** The username or organization name the repository will be transferred to. - */ - new_owner?: string; - /** - * ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. - */ - team_ids?: number[]; -}; -declare type ReposTransferRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/transfer"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposTransferResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type ReposCheckVulnerabilityAlertsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"dorian">; -declare type ReposCheckVulnerabilityAlertsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposEnableVulnerabilityAlertsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"dorian">; -declare type ReposEnableVulnerabilityAlertsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDisableVulnerabilityAlertsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"dorian">; -declare type ReposDisableVulnerabilityAlertsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDownloadArchiveEndpoint = { - owner: string; - repo: string; - archive_format: string; - ref: string; -}; -declare type ReposDownloadArchiveRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/:archive_format/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposCreateUsingTemplateEndpoint = { - template_owner: string; - template_repo: string; - /** - * The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization. - */ - owner?: string; - /** - * The name of the new repository. - */ - name: string; - /** - * A short description of the new repository. - */ - description?: string; - /** - * Either `true` to create a new private repository or `false` to create a new public one. - */ - private?: boolean; -} & RequiredPreview<"baptiste">; -declare type ReposCreateUsingTemplateRequestOptions = { - method: "POST"; - url: "/repos/:template_owner/:template_repo/generate"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateUsingTemplateResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type ReposListPublicEndpoint = { - /** - * The integer ID of the last repository that you've seen. - */ - since?: number; -}; -declare type ReposListPublicRequestOptions = { - method: "GET"; - url: "/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListPublicResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; -}[]; -declare type ScimListProvisionedIdentitiesEndpoint = { - org: string; - /** - * Used for pagination: the index of the first result to return. - */ - startIndex?: number; - /** - * Used for pagination: the number of results to return. - */ - count?: number; - /** - * Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query: `?filter=userName%20eq%20\"Octocat\"`. - */ - filter?: string; -}; -declare type ScimListProvisionedIdentitiesRequestOptions = { - method: "GET"; - url: "/scim/v2/organizations/:org/Users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimListProvisionedIdentitiesResponseData { - schemas: string[]; - totalResults: number; - itemsPerPage: number; - startIndex: number; - Resources: { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - primary: boolean; - type: string; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; - }[]; -} -declare type ScimProvisionAndInviteUserEndpoint = { - org: string; -}; -declare type ScimProvisionAndInviteUserRequestOptions = { - method: "POST"; - url: "/scim/v2/organizations/:org/Users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimProvisionAndInviteUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} -declare type ScimGetProvisioningInformationForUserEndpoint = { - org: string; - scim_user_id: number; -}; -declare type ScimGetProvisioningInformationForUserRequestOptions = { - method: "GET"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimGetProvisioningInformationForUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} -declare type ScimSetInformationForProvisionedUserEndpoint = { - org: string; - scim_user_id: number; -}; -declare type ScimSetInformationForProvisionedUserRequestOptions = { - method: "PUT"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimSetInformationForProvisionedUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} -declare type ScimUpdateAttributeForUserEndpoint = { - org: string; - scim_user_id: number; -}; -declare type ScimUpdateAttributeForUserRequestOptions = { - method: "PATCH"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimUpdateAttributeForUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} -declare type ScimDeleteUserFromOrgEndpoint = { - org: string; - scim_user_id: number; -}; -declare type ScimDeleteUserFromOrgRequestOptions = { - method: "DELETE"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type SearchCodeEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching code](https://help.github.com/articles/searching-code/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "indexed"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type SearchCodeRequestOptions = { - method: "GET"; - url: "/search/code"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchCodeResponseData { - total_count: number; - incomplete_results: boolean; - items: { - name: string; - path: string; - sha: string; - url: string; - git_url: string; - html_url: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - }; - score: number; - }[]; -} -declare type SearchCommitsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching commits](https://help.github.com/articles/searching-commits/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by `author-date` or `committer-date`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "author-date" | "committer-date"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"cloak">; -declare type SearchCommitsRequestOptions = { - method: "GET"; - url: "/search/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchCommitsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - url: string; - sha: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - score: number; - }[]; -} -declare type SearchIssuesAndPullRequestsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching issues and pull requests](https://help.github.com/articles/searching-issues-and-pull-requests/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "comments" | "reactions" | "reactions-+1" | "reactions--1" | "reactions-smile" | "reactions-thinking_face" | "reactions-heart" | "reactions-tada" | "interactions" | "created" | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type SearchIssuesAndPullRequestsRequestOptions = { - method: "GET"; - url: "/search/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchIssuesAndPullRequestsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - id: number; - node_id: string; - number: number; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - color: string; - }[]; - state: string; - assignee: string; - milestone: string; - comments: number; - created_at: string; - updated_at: string; - closed_at: string; - pull_request: { - html_url: string; - diff_url: string; - patch_url: string; - }; - body: string; - score: number; - }[]; -} -declare type SearchLabelsEndpoint = { - /** - * The id of the repository. - */ - repository_id: number; - /** - * The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). - */ - q: string; - /** - * Sorts the results of your query by when the label was `created` or `updated`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "created" | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; -}; -declare type SearchLabelsRequestOptions = { - method: "GET"; - url: "/search/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchLabelsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - id: number; - node_id: string; - url: string; - name: string; - color: string; - default: boolean; - description: string; - score: number; - }[]; -} -declare type SearchReposEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching for repositories](https://help.github.com/articles/searching-for-repositories/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "stars" | "forks" | "help-wanted-issues" | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type SearchReposRequestOptions = { - method: "GET"; - url: "/search/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchReposResponseData { - total_count: number; - incomplete_results: boolean; - items: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - received_events_url: string; - type: string; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - created_at: string; - updated_at: string; - pushed_at: string; - homepage: string; - size: number; - stargazers_count: number; - watchers_count: number; - language: string; - forks_count: number; - open_issues_count: number; - master_branch: string; - default_branch: string; - score: number; - }[]; -} -declare type SearchTopicsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). - */ - q: string; -}; -declare type SearchTopicsRequestOptions = { - method: "GET"; - url: "/search/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchTopicsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - name: string; - display_name: string; - short_description: string; - description: string; - created_by: string; - released: string; - created_at: string; - updated_at: string; - featured: boolean; - curated: boolean; - score: number; - }[]; -} -declare type SearchUsersEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching users](https://help.github.com/articles/searching-users/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "followers" | "repositories" | "joined"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type SearchUsersRequestOptions = { - method: "GET"; - url: "/search/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchUsersResponseData { - total_count: number; - incomplete_results: boolean; - items: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - received_events_url: string; - type: string; - score: number; - }[]; -} -declare type TeamsGetLegacyEndpoint = { - team_id: number; -}; -declare type TeamsGetLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetLegacyResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsUpdateLegacyEndpoint = { - team_id: number; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; -declare type TeamsUpdateLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateLegacyResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsDeleteLegacyEndpoint = { - team_id: number; -}; -declare type TeamsDeleteLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListDiscussionsLegacyEndpoint = { - team_id: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListDiscussionsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListDiscussionsLegacyResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; -declare type TeamsCreateDiscussionLegacyEndpoint = { - team_id: number; - /** - * The discussion post's title. - */ - title: string; - /** - * The discussion post's body text. - */ - body: string; - /** - * Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. - */ - private?: boolean; -}; -declare type TeamsCreateDiscussionLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsGetDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; -}; -declare type TeamsGetDiscussionLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsUpdateDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * The discussion post's title. - */ - title?: string; - /** - * The discussion post's body text. - */ - body?: string; -}; -declare type TeamsUpdateDiscussionLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsDeleteDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; -}; -declare type TeamsDeleteDiscussionLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListDiscussionCommentsLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListDiscussionCommentsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListDiscussionCommentsLegacyResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; -declare type TeamsCreateDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; -declare type TeamsCreateDiscussionCommentLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsGetDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; -}; -declare type TeamsGetDiscussionCommentLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsUpdateDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; -declare type TeamsUpdateDiscussionCommentLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsDeleteDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; -}; -declare type TeamsDeleteDiscussionCommentLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsListForTeamDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForTeamDiscussionCommentLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForTeamDiscussionCommentLegacyResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsCreateForTeamDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForTeamDiscussionCommentLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForTeamDiscussionCommentLegacyResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsListForTeamDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForTeamDiscussionLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForTeamDiscussionLegacyResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsCreateForTeamDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForTeamDiscussionLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForTeamDiscussionLegacyResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type TeamsListPendingInvitationsLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListPendingInvitationsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListPendingInvitationsLegacyResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; -declare type TeamsListMembersLegacyEndpoint = { - team_id: number; - /** - * Filters members returned by their role in the team. Can be one of: - * \* `member` - normal members of the team. - * \* `maintainer` - team maintainers. - * \* `all` - all members of the team. - */ - role?: "member" | "maintainer" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListMembersLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListMembersLegacyResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type TeamsGetMemberLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsGetMemberLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsAddMemberLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsAddMemberLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddMemberLegacyResponseData { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} -declare type TeamsRemoveMemberLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsRemoveMemberLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsGetMembershipForUserLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsGetMembershipForUserLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetMembershipForUserLegacyResponseData { - url: string; - role: string; - state: string; -} -declare type TeamsAddOrUpdateMembershipForUserLegacyEndpoint = { - team_id: number; - username: string; - /** - * The role that this user should have in the team. Can be one of: - * \* `member` - a normal member of the team. - * \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description. - */ - role?: "member" | "maintainer"; -}; -declare type TeamsAddOrUpdateMembershipForUserLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddOrUpdateMembershipForUserLegacyResponseData { - url: string; - role: string; - state: string; -} -export interface TeamsAddOrUpdateMembershipForUserLegacyResponse422Data { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} -declare type TeamsRemoveMembershipForUserLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsRemoveMembershipForUserLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListProjectsLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type TeamsListProjectsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListProjectsLegacyResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -}[]; -declare type TeamsCheckPermissionsForProjectLegacyEndpoint = { - team_id: number; - project_id: number; -} & RequiredPreview<"inertia">; -declare type TeamsCheckPermissionsForProjectLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCheckPermissionsForProjectLegacyResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -} -declare type TeamsAddOrUpdateProjectPermissionsLegacyEndpoint = { - team_id: number; - project_id: number; - /** - * The permission to grant to the team for this project. Can be one of: - * \* `read` - team members can read, but not write to or administer this project. - * \* `write` - team members can read and write, but not administer this project. - * \* `admin` - team members can read, write and administer this project. - * Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; -declare type TeamsAddOrUpdateProjectPermissionsLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddOrUpdateProjectPermissionsLegacyResponseData { - message: string; - documentation_url: string; -} -declare type TeamsRemoveProjectLegacyEndpoint = { - team_id: number; - project_id: number; -}; -declare type TeamsRemoveProjectLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListReposLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListReposLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListReposLegacyResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: string; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type TeamsCheckPermissionsForRepoLegacyEndpoint = { - team_id: number; - owner: string; - repo: string; -}; -declare type TeamsCheckPermissionsForRepoLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCheckPermissionsForRepoLegacyResponseData { - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; -} -declare type TeamsAddOrUpdateRepoPermissionsLegacyEndpoint = { - team_id: number; - owner: string; - repo: string; - /** - * The permission to grant the team on this repository. Can be one of: - * \* `pull` - team members can pull, but not push to or administer this repository. - * \* `push` - team members can pull and push, but not administer this repository. - * \* `admin` - team members can pull, push and administer this repository. - * - * If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - */ - permission?: "pull" | "push" | "admin"; -}; -declare type TeamsAddOrUpdateRepoPermissionsLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsRemoveRepoLegacyEndpoint = { - team_id: number; - owner: string; - repo: string; -}; -declare type TeamsRemoveRepoLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsListIdPGroupsForLegacyEndpoint = { - team_id: number; -}; -declare type TeamsListIdPGroupsForLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsListIdPGroupsForLegacyResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} -declare type TeamsCreateOrUpdateIdPGroupConnectionsLegacyEndpoint = { - team_id: number; - /** - * The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove. - */ - groups: TeamsCreateOrUpdateIdPGroupConnectionsLegacyParamsGroups[]; -}; -declare type TeamsCreateOrUpdateIdPGroupConnectionsLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateOrUpdateIdPGroupConnectionsLegacyResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} -declare type TeamsListChildLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListChildLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListChildLegacyResponseData = { - id: number; - node_id: string; - url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - }; -}[]; -declare type UsersGetAuthenticatedEndpoint = {}; -declare type UsersGetAuthenticatedRequestOptions = { - method: "GET"; - url: "/user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetAuthenticatedResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - private_gists: number; - total_private_repos: number; - owned_private_repos: number; - disk_usage: number; - collaborators: number; - two_factor_authentication: boolean; - plan: { - name: string; - space: number; - private_repos: number; - collaborators: number; - }; -} -declare type UsersUpdateAuthenticatedEndpoint = { - /** - * The new name of the user. - */ - name?: string; - /** - * The publicly visible email address of the user. - */ - email?: string; - /** - * The new blog URL of the user. - */ - blog?: string; - /** - * The new company of the user. - */ - company?: string; - /** - * The new location of the user. - */ - location?: string; - /** - * The new hiring availability of the user. - */ - hireable?: boolean; - /** - * The new short biography of the user. - */ - bio?: string; - /** - * The new Twitter username of the user. - */ - twitter_username?: string; -}; -declare type UsersUpdateAuthenticatedRequestOptions = { - method: "PATCH"; - url: "/user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersUpdateAuthenticatedResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - private_gists: number; - total_private_repos: number; - owned_private_repos: number; - disk_usage: number; - collaborators: number; - two_factor_authentication: boolean; - plan: { - name: string; - space: number; - private_repos: number; - collaborators: number; - }; -} -declare type UsersListBlockedByAuthenticatedEndpoint = {}; -declare type UsersListBlockedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/blocks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListBlockedByAuthenticatedResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersCheckBlockedEndpoint = { - username: string; -}; -declare type UsersCheckBlockedRequestOptions = { - method: "GET"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersBlockEndpoint = { - username: string; -}; -declare type UsersBlockRequestOptions = { - method: "PUT"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersUnblockEndpoint = { - username: string; -}; -declare type UsersUnblockRequestOptions = { - method: "DELETE"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersSetPrimaryEmailVisibilityForAuthenticatedEndpoint = { - /** - * Specify the _primary_ email address that needs a visibility change. - */ - email: string; - /** - * Use `public` to enable an authenticated user to view the specified email address, or use `private` so this primary email address cannot be seen publicly. - */ - visibility: string; -}; -declare type UsersSetPrimaryEmailVisibilityForAuthenticatedRequestOptions = { - method: "PATCH"; - url: "/user/email/visibility"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersSetPrimaryEmailVisibilityForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; -declare type UsersListEmailsForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListEmailsForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListEmailsForAuthenticatedResponseData = { - email: string; - verified: boolean; - primary: boolean; - visibility: string; -}[]; -declare type UsersAddEmailForAuthenticatedEndpoint = { - /** - * Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. - */ - emails: string[]; -}; -declare type UsersAddEmailForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersAddEmailForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; -declare type UsersDeleteEmailForAuthenticatedEndpoint = { - /** - * Deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. - */ - emails: string[]; -}; -declare type UsersDeleteEmailForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersListFollowersForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListFollowersForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/followers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListFollowersForAuthenticatedUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersListFollowedByAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListFollowedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/following"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListFollowedByAuthenticatedResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersCheckPersonIsFollowedByAuthenticatedEndpoint = { - username: string; -}; -declare type UsersCheckPersonIsFollowedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersFollowEndpoint = { - username: string; -}; -declare type UsersFollowRequestOptions = { - method: "PUT"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersUnfollowEndpoint = { - username: string; -}; -declare type UsersUnfollowRequestOptions = { - method: "DELETE"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersListGpgKeysForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListGpgKeysForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListGpgKeysForAuthenticatedResponseData = { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -}[]; -declare type UsersCreateGpgKeyForAuthenticatedEndpoint = { - /** - * Your GPG key, generated in ASCII-armored format. See "[Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/)" for help creating a GPG key. - */ - armored_public_key?: string; -}; -declare type UsersCreateGpgKeyForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersCreateGpgKeyForAuthenticatedResponseData { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -} -declare type UsersGetGpgKeyForAuthenticatedEndpoint = { - gpg_key_id: number; -}; -declare type UsersGetGpgKeyForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/gpg_keys/:gpg_key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetGpgKeyForAuthenticatedResponseData { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -} -declare type UsersDeleteGpgKeyForAuthenticatedEndpoint = { - gpg_key_id: number; -}; -declare type UsersDeleteGpgKeyForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/gpg_keys/:gpg_key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsListInstallationsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type AppsListInstallationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsListInstallationsForAuthenticatedUserResponseData { - total_count: number; - installations: { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - gravatar_id: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - }[]; -} -declare type AppsListInstallationReposForAuthenticatedUserEndpoint = { - installation_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type AppsListInstallationReposForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/installations/:installation_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsListInstallationReposForAuthenticatedUserResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} -declare type AppsAddRepoToInstallationEndpoint = { - installation_id: number; - repository_id: number; -} & RequiredPreview<"machine-man">; -declare type AppsAddRepoToInstallationRequestOptions = { - method: "PUT"; - url: "/user/installations/:installation_id/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsRemoveRepoFromInstallationEndpoint = { - installation_id: number; - repository_id: number; -} & RequiredPreview<"machine-man">; -declare type AppsRemoveRepoFromInstallationRequestOptions = { - method: "DELETE"; - url: "/user/installations/:installation_id/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesListForAuthenticatedUserEndpoint = { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListForAuthenticatedUserResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type UsersListPublicSshKeysForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListPublicSshKeysForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListPublicSshKeysForAuthenticatedResponseData = { - key_id: string; - key: string; -}[]; -declare type UsersCreatePublicSshKeyForAuthenticatedEndpoint = { - /** - * A descriptive name for the new key. Use a name that will help you recognize this key in your GitHub account. For example, if you're using a personal Mac, you might call this key "Personal MacBook Air". - */ - title?: string; - /** - * The public SSH key to add to your GitHub account. See "[Generating a new SSH key](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)" for guidance on how to create a public SSH key. - */ - key?: string; -}; -declare type UsersCreatePublicSshKeyForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersCreatePublicSshKeyForAuthenticatedResponseData { - key_id: string; - key: string; -} -declare type UsersGetPublicSshKeyForAuthenticatedEndpoint = { - key_id: number; -}; -declare type UsersGetPublicSshKeyForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetPublicSshKeyForAuthenticatedResponseData { - key_id: string; - key: string; -} -declare type UsersDeletePublicSshKeyForAuthenticatedEndpoint = { - key_id: number; -}; -declare type UsersDeletePublicSshKeyForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsListSubscriptionsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListSubscriptionsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/marketplace_purchases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListSubscriptionsForAuthenticatedUserResponseData = { - billing_cycle: string; - next_billing_date: string; - unit_count: string; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - account: { - login: string; - id: number; - url: string; - email: string; - organization_billing_email: string; - type: string; - }; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; -}[]; -declare type AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions = { - method: "GET"; - url: "/user/marketplace_purchases/stubbed"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListSubscriptionsForAuthenticatedUserStubbedResponseData = { - billing_cycle: string; - next_billing_date: string; - unit_count: string; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - account: { - login: string; - id: number; - url: string; - email: string; - organization_billing_email: string; - type: string; - }; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; -}[]; -declare type OrgsListMembershipsForAuthenticatedUserEndpoint = { - /** - * Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships. - */ - state?: "active" | "pending"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListMembershipsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/memberships/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListMembershipsForAuthenticatedUserResponseData = { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; -declare type OrgsGetMembershipForAuthenticatedUserEndpoint = { - org: string; -}; -declare type OrgsGetMembershipForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/memberships/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsGetMembershipForAuthenticatedUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type OrgsUpdateMembershipForAuthenticatedUserEndpoint = { - org: string; - /** - * The state that the membership should be in. Only `"active"` will be accepted. - */ - state: "active"; -}; -declare type OrgsUpdateMembershipForAuthenticatedUserRequestOptions = { - method: "PATCH"; - url: "/user/memberships/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsUpdateMembershipForAuthenticatedUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type MigrationsStartForAuthenticatedUserEndpoint = { - /** - * An array of repositories to include in the migration. - */ - repositories: string[]; - /** - * Locks the `repositories` to prevent changes during the migration when set to `true`. - */ - lock_repositories?: boolean; - /** - * Does not include attachments uploaded to GitHub.com in the migration data when set to `true`. Excluding attachments will reduce the migration archive file size. - */ - exclude_attachments?: boolean; -}; -declare type MigrationsStartForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsStartForAuthenticatedUserResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} -declare type MigrationsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsListForAuthenticatedUserResponseData = { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -}[]; -declare type MigrationsGetStatusForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsGetStatusForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations/:migration_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsGetStatusForAuthenticatedUserResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} -declare type MigrationsGetArchiveForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsGetArchiveForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsDeleteArchiveForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsDeleteArchiveForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsUnlockRepoForAuthenticatedUserEndpoint = { - migration_id: number; - repo_name: string; -} & RequiredPreview<"wyandotte">; -declare type MigrationsUnlockRepoForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/migrations/:migration_id/repos/:repo_name/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListForAuthenticatedUserResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; -declare type ProjectsCreateForAuthenticatedUserEndpoint = { - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateForAuthenticatedUserResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type UsersListPublicEmailsForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListPublicEmailsForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/public_emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListPublicEmailsForAuthenticatedResponseData = { - email: string; - verified: boolean; - primary: boolean; - visibility: string; -}[]; -declare type ReposListForAuthenticatedUserEndpoint = { - /** - * Can be one of `all`, `public`, or `private`. - */ - visibility?: "all" | "public" | "private"; - /** - * Comma-separated list of values. Can include: - * \* `owner`: Repositories that are owned by the authenticated user. - * \* `collaborator`: Repositories that the user has been added to as a collaborator. - * \* `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. - */ - affiliation?: string; - /** - * Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` - * - * Will cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**. - */ - type?: "all" | "owner" | "public" | "private" | "member"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposCreateForAuthenticatedUserEndpoint = { - /** - * The name of the repository. - */ - name: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to create a private repository or `false` to create a public one. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://help.github.com/github/creating-cloning-and-archiving-repositories/creating-an-internal-repository)" in the GitHub Help documentation. - * The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. - */ - team_id?: number; - /** - * Pass `true` to create an initial commit with empty README. - */ - auto_init?: boolean; - /** - * Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". - */ - gitignore_template?: string; - /** - * Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://help.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". - */ - license_template?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; -}; -declare type ReposCreateForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateForAuthenticatedUserResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type ReposListInvitationsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListInvitationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/repository_invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListInvitationsForAuthenticatedUserResponseData = { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -}[]; -declare type ReposAcceptInvitationEndpoint = { - invitation_id: number; -}; -declare type ReposAcceptInvitationRequestOptions = { - method: "PATCH"; - url: "/user/repository_invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeclineInvitationEndpoint = { - invitation_id: number; -}; -declare type ReposDeclineInvitationRequestOptions = { - method: "DELETE"; - url: "/user/repository_invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListReposStarredByAuthenticatedUserEndpoint = { - /** - * One of `created` (when the repository was starred) or `updated` (when it was last pushed to). - */ - sort?: "created" | "updated"; - /** - * One of `asc` (ascending) or `desc` (descending). - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReposStarredByAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListReposStarredByAuthenticatedUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -}[]; -export declare type ActivityListReposStarredByAuthenticatedUserResponse200Data = { - starred_at: string; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityStarRepoForAuthenticatedUserEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityStarRepoForAuthenticatedUserRequestOptions = { - method: "PUT"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityUnstarRepoForAuthenticatedUserEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityUnstarRepoForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListWatchedReposForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListWatchedReposForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/subscriptions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListWatchedReposForAuthenticatedUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: string; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type TeamsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListForAuthenticatedUserResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: string; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -}[]; -declare type MigrationsListReposForUserEndpoint = { - migration_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsListReposForUserRequestOptions = { - method: "GET"; - url: "/user/:migration_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsListReposForUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: string; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type UsersListEndpoint = { - /** - * The integer ID of the last User that you've seen. - */ - since?: string; -}; -declare type UsersListRequestOptions = { - method: "GET"; - url: "/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersGetByUsernameEndpoint = { - username: string; -}; -declare type UsersGetByUsernameRequestOptions = { - method: "GET"; - url: "/users/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetByUsernameResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; -} -declare type ActivityListEventsForAuthenticatedUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListEventsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/users/:username/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListOrgEventsForAuthenticatedUserEndpoint = { - username: string; - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListOrgEventsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/users/:username/events/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListPublicEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListPublicEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/events/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersListFollowersForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListFollowersForUserRequestOptions = { - method: "GET"; - url: "/users/:username/followers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListFollowersForUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersListFollowingForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListFollowingForUserRequestOptions = { - method: "GET"; - url: "/users/:username/following"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListFollowingForUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersCheckFollowingForUserEndpoint = { - username: string; - target_user: string; -}; -declare type UsersCheckFollowingForUserRequestOptions = { - method: "GET"; - url: "/users/:username/following/:target_user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsListForUserEndpoint = { - username: string; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListForUserResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; -declare type UsersListGpgKeysForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListGpgKeysForUserRequestOptions = { - method: "GET"; - url: "/users/:username/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListGpgKeysForUserResponseData = { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -}[]; -declare type UsersGetContextForUserEndpoint = { - username: string; - /** - * Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`. - */ - subject_type?: "organization" | "repository" | "issue" | "pull_request"; - /** - * Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`. - */ - subject_id?: string; -}; -declare type UsersGetContextForUserRequestOptions = { - method: "GET"; - url: "/users/:username/hovercard"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetContextForUserResponseData { - contexts: { - message: string; - octicon: string; - }[]; -} -declare type AppsGetUserInstallationEndpoint = { - username: string; -} & RequiredPreview<"machine-man">; -declare type AppsGetUserInstallationRequestOptions = { - method: "GET"; - url: "/users/:username/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetUserInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} -declare type UsersListPublicKeysForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListPublicKeysForUserRequestOptions = { - method: "GET"; - url: "/users/:username/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListPublicKeysForUserResponseData = { - id: number; - key: string; -}[]; -declare type OrgsListForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListForUserResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; -declare type ProjectsListForUserEndpoint = { - username: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListForUserResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ActivityListReceivedEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReceivedEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/received_events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListReceivedPublicEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReceivedPublicEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/received_events/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListForUserEndpoint = { - username: string; - /** - * Can be one of `all`, `owner`, `member`. - */ - type?: "all" | "owner" | "member"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListReposStarredByUserEndpoint = { - username: string; - /** - * One of `created` (when the repository was starred) or `updated` (when it was last pushed to). - */ - sort?: "created" | "updated"; - /** - * One of `asc` (ascending) or `desc` (descending). - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReposStarredByUserRequestOptions = { - method: "GET"; - url: "/users/:username/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListReposStarredByUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -}[]; -export declare type ActivityListReposStarredByUserResponse200Data = { - starred_at: string; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type ActivityListReposWatchedByUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReposWatchedByUserRequestOptions = { - method: "GET"; - url: "/users/:username/subscriptions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListReposWatchedByUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: string; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type AppsCreateInstallationAccessTokenParamsPermissions = {}; -declare type GistsCreateParamsFiles = { - [key: string]: GistsCreateParamsFilesKeyString; -}; -declare type GistsCreateParamsFilesKeyString = { - content: string; -}; -declare type GistsUpdateParamsFiles = { - [key: string]: GistsUpdateParamsFilesKeyString; -}; -declare type GistsUpdateParamsFilesKeyString = { - content: string; - filename: string; -}; -declare type OrgsCreateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -declare type OrgsUpdateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -declare type TeamsCreateOrUpdateIdPGroupConnectionsInOrgParamsGroups = { - group_id: string; - group_name: string; - group_description: string; -}; -declare type ReposUpdateBranchProtectionParamsRequiredStatusChecks = { - strict: boolean; - contexts: string[]; -}; -declare type ReposUpdateBranchProtectionParamsRequiredPullRequestReviews = { - dismissal_restrictions?: ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions; - dismiss_stale_reviews?: boolean; - require_code_owner_reviews?: boolean; - required_approving_review_count?: number; -}; -declare type ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions = { - users?: string[]; - teams?: string[]; -}; -declare type ReposUpdateBranchProtectionParamsRestrictions = { - users: string[]; - teams: string[]; - apps?: string[]; -}; -declare type ReposUpdatePullRequestReviewProtectionParamsDismissalRestrictions = { - users?: string[]; - teams?: string[]; -}; -declare type ChecksCreateParamsOutput = { - title: string; - summary: string; - text?: string; - annotations?: ChecksCreateParamsOutputAnnotations[]; - images?: ChecksCreateParamsOutputImages[]; -}; -declare type ChecksCreateParamsOutputAnnotations = { - path: string; - start_line: number; - end_line: number; - start_column?: number; - end_column?: number; - annotation_level: "notice" | "warning" | "failure"; - message: string; - title?: string; - raw_details?: string; -}; -declare type ChecksCreateParamsOutputImages = { - alt: string; - image_url: string; - caption?: string; -}; -declare type ChecksCreateParamsActions = { - label: string; - description: string; - identifier: string; -}; -declare type ChecksUpdateParamsOutput = { - title?: string; - summary: string; - text?: string; - annotations?: ChecksUpdateParamsOutputAnnotations[]; - images?: ChecksUpdateParamsOutputImages[]; -}; -declare type ChecksUpdateParamsOutputAnnotations = { - path: string; - start_line: number; - end_line: number; - start_column?: number; - end_column?: number; - annotation_level: "notice" | "warning" | "failure"; - message: string; - title?: string; - raw_details?: string; -}; -declare type ChecksUpdateParamsOutputImages = { - alt: string; - image_url: string; - caption?: string; -}; -declare type ChecksUpdateParamsActions = { - label: string; - description: string; - identifier: string; -}; -declare type ChecksSetSuitesPreferencesParamsAutoTriggerChecks = { - app_id: number; - setting: boolean; -}; -declare type ReposCreateOrUpdateFileContentsParamsCommitter = { - name: string; - email: string; -}; -declare type ReposCreateOrUpdateFileContentsParamsAuthor = { - name: string; - email: string; -}; -declare type ReposDeleteFileParamsCommitter = { - name?: string; - email?: string; -}; -declare type ReposDeleteFileParamsAuthor = { - name?: string; - email?: string; -}; -declare type ReposCreateDispatchEventParamsClientPayload = {}; -declare type GitCreateCommitParamsAuthor = { - name?: string; - email?: string; - date?: string; -}; -declare type GitCreateCommitParamsCommitter = { - name?: string; - email?: string; - date?: string; -}; -declare type GitCreateTagParamsTagger = { - name?: string; - email?: string; - date?: string; -}; -declare type GitCreateTreeParamsTree = { - path?: string; - mode?: "100644" | "100755" | "040000" | "160000" | "120000"; - type?: "blob" | "tree" | "commit"; - sha?: string | null; - content?: string; -}; -declare type ReposCreateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -declare type ReposUpdateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -declare type ReposCreatePagesSiteParamsSource = { - branch?: "master" | "gh-pages"; - path?: string; -}; -declare type PullsCreateReviewParamsComments = { - path: string; - position: number; - body: string; -}; -declare type TeamsCreateOrUpdateIdPGroupConnectionsLegacyParamsGroups = { - group_id: string; - group_name: string; - group_description: string; -}; -export {}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/index.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/index.d.ts deleted file mode 100644 index 5d2d5ae09b..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/index.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export * from "./AuthInterface"; -export * from "./EndpointDefaults"; -export * from "./EndpointInterface"; -export * from "./EndpointOptions"; -export * from "./Fetch"; -export * from "./OctokitResponse"; -export * from "./RequestHeaders"; -export * from "./RequestInterface"; -export * from "./RequestMethod"; -export * from "./RequestOptions"; -export * from "./RequestParameters"; -export * from "./RequestRequestOptions"; -export * from "./ResponseHeaders"; -export * from "./Route"; -export * from "./Signal"; -export * from "./StrategyInterface"; -export * from "./Url"; -export * from "./VERSION"; -export * from "./GetResponseTypeFromEndpointMethod"; -export * from "./generated/Endpoints"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-web/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-web/index.js deleted file mode 100644 index 8df069c685..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-web/index.js +++ /dev/null @@ -1,4 +0,0 @@ -const VERSION = "4.1.10"; - -export { VERSION }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-web/index.js.map b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-web/index.js.map deleted file mode 100644 index cd0e254a57..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/package.json b/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/package.json deleted file mode 100644 index d4618d8873..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "@octokit/types", - "description": "Shared TypeScript definitions for Octokit projects", - "version": "4.1.10", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit", - "typescript" - ], - "repository": "https://github.com/octokit/types.ts", - "dependencies": { - "@types/node": ">= 8" - }, - "devDependencies": { - "@octokit/graphql": "^4.2.2", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "handlebars": "^4.7.6", - "json-schema-to-typescript": "^9.1.0", - "lodash.set": "^4.3.2", - "npm-run-all": "^4.1.5", - "pascal-case": "^3.1.1", - "prettier": "^2.0.0", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "sort-keys": "^4.0.0", - "string-to-jsdoc-comment": "^1.0.0", - "typedoc": "^0.17.0", - "typescript": "^3.6.4" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/types/-/types-4.1.10.tgz" -,"_integrity": "sha512-/wbFy1cUIE5eICcg0wTKGXMlKSbaAxEr00qaBXzscLXpqhcwgXeS6P8O0pkysBhRfyjkKjJaYrvR1ExMO5eOXQ==" -,"_from": "@octokit/types@4.1.10" -} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/package.json b/node_modules/@octokit/plugin-rest-endpoint-methods/package.json deleted file mode 100644 index 615ce9a6cb..0000000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@octokit/plugin-rest-endpoint-methods", - "description": "Octokit plugin adding one method for all of api.github.com REST API endpoints", - "version": "3.17.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit" - ], - "repository": "https://github.com/octokit/plugin-rest-endpoint-methods.js", - "dependencies": { - "@octokit/types": "^4.1.6", - "deprecation": "^2.3.1" - }, - "devDependencies": { - "@gimenete/type-writer": "^0.1.5", - "@octokit/core": "^2.1.2", - "@octokit/graphql": "^4.3.1", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.3.1", - "@types/jest": "^25.1.0", - "@types/node": "^14.0.4", - "fetch-mock": "^9.0.0", - "fs-extra": "^9.0.0", - "jest": "^25.1.0", - "lodash.camelcase": "^4.3.0", - "lodash.set": "^4.3.2", - "lodash.upperfirst": "^4.3.1", - "mustache": "^4.0.0", - "npm-run-all": "^4.1.5", - "prettier": "^2.0.1", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "sort-keys": "^4.0.0", - "string-to-jsdoc-comment": "^1.0.0", - "ts-jest": "^25.1.0", - "typescript": "^3.7.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.17.0.tgz" -,"_integrity": "sha512-NFV3vq7GgoO2TrkyBRUOwflkfTYkFKS0tLAPym7RNpkwLCttqShaEGjthOsPEEL+7LFcYv3mU24+F2yVd3npmg==" -,"_from": "@octokit/plugin-rest-endpoint-methods@3.17.0" -} \ No newline at end of file diff --git a/node_modules/@octokit/request-error/LICENSE b/node_modules/@octokit/request-error/LICENSE deleted file mode 100644 index ef2c18ee5b..0000000000 --- a/node_modules/@octokit/request-error/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2019 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/@octokit/request-error/README.md b/node_modules/@octokit/request-error/README.md deleted file mode 100644 index 315064ce29..0000000000 --- a/node_modules/@octokit/request-error/README.md +++ /dev/null @@ -1,67 +0,0 @@ -# http-error.js - -> Error class for Octokit request errors - -[![@latest](https://img.shields.io/npm/v/@octokit/request-error.svg)](https://www.npmjs.com/package/@octokit/request-error) -[![Build Status](https://github.com/octokit/request-error.js/workflows/Test/badge.svg)](https://github.com/octokit/request-error.js/actions?query=workflow%3ATest) - -## Usage - - - - - - -
-Browsers - -Load @octokit/request-error directly from cdn.pika.dev - -```html - -``` - -
-Node - - -Install with npm install @octokit/request-error - -```js -const { RequestError } = require("@octokit/request-error"); -// or: import { RequestError } from "@octokit/request-error"; -``` - -
- -```js -const error = new RequestError("Oops", 500, { - headers: { - "x-github-request-id": "1:2:3:4", - }, // response headers - request: { - method: "POST", - url: "https://api.github.com/foo", - body: { - bar: "baz", - }, - headers: { - authorization: "token secret123", - }, - }, -}); - -error.message; // Oops -error.status; // 500 -error.headers; // { 'x-github-request-id': '1:2:3:4' } -error.request.method; // POST -error.request.url; // https://api.github.com/foo -error.request.body; // { bar: 'baz' } -error.request.headers; // { authorization: 'token [REDACTED]' } -``` - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/request-error/dist-node/index.js b/node_modules/@octokit/request-error/dist-node/index.js deleted file mode 100644 index 95b9c57960..0000000000 --- a/node_modules/@octokit/request-error/dist-node/index.js +++ /dev/null @@ -1,55 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var deprecation = require('deprecation'); -var once = _interopDefault(require('once')); - -const logOnce = once(deprecation => console.warn(deprecation)); -/** - * Error with extra properties to help with debugging - */ - -class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - - this.name = "HttpError"; - this.status = statusCode; - Object.defineProperty(this, "code", { - get() { - logOnce(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); - return statusCode; - } - - }); - this.headers = options.headers || {}; // redact request credentials without mutating original request options - - const requestCopy = Object.assign({}, options.request); - - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]") - }); - } - - requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } - -} - -exports.RequestError = RequestError; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/request-error/dist-node/index.js.map b/node_modules/@octokit/request-error/dist-node/index.js.map deleted file mode 100644 index 25620064f4..0000000000 --- a/node_modules/@octokit/request-error/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["import { Deprecation } from \"deprecation\";\nimport once from \"once\";\nconst logOnce = once((deprecation) => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\nexport class RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message);\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n this.name = \"HttpError\";\n this.status = statusCode;\n Object.defineProperty(this, \"code\", {\n get() {\n logOnce(new Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n },\n });\n this.headers = options.headers || {};\n // redact request credentials without mutating original request options\n const requestCopy = Object.assign({}, options.request);\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\"),\n });\n }\n requestCopy.url = requestCopy.url\n // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\")\n // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy;\n }\n}\n"],"names":["logOnce","once","deprecation","console","warn","RequestError","Error","constructor","message","statusCode","options","captureStackTrace","name","status","Object","defineProperty","get","Deprecation","headers","requestCopy","assign","request","authorization","replace","url"],"mappings":";;;;;;;;;AAEA,MAAMA,OAAO,GAAGC,IAAI,CAAEC,WAAD,IAAiBC,OAAO,CAACC,IAAR,CAAaF,WAAb,CAAlB,CAApB;AACA;;;;AAGO,MAAMG,YAAN,SAA2BC,KAA3B,CAAiC;AACpCC,EAAAA,WAAW,CAACC,OAAD,EAAUC,UAAV,EAAsBC,OAAtB,EAA+B;AACtC,UAAMF,OAAN,EADsC;;AAGtC;;AACA,QAAIF,KAAK,CAACK,iBAAV,EAA6B;AACzBL,MAAAA,KAAK,CAACK,iBAAN,CAAwB,IAAxB,EAA8B,KAAKJ,WAAnC;AACH;;AACD,SAAKK,IAAL,GAAY,WAAZ;AACA,SAAKC,MAAL,GAAcJ,UAAd;AACAK,IAAAA,MAAM,CAACC,cAAP,CAAsB,IAAtB,EAA4B,MAA5B,EAAoC;AAChCC,MAAAA,GAAG,GAAG;AACFhB,QAAAA,OAAO,CAAC,IAAIiB,uBAAJ,CAAgB,0EAAhB,CAAD,CAAP;AACA,eAAOR,UAAP;AACH;;AAJ+B,KAApC;AAMA,SAAKS,OAAL,GAAeR,OAAO,CAACQ,OAAR,IAAmB,EAAlC,CAfsC;;AAiBtC,UAAMC,WAAW,GAAGL,MAAM,CAACM,MAAP,CAAc,EAAd,EAAkBV,OAAO,CAACW,OAA1B,CAApB;;AACA,QAAIX,OAAO,CAACW,OAAR,CAAgBH,OAAhB,CAAwBI,aAA5B,EAA2C;AACvCH,MAAAA,WAAW,CAACD,OAAZ,GAAsBJ,MAAM,CAACM,MAAP,CAAc,EAAd,EAAkBV,OAAO,CAACW,OAAR,CAAgBH,OAAlC,EAA2C;AAC7DI,QAAAA,aAAa,EAAEZ,OAAO,CAACW,OAAR,CAAgBH,OAAhB,CAAwBI,aAAxB,CAAsCC,OAAtC,CAA8C,MAA9C,EAAsD,aAAtD;AAD8C,OAA3C,CAAtB;AAGH;;AACDJ,IAAAA,WAAW,CAACK,GAAZ,GAAkBL,WAAW,CAACK,GAAZ;AAEd;AAFc,KAGbD,OAHa,CAGL,sBAHK,EAGmB,0BAHnB;AAKd;AALc,KAMbA,OANa,CAML,qBANK,EAMkB,yBANlB,CAAlB;AAOA,SAAKF,OAAL,GAAeF,WAAf;AACH;;AAhCmC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/request-error/dist-src/index.js b/node_modules/@octokit/request-error/dist-src/index.js deleted file mode 100644 index c880b450f7..0000000000 --- a/node_modules/@octokit/request-error/dist-src/index.js +++ /dev/null @@ -1,40 +0,0 @@ -import { Deprecation } from "deprecation"; -import once from "once"; -const logOnce = once((deprecation) => console.warn(deprecation)); -/** - * Error with extra properties to help with debugging - */ -export class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - this.name = "HttpError"; - this.status = statusCode; - Object.defineProperty(this, "code", { - get() { - logOnce(new Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); - return statusCode; - }, - }); - this.headers = options.headers || {}; - // redact request credentials without mutating original request options - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]"), - }); - } - requestCopy.url = requestCopy.url - // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") - // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -} diff --git a/node_modules/@octokit/request-error/dist-src/types.js b/node_modules/@octokit/request-error/dist-src/types.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/request-error/dist-types/index.d.ts b/node_modules/@octokit/request-error/dist-types/index.d.ts deleted file mode 100644 index baa8a0eb7a..0000000000 --- a/node_modules/@octokit/request-error/dist-types/index.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { RequestOptions, ResponseHeaders } from "@octokit/types"; -import { RequestErrorOptions } from "./types"; -/** - * Error with extra properties to help with debugging - */ -export declare class RequestError extends Error { - name: "HttpError"; - /** - * http status code - */ - status: number; - /** - * http status code - * - * @deprecated `error.code` is deprecated in favor of `error.status` - */ - code: number; - /** - * error response headers - */ - headers: ResponseHeaders; - /** - * Request options that lead to the error. - */ - request: RequestOptions; - constructor(message: string, statusCode: number, options: RequestErrorOptions); -} diff --git a/node_modules/@octokit/request-error/dist-types/types.d.ts b/node_modules/@octokit/request-error/dist-types/types.d.ts deleted file mode 100644 index 865d2139fb..0000000000 --- a/node_modules/@octokit/request-error/dist-types/types.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { RequestOptions, ResponseHeaders } from "@octokit/types"; -export declare type RequestErrorOptions = { - headers?: ResponseHeaders; - request: RequestOptions; -}; diff --git a/node_modules/@octokit/request-error/dist-web/index.js b/node_modules/@octokit/request-error/dist-web/index.js deleted file mode 100644 index feec58ef62..0000000000 --- a/node_modules/@octokit/request-error/dist-web/index.js +++ /dev/null @@ -1,44 +0,0 @@ -import { Deprecation } from 'deprecation'; -import once from 'once'; - -const logOnce = once((deprecation) => console.warn(deprecation)); -/** - * Error with extra properties to help with debugging - */ -class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - this.name = "HttpError"; - this.status = statusCode; - Object.defineProperty(this, "code", { - get() { - logOnce(new Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); - return statusCode; - }, - }); - this.headers = options.headers || {}; - // redact request credentials without mutating original request options - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]"), - }); - } - requestCopy.url = requestCopy.url - // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") - // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -} - -export { RequestError }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/request-error/dist-web/index.js.map b/node_modules/@octokit/request-error/dist-web/index.js.map deleted file mode 100644 index 130740d7f8..0000000000 --- a/node_modules/@octokit/request-error/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["import { Deprecation } from \"deprecation\";\nimport once from \"once\";\nconst logOnce = once((deprecation) => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\nexport class RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message);\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n this.name = \"HttpError\";\n this.status = statusCode;\n Object.defineProperty(this, \"code\", {\n get() {\n logOnce(new Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n },\n });\n this.headers = options.headers || {};\n // redact request credentials without mutating original request options\n const requestCopy = Object.assign({}, options.request);\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\"),\n });\n }\n requestCopy.url = requestCopy.url\n // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\")\n // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy;\n }\n}\n"],"names":[],"mappings":";;;AAEA,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;AACjE;AACA;AACA;AACO,MAAM,YAAY,SAAS,KAAK,CAAC;AACxC,IAAI,WAAW,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE;AAC9C,QAAQ,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB;AACA;AACA,QAAQ,IAAI,KAAK,CAAC,iBAAiB,EAAE;AACrC,YAAY,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;AAC5D,SAAS;AACT,QAAQ,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;AAChC,QAAQ,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;AACjC,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE;AAC5C,YAAY,GAAG,GAAG;AAClB,gBAAgB,OAAO,CAAC,IAAI,WAAW,CAAC,0EAA0E,CAAC,CAAC,CAAC;AACrH,gBAAgB,OAAO,UAAU,CAAC;AAClC,aAAa;AACb,SAAS,CAAC,CAAC;AACX,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;AAC7C;AACA,QAAQ,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AAC/D,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,EAAE;AACnD,YAAY,WAAW,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE;AAC7E,gBAAgB,aAAa,EAAE,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC;AACnG,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG;AACzC;AACA;AACA,aAAa,OAAO,CAAC,sBAAsB,EAAE,0BAA0B,CAAC;AACxE;AACA;AACA,aAAa,OAAO,CAAC,qBAAqB,EAAE,yBAAyB,CAAC,CAAC;AACvE,QAAQ,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC;AACnC,KAAK;AACL;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/request-error/package.json b/node_modules/@octokit/request-error/package.json deleted file mode 100644 index ec1374418a..0000000000 --- a/node_modules/@octokit/request-error/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@octokit/request-error", - "description": "Error class for Octokit request errors", - "version": "2.0.2", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "error" - ], - "homepage": "https://github.com/octokit/request-error.js#readme", - "bugs": { - "url": "https://github.com/octokit/request-error.js/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/octokit/request-error.js.git" - }, - "dependencies": { - "@octokit/types": "^5.0.1", - "deprecation": "^2.0.0", - "once": "^1.4.0" - }, - "devDependencies": { - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-bundle-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.4", - "@types/once": "^1.4.0", - "jest": "^25.1.0", - "pika-plugin-unpkg-field": "^1.1.0", - "prettier": "^2.0.1", - "semantic-release": "^17.0.0", - "ts-jest": "^25.1.0", - "typescript": "^3.4.5" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.2.tgz" -,"_integrity": "sha512-2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw==" -,"_from": "@octokit/request-error@2.0.2" -} \ No newline at end of file diff --git a/node_modules/@octokit/request/LICENSE b/node_modules/@octokit/request/LICENSE deleted file mode 100644 index af5366d0d0..0000000000 --- a/node_modules/@octokit/request/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2018 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/@octokit/request/README.md b/node_modules/@octokit/request/README.md deleted file mode 100644 index ef04ae892f..0000000000 --- a/node_modules/@octokit/request/README.md +++ /dev/null @@ -1,538 +0,0 @@ -# request.js - -> Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node - -[![@latest](https://img.shields.io/npm/v/@octokit/request.svg)](https://www.npmjs.com/package/@octokit/request) -[![Build Status](https://github.com/octokit/request.js/workflows/Test/badge.svg)](https://github.com/octokit/request.js/actions?query=workflow%3ATest+branch%3Amaster) - -`@octokit/request` is a request library for browsers & node that makes it easier -to interact with [GitHub’s REST API](https://developer.github.com/v3/) and -[GitHub’s GraphQL API](https://developer.github.com/v4/guides/forming-calls/#the-graphql-endpoint). - -It uses [`@octokit/endpoint`](https://github.com/octokit/endpoint.js) to parse -the passed options and sends the request using [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) -([node-fetch](https://github.com/bitinn/node-fetch) in Node). - - - - - -- [Features](#features) -- [Usage](#usage) - - [REST API example](#rest-api-example) - - [GraphQL example](#graphql-example) - - [Alternative: pass `method` & `url` as part of options](#alternative-pass-method--url-as-part-of-options) -- [Authentication](#authentication) -- [request()](#request) -- [`request.defaults()`](#requestdefaults) -- [`request.endpoint`](#requestendpoint) -- [Special cases](#special-cases) - - [The `data` parameter – set request body directly](#the-data-parameter-%E2%80%93-set-request-body-directly) - - [Set parameters for both the URL/query and the request body](#set-parameters-for-both-the-urlquery-and-the-request-body) -- [LICENSE](#license) - - - -## Features - -🤩 1:1 mapping of REST API endpoint documentation, e.g. [Add labels to an issue](https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue) becomes - -```js -request("POST /repos/:owner/:repo/issues/:number/labels", { - mediaType: { - previews: ["symmetra"], - }, - owner: "octokit", - repo: "request.js", - number: 1, - labels: ["🐛 bug"], -}); -``` - -👶 [Small bundle size](https://bundlephobia.com/result?p=@octokit/request@5.0.3) (\<4kb minified + gzipped) - -😎 [Authenticate](#authentication) with any of [GitHubs Authentication Strategies](https://github.com/octokit/auth.js). - -👍 Sensible defaults - -- `baseUrl`: `https://api.github.com` -- `headers.accept`: `application/vnd.github.v3+json` -- `headers.agent`: `octokit-request.js/ `, e.g. `octokit-request.js/1.2.3 Node.js/10.15.0 (macOS Mojave; x64)` - -👌 Simple to test: mock requests by passing a custom fetch method. - -🧐 Simple to debug: Sets `error.request` to request options causing the error (with redacted credentials). - -## Usage - - - - - - -
-Browsers - -Load @octokit/request directly from cdn.pika.dev - -```html - -``` - -
-Node - - -Install with npm install @octokit/request - -```js -const { request } = require("@octokit/request"); -// or: import { request } from "@octokit/request"; -``` - -
- -### REST API example - -```js -// Following GitHub docs formatting: -// https://developer.github.com/v3/repos/#list-organization-repositories -const result = await request("GET /orgs/:org/repos", { - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, - org: "octokit", - type: "private", -}); - -console.log(`${result.data.length} repos found.`); -``` - -### GraphQL example - -For GraphQL request we recommend using [`@octokit/graphql`](https://github.com/octokit/graphql.js#readme) - -```js -const result = await request("POST /graphql", { - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, - query: `query ($login: String!) { - organization(login: $login) { - repositories(privacy: PRIVATE) { - totalCount - } - } - }`, - variables: { - login: "octokit", - }, -}); -``` - -### Alternative: pass `method` & `url` as part of options - -Alternatively, pass in a method and a url - -```js -const result = await request({ - method: "GET", - url: "/orgs/:org/repos", - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, - org: "octokit", - type: "private", -}); -``` - -## Authentication - -The simplest way to authenticate a request is to set the `Authorization` header directly, e.g. to a [personal access token](https://github.com/settings/tokens/). - -```js -const requestWithAuth = request.defaults({ - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, -}); -const result = await requestWithAuth("GET /user"); -``` - -For more complex authentication strategies such as GitHub Apps or Basic, we recommend the according authentication library exported by [`@octokit/auth`](https://github.com/octokit/auth.js). - -```js -const { createAppAuth } = require("@octokit/auth-app"); -const auth = createAppAuth({ - id: process.env.APP_ID, - privateKey: process.env.PRIVATE_KEY, - installationId: 123, -}); -const requestWithAuth = request.defaults({ - request: { - hook: auth.hook, - }, - mediaType: { - previews: ["machine-man"], - }, -}); - -const { data: app } = await requestWithAuth("GET /app"); -const { data: app } = await requestWithAuth("POST /repos/:owner/:repo/issues", { - owner: "octocat", - repo: "hello-world", - title: "Hello from the engine room", -}); -``` - -## request() - -`request(route, options)` or `request(options)`. - -**Options** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name - - type - - description -
- route - - String - - If route is set it has to be a string consisting of the request method and URL, e.g. GET /orgs/:org -
- options.baseUrl - - String - - Required. Any supported http verb, case insensitive. Defaults to https://api.github.com. -
- options.headers - - Object - - Custom headers. Passed headers are merged with defaults:
- headers['user-agent'] defaults to octokit-rest.js/1.2.3 (where 1.2.3 is the released version).
- headers['accept'] defaults to application/vnd.github.v3+json.
Use options.mediaType.{format,previews} to request API previews and custom media types. -
- options.mediaType.format - - String - - Media type param, such as `raw`, `html`, or `full`. See Media Types. -
- options.mediaType.previews - - Array of strings - - Name of previews, such as `mercy`, `symmetra`, or `scarlet-witch`. See API Previews. -
- options.method - - String - - Required. Any supported http verb, case insensitive. Defaults to Get. -
- options.url - - String - - Required. A path or full URL which may contain :variable or {variable} placeholders, - e.g. /orgs/:org/repos. The url is parsed using url-template. -
- options.data - - Any - - Set request body directly instead of setting it to JSON based on additional parameters. See "The `data` parameter" below. -
- options.request.agent - - http(s).Agent instance - - Node only. Useful for custom proxy, certificate, or dns lookup. -
- options.request.fetch - - Function - - Custom replacement for built-in fetch method. Useful for testing or request hooks. -
- options.request.hook - - Function - - Function with the signature hook(request, endpointOptions), where endpointOptions are the parsed options as returned by endpoint.merge(), and request is request(). This option works great in conjuction with before-after-hook. -
- options.request.signal - - new AbortController().signal - - Use an AbortController instance to cancel a request. In node you can only cancel streamed requests. -
- options.request.timeout - - Number - - Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). options.request.signal is recommended instead. -
- -All other options except `options.request.*` will be passed depending on the `method` and `url` options. - -1. If the option key is a placeholder in the `url`, it will be used as replacement. For example, if the passed options are `{url: '/orgs/:org/repos', org: 'foo'}` the returned `options.url` is `https://api.github.com/orgs/foo/repos` -2. If the `method` is `GET` or `HEAD`, the option is passed as query parameter -3. Otherwise the parameter is passed in the request body as JSON key. - -**Result** - -`request` returns a promise and resolves with 4 keys - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- key - - type - - description -
statusIntegerResponse status status
urlStringURL of response. If a request results in redirects, this is the final URL. You can send a HEAD request to retrieve it without loading the full response body.
headersObjectAll response headers
dataAnyThe response body as returned from server. If the response is JSON then it will be parsed into an object
- -If an error occurs, the `error` instance has additional properties to help with debugging - -- `error.status` The http response status code -- `error.headers` The http response headers as an object -- `error.request` The request options such as `method`, `url` and `data` - -## `request.defaults()` - -Override or set default options. Example: - -```js -const myrequest = require("@octokit/request").defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - authorization: `token 0000000000000000000000000000000000000001`, - }, - org: "my-project", - per_page: 100, -}); - -myrequest(`GET /orgs/:org/repos`); -``` - -You can call `.defaults()` again on the returned method, the defaults will cascade. - -```js -const myProjectRequest = request.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - }, - org: "my-project", -}); -const myProjectRequestWithAuth = myProjectRequest.defaults({ - headers: { - authorization: `token 0000000000000000000000000000000000000001`, - }, -}); -``` - -`myProjectRequest` now defaults the `baseUrl`, `headers['user-agent']`, -`org` and `headers['authorization']` on top of `headers['accept']` that is set -by the global default. - -## `request.endpoint` - -See https://github.com/octokit/endpoint.js. Example - -```js -const options = request.endpoint("GET /orgs/:org/repos", { - org: "my-project", - type: "private", -}); - -// { -// method: 'GET', -// url: 'https://api.github.com/orgs/my-project/repos?type=private', -// headers: { -// accept: 'application/vnd.github.v3+json', -// authorization: 'token 0000000000000000000000000000000000000001', -// 'user-agent': 'octokit/endpoint.js v1.2.3' -// } -// } -``` - -All of the [`@octokit/endpoint`](https://github.com/octokit/endpoint.js) API can be used: - -- [`octokitRequest.endpoint()`](#endpoint) -- [`octokitRequest.endpoint.defaults()`](#endpointdefaults) -- [`octokitRequest.endpoint.merge()`](#endpointdefaults) -- [`octokitRequest.endpoint.parse()`](#endpointmerge) - -## Special cases - - - -### The `data` parameter – set request body directly - -Some endpoints such as [Render a Markdown document in raw mode](https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode) don’t have parameters that are sent as request body keys, instead the request body needs to be set directly. In these cases, set the `data` parameter. - -```js -const response = await request("POST /markdown/raw", { - data: "Hello world github/linguist#1 **cool**, and #1!", - headers: { - accept: "text/html;charset=utf-8", - "content-type": "text/plain", - }, -}); - -// Request is sent as -// -// { -// method: 'post', -// url: 'https://api.github.com/markdown/raw', -// headers: { -// accept: 'text/html;charset=utf-8', -// 'content-type': 'text/plain', -// 'user-agent': userAgent -// }, -// body: 'Hello world github/linguist#1 **cool**, and #1!' -// } -// -// not as -// -// { -// ... -// body: '{"data": "Hello world github/linguist#1 **cool**, and #1!"}' -// } -``` - -### Set parameters for both the URL/query and the request body - -There are API endpoints that accept both query parameters as well as a body. In that case you need to add the query parameters as templates to `options.url`, as defined in the [RFC 6570 URI Template specification](https://tools.ietf.org/html/rfc6570). - -Example - -```js -request( - "POST https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}", - { - name: "example.zip", - label: "short description", - headers: { - "content-type": "text/plain", - "content-length": 14, - authorization: `token 0000000000000000000000000000000000000001`, - }, - data: "Hello, world!", - } -); -``` - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/request/dist-node/index.js b/node_modules/@octokit/request/dist-node/index.js deleted file mode 100644 index ba75ba6f91..0000000000 --- a/node_modules/@octokit/request/dist-node/index.js +++ /dev/null @@ -1,148 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var endpoint = require('@octokit/endpoint'); -var universalUserAgent = require('universal-user-agent'); -var isPlainObject = _interopDefault(require('is-plain-object')); -var nodeFetch = _interopDefault(require('node-fetch')); -var requestError = require('@octokit/request-error'); - -const VERSION = "5.4.5"; - -function getBufferResponse(response) { - return response.arrayBuffer(); -} - -function fetchWrapper(requestOptions) { - if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - - let headers = {}; - let status; - let url; - const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch; - return fetch(requestOptions.url, Object.assign({ - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect - }, requestOptions.request)).then(response => { - url = response.url; - status = response.status; - - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - - if (status === 204 || status === 205) { - return; - } // GitHub API returns 200 for HEAD requests - - - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - - throw new requestError.RequestError(response.statusText, status, { - headers, - request: requestOptions - }); - } - - if (status === 304) { - throw new requestError.RequestError("Not modified", status, { - headers, - request: requestOptions - }); - } - - if (status >= 400) { - return response.text().then(message => { - const error = new requestError.RequestError(message, status, { - headers, - request: requestOptions - }); - - try { - let responseBody = JSON.parse(error.message); - Object.assign(error, responseBody); - let errors = responseBody.errors; // Assumption `errors` would always be in Array format - - error.message = error.message + ": " + errors.map(JSON.stringify).join(", "); - } catch (e) {// ignore, see octokit/rest.js#684 - } - - throw error; - }); - } - - const contentType = response.headers.get("content-type"); - - if (/application\/json/.test(contentType)) { - return response.json(); - } - - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - - return getBufferResponse(response); - }).then(data => { - return { - status, - url, - headers, - data - }; - }).catch(error => { - if (error instanceof requestError.RequestError) { - throw error; - } - - throw new requestError.RequestError(error.message, 500, { - headers, - request: requestOptions - }); - }); -} - -function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); - - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); - - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); - } - - const request = (route, parameters) => { - return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); - }; - - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint) - }); - return endpointOptions.request.hook(request, endpointOptions); - }; - - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint) - }); -} - -const request = withDefaults(endpoint.endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}` - } -}); - -exports.request = request; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/request/dist-node/index.js.map b/node_modules/@octokit/request/dist-node/index.js.map deleted file mode 100644 index 6948502f23..0000000000 --- a/node_modules/@octokit/request/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/get-buffer-response.js","../dist-src/fetch-wrapper.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"5.4.5\";\n","export default function getBufferResponse(response) {\n return response.arrayBuffer();\n}\n","import isPlainObject from \"is-plain-object\";\nimport nodeFetch from \"node-fetch\";\nimport { RequestError } from \"@octokit/request-error\";\nimport getBuffer from \"./get-buffer-response\";\nexport default function fetchWrapper(requestOptions) {\n if (isPlainObject(requestOptions.body) ||\n Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n let headers = {};\n let status;\n let url;\n const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect,\n }, requestOptions.request))\n .then((response) => {\n url = response.url;\n status = response.status;\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n if (status === 204 || status === 205) {\n return;\n }\n // GitHub API returns 200 for HEAD requests\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n throw new RequestError(response.statusText, status, {\n headers,\n request: requestOptions,\n });\n }\n if (status === 304) {\n throw new RequestError(\"Not modified\", status, {\n headers,\n request: requestOptions,\n });\n }\n if (status >= 400) {\n return response\n .text()\n .then((message) => {\n const error = new RequestError(message, status, {\n headers,\n request: requestOptions,\n });\n try {\n let responseBody = JSON.parse(error.message);\n Object.assign(error, responseBody);\n let errors = responseBody.errors;\n // Assumption `errors` would always be in Array format\n error.message =\n error.message + \": \" + errors.map(JSON.stringify).join(\", \");\n }\n catch (e) {\n // ignore, see octokit/rest.js#684\n }\n throw error;\n });\n }\n const contentType = response.headers.get(\"content-type\");\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n return getBuffer(response);\n })\n .then((data) => {\n return {\n status,\n url,\n headers,\n data,\n };\n })\n .catch((error) => {\n if (error instanceof RequestError) {\n throw error;\n }\n throw new RequestError(error.message, 500, {\n headers,\n request: requestOptions,\n });\n });\n}\n","import fetchWrapper from \"./fetch-wrapper\";\nexport default function withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint),\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint),\n });\n}\n","import { endpoint } from \"@octokit/endpoint\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport withDefaults from \"./with-defaults\";\nexport const request = withDefaults(endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${getUserAgent()}`,\n },\n});\n"],"names":["VERSION","getBufferResponse","response","arrayBuffer","fetchWrapper","requestOptions","isPlainObject","body","Array","isArray","JSON","stringify","headers","status","url","fetch","request","nodeFetch","Object","assign","method","redirect","then","keyAndValue","RequestError","statusText","text","message","error","responseBody","parse","errors","map","join","e","contentType","get","test","json","getBuffer","data","catch","withDefaults","oldEndpoint","newDefaults","endpoint","defaults","newApi","route","parameters","endpointOptions","merge","hook","bind","getUserAgent"],"mappings":";;;;;;;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACAQ,SAASC,iBAAT,CAA2BC,QAA3B,EAAqC;AAChD,SAAOA,QAAQ,CAACC,WAAT,EAAP;AACH;;ACEc,SAASC,YAAT,CAAsBC,cAAtB,EAAsC;AACjD,MAAIC,aAAa,CAACD,cAAc,CAACE,IAAhB,CAAb,IACAC,KAAK,CAACC,OAAN,CAAcJ,cAAc,CAACE,IAA7B,CADJ,EACwC;AACpCF,IAAAA,cAAc,CAACE,IAAf,GAAsBG,IAAI,CAACC,SAAL,CAAeN,cAAc,CAACE,IAA9B,CAAtB;AACH;;AACD,MAAIK,OAAO,GAAG,EAAd;AACA,MAAIC,MAAJ;AACA,MAAIC,GAAJ;AACA,QAAMC,KAAK,GAAIV,cAAc,CAACW,OAAf,IAA0BX,cAAc,CAACW,OAAf,CAAuBD,KAAlD,IAA4DE,SAA1E;AACA,SAAOF,KAAK,CAACV,cAAc,CAACS,GAAhB,EAAqBI,MAAM,CAACC,MAAP,CAAc;AAC3CC,IAAAA,MAAM,EAAEf,cAAc,CAACe,MADoB;AAE3Cb,IAAAA,IAAI,EAAEF,cAAc,CAACE,IAFsB;AAG3CK,IAAAA,OAAO,EAAEP,cAAc,CAACO,OAHmB;AAI3CS,IAAAA,QAAQ,EAAEhB,cAAc,CAACgB;AAJkB,GAAd,EAK9BhB,cAAc,CAACW,OALe,CAArB,CAAL,CAMFM,IANE,CAMIpB,QAAD,IAAc;AACpBY,IAAAA,GAAG,GAAGZ,QAAQ,CAACY,GAAf;AACAD,IAAAA,MAAM,GAAGX,QAAQ,CAACW,MAAlB;;AACA,SAAK,MAAMU,WAAX,IAA0BrB,QAAQ,CAACU,OAAnC,EAA4C;AACxCA,MAAAA,OAAO,CAACW,WAAW,CAAC,CAAD,CAAZ,CAAP,GAA0BA,WAAW,CAAC,CAAD,CAArC;AACH;;AACD,QAAIV,MAAM,KAAK,GAAX,IAAkBA,MAAM,KAAK,GAAjC,EAAsC;AAClC;AACH,KARmB;;;AAUpB,QAAIR,cAAc,CAACe,MAAf,KAA0B,MAA9B,EAAsC;AAClC,UAAIP,MAAM,GAAG,GAAb,EAAkB;AACd;AACH;;AACD,YAAM,IAAIW,yBAAJ,CAAiBtB,QAAQ,CAACuB,UAA1B,EAAsCZ,MAAtC,EAA8C;AAChDD,QAAAA,OADgD;AAEhDI,QAAAA,OAAO,EAAEX;AAFuC,OAA9C,CAAN;AAIH;;AACD,QAAIQ,MAAM,KAAK,GAAf,EAAoB;AAChB,YAAM,IAAIW,yBAAJ,CAAiB,cAAjB,EAAiCX,MAAjC,EAAyC;AAC3CD,QAAAA,OAD2C;AAE3CI,QAAAA,OAAO,EAAEX;AAFkC,OAAzC,CAAN;AAIH;;AACD,QAAIQ,MAAM,IAAI,GAAd,EAAmB;AACf,aAAOX,QAAQ,CACVwB,IADE,GAEFJ,IAFE,CAEIK,OAAD,IAAa;AACnB,cAAMC,KAAK,GAAG,IAAIJ,yBAAJ,CAAiBG,OAAjB,EAA0Bd,MAA1B,EAAkC;AAC5CD,UAAAA,OAD4C;AAE5CI,UAAAA,OAAO,EAAEX;AAFmC,SAAlC,CAAd;;AAIA,YAAI;AACA,cAAIwB,YAAY,GAAGnB,IAAI,CAACoB,KAAL,CAAWF,KAAK,CAACD,OAAjB,CAAnB;AACAT,UAAAA,MAAM,CAACC,MAAP,CAAcS,KAAd,EAAqBC,YAArB;AACA,cAAIE,MAAM,GAAGF,YAAY,CAACE,MAA1B,CAHA;;AAKAH,UAAAA,KAAK,CAACD,OAAN,GACIC,KAAK,CAACD,OAAN,GAAgB,IAAhB,GAAuBI,MAAM,CAACC,GAAP,CAAWtB,IAAI,CAACC,SAAhB,EAA2BsB,IAA3B,CAAgC,IAAhC,CAD3B;AAEH,SAPD,CAQA,OAAOC,CAAP,EAAU;AAET;;AACD,cAAMN,KAAN;AACH,OAnBM,CAAP;AAoBH;;AACD,UAAMO,WAAW,GAAGjC,QAAQ,CAACU,OAAT,CAAiBwB,GAAjB,CAAqB,cAArB,CAApB;;AACA,QAAI,oBAAoBC,IAApB,CAAyBF,WAAzB,CAAJ,EAA2C;AACvC,aAAOjC,QAAQ,CAACoC,IAAT,EAAP;AACH;;AACD,QAAI,CAACH,WAAD,IAAgB,yBAAyBE,IAAzB,CAA8BF,WAA9B,CAApB,EAAgE;AAC5D,aAAOjC,QAAQ,CAACwB,IAAT,EAAP;AACH;;AACD,WAAOa,iBAAS,CAACrC,QAAD,CAAhB;AACH,GA7DM,EA8DFoB,IA9DE,CA8DIkB,IAAD,IAAU;AAChB,WAAO;AACH3B,MAAAA,MADG;AAEHC,MAAAA,GAFG;AAGHF,MAAAA,OAHG;AAIH4B,MAAAA;AAJG,KAAP;AAMH,GArEM,EAsEFC,KAtEE,CAsEKb,KAAD,IAAW;AAClB,QAAIA,KAAK,YAAYJ,yBAArB,EAAmC;AAC/B,YAAMI,KAAN;AACH;;AACD,UAAM,IAAIJ,yBAAJ,CAAiBI,KAAK,CAACD,OAAvB,EAAgC,GAAhC,EAAqC;AACvCf,MAAAA,OADuC;AAEvCI,MAAAA,OAAO,EAAEX;AAF8B,KAArC,CAAN;AAIH,GA9EM,CAAP;AA+EH;;AC3Fc,SAASqC,YAAT,CAAsBC,WAAtB,EAAmCC,WAAnC,EAAgD;AAC3D,QAAMC,QAAQ,GAAGF,WAAW,CAACG,QAAZ,CAAqBF,WAArB,CAAjB;;AACA,QAAMG,MAAM,GAAG,UAAUC,KAAV,EAAiBC,UAAjB,EAA6B;AACxC,UAAMC,eAAe,GAAGL,QAAQ,CAACM,KAAT,CAAeH,KAAf,EAAsBC,UAAtB,CAAxB;;AACA,QAAI,CAACC,eAAe,CAAClC,OAAjB,IAA4B,CAACkC,eAAe,CAAClC,OAAhB,CAAwBoC,IAAzD,EAA+D;AAC3D,aAAOhD,YAAY,CAACyC,QAAQ,CAACf,KAAT,CAAeoB,eAAf,CAAD,CAAnB;AACH;;AACD,UAAMlC,OAAO,GAAG,CAACgC,KAAD,EAAQC,UAAR,KAAuB;AACnC,aAAO7C,YAAY,CAACyC,QAAQ,CAACf,KAAT,CAAee,QAAQ,CAACM,KAAT,CAAeH,KAAf,EAAsBC,UAAtB,CAAf,CAAD,CAAnB;AACH,KAFD;;AAGA/B,IAAAA,MAAM,CAACC,MAAP,CAAcH,OAAd,EAAuB;AACnB6B,MAAAA,QADmB;AAEnBC,MAAAA,QAAQ,EAAEJ,YAAY,CAACW,IAAb,CAAkB,IAAlB,EAAwBR,QAAxB;AAFS,KAAvB;AAIA,WAAOK,eAAe,CAAClC,OAAhB,CAAwBoC,IAAxB,CAA6BpC,OAA7B,EAAsCkC,eAAtC,CAAP;AACH,GAbD;;AAcA,SAAOhC,MAAM,CAACC,MAAP,CAAc4B,MAAd,EAAsB;AACzBF,IAAAA,QADyB;AAEzBC,IAAAA,QAAQ,EAAEJ,YAAY,CAACW,IAAb,CAAkB,IAAlB,EAAwBR,QAAxB;AAFe,GAAtB,CAAP;AAIH;;MCjBY7B,OAAO,GAAG0B,YAAY,CAACG,iBAAD,EAAW;AAC1CjC,EAAAA,OAAO,EAAE;AACL,kBAAe,sBAAqBZ,OAAQ,IAAGsD,+BAAY,EAAG;AADzD;AADiC,CAAX,CAA5B;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/request/dist-src/fetch-wrapper.js b/node_modules/@octokit/request/dist-src/fetch-wrapper.js deleted file mode 100644 index 5fef6e5fcd..0000000000 --- a/node_modules/@octokit/request/dist-src/fetch-wrapper.js +++ /dev/null @@ -1,93 +0,0 @@ -import isPlainObject from "is-plain-object"; -import nodeFetch from "node-fetch"; -import { RequestError } from "@octokit/request-error"; -import getBuffer from "./get-buffer-response"; -export default function fetchWrapper(requestOptions) { - if (isPlainObject(requestOptions.body) || - Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - let headers = {}; - let status; - let url; - const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch; - return fetch(requestOptions.url, Object.assign({ - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect, - }, requestOptions.request)) - .then((response) => { - url = response.url; - status = response.status; - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - if (status === 204 || status === 205) { - return; - } - // GitHub API returns 200 for HEAD requests - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - throw new RequestError(response.statusText, status, { - headers, - request: requestOptions, - }); - } - if (status === 304) { - throw new RequestError("Not modified", status, { - headers, - request: requestOptions, - }); - } - if (status >= 400) { - return response - .text() - .then((message) => { - const error = new RequestError(message, status, { - headers, - request: requestOptions, - }); - try { - let responseBody = JSON.parse(error.message); - Object.assign(error, responseBody); - let errors = responseBody.errors; - // Assumption `errors` would always be in Array format - error.message = - error.message + ": " + errors.map(JSON.stringify).join(", "); - } - catch (e) { - // ignore, see octokit/rest.js#684 - } - throw error; - }); - } - const contentType = response.headers.get("content-type"); - if (/application\/json/.test(contentType)) { - return response.json(); - } - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - return getBuffer(response); - }) - .then((data) => { - return { - status, - url, - headers, - data, - }; - }) - .catch((error) => { - if (error instanceof RequestError) { - throw error; - } - throw new RequestError(error.message, 500, { - headers, - request: requestOptions, - }); - }); -} diff --git a/node_modules/@octokit/request/dist-src/get-buffer-response.js b/node_modules/@octokit/request/dist-src/get-buffer-response.js deleted file mode 100644 index 845a3947b5..0000000000 --- a/node_modules/@octokit/request/dist-src/get-buffer-response.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function getBufferResponse(response) { - return response.arrayBuffer(); -} diff --git a/node_modules/@octokit/request/dist-src/index.js b/node_modules/@octokit/request/dist-src/index.js deleted file mode 100644 index 2460e992c7..0000000000 --- a/node_modules/@octokit/request/dist-src/index.js +++ /dev/null @@ -1,9 +0,0 @@ -import { endpoint } from "@octokit/endpoint"; -import { getUserAgent } from "universal-user-agent"; -import { VERSION } from "./version"; -import withDefaults from "./with-defaults"; -export const request = withDefaults(endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`, - }, -}); diff --git a/node_modules/@octokit/request/dist-src/version.js b/node_modules/@octokit/request/dist-src/version.js deleted file mode 100644 index 5309d31279..0000000000 --- a/node_modules/@octokit/request/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "5.4.5"; diff --git a/node_modules/@octokit/request/dist-src/with-defaults.js b/node_modules/@octokit/request/dist-src/with-defaults.js deleted file mode 100644 index e206429457..0000000000 --- a/node_modules/@octokit/request/dist-src/with-defaults.js +++ /dev/null @@ -1,22 +0,0 @@ -import fetchWrapper from "./fetch-wrapper"; -export default function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); - } - const request = (route, parameters) => { - return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); - }; - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); - return endpointOptions.request.hook(request, endpointOptions); - }; - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); -} diff --git a/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts b/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts deleted file mode 100644 index 594bce6127..0000000000 --- a/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { EndpointInterface } from "@octokit/types"; -export default function fetchWrapper(requestOptions: ReturnType & { - redirect?: string; -}): Promise<{ - status: number; - url: string; - headers: { - [header: string]: string; - }; - data: any; -}>; diff --git a/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts b/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts deleted file mode 100644 index 915b70577a..0000000000 --- a/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { Response } from "node-fetch"; -export default function getBufferResponse(response: Response): Promise; diff --git a/node_modules/@octokit/request/dist-types/index.d.ts b/node_modules/@octokit/request/dist-types/index.d.ts deleted file mode 100644 index 1030809f9e..0000000000 --- a/node_modules/@octokit/request/dist-types/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const request: import("@octokit/types").RequestInterface; diff --git a/node_modules/@octokit/request/dist-types/version.d.ts b/node_modules/@octokit/request/dist-types/version.d.ts deleted file mode 100644 index 20159a2577..0000000000 --- a/node_modules/@octokit/request/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "5.4.5"; diff --git a/node_modules/@octokit/request/dist-types/with-defaults.d.ts b/node_modules/@octokit/request/dist-types/with-defaults.d.ts deleted file mode 100644 index 00804693a6..0000000000 --- a/node_modules/@octokit/request/dist-types/with-defaults.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointInterface, RequestInterface, RequestParameters } from "@octokit/types"; -export default function withDefaults(oldEndpoint: EndpointInterface, newDefaults: RequestParameters): RequestInterface; diff --git a/node_modules/@octokit/request/dist-web/index.js b/node_modules/@octokit/request/dist-web/index.js deleted file mode 100644 index bfda27f5d1..0000000000 --- a/node_modules/@octokit/request/dist-web/index.js +++ /dev/null @@ -1,132 +0,0 @@ -import { endpoint } from '@octokit/endpoint'; -import { getUserAgent } from 'universal-user-agent'; -import isPlainObject from 'is-plain-object'; -import nodeFetch from 'node-fetch'; -import { RequestError } from '@octokit/request-error'; - -const VERSION = "5.4.5"; - -function getBufferResponse(response) { - return response.arrayBuffer(); -} - -function fetchWrapper(requestOptions) { - if (isPlainObject(requestOptions.body) || - Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - let headers = {}; - let status; - let url; - const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch; - return fetch(requestOptions.url, Object.assign({ - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect, - }, requestOptions.request)) - .then((response) => { - url = response.url; - status = response.status; - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - if (status === 204 || status === 205) { - return; - } - // GitHub API returns 200 for HEAD requests - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - throw new RequestError(response.statusText, status, { - headers, - request: requestOptions, - }); - } - if (status === 304) { - throw new RequestError("Not modified", status, { - headers, - request: requestOptions, - }); - } - if (status >= 400) { - return response - .text() - .then((message) => { - const error = new RequestError(message, status, { - headers, - request: requestOptions, - }); - try { - let responseBody = JSON.parse(error.message); - Object.assign(error, responseBody); - let errors = responseBody.errors; - // Assumption `errors` would always be in Array format - error.message = - error.message + ": " + errors.map(JSON.stringify).join(", "); - } - catch (e) { - // ignore, see octokit/rest.js#684 - } - throw error; - }); - } - const contentType = response.headers.get("content-type"); - if (/application\/json/.test(contentType)) { - return response.json(); - } - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - return getBufferResponse(response); - }) - .then((data) => { - return { - status, - url, - headers, - data, - }; - }) - .catch((error) => { - if (error instanceof RequestError) { - throw error; - } - throw new RequestError(error.message, 500, { - headers, - request: requestOptions, - }); - }); -} - -function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); - } - const request = (route, parameters) => { - return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); - }; - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); - return endpointOptions.request.hook(request, endpointOptions); - }; - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); -} - -const request = withDefaults(endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`, - }, -}); - -export { request }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/request/dist-web/index.js.map b/node_modules/@octokit/request/dist-web/index.js.map deleted file mode 100644 index 03212029fb..0000000000 --- a/node_modules/@octokit/request/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/get-buffer-response.js","../dist-src/fetch-wrapper.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"5.4.5\";\n","export default function getBufferResponse(response) {\n return response.arrayBuffer();\n}\n","import isPlainObject from \"is-plain-object\";\nimport nodeFetch from \"node-fetch\";\nimport { RequestError } from \"@octokit/request-error\";\nimport getBuffer from \"./get-buffer-response\";\nexport default function fetchWrapper(requestOptions) {\n if (isPlainObject(requestOptions.body) ||\n Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n let headers = {};\n let status;\n let url;\n const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect,\n }, requestOptions.request))\n .then((response) => {\n url = response.url;\n status = response.status;\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n if (status === 204 || status === 205) {\n return;\n }\n // GitHub API returns 200 for HEAD requests\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n throw new RequestError(response.statusText, status, {\n headers,\n request: requestOptions,\n });\n }\n if (status === 304) {\n throw new RequestError(\"Not modified\", status, {\n headers,\n request: requestOptions,\n });\n }\n if (status >= 400) {\n return response\n .text()\n .then((message) => {\n const error = new RequestError(message, status, {\n headers,\n request: requestOptions,\n });\n try {\n let responseBody = JSON.parse(error.message);\n Object.assign(error, responseBody);\n let errors = responseBody.errors;\n // Assumption `errors` would always be in Array format\n error.message =\n error.message + \": \" + errors.map(JSON.stringify).join(\", \");\n }\n catch (e) {\n // ignore, see octokit/rest.js#684\n }\n throw error;\n });\n }\n const contentType = response.headers.get(\"content-type\");\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n return getBuffer(response);\n })\n .then((data) => {\n return {\n status,\n url,\n headers,\n data,\n };\n })\n .catch((error) => {\n if (error instanceof RequestError) {\n throw error;\n }\n throw new RequestError(error.message, 500, {\n headers,\n request: requestOptions,\n });\n });\n}\n","import fetchWrapper from \"./fetch-wrapper\";\nexport default function withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint),\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint),\n });\n}\n","import { endpoint } from \"@octokit/endpoint\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport withDefaults from \"./with-defaults\";\nexport const request = withDefaults(endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${getUserAgent()}`,\n },\n});\n"],"names":["getBuffer"],"mappings":";;;;;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACA3B,SAAS,iBAAiB,CAAC,QAAQ,EAAE;AACpD,IAAI,OAAO,QAAQ,CAAC,WAAW,EAAE,CAAC;AAClC,CAAC;;ACEc,SAAS,YAAY,CAAC,cAAc,EAAE;AACrD,IAAI,IAAI,aAAa,CAAC,cAAc,CAAC,IAAI,CAAC;AAC1C,QAAQ,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;AAC5C,QAAQ,cAAc,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAClE,KAAK;AACL,IAAI,IAAI,OAAO,GAAG,EAAE,CAAC;AACrB,IAAI,IAAI,MAAM,CAAC;AACf,IAAI,IAAI,GAAG,CAAC;AACZ,IAAI,MAAM,KAAK,GAAG,CAAC,cAAc,CAAC,OAAO,IAAI,cAAc,CAAC,OAAO,CAAC,KAAK,KAAK,SAAS,CAAC;AACxF,IAAI,OAAO,KAAK,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC;AACnD,QAAQ,MAAM,EAAE,cAAc,CAAC,MAAM;AACrC,QAAQ,IAAI,EAAE,cAAc,CAAC,IAAI;AACjC,QAAQ,OAAO,EAAE,cAAc,CAAC,OAAO;AACvC,QAAQ,QAAQ,EAAE,cAAc,CAAC,QAAQ;AACzC,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;AAC/B,SAAS,IAAI,CAAC,CAAC,QAAQ,KAAK;AAC5B,QAAQ,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC;AAC3B,QAAQ,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;AACjC,QAAQ,KAAK,MAAM,WAAW,IAAI,QAAQ,CAAC,OAAO,EAAE;AACpD,YAAY,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AACrD,SAAS;AACT,QAAQ,IAAI,MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,GAAG,EAAE;AAC9C,YAAY,OAAO;AACnB,SAAS;AACT;AACA,QAAQ,IAAI,cAAc,CAAC,MAAM,KAAK,MAAM,EAAE;AAC9C,YAAY,IAAI,MAAM,GAAG,GAAG,EAAE;AAC9B,gBAAgB,OAAO;AACvB,aAAa;AACb,YAAY,MAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE;AAChE,gBAAgB,OAAO;AACvB,gBAAgB,OAAO,EAAE,cAAc;AACvC,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,IAAI,MAAM,KAAK,GAAG,EAAE;AAC5B,YAAY,MAAM,IAAI,YAAY,CAAC,cAAc,EAAE,MAAM,EAAE;AAC3D,gBAAgB,OAAO;AACvB,gBAAgB,OAAO,EAAE,cAAc;AACvC,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,IAAI,MAAM,IAAI,GAAG,EAAE;AAC3B,YAAY,OAAO,QAAQ;AAC3B,iBAAiB,IAAI,EAAE;AACvB,iBAAiB,IAAI,CAAC,CAAC,OAAO,KAAK;AACnC,gBAAgB,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE;AAChE,oBAAoB,OAAO;AAC3B,oBAAoB,OAAO,EAAE,cAAc;AAC3C,iBAAiB,CAAC,CAAC;AACnB,gBAAgB,IAAI;AACpB,oBAAoB,IAAI,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AACjE,oBAAoB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;AACvD,oBAAoB,IAAI,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;AACrD;AACA,oBAAoB,KAAK,CAAC,OAAO;AACjC,wBAAwB,KAAK,CAAC,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACrF,iBAAiB;AACjB,gBAAgB,OAAO,CAAC,EAAE;AAC1B;AACA,iBAAiB;AACjB,gBAAgB,MAAM,KAAK,CAAC;AAC5B,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AACjE,QAAQ,IAAI,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;AACnD,YAAY,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;AACnC,SAAS;AACT,QAAQ,IAAI,CAAC,WAAW,IAAI,wBAAwB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;AACxE,YAAY,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;AACnC,SAAS;AACT,QAAQ,OAAOA,iBAAS,CAAC,QAAQ,CAAC,CAAC;AACnC,KAAK,CAAC;AACN,SAAS,IAAI,CAAC,CAAC,IAAI,KAAK;AACxB,QAAQ,OAAO;AACf,YAAY,MAAM;AAClB,YAAY,GAAG;AACf,YAAY,OAAO;AACnB,YAAY,IAAI;AAChB,SAAS,CAAC;AACV,KAAK,CAAC;AACN,SAAS,KAAK,CAAC,CAAC,KAAK,KAAK;AAC1B,QAAQ,IAAI,KAAK,YAAY,YAAY,EAAE;AAC3C,YAAY,MAAM,KAAK,CAAC;AACxB,SAAS;AACT,QAAQ,MAAM,IAAI,YAAY,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE;AACnD,YAAY,OAAO;AACnB,YAAY,OAAO,EAAE,cAAc;AACnC,SAAS,CAAC,CAAC;AACX,KAAK,CAAC,CAAC;AACP,CAAC;;AC3Fc,SAAS,YAAY,CAAC,WAAW,EAAE,WAAW,EAAE;AAC/D,IAAI,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACvD,IAAI,MAAM,MAAM,GAAG,UAAU,KAAK,EAAE,UAAU,EAAE;AAChD,QAAQ,MAAM,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAClE,QAAQ,IAAI,CAAC,eAAe,CAAC,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,EAAE;AACvE,YAAY,OAAO,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AACjE,SAAS;AACT,QAAQ,MAAM,OAAO,GAAG,CAAC,KAAK,EAAE,UAAU,KAAK;AAC/C,YAAY,OAAO,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;AACnF,SAAS,CAAC;AACV,QAAQ,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE;AAC/B,YAAY,QAAQ;AACpB,YAAY,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACvD,SAAS,CAAC,CAAC;AACX,QAAQ,OAAO,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;AACtE,KAAK,CAAC;AACN,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;AACjC,QAAQ,QAAQ;AAChB,QAAQ,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACnD,KAAK,CAAC,CAAC;AACP,CAAC;;ACjBW,MAAC,OAAO,GAAG,YAAY,CAAC,QAAQ,EAAE;AAC9C,IAAI,OAAO,EAAE;AACb,QAAQ,YAAY,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;AACvE,KAAK;AACL,CAAC,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/request/package.json b/node_modules/@octokit/request/package.json deleted file mode 100644 index 0dc932df2e..0000000000 --- a/node_modules/@octokit/request/package.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "name": "@octokit/request", - "description": "Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node", - "version": "5.4.5", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "request" - ], - "homepage": "https://github.com/octokit/request.js#readme", - "bugs": { - "url": "https://github.com/octokit/request.js/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/octokit/request.js.git" - }, - "dependencies": { - "@octokit/endpoint": "^6.0.1", - "@octokit/request-error": "^2.0.0", - "@octokit/types": "^5.0.0", - "deprecation": "^2.0.0", - "is-plain-object": "^3.0.0", - "node-fetch": "^2.3.0", - "once": "^1.4.0", - "universal-user-agent": "^5.0.0" - }, - "devDependencies": { - "@octokit/auth-app": "^2.1.2", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.2.4", - "@types/jest": "^25.1.0", - "@types/lolex": "^5.1.0", - "@types/node": "^14.0.0", - "@types/node-fetch": "^2.3.3", - "@types/once": "^1.4.0", - "fetch-mock": "^9.3.1", - "jest": "^26.0.1", - "lolex": "^6.0.0", - "prettier": "^2.0.1", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^25.1.0", - "typescript": "3.7.5" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.5.tgz" -,"_integrity": "sha512-atAs5GAGbZedvJXXdjtKljin+e2SltEs48B3naJjqWupYl2IUBbB/CJisyjbNHcKpHzb3E+OYEZ46G8eakXgQg==" -,"_from": "@octokit/request@5.4.5" -} \ No newline at end of file diff --git a/node_modules/@octokit/rest/LICENSE b/node_modules/@octokit/rest/LICENSE deleted file mode 100644 index 4c0d268a2d..0000000000 --- a/node_modules/@octokit/rest/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2012 Cloud9 IDE, Inc. (Mike de Boer) -Copyright (c) 2017-2018 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/@octokit/rest/README.md b/node_modules/@octokit/rest/README.md deleted file mode 100644 index 1cb200df56..0000000000 --- a/node_modules/@octokit/rest/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# rest.js - -> GitHub REST API client for JavaScript - -[![@latest](https://img.shields.io/npm/v/@octokit/rest.svg)](https://www.npmjs.com/package/@octokit/rest) -![Build Status](https://github.com/octokit/rest.js/workflows/Test/badge.svg) - -## Installation - -```shell -npm install @octokit/rest -``` - -## Usage - -```js -const { Octokit } = require("@octokit/rest"); -const octokit = new Octokit(); - -// Compare: https://developer.github.com/v3/repos/#list-organization-repositories -octokit.repos - .listForOrg({ - org: "octokit", - type: "public", - }) - .then(({ data }) => { - // handle data - }); -``` - -See https://octokit.github.io/rest.js/ for full documentation. - -## Contributing - -We would love you to contribute to `@octokit/rest`, pull requests are very welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for more information. - -## Credits - -`@octokit/rest` was originally created as [`node-github`](https://www.npmjs.com/package/github) in 2012 by Mike de Boer from Cloud9 IDE, Inc. - -It was adopted and renamed by GitHub in 2017 - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/rest/dist-node/index.js b/node_modules/@octokit/rest/dist-node/index.js deleted file mode 100644 index 5a6f58dd32..0000000000 --- a/node_modules/@octokit/rest/dist-node/index.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var core = require('@octokit/core'); -var pluginRequestLog = require('@octokit/plugin-request-log'); -var pluginPaginateRest = require('@octokit/plugin-paginate-rest'); -var pluginRestEndpointMethods = require('@octokit/plugin-rest-endpoint-methods'); - -const VERSION = "17.11.2"; - -const Octokit = core.Octokit.plugin(pluginRequestLog.requestLog, pluginRestEndpointMethods.restEndpointMethods, pluginPaginateRest.paginateRest).defaults({ - userAgent: `octokit-rest.js/${VERSION}` -}); - -exports.Octokit = Octokit; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/rest/dist-node/index.js.map b/node_modules/@octokit/rest/dist-node/index.js.map deleted file mode 100644 index eb6b42e108..0000000000 --- a/node_modules/@octokit/rest/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"17.11.2\";\n","import { Octokit as Core } from \"@octokit/core\";\nimport { requestLog } from \"@octokit/plugin-request-log\";\nimport { paginateRest } from \"@octokit/plugin-paginate-rest\";\nimport { restEndpointMethods } from \"@octokit/plugin-rest-endpoint-methods\";\nimport { VERSION } from \"./version\";\nexport const Octokit = Core.plugin(requestLog, restEndpointMethods, paginateRest).defaults({\n userAgent: `octokit-rest.js/${VERSION}`,\n});\n"],"names":["VERSION","Octokit","Core","plugin","requestLog","restEndpointMethods","paginateRest","defaults","userAgent"],"mappings":";;;;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;MCKMC,OAAO,GAAGC,YAAI,CAACC,MAAL,CAAYC,2BAAZ,EAAwBC,6CAAxB,EAA6CC,+BAA7C,EAA2DC,QAA3D,CAAoE;AACvFC,EAAAA,SAAS,EAAG,mBAAkBR,OAAQ;AADiD,CAApE,CAAhB;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/rest/dist-src/index.js b/node_modules/@octokit/rest/dist-src/index.js deleted file mode 100644 index d1fa244539..0000000000 --- a/node_modules/@octokit/rest/dist-src/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import { Octokit as Core } from "@octokit/core"; -import { requestLog } from "@octokit/plugin-request-log"; -import { paginateRest } from "@octokit/plugin-paginate-rest"; -import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; -import { VERSION } from "./version"; -export const Octokit = Core.plugin(requestLog, restEndpointMethods, paginateRest).defaults({ - userAgent: `octokit-rest.js/${VERSION}`, -}); diff --git a/node_modules/@octokit/rest/dist-src/version.js b/node_modules/@octokit/rest/dist-src/version.js deleted file mode 100644 index 44052bb25f..0000000000 --- a/node_modules/@octokit/rest/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "17.11.2"; diff --git a/node_modules/@octokit/rest/dist-types/index.d.ts b/node_modules/@octokit/rest/dist-types/index.d.ts deleted file mode 100644 index f4927be617..0000000000 --- a/node_modules/@octokit/rest/dist-types/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Octokit as Core } from "@octokit/core"; -export { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; -export declare const Octokit: (new (...args: any[]) => { - [x: string]: any; -}) & { - new (...args: any[]): { - [x: string]: any; - }; - plugins: any[]; -} & typeof Core & import("@octokit/core/dist-types/types").Constructor; -export declare type Octokit = InstanceType; diff --git a/node_modules/@octokit/rest/dist-types/version.d.ts b/node_modules/@octokit/rest/dist-types/version.d.ts deleted file mode 100644 index 386df668ae..0000000000 --- a/node_modules/@octokit/rest/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "17.11.2"; diff --git a/node_modules/@octokit/rest/dist-web/index.js b/node_modules/@octokit/rest/dist-web/index.js deleted file mode 100644 index 677627b773..0000000000 --- a/node_modules/@octokit/rest/dist-web/index.js +++ /dev/null @@ -1,13 +0,0 @@ -import { Octokit as Octokit$1 } from '@octokit/core'; -import { requestLog } from '@octokit/plugin-request-log'; -import { paginateRest } from '@octokit/plugin-paginate-rest'; -import { restEndpointMethods } from '@octokit/plugin-rest-endpoint-methods'; - -const VERSION = "17.11.2"; - -const Octokit = Octokit$1.plugin(requestLog, restEndpointMethods, paginateRest).defaults({ - userAgent: `octokit-rest.js/${VERSION}`, -}); - -export { Octokit }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/rest/dist-web/index.js.map b/node_modules/@octokit/rest/dist-web/index.js.map deleted file mode 100644 index b076d138f4..0000000000 --- a/node_modules/@octokit/rest/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"17.11.2\";\n","import { Octokit as Core } from \"@octokit/core\";\nimport { requestLog } from \"@octokit/plugin-request-log\";\nimport { paginateRest } from \"@octokit/plugin-paginate-rest\";\nimport { restEndpointMethods } from \"@octokit/plugin-rest-endpoint-methods\";\nimport { VERSION } from \"./version\";\nexport const Octokit = Core.plugin(requestLog, restEndpointMethods, paginateRest).defaults({\n userAgent: `octokit-rest.js/${VERSION}`,\n});\n"],"names":["Core"],"mappings":";;;;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACK9B,MAAC,OAAO,GAAGA,SAAI,CAAC,MAAM,CAAC,UAAU,EAAE,mBAAmB,EAAE,YAAY,CAAC,CAAC,QAAQ,CAAC;AAC3F,IAAI,SAAS,EAAE,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;AAC3C,CAAC,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/rest/package.json b/node_modules/@octokit/rest/package.json deleted file mode 100644 index a0de8f1f18..0000000000 --- a/node_modules/@octokit/rest/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "@octokit/rest", - "description": "GitHub REST API client for Node.js", - "version": "17.11.2", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "rest", - "api-client" - ], - "contributors": [ - { - "name": "Mike de Boer", - "email": "info@mikedeboer.nl" - }, - { - "name": "Fabian Jakobs", - "email": "fabian@c9.io" - }, - { - "name": "Joe Gallo", - "email": "joe@brassafrax.com" - }, - { - "name": "Gregor Martynus", - "url": "https://github.com/gr2m" - } - ], - "repository": "https://github.com/octokit/rest.js", - "dependencies": { - "@octokit/core": "^2.4.3", - "@octokit/plugin-paginate-rest": "^2.2.0", - "@octokit/plugin-request-log": "^1.0.0", - "@octokit/plugin-rest-endpoint-methods": "3.17.0" - }, - "devDependencies": { - "@octokit/auth": "^2.0.0", - "@octokit/fixtures-server": "^6.0.0", - "@octokit/request": "^5.2.0", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.2", - "@pika/plugin-build-web": "^0.9.2", - "@pika/plugin-ts-standard-pkg": "^0.9.2", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.1", - "fetch-mock": "^9.0.0", - "jest": "^25.1.0", - "prettier": "^2.0.0", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^25.2.0", - "typescript": "^3.7.5" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-17.11.2.tgz" -,"_integrity": "sha512-4jTmn8WossTUaLfNDfXk4fVJgbz5JgZE8eCs4BvIb52lvIH8rpVMD1fgRCrHbSd6LRPE5JFZSfAEtszrOq3ZFQ==" -,"_from": "@octokit/rest@17.11.2" -} \ No newline at end of file diff --git a/node_modules/@octokit/types/LICENSE b/node_modules/@octokit/types/LICENSE deleted file mode 100644 index 57bee5f182..0000000000 --- a/node_modules/@octokit/types/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -MIT License Copyright (c) 2019 Octokit contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@octokit/types/README.md b/node_modules/@octokit/types/README.md deleted file mode 100644 index 7078945661..0000000000 --- a/node_modules/@octokit/types/README.md +++ /dev/null @@ -1,64 +0,0 @@ -# types.ts - -> Shared TypeScript definitions for Octokit projects - -[![@latest](https://img.shields.io/npm/v/@octokit/types.svg)](https://www.npmjs.com/package/@octokit/types) -[![Build Status](https://github.com/octokit/types.ts/workflows/Test/badge.svg)](https://github.com/octokit/types.ts/actions?workflow=Test) - - - -- [Usage](#usage) -- [Examples](#examples) - - [Get parameter and response data types for a REST API endpoint](#get-parameter-and-response-data-types-for-a-rest-api-endpoint) - - [Get response types from endpoint methods](#get-response-types-from-endpoint-methods) -- [Contributing](#contributing) -- [License](#license) - - - -## Usage - -See all exported types at https://octokit.github.io/types.ts - -## Examples - -### Get parameter and response data types for a REST API endpoint - -```ts -import { Endpoints } from "@octokit/types"; - -type listUserReposParameters = Endpoints["GET /repos/:owner/:repo"]["parameters"]; -type listUserReposResponse = Endpoints["GET /repos/:owner/:repo"]["response"]; - -async function listRepos( - options: listUserReposParameters -): listUserReposResponse["data"] { - // ... -} -``` - -### Get response types from endpoint methods - -```ts -import { - GetResponseTypeFromEndpointMethod, - GetResponseDataTypeFromEndpointMethod, -} from "@octokit/types"; -import { Octokit } from "@octokit/rest"; - -const octokit = new Octokit(); -type CreateLabelResponseType = GetResponseTypeFromEndpointMethod< - typeof octokit.issues.createLabel ->; -type CreateLabelResponseDataType = GetResponseDataTypeFromEndpointMethod< - typeof octokit.issues.createLabel ->; -``` - -## Contributing - -See [CONTRIBUTING.md](CONTRIBUTING.md) - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/types/dist-node/index.js b/node_modules/@octokit/types/dist-node/index.js deleted file mode 100644 index 859bc42e23..0000000000 --- a/node_modules/@octokit/types/dist-node/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -const VERSION = "5.1.0"; - -exports.VERSION = VERSION; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/types/dist-node/index.js.map b/node_modules/@octokit/types/dist-node/index.js.map deleted file mode 100644 index 2d148d3b95..0000000000 --- a/node_modules/@octokit/types/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":["VERSION"],"mappings":";;;;MAAaA,OAAO,GAAG;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/types/dist-src/AuthInterface.js b/node_modules/@octokit/types/dist-src/AuthInterface.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/EndpointDefaults.js b/node_modules/@octokit/types/dist-src/EndpointDefaults.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/EndpointInterface.js b/node_modules/@octokit/types/dist-src/EndpointInterface.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/EndpointOptions.js b/node_modules/@octokit/types/dist-src/EndpointOptions.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/Fetch.js b/node_modules/@octokit/types/dist-src/Fetch.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js b/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/OctokitResponse.js b/node_modules/@octokit/types/dist-src/OctokitResponse.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/RequestHeaders.js b/node_modules/@octokit/types/dist-src/RequestHeaders.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/RequestInterface.js b/node_modules/@octokit/types/dist-src/RequestInterface.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/RequestMethod.js b/node_modules/@octokit/types/dist-src/RequestMethod.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/RequestOptions.js b/node_modules/@octokit/types/dist-src/RequestOptions.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/RequestParameters.js b/node_modules/@octokit/types/dist-src/RequestParameters.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/RequestRequestOptions.js b/node_modules/@octokit/types/dist-src/RequestRequestOptions.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/ResponseHeaders.js b/node_modules/@octokit/types/dist-src/ResponseHeaders.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/Route.js b/node_modules/@octokit/types/dist-src/Route.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/Signal.js b/node_modules/@octokit/types/dist-src/Signal.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/StrategyInterface.js b/node_modules/@octokit/types/dist-src/StrategyInterface.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/Url.js b/node_modules/@octokit/types/dist-src/Url.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/VERSION.js b/node_modules/@octokit/types/dist-src/VERSION.js deleted file mode 100644 index d80bdf72cc..0000000000 --- a/node_modules/@octokit/types/dist-src/VERSION.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "5.1.0"; diff --git a/node_modules/@octokit/types/dist-src/generated/Endpoints.js b/node_modules/@octokit/types/dist-src/generated/Endpoints.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/node_modules/@octokit/types/dist-src/index.js b/node_modules/@octokit/types/dist-src/index.js deleted file mode 100644 index 5d2d5ae09b..0000000000 --- a/node_modules/@octokit/types/dist-src/index.js +++ /dev/null @@ -1,20 +0,0 @@ -export * from "./AuthInterface"; -export * from "./EndpointDefaults"; -export * from "./EndpointInterface"; -export * from "./EndpointOptions"; -export * from "./Fetch"; -export * from "./OctokitResponse"; -export * from "./RequestHeaders"; -export * from "./RequestInterface"; -export * from "./RequestMethod"; -export * from "./RequestOptions"; -export * from "./RequestParameters"; -export * from "./RequestRequestOptions"; -export * from "./ResponseHeaders"; -export * from "./Route"; -export * from "./Signal"; -export * from "./StrategyInterface"; -export * from "./Url"; -export * from "./VERSION"; -export * from "./GetResponseTypeFromEndpointMethod"; -export * from "./generated/Endpoints"; diff --git a/node_modules/@octokit/types/dist-types/AuthInterface.d.ts b/node_modules/@octokit/types/dist-types/AuthInterface.d.ts deleted file mode 100644 index 0c19b50d2d..0000000000 --- a/node_modules/@octokit/types/dist-types/AuthInterface.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { EndpointOptions } from "./EndpointOptions"; -import { OctokitResponse } from "./OctokitResponse"; -import { RequestInterface } from "./RequestInterface"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -/** - * Interface to implement complex authentication strategies for Octokit. - * An object Implementing the AuthInterface can directly be passed as the - * `auth` option in the Octokit constructor. - * - * For the official implementations of the most common authentication - * strategies, see https://github.com/octokit/auth.js - */ -export interface AuthInterface { - (...args: AuthOptions): Promise; - hook: { - /** - * Sends a request using the passed `request` instance - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: RequestInterface, options: EndpointOptions): Promise>; - /** - * Sends a request using the passed `request` instance - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: RequestInterface, route: Route, parameters?: RequestParameters): Promise>; - }; -} diff --git a/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts b/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts deleted file mode 100644 index a2c2307829..0000000000 --- a/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { RequestHeaders } from "./RequestHeaders"; -import { RequestMethod } from "./RequestMethod"; -import { RequestParameters } from "./RequestParameters"; -import { Url } from "./Url"; -/** - * The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters - * as well as the method property. - */ -export declare type EndpointDefaults = RequestParameters & { - baseUrl: Url; - method: RequestMethod; - url?: Url; - headers: RequestHeaders & { - accept: string; - "user-agent": string; - }; - mediaType: { - format: string; - previews: string[]; - }; -}; diff --git a/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts b/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts deleted file mode 100644 index df585bef1d..0000000000 --- a/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { EndpointDefaults } from "./EndpointDefaults"; -import { RequestOptions } from "./RequestOptions"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -import { Endpoints } from "./generated/Endpoints"; -export interface EndpointInterface { - /** - * Transforms a GitHub REST API endpoint into generic request options - * - * @param {object} endpoint Must set `url` unless it's set defaults. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: O & { - method?: string; - } & ("url" extends keyof D ? { - url?: string; - } : { - url: string; - })): RequestOptions & Pick; - /** - * Transforms a GitHub REST API endpoint into generic request options - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: keyof Endpoints | R, parameters?: P): (R extends keyof Endpoints ? Endpoints[R]["request"] : RequestOptions) & Pick; - /** - * Object with current default route and parameters - */ - DEFAULTS: D & EndpointDefaults; - /** - * Returns a new `endpoint` interface with new defaults - */ - defaults: (newDefaults: O) => EndpointInterface; - merge: { - /** - * Merges current endpoint defaults with passed route and parameters, - * without transforming them into request options. - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * - */ - (route: keyof Endpoints | R, parameters?: P): D & (R extends keyof Endpoints ? Endpoints[R]["request"] & Endpoints[R]["parameters"] : EndpointDefaults) & P; - /** - * Merges current endpoint defaults with passed route and parameters, - * without transforming them into request options. - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ -

(options: P): EndpointDefaults & D & P; - /** - * Returns current default options. - * - * @deprecated use endpoint.DEFAULTS instead - */ - (): D & EndpointDefaults; - }; - /** - * Stateless method to turn endpoint options into request options. - * Calling `endpoint(options)` is the same as calling `endpoint.parse(endpoint.merge(options))`. - * - * @param {object} options `method`, `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - parse: (options: O) => RequestOptions & Pick; -} diff --git a/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts b/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts deleted file mode 100644 index b1b91f11f3..0000000000 --- a/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { RequestMethod } from "./RequestMethod"; -import { Url } from "./Url"; -import { RequestParameters } from "./RequestParameters"; -export declare type EndpointOptions = RequestParameters & { - method: RequestMethod; - url: Url; -}; diff --git a/node_modules/@octokit/types/dist-types/Fetch.d.ts b/node_modules/@octokit/types/dist-types/Fetch.d.ts deleted file mode 100644 index cbbd5e8fa9..0000000000 --- a/node_modules/@octokit/types/dist-types/Fetch.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Browser's fetch method (or compatible such as fetch-mock) - */ -export declare type Fetch = any; diff --git a/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts b/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts deleted file mode 100644 index 70e1a8d466..0000000000 --- a/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare type Unwrap = T extends Promise ? U : T; -declare type AnyFunction = (...args: any[]) => any; -export declare type GetResponseTypeFromEndpointMethod = Unwrap>; -export declare type GetResponseDataTypeFromEndpointMethod = Unwrap>["data"]; -export {}; diff --git a/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts b/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts deleted file mode 100644 index 9a2dd7f658..0000000000 --- a/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ResponseHeaders } from "./ResponseHeaders"; -import { Url } from "./Url"; -export declare type OctokitResponse = { - headers: ResponseHeaders; - /** - * http response code - */ - status: number; - /** - * URL of response after all redirects - */ - url: Url; - /** - * This is the data you would see in https://developer.Octokit.com/v3/ - */ - data: T; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts b/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts deleted file mode 100644 index ac5aae0a57..0000000000 --- a/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export declare type RequestHeaders = { - /** - * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead. - */ - accept?: string; - /** - * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` - */ - authorization?: string; - /** - * `user-agent` is set do a default and can be overwritten as needed. - */ - "user-agent"?: string; - [header: string]: string | number | undefined; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestInterface.d.ts b/node_modules/@octokit/types/dist-types/RequestInterface.d.ts deleted file mode 100644 index ef4d8d3a86..0000000000 --- a/node_modules/@octokit/types/dist-types/RequestInterface.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { EndpointInterface } from "./EndpointInterface"; -import { OctokitResponse } from "./OctokitResponse"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -import { Endpoints } from "./generated/Endpoints"; -export interface RequestInterface { - /** - * Sends a request based on endpoint options - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: O & { - method?: string; - } & ("url" extends keyof D ? { - url?: string; - } : { - url: string; - })): Promise>; - /** - * Sends a request based on endpoint options - * - * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: keyof Endpoints | R, options?: R extends keyof Endpoints ? Endpoints[R]["parameters"] & RequestParameters : RequestParameters): R extends keyof Endpoints ? Promise : Promise>; - /** - * Returns a new `request` with updated route and parameters - */ - defaults: (newDefaults: O) => RequestInterface; - /** - * Octokit endpoint API, see {@link https://github.com/octokit/endpoint.js|@octokit/endpoint} - */ - endpoint: EndpointInterface; -} diff --git a/node_modules/@octokit/types/dist-types/RequestMethod.d.ts b/node_modules/@octokit/types/dist-types/RequestMethod.d.ts deleted file mode 100644 index e999c8d96c..0000000000 --- a/node_modules/@octokit/types/dist-types/RequestMethod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * HTTP Verb supported by GitHub's REST API - */ -export declare type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; diff --git a/node_modules/@octokit/types/dist-types/RequestOptions.d.ts b/node_modules/@octokit/types/dist-types/RequestOptions.d.ts deleted file mode 100644 index 97e2181ca7..0000000000 --- a/node_modules/@octokit/types/dist-types/RequestOptions.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { RequestHeaders } from "./RequestHeaders"; -import { RequestMethod } from "./RequestMethod"; -import { RequestRequestOptions } from "./RequestRequestOptions"; -import { Url } from "./Url"; -/** - * Generic request options as they are returned by the `endpoint()` method - */ -export declare type RequestOptions = { - method: RequestMethod; - url: Url; - headers: RequestHeaders; - body?: any; - request?: RequestRequestOptions; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestParameters.d.ts b/node_modules/@octokit/types/dist-types/RequestParameters.d.ts deleted file mode 100644 index 692d193b43..0000000000 --- a/node_modules/@octokit/types/dist-types/RequestParameters.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { RequestRequestOptions } from "./RequestRequestOptions"; -import { RequestHeaders } from "./RequestHeaders"; -import { Url } from "./Url"; -/** - * Parameters that can be passed into `request(route, parameters)` or `endpoint(route, parameters)` methods - */ -export declare type RequestParameters = { - /** - * Base URL to be used when a relative URL is passed, such as `/orgs/:org`. - * If `baseUrl` is `https://enterprise.acme-inc.com/api/v3`, then the request - * will be sent to `https://enterprise.acme-inc.com/api/v3/orgs/:org`. - */ - baseUrl?: Url; - /** - * HTTP headers. Use lowercase keys. - */ - headers?: RequestHeaders; - /** - * Media type options, see {@link https://developer.github.com/v3/media/|GitHub Developer Guide} - */ - mediaType?: { - /** - * `json` by default. Can be `raw`, `text`, `html`, `full`, `diff`, `patch`, `sha`, `base64`. Depending on endpoint - */ - format?: string; - /** - * Custom media type names of {@link https://developer.github.com/v3/media/|API Previews} without the `-preview` suffix. - * Example for single preview: `['squirrel-girl']`. - * Example for multiple previews: `['squirrel-girl', 'mister-fantastic']`. - */ - previews?: string[]; - }; - /** - * Pass custom meta information for the request. The `request` object will be returned as is. - */ - request?: RequestRequestOptions; - /** - * Any additional parameter will be passed as follows - * 1. URL parameter if `':parameter'` or `{parameter}` is part of `url` - * 2. Query parameter if `method` is `'GET'` or `'HEAD'` - * 3. Request body if `parameter` is `'data'` - * 4. JSON in the request body in the form of `body[parameter]` unless `parameter` key is `'data'` - */ - [parameter: string]: unknown; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts b/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts deleted file mode 100644 index 4482a8a45b..0000000000 --- a/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/// -import { Agent } from "http"; -import { Fetch } from "./Fetch"; -import { Signal } from "./Signal"; -/** - * Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled - */ -export declare type RequestRequestOptions = { - /** - * Node only. Useful for custom proxy, certificate, or dns lookup. - */ - agent?: Agent; - /** - * Custom replacement for built-in fetch method. Useful for testing or request hooks. - */ - fetch?: Fetch; - /** - * Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests. - */ - signal?: Signal; - /** - * Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). `options.request.signal` is recommended instead. - */ - timeout?: number; - [option: string]: any; -}; diff --git a/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts b/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts deleted file mode 100644 index c8fbe43f3d..0000000000 --- a/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export declare type ResponseHeaders = { - "cache-control"?: string; - "content-length"?: number; - "content-type"?: string; - date?: string; - etag?: string; - "last-modified"?: string; - link?: string; - location?: string; - server?: string; - status?: string; - vary?: string; - "x-github-mediatype"?: string; - "x-github-request-id"?: string; - "x-oauth-scopes"?: string; - "x-ratelimit-limit"?: string; - "x-ratelimit-remaining"?: string; - "x-ratelimit-reset"?: string; - [header: string]: string | number | undefined; -}; diff --git a/node_modules/@octokit/types/dist-types/Route.d.ts b/node_modules/@octokit/types/dist-types/Route.d.ts deleted file mode 100644 index 807904440a..0000000000 --- a/node_modules/@octokit/types/dist-types/Route.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * String consisting of an optional HTTP method and relative path or absolute URL. Examples: `'/orgs/:org'`, `'PUT /orgs/:org'`, `GET https://example.com/foo/bar` - */ -export declare type Route = string; diff --git a/node_modules/@octokit/types/dist-types/Signal.d.ts b/node_modules/@octokit/types/dist-types/Signal.d.ts deleted file mode 100644 index 4ebcf24e6c..0000000000 --- a/node_modules/@octokit/types/dist-types/Signal.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Abort signal - * - * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal - */ -export declare type Signal = any; diff --git a/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts b/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts deleted file mode 100644 index 405cbd2353..0000000000 --- a/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { AuthInterface } from "./AuthInterface"; -export interface StrategyInterface { - (...args: StrategyOptions): AuthInterface; -} diff --git a/node_modules/@octokit/types/dist-types/Url.d.ts b/node_modules/@octokit/types/dist-types/Url.d.ts deleted file mode 100644 index acaad63364..0000000000 --- a/node_modules/@octokit/types/dist-types/Url.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Relative or absolute URL. Examples: `'/orgs/:org'`, `https://example.com/foo/bar` - */ -export declare type Url = string; diff --git a/node_modules/@octokit/types/dist-types/VERSION.d.ts b/node_modules/@octokit/types/dist-types/VERSION.d.ts deleted file mode 100644 index 8da971fd58..0000000000 --- a/node_modules/@octokit/types/dist-types/VERSION.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "5.1.0"; diff --git a/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts b/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts deleted file mode 100644 index 034fcde0bc..0000000000 --- a/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts +++ /dev/null @@ -1,37607 +0,0 @@ -import { OctokitResponse } from "../OctokitResponse"; -import { RequestHeaders } from "../RequestHeaders"; -import { RequestRequestOptions } from "../RequestRequestOptions"; -declare type RequiredPreview = { - mediaType: { - previews: [T, ...string[]]; - }; -}; -export interface Endpoints { - /** - * @see https://developer.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app - */ - "DELETE /app/installations/:installation_id": { - parameters: AppsDeleteInstallationEndpoint; - request: AppsDeleteInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#unsuspend-an-app-installation - */ - "DELETE /app/installations/:installation_id/suspended": { - parameters: AppsUnsuspendInstallationEndpoint; - request: AppsUnsuspendInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization - */ - "DELETE /applications/:client_id/grant": { - parameters: AppsDeleteAuthorizationEndpoint; - request: AppsDeleteAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application - */ - "DELETE /applications/:client_id/grants/:access_token": { - parameters: AppsRevokeGrantForApplicationEndpoint; - request: AppsRevokeGrantForApplicationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token - */ - "DELETE /applications/:client_id/token": { - parameters: AppsDeleteTokenEndpoint; - request: AppsDeleteTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application - */ - "DELETE /applications/:client_id/tokens/:access_token": { - parameters: AppsRevokeAuthorizationForApplicationEndpoint; - request: AppsRevokeAuthorizationForApplicationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant - */ - "DELETE /applications/grants/:grant_id": { - parameters: OauthAuthorizationsDeleteGrantEndpoint; - request: OauthAuthorizationsDeleteGrantRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization - */ - "DELETE /authorizations/:authorization_id": { - parameters: OauthAuthorizationsDeleteAuthorizationEndpoint; - request: OauthAuthorizationsDeleteAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#delete-a-gist - */ - "DELETE /gists/:gist_id": { - parameters: GistsDeleteEndpoint; - request: GistsDeleteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#delete-a-gist-comment - */ - "DELETE /gists/:gist_id/comments/:comment_id": { - parameters: GistsDeleteCommentEndpoint; - request: GistsDeleteCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#unstar-a-gist - */ - "DELETE /gists/:gist_id/star": { - parameters: GistsUnstarEndpoint; - request: GistsUnstarRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#revoke-an-installation-access-token - */ - "DELETE /installation/token": { - parameters: AppsRevokeInstallationAccessTokenEndpoint; - request: AppsRevokeInstallationAccessTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription - */ - "DELETE /notifications/threads/:thread_id/subscription": { - parameters: ActivityDeleteThreadSubscriptionEndpoint; - request: ActivityDeleteThreadSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-an-organization - */ - "DELETE /orgs/:org/actions/runners/:runner_id": { - parameters: ActionsDeleteSelfHostedRunnerFromOrgEndpoint; - request: ActionsDeleteSelfHostedRunnerFromOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#delete-an-organization-secret - */ - "DELETE /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsDeleteOrgSecretEndpoint; - request: ActionsDeleteOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret - */ - "DELETE /orgs/:org/actions/secrets/:secret_name/repositories/:repository_id": { - parameters: ActionsRemoveSelectedRepoFromOrgSecretEndpoint; - request: ActionsRemoveSelectedRepoFromOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#unblock-a-user-from-an-organization - */ - "DELETE /orgs/:org/blocks/:username": { - parameters: OrgsUnblockUserEndpoint; - request: OrgsUnblockUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization - */ - "DELETE /orgs/:org/credential-authorizations/:credential_id": { - parameters: OrgsRemoveSamlSsoAuthorizationEndpoint; - request: OrgsRemoveSamlSsoAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#delete-an-organization-webhook - */ - "DELETE /orgs/:org/hooks/:hook_id": { - parameters: OrgsDeleteWebhookEndpoint; - request: OrgsDeleteWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/orgs/#remove-interaction-restrictions-for-an-organization - */ - "DELETE /orgs/:org/interaction-limits": { - parameters: InteractionsRemoveRestrictionsForOrgEndpoint; - request: InteractionsRemoveRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#remove-an-organization-member - */ - "DELETE /orgs/:org/members/:username": { - parameters: OrgsRemoveMemberEndpoint; - request: OrgsRemoveMemberRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#remove-organization-membership-for-a-user - */ - "DELETE /orgs/:org/memberships/:username": { - parameters: OrgsRemoveMembershipForUserEndpoint; - request: OrgsRemoveMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#delete-an-organization-migration-archive - */ - "DELETE /orgs/:org/migrations/:migration_id/archive": { - parameters: MigrationsDeleteArchiveForOrgEndpoint; - request: MigrationsDeleteArchiveForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#unlock-an-organization-repository - */ - "DELETE /orgs/:org/migrations/:migration_id/repos/:repo_name/lock": { - parameters: MigrationsUnlockRepoForOrgEndpoint; - request: MigrationsUnlockRepoForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator-from-an-organization - */ - "DELETE /orgs/:org/outside_collaborators/:username": { - parameters: OrgsRemoveOutsideCollaboratorEndpoint; - request: OrgsRemoveOutsideCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#remove-public-organization-membership-for-the-authenticated-user - */ - "DELETE /orgs/:org/public_members/:username": { - parameters: OrgsRemovePublicMembershipForAuthenticatedUserEndpoint; - request: OrgsRemovePublicMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#delete-a-team - */ - "DELETE /orgs/:org/teams/:team_slug": { - parameters: TeamsDeleteInOrgEndpoint; - request: TeamsDeleteInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#delete-a-discussion - */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsDeleteDiscussionInOrgEndpoint; - request: TeamsDeleteDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment - */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsDeleteDiscussionCommentInOrgEndpoint; - request: TeamsDeleteDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-team-discussion-comment-reaction - */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForTeamDiscussionCommentEndpoint; - request: ReactionsDeleteForTeamDiscussionCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-team-discussion-reaction - */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForTeamDiscussionEndpoint; - request: ReactionsDeleteForTeamDiscussionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user - */ - "DELETE /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsRemoveMembershipForUserInOrgEndpoint; - request: TeamsRemoveMembershipForUserInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#remove-a-project-from-a-team - */ - "DELETE /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsRemoveProjectInOrgEndpoint; - request: TeamsRemoveProjectInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#remove-a-repository-from-a-team - */ - "DELETE /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsRemoveRepoInOrgEndpoint; - request: TeamsRemoveRepoInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#delete-a-project - */ - "DELETE /projects/:project_id": { - parameters: ProjectsDeleteEndpoint; - request: ProjectsDeleteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#remove-project-collaborator - */ - "DELETE /projects/:project_id/collaborators/:username": { - parameters: ProjectsRemoveCollaboratorEndpoint; - request: ProjectsRemoveCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#delete-a-project-column - */ - "DELETE /projects/columns/:column_id": { - parameters: ProjectsDeleteColumnEndpoint; - request: ProjectsDeleteColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#delete-a-project-card - */ - "DELETE /projects/columns/cards/:card_id": { - parameters: ProjectsDeleteCardEndpoint; - request: ProjectsDeleteCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy - */ - "DELETE /reactions/:reaction_id": { - parameters: ReactionsDeleteLegacyEndpoint; - request: ReactionsDeleteLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#delete-a-repository - */ - "DELETE /repos/:owner/:repo": { - parameters: ReposDeleteEndpoint; - request: ReposDeleteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#delete-an-artifact - */ - "DELETE /repos/:owner/:repo/actions/artifacts/:artifact_id": { - parameters: ActionsDeleteArtifactEndpoint; - request: ActionsDeleteArtifactRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-a-repository - */ - "DELETE /repos/:owner/:repo/actions/runners/:runner_id": { - parameters: ActionsDeleteSelfHostedRunnerFromRepoEndpoint; - request: ActionsDeleteSelfHostedRunnerFromRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#delete-a-workflow-run - */ - "DELETE /repos/:owner/:repo/actions/runs/:run_id": { - parameters: ActionsDeleteWorkflowRunEndpoint; - request: ActionsDeleteWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#delete-workflow-run-logs - */ - "DELETE /repos/:owner/:repo/actions/runs/:run_id/logs": { - parameters: ActionsDeleteWorkflowRunLogsEndpoint; - request: ActionsDeleteWorkflowRunLogsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#delete-a-repository-secret - */ - "DELETE /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsDeleteRepoSecretEndpoint; - request: ActionsDeleteRepoSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#disable-automated-security-fixes - */ - "DELETE /repos/:owner/:repo/automated-security-fixes": { - parameters: ReposDisableAutomatedSecurityFixesEndpoint; - request: ReposDisableAutomatedSecurityFixesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-branch-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposDeleteBranchProtectionEndpoint; - request: ReposDeleteBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-admin-branch-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposDeleteAdminBranchProtectionEndpoint; - request: ReposDeleteAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-pull-request-review-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposDeletePullRequestReviewProtectionEndpoint; - request: ReposDeletePullRequestReviewProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-commit-signature-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposDeleteCommitSignatureProtectionEndpoint; - request: ReposDeleteCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-status-check-protection - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposRemoveStatusCheckProtectionEndpoint; - request: ReposRemoveStatusCheckProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-status-check-contexts - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposRemoveStatusCheckContextsEndpoint; - request: ReposRemoveStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#delete-access-restrictions - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions": { - parameters: ReposDeleteAccessRestrictionsEndpoint; - request: ReposDeleteAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-app-access-restrictions - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposRemoveAppAccessRestrictionsEndpoint; - request: ReposRemoveAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-team-access-restrictions - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposRemoveTeamAccessRestrictionsEndpoint; - request: ReposRemoveTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#remove-user-access-restrictions - */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposRemoveUserAccessRestrictionsEndpoint; - request: ReposRemoveUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#remove-a-repository-collaborator - */ - "DELETE /repos/:owner/:repo/collaborators/:username": { - parameters: ReposRemoveCollaboratorEndpoint; - request: ReposRemoveCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#delete-a-commit-comment - */ - "DELETE /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposDeleteCommitCommentEndpoint; - request: ReposDeleteCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-a-commit-comment-reaction - */ - "DELETE /repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForCommitCommentEndpoint; - request: ReactionsDeleteForCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#delete-a-file - */ - "DELETE /repos/:owner/:repo/contents/:path": { - parameters: ReposDeleteFileEndpoint; - request: ReposDeleteFileRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#delete-a-deployment - */ - "DELETE /repos/:owner/:repo/deployments/:deployment_id": { - parameters: ReposDeleteDeploymentEndpoint; - request: ReposDeleteDeploymentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#delete-a-reference - */ - "DELETE /repos/:owner/:repo/git/refs/:ref": { - parameters: GitDeleteRefEndpoint; - request: GitDeleteRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#delete-a-repository-webhook - */ - "DELETE /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposDeleteWebhookEndpoint; - request: ReposDeleteWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#cancel-an-import - */ - "DELETE /repos/:owner/:repo/import": { - parameters: MigrationsCancelImportEndpoint; - request: MigrationsCancelImportRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/repos/#remove-interaction-restrictions-for-a-repository - */ - "DELETE /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsRemoveRestrictionsForRepoEndpoint; - request: InteractionsRemoveRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#delete-a-repository-invitation - */ - "DELETE /repos/:owner/:repo/invitations/:invitation_id": { - parameters: ReposDeleteInvitationEndpoint; - request: ReposDeleteInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#remove-assignees-from-an-issue - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/assignees": { - parameters: IssuesRemoveAssigneesEndpoint; - request: IssuesRemoveAssigneesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#remove-all-labels-from-an-issue - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesRemoveAllLabelsEndpoint; - request: IssuesRemoveAllLabelsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/labels/:name": { - parameters: IssuesRemoveLabelEndpoint; - request: IssuesRemoveLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#unlock-an-issue - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/lock": { - parameters: IssuesUnlockEndpoint; - request: IssuesUnlockRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-an-issue-reaction - */ - "DELETE /repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForIssueEndpoint; - request: ReactionsDeleteForIssueRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#delete-an-issue-comment - */ - "DELETE /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesDeleteCommentEndpoint; - request: IssuesDeleteCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-an-issue-comment-reaction - */ - "DELETE /repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForIssueCommentEndpoint; - request: ReactionsDeleteForIssueCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#delete-a-deploy-key - */ - "DELETE /repos/:owner/:repo/keys/:key_id": { - parameters: ReposDeleteDeployKeyEndpoint; - request: ReposDeleteDeployKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#delete-a-label - */ - "DELETE /repos/:owner/:repo/labels/:name": { - parameters: IssuesDeleteLabelEndpoint; - request: IssuesDeleteLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#delete-a-milestone - */ - "DELETE /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesDeleteMilestoneEndpoint; - request: IssuesDeleteMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#delete-a-github-pages-site - */ - "DELETE /repos/:owner/:repo/pages": { - parameters: ReposDeletePagesSiteEndpoint; - request: ReposDeletePagesSiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/review_requests/#remove-requested-reviewers-from-a-pull-request - */ - "DELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsRemoveRequestedReviewersEndpoint; - request: PullsRemoveRequestedReviewersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#delete-a-pending-review-for-a-pull-request - */ - "DELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsDeletePendingReviewEndpoint; - request: PullsDeletePendingReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#delete-a-review-comment-for-a-pull-request - */ - "DELETE /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsDeleteReviewCommentEndpoint; - request: PullsDeleteReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#delete-a-pull-request-comment-reaction - */ - "DELETE /repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForPullRequestCommentEndpoint; - request: ReactionsDeleteForPullRequestCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#delete-a-release - */ - "DELETE /repos/:owner/:repo/releases/:release_id": { - parameters: ReposDeleteReleaseEndpoint; - request: ReposDeleteReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#delete-a-release-asset - */ - "DELETE /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposDeleteReleaseAssetEndpoint; - request: ReposDeleteReleaseAssetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#delete-a-repository-subscription - */ - "DELETE /repos/:owner/:repo/subscription": { - parameters: ActivityDeleteRepoSubscriptionEndpoint; - request: ActivityDeleteRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#disable-vulnerability-alerts - */ - "DELETE /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposDisableVulnerabilityAlertsEndpoint; - request: ReposDisableVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#delete-a-scim-user-from-an-organization - */ - "DELETE /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimDeleteUserFromOrgEndpoint; - request: ScimDeleteUserFromOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#delete-a-team-legacy - */ - "DELETE /teams/:team_id": { - parameters: TeamsDeleteLegacyEndpoint; - request: TeamsDeleteLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy - */ - "DELETE /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsDeleteDiscussionLegacyEndpoint; - request: TeamsDeleteDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment-legacy - */ - "DELETE /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsDeleteDiscussionCommentLegacyEndpoint; - request: TeamsDeleteDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#remove-team-member-legacy - */ - "DELETE /teams/:team_id/members/:username": { - parameters: TeamsRemoveMemberLegacyEndpoint; - request: TeamsRemoveMemberLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user-legacy - */ - "DELETE /teams/:team_id/memberships/:username": { - parameters: TeamsRemoveMembershipForUserLegacyEndpoint; - request: TeamsRemoveMembershipForUserLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#remove-a-project-from-a-team-legacy - */ - "DELETE /teams/:team_id/projects/:project_id": { - parameters: TeamsRemoveProjectLegacyEndpoint; - request: TeamsRemoveProjectLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#remove-a-repository-from-a-team-legacy - */ - "DELETE /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsRemoveRepoLegacyEndpoint; - request: TeamsRemoveRepoLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#unblock-a-user - */ - "DELETE /user/blocks/:username": { - parameters: UsersUnblockEndpoint; - request: UsersUnblockRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#delete-an-email-address-for-the-authenticated-user - */ - "DELETE /user/emails": { - parameters: UsersDeleteEmailForAuthenticatedEndpoint; - request: UsersDeleteEmailForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#unfollow-a-user - */ - "DELETE /user/following/:username": { - parameters: UsersUnfollowEndpoint; - request: UsersUnfollowRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#delete-a-gpg-key-for-the-authenticated-user - */ - "DELETE /user/gpg_keys/:gpg_key_id": { - parameters: UsersDeleteGpgKeyForAuthenticatedEndpoint; - request: UsersDeleteGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#remove-a-repository-from-an-app-installation - */ - "DELETE /user/installations/:installation_id/repositories/:repository_id": { - parameters: AppsRemoveRepoFromInstallationEndpoint; - request: AppsRemoveRepoFromInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#delete-a-public-ssh-key-for-the-authenticated-user - */ - "DELETE /user/keys/:key_id": { - parameters: UsersDeletePublicSshKeyForAuthenticatedEndpoint; - request: UsersDeletePublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#delete-a-user-migration-archive - */ - "DELETE /user/migrations/:migration_id/archive": { - parameters: MigrationsDeleteArchiveForAuthenticatedUserEndpoint; - request: MigrationsDeleteArchiveForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#unlock-a-user-repository - */ - "DELETE /user/migrations/:migration_id/repos/:repo_name/lock": { - parameters: MigrationsUnlockRepoForAuthenticatedUserEndpoint; - request: MigrationsUnlockRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#decline-a-repository-invitation - */ - "DELETE /user/repository_invitations/:invitation_id": { - parameters: ReposDeclineInvitationEndpoint; - request: ReposDeclineInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#unstar-a-repository-for-the-authenticated-user - */ - "DELETE /user/starred/:owner/:repo": { - parameters: ActivityUnstarRepoForAuthenticatedUserEndpoint; - request: ActivityUnstarRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-the-authenticated-app - */ - "GET /app": { - parameters: AppsGetAuthenticatedEndpoint; - request: AppsGetAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app - */ - "GET /app/installations": { - parameters: AppsListInstallationsEndpoint; - request: AppsListInstallationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-an-installation-for-the-authenticated-app - */ - "GET /app/installations/:installation_id": { - parameters: AppsGetInstallationEndpoint; - request: AppsGetInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization - */ - "GET /applications/:client_id/tokens/:access_token": { - parameters: AppsCheckAuthorizationEndpoint; - request: AppsCheckAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#list-your-grants - */ - "GET /applications/grants": { - parameters: OauthAuthorizationsListGrantsEndpoint; - request: OauthAuthorizationsListGrantsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant - */ - "GET /applications/grants/:grant_id": { - parameters: OauthAuthorizationsGetGrantEndpoint; - request: OauthAuthorizationsGetGrantRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-an-app - */ - "GET /apps/:app_slug": { - parameters: AppsGetBySlugEndpoint; - request: AppsGetBySlugRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations - */ - "GET /authorizations": { - parameters: OauthAuthorizationsListAuthorizationsEndpoint; - request: OauthAuthorizationsListAuthorizationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization - */ - "GET /authorizations/:authorization_id": { - parameters: OauthAuthorizationsGetAuthorizationEndpoint; - request: OauthAuthorizationsGetAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct - */ - "GET /codes_of_conduct": { - parameters: CodesOfConductGetAllCodesOfConductEndpoint; - request: CodesOfConductGetAllCodesOfConductRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-a-code-of-conduct - */ - "GET /codes_of_conduct/:key": { - parameters: CodesOfConductGetConductCodeEndpoint; - request: CodesOfConductGetConductCodeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/emojis/#get-emojis - */ - "GET /emojis": { - parameters: EmojisGetEndpoint; - request: EmojisGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-github-actions-billing-for-an-enterprise - */ - "GET /enterprises/:enterprise_id/settings/billing/actions": { - parameters: BillingGetGithubActionsBillingGheEndpoint; - request: BillingGetGithubActionsBillingGheRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-github-packages-billing-for-an-enterprise - */ - "GET /enterprises/:enterprise_id/settings/billing/packages": { - parameters: BillingGetGithubPackagesBillingGheEndpoint; - request: BillingGetGithubPackagesBillingGheRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-shared-storage-billing-for-an-enterprise - */ - "GET /enterprises/:enterprise_id/settings/billing/shared-storage": { - parameters: BillingGetSharedStorageBillingGheEndpoint; - request: BillingGetSharedStorageBillingGheRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-events - */ - "GET /events": { - parameters: ActivityListPublicEventsEndpoint; - request: ActivityListPublicEventsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/feeds/#get-feeds - */ - "GET /feeds": { - parameters: ActivityGetFeedsEndpoint; - request: ActivityGetFeedsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gists-for-the-authenticated-user - */ - "GET /gists": { - parameters: GistsListEndpoint; - request: GistsListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#get-a-gist - */ - "GET /gists/:gist_id": { - parameters: GistsGetEndpoint; - request: GistsGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#get-a-gist-revision - */ - "GET /gists/:gist_id/:sha": { - parameters: GistsGetRevisionEndpoint; - request: GistsGetRevisionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#list-gist-comments - */ - "GET /gists/:gist_id/comments": { - parameters: GistsListCommentsEndpoint; - request: GistsListCommentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#get-a-gist-comment - */ - "GET /gists/:gist_id/comments/:comment_id": { - parameters: GistsGetCommentEndpoint; - request: GistsGetCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gist-commits - */ - "GET /gists/:gist_id/commits": { - parameters: GistsListCommitsEndpoint; - request: GistsListCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gist-forks - */ - "GET /gists/:gist_id/forks": { - parameters: GistsListForksEndpoint; - request: GistsListForksRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#check-if-a-gist-is-starred - */ - "GET /gists/:gist_id/star": { - parameters: GistsCheckIsStarredEndpoint; - request: GistsCheckIsStarredRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-public-gists - */ - "GET /gists/public": { - parameters: GistsListPublicEndpoint; - request: GistsListPublicRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-starred-gists - */ - "GET /gists/starred": { - parameters: GistsListStarredEndpoint; - request: GistsListStarredRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gitignore/#get-all-gitignore-templates - */ - "GET /gitignore/templates": { - parameters: GitignoreGetAllTemplatesEndpoint; - request: GitignoreGetAllTemplatesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gitignore/#get-a-gitignore-template - */ - "GET /gitignore/templates/:name": { - parameters: GitignoreGetTemplateEndpoint; - request: GitignoreGetTemplateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation - */ - "GET /installation/repositories": { - parameters: AppsListReposAccessibleToInstallationEndpoint; - request: AppsListReposAccessibleToInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user - */ - "GET /issues": { - parameters: IssuesListEndpoint; - request: IssuesListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/licenses/#get-all-commonly-used-licenses - */ - "GET /licenses": { - parameters: LicensesGetAllCommonlyUsedEndpoint; - request: LicensesGetAllCommonlyUsedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/licenses/#get-a-license - */ - "GET /licenses/:license": { - parameters: LicensesGetEndpoint; - request: LicensesGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account - */ - "GET /marketplace_listing/accounts/:account_id": { - parameters: AppsGetSubscriptionPlanForAccountEndpoint; - request: AppsGetSubscriptionPlanForAccountRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-plans - */ - "GET /marketplace_listing/plans": { - parameters: AppsListPlansEndpoint; - request: AppsListPlansRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan - */ - "GET /marketplace_listing/plans/:plan_id/accounts": { - parameters: AppsListAccountsForPlanEndpoint; - request: AppsListAccountsForPlanRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account-stubbed - */ - "GET /marketplace_listing/stubbed/accounts/:account_id": { - parameters: AppsGetSubscriptionPlanForAccountStubbedEndpoint; - request: AppsGetSubscriptionPlanForAccountStubbedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-plans-stubbed - */ - "GET /marketplace_listing/stubbed/plans": { - parameters: AppsListPlansStubbedEndpoint; - request: AppsListPlansStubbedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed - */ - "GET /marketplace_listing/stubbed/plans/:plan_id/accounts": { - parameters: AppsListAccountsForPlanStubbedEndpoint; - request: AppsListAccountsForPlanStubbedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/meta/#get-github-meta-information - */ - "GET /meta": { - parameters: MetaGetEndpoint; - request: MetaGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories - */ - "GET /networks/:owner/:repo/events": { - parameters: ActivityListPublicEventsForRepoNetworkEndpoint; - request: ActivityListPublicEventsForRepoNetworkRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user - */ - "GET /notifications": { - parameters: ActivityListNotificationsForAuthenticatedUserEndpoint; - request: ActivityListNotificationsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#get-a-thread - */ - "GET /notifications/threads/:thread_id": { - parameters: ActivityGetThreadEndpoint; - request: ActivityGetThreadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#get-a-thread-subscription-for-the-authenticated-user - */ - "GET /notifications/threads/:thread_id/subscription": { - parameters: ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint; - request: ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations - */ - "GET /organizations": { - parameters: OrgsListEndpoint; - request: OrgsListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#get-an-organization - */ - "GET /orgs/:org": { - parameters: OrgsGetEndpoint; - request: OrgsGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-an-organization - */ - "GET /orgs/:org/actions/runners": { - parameters: ActionsListSelfHostedRunnersForOrgEndpoint; - request: ActionsListSelfHostedRunnersForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#get-a-self-hosted-runner-for-an-organization - */ - "GET /orgs/:org/actions/runners/:runner_id": { - parameters: ActionsGetSelfHostedRunnerForOrgEndpoint; - request: ActionsGetSelfHostedRunnerForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-an-organization - */ - "GET /orgs/:org/actions/runners/downloads": { - parameters: ActionsListRunnerApplicationsForOrgEndpoint; - request: ActionsListRunnerApplicationsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-organization-secrets - */ - "GET /orgs/:org/actions/secrets": { - parameters: ActionsListOrgSecretsEndpoint; - request: ActionsListOrgSecretsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#get-an-organization-secret - */ - "GET /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsGetOrgSecretEndpoint; - request: ActionsGetOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret - */ - "GET /orgs/:org/actions/secrets/:secret_name/repositories": { - parameters: ActionsListSelectedReposForOrgSecretEndpoint; - request: ActionsListSelectedReposForOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key - */ - "GET /orgs/:org/actions/secrets/public-key": { - parameters: ActionsGetOrgPublicKeyEndpoint; - request: ActionsGetOrgPublicKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization - */ - "GET /orgs/:org/blocks": { - parameters: OrgsListBlockedUsersEndpoint; - request: OrgsListBlockedUsersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#check-if-a-user-is-blocked-by-an-organization - */ - "GET /orgs/:org/blocks/:username": { - parameters: OrgsCheckBlockedUserEndpoint; - request: OrgsCheckBlockedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization - */ - "GET /orgs/:org/credential-authorizations": { - parameters: OrgsListSamlSsoAuthorizationsEndpoint; - request: OrgsListSamlSsoAuthorizationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-organization-events - */ - "GET /orgs/:org/events": { - parameters: ActivityListPublicOrgEventsEndpoint; - request: ActivityListPublicOrgEventsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks - */ - "GET /orgs/:org/hooks": { - parameters: OrgsListWebhooksEndpoint; - request: OrgsListWebhooksRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#get-an-organization-webhook - */ - "GET /orgs/:org/hooks/:hook_id": { - parameters: OrgsGetWebhookEndpoint; - request: OrgsGetWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app - */ - "GET /orgs/:org/installation": { - parameters: AppsGetOrgInstallationEndpoint; - request: AppsGetOrgInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization - */ - "GET /orgs/:org/installations": { - parameters: OrgsListAppInstallationsEndpoint; - request: OrgsListAppInstallationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/orgs/#get-interaction-restrictions-for-an-organization - */ - "GET /orgs/:org/interaction-limits": { - parameters: InteractionsGetRestrictionsForOrgEndpoint; - request: InteractionsGetRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations - */ - "GET /orgs/:org/invitations": { - parameters: OrgsListPendingInvitationsEndpoint; - request: OrgsListPendingInvitationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-invitation-teams - */ - "GET /orgs/:org/invitations/:invitation_id/teams": { - parameters: OrgsListInvitationTeamsEndpoint; - request: OrgsListInvitationTeamsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user - */ - "GET /orgs/:org/issues": { - parameters: IssuesListForOrgEndpoint; - request: IssuesListForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-members - */ - "GET /orgs/:org/members": { - parameters: OrgsListMembersEndpoint; - request: OrgsListMembersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#check-organization-membership-for-a-user - */ - "GET /orgs/:org/members/:username": { - parameters: OrgsCheckMembershipForUserEndpoint; - request: OrgsCheckMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#get-organization-membership-for-a-user - */ - "GET /orgs/:org/memberships/:username": { - parameters: OrgsGetMembershipForUserEndpoint; - request: OrgsGetMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#list-organization-migrations - */ - "GET /orgs/:org/migrations": { - parameters: MigrationsListForOrgEndpoint; - request: MigrationsListForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#get-an-organization-migration-status - */ - "GET /orgs/:org/migrations/:migration_id": { - parameters: MigrationsGetStatusForOrgEndpoint; - request: MigrationsGetStatusForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#download-an-organization-migration-archive - */ - "GET /orgs/:org/migrations/:migration_id/archive": { - parameters: MigrationsDownloadArchiveForOrgEndpoint; - request: MigrationsDownloadArchiveForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#list-repositories-in-an-organization-migration - */ - "GET /orgs/:org/migrations/:migration_id/repositories": { - parameters: MigrationsListReposForOrgEndpoint; - request: MigrationsListReposForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization - */ - "GET /orgs/:org/outside_collaborators": { - parameters: OrgsListOutsideCollaboratorsEndpoint; - request: OrgsListOutsideCollaboratorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#list-organization-projects - */ - "GET /orgs/:org/projects": { - parameters: ProjectsListForOrgEndpoint; - request: ProjectsListForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-public-organization-members - */ - "GET /orgs/:org/public_members": { - parameters: OrgsListPublicMembersEndpoint; - request: OrgsListPublicMembersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#check-public-organization-membership-for-a-user - */ - "GET /orgs/:org/public_members/:username": { - parameters: OrgsCheckPublicMembershipForUserEndpoint; - request: OrgsCheckPublicMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-organization-repositories - */ - "GET /orgs/:org/repos": { - parameters: ReposListForOrgEndpoint; - request: ReposListForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-github-actions-billing-for-an-organization - */ - "GET /orgs/:org/settings/billing/actions": { - parameters: BillingGetGithubActionsBillingOrgEndpoint; - request: BillingGetGithubActionsBillingOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-github-packages-billing-for-an-organization - */ - "GET /orgs/:org/settings/billing/packages": { - parameters: BillingGetGithubPackagesBillingOrgEndpoint; - request: BillingGetGithubPackagesBillingOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-shared-storage-billing-for-an-organization - */ - "GET /orgs/:org/settings/billing/shared-storage": { - parameters: BillingGetSharedStorageBillingOrgEndpoint; - request: BillingGetSharedStorageBillingOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-an-organization - */ - "GET /orgs/:org/team-sync/groups": { - parameters: TeamsListIdPGroupsForOrgEndpoint; - request: TeamsListIdPGroupsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-teams - */ - "GET /orgs/:org/teams": { - parameters: TeamsListEndpoint; - request: TeamsListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#get-a-team-by-name - */ - "GET /orgs/:org/teams/:team_slug": { - parameters: TeamsGetByNameEndpoint; - request: TeamsGetByNameRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#list-discussions - */ - "GET /orgs/:org/teams/:team_slug/discussions": { - parameters: TeamsListDiscussionsInOrgEndpoint; - request: TeamsListDiscussionsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#get-a-discussion - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsGetDiscussionInOrgEndpoint; - request: TeamsGetDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": { - parameters: TeamsListDiscussionCommentsInOrgEndpoint; - request: TeamsListDiscussionCommentsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsGetDiscussionCommentInOrgEndpoint; - request: TeamsGetDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsListForTeamDiscussionCommentInOrgEndpoint; - request: ReactionsListForTeamDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion - */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions": { - parameters: ReactionsListForTeamDiscussionInOrgEndpoint; - request: ReactionsListForTeamDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations - */ - "GET /orgs/:org/teams/:team_slug/invitations": { - parameters: TeamsListPendingInvitationsInOrgEndpoint; - request: TeamsListPendingInvitationsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-team-members - */ - "GET /orgs/:org/teams/:team_slug/members": { - parameters: TeamsListMembersInOrgEndpoint; - request: TeamsListMembersInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user - */ - "GET /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsGetMembershipForUserInOrgEndpoint; - request: TeamsGetMembershipForUserInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-projects - */ - "GET /orgs/:org/teams/:team_slug/projects": { - parameters: TeamsListProjectsInOrgEndpoint; - request: TeamsListProjectsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-project - */ - "GET /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsCheckPermissionsForProjectInOrgEndpoint; - request: TeamsCheckPermissionsForProjectInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-repositories - */ - "GET /orgs/:org/teams/:team_slug/repos": { - parameters: TeamsListReposInOrgEndpoint; - request: TeamsListReposInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository - */ - "GET /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsCheckPermissionsForRepoInOrgEndpoint; - request: TeamsCheckPermissionsForRepoInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team - */ - "GET /orgs/:org/teams/:team_slug/team-sync/group-mappings": { - parameters: TeamsListIdPGroupsInOrgEndpoint; - request: TeamsListIdPGroupsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-child-teams - */ - "GET /orgs/:org/teams/:team_slug/teams": { - parameters: TeamsListChildInOrgEndpoint; - request: TeamsListChildInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#get-a-project - */ - "GET /projects/:project_id": { - parameters: ProjectsGetEndpoint; - request: ProjectsGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#list-project-collaborators - */ - "GET /projects/:project_id/collaborators": { - parameters: ProjectsListCollaboratorsEndpoint; - request: ProjectsListCollaboratorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#get-project-permission-for-a-user - */ - "GET /projects/:project_id/collaborators/:username/permission": { - parameters: ProjectsGetPermissionForUserEndpoint; - request: ProjectsGetPermissionForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#list-project-columns - */ - "GET /projects/:project_id/columns": { - parameters: ProjectsListColumnsEndpoint; - request: ProjectsListColumnsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#get-a-project-column - */ - "GET /projects/columns/:column_id": { - parameters: ProjectsGetColumnEndpoint; - request: ProjectsGetColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#list-project-cards - */ - "GET /projects/columns/:column_id/cards": { - parameters: ProjectsListCardsEndpoint; - request: ProjectsListCardsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#get-a-project-card - */ - "GET /projects/columns/cards/:card_id": { - parameters: ProjectsGetCardEndpoint; - request: ProjectsGetCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user - */ - "GET /rate_limit": { - parameters: RateLimitGetEndpoint; - request: RateLimitGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#get-a-repository - */ - "GET /repos/:owner/:repo": { - parameters: ReposGetEndpoint; - request: ReposGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#download-a-repository-archive - */ - "GET /repos/:owner/:repo/:archive_format/:ref": { - parameters: ReposDownloadArchiveEndpoint; - request: ReposDownloadArchiveRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#list-artifacts-for-a-repository - */ - "GET /repos/:owner/:repo/actions/artifacts": { - parameters: ActionsListArtifactsForRepoEndpoint; - request: ActionsListArtifactsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#get-an-artifact - */ - "GET /repos/:owner/:repo/actions/artifacts/:artifact_id": { - parameters: ActionsGetArtifactEndpoint; - request: ActionsGetArtifactRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#download-an-artifact - */ - "GET /repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format": { - parameters: ActionsDownloadArtifactEndpoint; - request: ActionsDownloadArtifactRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#get-a-job-for-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/jobs/:job_id": { - parameters: ActionsGetJobForWorkflowRunEndpoint; - request: ActionsGetJobForWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#download-job-logs-for-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/jobs/:job_id/logs": { - parameters: ActionsDownloadJobLogsForWorkflowRunEndpoint; - request: ActionsDownloadJobLogsForWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runners": { - parameters: ActionsListSelfHostedRunnersForRepoEndpoint; - request: ActionsListSelfHostedRunnersForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#get-a-self-hosted-runner-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runners/:runner_id": { - parameters: ActionsGetSelfHostedRunnerForRepoEndpoint; - request: ActionsGetSelfHostedRunnerForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runners/downloads": { - parameters: ActionsListRunnerApplicationsForRepoEndpoint; - request: ActionsListRunnerApplicationsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs-for-a-repository - */ - "GET /repos/:owner/:repo/actions/runs": { - parameters: ActionsListWorkflowRunsForRepoEndpoint; - request: ActionsListWorkflowRunsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#get-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/runs/:run_id": { - parameters: ActionsGetWorkflowRunEndpoint; - request: ActionsGetWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/artifacts/#list-workflow-run-artifacts - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/artifacts": { - parameters: ActionsListWorkflowRunArtifactsEndpoint; - request: ActionsListWorkflowRunArtifactsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#list-jobs-for-a-workflow-run - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/jobs": { - parameters: ActionsListJobsForWorkflowRunEndpoint; - request: ActionsListJobsForWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#download-workflow-run-logs - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/logs": { - parameters: ActionsDownloadWorkflowRunLogsEndpoint; - request: ActionsDownloadWorkflowRunLogsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#get-workflow-run-usage - */ - "GET /repos/:owner/:repo/actions/runs/:run_id/timing": { - parameters: ActionsGetWorkflowRunUsageEndpoint; - request: ActionsGetWorkflowRunUsageRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#list-repository-secrets - */ - "GET /repos/:owner/:repo/actions/secrets": { - parameters: ActionsListRepoSecretsEndpoint; - request: ActionsListRepoSecretsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#get-a-repository-secret - */ - "GET /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsGetRepoSecretEndpoint; - request: ActionsGetRepoSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key - */ - "GET /repos/:owner/:repo/actions/secrets/public-key": { - parameters: ActionsGetRepoPublicKeyEndpoint; - request: ActionsGetRepoPublicKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflows/#list-repository-workflows - */ - "GET /repos/:owner/:repo/actions/workflows": { - parameters: ActionsListRepoWorkflowsEndpoint; - request: ActionsListRepoWorkflowsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflows/#get-a-workflow - */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id": { - parameters: ActionsGetWorkflowEndpoint; - request: ActionsGetWorkflowRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs - */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs": { - parameters: ActionsListWorkflowRunsEndpoint; - request: ActionsListWorkflowRunsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflows/#get-workflow-usage - */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id/timing": { - parameters: ActionsGetWorkflowUsageEndpoint; - request: ActionsGetWorkflowUsageRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#list-assignees - */ - "GET /repos/:owner/:repo/assignees": { - parameters: IssuesListAssigneesEndpoint; - request: IssuesListAssigneesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#check-if-a-user-can-be-assigned - */ - "GET /repos/:owner/:repo/assignees/:assignee": { - parameters: IssuesCheckUserCanBeAssignedEndpoint; - request: IssuesCheckUserCanBeAssignedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-branches - */ - "GET /repos/:owner/:repo/branches": { - parameters: ReposListBranchesEndpoint; - request: ReposListBranchesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-a-branch - */ - "GET /repos/:owner/:repo/branches/:branch": { - parameters: ReposGetBranchEndpoint; - request: ReposGetBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-branch-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposGetBranchProtectionEndpoint; - request: ReposGetBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-admin-branch-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposGetAdminBranchProtectionEndpoint; - request: ReposGetAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-pull-request-review-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposGetPullRequestReviewProtectionEndpoint; - request: ReposGetPullRequestReviewProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-commit-signature-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposGetCommitSignatureProtectionEndpoint; - request: ReposGetCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-status-checks-protection - */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposGetStatusChecksProtectionEndpoint; - request: ReposGetStatusChecksProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-all-status-check-contexts - */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposGetAllStatusCheckContextsEndpoint; - request: ReposGetAllStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#get-access-restrictions - */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions": { - parameters: ReposGetAccessRestrictionsEndpoint; - request: ReposGetAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-apps-with-access-to-the-protected-branch - */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposGetAppsWithAccessToProtectedBranchEndpoint; - request: ReposGetAppsWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-teams-with-access-to-the-protected-branch - */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposGetTeamsWithAccessToProtectedBranchEndpoint; - request: ReposGetTeamsWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#list-users-with-access-to-the-protected-branch - */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposGetUsersWithAccessToProtectedBranchEndpoint; - request: ReposGetUsersWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#get-a-check-run - */ - "GET /repos/:owner/:repo/check-runs/:check_run_id": { - parameters: ChecksGetEndpoint; - request: ChecksGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-run-annotations - */ - "GET /repos/:owner/:repo/check-runs/:check_run_id/annotations": { - parameters: ChecksListAnnotationsEndpoint; - request: ChecksListAnnotationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#get-a-check-suite - */ - "GET /repos/:owner/:repo/check-suites/:check_suite_id": { - parameters: ChecksGetSuiteEndpoint; - request: ChecksGetSuiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-runs-in-a-check-suite - */ - "GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs": { - parameters: ChecksListForSuiteEndpoint; - request: ChecksListForSuiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository - */ - "GET /repos/:owner/:repo/code-scanning/alerts": { - parameters: CodeScanningListAlertsForRepoEndpoint; - request: CodeScanningListAlertsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/code-scanning/#get-a-code-scanning-alert - */ - "GET /repos/:owner/:repo/code-scanning/alerts/:alert_id": { - parameters: CodeScanningGetAlertEndpoint; - request: CodeScanningGetAlertRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators - */ - "GET /repos/:owner/:repo/collaborators": { - parameters: ReposListCollaboratorsEndpoint; - request: ReposListCollaboratorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-repository-collaborator - */ - "GET /repos/:owner/:repo/collaborators/:username": { - parameters: ReposCheckCollaboratorEndpoint; - request: ReposCheckCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#get-repository-permissions-for-a-user - */ - "GET /repos/:owner/:repo/collaborators/:username/permission": { - parameters: ReposGetCollaboratorPermissionLevelEndpoint; - request: ReposGetCollaboratorPermissionLevelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository - */ - "GET /repos/:owner/:repo/comments": { - parameters: ReposListCommitCommentsForRepoEndpoint; - request: ReposListCommitCommentsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#get-a-commit-comment - */ - "GET /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposGetCommitCommentEndpoint; - request: ReposGetCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment - */ - "GET /repos/:owner/:repo/comments/:comment_id/reactions": { - parameters: ReactionsListForCommitCommentEndpoint; - request: ReactionsListForCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-commits - */ - "GET /repos/:owner/:repo/commits": { - parameters: ReposListCommitsEndpoint; - request: ReposListCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-branches-for-head-commit - */ - "GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head": { - parameters: ReposListBranchesForHeadCommitEndpoint; - request: ReposListBranchesForHeadCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#list-commit-comments - */ - "GET /repos/:owner/:repo/commits/:commit_sha/comments": { - parameters: ReposListCommentsForCommitEndpoint; - request: ReposListCommentsForCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit - */ - "GET /repos/:owner/:repo/commits/:commit_sha/pulls": { - parameters: ReposListPullRequestsAssociatedWithCommitEndpoint; - request: ReposListPullRequestsAssociatedWithCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#get-a-commit - */ - "GET /repos/:owner/:repo/commits/:ref": { - parameters: ReposGetCommitEndpoint; - request: ReposGetCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-git-reference - */ - "GET /repos/:owner/:repo/commits/:ref/check-runs": { - parameters: ChecksListForRefEndpoint; - request: ChecksListForRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-git-reference - */ - "GET /repos/:owner/:repo/commits/:ref/check-suites": { - parameters: ChecksListSuitesForRefEndpoint; - request: ChecksListSuitesForRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-reference - */ - "GET /repos/:owner/:repo/commits/:ref/status": { - parameters: ReposGetCombinedStatusForRefEndpoint; - request: ReposGetCombinedStatusForRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference - */ - "GET /repos/:owner/:repo/commits/:ref/statuses": { - parameters: ReposListCommitStatusesForRefEndpoint; - request: ReposListCommitStatusesForRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository - */ - "GET /repos/:owner/:repo/community/code_of_conduct": { - parameters: CodesOfConductGetForRepoEndpoint; - request: CodesOfConductGetForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/community/#get-community-profile-metrics - */ - "GET /repos/:owner/:repo/community/profile": { - parameters: ReposGetCommunityProfileMetricsEndpoint; - request: ReposGetCommunityProfileMetricsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/commits/#compare-two-commits - */ - "GET /repos/:owner/:repo/compare/:base...:head": { - parameters: ReposCompareCommitsEndpoint; - request: ReposCompareCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#get-repository-content - */ - "GET /repos/:owner/:repo/contents/:path": { - parameters: ReposGetContentEndpoint; - request: ReposGetContentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-contributors - */ - "GET /repos/:owner/:repo/contributors": { - parameters: ReposListContributorsEndpoint; - request: ReposListContributorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#list-deployments - */ - "GET /repos/:owner/:repo/deployments": { - parameters: ReposListDeploymentsEndpoint; - request: ReposListDeploymentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#get-a-deployment - */ - "GET /repos/:owner/:repo/deployments/:deployment_id": { - parameters: ReposGetDeploymentEndpoint; - request: ReposGetDeploymentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#list-deployment-statuses - */ - "GET /repos/:owner/:repo/deployments/:deployment_id/statuses": { - parameters: ReposListDeploymentStatusesEndpoint; - request: ReposListDeploymentStatusesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#get-a-deployment-status - */ - "GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id": { - parameters: ReposGetDeploymentStatusEndpoint; - request: ReposGetDeploymentStatusRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-repository-events - */ - "GET /repos/:owner/:repo/events": { - parameters: ActivityListRepoEventsEndpoint; - request: ActivityListRepoEventsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/forks/#list-forks - */ - "GET /repos/:owner/:repo/forks": { - parameters: ReposListForksEndpoint; - request: ReposListForksRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/blobs/#get-a-blob - */ - "GET /repos/:owner/:repo/git/blobs/:file_sha": { - parameters: GitGetBlobEndpoint; - request: GitGetBlobRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/commits/#get-a-commit - */ - "GET /repos/:owner/:repo/git/commits/:commit_sha": { - parameters: GitGetCommitEndpoint; - request: GitGetCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#list-matching-references - */ - "GET /repos/:owner/:repo/git/matching-refs/:ref": { - parameters: GitListMatchingRefsEndpoint; - request: GitListMatchingRefsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#get-a-reference - */ - "GET /repos/:owner/:repo/git/ref/:ref": { - parameters: GitGetRefEndpoint; - request: GitGetRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/tags/#get-a-tag - */ - "GET /repos/:owner/:repo/git/tags/:tag_sha": { - parameters: GitGetTagEndpoint; - request: GitGetTagRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/trees/#get-a-tree - */ - "GET /repos/:owner/:repo/git/trees/:tree_sha": { - parameters: GitGetTreeEndpoint; - request: GitGetTreeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#list-repository-webhooks - */ - "GET /repos/:owner/:repo/hooks": { - parameters: ReposListWebhooksEndpoint; - request: ReposListWebhooksRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#get-a-repository-webhook - */ - "GET /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposGetWebhookEndpoint; - request: ReposGetWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-an-import-status - */ - "GET /repos/:owner/:repo/import": { - parameters: MigrationsGetImportStatusEndpoint; - request: MigrationsGetImportStatusRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-commit-authors - */ - "GET /repos/:owner/:repo/import/authors": { - parameters: MigrationsGetCommitAuthorsEndpoint; - request: MigrationsGetCommitAuthorsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-large-files - */ - "GET /repos/:owner/:repo/import/large_files": { - parameters: MigrationsGetLargeFilesEndpoint; - request: MigrationsGetLargeFilesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app - */ - "GET /repos/:owner/:repo/installation": { - parameters: AppsGetRepoInstallationEndpoint; - request: AppsGetRepoInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/repos/#get-interaction-restrictions-for-a-repository - */ - "GET /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsGetRestrictionsForRepoEndpoint; - request: InteractionsGetRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations - */ - "GET /repos/:owner/:repo/invitations": { - parameters: ReposListInvitationsEndpoint; - request: ReposListInvitationsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#list-repository-issues - */ - "GET /repos/:owner/:repo/issues": { - parameters: IssuesListForRepoEndpoint; - request: IssuesListForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#get-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number": { - parameters: IssuesGetEndpoint; - request: IssuesGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#list-issue-comments - */ - "GET /repos/:owner/:repo/issues/:issue_number/comments": { - parameters: IssuesListCommentsEndpoint; - request: IssuesListCommentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/events/#list-issue-events - */ - "GET /repos/:owner/:repo/issues/:issue_number/events": { - parameters: IssuesListEventsEndpoint; - request: IssuesListEventsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesListLabelsOnIssueEndpoint; - request: IssuesListLabelsOnIssueRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/reactions": { - parameters: ReactionsListForIssueEndpoint; - request: ReactionsListForIssueRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/timeline/#list-timeline-events-for-an-issue - */ - "GET /repos/:owner/:repo/issues/:issue_number/timeline": { - parameters: IssuesListEventsForTimelineEndpoint; - request: IssuesListEventsForTimelineRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#list-issue-comments-for-a-repository - */ - "GET /repos/:owner/:repo/issues/comments": { - parameters: IssuesListCommentsForRepoEndpoint; - request: IssuesListCommentsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#get-an-issue-comment - */ - "GET /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesGetCommentEndpoint; - request: IssuesGetCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment - */ - "GET /repos/:owner/:repo/issues/comments/:comment_id/reactions": { - parameters: ReactionsListForIssueCommentEndpoint; - request: ReactionsListForIssueCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/events/#list-issue-events-for-a-repository - */ - "GET /repos/:owner/:repo/issues/events": { - parameters: IssuesListEventsForRepoEndpoint; - request: IssuesListEventsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/events/#get-an-issue-event - */ - "GET /repos/:owner/:repo/issues/events/:event_id": { - parameters: IssuesGetEventEndpoint; - request: IssuesGetEventRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#list-deploy-keys - */ - "GET /repos/:owner/:repo/keys": { - parameters: ReposListDeployKeysEndpoint; - request: ReposListDeployKeysRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#get-a-deploy-key - */ - "GET /repos/:owner/:repo/keys/:key_id": { - parameters: ReposGetDeployKeyEndpoint; - request: ReposGetDeployKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-a-repository - */ - "GET /repos/:owner/:repo/labels": { - parameters: IssuesListLabelsForRepoEndpoint; - request: IssuesListLabelsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#get-a-label - */ - "GET /repos/:owner/:repo/labels/:name": { - parameters: IssuesGetLabelEndpoint; - request: IssuesGetLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-languages - */ - "GET /repos/:owner/:repo/languages": { - parameters: ReposListLanguagesEndpoint; - request: ReposListLanguagesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/licenses/#get-the-license-for-a-repository - */ - "GET /repos/:owner/:repo/license": { - parameters: LicensesGetForRepoEndpoint; - request: LicensesGetForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#list-milestones - */ - "GET /repos/:owner/:repo/milestones": { - parameters: IssuesListMilestonesEndpoint; - request: IssuesListMilestonesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#get-a-milestone - */ - "GET /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesGetMilestoneEndpoint; - request: IssuesGetMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-issues-in-a-milestone - */ - "GET /repos/:owner/:repo/milestones/:milestone_number/labels": { - parameters: IssuesListLabelsForMilestoneEndpoint; - request: IssuesListLabelsForMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user - */ - "GET /repos/:owner/:repo/notifications": { - parameters: ActivityListRepoNotificationsForAuthenticatedUserEndpoint; - request: ActivityListRepoNotificationsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#get-a-github-pages-site - */ - "GET /repos/:owner/:repo/pages": { - parameters: ReposGetPagesEndpoint; - request: ReposGetPagesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#list-github-pages-builds - */ - "GET /repos/:owner/:repo/pages/builds": { - parameters: ReposListPagesBuildsEndpoint; - request: ReposListPagesBuildsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#get-github-pages-build - */ - "GET /repos/:owner/:repo/pages/builds/:build_id": { - parameters: ReposGetPagesBuildEndpoint; - request: ReposGetPagesBuildRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#get-latest-pages-build - */ - "GET /repos/:owner/:repo/pages/builds/latest": { - parameters: ReposGetLatestPagesBuildEndpoint; - request: ReposGetLatestPagesBuildRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#list-repository-projects - */ - "GET /repos/:owner/:repo/projects": { - parameters: ProjectsListForRepoEndpoint; - request: ProjectsListForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-pull-requests - */ - "GET /repos/:owner/:repo/pulls": { - parameters: PullsListEndpoint; - request: PullsListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#get-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number": { - parameters: PullsGetEndpoint; - request: PullsGetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/comments": { - parameters: PullsListReviewCommentsEndpoint; - request: PullsListReviewCommentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/commits": { - parameters: PullsListCommitsEndpoint; - request: PullsListCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#list-pull-requests-files - */ - "GET /repos/:owner/:repo/pulls/:pull_number/files": { - parameters: PullsListFilesEndpoint; - request: PullsListFilesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged - */ - "GET /repos/:owner/:repo/pulls/:pull_number/merge": { - parameters: PullsCheckIfMergedEndpoint; - request: PullsCheckIfMergedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsListRequestedReviewersEndpoint; - request: PullsListRequestedReviewersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews": { - parameters: PullsListReviewsEndpoint; - request: PullsListReviewsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#get-a-review-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsGetReviewEndpoint; - request: PullsGetReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review - */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments": { - parameters: PullsListCommentsForReviewEndpoint; - request: PullsListCommentsForReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository - */ - "GET /repos/:owner/:repo/pulls/comments": { - parameters: PullsListReviewCommentsForRepoEndpoint; - request: PullsListReviewCommentsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#get-a-review-comment-for-a-pull-request - */ - "GET /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsGetReviewCommentEndpoint; - request: PullsGetReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment - */ - "GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions": { - parameters: ReactionsListForPullRequestReviewCommentEndpoint; - request: ReactionsListForPullRequestReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#get-a-repository-readme - */ - "GET /repos/:owner/:repo/readme": { - parameters: ReposGetReadmeEndpoint; - request: ReposGetReadmeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#list-releases - */ - "GET /repos/:owner/:repo/releases": { - parameters: ReposListReleasesEndpoint; - request: ReposListReleasesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release - */ - "GET /repos/:owner/:repo/releases/:release_id": { - parameters: ReposGetReleaseEndpoint; - request: ReposGetReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#list-release-assets - */ - "GET /repos/:owner/:repo/releases/:release_id/assets": { - parameters: ReposListReleaseAssetsEndpoint; - request: ReposListReleaseAssetsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release-asset - */ - "GET /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposGetReleaseAssetEndpoint; - request: ReposGetReleaseAssetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#get-the-latest-release - */ - "GET /repos/:owner/:repo/releases/latest": { - parameters: ReposGetLatestReleaseEndpoint; - request: ReposGetLatestReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name - */ - "GET /repos/:owner/:repo/releases/tags/:tag": { - parameters: ReposGetReleaseByTagEndpoint; - request: ReposGetReleaseByTagRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-stargazers - */ - "GET /repos/:owner/:repo/stargazers": { - parameters: ActivityListStargazersForRepoEndpoint; - request: ActivityListStargazersForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-activity - */ - "GET /repos/:owner/:repo/stats/code_frequency": { - parameters: ReposGetCodeFrequencyStatsEndpoint; - request: ReposGetCodeFrequencyStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity - */ - "GET /repos/:owner/:repo/stats/commit_activity": { - parameters: ReposGetCommitActivityStatsEndpoint; - request: ReposGetCommitActivityStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-all-contributor-commit-activity - */ - "GET /repos/:owner/:repo/stats/contributors": { - parameters: ReposGetContributorsStatsEndpoint; - request: ReposGetContributorsStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count - */ - "GET /repos/:owner/:repo/stats/participation": { - parameters: ReposGetParticipationStatsEndpoint; - request: ReposGetParticipationStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-hourly-commit-count-for-each-day - */ - "GET /repos/:owner/:repo/stats/punch_card": { - parameters: ReposGetPunchCardStatsEndpoint; - request: ReposGetPunchCardStatsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-watchers - */ - "GET /repos/:owner/:repo/subscribers": { - parameters: ActivityListWatchersForRepoEndpoint; - request: ActivityListWatchersForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#get-a-repository-subscription - */ - "GET /repos/:owner/:repo/subscription": { - parameters: ActivityGetRepoSubscriptionEndpoint; - request: ActivityGetRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-tags - */ - "GET /repos/:owner/:repo/tags": { - parameters: ReposListTagsEndpoint; - request: ReposListTagsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repository-teams - */ - "GET /repos/:owner/:repo/teams": { - parameters: ReposListTeamsEndpoint; - request: ReposListTeamsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#get-all-repository-topics - */ - "GET /repos/:owner/:repo/topics": { - parameters: ReposGetAllTopicsEndpoint; - request: ReposGetAllTopicsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/traffic/#get-repository-clones - */ - "GET /repos/:owner/:repo/traffic/clones": { - parameters: ReposGetClonesEndpoint; - request: ReposGetClonesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/traffic/#get-top-referral-paths - */ - "GET /repos/:owner/:repo/traffic/popular/paths": { - parameters: ReposGetTopPathsEndpoint; - request: ReposGetTopPathsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/traffic/#get-top-referral-sources - */ - "GET /repos/:owner/:repo/traffic/popular/referrers": { - parameters: ReposGetTopReferrersEndpoint; - request: ReposGetTopReferrersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/traffic/#get-page-views - */ - "GET /repos/:owner/:repo/traffic/views": { - parameters: ReposGetViewsEndpoint; - request: ReposGetViewsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository - */ - "GET /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposCheckVulnerabilityAlertsEndpoint; - request: ReposCheckVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-public-repositories - */ - "GET /repositories": { - parameters: ReposListPublicEndpoint; - request: ReposListPublicRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#list-scim-provisioned-identities - */ - "GET /scim/v2/organizations/:org/Users": { - parameters: ScimListProvisionedIdentitiesEndpoint; - request: ScimListProvisionedIdentitiesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#get-scim-provisioning-information-for-a-user - */ - "GET /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimGetProvisioningInformationForUserEndpoint; - request: ScimGetProvisioningInformationForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-code - */ - "GET /search/code": { - parameters: SearchCodeEndpoint; - request: SearchCodeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-commits - */ - "GET /search/commits": { - parameters: SearchCommitsEndpoint; - request: SearchCommitsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-issues-and-pull-requests - */ - "GET /search/issues": { - parameters: SearchIssuesAndPullRequestsEndpoint; - request: SearchIssuesAndPullRequestsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-labels - */ - "GET /search/labels": { - parameters: SearchLabelsEndpoint; - request: SearchLabelsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-repositories - */ - "GET /search/repositories": { - parameters: SearchReposEndpoint; - request: SearchReposRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-topics - */ - "GET /search/topics": { - parameters: SearchTopicsEndpoint; - request: SearchTopicsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/search/#search-users - */ - "GET /search/users": { - parameters: SearchUsersEndpoint; - request: SearchUsersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#get-a-team-legacy - */ - "GET /teams/:team_id": { - parameters: TeamsGetLegacyEndpoint; - request: TeamsGetLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy - */ - "GET /teams/:team_id/discussions": { - parameters: TeamsListDiscussionsLegacyEndpoint; - request: TeamsListDiscussionsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#get-a-discussion-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsGetDiscussionLegacyEndpoint; - request: TeamsGetDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/comments": { - parameters: TeamsListDiscussionCommentsLegacyEndpoint; - request: TeamsListDiscussionCommentsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsGetDiscussionCommentLegacyEndpoint; - request: TeamsGetDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsListForTeamDiscussionCommentLegacyEndpoint; - request: ReactionsListForTeamDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy - */ - "GET /teams/:team_id/discussions/:discussion_number/reactions": { - parameters: ReactionsListForTeamDiscussionLegacyEndpoint; - request: ReactionsListForTeamDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy - */ - "GET /teams/:team_id/invitations": { - parameters: TeamsListPendingInvitationsLegacyEndpoint; - request: TeamsListPendingInvitationsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#list-team-members-legacy - */ - "GET /teams/:team_id/members": { - parameters: TeamsListMembersLegacyEndpoint; - request: TeamsListMembersLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#get-team-member-legacy - */ - "GET /teams/:team_id/members/:username": { - parameters: TeamsGetMemberLegacyEndpoint; - request: TeamsGetMemberLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user-legacy - */ - "GET /teams/:team_id/memberships/:username": { - parameters: TeamsGetMembershipForUserLegacyEndpoint; - request: TeamsGetMembershipForUserLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-projects-legacy - */ - "GET /teams/:team_id/projects": { - parameters: TeamsListProjectsLegacyEndpoint; - request: TeamsListProjectsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-project-legacy - */ - "GET /teams/:team_id/projects/:project_id": { - parameters: TeamsCheckPermissionsForProjectLegacyEndpoint; - request: TeamsCheckPermissionsForProjectLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-team-repositories-legacy - */ - "GET /teams/:team_id/repos": { - parameters: TeamsListReposLegacyEndpoint; - request: TeamsListReposLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository-legacy - */ - "GET /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsCheckPermissionsForRepoLegacyEndpoint; - request: TeamsCheckPermissionsForRepoLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team-legacy - */ - "GET /teams/:team_id/team-sync/group-mappings": { - parameters: TeamsListIdPGroupsForLegacyEndpoint; - request: TeamsListIdPGroupsForLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-child-teams-legacy - */ - "GET /teams/:team_id/teams": { - parameters: TeamsListChildLegacyEndpoint; - request: TeamsListChildLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#get-the-authenticated-user - */ - "GET /user": { - parameters: UsersGetAuthenticatedEndpoint; - request: UsersGetAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration - */ - "GET /user/:migration_id/repositories": { - parameters: MigrationsListReposForUserEndpoint; - request: MigrationsListReposForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user - */ - "GET /user/blocks": { - parameters: UsersListBlockedByAuthenticatedEndpoint; - request: UsersListBlockedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#check-if-a-user-is-blocked-by-the-authenticated-user - */ - "GET /user/blocks/:username": { - parameters: UsersCheckBlockedEndpoint; - request: UsersCheckBlockedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#list-email-addresses-for-the-authenticated-user - */ - "GET /user/emails": { - parameters: UsersListEmailsForAuthenticatedEndpoint; - request: UsersListEmailsForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-followers-of-the-authenticated-user - */ - "GET /user/followers": { - parameters: UsersListFollowersForAuthenticatedUserEndpoint; - request: UsersListFollowersForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-the-people-the-authenticated-user-follows - */ - "GET /user/following": { - parameters: UsersListFollowedByAuthenticatedEndpoint; - request: UsersListFollowedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#check-if-a-person-is-followed-by-the-authenticated-user - */ - "GET /user/following/:username": { - parameters: UsersCheckPersonIsFollowedByAuthenticatedEndpoint; - request: UsersCheckPersonIsFollowedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-the-authenticated-user - */ - "GET /user/gpg_keys": { - parameters: UsersListGpgKeysForAuthenticatedEndpoint; - request: UsersListGpgKeysForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#get-a-gpg-key-for-the-authenticated-user - */ - "GET /user/gpg_keys/:gpg_key_id": { - parameters: UsersGetGpgKeyForAuthenticatedEndpoint; - request: UsersGetGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token - */ - "GET /user/installations": { - parameters: AppsListInstallationsForAuthenticatedUserEndpoint; - request: AppsListInstallationsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token - */ - "GET /user/installations/:installation_id/repositories": { - parameters: AppsListInstallationReposForAuthenticatedUserEndpoint; - request: AppsListInstallationReposForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user - */ - "GET /user/issues": { - parameters: IssuesListForAuthenticatedUserEndpoint; - request: IssuesListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#list-public-ssh-keys-for-the-authenticated-user - */ - "GET /user/keys": { - parameters: UsersListPublicSshKeysForAuthenticatedEndpoint; - request: UsersListPublicSshKeysForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#get-a-public-ssh-key-for-the-authenticated-user - */ - "GET /user/keys/:key_id": { - parameters: UsersGetPublicSshKeyForAuthenticatedEndpoint; - request: UsersGetPublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user - */ - "GET /user/marketplace_purchases": { - parameters: AppsListSubscriptionsForAuthenticatedUserEndpoint; - request: AppsListSubscriptionsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed - */ - "GET /user/marketplace_purchases/stubbed": { - parameters: AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint; - request: AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user - */ - "GET /user/memberships/orgs": { - parameters: OrgsListMembershipsForAuthenticatedUserEndpoint; - request: OrgsListMembershipsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#get-an-organization-membership-for-the-authenticated-user - */ - "GET /user/memberships/orgs/:org": { - parameters: OrgsGetMembershipForAuthenticatedUserEndpoint; - request: OrgsGetMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#list-user-migrations - */ - "GET /user/migrations": { - parameters: MigrationsListForAuthenticatedUserEndpoint; - request: MigrationsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#get-a-user-migration-status - */ - "GET /user/migrations/:migration_id": { - parameters: MigrationsGetStatusForAuthenticatedUserEndpoint; - request: MigrationsGetStatusForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#download-a-user-migration-archive - */ - "GET /user/migrations/:migration_id/archive": { - parameters: MigrationsGetArchiveForAuthenticatedUserEndpoint; - request: MigrationsGetArchiveForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user - */ - "GET /user/orgs": { - parameters: OrgsListForAuthenticatedUserEndpoint; - request: OrgsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-the-authenticated-user - */ - "GET /user/public_emails": { - parameters: UsersListPublicEmailsForAuthenticatedEndpoint; - request: UsersListPublicEmailsForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repositories-for-the-authenticated-user - */ - "GET /user/repos": { - parameters: ReposListForAuthenticatedUserEndpoint; - request: ReposListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user - */ - "GET /user/repository_invitations": { - parameters: ReposListInvitationsForAuthenticatedUserEndpoint; - request: ReposListInvitationsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user - */ - "GET /user/starred": { - parameters: ActivityListReposStarredByAuthenticatedUserEndpoint; - request: ActivityListReposStarredByAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#check-if-a-repository-is-starred-by-the-authenticated-user - */ - "GET /user/starred/:owner/:repo": { - parameters: ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint; - request: ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user - */ - "GET /user/subscriptions": { - parameters: ActivityListWatchedReposForAuthenticatedUserEndpoint; - request: ActivityListWatchedReposForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#list-teams-for-the-authenticated-user - */ - "GET /user/teams": { - parameters: TeamsListForAuthenticatedUserEndpoint; - request: TeamsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#list-users - */ - "GET /users": { - parameters: UsersListEndpoint; - request: UsersListRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#get-a-user - */ - "GET /users/:username": { - parameters: UsersGetByUsernameEndpoint; - request: UsersGetByUsernameRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-events-for-the-authenticated-user - */ - "GET /users/:username/events": { - parameters: ActivityListEventsForAuthenticatedUserEndpoint; - request: ActivityListEventsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-organization-events-for-the-authenticated-user - */ - "GET /users/:username/events/orgs/:org": { - parameters: ActivityListOrgEventsForAuthenticatedUserEndpoint; - request: ActivityListOrgEventsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-for-a-user - */ - "GET /users/:username/events/public": { - parameters: ActivityListPublicEventsForUserEndpoint; - request: ActivityListPublicEventsForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-followers-of-a-user - */ - "GET /users/:username/followers": { - parameters: UsersListFollowersForUserEndpoint; - request: UsersListFollowersForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#list-the-people-a-user-follows - */ - "GET /users/:username/following": { - parameters: UsersListFollowingForUserEndpoint; - request: UsersListFollowingForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#check-if-a-user-follows-another-user - */ - "GET /users/:username/following/:target_user": { - parameters: UsersCheckFollowingForUserEndpoint; - request: UsersCheckFollowingForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#list-gists-for-a-user - */ - "GET /users/:username/gists": { - parameters: GistsListForUserEndpoint; - request: GistsListForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-a-user - */ - "GET /users/:username/gpg_keys": { - parameters: UsersListGpgKeysForUserEndpoint; - request: UsersListGpgKeysForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#get-contextual-information-for-a-user - */ - "GET /users/:username/hovercard": { - parameters: UsersGetContextForUserEndpoint; - request: UsersGetContextForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app - */ - "GET /users/:username/installation": { - parameters: AppsGetUserInstallationEndpoint; - request: AppsGetUserInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user - */ - "GET /users/:username/keys": { - parameters: UsersListPublicKeysForUserEndpoint; - request: UsersListPublicKeysForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#list-organizations-for-a-user - */ - "GET /users/:username/orgs": { - parameters: OrgsListForUserEndpoint; - request: OrgsListForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#list-user-projects - */ - "GET /users/:username/projects": { - parameters: ProjectsListForUserEndpoint; - request: ProjectsListForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-events-received-by-the-authenticated-user - */ - "GET /users/:username/received_events": { - parameters: ActivityListReceivedEventsForUserEndpoint; - request: ActivityListReceivedEventsForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-received-by-a-user - */ - "GET /users/:username/received_events/public": { - parameters: ActivityListReceivedPublicEventsForUserEndpoint; - request: ActivityListReceivedPublicEventsForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#list-repositories-for-a-user - */ - "GET /users/:username/repos": { - parameters: ReposListForUserEndpoint; - request: ReposListForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-github-actions-billing-for-a-user - */ - "GET /users/:username/settings/billing/actions": { - parameters: BillingGetGithubActionsBillingUserEndpoint; - request: BillingGetGithubActionsBillingUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-github-packages-billing-for-a-user - */ - "GET /users/:username/settings/billing/packages": { - parameters: BillingGetGithubPackagesBillingUserEndpoint; - request: BillingGetGithubPackagesBillingUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/billing/#get-shared-storage-billing-for-a-user - */ - "GET /users/:username/settings/billing/shared-storage": { - parameters: BillingGetSharedStorageBillingUserEndpoint; - request: BillingGetSharedStorageBillingUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-a-user - */ - "GET /users/:username/starred": { - parameters: ActivityListReposStarredByUserEndpoint; - request: ActivityListReposStarredByUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-a-user - */ - "GET /users/:username/subscriptions": { - parameters: ActivityListReposWatchedByUserEndpoint; - request: ActivityListReposWatchedByUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#reset-a-token - */ - "PATCH /applications/:client_id/token": { - parameters: AppsResetTokenEndpoint; - request: AppsResetTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization - */ - "PATCH /authorizations/:authorization_id": { - parameters: OauthAuthorizationsUpdateAuthorizationEndpoint; - request: OauthAuthorizationsUpdateAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#update-a-gist - */ - "PATCH /gists/:gist_id": { - parameters: GistsUpdateEndpoint; - request: GistsUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#update-a-gist-comment - */ - "PATCH /gists/:gist_id/comments/:comment_id": { - parameters: GistsUpdateCommentEndpoint; - request: GistsUpdateCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read - */ - "PATCH /notifications/threads/:thread_id": { - parameters: ActivityMarkThreadAsReadEndpoint; - request: ActivityMarkThreadAsReadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/#update-an-organization - */ - "PATCH /orgs/:org": { - parameters: OrgsUpdateEndpoint; - request: OrgsUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#update-an-organization-webhook - */ - "PATCH /orgs/:org/hooks/:hook_id": { - parameters: OrgsUpdateWebhookEndpoint; - request: OrgsUpdateWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#update-a-team - */ - "PATCH /orgs/:org/teams/:team_slug": { - parameters: TeamsUpdateInOrgEndpoint; - request: TeamsUpdateInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#update-a-discussion - */ - "PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsUpdateDiscussionInOrgEndpoint; - request: TeamsUpdateDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment - */ - "PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsUpdateDiscussionCommentInOrgEndpoint; - request: TeamsUpdateDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections - */ - "PATCH /orgs/:org/teams/:team_slug/team-sync/group-mappings": { - parameters: TeamsCreateOrUpdateIdPGroupConnectionsInOrgEndpoint; - request: TeamsCreateOrUpdateIdPGroupConnectionsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#update-a-project - */ - "PATCH /projects/:project_id": { - parameters: ProjectsUpdateEndpoint; - request: ProjectsUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#update-a-project-column - */ - "PATCH /projects/columns/:column_id": { - parameters: ProjectsUpdateColumnEndpoint; - request: ProjectsUpdateColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#update-a-project-card - */ - "PATCH /projects/columns/cards/:card_id": { - parameters: ProjectsUpdateCardEndpoint; - request: ProjectsUpdateCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#update-a-repository - */ - "PATCH /repos/:owner/:repo": { - parameters: ReposUpdateEndpoint; - request: ReposUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#update-pull-request-review-protection - */ - "PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposUpdatePullRequestReviewProtectionEndpoint; - request: ReposUpdatePullRequestReviewProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#update-status-check-potection - */ - "PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposUpdateStatusCheckPotectionEndpoint; - request: ReposUpdateStatusCheckPotectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#update-a-check-run - */ - "PATCH /repos/:owner/:repo/check-runs/:check_run_id": { - parameters: ChecksUpdateEndpoint; - request: ChecksUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites - */ - "PATCH /repos/:owner/:repo/check-suites/preferences": { - parameters: ChecksSetSuitesPreferencesEndpoint; - request: ChecksSetSuitesPreferencesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#update-a-commit-comment - */ - "PATCH /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposUpdateCommitCommentEndpoint; - request: ReposUpdateCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#update-a-reference - */ - "PATCH /repos/:owner/:repo/git/refs/:ref": { - parameters: GitUpdateRefEndpoint; - request: GitUpdateRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#update-a-repository-webhook - */ - "PATCH /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposUpdateWebhookEndpoint; - request: ReposUpdateWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#update-an-import - */ - "PATCH /repos/:owner/:repo/import": { - parameters: MigrationsUpdateImportEndpoint; - request: MigrationsUpdateImportRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#map-a-commit-author - */ - "PATCH /repos/:owner/:repo/import/authors/:author_id": { - parameters: MigrationsMapCommitAuthorEndpoint; - request: MigrationsMapCommitAuthorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#update-git-lfs-preference - */ - "PATCH /repos/:owner/:repo/import/lfs": { - parameters: MigrationsSetLfsPreferenceEndpoint; - request: MigrationsSetLfsPreferenceRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#update-a-repository-invitation - */ - "PATCH /repos/:owner/:repo/invitations/:invitation_id": { - parameters: ReposUpdateInvitationEndpoint; - request: ReposUpdateInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#update-an-issue - */ - "PATCH /repos/:owner/:repo/issues/:issue_number": { - parameters: IssuesUpdateEndpoint; - request: IssuesUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#update-an-issue-comment - */ - "PATCH /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesUpdateCommentEndpoint; - request: IssuesUpdateCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#update-a-label - */ - "PATCH /repos/:owner/:repo/labels/:name": { - parameters: IssuesUpdateLabelEndpoint; - request: IssuesUpdateLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#update-a-milestone - */ - "PATCH /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesUpdateMilestoneEndpoint; - request: IssuesUpdateMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#update-a-pull-request - */ - "PATCH /repos/:owner/:repo/pulls/:pull_number": { - parameters: PullsUpdateEndpoint; - request: PullsUpdateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#update-a-review-comment-for-a-pull-request - */ - "PATCH /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsUpdateReviewCommentEndpoint; - request: PullsUpdateReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#update-a-release - */ - "PATCH /repos/:owner/:repo/releases/:release_id": { - parameters: ReposUpdateReleaseEndpoint; - request: ReposUpdateReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#update-a-release-asset - */ - "PATCH /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposUpdateReleaseAssetEndpoint; - request: ReposUpdateReleaseAssetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#update-an-attribute-for-a-scim-user - */ - "PATCH /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimUpdateAttributeForUserEndpoint; - request: ScimUpdateAttributeForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#update-a-team-legacy - */ - "PATCH /teams/:team_id": { - parameters: TeamsUpdateLegacyEndpoint; - request: TeamsUpdateLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#update-a-discussion-legacy - */ - "PATCH /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsUpdateDiscussionLegacyEndpoint; - request: TeamsUpdateDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment-legacy - */ - "PATCH /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsUpdateDiscussionCommentLegacyEndpoint; - request: TeamsUpdateDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections-legacy - */ - "PATCH /teams/:team_id/team-sync/group-mappings": { - parameters: TeamsCreateOrUpdateIdPGroupConnectionsLegacyEndpoint; - request: TeamsCreateOrUpdateIdPGroupConnectionsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/#update-the-authenticated-user - */ - "PATCH /user": { - parameters: UsersUpdateAuthenticatedEndpoint; - request: UsersUpdateAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#set-primary-email-visibility-for-the-authenticated-user - */ - "PATCH /user/email/visibility": { - parameters: UsersSetPrimaryEmailVisibilityForAuthenticatedEndpoint; - request: UsersSetPrimaryEmailVisibilityForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#update-an-organization-membership-for-the-authenticated-user - */ - "PATCH /user/memberships/orgs/:org": { - parameters: OrgsUpdateMembershipForAuthenticatedUserEndpoint; - request: OrgsUpdateMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation - */ - "PATCH /user/repository_invitations/:invitation_id": { - parameters: ReposAcceptInvitationEndpoint; - request: ReposAcceptInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest - */ - "POST /app-manifests/:code/conversions": { - parameters: AppsCreateFromManifestEndpoint; - request: AppsCreateFromManifestRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app - */ - "POST /app/installations/:installation_id/access_tokens": { - parameters: AppsCreateInstallationAccessTokenEndpoint; - request: AppsCreateInstallationAccessTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#check-a-token - */ - "POST /applications/:client_id/token": { - parameters: AppsCheckTokenEndpoint; - request: AppsCheckTokenRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization - */ - "POST /applications/:client_id/tokens/:access_token": { - parameters: AppsResetAuthorizationEndpoint; - request: AppsResetAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization - */ - "POST /authorizations": { - parameters: OauthAuthorizationsCreateAuthorizationEndpoint; - request: OauthAuthorizationsCreateAuthorizationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#create-a-content-attachment - */ - "POST /content_references/:content_reference_id/attachments": { - parameters: AppsCreateContentAttachmentEndpoint; - request: AppsCreateContentAttachmentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#create-a-gist - */ - "POST /gists": { - parameters: GistsCreateEndpoint; - request: GistsCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/comments/#create-a-gist-comment - */ - "POST /gists/:gist_id/comments": { - parameters: GistsCreateCommentEndpoint; - request: GistsCreateCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#fork-a-gist - */ - "POST /gists/:gist_id/forks": { - parameters: GistsForkEndpoint; - request: GistsForkRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/markdown/#render-a-markdown-document - */ - "POST /markdown": { - parameters: MarkdownRenderEndpoint; - request: MarkdownRenderRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode - */ - "POST /markdown/raw": { - parameters: MarkdownRenderRawEndpoint; - request: MarkdownRenderRawRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-an-organization - */ - "POST /orgs/:org/actions/runners/registration-token": { - parameters: ActionsCreateRegistrationTokenForOrgEndpoint; - request: ActionsCreateRegistrationTokenForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-remove-token-for-an-organization - */ - "POST /orgs/:org/actions/runners/remove-token": { - parameters: ActionsCreateRemoveTokenForOrgEndpoint; - request: ActionsCreateRemoveTokenForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#create-an-organization-webhook - */ - "POST /orgs/:org/hooks": { - parameters: OrgsCreateWebhookEndpoint; - request: OrgsCreateWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/hooks/#ping-an-organization-webhook - */ - "POST /orgs/:org/hooks/:hook_id/pings": { - parameters: OrgsPingWebhookEndpoint; - request: OrgsPingWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#create-an-organization-invitation - */ - "POST /orgs/:org/invitations": { - parameters: OrgsCreateInvitationEndpoint; - request: OrgsCreateInvitationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/orgs/#start-an-organization-migration - */ - "POST /orgs/:org/migrations": { - parameters: MigrationsStartForOrgEndpoint; - request: MigrationsStartForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#create-an-organization-project - */ - "POST /orgs/:org/projects": { - parameters: ProjectsCreateForOrgEndpoint; - request: ProjectsCreateForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#create-an-organization-repository - */ - "POST /orgs/:org/repos": { - parameters: ReposCreateInOrgEndpoint; - request: ReposCreateInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#create-a-team - */ - "POST /orgs/:org/teams": { - parameters: TeamsCreateEndpoint; - request: TeamsCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#create-a-discussion - */ - "POST /orgs/:org/teams/:team_slug/discussions": { - parameters: TeamsCreateDiscussionInOrgEndpoint; - request: TeamsCreateDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment - */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": { - parameters: TeamsCreateDiscussionCommentInOrgEndpoint; - request: TeamsCreateDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment - */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionCommentInOrgEndpoint; - request: ReactionsCreateForTeamDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion - */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionInOrgEndpoint; - request: ReactionsCreateForTeamDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#create-a-project-column - */ - "POST /projects/:project_id/columns": { - parameters: ProjectsCreateColumnEndpoint; - request: ProjectsCreateColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#create-a-project-card - */ - "POST /projects/columns/:column_id/cards": { - parameters: ProjectsCreateCardEndpoint; - request: ProjectsCreateCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/columns/#move-a-project-column - */ - "POST /projects/columns/:column_id/moves": { - parameters: ProjectsMoveColumnEndpoint; - request: ProjectsMoveColumnRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/cards/#move-a-project-card - */ - "POST /projects/columns/cards/:card_id/moves": { - parameters: ProjectsMoveCardEndpoint; - request: ProjectsMoveCardRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-a-repository - */ - "POST /repos/:owner/:repo/actions/runners/registration-token": { - parameters: ActionsCreateRegistrationTokenForRepoEndpoint; - request: ActionsCreateRegistrationTokenForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-remove-token-for-a-repository - */ - "POST /repos/:owner/:repo/actions/runners/remove-token": { - parameters: ActionsCreateRemoveTokenForRepoEndpoint; - request: ActionsCreateRemoveTokenForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#cancel-a-workflow-run - */ - "POST /repos/:owner/:repo/actions/runs/:run_id/cancel": { - parameters: ActionsCancelWorkflowRunEndpoint; - request: ActionsCancelWorkflowRunRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflow-runs/#re-run-a-workflow - */ - "POST /repos/:owner/:repo/actions/runs/:run_id/rerun": { - parameters: ActionsReRunWorkflowEndpoint; - request: ActionsReRunWorkflowRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/workflows/#create-a-workflow-dispatch-event - */ - "POST /repos/:owner/:repo/actions/workflows/:workflow_id/dispatches": { - parameters: ActionsCreateWorkflowDispatchEndpoint; - request: ActionsCreateWorkflowDispatchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-admin-branch-protection - */ - "POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposSetAdminBranchProtectionEndpoint; - request: ReposSetAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#create-commit-signature-protection - */ - "POST /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposCreateCommitSignatureProtectionEndpoint; - request: ReposCreateCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#add-status-check-contexts - */ - "POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposAddStatusCheckContextsEndpoint; - request: ReposAddStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#add-app-access-restrictions - */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposAddAppAccessRestrictionsEndpoint; - request: ReposAddAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#add-team-access-restrictions - */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposAddTeamAccessRestrictionsEndpoint; - request: ReposAddTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#add-user-access-restrictions - */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposAddUserAccessRestrictionsEndpoint; - request: ReposAddUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/runs/#create-a-check-run - */ - "POST /repos/:owner/:repo/check-runs": { - parameters: ChecksCreateEndpoint; - request: ChecksCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#create-a-check-suite - */ - "POST /repos/:owner/:repo/check-suites": { - parameters: ChecksCreateSuiteEndpoint; - request: ChecksCreateSuiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/checks/suites/#rerequest-a-check-suite - */ - "POST /repos/:owner/:repo/check-suites/:check_suite_id/rerequest": { - parameters: ChecksRerequestSuiteEndpoint; - request: ChecksRerequestSuiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment - */ - "POST /repos/:owner/:repo/comments/:comment_id/reactions": { - parameters: ReactionsCreateForCommitCommentEndpoint; - request: ReactionsCreateForCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/comments/#create-a-commit-comment - */ - "POST /repos/:owner/:repo/commits/:commit_sha/comments": { - parameters: ReposCreateCommitCommentEndpoint; - request: ReposCreateCommitCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#create-a-deployment - */ - "POST /repos/:owner/:repo/deployments": { - parameters: ReposCreateDeploymentEndpoint; - request: ReposCreateDeploymentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/deployments/#create-a-deployment-status - */ - "POST /repos/:owner/:repo/deployments/:deployment_id/statuses": { - parameters: ReposCreateDeploymentStatusEndpoint; - request: ReposCreateDeploymentStatusRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#create-a-repository-dispatch-event - */ - "POST /repos/:owner/:repo/dispatches": { - parameters: ReposCreateDispatchEventEndpoint; - request: ReposCreateDispatchEventRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/forks/#create-a-fork - */ - "POST /repos/:owner/:repo/forks": { - parameters: ReposCreateForkEndpoint; - request: ReposCreateForkRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/blobs/#create-a-blob - */ - "POST /repos/:owner/:repo/git/blobs": { - parameters: GitCreateBlobEndpoint; - request: GitCreateBlobRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/commits/#create-a-commit - */ - "POST /repos/:owner/:repo/git/commits": { - parameters: GitCreateCommitEndpoint; - request: GitCreateCommitRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/refs/#create-a-reference - */ - "POST /repos/:owner/:repo/git/refs": { - parameters: GitCreateRefEndpoint; - request: GitCreateRefRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/tags/#create-a-tag-object - */ - "POST /repos/:owner/:repo/git/tags": { - parameters: GitCreateTagEndpoint; - request: GitCreateTagRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/git/trees/#create-a-tree - */ - "POST /repos/:owner/:repo/git/trees": { - parameters: GitCreateTreeEndpoint; - request: GitCreateTreeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#create-a-repository-webhook - */ - "POST /repos/:owner/:repo/hooks": { - parameters: ReposCreateWebhookEndpoint; - request: ReposCreateWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#ping-a-repository-webhook - */ - "POST /repos/:owner/:repo/hooks/:hook_id/pings": { - parameters: ReposPingWebhookEndpoint; - request: ReposPingWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/hooks/#test-the-push-repository-webhook - */ - "POST /repos/:owner/:repo/hooks/:hook_id/tests": { - parameters: ReposTestPushWebhookEndpoint; - request: ReposTestPushWebhookRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#create-an-issue - */ - "POST /repos/:owner/:repo/issues": { - parameters: IssuesCreateEndpoint; - request: IssuesCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/assignees/#add-assignees-to-an-issue - */ - "POST /repos/:owner/:repo/issues/:issue_number/assignees": { - parameters: IssuesAddAssigneesEndpoint; - request: IssuesAddAssigneesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/comments/#create-an-issue-comment - */ - "POST /repos/:owner/:repo/issues/:issue_number/comments": { - parameters: IssuesCreateCommentEndpoint; - request: IssuesCreateCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue - */ - "POST /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesAddLabelsEndpoint; - request: IssuesAddLabelsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-an-issue - */ - "POST /repos/:owner/:repo/issues/:issue_number/reactions": { - parameters: ReactionsCreateForIssueEndpoint; - request: ReactionsCreateForIssueRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment - */ - "POST /repos/:owner/:repo/issues/comments/:comment_id/reactions": { - parameters: ReactionsCreateForIssueCommentEndpoint; - request: ReactionsCreateForIssueCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/keys/#create-a-deploy-key - */ - "POST /repos/:owner/:repo/keys": { - parameters: ReposCreateDeployKeyEndpoint; - request: ReposCreateDeployKeyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#create-a-label - */ - "POST /repos/:owner/:repo/labels": { - parameters: IssuesCreateLabelEndpoint; - request: IssuesCreateLabelRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/merging/#merge-a-branch - */ - "POST /repos/:owner/:repo/merges": { - parameters: ReposMergeEndpoint; - request: ReposMergeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/milestones/#create-a-milestone - */ - "POST /repos/:owner/:repo/milestones": { - parameters: IssuesCreateMilestoneEndpoint; - request: IssuesCreateMilestoneRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#create-a-github-pages-site - */ - "POST /repos/:owner/:repo/pages": { - parameters: ReposCreatePagesSiteEndpoint; - request: ReposCreatePagesSiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#request-a-github-pages-build - */ - "POST /repos/:owner/:repo/pages/builds": { - parameters: ReposRequestPagesBuildEndpoint; - request: ReposRequestPagesBuildRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#create-a-repository-project - */ - "POST /repos/:owner/:repo/projects": { - parameters: ProjectsCreateForRepoEndpoint; - request: ProjectsCreateForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#create-a-pull-request - */ - "POST /repos/:owner/:repo/pulls": { - parameters: PullsCreateEndpoint; - request: PullsCreateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#create-a-review-comment-for-a-pull-request - */ - "POST /repos/:owner/:repo/pulls/:pull_number/comments": { - parameters: PullsCreateReviewCommentEndpoint; - request: PullsCreateReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/comments/#create-a-reply-for-a-review-comment - */ - "POST /repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies": { - parameters: PullsCreateReplyForReviewCommentEndpoint; - request: PullsCreateReplyForReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/review_requests/#request-reviewers-for-a-pull-request - */ - "POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsRequestReviewersEndpoint; - request: PullsRequestReviewersRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#create-a-review-for-a-pull-request - */ - "POST /repos/:owner/:repo/pulls/:pull_number/reviews": { - parameters: PullsCreateReviewEndpoint; - request: PullsCreateReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request - */ - "POST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events": { - parameters: PullsSubmitReviewEndpoint; - request: PullsSubmitReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment - */ - "POST /repos/:owner/:repo/pulls/comments/:comment_id/reactions": { - parameters: ReactionsCreateForPullRequestReviewCommentEndpoint; - request: ReactionsCreateForPullRequestReviewCommentRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#create-a-release - */ - "POST /repos/:owner/:repo/releases": { - parameters: ReposCreateReleaseEndpoint; - request: ReposCreateReleaseRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/releases/#upload-a-release-asset - */ - "POST /repos/:owner/:repo/releases/:release_id/assets{?name,label}": { - parameters: ReposUploadReleaseAssetEndpoint; - request: ReposUploadReleaseAssetRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/statuses/#create-a-commit-status - */ - "POST /repos/:owner/:repo/statuses/:sha": { - parameters: ReposCreateCommitStatusEndpoint; - request: ReposCreateCommitStatusRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#transfer-a-repository - */ - "POST /repos/:owner/:repo/transfer": { - parameters: ReposTransferEndpoint; - request: ReposTransferRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#create-a-repository-using-a-template - */ - "POST /repos/:template_owner/:template_repo/generate": { - parameters: ReposCreateUsingTemplateEndpoint; - request: ReposCreateUsingTemplateRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#provision-and-invite-a-scim-user - */ - "POST /scim/v2/organizations/:org/Users": { - parameters: ScimProvisionAndInviteUserEndpoint; - request: ScimProvisionAndInviteUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy - */ - "POST /teams/:team_id/discussions": { - parameters: TeamsCreateDiscussionLegacyEndpoint; - request: TeamsCreateDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment-legacy - */ - "POST /teams/:team_id/discussions/:discussion_number/comments": { - parameters: TeamsCreateDiscussionCommentLegacyEndpoint; - request: TeamsCreateDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy - */ - "POST /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionCommentLegacyEndpoint; - request: ReactionsCreateForTeamDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy - */ - "POST /teams/:team_id/discussions/:discussion_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionLegacyEndpoint; - request: ReactionsCreateForTeamDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/emails/#add-an-email-address-for-the-authenticated-user - */ - "POST /user/emails": { - parameters: UsersAddEmailForAuthenticatedEndpoint; - request: UsersAddEmailForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/gpg_keys/#create-a-gpg-key-for-the-authenticated-user - */ - "POST /user/gpg_keys": { - parameters: UsersCreateGpgKeyForAuthenticatedEndpoint; - request: UsersCreateGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/keys/#create-a-public-ssh-key-for-the-authenticated-user - */ - "POST /user/keys": { - parameters: UsersCreatePublicSshKeyForAuthenticatedEndpoint; - request: UsersCreatePublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/users/#start-a-user-migration - */ - "POST /user/migrations": { - parameters: MigrationsStartForAuthenticatedUserEndpoint; - request: MigrationsStartForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/#create-a-user-project - */ - "POST /user/projects": { - parameters: ProjectsCreateForAuthenticatedUserEndpoint; - request: ProjectsCreateForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user - */ - "POST /user/repos": { - parameters: ReposCreateForAuthenticatedUserEndpoint; - request: ReposCreateForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/#suspend-an-app-installation - */ - "PUT /app/installations/:installation_id/suspended": { - parameters: AppsSuspendInstallationEndpoint; - request: AppsSuspendInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app - */ - "PUT /authorizations/clients/:client_id": { - parameters: OauthAuthorizationsGetOrCreateAuthorizationForAppEndpoint; - request: OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint - */ - "PUT /authorizations/clients/:client_id/:fingerprint": { - parameters: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint; - request: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/gists/#star-a-gist - */ - "PUT /gists/:gist_id/star": { - parameters: GistsStarEndpoint; - request: GistsStarRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#mark-notifications-as-read - */ - "PUT /notifications": { - parameters: ActivityMarkNotificationsAsReadEndpoint; - request: ActivityMarkNotificationsAsReadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription - */ - "PUT /notifications/threads/:thread_id/subscription": { - parameters: ActivitySetThreadSubscriptionEndpoint; - request: ActivitySetThreadSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret - */ - "PUT /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsCreateOrUpdateOrgSecretEndpoint; - request: ActionsCreateOrUpdateOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret - */ - "PUT /orgs/:org/actions/secrets/:secret_name/repositories": { - parameters: ActionsSetSelectedReposForOrgSecretEndpoint; - request: ActionsSetSelectedReposForOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#add-selected-repository-to-an-organization-secret - */ - "PUT /orgs/:org/actions/secrets/:secret_name/repositories/:repository_id": { - parameters: ActionsAddSelectedRepoToOrgSecretEndpoint; - request: ActionsAddSelectedRepoToOrgSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/blocking/#block-a-user-from-an-organization - */ - "PUT /orgs/:org/blocks/:username": { - parameters: OrgsBlockUserEndpoint; - request: OrgsBlockUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/orgs/#set-interaction-restrictions-for-an-organization - */ - "PUT /orgs/:org/interaction-limits": { - parameters: InteractionsSetRestrictionsForOrgEndpoint; - request: InteractionsSetRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#set-organization-membership-for-a-user - */ - "PUT /orgs/:org/memberships/:username": { - parameters: OrgsSetMembershipForUserEndpoint; - request: OrgsSetMembershipForUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#convert-an-organization-member-to-outside-collaborator - */ - "PUT /orgs/:org/outside_collaborators/:username": { - parameters: OrgsConvertMemberToOutsideCollaboratorEndpoint; - request: OrgsConvertMemberToOutsideCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/orgs/members/#set-public-organization-membership-for-the-authenticated-user - */ - "PUT /orgs/:org/public_members/:username": { - parameters: OrgsSetPublicMembershipForAuthenticatedUserEndpoint; - request: OrgsSetPublicMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user - */ - "PUT /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsAddOrUpdateMembershipForUserInOrgEndpoint; - request: TeamsAddOrUpdateMembershipForUserInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-project-permissions - */ - "PUT /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsAddOrUpdateProjectPermissionsInOrgEndpoint; - request: TeamsAddOrUpdateProjectPermissionsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions - */ - "PUT /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsAddOrUpdateRepoPermissionsInOrgEndpoint; - request: TeamsAddOrUpdateRepoPermissionsInOrgRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/projects/collaborators/#add-project-collaborator - */ - "PUT /projects/:project_id/collaborators/:username": { - parameters: ProjectsAddCollaboratorEndpoint; - request: ProjectsAddCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/actions/secrets/#create-or-update-a-repository-secret - */ - "PUT /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsCreateOrUpdateRepoSecretEndpoint; - request: ActionsCreateOrUpdateRepoSecretRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#enable-automated-security-fixes - */ - "PUT /repos/:owner/:repo/automated-security-fixes": { - parameters: ReposEnableAutomatedSecurityFixesEndpoint; - request: ReposEnableAutomatedSecurityFixesRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#update-branch-protection - */ - "PUT /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposUpdateBranchProtectionEndpoint; - request: ReposUpdateBranchProtectionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-status-check-contexts - */ - "PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposSetStatusCheckContextsEndpoint; - request: ReposSetStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-app-access-restrictions - */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposSetAppAccessRestrictionsEndpoint; - request: ReposSetAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-team-access-restrictions - */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposSetTeamAccessRestrictionsEndpoint; - request: ReposSetTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/branches/#set-user-access-restrictions - */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposSetUserAccessRestrictionsEndpoint; - request: ReposSetUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/collaborators/#add-a-repository-collaborator - */ - "PUT /repos/:owner/:repo/collaborators/:username": { - parameters: ReposAddCollaboratorEndpoint; - request: ReposAddCollaboratorRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/contents/#create-or-update-file-contents - */ - "PUT /repos/:owner/:repo/contents/:path": { - parameters: ReposCreateOrUpdateFileContentsEndpoint; - request: ReposCreateOrUpdateFileContentsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/migrations/source_imports/#start-an-import - */ - "PUT /repos/:owner/:repo/import": { - parameters: MigrationsStartImportEndpoint; - request: MigrationsStartImportRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/interactions/repos/#set-interaction-restrictions-for-a-repository - */ - "PUT /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsSetRestrictionsForRepoEndpoint; - request: InteractionsSetRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/labels/#set-labels-for-an-issue - */ - "PUT /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesSetLabelsEndpoint; - request: IssuesSetLabelsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/issues/#lock-an-issue - */ - "PUT /repos/:owner/:repo/issues/:issue_number/lock": { - parameters: IssuesLockEndpoint; - request: IssuesLockRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/notifications/#mark-repository-notifications-as-read - */ - "PUT /repos/:owner/:repo/notifications": { - parameters: ActivityMarkRepoNotificationsAsReadEndpoint; - request: ActivityMarkRepoNotificationsAsReadRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/pages/#update-information-about-a-github-pages-site - */ - "PUT /repos/:owner/:repo/pages": { - parameters: ReposUpdateInformationAboutPagesSiteEndpoint; - request: ReposUpdateInformationAboutPagesSiteRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#merge-a-pull-request - */ - "PUT /repos/:owner/:repo/pulls/:pull_number/merge": { - parameters: PullsMergeEndpoint; - request: PullsMergeRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#update-a-review-for-a-pull-request - */ - "PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsUpdateReviewEndpoint; - request: PullsUpdateReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/reviews/#dismiss-a-review-for-a-pull-request - */ - "PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals": { - parameters: PullsDismissReviewEndpoint; - request: PullsDismissReviewRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/pulls/#update-a-pull-request-branch - */ - "PUT /repos/:owner/:repo/pulls/:pull_number/update-branch": { - parameters: PullsUpdateBranchEndpoint; - request: PullsUpdateBranchRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/watching/#set-a-repository-subscription - */ - "PUT /repos/:owner/:repo/subscription": { - parameters: ActivitySetRepoSubscriptionEndpoint; - request: ActivitySetRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#replace-all-repository-topics - */ - "PUT /repos/:owner/:repo/topics": { - parameters: ReposReplaceAllTopicsEndpoint; - request: ReposReplaceAllTopicsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/repos/#enable-vulnerability-alerts - */ - "PUT /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposEnableVulnerabilityAlertsEndpoint; - request: ReposEnableVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/scim/#set-scim-information-for-a-provisioned-user - */ - "PUT /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimSetInformationForProvisionedUserEndpoint; - request: ScimSetInformationForProvisionedUserRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#add-team-member-legacy - */ - "PUT /teams/:team_id/members/:username": { - parameters: TeamsAddMemberLegacyEndpoint; - request: TeamsAddMemberLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user-legacy - */ - "PUT /teams/:team_id/memberships/:username": { - parameters: TeamsAddOrUpdateMembershipForUserLegacyEndpoint; - request: TeamsAddOrUpdateMembershipForUserLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-project-permissions-legacy - */ - "PUT /teams/:team_id/projects/:project_id": { - parameters: TeamsAddOrUpdateProjectPermissionsLegacyEndpoint; - request: TeamsAddOrUpdateProjectPermissionsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions-legacy - */ - "PUT /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsAddOrUpdateRepoPermissionsLegacyEndpoint; - request: TeamsAddOrUpdateRepoPermissionsLegacyRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/blocking/#block-a-user - */ - "PUT /user/blocks/:username": { - parameters: UsersBlockEndpoint; - request: UsersBlockRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/users/followers/#follow-a-user - */ - "PUT /user/following/:username": { - parameters: UsersFollowEndpoint; - request: UsersFollowRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/apps/installations/#add-a-repository-to-an-app-installation - */ - "PUT /user/installations/:installation_id/repositories/:repository_id": { - parameters: AppsAddRepoToInstallationEndpoint; - request: AppsAddRepoToInstallationRequestOptions; - response: OctokitResponse; - }; - /** - * @see https://developer.github.com/v3/activity/starring/#star-a-repository-for-the-authenticated-user - */ - "PUT /user/starred/:owner/:repo": { - parameters: ActivityStarRepoForAuthenticatedUserEndpoint; - request: ActivityStarRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; -} -declare type ActionsAddSelectedRepoToOrgSecretEndpoint = { - org: string; - secret_name: string; - repository_id: number; -}; -declare type ActionsAddSelectedRepoToOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsCancelWorkflowRunEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsCancelWorkflowRunRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runs/:run_id/cancel"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsCreateOrUpdateOrgSecretEndpoint = { - org: string; - secret_name: string; - /** - * Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key) endpoint. - */ - encrypted_value?: string; - /** - * ID of the key you used to encrypt the secret. - */ - key_id?: string; - /** - * Configures the access that repositories have to the organization secret. Can be one of: - * \- `all` - All repositories in an organization can access the secret. - * \- `private` - Private repositories in an organization can access the secret. - * \- `selected` - Only specific repositories can access the secret. - */ - visibility?: "all" | "private" | "selected"; - /** - * An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints. - */ - selected_repository_ids?: number[]; -}; -declare type ActionsCreateOrUpdateOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsCreateOrUpdateRepoSecretEndpoint = { - owner: string; - repo: string; - secret_name: string; - /** - * Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key) endpoint. - */ - encrypted_value?: string; - /** - * ID of the key you used to encrypt the secret. - */ - key_id?: string; -}; -declare type ActionsCreateOrUpdateRepoSecretRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsCreateRegistrationTokenForOrgEndpoint = { - org: string; -}; -declare type ActionsCreateRegistrationTokenForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/actions/runners/registration-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsCreateRegistrationTokenForOrgResponseData { - token: string; - expires_at: string; -} -declare type ActionsCreateRegistrationTokenForRepoEndpoint = { - owner: string; - repo: string; -}; -declare type ActionsCreateRegistrationTokenForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runners/registration-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsCreateRegistrationTokenForRepoResponseData { - token: string; - expires_at: string; -} -declare type ActionsCreateRemoveTokenForOrgEndpoint = { - org: string; -}; -declare type ActionsCreateRemoveTokenForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/actions/runners/remove-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsCreateRemoveTokenForOrgResponseData { - token: string; - expires_at: string; -} -declare type ActionsCreateRemoveTokenForRepoEndpoint = { - owner: string; - repo: string; -}; -declare type ActionsCreateRemoveTokenForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runners/remove-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsCreateRemoveTokenForRepoResponseData { - token: string; - expires_at: string; -} -declare type ActionsCreateWorkflowDispatchEndpoint = { - owner: string; - repo: string; - workflow_id: number; - /** - * The reference of the workflow run. The reference can be a branch, tag, or a commit SHA. - */ - ref: string; - /** - * Input keys and values configured in the workflow file. The maximum number of properties is 10. - */ - inputs?: ActionsCreateWorkflowDispatchParamsInputs; -}; -declare type ActionsCreateWorkflowDispatchRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/dispatches"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteArtifactEndpoint = { - owner: string; - repo: string; - artifact_id: number; -}; -declare type ActionsDeleteArtifactRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteOrgSecretEndpoint = { - org: string; - secret_name: string; -}; -declare type ActionsDeleteOrgSecretRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteRepoSecretEndpoint = { - owner: string; - repo: string; - secret_name: string; -}; -declare type ActionsDeleteRepoSecretRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteSelfHostedRunnerFromOrgEndpoint = { - org: string; - runner_id: number; -}; -declare type ActionsDeleteSelfHostedRunnerFromOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteSelfHostedRunnerFromRepoEndpoint = { - owner: string; - repo: string; - runner_id: number; -}; -declare type ActionsDeleteSelfHostedRunnerFromRepoRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteWorkflowRunEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsDeleteWorkflowRunRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/runs/:run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDeleteWorkflowRunLogsEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsDeleteWorkflowRunLogsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/runs/:run_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDownloadArtifactEndpoint = { - owner: string; - repo: string; - artifact_id: number; - archive_format: string; -}; -declare type ActionsDownloadArtifactRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDownloadJobLogsForWorkflowRunEndpoint = { - owner: string; - repo: string; - job_id: number; -}; -declare type ActionsDownloadJobLogsForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/jobs/:job_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsDownloadWorkflowRunLogsEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsDownloadWorkflowRunLogsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsGetArtifactEndpoint = { - owner: string; - repo: string; - artifact_id: number; -}; -declare type ActionsGetArtifactRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetArtifactResponseData { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; -} -declare type ActionsGetJobForWorkflowRunEndpoint = { - owner: string; - repo: string; - job_id: number; -}; -declare type ActionsGetJobForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/jobs/:job_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetJobForWorkflowRunResponseData { - id: number; - run_id: number; - run_url: string; - node_id: string; - head_sha: string; - url: string; - html_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - name: string; - steps: { - name: string; - status: string; - conclusion: string; - number: number; - started_at: string; - completed_at: string; - }[]; - check_run_url: string; -} -declare type ActionsGetOrgPublicKeyEndpoint = { - org: string; -}; -declare type ActionsGetOrgPublicKeyRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/public-key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetOrgPublicKeyResponseData { - key_id: string; - key: string; -} -declare type ActionsGetOrgSecretEndpoint = { - org: string; - secret_name: string; -}; -declare type ActionsGetOrgSecretRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetOrgSecretResponseData { - name: string; - created_at: string; - updated_at: string; - visibility: string; - selected_repositories_url: string; -} -declare type ActionsGetRepoPublicKeyEndpoint = { - owner: string; - repo: string; -}; -declare type ActionsGetRepoPublicKeyRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets/public-key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetRepoPublicKeyResponseData { - key_id: string; - key: string; -} -declare type ActionsGetRepoSecretEndpoint = { - owner: string; - repo: string; - secret_name: string; -}; -declare type ActionsGetRepoSecretRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetRepoSecretResponseData { - name: string; - created_at: string; - updated_at: string; -} -declare type ActionsGetSelfHostedRunnerForOrgEndpoint = { - org: string; - runner_id: number; -}; -declare type ActionsGetSelfHostedRunnerForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetSelfHostedRunnerForOrgResponseData { - id: number; - name: string; - os: string; - status: string; - busy: boolean; -} -declare type ActionsGetSelfHostedRunnerForRepoEndpoint = { - owner: string; - repo: string; - runner_id: number; -}; -declare type ActionsGetSelfHostedRunnerForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetSelfHostedRunnerForRepoResponseData { - id: number; - name: string; - os: string; - status: string; - busy: boolean; -} -declare type ActionsGetWorkflowEndpoint = { - owner: string; - repo: string; - workflow_id: number; -}; -declare type ActionsGetWorkflowRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetWorkflowResponseData { - id: number; - node_id: string; - name: string; - path: string; - state: string; - created_at: string; - updated_at: string; - url: string; - html_url: string; - badge_url: string; -} -declare type ActionsGetWorkflowRunEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsGetWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetWorkflowRunResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; -} -declare type ActionsGetWorkflowRunUsageEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsGetWorkflowRunUsageRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/timing"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetWorkflowRunUsageResponseData { - billable: { - UBUNTU: { - total_ms: number; - jobs: number; - }; - MACOS: { - total_ms: number; - jobs: number; - }; - WINDOWS: { - total_ms: number; - jobs: number; - }; - }; - run_duration_ms: number; -} -declare type ActionsGetWorkflowUsageEndpoint = { - owner: string; - repo: string; - workflow_id: number; -}; -declare type ActionsGetWorkflowUsageRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/timing"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsGetWorkflowUsageResponseData { - billable: { - UBUNTU: { - total_ms: number; - }; - MACOS: { - total_ms: number; - }; - WINDOWS: { - total_ms: number; - }; - }; -} -declare type ActionsListArtifactsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListArtifactsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListArtifactsForRepoResponseData { - total_count: number; - artifacts: { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; - }[]; -} -declare type ActionsListJobsForWorkflowRunEndpoint = { - owner: string; - repo: string; - run_id: number; - /** - * Filters jobs by their `completed_at` timestamp. Can be one of: - * \* `latest`: Returns jobs from the most recent execution of the workflow run. - * \* `all`: Returns all jobs for a workflow run, including from old executions of the workflow run. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListJobsForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/jobs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListJobsForWorkflowRunResponseData { - total_count: number; - jobs: { - id: number; - run_id: number; - run_url: string; - node_id: string; - head_sha: string; - url: string; - html_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - name: string; - steps: { - name: string; - status: string; - conclusion: string; - number: number; - started_at: string; - completed_at: string; - }[]; - check_run_url: string; - }[]; -} -declare type ActionsListOrgSecretsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListOrgSecretsRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListOrgSecretsResponseData { - total_count: number; - secrets: { - name: string; - created_at: string; - updated_at: string; - visibility: string; - selected_repositories_url: string; - }[]; -} -declare type ActionsListRepoSecretsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListRepoSecretsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListRepoSecretsResponseData { - total_count: number; - secrets: { - name: string; - created_at: string; - updated_at: string; - }[]; -} -declare type ActionsListRepoWorkflowsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListRepoWorkflowsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListRepoWorkflowsResponseData { - total_count: number; - workflows: { - id: number; - node_id: string; - name: string; - path: string; - state: string; - created_at: string; - updated_at: string; - url: string; - html_url: string; - badge_url: string; - }[]; -} -declare type ActionsListRunnerApplicationsForOrgEndpoint = { - org: string; -}; -declare type ActionsListRunnerApplicationsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners/downloads"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActionsListRunnerApplicationsForOrgResponseData = { - os: string; - architecture: string; - download_url: string; - filename: string; -}[]; -declare type ActionsListRunnerApplicationsForRepoEndpoint = { - owner: string; - repo: string; -}; -declare type ActionsListRunnerApplicationsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners/downloads"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActionsListRunnerApplicationsForRepoResponseData = { - os: string; - architecture: string; - download_url: string; - filename: string; -}[]; -declare type ActionsListSelectedReposForOrgSecretEndpoint = { - org: string; - secret_name: string; -}; -declare type ActionsListSelectedReposForOrgSecretRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListSelectedReposForOrgSecretResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }[]; -} -declare type ActionsListSelfHostedRunnersForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListSelfHostedRunnersForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListSelfHostedRunnersForOrgResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - }[]; -} -declare type ActionsListSelfHostedRunnersForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListSelfHostedRunnersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListSelfHostedRunnersForRepoResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - }[]; -} -declare type ActionsListWorkflowRunArtifactsEndpoint = { - owner: string; - repo: string; - run_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListWorkflowRunArtifactsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/artifacts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListWorkflowRunArtifactsResponseData { - total_count: number; - artifacts: { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; - }[]; -} -declare type ActionsListWorkflowRunsEndpoint = { - owner: string; - repo: string; - workflow_id: number; - /** - * Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. - */ - actor?: string; - /** - * Returns workflow runs associated with a branch. Use the name of the branch of the `push`. - */ - branch?: string; - /** - * Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." - */ - event?: string; - /** - * Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in "[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run)." - */ - status?: "completed" | "status" | "conclusion"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListWorkflowRunsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListWorkflowRunsResponseData { - total_count: number; - workflow_runs: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - }[]; -} -declare type ActionsListWorkflowRunsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. - */ - actor?: string; - /** - * Returns workflow runs associated with a branch. Use the name of the branch of the `push`. - */ - branch?: string; - /** - * Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." - */ - event?: string; - /** - * Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in "[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run)." - */ - status?: "completed" | "status" | "conclusion"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActionsListWorkflowRunsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActionsListWorkflowRunsForRepoResponseData { - total_count: number; - workflow_runs: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - }[]; -} -declare type ActionsReRunWorkflowEndpoint = { - owner: string; - repo: string; - run_id: number; -}; -declare type ActionsReRunWorkflowRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runs/:run_id/rerun"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsRemoveSelectedRepoFromOrgSecretEndpoint = { - org: string; - secret_name: string; - repository_id: number; -}; -declare type ActionsRemoveSelectedRepoFromOrgSecretRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActionsSetSelectedReposForOrgSecretEndpoint = { - org: string; - secret_name: string; - /** - * An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints. - */ - selected_repository_ids?: number[]; -}; -declare type ActionsSetSelectedReposForOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityDeleteRepoSubscriptionEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityDeleteRepoSubscriptionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityDeleteThreadSubscriptionEndpoint = { - thread_id: number; -}; -declare type ActivityDeleteThreadSubscriptionRequestOptions = { - method: "DELETE"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityGetFeedsEndpoint = {}; -declare type ActivityGetFeedsRequestOptions = { - method: "GET"; - url: "/feeds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivityGetFeedsResponseData { - timeline_url: string; - user_url: string; - current_user_public_url: string; - current_user_url: string; - current_user_actor_url: string; - current_user_organization_url: string; - current_user_organization_urls: string[]; - security_advisories_url: string; - _links: { - timeline: { - href: string; - type: string; - }; - user: { - href: string; - type: string; - }; - current_user_public: { - href: string; - type: string; - }; - current_user: { - href: string; - type: string; - }; - current_user_actor: { - href: string; - type: string; - }; - current_user_organization: { - href: string; - type: string; - }; - current_user_organizations: { - href: string; - type: string; - }[]; - security_advisories: { - href: string; - type: string; - }; - }; -} -declare type ActivityGetRepoSubscriptionEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityGetRepoSubscriptionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivityGetRepoSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - repository_url: string; -} -declare type ActivityGetThreadEndpoint = { - thread_id: number; -}; -declare type ActivityGetThreadRequestOptions = { - method: "GET"; - url: "/notifications/threads/:thread_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivityGetThreadResponseData { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -} -declare type ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint = { - thread_id: number; -}; -declare type ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivityGetThreadSubscriptionForAuthenticatedUserResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - thread_url: string; -} -declare type ActivityListEventsForAuthenticatedUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListEventsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/users/:username/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListNotificationsForAuthenticatedUserEndpoint = { - /** - * If `true`, show notifications marked as read. - */ - all?: boolean; - /** - * If `true`, only shows notifications in which the user is directly participating or mentioned. - */ - participating?: boolean; - /** - * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - before?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListNotificationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListNotificationsForAuthenticatedUserResponseData = { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -}[]; -declare type ActivityListOrgEventsForAuthenticatedUserEndpoint = { - username: string; - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListOrgEventsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/users/:username/events/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListPublicEventsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListPublicEventsRequestOptions = { - method: "GET"; - url: "/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListPublicEventsForRepoNetworkEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListPublicEventsForRepoNetworkRequestOptions = { - method: "GET"; - url: "/networks/:owner/:repo/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListPublicEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListPublicEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/events/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListPublicOrgEventsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListPublicOrgEventsRequestOptions = { - method: "GET"; - url: "/orgs/:org/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListReceivedEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReceivedEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/received_events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListReceivedPublicEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReceivedPublicEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/received_events/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListRepoEventsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListRepoEventsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityListRepoNotificationsForAuthenticatedUserEndpoint = { - owner: string; - repo: string; - /** - * If `true`, show notifications marked as read. - */ - all?: boolean; - /** - * If `true`, only shows notifications in which the user is directly participating or mentioned. - */ - participating?: boolean; - /** - * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - before?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListRepoNotificationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListRepoNotificationsForAuthenticatedUserResponseData = { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -}[]; -declare type ActivityListReposStarredByAuthenticatedUserEndpoint = { - /** - * One of `created` (when the repository was starred) or `updated` (when it was last pushed to). - */ - sort?: "created" | "updated"; - /** - * One of `asc` (ascending) or `desc` (descending). - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReposStarredByAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListReposStarredByAuthenticatedUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -}[]; -export declare type ActivityListReposStarredByAuthenticatedUserResponse200Data = { - starred_at: string; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type ActivityListReposStarredByUserEndpoint = { - username: string; - /** - * One of `created` (when the repository was starred) or `updated` (when it was last pushed to). - */ - sort?: "created" | "updated"; - /** - * One of `asc` (ascending) or `desc` (descending). - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReposStarredByUserRequestOptions = { - method: "GET"; - url: "/users/:username/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListReposStarredByUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -}[]; -export declare type ActivityListReposStarredByUserResponse200Data = { - starred_at: string; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type ActivityListReposWatchedByUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListReposWatchedByUserRequestOptions = { - method: "GET"; - url: "/users/:username/subscriptions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListReposWatchedByUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type ActivityListStargazersForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListStargazersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stargazers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListStargazersForRepoResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -export declare type ActivityListStargazersForRepoResponse200Data = { - starred_at: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; -declare type ActivityListWatchedReposForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListWatchedReposForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/subscriptions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListWatchedReposForAuthenticatedUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type ActivityListWatchersForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ActivityListWatchersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/subscribers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ActivityListWatchersForRepoResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ActivityMarkNotificationsAsReadEndpoint = { - /** - * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. - */ - last_read_at?: string; -}; -declare type ActivityMarkNotificationsAsReadRequestOptions = { - method: "PUT"; - url: "/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityMarkRepoNotificationsAsReadEndpoint = { - owner: string; - repo: string; - /** - * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. - */ - last_read_at?: string; -}; -declare type ActivityMarkRepoNotificationsAsReadRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityMarkThreadAsReadEndpoint = { - thread_id: number; -}; -declare type ActivityMarkThreadAsReadRequestOptions = { - method: "PATCH"; - url: "/notifications/threads/:thread_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivitySetRepoSubscriptionEndpoint = { - owner: string; - repo: string; - /** - * Determines if notifications should be received from this repository. - */ - subscribed?: boolean; - /** - * Determines if all notifications should be blocked from this repository. - */ - ignored?: boolean; -}; -declare type ActivitySetRepoSubscriptionRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivitySetRepoSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - repository_url: string; -} -declare type ActivitySetThreadSubscriptionEndpoint = { - thread_id: number; - /** - * Unsubscribes and subscribes you to a conversation. Set `ignored` to `true` to block all notifications from this thread. - */ - ignored?: boolean; -}; -declare type ActivitySetThreadSubscriptionRequestOptions = { - method: "PUT"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ActivitySetThreadSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - thread_url: string; -} -declare type ActivityStarRepoForAuthenticatedUserEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityStarRepoForAuthenticatedUserRequestOptions = { - method: "PUT"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ActivityUnstarRepoForAuthenticatedUserEndpoint = { - owner: string; - repo: string; -}; -declare type ActivityUnstarRepoForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsAddRepoToInstallationEndpoint = { - installation_id: number; - repository_id: number; -} & RequiredPreview<"machine-man">; -declare type AppsAddRepoToInstallationRequestOptions = { - method: "PUT"; - url: "/user/installations/:installation_id/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsCheckAuthorizationEndpoint = { - client_id: string; - access_token: string; -}; -declare type AppsCheckAuthorizationRequestOptions = { - method: "GET"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCheckAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type AppsCheckTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; -declare type AppsCheckTokenRequestOptions = { - method: "POST"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCheckTokenResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type AppsCreateContentAttachmentEndpoint = { - content_reference_id: number; - /** - * The title of the content attachment displayed in the body or comment of an issue or pull request. - */ - title: string; - /** - * The body text of the content attachment displayed in the body or comment of an issue or pull request. This parameter supports markdown. - */ - body: string; -} & RequiredPreview<"corsair">; -declare type AppsCreateContentAttachmentRequestOptions = { - method: "POST"; - url: "/content_references/:content_reference_id/attachments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCreateContentAttachmentResponseData { - id: number; - title: string; - body: string; -} -declare type AppsCreateFromManifestEndpoint = { - code: string; -}; -declare type AppsCreateFromManifestRequestOptions = { - method: "POST"; - url: "/app-manifests/:code/conversions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCreateFromManifestResponseData { - id: number; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - client_id: string; - client_secret: string; - webhook_secret: string; - pem: string; -} -declare type AppsCreateInstallationAccessTokenEndpoint = { - installation_id: number; - /** - * The `id`s of the repositories that the installation token can access. Providing repository `id`s restricts the access of an installation token to specific repositories. You can use the "[List repositories accessible to the app installation](https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation)" endpoint to get the `id` of all repositories that an installation can access. For example, you can select specific repositories when creating an installation token to restrict the number of repositories that can be cloned using the token. - */ - repository_ids?: number[]; - /** - * The permissions granted to the access token. The permissions object includes the permission names and their access type. For a complete list of permissions and allowable values, see "[GitHub App permissions](https://developer.github.com/apps/building-github-apps/creating-github-apps-using-url-parameters/#github-app-permissions)." - */ - permissions?: AppsCreateInstallationAccessTokenParamsPermissions; -} & RequiredPreview<"machine-man">; -declare type AppsCreateInstallationAccessTokenRequestOptions = { - method: "POST"; - url: "/app/installations/:installation_id/access_tokens"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsCreateInstallationAccessTokenResponseData { - token: string; - expires_at: string; - permissions: { - issues: string; - contents: string; - }; - repository_selection: "all" | "selected"; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} -declare type AppsDeleteAuthorizationEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; -declare type AppsDeleteAuthorizationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/grant"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsDeleteInstallationEndpoint = { - installation_id: number; -} & RequiredPreview<"machine-man">; -declare type AppsDeleteInstallationRequestOptions = { - method: "DELETE"; - url: "/app/installations/:installation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsDeleteTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; -declare type AppsDeleteTokenRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsGetAuthenticatedEndpoint = {} & RequiredPreview<"machine-man">; -declare type AppsGetAuthenticatedRequestOptions = { - method: "GET"; - url: "/app"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetAuthenticatedResponseData { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - installations_count: number; -} -declare type AppsGetBySlugEndpoint = { - app_slug: string; -} & RequiredPreview<"machine-man">; -declare type AppsGetBySlugRequestOptions = { - method: "GET"; - url: "/apps/:app_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetBySlugResponseData { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -} -declare type AppsGetInstallationEndpoint = { - installation_id: number; -} & RequiredPreview<"machine-man">; -declare type AppsGetInstallationRequestOptions = { - method: "GET"; - url: "/app/installations/:installation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - repository_selection: "all" | "selected"; -} -declare type AppsGetOrgInstallationEndpoint = { - org: string; -} & RequiredPreview<"machine-man">; -declare type AppsGetOrgInstallationRequestOptions = { - method: "GET"; - url: "/orgs/:org/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetOrgInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} -declare type AppsGetRepoInstallationEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"machine-man">; -declare type AppsGetRepoInstallationRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetRepoInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} -declare type AppsGetSubscriptionPlanForAccountEndpoint = { - account_id: number; -}; -declare type AppsGetSubscriptionPlanForAccountRequestOptions = { - method: "GET"; - url: "/marketplace_listing/accounts/:account_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetSubscriptionPlanForAccountResponseData { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: number; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -} -declare type AppsGetSubscriptionPlanForAccountStubbedEndpoint = { - account_id: number; -}; -declare type AppsGetSubscriptionPlanForAccountStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/accounts/:account_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetSubscriptionPlanForAccountStubbedResponseData { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: number; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -} -declare type AppsGetUserInstallationEndpoint = { - username: string; -} & RequiredPreview<"machine-man">; -declare type AppsGetUserInstallationRequestOptions = { - method: "GET"; - url: "/users/:username/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsGetUserInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} -declare type AppsListAccountsForPlanEndpoint = { - plan_id: number; - /** - * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListAccountsForPlanRequestOptions = { - method: "GET"; - url: "/marketplace_listing/plans/:plan_id/accounts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListAccountsForPlanResponseData = { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: number; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -}[]; -declare type AppsListAccountsForPlanStubbedEndpoint = { - plan_id: number; - /** - * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListAccountsForPlanStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/plans/:plan_id/accounts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListAccountsForPlanStubbedResponseData = { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: number; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -}[]; -declare type AppsListInstallationReposForAuthenticatedUserEndpoint = { - installation_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type AppsListInstallationReposForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/installations/:installation_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsListInstallationReposForAuthenticatedUserResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} -declare type AppsListInstallationsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type AppsListInstallationsRequestOptions = { - method: "GET"; - url: "/app/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListInstallationsResponseData = { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - repository_selection: "all" | "selected"; -}[]; -declare type AppsListInstallationsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type AppsListInstallationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsListInstallationsForAuthenticatedUserResponseData { - total_count: number; - installations: { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - gravatar_id: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - }[]; -} -declare type AppsListPlansEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListPlansRequestOptions = { - method: "GET"; - url: "/marketplace_listing/plans"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListPlansResponseData = { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; -}[]; -declare type AppsListPlansStubbedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListPlansStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/plans"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListPlansStubbedResponseData = { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; -}[]; -declare type AppsListReposAccessibleToInstallationEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type AppsListReposAccessibleToInstallationRequestOptions = { - method: "GET"; - url: "/installation/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsListReposAccessibleToInstallationResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} -declare type AppsListSubscriptionsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListSubscriptionsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/marketplace_purchases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListSubscriptionsForAuthenticatedUserResponseData = { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - account: { - login: string; - id: number; - url: string; - email: string; - organization_billing_email: string; - type: string; - }; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; -}[]; -declare type AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions = { - method: "GET"; - url: "/user/marketplace_purchases/stubbed"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type AppsListSubscriptionsForAuthenticatedUserStubbedResponseData = { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - account: { - login: string; - id: number; - url: string; - email: string; - organization_billing_email: string; - type: string; - }; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; -}[]; -declare type AppsRemoveRepoFromInstallationEndpoint = { - installation_id: number; - repository_id: number; -} & RequiredPreview<"machine-man">; -declare type AppsRemoveRepoFromInstallationRequestOptions = { - method: "DELETE"; - url: "/user/installations/:installation_id/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsResetAuthorizationEndpoint = { - client_id: string; - access_token: string; -}; -declare type AppsResetAuthorizationRequestOptions = { - method: "POST"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsResetAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type AppsResetTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; -declare type AppsResetTokenRequestOptions = { - method: "PATCH"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface AppsResetTokenResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type AppsRevokeAuthorizationForApplicationEndpoint = { - client_id: string; - access_token: string; -}; -declare type AppsRevokeAuthorizationForApplicationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsRevokeGrantForApplicationEndpoint = { - client_id: string; - access_token: string; -}; -declare type AppsRevokeGrantForApplicationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/grants/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsRevokeInstallationAccessTokenEndpoint = {}; -declare type AppsRevokeInstallationAccessTokenRequestOptions = { - method: "DELETE"; - url: "/installation/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsSuspendInstallationEndpoint = { - installation_id: number; -}; -declare type AppsSuspendInstallationRequestOptions = { - method: "PUT"; - url: "/app/installations/:installation_id/suspended"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type AppsUnsuspendInstallationEndpoint = { - installation_id: number; -}; -declare type AppsUnsuspendInstallationRequestOptions = { - method: "DELETE"; - url: "/app/installations/:installation_id/suspended"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type BillingGetGithubActionsBillingGheEndpoint = { - /** - * Unique identifier of the GitHub Enterprise Cloud instance. - */ - enterprise_id: number; -}; -declare type BillingGetGithubActionsBillingGheRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise_id/settings/billing/actions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetGithubActionsBillingGheResponseData { - /** - * The sum of the free and paid GitHub Actions minutes used. - */ - total_minutes_used: number; - /** - * The total paid GitHub Actions minutes used. - */ - total_paid_minutes_used: number; - /** - * The amount of free GitHub Actions minutes available. - */ - included_minutes: number; - minutes_used_breakdown: { - /** - * Total minutes used on Ubuntu runner machines. - */ - UBUNTU: number; - /** - * Total minutes used on macOS runner machines. - */ - MACOS: number; - /** - * Total minutes used on Windows runner machines. - */ - WINDOWS: number; - }; -} -declare type BillingGetGithubActionsBillingOrgEndpoint = { - org: string; -}; -declare type BillingGetGithubActionsBillingOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/settings/billing/actions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetGithubActionsBillingOrgResponseData { - /** - * The sum of the free and paid GitHub Actions minutes used. - */ - total_minutes_used: number; - /** - * The total paid GitHub Actions minutes used. - */ - total_paid_minutes_used: number; - /** - * The amount of free GitHub Actions minutes available. - */ - included_minutes: number; - minutes_used_breakdown: { - /** - * Total minutes used on Ubuntu runner machines. - */ - UBUNTU: number; - /** - * Total minutes used on macOS runner machines. - */ - MACOS: number; - /** - * Total minutes used on Windows runner machines. - */ - WINDOWS: number; - }; -} -declare type BillingGetGithubActionsBillingUserEndpoint = { - username: string; -}; -declare type BillingGetGithubActionsBillingUserRequestOptions = { - method: "GET"; - url: "/users/:username/settings/billing/actions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetGithubActionsBillingUserResponseData { - /** - * The sum of the free and paid GitHub Actions minutes used. - */ - total_minutes_used: number; - /** - * The total paid GitHub Actions minutes used. - */ - total_paid_minutes_used: number; - /** - * The amount of free GitHub Actions minutes available. - */ - included_minutes: number; - minutes_used_breakdown: { - /** - * Total minutes used on Ubuntu runner machines. - */ - UBUNTU: number; - /** - * Total minutes used on macOS runner machines. - */ - MACOS: number; - /** - * Total minutes used on Windows runner machines. - */ - WINDOWS: number; - }; -} -declare type BillingGetGithubPackagesBillingGheEndpoint = { - /** - * Unique identifier of the GitHub Enterprise Cloud instance. - */ - enterprise_id: number; -}; -declare type BillingGetGithubPackagesBillingGheRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise_id/settings/billing/packages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetGithubPackagesBillingGheResponseData { - /** - * Sum of the free and paid storage space (GB) for GitHuub Packages. - */ - total_gigabytes_bandwidth_used: number; - /** - * Total paid storage space (GB) for GitHuub Packages. - */ - total_paid_gigabytes_bandwidth_used: number; - /** - * Free storage space (GB) for GitHub Packages. - */ - included_gigabytes_bandwidth: number; -} -declare type BillingGetGithubPackagesBillingOrgEndpoint = { - org: string; -}; -declare type BillingGetGithubPackagesBillingOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/settings/billing/packages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetGithubPackagesBillingOrgResponseData { - /** - * Sum of the free and paid storage space (GB) for GitHuub Packages. - */ - total_gigabytes_bandwidth_used: number; - /** - * Total paid storage space (GB) for GitHuub Packages. - */ - total_paid_gigabytes_bandwidth_used: number; - /** - * Free storage space (GB) for GitHub Packages. - */ - included_gigabytes_bandwidth: number; -} -declare type BillingGetGithubPackagesBillingUserEndpoint = { - username: string; -}; -declare type BillingGetGithubPackagesBillingUserRequestOptions = { - method: "GET"; - url: "/users/:username/settings/billing/packages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetGithubPackagesBillingUserResponseData { - /** - * Sum of the free and paid storage space (GB) for GitHuub Packages. - */ - total_gigabytes_bandwidth_used: number; - /** - * Total paid storage space (GB) for GitHuub Packages. - */ - total_paid_gigabytes_bandwidth_used: number; - /** - * Free storage space (GB) for GitHub Packages. - */ - included_gigabytes_bandwidth: number; -} -declare type BillingGetSharedStorageBillingGheEndpoint = { - /** - * Unique identifier of the GitHub Enterprise Cloud instance. - */ - enterprise_id: number; -}; -declare type BillingGetSharedStorageBillingGheRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise_id/settings/billing/shared-storage"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetSharedStorageBillingGheResponseData { - /** - * Numbers of days left in billing cycle. - */ - days_left_in_billing_cycle: number; - /** - * Estimated storage space (GB) used in billing cycle. - */ - estimated_paid_storage_for_month: number; - /** - * Estimated sum of free and paid storage space (GB) used in billing cycle. - */ - estimated_storage_for_month: number; -} -declare type BillingGetSharedStorageBillingOrgEndpoint = { - org: string; -}; -declare type BillingGetSharedStorageBillingOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/settings/billing/shared-storage"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetSharedStorageBillingOrgResponseData { - /** - * Numbers of days left in billing cycle. - */ - days_left_in_billing_cycle: number; - /** - * Estimated storage space (GB) used in billing cycle. - */ - estimated_paid_storage_for_month: number; - /** - * Estimated sum of free and paid storage space (GB) used in billing cycle. - */ - estimated_storage_for_month: number; -} -declare type BillingGetSharedStorageBillingUserEndpoint = { - username: string; -}; -declare type BillingGetSharedStorageBillingUserRequestOptions = { - method: "GET"; - url: "/users/:username/settings/billing/shared-storage"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface BillingGetSharedStorageBillingUserResponseData { - /** - * Numbers of days left in billing cycle. - */ - days_left_in_billing_cycle: number; - /** - * Estimated storage space (GB) used in billing cycle. - */ - estimated_paid_storage_for_month: number; - /** - * Estimated sum of free and paid storage space (GB) used in billing cycle. - */ - estimated_storage_for_month: number; -} -declare type ChecksCreateEndpoint = { - owner: string; - repo: string; - /** - * The name of the check. For example, "code-coverage". - */ - name: string; - /** - * The SHA of the commit. - */ - head_sha: string; - /** - * The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used. - */ - details_url?: string; - /** - * A reference for the run on the integrator's system. - */ - external_id?: string; - /** - * The current status. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - started_at?: string; - /** - * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required`. When the conclusion is `action_required`, additional details should be provided on the site specified by `details_url`. - * **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. Only GitHub can change a check run conclusion to `stale`. - */ - conclusion?: "success" | "failure" | "neutral" | "cancelled" | "skipped" | "timed_out" | "action_required"; - /** - * The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - completed_at?: string; - /** - * Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://developer.github.com/v3/checks/runs/#output-object) description. - */ - output?: ChecksCreateParamsOutput; - /** - * Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://developer.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://developer.github.com/v3/checks/runs/#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." - */ - actions?: ChecksCreateParamsActions[]; -} & RequiredPreview<"antiope">; -declare type ChecksCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksCreateResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - annotations_url: string; - annotations_count: number; - text: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} -declare type ChecksCreateSuiteEndpoint = { - owner: string; - repo: string; - /** - * The sha of the head commit. - */ - head_sha: string; -} & RequiredPreview<"antiope">; -declare type ChecksCreateSuiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-suites"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksCreateSuiteResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ChecksGetEndpoint = { - owner: string; - repo: string; - check_run_id: number; -} & RequiredPreview<"antiope">; -declare type ChecksGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-runs/:check_run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksGetResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} -declare type ChecksGetSuiteEndpoint = { - owner: string; - repo: string; - check_suite_id: number; -} & RequiredPreview<"antiope">; -declare type ChecksGetSuiteRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksGetSuiteResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ChecksListAnnotationsEndpoint = { - owner: string; - repo: string; - check_run_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; -declare type ChecksListAnnotationsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-runs/:check_run_id/annotations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ChecksListAnnotationsResponseData = { - path: string; - start_line: number; - end_line: number; - start_column: number; - end_column: number; - annotation_level: string; - title: string; - message: string; - raw_details: string; -}[]; -declare type ChecksListForRefEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * Returns check runs with the specified `name`. - */ - check_name?: string; - /** - * Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; -declare type ChecksListForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksListForRefResponseData { - total_count: number; - check_runs: { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; - }[]; -} -declare type ChecksListForSuiteEndpoint = { - owner: string; - repo: string; - check_suite_id: number; - /** - * Returns check runs with the specified `name`. - */ - check_name?: string; - /** - * Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; -declare type ChecksListForSuiteRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksListForSuiteResponseData { - total_count: number; - check_runs: { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; - }[]; -} -declare type ChecksListSuitesForRefEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * Filters check suites by GitHub App `id`. - */ - app_id?: number; - /** - * Filters checks suites by the name of the [check run](https://developer.github.com/v3/checks/runs/). - */ - check_name?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; -declare type ChecksListSuitesForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/check-suites"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksListSuitesForRefResponseData { - total_count: number; - check_suites: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }[]; -} -declare type ChecksRerequestSuiteEndpoint = { - owner: string; - repo: string; - check_suite_id: number; -} & RequiredPreview<"antiope">; -declare type ChecksRerequestSuiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ChecksSetSuitesPreferencesEndpoint = { - owner: string; - repo: string; - /** - * Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. See the [`auto_trigger_checks` object](https://developer.github.com/v3/checks/suites/#auto_trigger_checks-object) description for details. - */ - auto_trigger_checks?: ChecksSetSuitesPreferencesParamsAutoTriggerChecks[]; -} & RequiredPreview<"antiope">; -declare type ChecksSetSuitesPreferencesRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/check-suites/preferences"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksSetSuitesPreferencesResponseData { - preferences: { - auto_trigger_checks: { - app_id: number; - setting: boolean; - }[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ChecksUpdateEndpoint = { - owner: string; - repo: string; - check_run_id: number; - /** - * The name of the check. For example, "code-coverage". - */ - name?: string; - /** - * The URL of the integrator's site that has the full details of the check. - */ - details_url?: string; - /** - * A reference for the run on the integrator's system. - */ - external_id?: string; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - started_at?: string; - /** - * The current status. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required`. - * **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. Only GitHub can change a check run conclusion to `stale`. - */ - conclusion?: "success" | "failure" | "neutral" | "cancelled" | "skipped" | "timed_out" | "action_required"; - /** - * The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - completed_at?: string; - /** - * Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://developer.github.com/v3/checks/runs/#output-object-1) description. - */ - output?: ChecksUpdateParamsOutput; - /** - * Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://developer.github.com/v3/checks/runs/#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." - */ - actions?: ChecksUpdateParamsActions[]; -} & RequiredPreview<"antiope">; -declare type ChecksUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/check-runs/:check_run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ChecksUpdateResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} -declare type CodeScanningGetAlertEndpoint = { - owner: string; - repo: string; - alert_id: number; -}; -declare type CodeScanningGetAlertRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/code-scanning/alerts/:alert_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface CodeScanningGetAlertResponseData { - rule_id: string; - rule_severity: string; - rule_description: string; - tool: string; - created_at: string; - open: boolean; - closed_by: string; - closed_at: string; - url: string; - html_url: string; -} -declare type CodeScanningListAlertsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Set to `closed` to list only closed code scanning alerts. - */ - state?: string; - /** - * Returns a list of code scanning alerts for a specific brach reference. The `ref` must be formatted as `heads/`. - */ - ref?: string; -}; -declare type CodeScanningListAlertsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/code-scanning/alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type CodeScanningListAlertsForRepoResponseData = { - rule_id: string; - rule_severity: string; - rule_description: string; - tool: string; - created_at: string; - open: boolean; - closed_by: string; - closed_at: string; - url: string; - html_url: string; -}[]; -declare type CodesOfConductGetAllCodesOfConductEndpoint = {} & RequiredPreview<"scarlet-witch">; -declare type CodesOfConductGetAllCodesOfConductRequestOptions = { - method: "GET"; - url: "/codes_of_conduct"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type CodesOfConductGetAllCodesOfConductResponseData = { - key: string; - name: string; - url: string; -}[]; -declare type CodesOfConductGetConductCodeEndpoint = { - key: string; -} & RequiredPreview<"scarlet-witch">; -declare type CodesOfConductGetConductCodeRequestOptions = { - method: "GET"; - url: "/codes_of_conduct/:key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface CodesOfConductGetConductCodeResponseData { - key: string; - name: string; - url: string; - body: string; -} -declare type CodesOfConductGetForRepoEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"scarlet-witch">; -declare type CodesOfConductGetForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/community/code_of_conduct"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface CodesOfConductGetForRepoResponseData { - key: string; - name: string; - url: string; - body: string; -} -declare type EmojisGetEndpoint = {}; -declare type EmojisGetRequestOptions = { - method: "GET"; - url: "/emojis"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsCheckIsStarredEndpoint = { - gist_id: string; -}; -declare type GistsCheckIsStarredRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsCreateEndpoint = { - /** - * The filenames and content of each file in the gist. The keys in the `files` object represent the filename and have the type `string`. - */ - files: GistsCreateParamsFiles; - /** - * A descriptive name for this gist. - */ - description?: string; - /** - * When `true`, the gist will be public and available for anyone to see. - */ - public?: boolean; -}; -declare type GistsCreateRequestOptions = { - method: "POST"; - url: "/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsCreateResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} -declare type GistsCreateCommentEndpoint = { - gist_id: string; - /** - * The comment text. - */ - body: string; -}; -declare type GistsCreateCommentRequestOptions = { - method: "POST"; - url: "/gists/:gist_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsCreateCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type GistsDeleteEndpoint = { - gist_id: string; -}; -declare type GistsDeleteRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsDeleteCommentEndpoint = { - gist_id: string; - comment_id: number; -}; -declare type GistsDeleteCommentRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsForkEndpoint = { - gist_id: string; -}; -declare type GistsForkRequestOptions = { - method: "POST"; - url: "/gists/:gist_id/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsForkResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -} -declare type GistsGetEndpoint = { - gist_id: string; -}; -declare type GistsGetRequestOptions = { - method: "GET"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsGetResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} -declare type GistsGetCommentEndpoint = { - gist_id: string; - comment_id: number; -}; -declare type GistsGetCommentRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsGetCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type GistsGetRevisionEndpoint = { - gist_id: string; - sha: string; -}; -declare type GistsGetRevisionRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/:sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsGetRevisionResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} -declare type GistsListEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListRequestOptions = { - method: "GET"; - url: "/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; -declare type GistsListCommentsEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListCommentsRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListCommentsResponseData = { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type GistsListCommitsEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListCommitsRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListCommitsResponseData = { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; -}[]; -declare type GistsListForUserEndpoint = { - username: string; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListForUserResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; -declare type GistsListForksEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListForksRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListForksResponseData = { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; -}[]; -declare type GistsListPublicEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListPublicRequestOptions = { - method: "GET"; - url: "/gists/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListPublicResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; -declare type GistsListStarredEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GistsListStarredRequestOptions = { - method: "GET"; - url: "/gists/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GistsListStarredResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; -declare type GistsStarEndpoint = { - gist_id: string; -}; -declare type GistsStarRequestOptions = { - method: "PUT"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsUnstarEndpoint = { - gist_id: string; -}; -declare type GistsUnstarRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GistsUpdateEndpoint = { - gist_id: string; - /** - * A descriptive name for this gist. - */ - description?: string; - /** - * The filenames and content that make up this gist. - */ - files?: GistsUpdateParamsFiles; -}; -declare type GistsUpdateRequestOptions = { - method: "PATCH"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsUpdateResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} -declare type GistsUpdateCommentEndpoint = { - gist_id: string; - comment_id: number; - /** - * The comment text. - */ - body: string; -}; -declare type GistsUpdateCommentRequestOptions = { - method: "PATCH"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GistsUpdateCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type GitCreateBlobEndpoint = { - owner: string; - repo: string; - /** - * The new blob's content. - */ - content: string; - /** - * The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported. - */ - encoding?: string; -}; -declare type GitCreateBlobRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/blobs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateBlobResponseData { - url: string; - sha: string; -} -declare type GitCreateCommitEndpoint = { - owner: string; - repo: string; - /** - * The commit message - */ - message: string; - /** - * The SHA of the tree object this commit points to - */ - tree: string; - /** - * The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. - */ - parents: string[]; - /** - * Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. - */ - author?: GitCreateCommitParamsAuthor; - /** - * Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details. - */ - committer?: GitCreateCommitParamsCommitter; - /** - * The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits. - */ - signature?: string; -}; -declare type GitCreateCommitRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateCommitResponseData { - sha: string; - node_id: string; - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} -declare type GitCreateRefEndpoint = { - owner: string; - repo: string; - /** - * The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected. - */ - ref: string; - /** - * The SHA1 value for this reference. - */ - sha: string; -}; -declare type GitCreateRefRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/refs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} -declare type GitCreateTagEndpoint = { - owner: string; - repo: string; - /** - * The tag's name. This is typically a version (e.g., "v0.0.1"). - */ - tag: string; - /** - * The tag message. - */ - message: string; - /** - * The SHA of the git object this is tagging. - */ - object: string; - /** - * The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`. - */ - type: "commit" | "tree" | "blob"; - /** - * An object with information about the individual creating the tag. - */ - tagger?: GitCreateTagParamsTagger; -}; -declare type GitCreateTagRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/tags"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateTagResponseData { - node_id: string; - tag: string; - sha: string; - url: string; - message: string; - tagger: { - name: string; - email: string; - date: string; - }; - object: { - type: string; - sha: string; - url: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} -declare type GitCreateTreeEndpoint = { - owner: string; - repo: string; - /** - * Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure. - */ - tree: GitCreateTreeParamsTree[]; - /** - * The SHA1 of the tree you want to update with new data. If you don't set this, the commit will be created on top of everything; however, it will only contain your change, the rest of your files will show up as deleted. - */ - base_tree?: string; -}; -declare type GitCreateTreeRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/trees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitCreateTreeResponseData { - sha: string; - url: string; - tree: { - path: string; - mode: string; - type: string; - size: number; - sha: string; - url: string; - }[]; -} -declare type GitDeleteRefEndpoint = { - owner: string; - repo: string; - ref: string; -}; -declare type GitDeleteRefRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/git/refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type GitGetBlobEndpoint = { - owner: string; - repo: string; - file_sha: string; -}; -declare type GitGetBlobRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/blobs/:file_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetBlobResponseData { - content: string; - encoding: string; - url: string; - sha: string; - size: number; -} -declare type GitGetCommitEndpoint = { - owner: string; - repo: string; - commit_sha: string; -}; -declare type GitGetCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/commits/:commit_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetCommitResponseData { - sha: string; - node_id: string; - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} -declare type GitGetRefEndpoint = { - owner: string; - repo: string; - ref: string; -}; -declare type GitGetRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/ref/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} -declare type GitGetTagEndpoint = { - owner: string; - repo: string; - tag_sha: string; -}; -declare type GitGetTagRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/tags/:tag_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetTagResponseData { - node_id: string; - tag: string; - sha: string; - url: string; - message: string; - tagger: { - name: string; - email: string; - date: string; - }; - object: { - type: string; - sha: string; - url: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} -declare type GitGetTreeEndpoint = { - owner: string; - repo: string; - tree_sha: string; - /** - * Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `"true"`, and `"false"`. Omit this parameter to prevent recursively returning objects or subtrees. - */ - recursive?: string; -}; -declare type GitGetTreeRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/trees/:tree_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitGetTreeResponseData { - sha: string; - url: string; - tree: { - path: string; - mode: string; - type: string; - size: number; - sha: string; - url: string; - }[]; - truncated: boolean; -} -declare type GitListMatchingRefsEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type GitListMatchingRefsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/matching-refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GitListMatchingRefsResponseData = { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -}[]; -declare type GitUpdateRefEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * The SHA1 value to set this reference to - */ - sha: string; - /** - * Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work. - */ - force?: boolean; -}; -declare type GitUpdateRefRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/git/refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitUpdateRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} -declare type GitignoreGetAllTemplatesEndpoint = {}; -declare type GitignoreGetAllTemplatesRequestOptions = { - method: "GET"; - url: "/gitignore/templates"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type GitignoreGetAllTemplatesResponseData = string[]; -declare type GitignoreGetTemplateEndpoint = { - name: string; -}; -declare type GitignoreGetTemplateRequestOptions = { - method: "GET"; - url: "/gitignore/templates/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface GitignoreGetTemplateResponseData { - name: string; - source: string; -} -declare type InteractionsGetRestrictionsForOrgEndpoint = { - org: string; -} & RequiredPreview<"sombra">; -declare type InteractionsGetRestrictionsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface InteractionsGetRestrictionsForOrgResponseData { - limit: string; - origin: string; - expires_at: string; -} -declare type InteractionsGetRestrictionsForRepoEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"sombra">; -declare type InteractionsGetRestrictionsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface InteractionsGetRestrictionsForRepoResponseData { - limit: string; - origin: string; - expires_at: string; -} -declare type InteractionsRemoveRestrictionsForOrgEndpoint = { - org: string; -} & RequiredPreview<"sombra">; -declare type InteractionsRemoveRestrictionsForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type InteractionsRemoveRestrictionsForRepoEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"sombra">; -declare type InteractionsRemoveRestrictionsForRepoRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type InteractionsSetRestrictionsForOrgEndpoint = { - org: string; - /** - * Specifies the group of GitHub users who can comment, open issues, or create pull requests in public repositories for the given organization. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`. - */ - limit: "existing_users" | "contributors_only" | "collaborators_only"; -} & RequiredPreview<"sombra">; -declare type InteractionsSetRestrictionsForOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface InteractionsSetRestrictionsForOrgResponseData { - limit: string; - origin: string; - expires_at: string; -} -declare type InteractionsSetRestrictionsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Specifies the group of GitHub users who can comment, open issues, or create pull requests for the given repository. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`. - */ - limit: "existing_users" | "contributors_only" | "collaborators_only"; -} & RequiredPreview<"sombra">; -declare type InteractionsSetRestrictionsForRepoRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface InteractionsSetRestrictionsForRepoResponseData { - limit: string; - origin: string; - expires_at: string; -} -declare type IssuesAddAssigneesEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._ - */ - assignees?: string[]; -}; -declare type IssuesAddAssigneesRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesAddAssigneesResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -} -declare type IssuesAddLabelsEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The name of the label to add to the issue. Must contain at least one label. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. - */ - labels: string[]; -}; -declare type IssuesAddLabelsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesAddLabelsResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesCheckUserCanBeAssignedEndpoint = { - owner: string; - repo: string; - assignee: string; -}; -declare type IssuesCheckUserCanBeAssignedRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/assignees/:assignee"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesCreateEndpoint = { - owner: string; - repo: string; - /** - * The title of the issue. - */ - title: string; - /** - * The contents of the issue. - */ - body?: string; - /** - * Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ - */ - assignee?: string; - /** - * The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._ - */ - milestone?: number; - /** - * Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ - */ - labels?: string[]; - /** - * Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ - */ - assignees?: string[]; -}; -declare type IssuesCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesCreateResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type IssuesCreateCommentEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The contents of the comment. - */ - body: string; -}; -declare type IssuesCreateCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesCreateCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type IssuesCreateLabelEndpoint = { - owner: string; - repo: string; - /** - * The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/). - */ - name: string; - /** - * The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. - */ - color: string; - /** - * A short description of the label. - */ - description?: string; -}; -declare type IssuesCreateLabelRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesCreateLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} -declare type IssuesCreateMilestoneEndpoint = { - owner: string; - repo: string; - /** - * The title of the milestone. - */ - title: string; - /** - * The state of the milestone. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * A description of the milestone. - */ - description?: string; - /** - * The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - due_on?: string; -}; -declare type IssuesCreateMilestoneRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/milestones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesCreateMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} -declare type IssuesDeleteCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type IssuesDeleteCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesDeleteLabelEndpoint = { - owner: string; - repo: string; - name: string; -}; -declare type IssuesDeleteLabelRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesDeleteMilestoneEndpoint = { - owner: string; - repo: string; - milestone_number: number; -}; -declare type IssuesDeleteMilestoneRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesGetEndpoint = { - owner: string; - repo: string; - issue_number: number; -}; -declare type IssuesGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type IssuesGetCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type IssuesGetCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type IssuesGetEventEndpoint = { - owner: string; - repo: string; - event_id: number; -}; -declare type IssuesGetEventRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/events/:event_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetEventResponseData { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; - issue: { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - }; -} -declare type IssuesGetLabelEndpoint = { - owner: string; - repo: string; - name: string; -}; -declare type IssuesGetLabelRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} -declare type IssuesGetMilestoneEndpoint = { - owner: string; - repo: string; - milestone_number: number; -}; -declare type IssuesGetMilestoneRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesGetMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} -declare type IssuesListEndpoint = { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListRequestOptions = { - method: "GET"; - url: "/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type IssuesListAssigneesEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListAssigneesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListAssigneesResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type IssuesListCommentsEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Only comments updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListCommentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListCommentsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type IssuesListCommentsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Either `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * Either `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Only comments updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListCommentsForRepoResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type IssuesListEventsEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListEventsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListEventsResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; -}[]; -declare type IssuesListEventsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListEventsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListEventsForRepoResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; - issue: { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - }; -}[]; -declare type IssuesListEventsForTimelineEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"mockingbird">; -declare type IssuesListEventsForTimelineRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/timeline"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListEventsForTimelineResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; -}[]; -declare type IssuesListForAuthenticatedUserEndpoint = { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListForAuthenticatedUserResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type IssuesListForOrgEndpoint = { - org: string; - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListForOrgResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; -declare type IssuesListForRepoEndpoint = { - owner: string; - repo: string; - /** - * If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned. - */ - milestone?: string; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. - */ - assignee?: string; - /** - * The user that created the issue. - */ - creator?: string; - /** - * A user that's mentioned in the issue. - */ - mentioned?: string; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListForRepoResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -}[]; -declare type IssuesListLabelsForMilestoneEndpoint = { - owner: string; - repo: string; - milestone_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListLabelsForMilestoneRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones/:milestone_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListLabelsForMilestoneResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesListLabelsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListLabelsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListLabelsForRepoResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesListLabelsOnIssueEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListLabelsOnIssueRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListLabelsOnIssueResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesListMilestonesEndpoint = { - owner: string; - repo: string; - /** - * The state of the milestone. Either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * What to sort results by. Either `due_on` or `completeness`. - */ - sort?: "due_on" | "completeness"; - /** - * The direction of the sort. Either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type IssuesListMilestonesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesListMilestonesResponseData = { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -}[]; -declare type IssuesLockEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: - * \* `off-topic` - * \* `too heated` - * \* `resolved` - * \* `spam` - */ - lock_reason?: "off-topic" | "too heated" | "resolved" | "spam"; -}; -declare type IssuesLockRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/issues/:issue_number/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesRemoveAllLabelsEndpoint = { - owner: string; - repo: string; - issue_number: number; -}; -declare type IssuesRemoveAllLabelsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesRemoveAssigneesEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._ - */ - assignees?: string[]; -}; -declare type IssuesRemoveAssigneesRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesRemoveAssigneesResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -} -declare type IssuesRemoveLabelEndpoint = { - owner: string; - repo: string; - issue_number: number; - name: string; -}; -declare type IssuesRemoveLabelRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesRemoveLabelResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesSetLabelsEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. - */ - labels?: string[]; -}; -declare type IssuesSetLabelsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type IssuesSetLabelsResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; -declare type IssuesUnlockEndpoint = { - owner: string; - repo: string; - issue_number: number; -}; -declare type IssuesUnlockRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type IssuesUpdateEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The title of the issue. - */ - title?: string; - /** - * The contents of the issue. - */ - body?: string; - /** - * Login for the user that this issue should be assigned to. **This field is deprecated.** - */ - assignee?: string; - /** - * State of the issue. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._ - */ - milestone?: number | null; - /** - * Labels to associate with this issue. Pass one or more Labels to _replace_ the set of Labels on this Issue. Send an empty array (`[]`) to clear all Labels from the Issue. _NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise._ - */ - labels?: string[]; - /** - * Logins for Users to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this Issue. Send an empty array (`[]`) to clear all assignees from the Issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ - */ - assignees?: string[]; -}; -declare type IssuesUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/issues/:issue_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesUpdateResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type IssuesUpdateCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The contents of the comment. - */ - body: string; -}; -declare type IssuesUpdateCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesUpdateCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type IssuesUpdateLabelEndpoint = { - owner: string; - repo: string; - name: string; - /** - * The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/). - */ - new_name?: string; - /** - * The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. - */ - color?: string; - /** - * A short description of the label. - */ - description?: string; -}; -declare type IssuesUpdateLabelRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesUpdateLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} -declare type IssuesUpdateMilestoneEndpoint = { - owner: string; - repo: string; - milestone_number: number; - /** - * The title of the milestone. - */ - title?: string; - /** - * The state of the milestone. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * A description of the milestone. - */ - description?: string; - /** - * The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - due_on?: string; -}; -declare type IssuesUpdateMilestoneRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface IssuesUpdateMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} -declare type LicensesGetEndpoint = { - license: string; -}; -declare type LicensesGetRequestOptions = { - method: "GET"; - url: "/licenses/:license"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface LicensesGetResponseData { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - html_url: string; - description: string; - implementation: string; - permissions: string[]; - conditions: string[]; - limitations: string[]; - body: string; - featured: boolean; -} -declare type LicensesGetAllCommonlyUsedEndpoint = {}; -declare type LicensesGetAllCommonlyUsedRequestOptions = { - method: "GET"; - url: "/licenses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type LicensesGetAllCommonlyUsedResponseData = { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; -}[]; -declare type LicensesGetForRepoEndpoint = { - owner: string; - repo: string; -}; -declare type LicensesGetForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/license"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface LicensesGetForRepoResponseData { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - content: string; - encoding: string; - _links: { - self: string; - git: string; - html: string; - }; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -} -declare type MarkdownRenderEndpoint = { - /** - * The Markdown text to render in HTML. Markdown content must be 400 KB or less. - */ - text: string; - /** - * The rendering mode. Can be either: - * \* `markdown` to render a document in plain Markdown, just like README.md files are rendered. - * \* `gfm` to render a document in [GitHub Flavored Markdown](https://github.github.com/gfm/), which creates links for user mentions as well as references to SHA-1 hashes, issues, and pull requests. - */ - mode?: "markdown" | "gfm"; - /** - * The repository context to use when creating references in `gfm` mode. Omit this parameter when using `markdown` mode. - */ - context?: string; -}; -declare type MarkdownRenderRequestOptions = { - method: "POST"; - url: "/markdown"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MarkdownRenderRawEndpoint = { - /** - * data parameter - */ - data: string; -} & { - headers: { - "content-type": "text/plain; charset=utf-8"; - }; -}; -declare type MarkdownRenderRawRequestOptions = { - method: "POST"; - url: "/markdown/raw"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MetaGetEndpoint = {}; -declare type MetaGetRequestOptions = { - method: "GET"; - url: "/meta"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MetaGetResponseData { - verifiable_password_authentication: boolean; - ssh_key_fingerprints: { - MD5_RSA: string; - MD5_DSA: string; - SHA256_RSA: string; - SHA256_DSA: string; - }; - hooks: string[]; - web: string[]; - api: string[]; - git: string[]; - pages: string[]; - importer: string[]; -} -declare type MigrationsCancelImportEndpoint = { - owner: string; - repo: string; -}; -declare type MigrationsCancelImportRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsDeleteArchiveForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsDeleteArchiveForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsDeleteArchiveForOrgEndpoint = { - org: string; - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsDeleteArchiveForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsDownloadArchiveForOrgEndpoint = { - org: string; - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsDownloadArchiveForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsGetArchiveForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsGetArchiveForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsGetCommitAuthorsEndpoint = { - owner: string; - repo: string; - /** - * Only authors found after this id are returned. Provide the highest author ID you've seen so far. New authors may be added to the list at any point while the importer is performing the `raw` step. - */ - since?: string; -}; -declare type MigrationsGetCommitAuthorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import/authors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsGetCommitAuthorsResponseData = { - id: number; - remote_id: string; - remote_name: string; - email: string; - name: string; - url: string; - import_url: string; -}[]; -declare type MigrationsGetImportStatusEndpoint = { - owner: string; - repo: string; -}; -declare type MigrationsGetImportStatusRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsGetImportStatusResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; -} -declare type MigrationsGetLargeFilesEndpoint = { - owner: string; - repo: string; -}; -declare type MigrationsGetLargeFilesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import/large_files"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsGetLargeFilesResponseData = { - ref_name: string; - path: string; - oid: string; - size: number; -}[]; -declare type MigrationsGetStatusForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsGetStatusForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations/:migration_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsGetStatusForAuthenticatedUserResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} -declare type MigrationsGetStatusForOrgEndpoint = { - org: string; - migration_id: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsGetStatusForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsGetStatusForOrgResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} -declare type MigrationsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsListForAuthenticatedUserResponseData = { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -}[]; -declare type MigrationsListForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsListForOrgResponseData = { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -}[]; -declare type MigrationsListReposForOrgEndpoint = { - org: string; - migration_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsListReposForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsListReposForOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type MigrationsListReposForUserEndpoint = { - migration_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; -declare type MigrationsListReposForUserRequestOptions = { - method: "GET"; - url: "/user/:migration_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type MigrationsListReposForUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type MigrationsMapCommitAuthorEndpoint = { - owner: string; - repo: string; - author_id: number; - /** - * The new Git author email. - */ - email?: string; - /** - * The new Git author name. - */ - name?: string; -}; -declare type MigrationsMapCommitAuthorRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import/authors/:author_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsMapCommitAuthorResponseData { - id: number; - remote_id: string; - remote_name: string; - email: string; - name: string; - url: string; - import_url: string; -} -declare type MigrationsSetLfsPreferenceEndpoint = { - owner: string; - repo: string; - /** - * Can be one of `opt_in` (large files will be stored using Git LFS) or `opt_out` (large files will be removed during the import). - */ - use_lfs: "opt_in" | "opt_out"; -}; -declare type MigrationsSetLfsPreferenceRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import/lfs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsSetLfsPreferenceResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; -} -declare type MigrationsStartForAuthenticatedUserEndpoint = { - /** - * An array of repositories to include in the migration. - */ - repositories: string[]; - /** - * Locks the `repositories` to prevent changes during the migration when set to `true`. - */ - lock_repositories?: boolean; - /** - * Does not include attachments uploaded to GitHub.com in the migration data when set to `true`. Excluding attachments will reduce the migration archive file size. - */ - exclude_attachments?: boolean; -}; -declare type MigrationsStartForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsStartForAuthenticatedUserResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} -declare type MigrationsStartForOrgEndpoint = { - org: string; - /** - * A list of arrays indicating which repositories should be migrated. - */ - repositories: string[]; - /** - * Indicates whether repositories should be locked (to prevent manipulation) while migrating data. - */ - lock_repositories?: boolean; - /** - * Indicates whether attachments should be excluded from the migration (to reduce migration archive file size). - */ - exclude_attachments?: boolean; -}; -declare type MigrationsStartForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsStartForOrgResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} -declare type MigrationsStartImportEndpoint = { - owner: string; - repo: string; - /** - * The URL of the originating repository. - */ - vcs_url: string; - /** - * The originating VCS type. Can be one of `subversion`, `git`, `mercurial`, or `tfvc`. Please be aware that without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response. - */ - vcs?: "subversion" | "git" | "mercurial" | "tfvc"; - /** - * If authentication is required, the username to provide to `vcs_url`. - */ - vcs_username?: string; - /** - * If authentication is required, the password to provide to `vcs_url`. - */ - vcs_password?: string; - /** - * For a tfvc import, the name of the project that is being imported. - */ - tfvc_project?: string; -}; -declare type MigrationsStartImportRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsStartImportResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - percent: number; - commit_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; - tfvc_project: string; -} -declare type MigrationsUnlockRepoForAuthenticatedUserEndpoint = { - migration_id: number; - repo_name: string; -} & RequiredPreview<"wyandotte">; -declare type MigrationsUnlockRepoForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/migrations/:migration_id/repos/:repo_name/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsUnlockRepoForOrgEndpoint = { - org: string; - migration_id: number; - repo_name: string; -} & RequiredPreview<"wyandotte">; -declare type MigrationsUnlockRepoForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type MigrationsUpdateImportEndpoint = { - owner: string; - repo: string; - /** - * The username to provide to the originating repository. - */ - vcs_username?: string; - /** - * The password to provide to the originating repository. - */ - vcs_password?: string; -}; -declare type MigrationsUpdateImportRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface MigrationsUpdateImportResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - percent: number; - commit_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; - tfvc_project: string; -} -declare type OauthAuthorizationsCreateAuthorizationEndpoint = { - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note. - */ - note: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * The 20 character OAuth app client key for which to create the token. - */ - client_id?: string; - /** - * The 40 character OAuth app client secret for which to create the token. - */ - client_secret?: string; - /** - * A unique string to distinguish an authorization from others created for the same client ID and user. - */ - fingerprint?: string; -}; -declare type OauthAuthorizationsCreateAuthorizationRequestOptions = { - method: "POST"; - url: "/authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsCreateAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsDeleteAuthorizationEndpoint = { - authorization_id: number; -}; -declare type OauthAuthorizationsDeleteAuthorizationRequestOptions = { - method: "DELETE"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OauthAuthorizationsDeleteGrantEndpoint = { - grant_id: number; -}; -declare type OauthAuthorizationsDeleteGrantRequestOptions = { - method: "DELETE"; - url: "/applications/grants/:grant_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OauthAuthorizationsGetAuthorizationEndpoint = { - authorization_id: number; -}; -declare type OauthAuthorizationsGetAuthorizationRequestOptions = { - method: "GET"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsGetAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsGetGrantEndpoint = { - grant_id: number; -}; -declare type OauthAuthorizationsGetGrantRequestOptions = { - method: "GET"; - url: "/applications/grants/:grant_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsGetGrantResponseData { - id: number; - url: string; - app: { - url: string; - name: string; - client_id: string; - }; - created_at: string; - updated_at: string; - scopes: string[]; -} -declare type OauthAuthorizationsGetOrCreateAuthorizationForAppEndpoint = { - client_id: string; - /** - * The 40 character OAuth app client secret associated with the client ID specified in the URL. - */ - client_secret: string; - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * A unique string to distinguish an authorization from others created for the same client and user. If provided, this API is functionally equivalent to [Get-or-create an authorization for a specific app and fingerprint](https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint). - */ - fingerprint?: string; -}; -declare type OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions = { - method: "PUT"; - url: "/authorizations/clients/:client_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppResponse201Data { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint = { - client_id: string; - fingerprint: string; - /** - * The 40 character OAuth app client secret associated with the client ID specified in the URL. - */ - client_secret: string; - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; -}; -declare type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions = { - method: "PUT"; - url: "/authorizations/clients/:client_id/:fingerprint"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponse201Data { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OauthAuthorizationsListAuthorizationsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OauthAuthorizationsListAuthorizationsRequestOptions = { - method: "GET"; - url: "/authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OauthAuthorizationsListAuthorizationsResponseData = { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -}[]; -declare type OauthAuthorizationsListGrantsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OauthAuthorizationsListGrantsRequestOptions = { - method: "GET"; - url: "/applications/grants"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OauthAuthorizationsListGrantsResponseData = { - id: number; - url: string; - app: { - url: string; - name: string; - client_id: string; - }; - created_at: string; - updated_at: string; - scopes: string[]; -}[]; -declare type OauthAuthorizationsUpdateAuthorizationEndpoint = { - authorization_id: number; - /** - * Replaces the authorization scopes with these. - */ - scopes?: string[]; - /** - * A list of scopes to add to this authorization. - */ - add_scopes?: string[]; - /** - * A list of scopes to remove from this authorization. - */ - remove_scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * A unique string to distinguish an authorization from others created for the same client ID and user. - */ - fingerprint?: string; -}; -declare type OauthAuthorizationsUpdateAuthorizationRequestOptions = { - method: "PATCH"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OauthAuthorizationsUpdateAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} -declare type OrgsBlockUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsBlockUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsCheckBlockedUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsCheckBlockedUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsCheckMembershipForUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsCheckMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsCheckPublicMembershipForUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsCheckPublicMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsConvertMemberToOutsideCollaboratorEndpoint = { - org: string; - username: string; -}; -declare type OrgsConvertMemberToOutsideCollaboratorRequestOptions = { - method: "PUT"; - url: "/orgs/:org/outside_collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsConvertMemberToOutsideCollaboratorResponseData { - message: string; - documentation_url: string; -} -declare type OrgsCreateInvitationEndpoint = { - org: string; - /** - * **Required unless you provide `email`**. GitHub user ID for the person you are inviting. - */ - invitee_id?: number; - /** - * **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user. - */ - email?: string; - /** - * Specify role for new member. Can be one of: - * \* `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams. - * \* `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation. - * \* `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization. - */ - role?: "admin" | "direct_member" | "billing_manager"; - /** - * Specify IDs for the teams you want to invite new members to. - */ - team_ids?: number[]; -}; -declare type OrgsCreateInvitationRequestOptions = { - method: "POST"; - url: "/orgs/:org/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsCreateInvitationResponseData { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -} -declare type OrgsCreateWebhookEndpoint = { - org: string; - /** - * Must be passed as "web". - */ - name: string; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/orgs/hooks/#create-hook-config-params). - */ - config: OrgsCreateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; -declare type OrgsCreateWebhookRequestOptions = { - method: "POST"; - url: "/orgs/:org/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsCreateWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} -declare type OrgsDeleteWebhookEndpoint = { - org: string; - hook_id: number; -}; -declare type OrgsDeleteWebhookRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsGetEndpoint = { - org: string; -}; -declare type OrgsGetRequestOptions = { - method: "GET"; - url: "/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsGetResponseData { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - total_private_repos: number; - owned_private_repos: number; - private_gists: number; - disk_usage: number; - collaborators: number; - billing_email: string; - plan: { - name: string; - space: number; - private_repos: number; - seats: number; - filled_seats: number; - }; - default_repository_permission: string; - members_can_create_repositories: boolean; - two_factor_requirement_enabled: boolean; - members_allowed_repository_creation_type: string; - members_can_create_public_repositories: boolean; - members_can_create_private_repositories: boolean; - members_can_create_internal_repositories: boolean; -} -declare type OrgsGetMembershipForAuthenticatedUserEndpoint = { - org: string; -}; -declare type OrgsGetMembershipForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/memberships/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsGetMembershipForAuthenticatedUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type OrgsGetMembershipForUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsGetMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsGetMembershipForUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type OrgsGetWebhookEndpoint = { - org: string; - hook_id: number; -}; -declare type OrgsGetWebhookRequestOptions = { - method: "GET"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsGetWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} -declare type OrgsListEndpoint = { - /** - * The integer ID of the last organization that you've seen. - */ - since?: number; -}; -declare type OrgsListRequestOptions = { - method: "GET"; - url: "/organizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; -declare type OrgsListAppInstallationsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"machine-man">; -declare type OrgsListAppInstallationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsListAppInstallationsResponseData { - total_count: number; - installations: { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - deployments: string; - metadata: string; - pull_requests: string; - statuses: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; - }[]; -} -declare type OrgsListBlockedUsersEndpoint = { - org: string; -}; -declare type OrgsListBlockedUsersRequestOptions = { - method: "GET"; - url: "/orgs/:org/blocks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListBlockedUsersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type OrgsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListForAuthenticatedUserResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; -declare type OrgsListForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListForUserResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; -declare type OrgsListInvitationTeamsEndpoint = { - org: string; - invitation_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListInvitationTeamsRequestOptions = { - method: "GET"; - url: "/orgs/:org/invitations/:invitation_id/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListInvitationTeamsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; -declare type OrgsListMembersEndpoint = { - org: string; - /** - * Filter members returned in the list. Can be one of: - * \* `2fa_disabled` - Members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. Available for organization owners. - * \* `all` - All members the authenticated user can see. - */ - filter?: "2fa_disabled" | "all"; - /** - * Filter members returned by their role. Can be one of: - * \* `all` - All members of the organization, regardless of role. - * \* `admin` - Organization owners. - * \* `member` - Non-owner organization members. - */ - role?: "all" | "admin" | "member"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListMembersRequestOptions = { - method: "GET"; - url: "/orgs/:org/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListMembersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type OrgsListMembershipsForAuthenticatedUserEndpoint = { - /** - * Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships. - */ - state?: "active" | "pending"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListMembershipsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/memberships/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListMembershipsForAuthenticatedUserResponseData = { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; -declare type OrgsListOutsideCollaboratorsEndpoint = { - org: string; - /** - * Filter the list of outside collaborators. Can be one of: - * \* `2fa_disabled`: Outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. - * \* `all`: All outside collaborators. - */ - filter?: "2fa_disabled" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListOutsideCollaboratorsRequestOptions = { - method: "GET"; - url: "/orgs/:org/outside_collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListOutsideCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type OrgsListPendingInvitationsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListPendingInvitationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListPendingInvitationsResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; -declare type OrgsListPublicMembersEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListPublicMembersRequestOptions = { - method: "GET"; - url: "/orgs/:org/public_members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListPublicMembersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type OrgsListSamlSsoAuthorizationsEndpoint = { - org: string; -}; -declare type OrgsListSamlSsoAuthorizationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/credential-authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListSamlSsoAuthorizationsResponseData = { - login: string; - credential_id: string; - credential_type: string; - token_last_eight: string; - credential_authorized_at: string; - scopes: string[]; -}[]; -declare type OrgsListWebhooksEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type OrgsListWebhooksRequestOptions = { - method: "GET"; - url: "/orgs/:org/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type OrgsListWebhooksResponseData = { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -}[]; -declare type OrgsPingWebhookEndpoint = { - org: string; - hook_id: number; -}; -declare type OrgsPingWebhookRequestOptions = { - method: "POST"; - url: "/orgs/:org/hooks/:hook_id/pings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsRemoveMemberEndpoint = { - org: string; - username: string; -}; -declare type OrgsRemoveMemberRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsRemoveMembershipForUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsRemoveMembershipForUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsRemoveOutsideCollaboratorEndpoint = { - org: string; - username: string; -}; -declare type OrgsRemoveOutsideCollaboratorRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/outside_collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsRemoveOutsideCollaboratorResponseData { - message: string; - documentation_url: string; -} -declare type OrgsRemovePublicMembershipForAuthenticatedUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsRemovePublicMembershipForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsRemoveSamlSsoAuthorizationEndpoint = { - org: string; - credential_id: number; -}; -declare type OrgsRemoveSamlSsoAuthorizationRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/credential-authorizations/:credential_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsSetMembershipForUserEndpoint = { - org: string; - username: string; - /** - * The role to give the user in the organization. Can be one of: - * \* `admin` - The user will become an owner of the organization. - * \* `member` - The user will become a non-owner member of the organization. - */ - role?: "admin" | "member"; -}; -declare type OrgsSetMembershipForUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsSetMembershipForUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type OrgsSetPublicMembershipForAuthenticatedUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsSetPublicMembershipForAuthenticatedUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsUnblockUserEndpoint = { - org: string; - username: string; -}; -declare type OrgsUnblockUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type OrgsUpdateEndpoint = { - org: string; - /** - * Billing email address. This address is not publicized. - */ - billing_email?: string; - /** - * The company name. - */ - company?: string; - /** - * The publicly visible email address. - */ - email?: string; - /** - * The Twitter username of the company. - */ - twitter_username?: string; - /** - * The location. - */ - location?: string; - /** - * The shorthand name of the company. - */ - name?: string; - /** - * The description of the company. - */ - description?: string; - /** - * Toggles whether an organization can use organization projects. - */ - has_organization_projects?: boolean; - /** - * Toggles whether repositories that belong to the organization can use repository projects. - */ - has_repository_projects?: boolean; - /** - * Default permission level members have for organization repositories: - * \* `read` - can pull, but not push to or administer this repository. - * \* `write` - can pull and push, but not administer this repository. - * \* `admin` - can pull, push, and administer this repository. - * \* `none` - no permissions granted by default. - */ - default_repository_permission?: "read" | "write" | "admin" | "none"; - /** - * Toggles the ability of non-admin organization members to create repositories. Can be one of: - * \* `true` - all organization members can create repositories. - * \* `false` - only organization owners can create repositories. - * Default: `true` - * **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. - */ - members_can_create_repositories?: boolean; - /** - * Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of: - * \* `true` - all organization members can create internal repositories. - * \* `false` - only organization owners can create internal repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)". - */ - members_can_create_internal_repositories?: boolean; - /** - * Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of: - * \* `true` - all organization members can create private repositories. - * \* `false` - only organization owners can create private repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)". - */ - members_can_create_private_repositories?: boolean; - /** - * Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of: - * \* `true` - all organization members can create public repositories. - * \* `false` - only organization owners can create public repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)". - */ - members_can_create_public_repositories?: boolean; - /** - * Specifies which types of repositories non-admin organization members can create. Can be one of: - * \* `all` - all organization members can create public and private repositories. - * \* `private` - members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * \* `none` - only admin members can create repositories. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See [this note](https://developer.github.com/v3/orgs/#members_can_create_repositories) for details. - */ - members_allowed_repository_creation_type?: "all" | "private" | "none"; -}; -declare type OrgsUpdateRequestOptions = { - method: "PATCH"; - url: "/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsUpdateResponseData { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - total_private_repos: number; - owned_private_repos: number; - private_gists: number; - disk_usage: number; - collaborators: number; - billing_email: string; - plan: { - name: string; - space: number; - private_repos: number; - seats: number; - filled_seats: number; - }; - default_repository_permission: string; - members_can_create_repositories: boolean; - two_factor_requirement_enabled: boolean; - members_allowed_repository_creation_type: string; - members_can_create_public_repositories: boolean; - members_can_create_private_repositories: boolean; - members_can_create_internal_repositories: boolean; -} -declare type OrgsUpdateMembershipForAuthenticatedUserEndpoint = { - org: string; - /** - * The state that the membership should be in. Only `"active"` will be accepted. - */ - state: "active"; -}; -declare type OrgsUpdateMembershipForAuthenticatedUserRequestOptions = { - method: "PATCH"; - url: "/user/memberships/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsUpdateMembershipForAuthenticatedUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type OrgsUpdateWebhookEndpoint = { - org: string; - hook_id: number; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/orgs/hooks/#update-hook-config-params). - */ - config?: OrgsUpdateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; -declare type OrgsUpdateWebhookRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface OrgsUpdateWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} -declare type ProjectsAddCollaboratorEndpoint = { - project_id: number; - username: string; - /** - * The permission to grant the collaborator. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." Can be one of: - * \* `read` - can read, but not write to or administer this project. - * \* `write` - can read and write, but not administer this project. - * \* `admin` - can read, write and administer this project. - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; -declare type ProjectsAddCollaboratorRequestOptions = { - method: "PUT"; - url: "/projects/:project_id/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsCreateCardEndpoint = { - column_id: number; - /** - * The card's note content. Only valid for cards without another type of content, so you must omit when specifying `content_id` and `content_type`. - */ - note?: string; - /** - * The issue or pull request id you want to associate with this card. You can use the [List repository issues](https://developer.github.com/v3/issues/#list-repository-issues) and [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoints to find this id. - * **Note:** Depending on whether you use the issue id or pull request id, you will need to specify `Issue` or `PullRequest` as the `content_type`. - */ - content_id?: number; - /** - * **Required if you provide `content_id`**. The type of content you want to associate with this card. Use `Issue` when `content_id` is an issue id and use `PullRequest` when `content_id` is a pull request id. - */ - content_type?: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateCardRequestOptions = { - method: "POST"; - url: "/projects/columns/:column_id/cards"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} -declare type ProjectsCreateColumnEndpoint = { - project_id: number; - /** - * The name of the column. - */ - name: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateColumnRequestOptions = { - method: "POST"; - url: "/projects/:project_id/columns"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} -declare type ProjectsCreateForAuthenticatedUserEndpoint = { - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateForAuthenticatedUserResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ProjectsCreateForOrgEndpoint = { - org: string; - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateForOrgResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ProjectsCreateForRepoEndpoint = { - owner: string; - repo: string; - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; -declare type ProjectsCreateForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsCreateForRepoResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ProjectsDeleteEndpoint = { - project_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsDeleteRequestOptions = { - method: "DELETE"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsDeleteCardEndpoint = { - card_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsDeleteCardRequestOptions = { - method: "DELETE"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsDeleteColumnEndpoint = { - column_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsDeleteColumnRequestOptions = { - method: "DELETE"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsGetEndpoint = { - project_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsGetRequestOptions = { - method: "GET"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsGetResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ProjectsGetCardEndpoint = { - card_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsGetCardRequestOptions = { - method: "GET"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsGetCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} -declare type ProjectsGetColumnEndpoint = { - column_id: number; -} & RequiredPreview<"inertia">; -declare type ProjectsGetColumnRequestOptions = { - method: "GET"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsGetColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} -declare type ProjectsGetPermissionForUserEndpoint = { - project_id: number; - username: string; -} & RequiredPreview<"inertia">; -declare type ProjectsGetPermissionForUserRequestOptions = { - method: "GET"; - url: "/projects/:project_id/collaborators/:username/permission"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsGetPermissionForUserResponseData { - permission: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ProjectsListCardsEndpoint = { - column_id: number; - /** - * Filters the project cards that are returned by the card's state. Can be one of `all`,`archived`, or `not_archived`. - */ - archived_state?: "all" | "archived" | "not_archived"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListCardsRequestOptions = { - method: "GET"; - url: "/projects/columns/:column_id/cards"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListCardsResponseData = { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -}[]; -declare type ProjectsListCollaboratorsEndpoint = { - project_id: number; - /** - * Filters the collaborators by their affiliation. Can be one of: - * \* `outside`: Outside collaborators of a project that are not a member of the project's organization. - * \* `direct`: Collaborators with permissions to a project, regardless of organization membership status. - * \* `all`: All collaborators the authenticated user can see. - */ - affiliation?: "outside" | "direct" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListCollaboratorsRequestOptions = { - method: "GET"; - url: "/projects/:project_id/collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ProjectsListColumnsEndpoint = { - project_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListColumnsRequestOptions = { - method: "GET"; - url: "/projects/:project_id/columns"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListColumnsResponseData = { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -}[]; -declare type ProjectsListForOrgEndpoint = { - org: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListForOrgResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ProjectsListForRepoEndpoint = { - owner: string; - repo: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListForRepoResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ProjectsListForUserEndpoint = { - username: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ProjectsListForUserResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ProjectsMoveCardEndpoint = { - card_id: number; - /** - * Can be one of `top`, `bottom`, or `after:`, where `` is the `id` value of a card in the same column, or in the new column specified by `column_id`. - */ - position: string; - /** - * The `id` value of a column in the same project. - */ - column_id?: number; -} & RequiredPreview<"inertia">; -declare type ProjectsMoveCardRequestOptions = { - method: "POST"; - url: "/projects/columns/cards/:card_id/moves"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsMoveColumnEndpoint = { - column_id: number; - /** - * Can be one of `first`, `last`, or `after:`, where `` is the `id` value of a column in the same project. - */ - position: string; -} & RequiredPreview<"inertia">; -declare type ProjectsMoveColumnRequestOptions = { - method: "POST"; - url: "/projects/columns/:column_id/moves"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsRemoveCollaboratorEndpoint = { - project_id: number; - username: string; -} & RequiredPreview<"inertia">; -declare type ProjectsRemoveCollaboratorRequestOptions = { - method: "DELETE"; - url: "/projects/:project_id/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ProjectsUpdateEndpoint = { - project_id: number; - /** - * The name of the project. - */ - name?: string; - /** - * The description of the project. - */ - body?: string; - /** - * State of the project. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting `organization_permission` is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by `organization_permission`. For information on changing access for a team or collaborator, see [Add or update team project permissions](https://developer.github.com/v3/teams/#add-or-update-team-project-permissions) or [Add project collaborator](https://developer.github.com/v3/projects/collaborators/#add-project-collaborator). - * - * **Note:** Updating a project's `organization_permission` requires `admin` access to the project. - * - * Can be one of: - * \* `read` - Organization members can read, but not write to or administer this project. - * \* `write` - Organization members can read and write, but not administer this project. - * \* `admin` - Organization members can read, write and administer this project. - * \* `none` - Organization members can only see this project if it is public. - */ - organization_permission?: string; - /** - * Sets the visibility of a project board. Setting `private` is only available for organization and user projects. **Note:** Updating a project's visibility requires `admin` access to the project. - * - * Can be one of: - * \* `false` - Anyone can see the project. - * \* `true` - Only the user can view a project board created on a user account. Organization members with the appropriate `organization_permission` can see project boards in an organization account. - */ - private?: boolean; -} & RequiredPreview<"inertia">; -declare type ProjectsUpdateRequestOptions = { - method: "PATCH"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsUpdateResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ProjectsUpdateCardEndpoint = { - card_id: number; - /** - * The card's note content. Only valid for cards without another type of content, so this cannot be specified if the card already has a `content_id` and `content_type`. - */ - note?: string; - /** - * Use `true` to archive a project card. Specify `false` if you need to restore a previously archived project card. - */ - archived?: boolean; -} & RequiredPreview<"inertia">; -declare type ProjectsUpdateCardRequestOptions = { - method: "PATCH"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsUpdateCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} -declare type ProjectsUpdateColumnEndpoint = { - column_id: number; - /** - * The new name of the column. - */ - name: string; -} & RequiredPreview<"inertia">; -declare type ProjectsUpdateColumnRequestOptions = { - method: "PATCH"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ProjectsUpdateColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} -declare type PullsCheckIfMergedEndpoint = { - owner: string; - repo: string; - pull_number: number; -}; -declare type PullsCheckIfMergedRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/merge"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type PullsCreateEndpoint = { - owner: string; - repo: string; - /** - * The title of the new pull request. - */ - title: string; - /** - * The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`. - */ - head: string; - /** - * The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository. - */ - base: string; - /** - * The contents of the pull request. - */ - body?: string; - /** - * Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. - */ - maintainer_can_modify?: boolean; - /** - * Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://help.github.com/en/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more. - */ - draft?: boolean; -}; -declare type PullsCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsCreateResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} -declare type PullsCreateReplyForReviewCommentEndpoint = { - owner: string; - repo: string; - pull_number: number; - comment_id: number; - /** - * The text of the review comment. - */ - body: string; -}; -declare type PullsCreateReplyForReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsCreateReplyForReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} -declare type PullsCreateReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value. - */ - commit_id?: string; - /** - * **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review. - */ - body?: string; - /** - * The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request) when you are ready. - */ - event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; - /** - * Use the following table to specify the location, destination, and contents of the draft review comment. - */ - comments?: PullsCreateReviewParamsComments[]; -}; -declare type PullsCreateReviewRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsCreateReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsCreateReviewCommentEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * The text of the review comment. - */ - body: string; - /** - * The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`. - */ - commit_id: string; - /** - * The relative path to the file that necessitates a comment. - */ - path: string; - /** - * **Required without `comfort-fade` preview**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above. - */ - position?: number; - /** - * **Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "[Diff view options](https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)". - */ - side?: "LEFT" | "RIGHT"; - /** - * **Required with `comfort-fade` preview**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to. - */ - line?: number; - /** - * **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)". - */ - start_line?: number; - /** - * **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see "[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)". See `side` in this table for additional context. - */ - start_side?: "LEFT" | "RIGHT" | "side"; -}; -declare type PullsCreateReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsCreateReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} -declare type PullsDeletePendingReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; -}; -declare type PullsDeletePendingReviewRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsDeletePendingReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - commit_id: string; -} -declare type PullsDeleteReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type PullsDeleteReviewCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type PullsDismissReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; - /** - * The message for the pull request review dismissal - */ - message: string; -}; -declare type PullsDismissReviewRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsDismissReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsGetEndpoint = { - owner: string; - repo: string; - pull_number: number; -}; -declare type PullsGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsGetResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} -declare type PullsGetReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; -}; -declare type PullsGetReviewRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsGetReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsGetReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type PullsGetReviewCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsGetReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} -declare type PullsListEndpoint = { - owner: string; - repo: string; - /** - * Either `open`, `closed`, or `all` to filter by state. - */ - state?: "open" | "closed" | "all"; - /** - * Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`. - */ - head?: string; - /** - * Filter pulls by base branch name. Example: `gh-pages`. - */ - base?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month). - */ - sort?: "created" | "updated" | "popularity" | "long-running"; - /** - * The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListResponseData = { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -}[]; -declare type PullsListCommentsForReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListCommentsForReviewRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListCommentsForReviewResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; -}[]; -declare type PullsListCommitsEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListCommitsResponseData = { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; -}[]; -declare type PullsListFilesEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListFilesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/files"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListFilesResponseData = { - sha: string; - filename: string; - status: string; - additions: number; - deletions: number; - changes: number; - blob_url: string; - raw_url: string; - contents_url: string; - patch: string; -}[]; -declare type PullsListRequestedReviewersEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListRequestedReviewersRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsListRequestedReviewersResponseData { - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; -} -declare type PullsListReviewCommentsEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Can be either `created` or `updated` comments. - */ - sort?: "created" | "updated"; - /** - * Can be either `asc` or `desc`. Ignored without `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListReviewCommentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListReviewCommentsResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -}[]; -declare type PullsListReviewCommentsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Can be either `created` or `updated` comments. - */ - sort?: "created" | "updated"; - /** - * Can be either `asc` or `desc`. Ignored without `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListReviewCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListReviewCommentsForRepoResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -}[]; -declare type PullsListReviewsEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type PullsListReviewsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type PullsListReviewsResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -}[]; -declare type PullsMergeEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * Title for the automatic commit message. - */ - commit_title?: string; - /** - * Extra detail to append to automatic commit message. - */ - commit_message?: string; - /** - * SHA that pull request head must match to allow merge. - */ - sha?: string; - /** - * Merge method to use. Possible values are `merge`, `squash` or `rebase`. Default is `merge`. - */ - merge_method?: "merge" | "squash" | "rebase"; -}; -declare type PullsMergeRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/merge"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsMergeResponseData { - sha: string; - merged: boolean; - message: string; -} -export interface PullsMergeResponse405Data { - message: string; - documentation_url: string; -} -export interface PullsMergeResponse409Data { - message: string; - documentation_url: string; -} -declare type PullsRemoveRequestedReviewersEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * An array of user `login`s that will be removed. - */ - reviewers?: string[]; - /** - * An array of team `slug`s that will be removed. - */ - team_reviewers?: string[]; -}; -declare type PullsRemoveRequestedReviewersRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type PullsRequestReviewersEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * An array of user `login`s that will be requested. - */ - reviewers?: string[]; - /** - * An array of team `slug`s that will be requested. - */ - team_reviewers?: string[]; -}; -declare type PullsRequestReviewersRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsRequestReviewersResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -} -declare type PullsSubmitReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; - /** - * The body text of the pull request review - */ - body?: string; - /** - * The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action. - */ - event: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; -}; -declare type PullsSubmitReviewRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsSubmitReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsUpdateEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * The title of the pull request. - */ - title?: string; - /** - * The contents of the pull request. - */ - body?: string; - /** - * State of this Pull Request. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. - */ - base?: string; - /** - * Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. - */ - maintainer_can_modify?: boolean; -}; -declare type PullsUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/pulls/:pull_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsUpdateResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} -declare type PullsUpdateBranchEndpoint = { - owner: string; - repo: string; - pull_number: number; - /** - * The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://developer.github.com/v3/repos/commits/#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref. - */ - expected_head_sha?: string; -} & RequiredPreview<"lydian">; -declare type PullsUpdateBranchRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/update-branch"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsUpdateBranchResponseData { - message: string; - url: string; -} -declare type PullsUpdateReviewEndpoint = { - owner: string; - repo: string; - pull_number: number; - review_id: number; - /** - * The body text of the pull request review. - */ - body: string; -}; -declare type PullsUpdateReviewRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsUpdateReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} -declare type PullsUpdateReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The text of the reply to the review comment. - */ - body: string; -}; -declare type PullsUpdateReviewCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface PullsUpdateReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} -declare type RateLimitGetEndpoint = {}; -declare type RateLimitGetRequestOptions = { - method: "GET"; - url: "/rate_limit"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface RateLimitGetResponseData { - resources: { - core: { - limit: number; - remaining: number; - reset: number; - }; - search: { - limit: number; - remaining: number; - reset: number; - }; - graphql: { - limit: number; - remaining: number; - reset: number; - }; - integration_manifest: { - limit: number; - remaining: number; - reset: number; - }; - }; - rate: { - limit: number; - remaining: number; - reset: number; - }; -} -declare type ReactionsCreateForCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the commit comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForCommitCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForCommitCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsCreateForIssueEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForIssueRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForIssueResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsCreateForIssueCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForIssueCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForIssueCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsCreateForPullRequestReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the pull request review comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForPullRequestReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForPullRequestReviewCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsCreateForTeamDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForTeamDiscussionCommentInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForTeamDiscussionCommentInOrgResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsCreateForTeamDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForTeamDiscussionCommentLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForTeamDiscussionCommentLegacyResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsCreateForTeamDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForTeamDiscussionInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForTeamDiscussionInOrgResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsCreateForTeamDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion. - */ - content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsCreateForTeamDiscussionLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReactionsCreateForTeamDiscussionLegacyResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} -declare type ReactionsDeleteForCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForCommitCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsDeleteForIssueEndpoint = { - owner: string; - repo: string; - issue_number: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForIssueRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsDeleteForIssueCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForIssueCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsDeleteForPullRequestCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForPullRequestCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsDeleteForTeamDiscussionEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForTeamDiscussionRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsDeleteForTeamDiscussionCommentEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteForTeamDiscussionCommentRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsDeleteLegacyEndpoint = { - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsDeleteLegacyRequestOptions = { - method: "DELETE"; - url: "/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReactionsListForCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a commit comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForCommitCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForCommitCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsListForIssueEndpoint = { - owner: string; - repo: string; - issue_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForIssueRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForIssueResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsListForIssueCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForIssueCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForIssueCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsListForPullRequestReviewCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a pull request review comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForPullRequestReviewCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForPullRequestReviewCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsListForTeamDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForTeamDiscussionCommentInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForTeamDiscussionCommentInOrgResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsListForTeamDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForTeamDiscussionCommentLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForTeamDiscussionCommentLegacyResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsListForTeamDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForTeamDiscussionInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForTeamDiscussionInOrgResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReactionsListForTeamDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion. - */ - content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; -declare type ReactionsListForTeamDiscussionLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReactionsListForTeamDiscussionLegacyResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; -declare type ReposAcceptInvitationEndpoint = { - invitation_id: number; -}; -declare type ReposAcceptInvitationRequestOptions = { - method: "PATCH"; - url: "/user/repository_invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposAddAppAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; -declare type ReposAddAppAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposAddAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; -declare type ReposAddCollaboratorEndpoint = { - owner: string; - repo: string; - username: string; - /** - * The permission to grant the collaborator. **Only valid on organization-owned repositories.** Can be one of: - * \* `pull` - can pull, but not push to or administer this repository. - * \* `push` - can pull and push, but not administer this repository. - * \* `admin` - can pull, push and administer this repository. - * \* `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. - * \* `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. - */ - permission?: "pull" | "push" | "admin" | "maintain" | "triage"; -}; -declare type ReposAddCollaboratorRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposAddCollaboratorResponseData { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -} -declare type ReposAddStatusCheckContextsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; -declare type ReposAddStatusCheckContextsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposAddStatusCheckContextsResponseData = string[]; -declare type ReposAddTeamAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; -declare type ReposAddTeamAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposAddTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; -declare type ReposAddUserAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * users parameter - */ - users: string[]; -}; -declare type ReposAddUserAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposAddUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ReposCheckCollaboratorEndpoint = { - owner: string; - repo: string; - username: string; -}; -declare type ReposCheckCollaboratorRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposCheckVulnerabilityAlertsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"dorian">; -declare type ReposCheckVulnerabilityAlertsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposCompareCommitsEndpoint = { - owner: string; - repo: string; - base: string; - head: string; -}; -declare type ReposCompareCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/compare/:base...:head"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCompareCommitsResponseData { - url: string; - html_url: string; - permalink_url: string; - diff_url: string; - patch_url: string; - base_commit: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }; - merge_base_commit: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }; - status: string; - ahead_by: number; - behind_by: number; - total_commits: number; - commits: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }[]; - files: { - sha: string; - filename: string; - status: string; - additions: number; - deletions: number; - changes: number; - blob_url: string; - raw_url: string; - contents_url: string; - patch: string; - }[]; -} -declare type ReposCreateCommitCommentEndpoint = { - owner: string; - repo: string; - commit_sha: string; - /** - * The contents of the comment. - */ - body: string; - /** - * Relative path of the file to comment on. - */ - path?: string; - /** - * Line index in the diff to comment on. - */ - position?: number; - /** - * **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. - */ - line?: number | null; -}; -declare type ReposCreateCommitCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/commits/:commit_sha/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ReposCreateCommitSignatureProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -} & RequiredPreview<"zzzax">; -declare type ReposCreateCommitSignatureProtectionRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateCommitSignatureProtectionResponseData { - url: string; - enabled: boolean; -} -declare type ReposCreateCommitStatusEndpoint = { - owner: string; - repo: string; - sha: string; - /** - * The state of the status. Can be one of `error`, `failure`, `pending`, or `success`. - */ - state: "error" | "failure" | "pending" | "success"; - /** - * The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. - * For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: - * `http://ci.example.com/user/repo/build/sha` - */ - target_url?: string; - /** - * A short description of the status. - */ - description?: string; - /** - * A string label to differentiate this status from the status of other systems. - */ - context?: string; -}; -declare type ReposCreateCommitStatusRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/statuses/:sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateCommitStatusResponseData { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ReposCreateDeployKeyEndpoint = { - owner: string; - repo: string; - /** - * A name for the key. - */ - title?: string; - /** - * The contents of the key. - */ - key: string; - /** - * If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. - * - * Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://help.github.com/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://help.github.com/articles/permission-levels-for-a-user-account-repository/)." - */ - read_only?: boolean; -}; -declare type ReposCreateDeployKeyRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateDeployKeyResponseData { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -} -declare type ReposCreateDeploymentEndpoint = { - owner: string; - repo: string; - /** - * The ref to deploy. This can be a branch, tag, or SHA. - */ - ref: string; - /** - * Specifies a task to execute (e.g., `deploy` or `deploy:migrations`). - */ - task?: string; - /** - * Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch. - */ - auto_merge?: boolean; - /** - * The [status](https://developer.github.com/v3/repos/statuses/) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. - */ - required_contexts?: string[]; - /** - * JSON payload with extra information about the deployment. - */ - payload?: any; - /** - * Name for the target deployment environment (e.g., `production`, `staging`, `qa`). - */ - environment?: string; - /** - * Short description of the deployment. - */ - description?: string; - /** - * Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - transient_environment?: boolean; - /** - * Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - production_environment?: boolean; -}; -declare type ReposCreateDeploymentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/deployments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateDeploymentResponseData { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -} -export interface ReposCreateDeploymentResponse202Data { - message: string; -} -export interface ReposCreateDeploymentResponse409Data { - message: string; -} -declare type ReposCreateDeploymentStatusEndpoint = { - owner: string; - repo: string; - deployment_id: number; - /** - * The state of the status. Can be one of `error`, `failure`, `inactive`, `in_progress`, `queued` `pending`, or `success`. **Note:** To use the `inactive` state, you must provide the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. To use the `in_progress` and `queued` states, you must provide the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. - */ - state: "error" | "failure" | "inactive" | "in_progress" | "queued" | "pending" | "success"; - /** - * The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. - */ - target_url?: string; - /** - * The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - log_url?: string; - /** - * A short description of the status. The maximum description length is 140 characters. - */ - description?: string; - /** - * Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. **Note:** This parameter requires you to use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. - */ - environment?: "production" | "staging" | "qa"; - /** - * Sets the URL for accessing your environment. Default: `""` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - environment_url?: string; - /** - * Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` - * **Note:** To add an `inactive` status to `production` environments, you must use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - auto_inactive?: boolean; -}; -declare type ReposCreateDeploymentStatusRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateDeploymentStatusResponseData { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -} -declare type ReposCreateDispatchEventEndpoint = { - owner: string; - repo: string; - /** - * **Required:** A custom webhook event name. - */ - event_type: string; - /** - * JSON payload with extra information about the webhook event that your action or worklow may use. - */ - client_payload?: ReposCreateDispatchEventParamsClientPayload; -}; -declare type ReposCreateDispatchEventRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/dispatches"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposCreateForAuthenticatedUserEndpoint = { - /** - * The name of the repository. - */ - name: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to create a private repository or `false` to create a public one. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://help.github.com/github/creating-cloning-and-archiving-repositories/creating-an-internal-repository)". - * The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. - */ - team_id?: number; - /** - * Pass `true` to create an initial commit with empty README. - */ - auto_init?: boolean; - /** - * Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". - */ - gitignore_template?: string; - /** - * Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://help.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". - */ - license_template?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; -}; -declare type ReposCreateForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateForAuthenticatedUserResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type ReposCreateForkEndpoint = { - owner: string; - repo: string; - /** - * Optional parameter to specify the organization name if forking into an organization. - */ - organization?: string; -}; -declare type ReposCreateForkRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateForkResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type ReposCreateInOrgEndpoint = { - org: string; - /** - * The name of the repository. - */ - name: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to create a private repository or `false` to create a public one. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)". - * The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. - */ - team_id?: number; - /** - * Pass `true` to create an initial commit with empty README. - */ - auto_init?: boolean; - /** - * Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". - */ - gitignore_template?: string; - /** - * Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://help.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". - */ - license_template?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; -}; -declare type ReposCreateInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateInOrgResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type ReposCreateOrUpdateFileContentsEndpoint = { - owner: string; - repo: string; - path: string; - /** - * The commit message. - */ - message: string; - /** - * The new file content, using Base64 encoding. - */ - content: string; - /** - * **Required if you are updating a file**. The blob SHA of the file being replaced. - */ - sha?: string; - /** - * The branch name. Default: the repository’s default branch (usually `master`) - */ - branch?: string; - /** - * The person that committed the file. Default: the authenticated user. - */ - committer?: ReposCreateOrUpdateFileContentsParamsCommitter; - /** - * The author of the file. Default: The `committer` or the authenticated user if you omit `committer`. - */ - author?: ReposCreateOrUpdateFileContentsParamsAuthor; -}; -declare type ReposCreateOrUpdateFileContentsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateOrUpdateFileContentsResponseData { - content: { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - _links: { - self: string; - git: string; - html: string; - }; - }; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} -export interface ReposCreateOrUpdateFileContentsResponse201Data { - content: { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - _links: { - self: string; - git: string; - html: string; - }; - }; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} -declare type ReposCreatePagesSiteEndpoint = { - owner: string; - repo: string; - source?: ReposCreatePagesSiteParamsSource; -} & RequiredPreview<"switcheroo">; -declare type ReposCreatePagesSiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreatePagesSiteResponseData { - url: string; - status: string; - cname: string; - custom_404: boolean; - html_url: string; - source: { - branch: string; - directory: string; - }; -} -declare type ReposCreateReleaseEndpoint = { - owner: string; - repo: string; - /** - * The name of the tag. - */ - tag_name: string; - /** - * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`). - */ - target_commitish?: string; - /** - * The name of the release. - */ - name?: string; - /** - * Text describing the contents of the tag. - */ - body?: string; - /** - * `true` to create a draft (unpublished) release, `false` to create a published one. - */ - draft?: boolean; - /** - * `true` to identify the release as a prerelease. `false` to identify the release as a full release. - */ - prerelease?: boolean; -}; -declare type ReposCreateReleaseRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/releases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: unknown[]; -} -declare type ReposCreateUsingTemplateEndpoint = { - template_owner: string; - template_repo: string; - /** - * The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization. - */ - owner?: string; - /** - * The name of the new repository. - */ - name: string; - /** - * A short description of the new repository. - */ - description?: string; - /** - * Either `true` to create a new private repository or `false` to create a new public one. - */ - private?: boolean; -} & RequiredPreview<"baptiste">; -declare type ReposCreateUsingTemplateRequestOptions = { - method: "POST"; - url: "/repos/:template_owner/:template_repo/generate"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateUsingTemplateResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type ReposCreateWebhookEndpoint = { - owner: string; - repo: string; - /** - * Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`. - */ - name?: string; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/repos/hooks/#create-hook-config-params). - */ - config: ReposCreateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; -declare type ReposCreateWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposCreateWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} -declare type ReposDeclineInvitationEndpoint = { - invitation_id: number; -}; -declare type ReposDeclineInvitationRequestOptions = { - method: "DELETE"; - url: "/user/repository_invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteEndpoint = { - owner: string; - repo: string; -}; -declare type ReposDeleteRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposDeleteResponseData { - message: string; - documentation_url: string; -} -declare type ReposDeleteAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposDeleteAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteAdminBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposDeleteAdminBranchProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposDeleteBranchProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type ReposDeleteCommitCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteCommitSignatureProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -} & RequiredPreview<"zzzax">; -declare type ReposDeleteCommitSignatureProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteDeployKeyEndpoint = { - owner: string; - repo: string; - key_id: number; -}; -declare type ReposDeleteDeployKeyRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteDeploymentEndpoint = { - owner: string; - repo: string; - deployment_id: number; -}; -declare type ReposDeleteDeploymentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/deployments/:deployment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteFileEndpoint = { - owner: string; - repo: string; - path: string; - /** - * The commit message. - */ - message: string; - /** - * The blob SHA of the file being replaced. - */ - sha: string; - /** - * The branch name. Default: the repository’s default branch (usually `master`) - */ - branch?: string; - /** - * object containing information about the committer. - */ - committer?: ReposDeleteFileParamsCommitter; - /** - * object containing information about the author. - */ - author?: ReposDeleteFileParamsAuthor; -}; -declare type ReposDeleteFileRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposDeleteFileResponseData { - content: { - [k: string]: unknown; - }; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} -declare type ReposDeleteInvitationEndpoint = { - owner: string; - repo: string; - invitation_id: number; -}; -declare type ReposDeleteInvitationRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeletePagesSiteEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"switcheroo">; -declare type ReposDeletePagesSiteRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeletePullRequestReviewProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposDeletePullRequestReviewProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteReleaseEndpoint = { - owner: string; - repo: string; - release_id: number; -}; -declare type ReposDeleteReleaseRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteReleaseAssetEndpoint = { - owner: string; - repo: string; - asset_id: number; -}; -declare type ReposDeleteReleaseAssetRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDeleteWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; -}; -declare type ReposDeleteWebhookRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDisableAutomatedSecurityFixesEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"london">; -declare type ReposDisableAutomatedSecurityFixesRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/automated-security-fixes"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDisableVulnerabilityAlertsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"dorian">; -declare type ReposDisableVulnerabilityAlertsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposDownloadArchiveEndpoint = { - owner: string; - repo: string; - archive_format: string; - ref: string; -}; -declare type ReposDownloadArchiveRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/:archive_format/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposEnableAutomatedSecurityFixesEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"london">; -declare type ReposEnableAutomatedSecurityFixesRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/automated-security-fixes"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposEnableVulnerabilityAlertsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"dorian">; -declare type ReposEnableVulnerabilityAlertsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposGetEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - code_of_conduct: { - name: string; - key: string; - url: string; - html_url: string; - }; -} -declare type ReposGetAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetAccessRestrictionsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetAccessRestrictionsResponseData { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; -} -declare type ReposGetAdminBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetAdminBranchProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetAdminBranchProtectionResponseData { - url: string; - enabled: boolean; -} -declare type ReposGetAllStatusCheckContextsEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetAllStatusCheckContextsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetAllStatusCheckContextsResponseData = string[]; -declare type ReposGetAllTopicsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"mercy">; -declare type ReposGetAllTopicsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetAllTopicsResponseData { - names: string[]; -} -declare type ReposGetAppsWithAccessToProtectedBranchEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetAppsWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetAppsWithAccessToProtectedBranchResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; -declare type ReposGetBranchEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetBranchResponseData { - name: string; - commit: { - sha: string; - node_id: string; - commit: { - author: { - name: string; - date: string; - email: string; - }; - url: string; - message: string; - tree: { - sha: string; - url: string; - }; - committer: { - name: string; - date: string; - email: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - gravatar_id: string; - avatar_url: string; - url: string; - id: number; - login: string; - }; - parents: { - sha: string; - url: string; - }[]; - url: string; - committer: { - gravatar_id: string; - avatar_url: string; - url: string; - id: number; - login: string; - }; - }; - _links: { - html: string; - self: string; - }; - protected: boolean; - protection: { - enabled: boolean; - required_status_checks: { - enforcement_level: string; - contexts: string[]; - }; - }; - protection_url: string; -} -declare type ReposGetBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetBranchProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetBranchProtectionResponseData { - url: string; - required_status_checks: { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; - }; - enforce_admins: { - url: string; - enabled: boolean; - }; - required_pull_request_reviews: { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; - }; - restrictions: { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; - }; - required_linear_history: { - enabled: boolean; - }; - allow_force_pushes: { - enabled: boolean; - }; - allow_deletions: { - enabled: boolean; - }; -} -declare type ReposGetClonesEndpoint = { - owner: string; - repo: string; - /** - * Must be one of: `day`, `week`. - */ - per?: "day" | "week"; -}; -declare type ReposGetClonesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/clones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetClonesResponseData { - count: number; - uniques: number; - clones: { - timestamp: string; - count: number; - uniques: number; - }[]; -} -declare type ReposGetCodeFrequencyStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetCodeFrequencyStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/code_frequency"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetCodeFrequencyStatsResponseData = number[][]; -declare type ReposGetCollaboratorPermissionLevelEndpoint = { - owner: string; - repo: string; - username: string; -}; -declare type ReposGetCollaboratorPermissionLevelRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators/:username/permission"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCollaboratorPermissionLevelResponseData { - permission: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ReposGetCombinedStatusForRefEndpoint = { - owner: string; - repo: string; - ref: string; -}; -declare type ReposGetCombinedStatusForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/status"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCombinedStatusForRefResponseData { - state: string; - statuses: { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - }[]; - sha: string; - total_count: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - commit_url: string; - url: string; -} -declare type ReposGetCommitEndpoint = { - owner: string; - repo: string; - ref: string; -}; -declare type ReposGetCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCommitResponseData { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - stats: { - additions: number; - deletions: number; - total: number; - }; - files: { - filename: string; - additions: number; - deletions: number; - changes: number; - status: string; - raw_url: string; - blob_url: string; - patch: string; - }[]; -} -declare type ReposGetCommitActivityStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetCommitActivityStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/commit_activity"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetCommitActivityStatsResponseData = { - days: number[]; - total: number; - week: number; -}[]; -declare type ReposGetCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; -}; -declare type ReposGetCommitCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ReposGetCommitSignatureProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -} & RequiredPreview<"zzzax">; -declare type ReposGetCommitSignatureProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCommitSignatureProtectionResponseData { - url: string; - enabled: boolean; -} -declare type ReposGetCommunityProfileMetricsEndpoint = { - owner: string; - repo: string; -} & RequiredPreview<"black-panther">; -declare type ReposGetCommunityProfileMetricsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/community/profile"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetCommunityProfileMetricsResponseData { - health_percentage: number; - description: string; - documentation: boolean; - files: { - code_of_conduct: { - name: string; - key: string; - url: string; - html_url: string; - }; - contributing: { - url: string; - html_url: string; - }; - issue_template: { - url: string; - html_url: string; - }; - pull_request_template: { - url: string; - html_url: string; - }; - license: { - name: string; - key: string; - spdx_id: string; - url: string; - html_url: string; - }; - readme: { - url: string; - html_url: string; - }; - }; - updated_at: string; -} -declare type ReposGetContentEndpoint = { - owner: string; - repo: string; - path: string; - /** - * The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) - */ - ref?: string; -}; -declare type ReposGetContentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetContentResponseData { - type: string; - encoding: string; - size: number; - name: string; - path: string; - content: string; - sha: string; - url: string; - git_url: string; - html_url: string; - download_url: string; - target: string; - submodule_git_url: string; - _links: { - git: string; - self: string; - html: string; - }; -} -declare type ReposGetContributorsStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetContributorsStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/contributors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetContributorsStatsResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - total: number; - weeks: { - w: string; - a: number; - d: number; - c: number; - }[]; -}[]; -declare type ReposGetDeployKeyEndpoint = { - owner: string; - repo: string; - key_id: number; -}; -declare type ReposGetDeployKeyRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetDeployKeyResponseData { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -} -declare type ReposGetDeploymentEndpoint = { - owner: string; - repo: string; - deployment_id: number; -}; -declare type ReposGetDeploymentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetDeploymentResponseData { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -} -declare type ReposGetDeploymentStatusEndpoint = { - owner: string; - repo: string; - deployment_id: number; - status_id: number; -}; -declare type ReposGetDeploymentStatusRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetDeploymentStatusResponseData { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -} -declare type ReposGetLatestPagesBuildEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetLatestPagesBuildRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds/latest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetLatestPagesBuildResponseData { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -} -declare type ReposGetLatestReleaseEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetLatestReleaseRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/latest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetLatestReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} -declare type ReposGetPagesEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetPagesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetPagesResponseData { - url: string; - status: string; - cname: string; - custom_404: boolean; - html_url: string; - source: { - branch: string; - directory: string; - }; -} -declare type ReposGetPagesBuildEndpoint = { - owner: string; - repo: string; - build_id: number; -}; -declare type ReposGetPagesBuildRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds/:build_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetPagesBuildResponseData { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -} -declare type ReposGetParticipationStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetParticipationStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/participation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetParticipationStatsResponseData { - all: number[]; - owner: number[]; -} -declare type ReposGetPullRequestReviewProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetPullRequestReviewProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetPullRequestReviewProtectionResponseData { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; -} -declare type ReposGetPunchCardStatsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetPunchCardStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/punch_card"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetPunchCardStatsResponseData = number[][]; -declare type ReposGetReadmeEndpoint = { - owner: string; - repo: string; - /** - * The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) - */ - ref?: string; -}; -declare type ReposGetReadmeRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/readme"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetReadmeResponseData { - type: string; - encoding: string; - size: number; - name: string; - path: string; - content: string; - sha: string; - url: string; - git_url: string; - html_url: string; - download_url: string; - target: string; - submodule_git_url: string; - _links: { - git: string; - self: string; - html: string; - }; -} -declare type ReposGetReleaseEndpoint = { - owner: string; - repo: string; - release_id: number; -}; -declare type ReposGetReleaseRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} -declare type ReposGetReleaseAssetEndpoint = { - owner: string; - repo: string; - asset_id: number; -}; -declare type ReposGetReleaseAssetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ReposGetReleaseByTagEndpoint = { - owner: string; - repo: string; - tag: string; -}; -declare type ReposGetReleaseByTagRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/tags/:tag"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetReleaseByTagResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} -declare type ReposGetStatusChecksProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetStatusChecksProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetStatusChecksProtectionResponseData { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; -} -declare type ReposGetTeamsWithAccessToProtectedBranchEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetTeamsWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetTeamsWithAccessToProtectedBranchResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; -declare type ReposGetTopPathsEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetTopPathsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/popular/paths"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetTopPathsResponseData = { - path: string; - title: string; - count: number; - uniques: number; -}[]; -declare type ReposGetTopReferrersEndpoint = { - owner: string; - repo: string; -}; -declare type ReposGetTopReferrersRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/popular/referrers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetTopReferrersResponseData = { - referrer: string; - count: number; - uniques: number; -}[]; -declare type ReposGetUsersWithAccessToProtectedBranchEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposGetUsersWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposGetUsersWithAccessToProtectedBranchResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ReposGetViewsEndpoint = { - owner: string; - repo: string; - /** - * Must be one of: `day`, `week`. - */ - per?: "day" | "week"; -}; -declare type ReposGetViewsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/views"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetViewsResponseData { - count: number; - uniques: number; - views: { - timestamp: string; - count: number; - uniques: number; - }[]; -} -declare type ReposGetWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; -}; -declare type ReposGetWebhookRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposGetWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} -declare type ReposListBranchesEndpoint = { - owner: string; - repo: string; - /** - * Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. - */ - protected?: boolean; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListBranchesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListBranchesResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - protected: boolean; - protection: { - enabled: boolean; - required_status_checks: { - enforcement_level: string; - contexts: string[]; - }; - }; - protection_url: string; -}[]; -declare type ReposListBranchesForHeadCommitEndpoint = { - owner: string; - repo: string; - commit_sha: string; -} & RequiredPreview<"groot">; -declare type ReposListBranchesForHeadCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/branches-where-head"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListBranchesForHeadCommitResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - protected: boolean; -}[]; -declare type ReposListCollaboratorsEndpoint = { - owner: string; - repo: string; - /** - * Filter collaborators returned by their affiliation. Can be one of: - * \* `outside`: All outside collaborators of an organization-owned repository. - * \* `direct`: All collaborators with permissions to an organization-owned repository, regardless of organization membership status. - * \* `all`: All collaborators the authenticated user can see. - */ - affiliation?: "outside" | "direct" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCollaboratorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - permissions: { - pull: boolean; - push: boolean; - admin: boolean; - }; -}[]; -declare type ReposListCommentsForCommitEndpoint = { - owner: string; - repo: string; - commit_sha: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCommentsForCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCommentsForCommitResponseData = { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ReposListCommitCommentsForRepoEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCommitCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCommitCommentsForRepoResponseData = { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; -declare type ReposListCommitStatusesForRefEndpoint = { - owner: string; - repo: string; - ref: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCommitStatusesForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCommitStatusesForRefResponseData = { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; -declare type ReposListCommitsEndpoint = { - owner: string; - repo: string; - /** - * SHA or branch to start listing commits from. Default: the repository’s default branch (usually `master`). - */ - sha?: string; - /** - * Only commits containing this file path will be returned. - */ - path?: string; - /** - * GitHub login or email address by which to filter by commit author. - */ - author?: string; - /** - * Only commits after this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - until?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListCommitsResponseData = { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; -}[]; -declare type ReposListContributorsEndpoint = { - owner: string; - repo: string; - /** - * Set to `1` or `true` to include anonymous contributors in results. - */ - anon?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListContributorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/contributors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListContributorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - contributions: number; -}[]; -declare type ReposListDeployKeysEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListDeployKeysRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListDeployKeysResponseData = { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -}[]; -declare type ReposListDeploymentStatusesEndpoint = { - owner: string; - repo: string; - deployment_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListDeploymentStatusesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListDeploymentStatusesResponseData = { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -}[]; -declare type ReposListDeploymentsEndpoint = { - owner: string; - repo: string; - /** - * The SHA recorded at creation time. - */ - sha?: string; - /** - * The name of the ref. This can be a branch, tag, or SHA. - */ - ref?: string; - /** - * The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`). - */ - task?: string; - /** - * The name of the environment that was deployed to (e.g., `staging` or `production`). - */ - environment?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListDeploymentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListDeploymentsResponseData = { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -}[]; -declare type ReposListForAuthenticatedUserEndpoint = { - /** - * Can be one of `all`, `public`, or `private`. - */ - visibility?: "all" | "public" | "private"; - /** - * Comma-separated list of values. Can include: - * \* `owner`: Repositories that are owned by the authenticated user. - * \* `collaborator`: Repositories that the user has been added to as a collaborator. - * \* `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. - */ - affiliation?: string; - /** - * Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` - * - * Will cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**. - */ - type?: "all" | "owner" | "public" | "private" | "member"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListForOrgEndpoint = { - org: string; - /** - * Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`. - */ - type?: "all" | "public" | "private" | "forks" | "sources" | "member" | "internal"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: when using `full_name`: `asc`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListForOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type ReposListForUserEndpoint = { - username: string; - /** - * Can be one of `all`, `owner`, `member`. - */ - type?: "all" | "owner" | "member"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposListForksEndpoint = { - owner: string; - repo: string; - /** - * The sort order. Can be either `newest`, `oldest`, or `stargazers`. - */ - sort?: "newest" | "oldest" | "stargazers"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListForksRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListForksResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type ReposListInvitationsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListInvitationsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListInvitationsResponseData = { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -}[]; -declare type ReposListInvitationsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListInvitationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/repository_invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListInvitationsForAuthenticatedUserResponseData = { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -}[]; -declare type ReposListLanguagesEndpoint = { - owner: string; - repo: string; -}; -declare type ReposListLanguagesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/languages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposListLanguagesResponseData { - C: number; - Python: number; -} -declare type ReposListPagesBuildsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListPagesBuildsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListPagesBuildsResponseData = { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -}[]; -declare type ReposListPublicEndpoint = { - /** - * The integer ID of the last repository that you've seen. - */ - since?: number; -}; -declare type ReposListPublicRequestOptions = { - method: "GET"; - url: "/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListPublicResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; -}[]; -declare type ReposListPullRequestsAssociatedWithCommitEndpoint = { - owner: string; - repo: string; - commit_sha: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"groot">; -declare type ReposListPullRequestsAssociatedWithCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListPullRequestsAssociatedWithCommitResponseData = { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -}[]; -declare type ReposListReleaseAssetsEndpoint = { - owner: string; - repo: string; - release_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListReleaseAssetsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/:release_id/assets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListReleaseAssetsResponseData = { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; -declare type ReposListReleasesEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListReleasesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListReleasesResponseData = { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -}[]; -declare type ReposListTagsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListTagsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/tags"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListTagsResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - zipball_url: string; - tarball_url: string; -}[]; -declare type ReposListTeamsEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListTeamsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListTeamsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; -declare type ReposListWebhooksEndpoint = { - owner: string; - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type ReposListWebhooksRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposListWebhooksResponseData = { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -}[]; -declare type ReposMergeEndpoint = { - owner: string; - repo: string; - /** - * The name of the base branch that the head will be merged into. - */ - base: string; - /** - * The head to merge. This can be a branch name or a commit SHA1. - */ - head: string; - /** - * Commit message to use for the merge commit. If omitted, a default message will be used. - */ - commit_message?: string; -}; -declare type ReposMergeRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/merges"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposMergeResponseData { - sha: string; - node_id: string; - commit: { - author: { - name: string; - date: string; - email: string; - }; - committer: { - name: string; - date: string; - email: string; - }; - message: string; - tree: { - sha: string; - url: string; - }; - url: string; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - url: string; - html_url: string; - comments_url: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - sha: string; - url: string; - }[]; -} -export interface ReposMergeResponse404Data { - message: string; -} -export interface ReposMergeResponse409Data { - message: string; -} -declare type ReposPingWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; -}; -declare type ReposPingWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks/:hook_id/pings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposRemoveAppAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; -declare type ReposRemoveAppAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposRemoveAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; -declare type ReposRemoveCollaboratorEndpoint = { - owner: string; - repo: string; - username: string; -}; -declare type ReposRemoveCollaboratorRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposRemoveStatusCheckContextsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; -declare type ReposRemoveStatusCheckContextsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposRemoveStatusCheckContextsResponseData = string[]; -declare type ReposRemoveStatusCheckProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposRemoveStatusCheckProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposRemoveTeamAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; -declare type ReposRemoveTeamAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposRemoveTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; -declare type ReposRemoveUserAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * users parameter - */ - users: string[]; -}; -declare type ReposRemoveUserAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposRemoveUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ReposReplaceAllTopicsEndpoint = { - owner: string; - repo: string; - /** - * An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. - */ - names: string[]; -} & RequiredPreview<"mercy">; -declare type ReposReplaceAllTopicsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposReplaceAllTopicsResponseData { - names: string[]; -} -declare type ReposRequestPagesBuildEndpoint = { - owner: string; - repo: string; -}; -declare type ReposRequestPagesBuildRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pages/builds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposRequestPagesBuildResponseData { - url: string; - status: string; -} -declare type ReposSetAdminBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; -}; -declare type ReposSetAdminBranchProtectionRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposSetAdminBranchProtectionResponseData { - url: string; - enabled: boolean; -} -declare type ReposSetAppAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; -declare type ReposSetAppAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposSetAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; -declare type ReposSetStatusCheckContextsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; -declare type ReposSetStatusCheckContextsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposSetStatusCheckContextsResponseData = string[]; -declare type ReposSetTeamAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; -declare type ReposSetTeamAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposSetTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; -declare type ReposSetUserAccessRestrictionsEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * users parameter - */ - users: string[]; -}; -declare type ReposSetUserAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type ReposSetUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type ReposTestPushWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; -}; -declare type ReposTestPushWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks/:hook_id/tests"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposTransferEndpoint = { - owner: string; - repo: string; - /** - * **Required:** The username or organization name the repository will be transferred to. - */ - new_owner?: string; - /** - * ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. - */ - team_ids?: number[]; -}; -declare type ReposTransferRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/transfer"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposTransferResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} -declare type ReposUpdateEndpoint = { - owner: string; - repo: string; - /** - * The name of the repository. - */ - name?: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to make the repository private or `false` to make it public. Default: `false`. - * **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * Updates the default branch for this repository. - */ - default_branch?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; - /** - * `true` to archive this repository. **Note**: You cannot unarchive repositories through the API. - */ - archived?: boolean; -}; -declare type ReposUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} -declare type ReposUpdateBranchProtectionEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * Require status checks to pass before merging. Set to `null` to disable. - */ - required_status_checks: ReposUpdateBranchProtectionParamsRequiredStatusChecks | null; - /** - * Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. - */ - enforce_admins: boolean | null; - /** - * Require at least one approving review on a pull request, before merging. Set to `null` to disable. - */ - required_pull_request_reviews: ReposUpdateBranchProtectionParamsRequiredPullRequestReviews | null; - /** - * Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. - */ - restrictions: ReposUpdateBranchProtectionParamsRestrictions | null; - /** - * Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://help.github.com/github/administering-a-repository/requiring-a-linear-commit-history)". - */ - required_linear_history?: boolean; - /** - * Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)". - */ - allow_force_pushes?: boolean | null; - /** - * Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)". - */ - allow_deletions?: boolean; -}; -declare type ReposUpdateBranchProtectionRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateBranchProtectionResponseData { - url: string; - required_status_checks: { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; - }; - enforce_admins: { - url: string; - enabled: boolean; - }; - required_pull_request_reviews: { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; - }; - restrictions: { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; - }; - required_linear_history: { - enabled: boolean; - }; - allow_force_pushes: { - enabled: boolean; - }; - allow_deletions: { - enabled: boolean; - }; -} -declare type ReposUpdateCommitCommentEndpoint = { - owner: string; - repo: string; - comment_id: number; - /** - * The contents of the comment - */ - body: string; -}; -declare type ReposUpdateCommitCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} -declare type ReposUpdateInformationAboutPagesSiteEndpoint = { - owner: string; - repo: string; - /** - * Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - */ - cname?: string; - /** - * Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. - */ - source?: "gh-pages" | "master" | "master /docs"; -}; -declare type ReposUpdateInformationAboutPagesSiteRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ReposUpdateInvitationEndpoint = { - owner: string; - repo: string; - invitation_id: number; - /** - * The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`. - */ - permissions?: "read" | "write" | "maintain" | "triage" | "admin"; -}; -declare type ReposUpdateInvitationRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateInvitationResponseData { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -} -declare type ReposUpdatePullRequestReviewProtectionEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * Specify which users and teams can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. - */ - dismissal_restrictions?: ReposUpdatePullRequestReviewProtectionParamsDismissalRestrictions; - /** - * Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. - */ - dismiss_stale_reviews?: boolean; - /** - * Blocks merging pull requests until [code owners](https://help.github.com/articles/about-code-owners/) have reviewed. - */ - require_code_owner_reviews?: boolean; - /** - * Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6. - */ - required_approving_review_count?: number; -}; -declare type ReposUpdatePullRequestReviewProtectionRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdatePullRequestReviewProtectionResponseData { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; -} -declare type ReposUpdateReleaseEndpoint = { - owner: string; - repo: string; - release_id: number; - /** - * The name of the tag. - */ - tag_name?: string; - /** - * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`). - */ - target_commitish?: string; - /** - * The name of the release. - */ - name?: string; - /** - * Text describing the contents of the tag. - */ - body?: string; - /** - * `true` makes the release a draft, and `false` publishes the release. - */ - draft?: boolean; - /** - * `true` to identify the release as a prerelease, `false` to identify the release as a full release. - */ - prerelease?: boolean; -}; -declare type ReposUpdateReleaseRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} -declare type ReposUpdateReleaseAssetEndpoint = { - owner: string; - repo: string; - asset_id: number; - /** - * The file name of the asset. - */ - name?: string; - /** - * An alternate short description of the asset. Used in place of the filename. - */ - label?: string; -}; -declare type ReposUpdateReleaseAssetRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ReposUpdateStatusCheckPotectionEndpoint = { - owner: string; - repo: string; - branch: string; - /** - * Require branches to be up to date before merging. - */ - strict?: boolean; - /** - * The list of status checks to require in order to merge into this branch - */ - contexts?: string[]; -}; -declare type ReposUpdateStatusCheckPotectionRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateStatusCheckPotectionResponseData { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; -} -declare type ReposUpdateWebhookEndpoint = { - owner: string; - repo: string; - hook_id: number; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/repos/hooks/#create-hook-config-params). - */ - config?: ReposUpdateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events. - */ - events?: string[]; - /** - * Determines a list of events to be added to the list of events that the Hook triggers for. - */ - add_events?: string[]; - /** - * Determines a list of events to be removed from the list of events that the Hook triggers for. - */ - remove_events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; -declare type ReposUpdateWebhookRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUpdateWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} -declare type ReposUploadReleaseAssetEndpoint = { - /** - * owner parameter - */ - owner: string; - /** - * repo parameter - */ - repo: string; - /** - * release_id parameter - */ - release_id: number; - /** - * name parameter - */ - name?: string; - /** - * label parameter - */ - label?: string; - /** - * The raw file data - */ - data: string; - /** - * The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint - */ - origin?: string; - /** - * For https://api.github.com, set `baseUrl` to `https://uploads.github.com`. For GitHub Enterprise Server, set it to `/api/uploads` - */ - baseUrl: string; -} & { - headers: { - "content-type": string; - }; -}; -declare type ReposUploadReleaseAssetRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/releases/:release_id/assets{?name,label}"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ReposUploadReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} -declare type ScimDeleteUserFromOrgEndpoint = { - org: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: number; -}; -declare type ScimDeleteUserFromOrgRequestOptions = { - method: "DELETE"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type ScimGetProvisioningInformationForUserEndpoint = { - org: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: number; -}; -declare type ScimGetProvisioningInformationForUserRequestOptions = { - method: "GET"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimGetProvisioningInformationForUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} -declare type ScimListProvisionedIdentitiesEndpoint = { - org: string; - /** - * Used for pagination: the index of the first result to return. - */ - startIndex?: number; - /** - * Used for pagination: the number of results to return. - */ - count?: number; - /** - * Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query: - * - * `?filter=userName%20eq%20\"Octocat\"`. - * - * To filter results for for the identity with the email `octocat@github.com`, you would use this query: - * - * `?filter=emails%20eq%20\"octocat@github.com\"`. - */ - filter?: string; -}; -declare type ScimListProvisionedIdentitiesRequestOptions = { - method: "GET"; - url: "/scim/v2/organizations/:org/Users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimListProvisionedIdentitiesResponseData { - schemas: string[]; - totalResults: number; - itemsPerPage: number; - startIndex: number; - Resources: { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - primary: boolean; - type: string; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; - }[]; -} -declare type ScimProvisionAndInviteUserEndpoint = { - org: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * The username for the user. - */ - userName: string; - name: ScimProvisionAndInviteUserParamsName; - /** - * List of user emails. - */ - emails: ScimProvisionAndInviteUserParamsEmails[]; -}; -declare type ScimProvisionAndInviteUserRequestOptions = { - method: "POST"; - url: "/scim/v2/organizations/:org/Users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimProvisionAndInviteUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} -declare type ScimSetInformationForProvisionedUserEndpoint = { - org: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: number; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * The username for the user. - */ - userName: string; - name: ScimSetInformationForProvisionedUserParamsName; - /** - * List of user emails. - */ - emails: ScimSetInformationForProvisionedUserParamsEmails[]; -}; -declare type ScimSetInformationForProvisionedUserRequestOptions = { - method: "PUT"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimSetInformationForProvisionedUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} -declare type ScimUpdateAttributeForUserEndpoint = { - org: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: number; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). - */ - Operations: ScimUpdateAttributeForUserParamsOperations[]; -}; -declare type ScimUpdateAttributeForUserRequestOptions = { - method: "PATCH"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface ScimUpdateAttributeForUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} -declare type SearchCodeEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching code](https://help.github.com/articles/searching-code/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "indexed"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type SearchCodeRequestOptions = { - method: "GET"; - url: "/search/code"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchCodeResponseData { - total_count: number; - incomplete_results: boolean; - items: { - name: string; - path: string; - sha: string; - url: string; - git_url: string; - html_url: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - }; - score: number; - }[]; -} -declare type SearchCommitsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching commits](https://help.github.com/articles/searching-commits/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by `author-date` or `committer-date`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "author-date" | "committer-date"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"cloak">; -declare type SearchCommitsRequestOptions = { - method: "GET"; - url: "/search/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchCommitsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - url: string; - sha: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - score: number; - }[]; -} -declare type SearchIssuesAndPullRequestsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching issues and pull requests](https://help.github.com/articles/searching-issues-and-pull-requests/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "comments" | "reactions" | "reactions-+1" | "reactions--1" | "reactions-smile" | "reactions-thinking_face" | "reactions-heart" | "reactions-tada" | "interactions" | "created" | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type SearchIssuesAndPullRequestsRequestOptions = { - method: "GET"; - url: "/search/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchIssuesAndPullRequestsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - id: number; - node_id: string; - number: number; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - color: string; - }[]; - state: string; - assignee: string; - milestone: string; - comments: number; - created_at: string; - updated_at: string; - closed_at: string; - pull_request: { - html_url: string; - diff_url: string; - patch_url: string; - }; - body: string; - score: number; - }[]; -} -declare type SearchLabelsEndpoint = { - /** - * The id of the repository. - */ - repository_id: number; - /** - * The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). - */ - q: string; - /** - * Sorts the results of your query by when the label was `created` or `updated`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "created" | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; -}; -declare type SearchLabelsRequestOptions = { - method: "GET"; - url: "/search/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchLabelsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - id: number; - node_id: string; - url: string; - name: string; - color: string; - default: boolean; - description: string; - score: number; - }[]; -} -declare type SearchReposEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching for repositories](https://help.github.com/articles/searching-for-repositories/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "stars" | "forks" | "help-wanted-issues" | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type SearchReposRequestOptions = { - method: "GET"; - url: "/search/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchReposResponseData { - total_count: number; - incomplete_results: boolean; - items: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - received_events_url: string; - type: string; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - created_at: string; - updated_at: string; - pushed_at: string; - homepage: string; - size: number; - stargazers_count: number; - watchers_count: number; - language: string; - forks_count: number; - open_issues_count: number; - master_branch: string; - default_branch: string; - score: number; - }[]; -} -declare type SearchTopicsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). - */ - q: string; -} & RequiredPreview<"mercy">; -declare type SearchTopicsRequestOptions = { - method: "GET"; - url: "/search/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchTopicsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - name: string; - display_name: string; - short_description: string; - description: string; - created_by: string; - released: string; - created_at: string; - updated_at: string; - featured: boolean; - curated: boolean; - score: number; - }[]; -} -declare type SearchUsersEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching users](https://help.github.com/articles/searching-users/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "followers" | "repositories" | "joined"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type SearchUsersRequestOptions = { - method: "GET"; - url: "/search/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface SearchUsersResponseData { - total_count: number; - incomplete_results: boolean; - items: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - received_events_url: string; - type: string; - score: number; - }[]; -} -declare type TeamsAddMemberLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsAddMemberLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddMemberLegacyResponseData { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} -declare type TeamsAddOrUpdateMembershipForUserInOrgEndpoint = { - org: string; - team_slug: string; - username: string; - /** - * The role that this user should have in the team. Can be one of: - * \* `member` - a normal member of the team. - * \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description. - */ - role?: "member" | "maintainer"; -}; -declare type TeamsAddOrUpdateMembershipForUserInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddOrUpdateMembershipForUserInOrgResponseData { - url: string; - role: string; - state: string; -} -export interface TeamsAddOrUpdateMembershipForUserInOrgResponse422Data { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} -declare type TeamsAddOrUpdateMembershipForUserLegacyEndpoint = { - team_id: number; - username: string; - /** - * The role that this user should have in the team. Can be one of: - * \* `member` - a normal member of the team. - * \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description. - */ - role?: "member" | "maintainer"; -}; -declare type TeamsAddOrUpdateMembershipForUserLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddOrUpdateMembershipForUserLegacyResponseData { - url: string; - role: string; - state: string; -} -export interface TeamsAddOrUpdateMembershipForUserLegacyResponse422Data { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} -declare type TeamsAddOrUpdateProjectPermissionsInOrgEndpoint = { - org: string; - team_slug: string; - project_id: number; - /** - * The permission to grant to the team for this project. Can be one of: - * \* `read` - team members can read, but not write to or administer this project. - * \* `write` - team members can read and write, but not administer this project. - * \* `admin` - team members can read, write and administer this project. - * Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; -declare type TeamsAddOrUpdateProjectPermissionsInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddOrUpdateProjectPermissionsInOrgResponseData { - message: string; - documentation_url: string; -} -declare type TeamsAddOrUpdateProjectPermissionsLegacyEndpoint = { - team_id: number; - project_id: number; - /** - * The permission to grant to the team for this project. Can be one of: - * \* `read` - team members can read, but not write to or administer this project. - * \* `write` - team members can read and write, but not administer this project. - * \* `admin` - team members can read, write and administer this project. - * Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; -declare type TeamsAddOrUpdateProjectPermissionsLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsAddOrUpdateProjectPermissionsLegacyResponseData { - message: string; - documentation_url: string; -} -declare type TeamsAddOrUpdateRepoPermissionsInOrgEndpoint = { - org: string; - team_slug: string; - owner: string; - repo: string; - /** - * The permission to grant the team on this repository. Can be one of: - * \* `pull` - team members can pull, but not push to or administer this repository. - * \* `push` - team members can pull and push, but not administer this repository. - * \* `admin` - team members can pull, push and administer this repository. - * \* `maintain` - team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations. - * \* `triage` - team members can proactively manage issues and pull requests without write access. Recommended for contributors who triage a repository. Only applies to repositories owned by organizations. - * - * If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - */ - permission?: "pull" | "push" | "admin" | "maintain" | "triage"; -}; -declare type TeamsAddOrUpdateRepoPermissionsInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsAddOrUpdateRepoPermissionsLegacyEndpoint = { - team_id: number; - owner: string; - repo: string; - /** - * The permission to grant the team on this repository. Can be one of: - * \* `pull` - team members can pull, but not push to or administer this repository. - * \* `push` - team members can pull and push, but not administer this repository. - * \* `admin` - team members can pull, push and administer this repository. - * - * If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - */ - permission?: "pull" | "push" | "admin"; -}; -declare type TeamsAddOrUpdateRepoPermissionsLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsCheckPermissionsForProjectInOrgEndpoint = { - org: string; - team_slug: string; - project_id: number; -} & RequiredPreview<"inertia">; -declare type TeamsCheckPermissionsForProjectInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCheckPermissionsForProjectInOrgResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -} -declare type TeamsCheckPermissionsForProjectLegacyEndpoint = { - team_id: number; - project_id: number; -} & RequiredPreview<"inertia">; -declare type TeamsCheckPermissionsForProjectLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCheckPermissionsForProjectLegacyResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -} -declare type TeamsCheckPermissionsForRepoInOrgEndpoint = { - org: string; - team_slug: string; - owner: string; - repo: string; -}; -declare type TeamsCheckPermissionsForRepoInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCheckPermissionsForRepoInOrgResponseData { - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; -} -declare type TeamsCheckPermissionsForRepoLegacyEndpoint = { - team_id: number; - owner: string; - repo: string; -}; -declare type TeamsCheckPermissionsForRepoLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCheckPermissionsForRepoLegacyResponseData { - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; -} -declare type TeamsCreateEndpoint = { - org: string; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * List GitHub IDs for organization members who will become team maintainers. - */ - maintainers?: string[]; - /** - * The full name (e.g., "organization-name/repository-name") of repositories to add the team to. - */ - repo_names?: string[]; - /** - * The level of privacy this team should have. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * Default: `secret` - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - * Default for child team: `closed` - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; -declare type TeamsCreateRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsCreateDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; -declare type TeamsCreateDiscussionCommentInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsCreateDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; -declare type TeamsCreateDiscussionCommentLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsCreateDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - /** - * The discussion post's title. - */ - title: string; - /** - * The discussion post's body text. - */ - body: string; - /** - * Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. - */ - private?: boolean; -}; -declare type TeamsCreateDiscussionInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsCreateDiscussionLegacyEndpoint = { - team_id: number; - /** - * The discussion post's title. - */ - title: string; - /** - * The discussion post's body text. - */ - body: string; - /** - * Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. - */ - private?: boolean; -}; -declare type TeamsCreateDiscussionLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsCreateOrUpdateIdPGroupConnectionsInOrgEndpoint = { - org: string; - team_slug: string; - /** - * The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove. - */ - groups: TeamsCreateOrUpdateIdPGroupConnectionsInOrgParamsGroups[]; -}; -declare type TeamsCreateOrUpdateIdPGroupConnectionsInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateOrUpdateIdPGroupConnectionsInOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }; -} -declare type TeamsCreateOrUpdateIdPGroupConnectionsLegacyEndpoint = { - team_id: number; - /** - * The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove. - */ - groups: TeamsCreateOrUpdateIdPGroupConnectionsLegacyParamsGroups[]; -}; -declare type TeamsCreateOrUpdateIdPGroupConnectionsLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsCreateOrUpdateIdPGroupConnectionsLegacyResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} -declare type TeamsDeleteDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; -}; -declare type TeamsDeleteDiscussionCommentInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsDeleteDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; -}; -declare type TeamsDeleteDiscussionCommentLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsDeleteDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; -}; -declare type TeamsDeleteDiscussionInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsDeleteDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; -}; -declare type TeamsDeleteDiscussionLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsDeleteInOrgEndpoint = { - org: string; - team_slug: string; -}; -declare type TeamsDeleteInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsDeleteLegacyEndpoint = { - team_id: number; -}; -declare type TeamsDeleteLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsGetByNameEndpoint = { - org: string; - team_slug: string; -}; -declare type TeamsGetByNameRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetByNameResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsGetDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; -}; -declare type TeamsGetDiscussionCommentInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsGetDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; -}; -declare type TeamsGetDiscussionCommentLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsGetDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; -}; -declare type TeamsGetDiscussionInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsGetDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; -}; -declare type TeamsGetDiscussionLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsGetLegacyEndpoint = { - team_id: number; -}; -declare type TeamsGetLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetLegacyResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsGetMemberLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsGetMemberLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsGetMembershipForUserInOrgEndpoint = { - org: string; - team_slug: string; - username: string; -}; -declare type TeamsGetMembershipForUserInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetMembershipForUserInOrgResponseData { - url: string; - role: string; - state: string; -} -declare type TeamsGetMembershipForUserLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsGetMembershipForUserLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsGetMembershipForUserLegacyResponseData { - url: string; - role: string; - state: string; -} -declare type TeamsListEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; -declare type TeamsListChildInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListChildInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListChildInOrgResponseData = { - id: number; - node_id: string; - url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - }; -}[]; -declare type TeamsListChildLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListChildLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListChildLegacyResponseData = { - id: number; - node_id: string; - url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - }; -}[]; -declare type TeamsListDiscussionCommentsInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListDiscussionCommentsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListDiscussionCommentsInOrgResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; -declare type TeamsListDiscussionCommentsLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListDiscussionCommentsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListDiscussionCommentsLegacyResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; -declare type TeamsListDiscussionsInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListDiscussionsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListDiscussionsInOrgResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; -declare type TeamsListDiscussionsLegacyEndpoint = { - team_id: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListDiscussionsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListDiscussionsLegacyResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; -declare type TeamsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListForAuthenticatedUserResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -}[]; -declare type TeamsListIdPGroupsForLegacyEndpoint = { - team_id: number; -}; -declare type TeamsListIdPGroupsForLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsListIdPGroupsForLegacyResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} -declare type TeamsListIdPGroupsForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListIdPGroupsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/team-sync/groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsListIdPGroupsForOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} -declare type TeamsListIdPGroupsInOrgEndpoint = { - org: string; - team_slug: string; -}; -declare type TeamsListIdPGroupsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsListIdPGroupsInOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} -declare type TeamsListMembersInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Filters members returned by their role in the team. Can be one of: - * \* `member` - normal members of the team. - * \* `maintainer` - team maintainers. - * \* `all` - all members of the team. - */ - role?: "member" | "maintainer" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListMembersInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListMembersInOrgResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type TeamsListMembersLegacyEndpoint = { - team_id: number; - /** - * Filters members returned by their role in the team. Can be one of: - * \* `member` - normal members of the team. - * \* `maintainer` - team maintainers. - * \* `all` - all members of the team. - */ - role?: "member" | "maintainer" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListMembersLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListMembersLegacyResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type TeamsListPendingInvitationsInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListPendingInvitationsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListPendingInvitationsInOrgResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; -declare type TeamsListPendingInvitationsLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListPendingInvitationsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListPendingInvitationsLegacyResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; -declare type TeamsListProjectsInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type TeamsListProjectsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListProjectsInOrgResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -}[]; -declare type TeamsListProjectsLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; -declare type TeamsListProjectsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListProjectsLegacyResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -}[]; -declare type TeamsListReposInOrgEndpoint = { - org: string; - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListReposInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListReposInOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type TeamsListReposLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type TeamsListReposLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type TeamsListReposLegacyResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; -declare type TeamsRemoveMemberLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsRemoveMemberLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsRemoveMembershipForUserInOrgEndpoint = { - org: string; - team_slug: string; - username: string; -}; -declare type TeamsRemoveMembershipForUserInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsRemoveMembershipForUserLegacyEndpoint = { - team_id: number; - username: string; -}; -declare type TeamsRemoveMembershipForUserLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsRemoveProjectInOrgEndpoint = { - org: string; - team_slug: string; - project_id: number; -}; -declare type TeamsRemoveProjectInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsRemoveProjectLegacyEndpoint = { - team_id: number; - project_id: number; -}; -declare type TeamsRemoveProjectLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsRemoveRepoInOrgEndpoint = { - org: string; - team_slug: string; - owner: string; - repo: string; -}; -declare type TeamsRemoveRepoInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsRemoveRepoLegacyEndpoint = { - team_id: number; - owner: string; - repo: string; -}; -declare type TeamsRemoveRepoLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type TeamsUpdateDiscussionCommentInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - comment_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; -declare type TeamsUpdateDiscussionCommentInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsUpdateDiscussionCommentLegacyEndpoint = { - team_id: number; - discussion_number: number; - comment_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; -declare type TeamsUpdateDiscussionCommentLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsUpdateDiscussionInOrgEndpoint = { - org: string; - team_slug: string; - discussion_number: number; - /** - * The discussion post's title. - */ - title?: string; - /** - * The discussion post's body text. - */ - body?: string; -}; -declare type TeamsUpdateDiscussionInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsUpdateDiscussionLegacyEndpoint = { - team_id: number; - discussion_number: number; - /** - * The discussion post's title. - */ - title?: string; - /** - * The discussion post's body text. - */ - body?: string; -}; -declare type TeamsUpdateDiscussionLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} -declare type TeamsUpdateInOrgEndpoint = { - org: string; - team_slug: string; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; -declare type TeamsUpdateInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateInOrgResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type TeamsUpdateLegacyEndpoint = { - team_id: number; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; -declare type TeamsUpdateLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface TeamsUpdateLegacyResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} -declare type UsersAddEmailForAuthenticatedEndpoint = { - /** - * Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. - */ - emails: string[]; -}; -declare type UsersAddEmailForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersAddEmailForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; -declare type UsersBlockEndpoint = { - username: string; -}; -declare type UsersBlockRequestOptions = { - method: "PUT"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersCheckBlockedEndpoint = { - username: string; -}; -declare type UsersCheckBlockedRequestOptions = { - method: "GET"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersCheckFollowingForUserEndpoint = { - username: string; - target_user: string; -}; -declare type UsersCheckFollowingForUserRequestOptions = { - method: "GET"; - url: "/users/:username/following/:target_user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersCheckPersonIsFollowedByAuthenticatedEndpoint = { - username: string; -}; -declare type UsersCheckPersonIsFollowedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersCreateGpgKeyForAuthenticatedEndpoint = { - /** - * Your GPG key, generated in ASCII-armored format. See "[Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/)" for help creating a GPG key. - */ - armored_public_key?: string; -}; -declare type UsersCreateGpgKeyForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersCreateGpgKeyForAuthenticatedResponseData { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -} -declare type UsersCreatePublicSshKeyForAuthenticatedEndpoint = { - /** - * A descriptive name for the new key. Use a name that will help you recognize this key in your GitHub account. For example, if you're using a personal Mac, you might call this key "Personal MacBook Air". - */ - title?: string; - /** - * The public SSH key to add to your GitHub account. See "[Generating a new SSH key](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)" for guidance on how to create a public SSH key. - */ - key?: string; -}; -declare type UsersCreatePublicSshKeyForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersCreatePublicSshKeyForAuthenticatedResponseData { - key_id: string; - key: string; -} -declare type UsersDeleteEmailForAuthenticatedEndpoint = { - /** - * Deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. - */ - emails: string[]; -}; -declare type UsersDeleteEmailForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersDeleteGpgKeyForAuthenticatedEndpoint = { - gpg_key_id: number; -}; -declare type UsersDeleteGpgKeyForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/gpg_keys/:gpg_key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersDeletePublicSshKeyForAuthenticatedEndpoint = { - key_id: number; -}; -declare type UsersDeletePublicSshKeyForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersFollowEndpoint = { - username: string; -}; -declare type UsersFollowRequestOptions = { - method: "PUT"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersGetAuthenticatedEndpoint = {}; -declare type UsersGetAuthenticatedRequestOptions = { - method: "GET"; - url: "/user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetAuthenticatedResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - private_gists: number; - total_private_repos: number; - owned_private_repos: number; - disk_usage: number; - collaborators: number; - two_factor_authentication: boolean; - plan: { - name: string; - space: number; - private_repos: number; - collaborators: number; - }; -} -declare type UsersGetByUsernameEndpoint = { - username: string; -}; -declare type UsersGetByUsernameRequestOptions = { - method: "GET"; - url: "/users/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetByUsernameResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - plan: { - name: string; - space: number; - private_repos: number; - collaborators: number; - }; -} -declare type UsersGetContextForUserEndpoint = { - username: string; - /** - * Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`. - */ - subject_type?: "organization" | "repository" | "issue" | "pull_request"; - /** - * Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`. - */ - subject_id?: string; -}; -declare type UsersGetContextForUserRequestOptions = { - method: "GET"; - url: "/users/:username/hovercard"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetContextForUserResponseData { - contexts: { - message: string; - octicon: string; - }[]; -} -declare type UsersGetGpgKeyForAuthenticatedEndpoint = { - gpg_key_id: number; -}; -declare type UsersGetGpgKeyForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/gpg_keys/:gpg_key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetGpgKeyForAuthenticatedResponseData { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -} -declare type UsersGetPublicSshKeyForAuthenticatedEndpoint = { - key_id: number; -}; -declare type UsersGetPublicSshKeyForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersGetPublicSshKeyForAuthenticatedResponseData { - key_id: string; - key: string; -} -declare type UsersListEndpoint = { - /** - * The integer ID of the last User that you've seen. - */ - since?: string; -}; -declare type UsersListRequestOptions = { - method: "GET"; - url: "/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersListBlockedByAuthenticatedEndpoint = {}; -declare type UsersListBlockedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/blocks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListBlockedByAuthenticatedResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersListEmailsForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListEmailsForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListEmailsForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; -declare type UsersListFollowedByAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListFollowedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/following"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListFollowedByAuthenticatedResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersListFollowersForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListFollowersForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/followers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListFollowersForAuthenticatedUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersListFollowersForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListFollowersForUserRequestOptions = { - method: "GET"; - url: "/users/:username/followers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListFollowersForUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersListFollowingForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListFollowingForUserRequestOptions = { - method: "GET"; - url: "/users/:username/following"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListFollowingForUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; -declare type UsersListGpgKeysForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListGpgKeysForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListGpgKeysForAuthenticatedResponseData = { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -}[]; -declare type UsersListGpgKeysForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListGpgKeysForUserRequestOptions = { - method: "GET"; - url: "/users/:username/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListGpgKeysForUserResponseData = { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -}[]; -declare type UsersListPublicEmailsForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListPublicEmailsForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/public_emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListPublicEmailsForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; -declare type UsersListPublicKeysForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListPublicKeysForUserRequestOptions = { - method: "GET"; - url: "/users/:username/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListPublicKeysForUserResponseData = { - id: number; - key: string; -}[]; -declare type UsersListPublicSshKeysForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; -declare type UsersListPublicSshKeysForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersListPublicSshKeysForAuthenticatedResponseData = { - key_id: string; - key: string; -}[]; -declare type UsersSetPrimaryEmailVisibilityForAuthenticatedEndpoint = { - /** - * Specify the _primary_ email address that needs a visibility change. - */ - email: string; - /** - * Use `public` to enable an authenticated user to view the specified email address, or use `private` so this primary email address cannot be seen publicly. - */ - visibility: string; -}; -declare type UsersSetPrimaryEmailVisibilityForAuthenticatedRequestOptions = { - method: "PATCH"; - url: "/user/email/visibility"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export declare type UsersSetPrimaryEmailVisibilityForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; -declare type UsersUnblockEndpoint = { - username: string; -}; -declare type UsersUnblockRequestOptions = { - method: "DELETE"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersUnfollowEndpoint = { - username: string; -}; -declare type UsersUnfollowRequestOptions = { - method: "DELETE"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -declare type UsersUpdateAuthenticatedEndpoint = { - /** - * The new name of the user. - */ - name?: string; - /** - * The publicly visible email address of the user. - */ - email?: string; - /** - * The new blog URL of the user. - */ - blog?: string; - /** - * The new company of the user. - */ - company?: string; - /** - * The new location of the user. - */ - location?: string; - /** - * The new hiring availability of the user. - */ - hireable?: boolean; - /** - * The new short biography of the user. - */ - bio?: string; - /** - * The new Twitter username of the user. - */ - twitter_username?: string; -}; -declare type UsersUpdateAuthenticatedRequestOptions = { - method: "PATCH"; - url: "/user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; -export interface UsersUpdateAuthenticatedResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - private_gists: number; - total_private_repos: number; - owned_private_repos: number; - disk_usage: number; - collaborators: number; - two_factor_authentication: boolean; - plan: { - name: string; - space: number; - private_repos: number; - collaborators: number; - }; -} -declare type ActionsCreateWorkflowDispatchParamsInputs = { - [key: string]: ActionsCreateWorkflowDispatchParamsInputsKeyString; -}; -declare type ActionsCreateWorkflowDispatchParamsInputsKeyString = {}; -declare type AppsCreateInstallationAccessTokenParamsPermissions = { - [key: string]: AppsCreateInstallationAccessTokenParamsPermissionsKeyString; -}; -declare type AppsCreateInstallationAccessTokenParamsPermissionsKeyString = {}; -declare type ChecksCreateParamsOutput = { - title: string; - summary: string; - text?: string; - annotations?: ChecksCreateParamsOutputAnnotations[]; - images?: ChecksCreateParamsOutputImages[]; -}; -declare type ChecksCreateParamsOutputAnnotations = { - path: string; - start_line: number; - end_line: number; - start_column?: number; - end_column?: number; - annotation_level: "notice" | "warning" | "failure"; - message: string; - title?: string; - raw_details?: string; -}; -declare type ChecksCreateParamsOutputImages = { - alt: string; - image_url: string; - caption?: string; -}; -declare type ChecksCreateParamsActions = { - label: string; - description: string; - identifier: string; -}; -declare type ChecksSetSuitesPreferencesParamsAutoTriggerChecks = { - app_id: number; - setting: boolean; -}; -declare type ChecksUpdateParamsOutput = { - title?: string; - summary: string; - text?: string; - annotations?: ChecksUpdateParamsOutputAnnotations[]; - images?: ChecksUpdateParamsOutputImages[]; -}; -declare type ChecksUpdateParamsOutputAnnotations = { - path: string; - start_line: number; - end_line: number; - start_column?: number; - end_column?: number; - annotation_level: "notice" | "warning" | "failure"; - message: string; - title?: string; - raw_details?: string; -}; -declare type ChecksUpdateParamsOutputImages = { - alt: string; - image_url: string; - caption?: string; -}; -declare type ChecksUpdateParamsActions = { - label: string; - description: string; - identifier: string; -}; -declare type GistsCreateParamsFiles = { - [key: string]: GistsCreateParamsFilesKeyString; -}; -declare type GistsCreateParamsFilesKeyString = { - content: string; -}; -declare type GistsUpdateParamsFiles = { - [key: string]: GistsUpdateParamsFilesKeyString; -}; -declare type GistsUpdateParamsFilesKeyString = { - content: string; - filename: string; -}; -declare type GitCreateCommitParamsAuthor = { - name?: string; - email?: string; - date?: string; -}; -declare type GitCreateCommitParamsCommitter = { - name?: string; - email?: string; - date?: string; -}; -declare type GitCreateTagParamsTagger = { - name?: string; - email?: string; - date?: string; -}; -declare type GitCreateTreeParamsTree = { - path?: string; - mode?: "100644" | "100755" | "040000" | "160000" | "120000"; - type?: "blob" | "tree" | "commit"; - sha?: string | null; - content?: string; -}; -declare type OrgsCreateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -declare type OrgsUpdateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -declare type PullsCreateReviewParamsComments = { - path: string; - position: number; - body: string; -}; -declare type ReposCreateDispatchEventParamsClientPayload = { - [key: string]: ReposCreateDispatchEventParamsClientPayloadKeyString; -}; -declare type ReposCreateDispatchEventParamsClientPayloadKeyString = {}; -declare type ReposCreateOrUpdateFileContentsParamsCommitter = { - name: string; - email: string; -}; -declare type ReposCreateOrUpdateFileContentsParamsAuthor = { - name: string; - email: string; -}; -declare type ReposCreatePagesSiteParamsSource = { - branch?: "master" | "gh-pages"; - path?: string; -}; -declare type ReposCreateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -declare type ReposDeleteFileParamsCommitter = { - name?: string; - email?: string; -}; -declare type ReposDeleteFileParamsAuthor = { - name?: string; - email?: string; -}; -declare type ReposUpdateBranchProtectionParamsRequiredStatusChecks = { - strict: boolean; - contexts: string[]; -}; -declare type ReposUpdateBranchProtectionParamsRequiredPullRequestReviews = { - dismissal_restrictions?: ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions; - dismiss_stale_reviews?: boolean; - require_code_owner_reviews?: boolean; - required_approving_review_count?: number; -}; -declare type ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions = { - users?: string[]; - teams?: string[]; -}; -declare type ReposUpdateBranchProtectionParamsRestrictions = { - users: string[]; - teams: string[]; - apps?: string[]; -}; -declare type ReposUpdatePullRequestReviewProtectionParamsDismissalRestrictions = { - users?: string[]; - teams?: string[]; -}; -declare type ReposUpdateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -declare type ScimProvisionAndInviteUserParamsName = { - givenName: string; - familyName: string; -}; -declare type ScimProvisionAndInviteUserParamsEmails = { - value: string; - type: string; - primary: boolean; -}; -declare type ScimSetInformationForProvisionedUserParamsName = { - givenName: string; - familyName: string; -}; -declare type ScimSetInformationForProvisionedUserParamsEmails = { - value: string; - type: string; - primary: boolean; -}; -declare type ScimUpdateAttributeForUserParamsOperations = {}; -declare type TeamsCreateOrUpdateIdPGroupConnectionsInOrgParamsGroups = { - group_id: string; - group_name: string; - group_description: string; -}; -declare type TeamsCreateOrUpdateIdPGroupConnectionsLegacyParamsGroups = { - group_id: string; - group_name: string; - group_description: string; -}; -export {}; diff --git a/node_modules/@octokit/types/dist-types/index.d.ts b/node_modules/@octokit/types/dist-types/index.d.ts deleted file mode 100644 index 5d2d5ae09b..0000000000 --- a/node_modules/@octokit/types/dist-types/index.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export * from "./AuthInterface"; -export * from "./EndpointDefaults"; -export * from "./EndpointInterface"; -export * from "./EndpointOptions"; -export * from "./Fetch"; -export * from "./OctokitResponse"; -export * from "./RequestHeaders"; -export * from "./RequestInterface"; -export * from "./RequestMethod"; -export * from "./RequestOptions"; -export * from "./RequestParameters"; -export * from "./RequestRequestOptions"; -export * from "./ResponseHeaders"; -export * from "./Route"; -export * from "./Signal"; -export * from "./StrategyInterface"; -export * from "./Url"; -export * from "./VERSION"; -export * from "./GetResponseTypeFromEndpointMethod"; -export * from "./generated/Endpoints"; diff --git a/node_modules/@octokit/types/dist-web/index.js b/node_modules/@octokit/types/dist-web/index.js deleted file mode 100644 index 8cf584d905..0000000000 --- a/node_modules/@octokit/types/dist-web/index.js +++ /dev/null @@ -1,4 +0,0 @@ -const VERSION = "5.1.0"; - -export { VERSION }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/types/dist-web/index.js.map b/node_modules/@octokit/types/dist-web/index.js.map deleted file mode 100644 index cd0e254a57..0000000000 --- a/node_modules/@octokit/types/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/types/package.json b/node_modules/@octokit/types/package.json deleted file mode 100644 index 7d994355d3..0000000000 --- a/node_modules/@octokit/types/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "@octokit/types", - "description": "Shared TypeScript definitions for Octokit projects", - "version": "5.1.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit", - "typescript" - ], - "repository": "https://github.com/octokit/types.ts", - "dependencies": { - "@types/node": ">= 8" - }, - "devDependencies": { - "@octokit/graphql": "^4.2.2", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "handlebars": "^4.7.6", - "json-schema-to-typescript": "^9.1.0", - "lodash.set": "^4.3.2", - "npm-run-all": "^4.1.5", - "pascal-case": "^3.1.1", - "prettier": "^2.0.0", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "sort-keys": "^4.0.0", - "string-to-jsdoc-comment": "^1.0.0", - "typedoc": "^0.17.0", - "typescript": "^3.6.4" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" - -,"_resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.1.0.tgz" -,"_integrity": "sha512-OFxUBgrEllAbdEmWp/wNmKIu5EuumKHG4sgy56vjZ8lXPgMhF05c76hmulfOdFHHYRpPj49ygOZJ8wgVsPecuA==" -,"_from": "@octokit/types@5.1.0" -} \ No newline at end of file diff --git a/node_modules/@types/flat-cache/LICENSE b/node_modules/@types/flat-cache/LICENSE deleted file mode 100644 index 21071075c2..0000000000 --- a/node_modules/@types/flat-cache/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/node_modules/@types/flat-cache/README.md b/node_modules/@types/flat-cache/README.md deleted file mode 100644 index b65ac5d8f5..0000000000 --- a/node_modules/@types/flat-cache/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/flat-cache` - -# Summary -This package contains type definitions for flat-cache ( https://github.com/royriojas/flat-cache#readme ). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flat-cache - -Additional Details - * Last updated: Wed, 15 May 2019 16:10:27 GMT - * Dependencies: none - * Global values: none - -# Credits -These definitions were written by Kevin Pollet . diff --git a/node_modules/@types/flat-cache/index.d.ts b/node_modules/@types/flat-cache/index.d.ts deleted file mode 100644 index de39a71422..0000000000 --- a/node_modules/@types/flat-cache/index.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -// Type definitions for flat-cache 2.0 -// Project: https://github.com/royriojas/flat-cache#readme -// Definitions by: Kevin Pollet -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -export interface Cache { - load(cacheId: string, cacheDir?: string): void; - loadFile(pathToFile: string): void; - all(): { [key: string]: any }; - keys(): string[]; - setKey(key: string, value: any): void; - removeKey(key: string): void; - getKey(key: string): any; - save(noPrune?: boolean): void; - removeCacheFile(): boolean; - destroy(): void; -} - -export function load(cacheId: string, cacheDir?: string): Cache; - -export function create(cacheId: string, cacheDir?: string): Cache; - -export function createFromFile(filePath: string): Cache; - -export function clearCacheById(cacheId: string, cacheDir?: string): boolean; - -export function clearAll(cacheDir?: string): boolean; diff --git a/node_modules/@types/flat-cache/package.json b/node_modules/@types/flat-cache/package.json deleted file mode 100644 index 9a69a32044..0000000000 --- a/node_modules/@types/flat-cache/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "@types/flat-cache", - "version": "2.0.0", - "description": "TypeScript definitions for flat-cache", - "license": "MIT", - "contributors": [ - { - "name": "Kevin Pollet", - "url": "https://github.com/kevinpollet", - "githubUsername": "kevinpollet" - } - ], - "main": "", - "types": "index", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/flat-cache" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "d7ae5b54341ede39fa8651521aa27d4b49e918debef24b1047d8cc4dae60a2a0", - "typeScriptVersion": "2.0" - -,"_resolved": "https://registry.npmjs.org/@types/flat-cache/-/flat-cache-2.0.0.tgz" -,"_integrity": "sha512-fHeEsm9hvmZ+QHpw6Fkvf19KIhuqnYLU6vtWLjd5BsMd/qVi7iTkMioDZl0mQmfNRA1A6NwvhrSRNr9hGYZGww==" -,"_from": "@types/flat-cache@2.0.0" -} \ No newline at end of file diff --git a/node_modules/@types/minimist/README.md b/node_modules/@types/minimist/README.md deleted file mode 100644 index ae6337e33e..0000000000 --- a/node_modules/@types/minimist/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# Installation -> `npm install --save @types/minimist` - -# Summary -This package contains type definitions for minimist (https://github.com/substack/minimist). - -# Details -Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/minimist - -Additional Details - * Last updated: Thu, 29 Dec 2016 23:09:09 GMT - * Library Dependencies: none - * Module Dependencies: none - * Global values: none - -# Credits -These definitions were written by Bart van der Schoor , Necroskillz , kamranayub . diff --git a/node_modules/@types/minimist/index.d.ts b/node_modules/@types/minimist/index.d.ts deleted file mode 100644 index 143727ed76..0000000000 --- a/node_modules/@types/minimist/index.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -// Type definitions for minimist 1.2.0 -// Project: https://github.com/substack/minimist -// Definitions by: Bart van der Schoor , Necroskillz , kamranayub -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/** - * Return an argument object populated with the array arguments from args - * - * @param args An optional argument array (typically `process.argv.slice(2)`) - * @param opts An optional options object to customize the parsing - */ -declare function minimist(args?: string[], opts?: minimist.Opts): minimist.ParsedArgs; - -/** - * Return an argument object populated with the array arguments from args. Strongly-typed - * to be the intersect of type T with minimist.ParsedArgs. - * - * @type T The type that will be intersected with minimist.ParsedArgs to represent the argument object - * @param args An optional argument array (typically `process.argv.slice(2)`) - * @param opts An optional options object to customize the parsing - */ -declare function minimist(args?: string[], opts?: minimist.Opts): T & minimist.ParsedArgs; - -/** - * Return an argument object populated with the array arguments from args. Strongly-typed - * to be the the type T which should extend minimist.ParsedArgs - * - * @type T The type that extends minimist.ParsedArgs and represents the argument object - * @param args An optional argument array (typically `process.argv.slice(2)`) - * @param opts An optional options object to customize the parsing - */ -declare function minimist(args?: string[], opts?: minimist.Opts): T; - -declare namespace minimist { - export interface Opts { - /** - * A string or array of strings argument names to always treat as strings - */ - string?: string | string[]; - - /** - * A boolean, string or array of strings to always treat as booleans. If true will treat - * all double hyphenated arguments without equals signs as boolean (e.g. affects `--foo`, not `-f` or `--foo=bar`) - */ - boolean?: boolean | string | string[]; - - /** - * An object mapping string names to strings or arrays of string argument names to use as aliases - */ - alias?: { [key: string]: string | string[] }; - - /** - * An object mapping string argument names to default values - */ - default?: { [key: string]: any }; - - /** - * When true, populate argv._ with everything after the first non-option - */ - stopEarly?: boolean; - - /** - * A function which is invoked with a command line parameter not defined in the opts - * configuration object. If the function returns false, the unknown option is not added to argv - */ - unknown?: (arg: string) => boolean; - - /** - * When true, populate argv._ with everything before the -- and argv['--'] with everything after the --. - * Note that with -- set, parsing for arguments still stops after the `--`. - */ - '--'?: boolean; - } - - export interface ParsedArgs { - [arg: string]: any; - - /** - * If opts['--'] is true, populated with everything after the -- - */ - '--'?: string[]; - - /** - * Contains all the arguments that didn't have an option associated with them - */ - _: string[]; - } -} - -export = minimist; diff --git a/node_modules/@types/minimist/package.json b/node_modules/@types/minimist/package.json deleted file mode 100644 index 9fbb0858a3..0000000000 --- a/node_modules/@types/minimist/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@types/minimist", - "version": "1.2.0", - "description": "TypeScript definitions for minimist", - "license": "MIT", - "author": "Bart van der Schoor , Necroskillz , kamranayub ", - "main": "", - "repository": { - "type": "git", - "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" - }, - "scripts": {}, - "dependencies": {}, - "peerDependencies": {}, - "typesPublisherContentHash": "46fbb5db5555175c72b64f17adce05fa9f0b38683361f762134fc47aea2ac195", - "typeScriptVersion": "2.0" - -,"_resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.0.tgz" -,"_integrity": "sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=" -,"_from": "@types/minimist@1.2.0" -} \ No newline at end of file diff --git a/node_modules/@types/minimist/types-metadata.json b/node_modules/@types/minimist/types-metadata.json deleted file mode 100644 index 0483e672ac..0000000000 --- a/node_modules/@types/minimist/types-metadata.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "authors": "Bart van der Schoor , Necroskillz , kamranayub ", - "libraryDependencies": [], - "moduleDependencies": [], - "libraryMajorVersion": 1, - "libraryMinorVersion": 2, - "typeScriptVersion": "2.0", - "libraryName": "minimist", - "typingsPackageName": "minimist", - "projectName": "https://github.com/substack/minimist", - "sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", - "sourceBranch": "master", - "globals": [], - "declaredModules": [ - "minimist" - ], - "files": [ - "index.d.ts" - ], - "hasPackageJson": false, - "contentHash": "46fbb5db5555175c72b64f17adce05fa9f0b38683361f762134fc47aea2ac195" -} \ No newline at end of file diff --git a/node_modules/@types/node/LICENSE b/node_modules/@types/node/LICENSE deleted file mode 100644 index 9e841e7a26..0000000000 --- a/node_modules/@types/node/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/node_modules/@types/node/README.md b/node_modules/@types/node/README.md deleted file mode 100644 index d711f91235..0000000000 --- a/node_modules/@types/node/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/node` - -# Summary -This package contains type definitions for Node.js (http://nodejs.org/). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. - -### Additional Details - * Last updated: Mon, 13 Jul 2020 16:24:35 GMT - * Dependencies: none - * Global values: `Buffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `exports`, `global`, `module`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout` - -# Credits -These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alexander T.](https://github.com/a-tarasyuk), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Bruno Scheufler](https://github.com/brunoscheufler), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Flarna](https://github.com/Flarna), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nicolas Voigt](https://github.com/octo-sniffle), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Jordi Oliveras Rovira](https://github.com/j-oliveras), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), and [Jason Kwok](https://github.com/JasonHK). diff --git a/node_modules/@types/node/assert.d.ts b/node_modules/@types/node/assert.d.ts deleted file mode 100644 index 3f01820b2d..0000000000 --- a/node_modules/@types/node/assert.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare module "assert" { - function assert(value: any, message?: string | Error): void; - namespace assert { - class AssertionError implements Error { - name: string; - message: string; - actual: any; - expected: any; - operator: string; - generatedMessage: boolean; - code: 'ERR_ASSERTION'; - - constructor(options?: { - message?: string; actual?: any; expected?: any; - operator?: string; stackStartFn?: Function - }); - } - - type AssertPredicate = RegExp | (new() => object) | ((thrown: any) => boolean) | object | Error; - - function fail(message?: string | Error): never; - /** @deprecated since v10.0.0 - use `fail([message])` or other assert functions instead. */ - function fail(actual: any, expected: any, message?: string | Error, operator?: string, stackStartFn?: Function): never; - function ok(value: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use `strictEqual()` instead. */ - function equal(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use `notStrictEqual()` instead. */ - function notEqual(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use `deepStrictEqual()` instead. */ - function deepEqual(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use `notDeepStrictEqual()` instead. */ - function notDeepEqual(actual: any, expected: any, message?: string | Error): void; - function strictEqual(actual: any, expected: any, message?: string | Error): void; - function notStrictEqual(actual: any, expected: any, message?: string | Error): void; - function deepStrictEqual(actual: any, expected: any, message?: string | Error): void; - function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void; - - function throws(block: () => any, message?: string | Error): void; - function throws(block: () => any, error: AssertPredicate, message?: string | Error): void; - function doesNotThrow(block: () => any, message?: string | Error): void; - function doesNotThrow(block: () => any, error: RegExp | Function, message?: string | Error): void; - - function ifError(value: any): void; - - function rejects(block: (() => Promise) | Promise, message?: string | Error): Promise; - function rejects(block: (() => Promise) | Promise, error: AssertPredicate, message?: string | Error): Promise; - function doesNotReject(block: (() => Promise) | Promise, message?: string | Error): Promise; - function doesNotReject(block: (() => Promise) | Promise, error: RegExp | Function, message?: string | Error): Promise; - - function match(value: string, regExp: RegExp, message?: string | Error): void; - function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void; - - const strict: typeof assert; - } - - export = assert; -} diff --git a/node_modules/@types/node/async_hooks.d.ts b/node_modules/@types/node/async_hooks.d.ts deleted file mode 100644 index 6946209d03..0000000000 --- a/node_modules/@types/node/async_hooks.d.ts +++ /dev/null @@ -1,219 +0,0 @@ -/** - * Async Hooks module: https://nodejs.org/api/async_hooks.html - */ -declare module "async_hooks" { - /** - * Returns the asyncId of the current execution context. - */ - function executionAsyncId(): number; - - /** - * The resource representing the current execution. - * Useful to store data within the resource. - * - * Resource objects returned by `executionAsyncResource()` are most often internal - * Node.js handle objects with undocumented APIs. Using any functions or properties - * on the object is likely to crash your application and should be avoided. - * - * Using `executionAsyncResource()` in the top-level execution context will - * return an empty object as there is no handle or request object to use, - * but having an object representing the top-level can be helpful. - */ - function executionAsyncResource(): object; - - /** - * Returns the ID of the resource responsible for calling the callback that is currently being executed. - */ - function triggerAsyncId(): number; - - interface HookCallbacks { - /** - * Called when a class is constructed that has the possibility to emit an asynchronous event. - * @param asyncId a unique ID for the async resource - * @param type the type of the async resource - * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created - * @param resource reference to the resource representing the async operation, needs to be released during destroy - */ - init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void; - - /** - * When an asynchronous operation is initiated or completes a callback is called to notify the user. - * The before callback is called just before said callback is executed. - * @param asyncId the unique identifier assigned to the resource about to execute the callback. - */ - before?(asyncId: number): void; - - /** - * Called immediately after the callback specified in before is completed. - * @param asyncId the unique identifier assigned to the resource which has executed the callback. - */ - after?(asyncId: number): void; - - /** - * Called when a promise has resolve() called. This may not be in the same execution id - * as the promise itself. - * @param asyncId the unique id for the promise that was resolve()d. - */ - promiseResolve?(asyncId: number): void; - - /** - * Called after the resource corresponding to asyncId is destroyed - * @param asyncId a unique ID for the async resource - */ - destroy?(asyncId: number): void; - } - - interface AsyncHook { - /** - * Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop. - */ - enable(): this; - - /** - * Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled. - */ - disable(): this; - } - - /** - * Registers functions to be called for different lifetime events of each async operation. - * @param options the callbacks to register - * @return an AsyncHooks instance used for disabling and enabling hooks - */ - function createHook(options: HookCallbacks): AsyncHook; - - interface AsyncResourceOptions { - /** - * The ID of the execution context that created this async event. - * Default: `executionAsyncId()` - */ - triggerAsyncId?: number; - - /** - * Disables automatic `emitDestroy` when the object is garbage collected. - * This usually does not need to be set (even if `emitDestroy` is called - * manually), unless the resource's `asyncId` is retrieved and the - * sensitive API's `emitDestroy` is called with it. - * Default: `false` - */ - requireManualDestroy?: boolean; - } - - /** - * The class AsyncResource was designed to be extended by the embedder's async resources. - * Using this users can easily trigger the lifetime events of their own resources. - */ - class AsyncResource { - /** - * AsyncResource() is meant to be extended. Instantiating a - * new AsyncResource() also triggers init. If triggerAsyncId is omitted then - * async_hook.executionAsyncId() is used. - * @param type The type of async event. - * @param triggerAsyncId The ID of the execution context that created - * this async event (default: `executionAsyncId()`), or an - * AsyncResourceOptions object (since 9.3) - */ - constructor(type: string, triggerAsyncId?: number|AsyncResourceOptions); - - /** - * Call the provided function with the provided arguments in the - * execution context of the async resource. This will establish the - * context, trigger the AsyncHooks before callbacks, call the function, - * trigger the AsyncHooks after callbacks, and then restore the original - * execution context. - * @param fn The function to call in the execution context of this - * async resource. - * @param thisArg The receiver to be used for the function call. - * @param args Optional arguments to pass to the function. - */ - runInAsyncScope(fn: (this: This, ...args: any[]) => Result, thisArg?: This, ...args: any[]): Result; - - /** - * Call AsyncHooks destroy callbacks. - */ - emitDestroy(): void; - - /** - * @return the unique ID assigned to this AsyncResource instance. - */ - asyncId(): number; - - /** - * @return the trigger ID for this AsyncResource instance. - */ - triggerAsyncId(): number; - } - - /** - * When having multiple instances of `AsyncLocalStorage`, they are independent - * from each other. It is safe to instantiate this class multiple times. - */ - class AsyncLocalStorage { - /** - * This method disables the instance of `AsyncLocalStorage`. All subsequent calls - * to `asyncLocalStorage.getStore()` will return `undefined` until - * `asyncLocalStorage.run()` or `asyncLocalStorage.runSyncAndReturn()` - * is called again. - * - * When calling `asyncLocalStorage.disable()`, all current contexts linked to the - * instance will be exited. - * - * Calling `asyncLocalStorage.disable()` is required before the - * `asyncLocalStorage` can be garbage collected. This does not apply to stores - * provided by the `asyncLocalStorage`, as those objects are garbage collected - * along with the corresponding async resources. - * - * This method is to be used when the `asyncLocalStorage` is not in use anymore - * in the current process. - */ - disable(): void; - - /** - * This method returns the current store. - * If this method is called outside of an asynchronous context initialized by - * calling `asyncLocalStorage.run` or `asyncLocalStorage.runAndReturn`, it will - * return `undefined`. - */ - getStore(): T | undefined; - - /** - * Calling `asyncLocalStorage.run(callback)` will create a new asynchronous - * context. - * Within the callback function and the asynchronous operations from the callback, - * `asyncLocalStorage.getStore()` will return an instance of `Map` known as - * "the store". This store will be persistent through the following - * asynchronous calls. - * - * The callback will be ran asynchronously. Optionally, arguments can be passed - * to the function. They will be passed to the callback function. - * - * If an error is thrown by the callback function, it will not be caught by - * a `try/catch` block as the callback is ran in a new asynchronous resource. - * Also, the stacktrace will be impacted by the asynchronous call. - */ - // TODO: Apply generic vararg once available - run(store: T, callback: (...args: any[]) => void, ...args: any[]): void; - - /** - * Calling `asyncLocalStorage.exit(callback)` will create a new asynchronous - * context. - * Within the callback function and the asynchronous operations from the callback, - * `asyncLocalStorage.getStore()` will return `undefined`. - * - * The callback will be ran asynchronously. Optionally, arguments can be passed - * to the function. They will be passed to the callback function. - * - * If an error is thrown by the callback function, it will not be caught by - * a `try/catch` block as the callback is ran in a new asynchronous resource. - * Also, the stacktrace will be impacted by the asynchronous call. - */ - exit(callback: (...args: any[]) => void, ...args: any[]): void; - - /** - * Calling `asyncLocalStorage.enterWith(store)` will transition into the context - * for the remainder of the current synchronous execution and will persist - * through any following asynchronous calls. - */ - enterWith(store: T): void; - } -} diff --git a/node_modules/@types/node/base.d.ts b/node_modules/@types/node/base.d.ts deleted file mode 100644 index 2abdd0f33a..0000000000 --- a/node_modules/@types/node/base.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -// base definitions for all NodeJS modules that are not specific to any version of TypeScript -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// diff --git a/node_modules/@types/node/buffer.d.ts b/node_modules/@types/node/buffer.d.ts deleted file mode 100644 index 76c92cf8d2..0000000000 --- a/node_modules/@types/node/buffer.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare module "buffer" { - export const INSPECT_MAX_BYTES: number; - export const kMaxLength: number; - export const kStringMaxLength: number; - export const constants: { - MAX_LENGTH: number; - MAX_STRING_LENGTH: number; - }; - const BuffType: typeof Buffer; - - export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary"; - - export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; - - export const SlowBuffer: { - /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */ - new(size: number): Buffer; - prototype: Buffer; - }; - - export { BuffType as Buffer }; -} diff --git a/node_modules/@types/node/child_process.d.ts b/node_modules/@types/node/child_process.d.ts deleted file mode 100644 index d0d8fe7f7a..0000000000 --- a/node_modules/@types/node/child_process.d.ts +++ /dev/null @@ -1,504 +0,0 @@ -declare module "child_process" { - import { BaseEncodingOptions } from 'fs'; - import * as events from "events"; - import * as net from "net"; - import { Writable, Readable, Stream, Pipe } from "stream"; - - type Serializable = string | object | number | boolean; - type SendHandle = net.Socket | net.Server; - - interface ChildProcess extends events.EventEmitter { - stdin: Writable | null; - stdout: Readable | null; - stderr: Readable | null; - readonly channel?: Pipe | null; - readonly stdio: [ - Writable | null, // stdin - Readable | null, // stdout - Readable | null, // stderr - Readable | Writable | null | undefined, // extra - Readable | Writable | null | undefined // extra - ]; - readonly killed: boolean; - readonly pid: number; - readonly connected: boolean; - readonly exitCode: number | null; - readonly signalCode: number | null; - readonly spawnargs: string[]; - readonly spawnfile: string; - kill(signal?: NodeJS.Signals | number): boolean; - send(message: Serializable, callback?: (error: Error | null) => void): boolean; - send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean; - send(message: Serializable, sendHandle?: SendHandle, options?: MessageOptions, callback?: (error: Error | null) => void): boolean; - disconnect(): void; - unref(): void; - ref(): void; - - /** - * events.EventEmitter - * 1. close - * 2. disconnect - * 3. error - * 4. exit - * 5. message - */ - - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close", code: number, signal: NodeJS.Signals): boolean; - emit(event: "disconnect"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean; - emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - } - - // return this object when stdio option is undefined or not specified - interface ChildProcessWithoutNullStreams extends ChildProcess { - stdin: Writable; - stdout: Readable; - stderr: Readable; - readonly stdio: [ - Writable, // stdin - Readable, // stdout - Readable, // stderr - Readable | Writable | null | undefined, // extra, no modification - Readable | Writable | null | undefined // extra, no modification - ]; - } - - // return this object when stdio option is a tuple of 3 - interface ChildProcessByStdio< - I extends null | Writable, - O extends null | Readable, - E extends null | Readable, - > extends ChildProcess { - stdin: I; - stdout: O; - stderr: E; - readonly stdio: [ - I, - O, - E, - Readable | Writable | null | undefined, // extra, no modification - Readable | Writable | null | undefined // extra, no modification - ]; - } - - interface MessageOptions { - keepOpen?: boolean; - } - - type StdioOptions = "pipe" | "ignore" | "inherit" | Array<("pipe" | "ipc" | "ignore" | "inherit" | Stream | number | null | undefined)>; - - type SerializationType = 'json' | 'advanced'; - - interface MessagingOptions { - /** - * Specify the kind of serialization used for sending messages between processes. - * @default 'json' - */ - serialization?: SerializationType; - } - - interface ProcessEnvOptions { - uid?: number; - gid?: number; - cwd?: string; - env?: NodeJS.ProcessEnv; - } - - interface CommonOptions extends ProcessEnvOptions { - /** - * @default true - */ - windowsHide?: boolean; - /** - * @default 0 - */ - timeout?: number; - } - - interface CommonSpawnOptions extends CommonOptions, MessagingOptions { - argv0?: string; - stdio?: StdioOptions; - shell?: boolean | string; - windowsVerbatimArguments?: boolean; - } - - interface SpawnOptions extends CommonSpawnOptions { - detached?: boolean; - } - - interface SpawnOptionsWithoutStdio extends SpawnOptions { - stdio?: 'pipe' | Array; - } - - type StdioNull = 'inherit' | 'ignore' | Stream; - type StdioPipe = undefined | null | 'pipe'; - - interface SpawnOptionsWithStdioTuple< - Stdin extends StdioNull | StdioPipe, - Stdout extends StdioNull | StdioPipe, - Stderr extends StdioNull | StdioPipe, - > extends SpawnOptions { - stdio: [Stdin, Stdout, Stderr]; - } - - // overloads of spawn without 'args' - function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams; - - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - - function spawn(command: string, options: SpawnOptions): ChildProcess; - - // overloads of spawn with 'args' - function spawn(command: string, args?: ReadonlyArray, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams; - - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - - function spawn(command: string, args: ReadonlyArray, options: SpawnOptions): ChildProcess; - - interface ExecOptions extends CommonOptions { - shell?: string; - maxBuffer?: number; - killSignal?: NodeJS.Signals | number; - } - - interface ExecOptionsWithStringEncoding extends ExecOptions { - encoding: BufferEncoding; - } - - interface ExecOptionsWithBufferEncoding extends ExecOptions { - encoding: BufferEncoding | null; // specify `null`. - } - - interface ExecException extends Error { - cmd?: string; - killed?: boolean; - code?: number; - signal?: NodeJS.Signals; - } - - // no `options` definitely means stdout/stderr are `string`. - function exec(command: string, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - - // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. - function exec(command: string, options: { encoding: "buffer" | null } & ExecOptions, callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - - // `options` with well known `encoding` means stdout/stderr are definitely `string`. - function exec(command: string, options: { encoding: BufferEncoding } & ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - - // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. - // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. - function exec( - command: string, - options: { encoding: BufferEncoding } & ExecOptions, - callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - - // `options` without an `encoding` means stdout/stderr are definitely `string`. - function exec(command: string, options: ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - - // fallback if nothing else matches. Worst case is always `string | Buffer`. - function exec( - command: string, - options: (BaseEncodingOptions & ExecOptions) | undefined | null, - callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - - interface PromiseWithChild extends Promise { - child: ChildProcess; - } - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace exec { - function __promisify__(command: string): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(command: string, options: { encoding: "buffer" | null } & ExecOptions): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>; - function __promisify__(command: string, options: { encoding: BufferEncoding } & ExecOptions): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(command: string, options: ExecOptions): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(command: string, options?: (BaseEncodingOptions & ExecOptions) | null): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - } - - interface ExecFileOptions extends CommonOptions { - maxBuffer?: number; - killSignal?: NodeJS.Signals | number; - windowsVerbatimArguments?: boolean; - shell?: boolean | string; - } - interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { - encoding: 'buffer' | null; - } - interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - - function execFile(file: string): ChildProcess; - function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess; - function execFile(file: string, args?: ReadonlyArray | null): ChildProcess; - function execFile(file: string, args: ReadonlyArray | undefined | null, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess; - - // no `options` definitely means stdout/stderr are `string`. - function execFile(file: string, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - function execFile(file: string, args: ReadonlyArray | undefined | null, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - - // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. - function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptionsWithBufferEncoding, - callback: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void, - ): ChildProcess; - - // `options` with well known `encoding` means stdout/stderr are definitely `string`. - function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptionsWithStringEncoding, - callback: (error: ExecException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - - // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. - // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. - function execFile( - file: string, - options: ExecFileOptionsWithOtherEncoding, - callback: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptionsWithOtherEncoding, - callback: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - - // `options` without an `encoding` means stdout/stderr are definitely `string`. - function execFile(file: string, options: ExecFileOptions, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptions, - callback: (error: ExecException | null, stdout: string, stderr: string) => void - ): ChildProcess; - - // fallback if nothing else matches. Worst case is always `string | Buffer`. - function execFile( - file: string, - options: (BaseEncodingOptions & ExecFileOptions) | undefined | null, - callback: ((error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null, - ): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: (BaseEncodingOptions & ExecFileOptions) | undefined | null, - callback: ((error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null, - ): ChildProcess; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace execFile { - function __promisify__(file: string): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, args: string[] | undefined | null): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, options: ExecFileOptionsWithBufferEncoding): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>; - function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithBufferEncoding): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>; - function __promisify__(file: string, options: ExecFileOptionsWithStringEncoding): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithStringEncoding): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, options: ExecFileOptionsWithOtherEncoding): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithOtherEncoding): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - function __promisify__(file: string, options: ExecFileOptions): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptions): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - function __promisify__( - file: string, - args: string[] | undefined | null, - options: (BaseEncodingOptions & ExecFileOptions) | undefined | null, - ): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - } - - interface ForkOptions extends ProcessEnvOptions, MessagingOptions { - execPath?: string; - execArgv?: string[]; - silent?: boolean; - stdio?: StdioOptions; - detached?: boolean; - windowsVerbatimArguments?: boolean; - } - function fork(modulePath: string, args?: ReadonlyArray, options?: ForkOptions): ChildProcess; - - interface SpawnSyncOptions extends CommonSpawnOptions { - input?: string | NodeJS.ArrayBufferView; - killSignal?: NodeJS.Signals | number; - maxBuffer?: number; - encoding?: BufferEncoding | 'buffer' | null; - } - interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { - encoding: BufferEncoding; - } - interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { - encoding?: 'buffer' | null; - } - interface SpawnSyncReturns { - pid: number; - output: string[]; - stdout: T; - stderr: T; - status: number | null; - signal: NodeJS.Signals | null; - error?: Error; - } - function spawnSync(command: string): SpawnSyncReturns; - function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; - function spawnSync(command: string, args?: ReadonlyArray, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - function spawnSync(command: string, args?: ReadonlyArray, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - function spawnSync(command: string, args?: ReadonlyArray, options?: SpawnSyncOptions): SpawnSyncReturns; - - interface ExecSyncOptions extends CommonOptions { - input?: string | Uint8Array; - stdio?: StdioOptions; - shell?: string; - killSignal?: NodeJS.Signals | number; - maxBuffer?: number; - encoding?: BufferEncoding | 'buffer' | null; - } - interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { - encoding: BufferEncoding; - } - interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { - encoding?: 'buffer' | null; - } - function execSync(command: string): Buffer; - function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string; - function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer; - function execSync(command: string, options?: ExecSyncOptions): Buffer; - - interface ExecFileSyncOptions extends CommonOptions { - input?: string | NodeJS.ArrayBufferView; - stdio?: StdioOptions; - killSignal?: NodeJS.Signals | number; - maxBuffer?: number; - encoding?: BufferEncoding; - shell?: boolean | string; - } - interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; - } - interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; // specify `null`. - } - function execFileSync(command: string): Buffer; - function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string; - function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer; - function execFileSync(command: string, args?: ReadonlyArray, options?: ExecFileSyncOptionsWithStringEncoding): string; - function execFileSync(command: string, args?: ReadonlyArray, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - function execFileSync(command: string, args?: ReadonlyArray, options?: ExecFileSyncOptions): Buffer; -} diff --git a/node_modules/@types/node/cluster.d.ts b/node_modules/@types/node/cluster.d.ts deleted file mode 100644 index 0ef6c2a052..0000000000 --- a/node_modules/@types/node/cluster.d.ts +++ /dev/null @@ -1,262 +0,0 @@ -declare module "cluster" { - import * as child from "child_process"; - import * as events from "events"; - import * as net from "net"; - - // interfaces - interface ClusterSettings { - execArgv?: string[]; // default: process.execArgv - exec?: string; - args?: string[]; - silent?: boolean; - stdio?: any[]; - uid?: number; - gid?: number; - inspectPort?: number | (() => number); - } - - interface Address { - address: string; - port: number; - addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6" - } - - class Worker extends events.EventEmitter { - id: number; - process: child.ChildProcess; - send(message: child.Serializable, sendHandle?: child.SendHandle, callback?: (error: Error | null) => void): boolean; - kill(signal?: string): void; - destroy(signal?: string): void; - disconnect(): void; - isConnected(): boolean; - isDead(): boolean; - exitedAfterDisconnect: boolean; - - /** - * events.EventEmitter - * 1. disconnect - * 2. error - * 3. exit - * 4. listening - * 5. message - * 6. online - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "exit", listener: (code: number, signal: string) => void): this; - addListener(event: "listening", listener: (address: Address) => void): this; - addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "disconnect"): boolean; - emit(event: "error", error: Error): boolean; - emit(event: "exit", code: number, signal: string): boolean; - emit(event: "listening", address: Address): boolean; - emit(event: "message", message: any, handle: net.Socket | net.Server): boolean; - emit(event: "online"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "exit", listener: (code: number, signal: string) => void): this; - on(event: "listening", listener: (address: Address) => void): this; - on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "exit", listener: (code: number, signal: string) => void): this; - once(event: "listening", listener: (address: Address) => void): this; - once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependListener(event: "listening", listener: (address: Address) => void): this; - prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependListener(event: "online", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependOnceListener(event: "listening", listener: (address: Address) => void): this; - prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener(event: "online", listener: () => void): this; - } - - interface Cluster extends events.EventEmitter { - Worker: Worker; - disconnect(callback?: () => void): void; - fork(env?: any): Worker; - isMaster: boolean; - isWorker: boolean; - schedulingPolicy: number; - settings: ClusterSettings; - setupMaster(settings?: ClusterSettings): void; - worker?: Worker; - workers?: NodeJS.Dict; - - readonly SCHED_NONE: number; - readonly SCHED_RR: number; - - /** - * events.EventEmitter - * 1. disconnect - * 2. exit - * 3. fork - * 4. listening - * 5. message - * 6. online - * 7. setup - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "disconnect", listener: (worker: Worker) => void): this; - addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - addListener(event: "fork", listener: (worker: Worker) => void): this; - addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: (worker: Worker) => void): this; - addListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "disconnect", worker: Worker): boolean; - emit(event: "exit", worker: Worker, code: number, signal: string): boolean; - emit(event: "fork", worker: Worker): boolean; - emit(event: "listening", worker: Worker, address: Address): boolean; - emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean; - emit(event: "online", worker: Worker): boolean; - emit(event: "setup", settings: ClusterSettings): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "disconnect", listener: (worker: Worker) => void): this; - on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - on(event: "fork", listener: (worker: Worker) => void): this; - on(event: "listening", listener: (worker: Worker, address: Address) => void): this; - on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: (worker: Worker) => void): this; - on(event: "setup", listener: (settings: ClusterSettings) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "disconnect", listener: (worker: Worker) => void): this; - once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - once(event: "fork", listener: (worker: Worker) => void): this; - once(event: "listening", listener: (worker: Worker, address: Address) => void): this; - once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: (worker: Worker) => void): this; - once(event: "setup", listener: (settings: ClusterSettings) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependListener(event: "fork", listener: (worker: Worker) => void): this; - prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependListener(event: "online", listener: (worker: Worker) => void): this; - prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependOnceListener(event: "fork", listener: (worker: Worker) => void): this; - prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; - prependOnceListener(event: "online", listener: (worker: Worker) => void): this; - prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - } - - const SCHED_NONE: number; - const SCHED_RR: number; - - function disconnect(callback?: () => void): void; - function fork(env?: any): Worker; - const isMaster: boolean; - const isWorker: boolean; - let schedulingPolicy: number; - const settings: ClusterSettings; - function setupMaster(settings?: ClusterSettings): void; - const worker: Worker; - const workers: NodeJS.Dict; - - /** - * events.EventEmitter - * 1. disconnect - * 2. exit - * 3. fork - * 4. listening - * 5. message - * 6. online - * 7. setup - */ - function addListener(event: string, listener: (...args: any[]) => void): Cluster; - function addListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function addListener(event: "fork", listener: (worker: Worker) => void): Cluster; - function addListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - // the handle is a net.Socket or net.Server object, or undefined. - function addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; - function addListener(event: "online", listener: (worker: Worker) => void): Cluster; - function addListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function emit(event: string | symbol, ...args: any[]): boolean; - function emit(event: "disconnect", worker: Worker): boolean; - function emit(event: "exit", worker: Worker, code: number, signal: string): boolean; - function emit(event: "fork", worker: Worker): boolean; - function emit(event: "listening", worker: Worker, address: Address): boolean; - function emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean; - function emit(event: "online", worker: Worker): boolean; - function emit(event: "setup", settings: ClusterSettings): boolean; - - function on(event: string, listener: (...args: any[]) => void): Cluster; - function on(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function on(event: "fork", listener: (worker: Worker) => void): Cluster; - function on(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - function on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - function on(event: "online", listener: (worker: Worker) => void): Cluster; - function on(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function once(event: string, listener: (...args: any[]) => void): Cluster; - function once(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function once(event: "fork", listener: (worker: Worker) => void): Cluster; - function once(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - function once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - function once(event: "online", listener: (worker: Worker) => void): Cluster; - function once(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function removeListener(event: string, listener: (...args: any[]) => void): Cluster; - function removeAllListeners(event?: string): Cluster; - function setMaxListeners(n: number): Cluster; - function getMaxListeners(): number; - function listeners(event: string): Function[]; - function listenerCount(type: string): number; - - function prependListener(event: string, listener: (...args: any[]) => void): Cluster; - function prependListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function prependListener(event: "fork", listener: (worker: Worker) => void): Cluster; - function prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - // the handle is a net.Socket or net.Server object, or undefined. - function prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; - function prependListener(event: "online", listener: (worker: Worker) => void): Cluster; - function prependListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function prependOnceListener(event: string, listener: (...args: any[]) => void): Cluster; - function prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function prependOnceListener(event: "fork", listener: (worker: Worker) => void): Cluster; - function prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - // the handle is a net.Socket or net.Server object, or undefined. - function prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; - function prependOnceListener(event: "online", listener: (worker: Worker) => void): Cluster; - function prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function eventNames(): string[]; -} diff --git a/node_modules/@types/node/console.d.ts b/node_modules/@types/node/console.d.ts deleted file mode 100644 index 01e7a0a07d..0000000000 --- a/node_modules/@types/node/console.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -declare module "console" { - import { InspectOptions } from 'util'; - - global { - // This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build - interface Console { - Console: NodeJS.ConsoleConstructor; - /** - * A simple assertion test that verifies whether `value` is truthy. - * If it is not, an `AssertionError` is thrown. - * If provided, the error `message` is formatted using `util.format()` and used as the error message. - */ - assert(value: any, message?: string, ...optionalParams: any[]): void; - /** - * When `stdout` is a TTY, calling `console.clear()` will attempt to clear the TTY. - * When `stdout` is not a TTY, this method does nothing. - */ - clear(): void; - /** - * Maintains an internal counter specific to `label` and outputs to `stdout` the number of times `console.count()` has been called with the given `label`. - */ - count(label?: string): void; - /** - * Resets the internal counter specific to `label`. - */ - countReset(label?: string): void; - /** - * The `console.debug()` function is an alias for {@link console.log()}. - */ - debug(message?: any, ...optionalParams: any[]): void; - /** - * Uses {@link util.inspect()} on `obj` and prints the resulting string to `stdout`. - * This function bypasses any custom `inspect()` function defined on `obj`. - */ - dir(obj: any, options?: InspectOptions): void; - /** - * This method calls {@link console.log()} passing it the arguments received. Please note that this method does not produce any XML formatting - */ - dirxml(...data: any[]): void; - /** - * Prints to `stderr` with newline. - */ - error(message?: any, ...optionalParams: any[]): void; - /** - * Increases indentation of subsequent lines by two spaces. - * If one or more `label`s are provided, those are printed first without the additional indentation. - */ - group(...label: any[]): void; - /** - * The `console.groupCollapsed()` function is an alias for {@link console.group()}. - */ - groupCollapsed(...label: any[]): void; - /** - * Decreases indentation of subsequent lines by two spaces. - */ - groupEnd(): void; - /** - * The {@link console.info()} function is an alias for {@link console.log()}. - */ - info(message?: any, ...optionalParams: any[]): void; - /** - * Prints to `stdout` with newline. - */ - log(message?: any, ...optionalParams: any[]): void; - /** - * This method does not display anything unless used in the inspector. - * Prints to `stdout` the array `array` formatted as a table. - */ - table(tabularData: any, properties?: string[]): void; - /** - * Starts a timer that can be used to compute the duration of an operation. Timers are identified by a unique `label`. - */ - time(label?: string): void; - /** - * Stops a timer that was previously started by calling {@link console.time()} and prints the result to `stdout`. - */ - timeEnd(label?: string): void; - /** - * For a timer that was previously started by calling {@link console.time()}, prints the elapsed time and other `data` arguments to `stdout`. - */ - timeLog(label?: string, ...data: any[]): void; - /** - * Prints to `stderr` the string 'Trace :', followed by the {@link util.format()} formatted message and stack trace to the current position in the code. - */ - trace(message?: any, ...optionalParams: any[]): void; - /** - * The {@link console.warn()} function is an alias for {@link console.error()}. - */ - warn(message?: any, ...optionalParams: any[]): void; - - // --- Inspector mode only --- - /** - * This method does not display anything unless used in the inspector. - * Starts a JavaScript CPU profile with an optional label. - */ - profile(label?: string): void; - /** - * This method does not display anything unless used in the inspector. - * Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector. - */ - profileEnd(label?: string): void; - /** - * This method does not display anything unless used in the inspector. - * Adds an event with the label `label` to the Timeline panel of the inspector. - */ - timeStamp(label?: string): void; - } - - var console: Console; - - namespace NodeJS { - interface ConsoleConstructorOptions { - stdout: WritableStream; - stderr?: WritableStream; - ignoreErrors?: boolean; - colorMode?: boolean | 'auto'; - inspectOptions?: InspectOptions; - } - - interface ConsoleConstructor { - prototype: Console; - new(stdout: WritableStream, stderr?: WritableStream, ignoreErrors?: boolean): Console; - new(options: ConsoleConstructorOptions): Console; - } - - interface Global { - console: typeof console; - } - } - } - - export = console; -} diff --git a/node_modules/@types/node/constants.d.ts b/node_modules/@types/node/constants.d.ts deleted file mode 100644 index d124ae66c0..0000000000 --- a/node_modules/@types/node/constants.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ -declare module "constants" { - import { constants as osConstants, SignalConstants } from 'os'; - import { constants as cryptoConstants } from 'crypto'; - import { constants as fsConstants } from 'fs'; - const exp: typeof osConstants.errno & typeof osConstants.priority & SignalConstants & typeof cryptoConstants & typeof fsConstants; - export = exp; -} diff --git a/node_modules/@types/node/crypto.d.ts b/node_modules/@types/node/crypto.d.ts deleted file mode 100644 index 85d8902e2e..0000000000 --- a/node_modules/@types/node/crypto.d.ts +++ /dev/null @@ -1,615 +0,0 @@ -declare module "crypto" { - import * as stream from "stream"; - - interface Certificate { - exportChallenge(spkac: BinaryLike): Buffer; - exportPublicKey(spkac: BinaryLike): Buffer; - verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; - } - const Certificate: { - new(): Certificate; - (): Certificate; - }; - - namespace constants { // https://nodejs.org/dist/latest-v10.x/docs/api/crypto.html#crypto_crypto_constants - const OPENSSL_VERSION_NUMBER: number; - - /** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */ - const SSL_OP_ALL: number; - /** Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ - const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; - /** Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ - const SSL_OP_CIPHER_SERVER_PREFERENCE: number; - /** Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER. */ - const SSL_OP_CISCO_ANYCONNECT: number; - /** Instructs OpenSSL to turn on cookie exchange. */ - const SSL_OP_COOKIE_EXCHANGE: number; - /** Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft. */ - const SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; - /** Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d. */ - const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; - /** Instructs OpenSSL to always use the tmp_rsa key when performing RSA operations. */ - const SSL_OP_EPHEMERAL_RSA: number; - /** Allows initial connection to servers that do not support RI. */ - const SSL_OP_LEGACY_SERVER_CONNECT: number; - const SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number; - const SSL_OP_MICROSOFT_SESS_ID_BUG: number; - /** Instructs OpenSSL to disable the workaround for a man-in-the-middle protocol-version vulnerability in the SSL 2.0 server implementation. */ - const SSL_OP_MSIE_SSLV2_RSA_PADDING: number; - const SSL_OP_NETSCAPE_CA_DN_BUG: number; - const SSL_OP_NETSCAPE_CHALLENGE_BUG: number; - const SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number; - const SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number; - /** Instructs OpenSSL to disable support for SSL/TLS compression. */ - const SSL_OP_NO_COMPRESSION: number; - const SSL_OP_NO_QUERY_MTU: number; - /** Instructs OpenSSL to always start a new session when performing renegotiation. */ - const SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; - const SSL_OP_NO_SSLv2: number; - const SSL_OP_NO_SSLv3: number; - const SSL_OP_NO_TICKET: number; - const SSL_OP_NO_TLSv1: number; - const SSL_OP_NO_TLSv1_1: number; - const SSL_OP_NO_TLSv1_2: number; - const SSL_OP_PKCS1_CHECK_1: number; - const SSL_OP_PKCS1_CHECK_2: number; - /** Instructs OpenSSL to always create a new key when using temporary/ephemeral DH parameters. */ - const SSL_OP_SINGLE_DH_USE: number; - /** Instructs OpenSSL to always create a new key when using temporary/ephemeral ECDH parameters. */ - const SSL_OP_SINGLE_ECDH_USE: number; - const SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number; - const SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number; - const SSL_OP_TLS_BLOCK_PADDING_BUG: number; - const SSL_OP_TLS_D5_BUG: number; - /** Instructs OpenSSL to disable version rollback attack detection. */ - const SSL_OP_TLS_ROLLBACK_BUG: number; - - const ENGINE_METHOD_RSA: number; - const ENGINE_METHOD_DSA: number; - const ENGINE_METHOD_DH: number; - const ENGINE_METHOD_RAND: number; - const ENGINE_METHOD_EC: number; - const ENGINE_METHOD_CIPHERS: number; - const ENGINE_METHOD_DIGESTS: number; - const ENGINE_METHOD_PKEY_METHS: number; - const ENGINE_METHOD_PKEY_ASN1_METHS: number; - const ENGINE_METHOD_ALL: number; - const ENGINE_METHOD_NONE: number; - - const DH_CHECK_P_NOT_SAFE_PRIME: number; - const DH_CHECK_P_NOT_PRIME: number; - const DH_UNABLE_TO_CHECK_GENERATOR: number; - const DH_NOT_SUITABLE_GENERATOR: number; - - const ALPN_ENABLED: number; - - const RSA_PKCS1_PADDING: number; - const RSA_SSLV23_PADDING: number; - const RSA_NO_PADDING: number; - const RSA_PKCS1_OAEP_PADDING: number; - const RSA_X931_PADDING: number; - const RSA_PKCS1_PSS_PADDING: number; - /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying. */ - const RSA_PSS_SALTLEN_DIGEST: number; - /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data. */ - const RSA_PSS_SALTLEN_MAX_SIGN: number; - /** Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature. */ - const RSA_PSS_SALTLEN_AUTO: number; - - const POINT_CONVERSION_COMPRESSED: number; - const POINT_CONVERSION_UNCOMPRESSED: number; - const POINT_CONVERSION_HYBRID: number; - - /** Specifies the built-in default cipher list used by Node.js (colon-separated values). */ - const defaultCoreCipherList: string; - /** Specifies the active default cipher list used by the current Node.js process (colon-separated values). */ - const defaultCipherList: string; - } - - interface HashOptions extends stream.TransformOptions { - /** - * For XOF hash functions such as `shake256`, the - * outputLength option can be used to specify the desired output length in bytes. - */ - outputLength?: number; - } - - /** @deprecated since v10.0.0 */ - const fips: boolean; - - function createHash(algorithm: string, options?: HashOptions): Hash; - function createHmac(algorithm: string, key: BinaryLike | KeyObject, options?: stream.TransformOptions): Hmac; - - type Utf8AsciiLatin1Encoding = "utf8" | "ascii" | "latin1"; - type HexBase64Latin1Encoding = "latin1" | "hex" | "base64"; - type Utf8AsciiBinaryEncoding = "utf8" | "ascii" | "binary"; - type HexBase64BinaryEncoding = "binary" | "base64" | "hex"; - type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid"; - - class Hash extends stream.Transform { - private constructor(); - copy(): Hash; - update(data: BinaryLike): Hash; - update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Hash; - digest(): Buffer; - digest(encoding: HexBase64Latin1Encoding): string; - } - class Hmac extends stream.Transform { - private constructor(); - update(data: BinaryLike): Hmac; - update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Hmac; - digest(): Buffer; - digest(encoding: HexBase64Latin1Encoding): string; - } - - type KeyObjectType = 'secret' | 'public' | 'private'; - - interface KeyExportOptions { - type: 'pkcs1' | 'spki' | 'pkcs8' | 'sec1'; - format: T; - cipher?: string; - passphrase?: string | Buffer; - } - - class KeyObject { - private constructor(); - asymmetricKeyType?: KeyType; - /** - * For asymmetric keys, this property represents the size of the embedded key in - * bytes. This property is `undefined` for symmetric keys. - */ - asymmetricKeySize?: number; - export(options: KeyExportOptions<'pem'>): string | Buffer; - export(options?: KeyExportOptions<'der'>): Buffer; - symmetricKeySize?: number; - type: KeyObjectType; - } - - type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm' | 'chacha20-poly1305'; - type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm'; - - type BinaryLike = string | NodeJS.ArrayBufferView; - - type CipherKey = BinaryLike | KeyObject; - - interface CipherCCMOptions extends stream.TransformOptions { - authTagLength: number; - } - interface CipherGCMOptions extends stream.TransformOptions { - authTagLength?: number; - } - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM; - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM; - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher; - - function createCipheriv( - algorithm: CipherCCMTypes, - key: CipherKey, - iv: BinaryLike | null, - options: CipherCCMOptions - ): CipherCCM; - function createCipheriv( - algorithm: CipherGCMTypes, - key: CipherKey, - iv: BinaryLike | null, - options?: CipherGCMOptions - ): CipherGCM; - function createCipheriv( - algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions - ): Cipher; - - class Cipher extends stream.Transform { - private constructor(); - update(data: BinaryLike): Buffer; - update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer; - update(data: NodeJS.ArrayBufferView, input_encoding: undefined, output_encoding: HexBase64BinaryEncoding): string; - update(data: string, input_encoding: Utf8AsciiBinaryEncoding | undefined, output_encoding: HexBase64BinaryEncoding): string; - final(): Buffer; - final(output_encoding: BufferEncoding): string; - setAutoPadding(auto_padding?: boolean): this; - // getAuthTag(): Buffer; - // setAAD(buffer: Buffer): this; // docs only say buffer - } - interface CipherCCM extends Cipher { - setAAD(buffer: Buffer, options: { plaintextLength: number }): this; - getAuthTag(): Buffer; - } - interface CipherGCM extends Cipher { - setAAD(buffer: Buffer, options?: { plaintextLength: number }): this; - getAuthTag(): Buffer; - } - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM; - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM; - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher; - - function createDecipheriv( - algorithm: CipherCCMTypes, - key: CipherKey, - iv: BinaryLike | null, - options: CipherCCMOptions, - ): DecipherCCM; - function createDecipheriv( - algorithm: CipherGCMTypes, - key: CipherKey, - iv: BinaryLike | null, - options?: CipherGCMOptions, - ): DecipherGCM; - function createDecipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher; - - class Decipher extends stream.Transform { - private constructor(); - update(data: NodeJS.ArrayBufferView): Buffer; - update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer; - update(data: NodeJS.ArrayBufferView, input_encoding: HexBase64BinaryEncoding | undefined, output_encoding: Utf8AsciiBinaryEncoding): string; - update(data: string, input_encoding: HexBase64BinaryEncoding | undefined, output_encoding: Utf8AsciiBinaryEncoding): string; - final(): Buffer; - final(output_encoding: BufferEncoding): string; - setAutoPadding(auto_padding?: boolean): this; - // setAuthTag(tag: NodeJS.ArrayBufferView): this; - // setAAD(buffer: NodeJS.ArrayBufferView): this; - } - interface DecipherCCM extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD(buffer: NodeJS.ArrayBufferView, options: { plaintextLength: number }): this; - } - interface DecipherGCM extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD(buffer: NodeJS.ArrayBufferView, options?: { plaintextLength: number }): this; - } - - interface PrivateKeyInput { - key: string | Buffer; - format?: KeyFormat; - type?: 'pkcs1' | 'pkcs8' | 'sec1'; - passphrase?: string | Buffer; - } - - interface PublicKeyInput { - key: string | Buffer; - format?: KeyFormat; - type?: 'pkcs1' | 'spki'; - } - - function createPrivateKey(key: PrivateKeyInput | string | Buffer): KeyObject; - function createPublicKey(key: PublicKeyInput | string | Buffer | KeyObject): KeyObject; - function createSecretKey(key: Buffer): KeyObject; - - function createSign(algorithm: string, options?: stream.WritableOptions): Signer; - - interface SigningOptions { - /** - * @See crypto.constants.RSA_PKCS1_PADDING - */ - padding?: number; - saltLength?: number; - } - - interface SignPrivateKeyInput extends PrivateKeyInput, SigningOptions { - } - - type KeyLike = string | Buffer | KeyObject; - - class Signer extends stream.Writable { - private constructor(); - - update(data: BinaryLike): Signer; - update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Signer; - sign(private_key: SignPrivateKeyInput | KeyLike): Buffer; - sign(private_key: SignPrivateKeyInput | KeyLike, output_format: HexBase64Latin1Encoding): string; - } - - function createVerify(algorithm: string, options?: stream.WritableOptions): Verify; - class Verify extends stream.Writable { - private constructor(); - - update(data: BinaryLike): Verify; - update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Verify; - verify(object: object | KeyLike, signature: NodeJS.ArrayBufferView): boolean; - verify(object: object | KeyLike, signature: string, signature_format?: HexBase64Latin1Encoding): boolean; - // https://nodejs.org/api/crypto.html#crypto_verifier_verify_object_signature_signature_format - // The signature field accepts a TypedArray type, but it is only available starting ES2017 - } - function createDiffieHellman(prime_length: number, generator?: number | NodeJS.ArrayBufferView): DiffieHellman; - function createDiffieHellman(prime: NodeJS.ArrayBufferView): DiffieHellman; - function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding): DiffieHellman; - function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: number | NodeJS.ArrayBufferView): DiffieHellman; - function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: string, generator_encoding: HexBase64Latin1Encoding): DiffieHellman; - class DiffieHellman { - private constructor(); - generateKeys(): Buffer; - generateKeys(encoding: HexBase64Latin1Encoding): string; - computeSecret(other_public_key: NodeJS.ArrayBufferView): Buffer; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer; - computeSecret(other_public_key: NodeJS.ArrayBufferView, output_encoding: HexBase64Latin1Encoding): string; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string; - getPrime(): Buffer; - getPrime(encoding: HexBase64Latin1Encoding): string; - getGenerator(): Buffer; - getGenerator(encoding: HexBase64Latin1Encoding): string; - getPublicKey(): Buffer; - getPublicKey(encoding: HexBase64Latin1Encoding): string; - getPrivateKey(): Buffer; - getPrivateKey(encoding: HexBase64Latin1Encoding): string; - setPublicKey(public_key: NodeJS.ArrayBufferView): void; - setPublicKey(public_key: string, encoding: BufferEncoding): void; - setPrivateKey(private_key: NodeJS.ArrayBufferView): void; - setPrivateKey(private_key: string, encoding: BufferEncoding): void; - verifyError: number; - } - function getDiffieHellman(group_name: string): DiffieHellman; - function pbkdf2( - password: BinaryLike, - salt: BinaryLike, - iterations: number, - keylen: number, - digest: string, - callback: (err: Error | null, derivedKey: Buffer) => any, - ): void; - function pbkdf2Sync(password: BinaryLike, salt: BinaryLike, iterations: number, keylen: number, digest: string): Buffer; - - function randomBytes(size: number): Buffer; - function randomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; - function pseudoRandomBytes(size: number): Buffer; - function pseudoRandomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; - - function randomFillSync(buffer: T, offset?: number, size?: number): T; - function randomFill(buffer: T, callback: (err: Error | null, buf: T) => void): void; - function randomFill(buffer: T, offset: number, callback: (err: Error | null, buf: T) => void): void; - function randomFill(buffer: T, offset: number, size: number, callback: (err: Error | null, buf: T) => void): void; - - interface ScryptOptions { - N?: number; - r?: number; - p?: number; - maxmem?: number; - } - function scrypt( - password: BinaryLike, - salt: BinaryLike, - keylen: number, callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - function scrypt( - password: BinaryLike, - salt: BinaryLike, - keylen: number, - options: ScryptOptions, - callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer; - - interface RsaPublicKey { - key: KeyLike; - padding?: number; - } - interface RsaPrivateKey { - key: KeyLike; - passphrase?: string; - /** - * @default 'sha1' - */ - oaepHash?: string; - oaepLabel?: NodeJS.TypedArray; - padding?: number; - } - function publicEncrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - function publicDecrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - function privateDecrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - function privateEncrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - function getCiphers(): string[]; - function getCurves(): string[]; - function getHashes(): string[]; - class ECDH { - private constructor(); - static convertKey( - key: BinaryLike, - curve: string, - inputEncoding?: HexBase64Latin1Encoding, - outputEncoding?: "latin1" | "hex" | "base64", - format?: "uncompressed" | "compressed" | "hybrid", - ): Buffer | string; - generateKeys(): Buffer; - generateKeys(encoding: HexBase64Latin1Encoding, format?: ECDHKeyFormat): string; - computeSecret(other_public_key: NodeJS.ArrayBufferView): Buffer; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer; - computeSecret(other_public_key: NodeJS.ArrayBufferView, output_encoding: HexBase64Latin1Encoding): string; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string; - getPrivateKey(): Buffer; - getPrivateKey(encoding: HexBase64Latin1Encoding): string; - getPublicKey(): Buffer; - getPublicKey(encoding: HexBase64Latin1Encoding, format?: ECDHKeyFormat): string; - setPrivateKey(private_key: NodeJS.ArrayBufferView): void; - setPrivateKey(private_key: string, encoding: HexBase64Latin1Encoding): void; - } - function createECDH(curve_name: string): ECDH; - function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean; - /** @deprecated since v10.0.0 */ - const DEFAULT_ENCODING: BufferEncoding; - - type KeyType = 'rsa' | 'dsa' | 'ec'; - type KeyFormat = 'pem' | 'der'; - - interface BasePrivateKeyEncodingOptions { - format: T; - cipher?: string; - passphrase?: string; - } - - interface KeyPairKeyObjectResult { - publicKey: KeyObject; - privateKey: KeyObject; - } - - interface ECKeyPairKeyObjectOptions { - /** - * Name of the curve to use. - */ - namedCurve: string; - } - - interface RSAKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - - /** - * @default 0x10001 - */ - publicExponent?: number; - } - - interface DSAKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - - /** - * Size of q in bits - */ - divisorLength: number; - } - - interface RSAKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * @default 0x10001 - */ - publicExponent?: number; - - publicKeyEncoding: { - type: 'pkcs1' | 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'pkcs1' | 'pkcs8'; - }; - } - - interface DSAKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Size of q in bits - */ - divisorLength: number; - - publicKeyEncoding: { - type: 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'pkcs8'; - }; - } - - interface ECKeyPairOptions { - /** - * Name of the curve to use. - */ - namedCurve: string; - - publicKeyEncoding: { - type: 'pkcs1' | 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'sec1' | 'pkcs8'; - }; - } - - interface KeyPairSyncResult { - publicKey: T1; - privateKey: T2; - } - - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ec', options: ECKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'rsa', options: RSAKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'dsa', options: DSAKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'ec', options: ECKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - namespace generateKeyPair { - function __promisify__(type: "rsa", options: RSAKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "rsa", options: RSAKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "rsa", options: RSAKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "rsa", options: RSAKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "rsa", options: RSAKeyPairKeyObjectOptions): Promise; - - function __promisify__(type: "dsa", options: DSAKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "dsa", options: DSAKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "dsa", options: DSAKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "dsa", options: DSAKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "dsa", options: DSAKeyPairKeyObjectOptions): Promise; - - function __promisify__(type: "ec", options: ECKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "ec", options: ECKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "ec", options: ECKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "ec", options: ECKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "ec", options: ECKeyPairKeyObjectOptions): Promise; - } - - /** - * Calculates and returns the signature for `data` using the given private key and - * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is - * dependent upon the key type (especially Ed25519 and Ed448). - * - * If `key` is not a [`KeyObject`][], this function behaves as if `key` had been - * passed to [`crypto.createPrivateKey()`][]. - */ - function sign(algorithm: string | null | undefined, data: NodeJS.ArrayBufferView, key: KeyLike | SignPrivateKeyInput): Buffer; - - interface VerifyKeyWithOptions extends KeyObject, SigningOptions { - } - - /** - * Calculates and returns the signature for `data` using the given private key and - * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is - * dependent upon the key type (especially Ed25519 and Ed448). - * - * If `key` is not a [`KeyObject`][], this function behaves as if `key` had been - * passed to [`crypto.createPublicKey()`][]. - */ - function verify(algorithm: string | null | undefined, data: NodeJS.ArrayBufferView, key: KeyLike | VerifyKeyWithOptions, signature: NodeJS.ArrayBufferView): boolean; -} diff --git a/node_modules/@types/node/dgram.d.ts b/node_modules/@types/node/dgram.d.ts deleted file mode 100644 index 91fb0cbc3b..0000000000 --- a/node_modules/@types/node/dgram.d.ts +++ /dev/null @@ -1,141 +0,0 @@ -declare module "dgram" { - import { AddressInfo } from "net"; - import * as dns from "dns"; - import * as events from "events"; - - interface RemoteInfo { - address: string; - family: 'IPv4' | 'IPv6'; - port: number; - size: number; - } - - interface BindOptions { - port?: number; - address?: string; - exclusive?: boolean; - fd?: number; - } - - type SocketType = "udp4" | "udp6"; - - interface SocketOptions { - type: SocketType; - reuseAddr?: boolean; - /** - * @default false - */ - ipv6Only?: boolean; - recvBufferSize?: number; - sendBufferSize?: number; - lookup?: (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void; - } - - function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - - class Socket extends events.EventEmitter { - addMembership(multicastAddress: string, multicastInterface?: string): void; - address(): AddressInfo; - bind(port?: number, address?: string, callback?: () => void): void; - bind(port?: number, callback?: () => void): void; - bind(callback?: () => void): void; - bind(options: BindOptions, callback?: () => void): void; - close(callback?: () => void): void; - connect(port: number, address?: string, callback?: () => void): void; - connect(port: number, callback: () => void): void; - disconnect(): void; - dropMembership(multicastAddress: string, multicastInterface?: string): void; - getRecvBufferSize(): number; - getSendBufferSize(): number; - ref(): this; - remoteAddress(): AddressInfo; - send(msg: string | Uint8Array | any[], port?: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array | any[], port?: number, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array | any[], callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array, offset: number, length: number, port?: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array, offset: number, length: number, port?: number, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array, offset: number, length: number, callback?: (error: Error | null, bytes: number) => void): void; - setBroadcast(flag: boolean): void; - setMulticastInterface(multicastInterface: string): void; - setMulticastLoopback(flag: boolean): void; - setMulticastTTL(ttl: number): void; - setRecvBufferSize(size: number): void; - setSendBufferSize(size: number): void; - setTTL(ttl: number): void; - unref(): this; - /** - * Tells the kernel to join a source-specific multicast channel at the given - * `sourceAddress` and `groupAddress`, using the `multicastInterface` with the - * `IP_ADD_SOURCE_MEMBERSHIP` socket option. - * If the `multicastInterface` argument - * is not specified, the operating system will choose one interface and will add - * membership to it. - * To add membership to every available interface, call - * `socket.addSourceSpecificMembership()` multiple times, once per interface. - */ - addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; - - /** - * Instructs the kernel to leave a source-specific multicast channel at the given - * `sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP` - * socket option. This method is automatically called by the kernel when the - * socket is closed or the process terminates, so most apps will never have - * reason to call this. - * - * If `multicastInterface` is not specified, the operating system will attempt to - * drop membership on all valid interfaces. - */ - dropSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; - - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. error - * 4. listening - * 5. message - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connect"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit(event: "message", msg: Buffer, rinfo: RemoteInfo): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connect", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connect", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - } -} diff --git a/node_modules/@types/node/dns.d.ts b/node_modules/@types/node/dns.d.ts deleted file mode 100644 index 8ce8864445..0000000000 --- a/node_modules/@types/node/dns.d.ts +++ /dev/null @@ -1,371 +0,0 @@ -declare module "dns" { - // Supported getaddrinfo flags. - const ADDRCONFIG: number; - const V4MAPPED: number; - /** - * If `dns.V4MAPPED` is specified, return resolved IPv6 addresses as - * well as IPv4 mapped IPv6 addresses. - */ - const ALL: number; - - interface LookupOptions { - family?: number; - hints?: number; - all?: boolean; - verbatim?: boolean; - } - - interface LookupOneOptions extends LookupOptions { - all?: false; - } - - interface LookupAllOptions extends LookupOptions { - all: true; - } - - interface LookupAddress { - address: string; - family: number; - } - - function lookup(hostname: string, family: number, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; - function lookup(hostname: string, options: LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; - function lookup(hostname: string, options: LookupAllOptions, callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void): void; - function lookup(hostname: string, options: LookupOptions, callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void): void; - function lookup(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace lookup { - function __promisify__(hostname: string, options: LookupAllOptions): Promise; - function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise; - function __promisify__(hostname: string, options: LookupOptions): Promise; - } - - function lookupService(address: string, port: number, callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void): void; - - namespace lookupService { - function __promisify__(address: string, port: number): Promise<{ hostname: string, service: string }>; - } - - interface ResolveOptions { - ttl: boolean; - } - - interface ResolveWithTtlOptions extends ResolveOptions { - ttl: true; - } - - interface RecordWithTtl { - address: string; - ttl: number; - } - - /** @deprecated Use `AnyARecord` or `AnyAaaaRecord` instead. */ - type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord; - - interface AnyARecord extends RecordWithTtl { - type: "A"; - } - - interface AnyAaaaRecord extends RecordWithTtl { - type: "AAAA"; - } - - interface MxRecord { - priority: number; - exchange: string; - } - - interface AnyMxRecord extends MxRecord { - type: "MX"; - } - - interface NaptrRecord { - flags: string; - service: string; - regexp: string; - replacement: string; - order: number; - preference: number; - } - - interface AnyNaptrRecord extends NaptrRecord { - type: "NAPTR"; - } - - interface SoaRecord { - nsname: string; - hostmaster: string; - serial: number; - refresh: number; - retry: number; - expire: number; - minttl: number; - } - - interface AnySoaRecord extends SoaRecord { - type: "SOA"; - } - - interface SrvRecord { - priority: number; - weight: number; - port: number; - name: string; - } - - interface AnySrvRecord extends SrvRecord { - type: "SRV"; - } - - interface AnyTxtRecord { - type: "TXT"; - entries: string[]; - } - - interface AnyNsRecord { - type: "NS"; - value: string; - } - - interface AnyPtrRecord { - type: "PTR"; - value: string; - } - - interface AnyCnameRecord { - type: "CNAME"; - value: string; - } - - type AnyRecord = AnyARecord | - AnyAaaaRecord | - AnyCnameRecord | - AnyMxRecord | - AnyNaptrRecord | - AnyNsRecord | - AnyPtrRecord | - AnySoaRecord | - AnySrvRecord | - AnyTxtRecord; - - function resolve(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "A", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "AAAA", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "ANY", callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void; - function resolve(hostname: string, rrtype: "CNAME", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "MX", callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void; - function resolve(hostname: string, rrtype: "NAPTR", callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void; - function resolve(hostname: string, rrtype: "NS", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "PTR", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "SOA", callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void): void; - function resolve(hostname: string, rrtype: "SRV", callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void; - function resolve(hostname: string, rrtype: "TXT", callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void; - function resolve( - hostname: string, - rrtype: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]) => void, - ): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace resolve { - function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise; - function __promisify__(hostname: string, rrtype: "ANY"): Promise; - function __promisify__(hostname: string, rrtype: "MX"): Promise; - function __promisify__(hostname: string, rrtype: "NAPTR"): Promise; - function __promisify__(hostname: string, rrtype: "SOA"): Promise; - function __promisify__(hostname: string, rrtype: "SRV"): Promise; - function __promisify__(hostname: string, rrtype: "TXT"): Promise; - function __promisify__(hostname: string, rrtype: string): Promise; - } - - function resolve4(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve4(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void; - function resolve4(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace resolve4 { - function __promisify__(hostname: string): Promise; - function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; - function __promisify__(hostname: string, options?: ResolveOptions): Promise; - } - - function resolve6(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve6(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void; - function resolve6(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace resolve6 { - function __promisify__(hostname: string): Promise; - function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; - function __promisify__(hostname: string, options?: ResolveOptions): Promise; - } - - function resolveCname(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - namespace resolveCname { - function __promisify__(hostname: string): Promise; - } - - function resolveMx(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void; - namespace resolveMx { - function __promisify__(hostname: string): Promise; - } - - function resolveNaptr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void; - namespace resolveNaptr { - function __promisify__(hostname: string): Promise; - } - - function resolveNs(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - namespace resolveNs { - function __promisify__(hostname: string): Promise; - } - - function resolvePtr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - namespace resolvePtr { - function __promisify__(hostname: string): Promise; - } - - function resolveSoa(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void): void; - namespace resolveSoa { - function __promisify__(hostname: string): Promise; - } - - function resolveSrv(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void; - namespace resolveSrv { - function __promisify__(hostname: string): Promise; - } - - function resolveTxt(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void; - namespace resolveTxt { - function __promisify__(hostname: string): Promise; - } - - function resolveAny(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void; - namespace resolveAny { - function __promisify__(hostname: string): Promise; - } - - function reverse(ip: string, callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void): void; - function setServers(servers: ReadonlyArray): void; - function getServers(): string[]; - - // Error codes - const NODATA: string; - const FORMERR: string; - const SERVFAIL: string; - const NOTFOUND: string; - const NOTIMP: string; - const REFUSED: string; - const BADQUERY: string; - const BADNAME: string; - const BADFAMILY: string; - const BADRESP: string; - const CONNREFUSED: string; - const TIMEOUT: string; - const EOF: string; - const FILE: string; - const NOMEM: string; - const DESTRUCTION: string; - const BADSTR: string; - const BADFLAGS: string; - const NONAME: string; - const BADHINTS: string; - const NOTINITIALIZED: string; - const LOADIPHLPAPI: string; - const ADDRGETNETWORKPARAMS: string; - const CANCELLED: string; - - class Resolver { - getServers: typeof getServers; - setServers: typeof setServers; - resolve: typeof resolve; - resolve4: typeof resolve4; - resolve6: typeof resolve6; - resolveAny: typeof resolveAny; - resolveCname: typeof resolveCname; - resolveMx: typeof resolveMx; - resolveNaptr: typeof resolveNaptr; - resolveNs: typeof resolveNs; - resolvePtr: typeof resolvePtr; - resolveSoa: typeof resolveSoa; - resolveSrv: typeof resolveSrv; - resolveTxt: typeof resolveTxt; - reverse: typeof reverse; - cancel(): void; - } - - namespace promises { - function getServers(): string[]; - - function lookup(hostname: string, family: number): Promise; - function lookup(hostname: string, options: LookupOneOptions): Promise; - function lookup(hostname: string, options: LookupAllOptions): Promise; - function lookup(hostname: string, options: LookupOptions): Promise; - function lookup(hostname: string): Promise; - - function lookupService(address: string, port: number): Promise<{ hostname: string, service: string }>; - - function resolve(hostname: string): Promise; - function resolve(hostname: string, rrtype: "A"): Promise; - function resolve(hostname: string, rrtype: "AAAA"): Promise; - function resolve(hostname: string, rrtype: "ANY"): Promise; - function resolve(hostname: string, rrtype: "CNAME"): Promise; - function resolve(hostname: string, rrtype: "MX"): Promise; - function resolve(hostname: string, rrtype: "NAPTR"): Promise; - function resolve(hostname: string, rrtype: "NS"): Promise; - function resolve(hostname: string, rrtype: "PTR"): Promise; - function resolve(hostname: string, rrtype: "SOA"): Promise; - function resolve(hostname: string, rrtype: "SRV"): Promise; - function resolve(hostname: string, rrtype: "TXT"): Promise; - function resolve(hostname: string, rrtype: string): Promise; - - function resolve4(hostname: string): Promise; - function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise; - function resolve4(hostname: string, options: ResolveOptions): Promise; - - function resolve6(hostname: string): Promise; - function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise; - function resolve6(hostname: string, options: ResolveOptions): Promise; - - function resolveAny(hostname: string): Promise; - - function resolveCname(hostname: string): Promise; - - function resolveMx(hostname: string): Promise; - - function resolveNaptr(hostname: string): Promise; - - function resolveNs(hostname: string): Promise; - - function resolvePtr(hostname: string): Promise; - - function resolveSoa(hostname: string): Promise; - - function resolveSrv(hostname: string): Promise; - - function resolveTxt(hostname: string): Promise; - - function reverse(ip: string): Promise; - - function setServers(servers: ReadonlyArray): void; - - class Resolver { - getServers: typeof getServers; - resolve: typeof resolve; - resolve4: typeof resolve4; - resolve6: typeof resolve6; - resolveAny: typeof resolveAny; - resolveCname: typeof resolveCname; - resolveMx: typeof resolveMx; - resolveNaptr: typeof resolveNaptr; - resolveNs: typeof resolveNs; - resolvePtr: typeof resolvePtr; - resolveSoa: typeof resolveSoa; - resolveSrv: typeof resolveSrv; - resolveTxt: typeof resolveTxt; - reverse: typeof reverse; - setServers: typeof setServers; - } - } -} diff --git a/node_modules/@types/node/domain.d.ts b/node_modules/@types/node/domain.d.ts deleted file mode 100644 index 63dcc9b039..0000000000 --- a/node_modules/@types/node/domain.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare module "domain" { - import { EventEmitter } from "events"; - - global { - namespace NodeJS { - interface Domain extends EventEmitter { - run(fn: (...args: any[]) => T, ...args: any[]): T; - add(emitter: EventEmitter | Timer): void; - remove(emitter: EventEmitter | Timer): void; - bind(cb: T): T; - intercept(cb: T): T; - } - } - } - - interface Domain extends NodeJS.Domain {} - class Domain extends EventEmitter { - members: Array; - enter(): void; - exit(): void; - } - - function create(): Domain; -} diff --git a/node_modules/@types/node/events.d.ts b/node_modules/@types/node/events.d.ts deleted file mode 100644 index a55b7b5157..0000000000 --- a/node_modules/@types/node/events.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare module "events" { - interface EventEmitterOptions { - /** - * Enables automatic capturing of promise rejection. - */ - captureRejections?: boolean; - } - - interface NodeEventTarget { - once(event: string | symbol, listener: (...args: any[]) => void): this; - } - - interface DOMEventTarget { - addEventListener(event: string, listener: (...args: any[]) => void, opts?: { once: boolean }): any; - } - - namespace EventEmitter { - function once(emitter: NodeEventTarget, event: string | symbol): Promise; - function once(emitter: DOMEventTarget, event: string): Promise; - function on(emitter: EventEmitter, event: string): AsyncIterableIterator; - const captureRejectionSymbol: unique symbol; - - /** - * This symbol shall be used to install a listener for only monitoring `'error'` - * events. Listeners installed using this symbol are called before the regular - * `'error'` listeners are called. - * - * Installing a listener using this symbol does not change the behavior once an - * `'error'` event is emitted, therefore the process will still crash if no - * regular `'error'` listener is installed. - */ - const errorMonitor: unique symbol; - /** - * Sets or gets the default captureRejection value for all emitters. - */ - let captureRejections: boolean; - - interface EventEmitter extends NodeJS.EventEmitter { - } - - class EventEmitter { - constructor(options?: EventEmitterOptions); - /** @deprecated since v4.0.0 */ - static listenerCount(emitter: EventEmitter, event: string | symbol): number; - static defaultMaxListeners: number; - /** - * This symbol shall be used to install a listener for only monitoring `'error'` - * events. Listeners installed using this symbol are called before the regular - * `'error'` listeners are called. - * - * Installing a listener using this symbol does not change the behavior once an - * `'error'` event is emitted, therefore the process will still crash if no - * regular `'error'` listener is installed. - */ - static readonly errorMonitor: unique symbol; - } - } - - global { - namespace NodeJS { - interface EventEmitter { - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - off(event: string | symbol, listener: (...args: any[]) => void): this; - removeAllListeners(event?: string | symbol): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string | symbol): Function[]; - rawListeners(event: string | symbol): Function[]; - emit(event: string | symbol, ...args: any[]): boolean; - listenerCount(type: string | symbol): number; - // Added in Node 6... - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - eventNames(): Array; - } - } - } - - export = EventEmitter; -} diff --git a/node_modules/@types/node/fs.d.ts b/node_modules/@types/node/fs.d.ts deleted file mode 100644 index d4849bf43b..0000000000 --- a/node_modules/@types/node/fs.d.ts +++ /dev/null @@ -1,2132 +0,0 @@ -declare module "fs" { - import * as stream from "stream"; - import * as events from "events"; - import { URL } from "url"; - import * as promises from 'fs/promises'; - - export { promises }; - /** - * Valid types for path values in "fs". - */ - export type PathLike = string | Buffer | URL; - - export type NoParamCallback = (err: NodeJS.ErrnoException | null) => void; - - export type BufferEncodingOption = 'buffer' | { encoding: 'buffer' }; - - export interface BaseEncodingOptions { - encoding?: BufferEncoding | null; - } - - export type OpenMode = number | string; - - export type Mode = number | string; - - export interface StatsBase { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - - dev: T; - ino: T; - mode: T; - nlink: T; - uid: T; - gid: T; - rdev: T; - size: T; - blksize: T; - blocks: T; - atimeMs: T; - mtimeMs: T; - ctimeMs: T; - birthtimeMs: T; - atime: Date; - mtime: Date; - ctime: Date; - birthtime: Date; - } - - export interface Stats extends StatsBase { - } - - export class Stats { - } - - export class Dirent { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - name: string; - } - - /** - * A class representing a directory stream. - */ - export class Dir { - readonly path: string; - - /** - * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read. - */ - [Symbol.asyncIterator](): AsyncIterableIterator; - - /** - * Asynchronously close the directory's underlying resource handle. - * Subsequent reads will result in errors. - */ - close(): Promise; - close(cb: NoParamCallback): void; - - /** - * Synchronously close the directory's underlying resource handle. - * Subsequent reads will result in errors. - */ - closeSync(): void; - - /** - * Asynchronously read the next directory entry via `readdir(3)` as an `Dirent`. - * After the read is completed, a value is returned that will be resolved with an `Dirent`, or `null` if there are no more directory entries to read. - * Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms. - */ - read(): Promise; - read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void; - - /** - * Synchronously read the next directory entry via `readdir(3)` as a `Dirent`. - * If there are no more directory entries to read, null will be returned. - * Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms. - */ - readSync(): Dirent; - } - - export interface FSWatcher extends events.EventEmitter { - close(): void; - - /** - * events.EventEmitter - * 1. change - * 2. error - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "close", listener: () => void): this; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "close", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "close", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "close", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - } - - export class ReadStream extends stream.Readable { - close(): void; - bytesRead: number; - path: string | Buffer; - pending: boolean; - - /** - * events.EventEmitter - * 1. open - * 2. close - * 3. ready - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "ready", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "ready", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export class WriteStream extends stream.Writable { - close(): void; - bytesWritten: number; - path: string | Buffer; - pending: boolean; - - /** - * events.EventEmitter - * 1. open - * 2. close - * 3. ready - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "ready", listener: () => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "ready", listener: () => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - /** - * Asynchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace rename { - /** - * Asynchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(oldPath: PathLike, newPath: PathLike): Promise; - } - - /** - * Synchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function renameSync(oldPath: PathLike, newPath: PathLike): void; - - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void; - - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function truncate(path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace truncate { - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - function __promisify__(path: PathLike, len?: number | null): Promise; - } - - /** - * Synchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - export function truncateSync(path: PathLike, len?: number | null): void; - - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - * @param len If not specified, defaults to `0`. - */ - export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void; - - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - */ - export function ftruncate(fd: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace ftruncate { - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - * @param len If not specified, defaults to `0`. - */ - function __promisify__(fd: number, len?: number | null): Promise; - } - - /** - * Synchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - * @param len If not specified, defaults to `0`. - */ - export function ftruncateSync(fd: number, len?: number | null): void; - - /** - * Asynchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace chown { - /** - * Asynchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, uid: number, gid: number): Promise; - } - - /** - * Synchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function chownSync(path: PathLike, uid: number, gid: number): void; - - /** - * Asynchronous fchown(2) - Change ownership of a file. - * @param fd A file descriptor. - */ - export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fchown { - /** - * Asynchronous fchown(2) - Change ownership of a file. - * @param fd A file descriptor. - */ - function __promisify__(fd: number, uid: number, gid: number): Promise; - } - - /** - * Synchronous fchown(2) - Change ownership of a file. - * @param fd A file descriptor. - */ - export function fchownSync(fd: number, uid: number, gid: number): void; - - /** - * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace lchown { - /** - * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, uid: number, gid: number): Promise; - } - - /** - * Synchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function lchownSync(path: PathLike, uid: number, gid: number): void; - - /** - * Asynchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace chmod { - /** - * Asynchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(path: PathLike, mode: Mode): Promise; - } - - /** - * Synchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function chmodSync(path: PathLike, mode: Mode): void; - - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param fd A file descriptor. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fchmod { - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param fd A file descriptor. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(fd: number, mode: Mode): Promise; - } - - /** - * Synchronous fchmod(2) - Change permissions of a file. - * @param fd A file descriptor. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function fchmodSync(fd: number, mode: Mode): void; - - /** - * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace lchmod { - /** - * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(path: PathLike, mode: Mode): Promise; - } - - /** - * Synchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function lchmodSync(path: PathLike, mode: Mode): void; - - /** - * Asynchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace stat { - /** - * Asynchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike): Promise; - } - - /** - * Synchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function statSync(path: PathLike): Stats; - - /** - * Asynchronous fstat(2) - Get file status. - * @param fd A file descriptor. - */ - export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fstat { - /** - * Asynchronous fstat(2) - Get file status. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - - /** - * Synchronous fstat(2) - Get file status. - * @param fd A file descriptor. - */ - export function fstatSync(fd: number): Stats; - - /** - * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace lstat { - /** - * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike): Promise; - } - - /** - * Synchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function lstatSync(path: PathLike): Stats; - - /** - * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace link { - /** - * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(existingPath: PathLike, newPath: PathLike): Promise; - } - - /** - * Synchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function linkSync(existingPath: PathLike, newPath: PathLike): void; - - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - export function symlink(target: PathLike, path: PathLike, type: symlink.Type | undefined | null, callback: NoParamCallback): void; - - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - */ - export function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace symlink { - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise; - - type Type = "dir" | "file" | "junction"; - } - - /** - * Synchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink( - path: PathLike, - options: BaseEncodingOptions | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, linkString: string) => void - ): void; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void): void; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink(path: PathLike, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void): void; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function readlink(path: PathLike, callback: (err: NodeJS.ErrnoException | null, linkString: string) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace readlink { - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions | string | null): Promise; - } - - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; - - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer; - - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath( - path: PathLike, - options: BaseEncodingOptions | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void - ): void; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath(path: PathLike, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void): void; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function realpath(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace realpath { - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions | string | null): Promise; - - function native( - path: PathLike, - options: BaseEncodingOptions | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void - ): void; - function native(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; - function native(path: PathLike, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void): void; - function native(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void; - } - - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; - - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer; - - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; - - export namespace realpathSync { - function native(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; - function native(path: PathLike, options: BufferEncodingOption): Buffer; - function native(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; - } - - /** - * Asynchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function unlink(path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace unlink { - /** - * Asynchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike): Promise; - } - - /** - * Synchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function unlinkSync(path: PathLike): void; - - export interface RmDirOptions { - /** - * If `true`, perform a recursive directory removal. In - * recursive mode, errors are not reported if `path` does not exist, and - * operations are retried on failure. - * @experimental - * @default false - */ - recursive?: boolean; - } - - export interface RmDirAsyncOptions extends RmDirOptions { - /** - * The amount of time in milliseconds to wait between retries. - * This option is ignored if the `recursive` option is not `true`. - * @default 100 - */ - retryDelay?: number; - /** - * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or - * `EPERM` error is encountered, Node.js will retry the operation with a linear - * backoff wait of `retryDelay` ms longer on each try. This option represents the - * number of retries. This option is ignored if the `recursive` option is not - * `true`. - * @default 0 - */ - maxRetries?: number; - } - - /** - * Asynchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function rmdir(path: PathLike, callback: NoParamCallback): void; - export function rmdir(path: PathLike, options: RmDirAsyncOptions, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace rmdir { - /** - * Asynchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, options?: RmDirAsyncOptions): Promise; - } - - /** - * Synchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function rmdirSync(path: PathLike, options?: RmDirOptions): void; - - export interface MakeDirectoryOptions { - /** - * Indicates whether parent folders should be created. - * If a folder was created, the path to the first created folder will be returned. - * @default false - */ - recursive?: boolean; - /** - * A file mode. If a string is passed, it is parsed as an octal integer. If not specified - * @default 0o777 - */ - mode?: Mode; - } - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true }, callback: (err: NodeJS.ErrnoException | null, path: string) => void): void; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir(path: PathLike, options: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null | undefined, callback: NoParamCallback): void; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir(path: PathLike, options: Mode | MakeDirectoryOptions | null | undefined, callback: (err: NodeJS.ErrnoException | null, path: string | undefined) => void): void; - - /** - * Asynchronous mkdir(2) - create a directory with a mode of `0o777`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function mkdir(path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace mkdir { - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise; - } - - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): string; - - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null): void; - - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp(prefix: string, options: BaseEncodingOptions | BufferEncoding | undefined | null, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp(prefix: string, options: "buffer" | { encoding: "buffer" }, callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void): void; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp(prefix: string, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void): void; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - */ - export function mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace mkdtemp { - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options: BufferEncodingOption): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options?: BaseEncodingOptions | string | null): Promise; - } - - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): string; - - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer; - - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options?: BaseEncodingOptions | string | null): string | Buffer; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir( - path: PathLike, - options: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, - ): void; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false } | "buffer", callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void): void; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir( - path: PathLike, - options: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void, - ): void; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function readdir(path: PathLike, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - export function readdir(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }, callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace readdir { - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: "buffer" | { encoding: "buffer"; withFileTypes?: false }): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent - */ - function __promisify__(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Promise; - } - - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync(path: PathLike, options?: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null): string[]; - - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false } | "buffer"): Buffer[]; - - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): string[] | Buffer[]; - - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - export function readdirSync(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Dirent[]; - - /** - * Asynchronous close(2) - close a file descriptor. - * @param fd A file descriptor. - */ - export function close(fd: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace close { - /** - * Asynchronous close(2) - close a file descriptor. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - - /** - * Synchronous close(2) - close a file descriptor. - * @param fd A file descriptor. - */ - export function closeSync(fd: number): void; - - /** - * Asynchronous open(2) - open and possibly create a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. - */ - export function open(path: PathLike, flags: OpenMode, mode: Mode | undefined | null, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; - - /** - * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function open(path: PathLike, flags: OpenMode, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace open { - /** - * Asynchronous open(2) - open and possibly create a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. - */ - function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise; - } - - /** - * Synchronous open(2) - open and possibly create a file, returning a file descriptor.. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. - */ - export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number; - - /** - * Asynchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace utimes { - /** - * Asynchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise; - } - - /** - * Synchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function utimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void; - - /** - * Asynchronously change file timestamps of the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function futimes(fd: number, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace futimes { - /** - * Asynchronously change file timestamps of the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(fd: number, atime: string | number | Date, mtime: string | number | Date): Promise; - } - - /** - * Synchronously change file timestamps of the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function futimesSync(fd: number, atime: string | number | Date, mtime: string | number | Date): void; - - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param fd A file descriptor. - */ - export function fsync(fd: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fsync { - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - - /** - * Synchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param fd A file descriptor. - */ - export function fsyncSync(fd: number): void; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - length: number | undefined | null, - position: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - length: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void - ): void; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - */ - export function write(fd: number, buffer: TBuffer, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void): void; - - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - export function write( - fd: number, - string: string, - position: number | undefined | null, - encoding: BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, - ): void; - - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - export function write(fd: number, string: string, position: number | undefined | null, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void; - - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - */ - export function write(fd: number, string: string, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace write { - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - function __promisify__( - fd: number, - buffer?: TBuffer, - offset?: number, - length?: number, - position?: number | null, - ): Promise<{ bytesWritten: number, buffer: TBuffer }>; - - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - function __promisify__(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>; - } - - /** - * Synchronously writes `buffer` to the file referenced by the supplied file descriptor, returning the number of bytes written. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - export function writeSync(fd: number, buffer: NodeJS.ArrayBufferView, offset?: number | null, length?: number | null, position?: number | null): number; - - /** - * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - export function writeSync(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): number; - - /** - * Asynchronously reads data from the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - export function read( - fd: number, - buffer: TBuffer, - offset: number, - length: number, - position: number | null, - callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, - ): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace read { - /** - * @param fd A file descriptor. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - function __promisify__( - fd: number, - buffer: TBuffer, - offset: number, - length: number, - position: number | null - ): Promise<{ bytesRead: number, buffer: TBuffer }>; - } - - export interface ReadSyncOptions { - /** - * @default 0 - */ - offset?: number; - /** - * @default `length of buffer` - */ - length?: number; - /** - * @default null - */ - position?: number | null; - } - - /** - * Synchronously reads data from the file referenced by the supplied file descriptor, returning the number of bytes read. - * @param fd A file descriptor. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: number | null): number; - - /** - * Similar to the above `fs.readSync` function, this version takes an optional `options` object. - * If no `options` object is specified, it will default with the above values. - */ - export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile(path: PathLike | number, options: { encoding?: null; flag?: string; } | undefined | null, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | string, callback: (err: NodeJS.ErrnoException | null, data: string) => void): void; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile( - path: PathLike | number, - options: BaseEncodingOptions & { flag?: string; } | string | undefined | null, - callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void, - ): void; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - */ - export function readFile(path: PathLike | number, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace readFile { - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__(path: PathLike | number, options?: { encoding?: null; flag?: string; } | null): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | string): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__(path: PathLike | number, options?: BaseEncodingOptions & { flag?: string; } | string | null): Promise; - } - - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync(path: PathLike | number, options?: { encoding?: null; flag?: string; } | null): Buffer; - - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | BufferEncoding): string; - - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync(path: PathLike | number, options?: BaseEncodingOptions & { flag?: string; } | BufferEncoding | null): string | Buffer; - - export type WriteFileOptions = BaseEncodingOptions & { mode?: Mode; flag?: string; } | string | null; - - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - export function writeFile(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options: WriteFileOptions, callback: NoParamCallback): void; - - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - */ - export function writeFile(path: PathLike | number, data: string | NodeJS.ArrayBufferView, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace writeFile { - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - function __promisify__(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): Promise; - } - - /** - * Synchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - export function writeFileSync(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): void; - - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - export function appendFile(file: PathLike | number, data: string | Uint8Array, options: WriteFileOptions, callback: NoParamCallback): void; - - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - */ - export function appendFile(file: PathLike | number, data: string | Uint8Array, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace appendFile { - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - function __promisify__(file: PathLike | number, data: string | Uint8Array, options?: WriteFileOptions): Promise; - } - - /** - * Synchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - export function appendFileSync(file: PathLike | number, data: string | Uint8Array, options?: WriteFileOptions): void; - - /** - * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. - */ - export function watchFile(filename: PathLike, options: { persistent?: boolean; interval?: number; } | undefined, listener: (curr: Stats, prev: Stats) => void): void; - - /** - * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): void; - - /** - * Stop watching for changes on `filename`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function unwatchFile(filename: PathLike, listener?: (curr: Stats, prev: Stats) => void): void; - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch( - filename: PathLike, - options: { encoding?: BufferEncoding | null, persistent?: boolean, recursive?: boolean } | BufferEncoding | undefined | null, - listener?: (event: string, filename: string) => void, - ): FSWatcher; - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch(filename: PathLike, options: { encoding: "buffer", persistent?: boolean, recursive?: boolean } | "buffer", listener?: (event: string, filename: Buffer) => void): FSWatcher; - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch( - filename: PathLike, - options: { encoding?: BufferEncoding | null, persistent?: boolean, recursive?: boolean } | string | null, - listener?: (event: string, filename: string | Buffer) => void, - ): FSWatcher; - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function watch(filename: PathLike, listener?: (event: string, filename: string) => any): FSWatcher; - - /** - * Asynchronously tests whether or not the given path exists by checking with the file system. - * @deprecated since v1.0.0 Use `fs.stat()` or `fs.access()` instead - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function exists(path: PathLike, callback: (exists: boolean) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace exists { - /** - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(path: PathLike): Promise; - } - - /** - * Synchronously tests whether or not the given path exists by checking with the file system. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function existsSync(path: PathLike): boolean; - - export namespace constants { - // File Access Constants - - /** Constant for fs.access(). File is visible to the calling process. */ - const F_OK: number; - - /** Constant for fs.access(). File can be read by the calling process. */ - const R_OK: number; - - /** Constant for fs.access(). File can be written by the calling process. */ - const W_OK: number; - - /** Constant for fs.access(). File can be executed by the calling process. */ - const X_OK: number; - - // File Copy Constants - - /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */ - const COPYFILE_EXCL: number; - - /** - * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink. - * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used. - */ - const COPYFILE_FICLONE: number; - - /** - * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink. - * If the underlying platform does not support copy-on-write, then the operation will fail with an error. - */ - const COPYFILE_FICLONE_FORCE: number; - - // File Open Constants - - /** Constant for fs.open(). Flag indicating to open a file for read-only access. */ - const O_RDONLY: number; - - /** Constant for fs.open(). Flag indicating to open a file for write-only access. */ - const O_WRONLY: number; - - /** Constant for fs.open(). Flag indicating to open a file for read-write access. */ - const O_RDWR: number; - - /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */ - const O_CREAT: number; - - /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */ - const O_EXCL: number; - - /** - * Constant for fs.open(). Flag indicating that if path identifies a terminal device, - * opening the path shall not cause that terminal to become the controlling terminal for the process - * (if the process does not already have one). - */ - const O_NOCTTY: number; - - /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */ - const O_TRUNC: number; - - /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */ - const O_APPEND: number; - - /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */ - const O_DIRECTORY: number; - - /** - * constant for fs.open(). - * Flag indicating reading accesses to the file system will no longer result in - * an update to the atime information associated with the file. - * This flag is available on Linux operating systems only. - */ - const O_NOATIME: number; - - /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */ - const O_NOFOLLOW: number; - - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ - const O_SYNC: number; - - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */ - const O_DSYNC: number; - - /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ - const O_SYMLINK: number; - - /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */ - const O_DIRECT: number; - - /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */ - const O_NONBLOCK: number; - - // File Type Constants - - /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */ - const S_IFMT: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */ - const S_IFREG: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */ - const S_IFDIR: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */ - const S_IFCHR: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */ - const S_IFBLK: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */ - const S_IFIFO: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */ - const S_IFLNK: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */ - const S_IFSOCK: number; - - // File Mode Constants - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */ - const S_IRWXU: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */ - const S_IRUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */ - const S_IWUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */ - const S_IXUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */ - const S_IRWXG: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */ - const S_IRGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */ - const S_IWGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */ - const S_IXGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */ - const S_IRWXO: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */ - const S_IROTH: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */ - const S_IWOTH: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ - const S_IXOTH: number; - - /** - * When set, a memory file mapping is used to access the file. This flag - * is available on Windows operating systems only. On other operating systems, - * this flag is ignored. - */ - const UV_FS_O_FILEMAP: number; - } - - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void; - - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function access(path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace access { - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(path: PathLike, mode?: number): Promise; - } - - /** - * Synchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function accessSync(path: PathLike, mode?: number): void; - - /** - * Returns a new `ReadStream` object. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function createReadStream(path: PathLike, options?: string | { - flags?: string; - encoding?: BufferEncoding; - fd?: number; - mode?: number; - autoClose?: boolean; - /** - * @default false - */ - emitClose?: boolean; - start?: number; - end?: number; - highWaterMark?: number; - }): ReadStream; - - /** - * Returns a new `WriteStream` object. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function createWriteStream(path: PathLike, options?: string | { - flags?: string; - encoding?: BufferEncoding; - fd?: number; - mode?: number; - autoClose?: boolean; - emitClose?: boolean; - start?: number; - highWaterMark?: number; - }): WriteStream; - - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param fd A file descriptor. - */ - export function fdatasync(fd: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fdatasync { - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - - /** - * Synchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param fd A file descriptor. - */ - export function fdatasyncSync(fd: number): void; - - /** - * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. - * No arguments other than a possible exception are given to the callback function. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - */ - export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void; - /** - * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. - * No arguments other than a possible exception are given to the callback function. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - * @param flags An integer that specifies the behavior of the copy operation. The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists. - */ - export function copyFile(src: PathLike, dest: PathLike, flags: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace copyFile { - /** - * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. - * No arguments other than a possible exception are given to the callback function. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - * @param flags An optional integer that specifies the behavior of the copy operation. - * The only supported flag is fs.constants.COPYFILE_EXCL, - * which causes the copy operation to fail if dest already exists. - */ - function __promisify__(src: PathLike, dst: PathLike, flags?: number): Promise; - } - - /** - * Synchronously copies src to dest. By default, dest is overwritten if it already exists. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - * @param flags An optional integer that specifies the behavior of the copy operation. - * The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists. - */ - export function copyFileSync(src: PathLike, dest: PathLike, flags?: number): void; - - /** - * Write an array of ArrayBufferViews to the file specified by fd using writev(). - * position is the offset from the beginning of the file where this data should be written. - * It is unsafe to use fs.writev() multiple times on the same file without waiting for the callback. For this scenario, use fs.createWriteStream(). - * On Linux, positional writes don't work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to the end of the file. - */ - export function writev( - fd: number, - buffers: NodeJS.ArrayBufferView[], - cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void - ): void; - export function writev( - fd: number, - buffers: NodeJS.ArrayBufferView[], - position: number, - cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void - ): void; - - export interface WriteVResult { - bytesWritten: number; - buffers: NodeJS.ArrayBufferView[]; - } - - export namespace writev { - function __promisify__(fd: number, buffers: NodeJS.ArrayBufferView[], position?: number): Promise; - } - - /** - * See `writev`. - */ - export function writevSync(fd: number, buffers: NodeJS.ArrayBufferView[], position?: number): number; - - export function readv( - fd: number, - buffers: NodeJS.ArrayBufferView[], - cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void - ): void; - export function readv( - fd: number, - buffers: NodeJS.ArrayBufferView[], - position: number, - cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void - ): void; - - export interface ReadVResult { - bytesRead: number; - buffers: NodeJS.ArrayBufferView[]; - } - - export namespace readv { - function __promisify__(fd: number, buffers: NodeJS.ArrayBufferView[], position?: number): Promise; - } - - /** - * See `readv`. - */ - export function readvSync(fd: number, buffers: NodeJS.ArrayBufferView[], position?: number): number; - - export interface OpenDirOptions { - encoding?: BufferEncoding; - /** - * Number of directory entries that are buffered - * internally when reading from the directory. Higher values lead to better - * performance but higher memory usage. - * @default 32 - */ - bufferSize?: number; - } - - export function opendirSync(path: string, options?: OpenDirOptions): Dir; - - export function opendir(path: string, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; - export function opendir(path: string, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; - - export namespace opendir { - function __promisify__(path: string, options?: OpenDirOptions): Promise

; - } -} diff --git a/node_modules/@types/node/fs/promises.d.ts b/node_modules/@types/node/fs/promises.d.ts deleted file mode 100644 index 6585d5fb33..0000000000 --- a/node_modules/@types/node/fs/promises.d.ts +++ /dev/null @@ -1,539 +0,0 @@ -declare module 'fs/promises' { - import { - Stats, - WriteVResult, - ReadVResult, - PathLike, - RmDirAsyncOptions, - MakeDirectoryOptions, - Dirent, - OpenDirOptions, - Dir, - BaseEncodingOptions, - BufferEncodingOption, - OpenMode, - Mode, - } from 'fs'; - - interface FileHandle { - /** - * Gets the file descriptor for this file handle. - */ - readonly fd: number; - - /** - * Asynchronously append data to a file, creating the file if it does not exist. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for appending. - * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - appendFile(data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode, flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * Asynchronous fchown(2) - Change ownership of a file. - */ - chown(uid: number, gid: number): Promise; - - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - chmod(mode: Mode): Promise; - - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - */ - datasync(): Promise; - - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - */ - sync(): Promise; - - /** - * Asynchronously reads data from the file. - * The `FileHandle` must have been opened for reading. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - read(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesRead: number, buffer: TBuffer }>; - - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile(options?: { encoding?: null, flag?: OpenMode } | null): Promise; - - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile(options: { encoding: BufferEncoding, flag?: OpenMode } | BufferEncoding): Promise; - - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile(options?: BaseEncodingOptions & { flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * Asynchronous fstat(2) - Get file status. - */ - stat(): Promise; - - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param len If not specified, defaults to `0`. - */ - truncate(len?: number): Promise; - - /** - * Asynchronously change file timestamps of the file. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - utimes(atime: string | number | Date, mtime: string | number | Date): Promise; - - /** - * Asynchronously writes `buffer` to the file. - * The `FileHandle` must have been opened for writing. - * @param buffer The buffer that the data will be written to. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - write(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>; - - /** - * Asynchronously writes `string` to the file. - * The `FileHandle` must have been opened for writing. - * It is unsafe to call `write()` multiple times on the same file without waiting for the `Promise` - * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - write(data: string | Uint8Array, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>; - - /** - * Asynchronously writes data to a file, replacing the file if it already exists. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for writing. - * It is unsafe to call `writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected). - * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - writeFile(data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode, flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * See `fs.writev` promisified version. - */ - writev(buffers: NodeJS.ArrayBufferView[], position?: number): Promise; - - /** - * See `fs.readv` promisified version. - */ - readv(buffers: NodeJS.ArrayBufferView[], position?: number): Promise; - - /** - * Asynchronous close(2) - close a `FileHandle`. - */ - close(): Promise; - } - - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function access(path: PathLike, mode?: number): Promise; - - /** - * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it already exists. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - * @param flags An optional integer that specifies the behavior of the copy operation. The only - * supported flag is `fs.constants.COPYFILE_EXCL`, which causes the copy operation to fail if - * `dest` already exists. - */ - function copyFile(src: PathLike, dest: PathLike, flags?: number): Promise; - - /** - * Asynchronous open(2) - open and possibly create a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not - * supplied, defaults to `0o666`. - */ - function open(path: PathLike, flags: string | number, mode?: Mode): Promise; - - /** - * Asynchronously reads data from the file referenced by the supplied `FileHandle`. - * @param handle A `FileHandle`. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If - * `null`, data will be read from the current position. - */ - function read( - handle: FileHandle, - buffer: TBuffer, - offset?: number | null, - length?: number | null, - position?: number | null, - ): Promise<{ bytesRead: number, buffer: TBuffer }>; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied `FileHandle`. - * It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise` - * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended. - * @param handle A `FileHandle`. - * @param buffer The buffer that the data will be written to. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - function write( - handle: FileHandle, - buffer: TBuffer, - offset?: number | null, - length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>; - - /** - * Asynchronously writes `string` to the file referenced by the supplied `FileHandle`. - * It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise` - * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended. - * @param handle A `FileHandle`. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - function write(handle: FileHandle, string: string, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>; - - /** - * Asynchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function rename(oldPath: PathLike, newPath: PathLike): Promise; - - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - function truncate(path: PathLike, len?: number): Promise; - - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param handle A `FileHandle`. - * @param len If not specified, defaults to `0`. - */ - function ftruncate(handle: FileHandle, len?: number): Promise; - - /** - * Asynchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function rmdir(path: PathLike, options?: RmDirAsyncOptions): Promise; - - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param handle A `FileHandle`. - */ - function fdatasync(handle: FileHandle): Promise; - - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param handle A `FileHandle`. - */ - function fsync(handle: FileHandle): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false } | "buffer"): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - function readdir(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options: BufferEncodingOption): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options?: BaseEncodingOptions | string | null): Promise; - - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - function symlink(target: PathLike, path: PathLike, type?: string | null): Promise; - - /** - * Asynchronous fstat(2) - Get file status. - * @param handle A `FileHandle`. - */ - function fstat(handle: FileHandle): Promise; - - /** - * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function lstat(path: PathLike): Promise; - - /** - * Asynchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function stat(path: PathLike): Promise; - - /** - * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function link(existingPath: PathLike, newPath: PathLike): Promise; - - /** - * Asynchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function unlink(path: PathLike): Promise; - - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param handle A `FileHandle`. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function fchmod(handle: FileHandle, mode: Mode): Promise; - - /** - * Asynchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function chmod(path: PathLike, mode: Mode): Promise; - - /** - * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function lchmod(path: PathLike, mode: Mode): Promise; - - /** - * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function lchown(path: PathLike, uid: number, gid: number): Promise; - - /** - * Asynchronous fchown(2) - Change ownership of a file. - * @param handle A `FileHandle`. - */ - function fchown(handle: FileHandle, uid: number, gid: number): Promise; - - /** - * Asynchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function chown(path: PathLike, uid: number, gid: number): Promise; - - /** - * Asynchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise; - - /** - * Asynchronously change file timestamps of the file referenced by the supplied `FileHandle`. - * @param handle A `FileHandle`. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function futimes(handle: FileHandle, atime: string | number | Date, mtime: string | number | Date): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath(path: PathLike, options: BufferEncodingOption): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options: BufferEncodingOption): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * It is unsafe to call `fsPromises.writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected). - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - function writeFile(path: PathLike | FileHandle, data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode, flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - function appendFile(path: PathLike | FileHandle, data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode, flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile(path: PathLike | FileHandle, options?: { encoding?: null, flag?: OpenMode } | null): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile(path: PathLike | FileHandle, options: { encoding: BufferEncoding, flag?: OpenMode } | BufferEncoding): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile(path: PathLike | FileHandle, options?: BaseEncodingOptions & { flag?: OpenMode } | BufferEncoding | null): Promise; - - function opendir(path: string, options?: OpenDirOptions): Promise; -} diff --git a/node_modules/@types/node/globals.d.ts b/node_modules/@types/node/globals.d.ts deleted file mode 100644 index f6affb042f..0000000000 --- a/node_modules/@types/node/globals.d.ts +++ /dev/null @@ -1,589 +0,0 @@ -// Declare "static" methods in Error -interface ErrorConstructor { - /** Create .stack property on a target object */ - captureStackTrace(targetObject: object, constructorOpt?: Function): void; - - /** - * Optional override for formatting stack traces - * - * @see https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces - */ - prepareStackTrace?: (err: Error, stackTraces: NodeJS.CallSite[]) => any; - - stackTraceLimit: number; -} - -// Node.js ESNEXT support -interface String { - /** Removes whitespace from the left end of a string. */ - trimLeft(): string; - /** Removes whitespace from the right end of a string. */ - trimRight(): string; -} - -interface ImportMeta { - url: string; -} - -/*-----------------------------------------------* - * * - * GLOBAL * - * * - ------------------------------------------------*/ - -// For backwards compability -interface NodeRequire extends NodeJS.Require {} -interface RequireResolve extends NodeJS.RequireResolve {} -interface NodeModule extends NodeJS.Module {} - -declare var __filename: string; -declare var __dirname: string; - -declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; -declare namespace setTimeout { - function __promisify__(ms: number): Promise; - function __promisify__(ms: number, value: T): Promise; -} -declare function clearTimeout(timeoutId: NodeJS.Timeout): void; -declare function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; -declare function clearInterval(intervalId: NodeJS.Timeout): void; -declare function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; -declare namespace setImmediate { - function __promisify__(): Promise; - function __promisify__(value: T): Promise; -} -declare function clearImmediate(immediateId: NodeJS.Immediate): void; - -declare function queueMicrotask(callback: () => void): void; - -declare var require: NodeRequire; -declare var module: NodeModule; - -// Same as module.exports -declare var exports: any; - -// Buffer class -type BufferEncoding = "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex"; - -/** - * Raw data is stored in instances of the Buffer class. - * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. - * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - */ -declare class Buffer extends Uint8Array { - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - * @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead. - */ - constructor(str: string, encoding?: BufferEncoding); - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - * @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`). - */ - constructor(size: number); - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. - */ - constructor(array: Uint8Array); - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}/{SharedArrayBuffer}. - * - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - * @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead. - */ - constructor(arrayBuffer: ArrayBuffer | SharedArrayBuffer); - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. - */ - constructor(array: any[]); - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - * @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead. - */ - constructor(buffer: Buffer); - /** - * When passed a reference to the .buffer property of a TypedArray instance, - * the newly created Buffer will share the same allocated memory as the TypedArray. - * The optional {byteOffset} and {length} arguments specify a memory range - * within the {arrayBuffer} that will be shared by the Buffer. - * - * @param arrayBuffer The .buffer property of any TypedArray or a new ArrayBuffer() - */ - static from(arrayBuffer: ArrayBuffer | SharedArrayBuffer, byteOffset?: number, length?: number): Buffer; - /** - * Creates a new Buffer using the passed {data} - * @param data data to create a new Buffer - */ - static from(data: number[]): Buffer; - static from(data: Uint8Array): Buffer; - /** - * Creates a new buffer containing the coerced value of an object - * A `TypeError` will be thrown if {obj} has not mentioned methods or is not of other type appropriate for `Buffer.from()` variants. - * @param obj An object supporting `Symbol.toPrimitive` or `valueOf()`. - */ - static from(obj: { valueOf(): string | object } | { [Symbol.toPrimitive](hint: 'string'): string }, byteOffset?: number, length?: number): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - */ - static from(str: string, encoding?: BufferEncoding): Buffer; - /** - * Creates a new Buffer using the passed {data} - * @param values to create a new Buffer - */ - static of(...items: number[]): Buffer; - /** - * Returns true if {obj} is a Buffer - * - * @param obj object to test. - */ - static isBuffer(obj: any): obj is Buffer; - /** - * Returns true if {encoding} is a valid encoding argument. - * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - * - * @param encoding string to test. - */ - static isEncoding(encoding: string): encoding is BufferEncoding; - /** - * Gives the actual byte length of a string. encoding defaults to 'utf8'. - * This is not the same as String.prototype.length since that returns the number of characters in a string. - * - * @param string string to test. - * @param encoding encoding used to evaluate (defaults to 'utf8') - */ - static byteLength( - string: string | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer, - encoding?: BufferEncoding - ): number; - /** - * Returns a buffer which is the result of concatenating all the buffers in the list together. - * - * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. - * If the list has exactly one item, then the first item of the list is returned. - * If the list has more than one item, then a new Buffer is created. - * - * @param list An array of Buffer objects to concatenate - * @param totalLength Total length of the buffers when concatenated. - * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. - */ - static concat(list: Uint8Array[], totalLength?: number): Buffer; - /** - * The same as buf1.compare(buf2). - */ - static compare(buf1: Uint8Array, buf2: Uint8Array): number; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - * @param fill if specified, buffer will be initialized by calling buf.fill(fill). - * If parameter is omitted, buffer will be filled with zeros. - * @param encoding encoding used for call to buf.fill while initalizing - */ - static alloc(size: number, fill?: string | Buffer | number, encoding?: BufferEncoding): Buffer; - /** - * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents - * of the newly created Buffer are unknown and may contain sensitive data. - * - * @param size count of octets to allocate - */ - static allocUnsafe(size: number): Buffer; - /** - * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents - * of the newly created Buffer are unknown and may contain sensitive data. - * - * @param size count of octets to allocate - */ - static allocUnsafeSlow(size: number): Buffer; - /** - * This is the number of bytes used to determine the size of pre-allocated, internal Buffer instances used for pooling. This value may be modified. - */ - static poolSize: number; - - write(string: string, encoding?: BufferEncoding): number; - write(string: string, offset: number, encoding?: BufferEncoding): number; - write(string: string, offset: number, length: number, encoding?: BufferEncoding): number; - toString(encoding?: BufferEncoding, start?: number, end?: number): string; - toJSON(): { type: 'Buffer'; data: number[] }; - equals(otherBuffer: Uint8Array): boolean; - compare( - otherBuffer: Uint8Array, - targetStart?: number, - targetEnd?: number, - sourceStart?: number, - sourceEnd?: number - ): number; - copy(targetBuffer: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - /** - * Returns a new `Buffer` that references **the same memory as the original**, but offset and cropped by the start and end indices. - * - * This method is incompatible with `Uint8Array#slice()`, which returns a copy of the original memory. - * - * @param begin Where the new `Buffer` will start. Default: `0`. - * @param end Where the new `Buffer` will end (not inclusive). Default: `buf.length`. - */ - slice(begin?: number, end?: number): Buffer; - /** - * Returns a new `Buffer` that references **the same memory as the original**, but offset and cropped by the start and end indices. - * - * This method is compatible with `Uint8Array#subarray()`. - * - * @param begin Where the new `Buffer` will start. Default: `0`. - * @param end Where the new `Buffer` will end (not inclusive). Default: `buf.length`. - */ - subarray(begin?: number, end?: number): Buffer; - writeUIntLE(value: number, offset: number, byteLength: number): number; - writeUIntBE(value: number, offset: number, byteLength: number): number; - writeIntLE(value: number, offset: number, byteLength: number): number; - writeIntBE(value: number, offset: number, byteLength: number): number; - readUIntLE(offset: number, byteLength: number): number; - readUIntBE(offset: number, byteLength: number): number; - readIntLE(offset: number, byteLength: number): number; - readIntBE(offset: number, byteLength: number): number; - readUInt8(offset?: number): number; - readUInt16LE(offset?: number): number; - readUInt16BE(offset?: number): number; - readUInt32LE(offset?: number): number; - readUInt32BE(offset?: number): number; - readInt8(offset?: number): number; - readInt16LE(offset?: number): number; - readInt16BE(offset?: number): number; - readInt32LE(offset?: number): number; - readInt32BE(offset?: number): number; - readFloatLE(offset?: number): number; - readFloatBE(offset?: number): number; - readDoubleLE(offset?: number): number; - readDoubleBE(offset?: number): number; - reverse(): this; - swap16(): Buffer; - swap32(): Buffer; - swap64(): Buffer; - writeUInt8(value: number, offset?: number): number; - writeUInt16LE(value: number, offset?: number): number; - writeUInt16BE(value: number, offset?: number): number; - writeUInt32LE(value: number, offset?: number): number; - writeUInt32BE(value: number, offset?: number): number; - writeInt8(value: number, offset?: number): number; - writeInt16LE(value: number, offset?: number): number; - writeInt16BE(value: number, offset?: number): number; - writeInt32LE(value: number, offset?: number): number; - writeInt32BE(value: number, offset?: number): number; - writeFloatLE(value: number, offset?: number): number; - writeFloatBE(value: number, offset?: number): number; - writeDoubleLE(value: number, offset?: number): number; - writeDoubleBE(value: number, offset?: number): number; - - fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this; - - indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; - lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; - entries(): IterableIterator<[number, number]>; - includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean; - keys(): IterableIterator; - values(): IterableIterator; -} - -/*----------------------------------------------* -* * -* GLOBAL INTERFACES * -* * -*-----------------------------------------------*/ -declare namespace NodeJS { - interface InspectOptions { - /** - * If set to `true`, getters are going to be - * inspected as well. If set to `'get'` only getters without setter are going - * to be inspected. If set to `'set'` only getters having a corresponding - * setter are going to be inspected. This might cause side effects depending on - * the getter function. - * @default `false` - */ - getters?: 'get' | 'set' | boolean; - showHidden?: boolean; - /** - * @default 2 - */ - depth?: number | null; - colors?: boolean; - customInspect?: boolean; - showProxy?: boolean; - maxArrayLength?: number | null; - /** - * Specifies the maximum number of characters to - * include when formatting. Set to `null` or `Infinity` to show all elements. - * Set to `0` or negative to show no characters. - * @default Infinity - */ - maxStringLength?: number | null; - breakLength?: number; - /** - * Setting this to `false` causes each object key - * to be displayed on a new line. It will also add new lines to text that is - * longer than `breakLength`. If set to a number, the most `n` inner elements - * are united on a single line as long as all properties fit into - * `breakLength`. Short array elements are also grouped together. Note that no - * text will be reduced below 16 characters, no matter the `breakLength` size. - * For more information, see the example below. - * @default `true` - */ - compact?: boolean | number; - sorted?: boolean | ((a: string, b: string) => number); - } - - interface CallSite { - /** - * Value of "this" - */ - getThis(): any; - - /** - * Type of "this" as a string. - * This is the name of the function stored in the constructor field of - * "this", if available. Otherwise the object's [[Class]] internal - * property. - */ - getTypeName(): string | null; - - /** - * Current function - */ - getFunction(): Function | undefined; - - /** - * Name of the current function, typically its name property. - * If a name property is not available an attempt will be made to try - * to infer a name from the function's context. - */ - getFunctionName(): string | null; - - /** - * Name of the property [of "this" or one of its prototypes] that holds - * the current function - */ - getMethodName(): string | null; - - /** - * Name of the script [if this function was defined in a script] - */ - getFileName(): string | null; - - /** - * Current line number [if this function was defined in a script] - */ - getLineNumber(): number | null; - - /** - * Current column number [if this function was defined in a script] - */ - getColumnNumber(): number | null; - - /** - * A call site object representing the location where eval was called - * [if this function was created using a call to eval] - */ - getEvalOrigin(): string | undefined; - - /** - * Is this a toplevel invocation, that is, is "this" the global object? - */ - isToplevel(): boolean; - - /** - * Does this call take place in code defined by a call to eval? - */ - isEval(): boolean; - - /** - * Is this call in native V8 code? - */ - isNative(): boolean; - - /** - * Is this a constructor call? - */ - isConstructor(): boolean; - } - - interface ErrnoException extends Error { - errno?: number; - code?: string; - path?: string; - syscall?: string; - stack?: string; - } - - interface ReadableStream extends EventEmitter { - readable: boolean; - read(size?: number): string | Buffer; - setEncoding(encoding: BufferEncoding): this; - pause(): this; - resume(): this; - isPaused(): boolean; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: WritableStream): this; - unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; - wrap(oldStream: ReadableStream): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - - interface WritableStream extends EventEmitter { - writable: boolean; - write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; - write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; - end(cb?: () => void): void; - end(data: string | Uint8Array, cb?: () => void): void; - end(str: string, encoding?: BufferEncoding, cb?: () => void): void; - } - - interface ReadWriteStream extends ReadableStream, WritableStream { } - - interface Global { - Array: typeof Array; - ArrayBuffer: typeof ArrayBuffer; - Boolean: typeof Boolean; - Buffer: typeof Buffer; - DataView: typeof DataView; - Date: typeof Date; - Error: typeof Error; - EvalError: typeof EvalError; - Float32Array: typeof Float32Array; - Float64Array: typeof Float64Array; - Function: typeof Function; - Infinity: typeof Infinity; - Int16Array: typeof Int16Array; - Int32Array: typeof Int32Array; - Int8Array: typeof Int8Array; - Intl: typeof Intl; - JSON: typeof JSON; - Map: MapConstructor; - Math: typeof Math; - NaN: typeof NaN; - Number: typeof Number; - Object: typeof Object; - Promise: typeof Promise; - RangeError: typeof RangeError; - ReferenceError: typeof ReferenceError; - RegExp: typeof RegExp; - Set: SetConstructor; - String: typeof String; - Symbol: Function; - SyntaxError: typeof SyntaxError; - TypeError: typeof TypeError; - URIError: typeof URIError; - Uint16Array: typeof Uint16Array; - Uint32Array: typeof Uint32Array; - Uint8Array: typeof Uint8Array; - Uint8ClampedArray: typeof Uint8ClampedArray; - WeakMap: WeakMapConstructor; - WeakSet: WeakSetConstructor; - clearImmediate: (immediateId: Immediate) => void; - clearInterval: (intervalId: Timeout) => void; - clearTimeout: (timeoutId: Timeout) => void; - decodeURI: typeof decodeURI; - decodeURIComponent: typeof decodeURIComponent; - encodeURI: typeof encodeURI; - encodeURIComponent: typeof encodeURIComponent; - escape: (str: string) => string; - eval: typeof eval; - global: Global; - isFinite: typeof isFinite; - isNaN: typeof isNaN; - parseFloat: typeof parseFloat; - parseInt: typeof parseInt; - setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => Immediate; - setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => Timeout; - setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => Timeout; - queueMicrotask: typeof queueMicrotask; - undefined: typeof undefined; - unescape: (str: string) => string; - gc: () => void; - v8debug?: any; - } - - interface RefCounted { - ref(): this; - unref(): this; - } - - // compatibility with older typings - interface Timer extends RefCounted { - hasRef(): boolean; - refresh(): this; - } - - interface Immediate extends RefCounted { - hasRef(): boolean; - _onImmediate: Function; // to distinguish it from the Timeout class - } - - interface Timeout extends Timer { - hasRef(): boolean; - refresh(): this; - } - - type TypedArray = Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array; - type ArrayBufferView = TypedArray | DataView; - - interface Require { - /* tslint:disable-next-line:callable-types */ - (id: string): any; - resolve: RequireResolve; - cache: Dict; - /** - * @deprecated - */ - extensions: RequireExtensions; - main: Module | undefined; - } - - interface RequireResolve { - (id: string, options?: { paths?: string[]; }): string; - paths(request: string): string[] | null; - } - - interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { - '.js': (m: Module, filename: string) => any; - '.json': (m: Module, filename: string) => any; - '.node': (m: Module, filename: string) => any; - } - interface Module { - exports: any; - require: Require; - id: string; - filename: string; - loaded: boolean; - parent: Module | null; - children: Module[]; - /** - * @since 11.14.0 - * - * The directory name of the module. This is usually the same as the path.dirname() of the module.id. - */ - path: string; - paths: string[]; - } - - interface Dict { - [key: string]: T | undefined; - } - - interface ReadOnlyDict { - readonly [key: string]: T | undefined; - } -} diff --git a/node_modules/@types/node/globals.global.d.ts b/node_modules/@types/node/globals.global.d.ts deleted file mode 100644 index 8e854665ac..0000000000 --- a/node_modules/@types/node/globals.global.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare var global: NodeJS.Global; diff --git a/node_modules/@types/node/http.d.ts b/node_modules/@types/node/http.d.ts deleted file mode 100644 index 8c9f8826eb..0000000000 --- a/node_modules/@types/node/http.d.ts +++ /dev/null @@ -1,400 +0,0 @@ -declare module "http" { - import * as stream from "stream"; - import { URL } from "url"; - import { Socket, Server as NetServer } from "net"; - - // incoming headers will never contain number - interface IncomingHttpHeaders extends NodeJS.Dict { - 'accept'?: string; - 'accept-language'?: string; - 'accept-patch'?: string; - 'accept-ranges'?: string; - 'access-control-allow-credentials'?: string; - 'access-control-allow-headers'?: string; - 'access-control-allow-methods'?: string; - 'access-control-allow-origin'?: string; - 'access-control-expose-headers'?: string; - 'access-control-max-age'?: string; - 'access-control-request-headers'?: string; - 'access-control-request-method'?: string; - 'age'?: string; - 'allow'?: string; - 'alt-svc'?: string; - 'authorization'?: string; - 'cache-control'?: string; - 'connection'?: string; - 'content-disposition'?: string; - 'content-encoding'?: string; - 'content-language'?: string; - 'content-length'?: string; - 'content-location'?: string; - 'content-range'?: string; - 'content-type'?: string; - 'cookie'?: string; - 'date'?: string; - 'expect'?: string; - 'expires'?: string; - 'forwarded'?: string; - 'from'?: string; - 'host'?: string; - 'if-match'?: string; - 'if-modified-since'?: string; - 'if-none-match'?: string; - 'if-unmodified-since'?: string; - 'last-modified'?: string; - 'location'?: string; - 'origin'?: string; - 'pragma'?: string; - 'proxy-authenticate'?: string; - 'proxy-authorization'?: string; - 'public-key-pins'?: string; - 'range'?: string; - 'referer'?: string; - 'retry-after'?: string; - 'set-cookie'?: string[]; - 'strict-transport-security'?: string; - 'tk'?: string; - 'trailer'?: string; - 'transfer-encoding'?: string; - 'upgrade'?: string; - 'user-agent'?: string; - 'vary'?: string; - 'via'?: string; - 'warning'?: string; - 'www-authenticate'?: string; - } - - // outgoing headers allows numbers (as they are converted internally to strings) - interface OutgoingHttpHeaders extends NodeJS.Dict { - } - - interface ClientRequestArgs { - protocol?: string | null; - host?: string | null; - hostname?: string | null; - family?: number; - port?: number | string | null; - defaultPort?: number | string; - localAddress?: string; - socketPath?: string; - /** - * @default 8192 - */ - maxHeaderSize?: number; - method?: string; - path?: string | null; - headers?: OutgoingHttpHeaders; - auth?: string | null; - agent?: Agent | boolean; - _defaultAgent?: Agent; - timeout?: number; - setHost?: boolean; - // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278 - createConnection?: (options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket; - } - - interface ServerOptions { - IncomingMessage?: typeof IncomingMessage; - ServerResponse?: typeof ServerResponse; - /** - * Optionally overrides the value of - * [`--max-http-header-size`][] for requests received by this server, i.e. - * the maximum length of request headers in bytes. - * @default 8192 - */ - maxHeaderSize?: number; - /** - * Use an insecure HTTP parser that accepts invalid HTTP headers when true. - * Using the insecure parser should be avoided. - * See --insecure-http-parser for more information. - * @default false - */ - insecureHTTPParser?: boolean; - } - - type RequestListener = (req: IncomingMessage, res: ServerResponse) => void; - - interface HttpBase { - setTimeout(msecs?: number, callback?: () => void): this; - setTimeout(callback: () => void): this; - /** - * Limits maximum incoming headers count. If set to 0, no limit will be applied. - * @default 2000 - * {@link https://nodejs.org/api/http.html#http_server_maxheaderscount} - */ - maxHeadersCount: number | null; - timeout: number; - /** - * Limit the amount of time the parser will wait to receive the complete HTTP headers. - * @default 60000 - * {@link https://nodejs.org/api/http.html#http_server_headerstimeout} - */ - headersTimeout: number; - keepAliveTimeout: number; - } - - interface Server extends HttpBase {} - class Server extends NetServer { - constructor(requestListener?: RequestListener); - constructor(options: ServerOptions, requestListener?: RequestListener); - } - - // https://github.com/nodejs/node/blob/master/lib/_http_outgoing.js - class OutgoingMessage extends stream.Writable { - upgrading: boolean; - chunkedEncoding: boolean; - shouldKeepAlive: boolean; - useChunkedEncodingByDefault: boolean; - sendDate: boolean; - /** - * @deprecated Use `writableEnded` instead. - */ - finished: boolean; - headersSent: boolean; - /** - * @deprecate Use `socket` instead. - */ - connection: Socket; - socket: Socket; - - constructor(); - - setTimeout(msecs: number, callback?: () => void): this; - setHeader(name: string, value: number | string | string[]): void; - getHeader(name: string): number | string | string[] | undefined; - getHeaders(): OutgoingHttpHeaders; - getHeaderNames(): string[]; - hasHeader(name: string): boolean; - removeHeader(name: string): void; - addTrailers(headers: OutgoingHttpHeaders | Array<[string, string]>): void; - flushHeaders(): void; - } - - // https://github.com/nodejs/node/blob/master/lib/_http_server.js#L108-L256 - class ServerResponse extends OutgoingMessage { - statusCode: number; - statusMessage: string; - - constructor(req: IncomingMessage); - - assignSocket(socket: Socket): void; - detachSocket(socket: Socket): void; - // https://github.com/nodejs/node/blob/master/test/parallel/test-http-write-callbacks.js#L53 - // no args in writeContinue callback - writeContinue(callback?: () => void): void; - writeHead(statusCode: number, reasonPhrase?: string, headers?: OutgoingHttpHeaders): this; - writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; - writeProcessing(): void; - } - - interface InformationEvent { - statusCode: number; - statusMessage: string; - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - headers: IncomingHttpHeaders; - rawHeaders: string[]; - } - - // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L77 - class ClientRequest extends OutgoingMessage { - connection: Socket; - socket: Socket; - aborted: number; - - constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void); - - method: string; - path: string; - abort(): void; - onSocket(socket: Socket): void; - setTimeout(timeout: number, callback?: () => void): this; - setNoDelay(noDelay?: boolean): void; - setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; - - addListener(event: 'abort', listener: () => void): this; - addListener(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - addListener(event: 'continue', listener: () => void): this; - addListener(event: 'information', listener: (info: InformationEvent) => void): this; - addListener(event: 'response', listener: (response: IncomingMessage) => void): this; - addListener(event: 'socket', listener: (socket: Socket) => void): this; - addListener(event: 'timeout', listener: () => void): this; - addListener(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - addListener(event: 'close', listener: () => void): this; - addListener(event: 'drain', listener: () => void): this; - addListener(event: 'error', listener: (err: Error) => void): this; - addListener(event: 'finish', listener: () => void): this; - addListener(event: 'pipe', listener: (src: stream.Readable) => void): this; - addListener(event: 'unpipe', listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - on(event: 'abort', listener: () => void): this; - on(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - on(event: 'continue', listener: () => void): this; - on(event: 'information', listener: (info: InformationEvent) => void): this; - on(event: 'response', listener: (response: IncomingMessage) => void): this; - on(event: 'socket', listener: (socket: Socket) => void): this; - on(event: 'timeout', listener: () => void): this; - on(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - on(event: 'close', listener: () => void): this; - on(event: 'drain', listener: () => void): this; - on(event: 'error', listener: (err: Error) => void): this; - on(event: 'finish', listener: () => void): this; - on(event: 'pipe', listener: (src: stream.Readable) => void): this; - on(event: 'unpipe', listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: 'abort', listener: () => void): this; - once(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - once(event: 'continue', listener: () => void): this; - once(event: 'information', listener: (info: InformationEvent) => void): this; - once(event: 'response', listener: (response: IncomingMessage) => void): this; - once(event: 'socket', listener: (socket: Socket) => void): this; - once(event: 'timeout', listener: () => void): this; - once(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - once(event: 'close', listener: () => void): this; - once(event: 'drain', listener: () => void): this; - once(event: 'error', listener: (err: Error) => void): this; - once(event: 'finish', listener: () => void): this; - once(event: 'pipe', listener: (src: stream.Readable) => void): this; - once(event: 'unpipe', listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: 'abort', listener: () => void): this; - prependListener(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - prependListener(event: 'continue', listener: () => void): this; - prependListener(event: 'information', listener: (info: InformationEvent) => void): this; - prependListener(event: 'response', listener: (response: IncomingMessage) => void): this; - prependListener(event: 'socket', listener: (socket: Socket) => void): this; - prependListener(event: 'timeout', listener: () => void): this; - prependListener(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - prependListener(event: 'close', listener: () => void): this; - prependListener(event: 'drain', listener: () => void): this; - prependListener(event: 'error', listener: (err: Error) => void): this; - prependListener(event: 'finish', listener: () => void): this; - prependListener(event: 'pipe', listener: (src: stream.Readable) => void): this; - prependListener(event: 'unpipe', listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: 'abort', listener: () => void): this; - prependOnceListener(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - prependOnceListener(event: 'continue', listener: () => void): this; - prependOnceListener(event: 'information', listener: (info: InformationEvent) => void): this; - prependOnceListener(event: 'response', listener: (response: IncomingMessage) => void): this; - prependOnceListener(event: 'socket', listener: (socket: Socket) => void): this; - prependOnceListener(event: 'timeout', listener: () => void): this; - prependOnceListener(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - prependOnceListener(event: 'close', listener: () => void): this; - prependOnceListener(event: 'drain', listener: () => void): this; - prependOnceListener(event: 'error', listener: (err: Error) => void): this; - prependOnceListener(event: 'finish', listener: () => void): this; - prependOnceListener(event: 'pipe', listener: (src: stream.Readable) => void): this; - prependOnceListener(event: 'unpipe', listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - class IncomingMessage extends stream.Readable { - constructor(socket: Socket); - - aborted: boolean; - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - complete: boolean; - /** - * @deprecate Use `socket` instead. - */ - connection: Socket; - socket: Socket; - headers: IncomingHttpHeaders; - rawHeaders: string[]; - trailers: NodeJS.Dict; - rawTrailers: string[]; - setTimeout(msecs: number, callback?: () => void): this; - /** - * Only valid for request obtained from http.Server. - */ - method?: string; - /** - * Only valid for request obtained from http.Server. - */ - url?: string; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusCode?: number; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusMessage?: string; - destroy(error?: Error): void; - } - - interface AgentOptions { - /** - * Keep sockets around in a pool to be used by other requests in the future. Default = false - */ - keepAlive?: boolean; - /** - * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. - * Only relevant if keepAlive is set to true. - */ - keepAliveMsecs?: number; - /** - * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity - */ - maxSockets?: number; - /** - * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. - */ - maxFreeSockets?: number; - /** - * Socket timeout in milliseconds. This will set the timeout after the socket is connected. - */ - timeout?: number; - } - - class Agent { - maxFreeSockets: number; - maxSockets: number; - readonly freeSockets: NodeJS.ReadOnlyDict; - readonly sockets: NodeJS.ReadOnlyDict; - readonly requests: NodeJS.ReadOnlyDict; - - constructor(opts?: AgentOptions); - - /** - * Destroy any sockets that are currently in use by the agent. - * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, - * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, - * sockets may hang open for quite a long time before the server terminates them. - */ - destroy(): void; - } - - const METHODS: string[]; - - const STATUS_CODES: { - [errorCode: number]: string | undefined; - [errorCode: string]: string | undefined; - }; - - function createServer(requestListener?: RequestListener): Server; - function createServer(options: ServerOptions, requestListener?: RequestListener): Server; - - // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly, - // create interface RequestOptions would make the naming more clear to developers - interface RequestOptions extends ClientRequestArgs { } - function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; - function request(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; - function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - let globalAgent: Agent; - - /** - * Read-only property specifying the maximum allowed size of HTTP headers in bytes. - * Defaults to 16KB. Configurable using the [`--max-http-header-size`][] CLI option. - */ - const maxHeaderSize: number; -} diff --git a/node_modules/@types/node/http2.d.ts b/node_modules/@types/node/http2.d.ts deleted file mode 100644 index e2a5ef4928..0000000000 --- a/node_modules/@types/node/http2.d.ts +++ /dev/null @@ -1,952 +0,0 @@ -declare module "http2" { - import * as events from "events"; - import * as fs from "fs"; - import * as net from "net"; - import * as stream from "stream"; - import * as tls from "tls"; - import * as url from "url"; - - import { IncomingHttpHeaders as Http1IncomingHttpHeaders, OutgoingHttpHeaders, IncomingMessage, ServerResponse } from "http"; - export { OutgoingHttpHeaders } from "http"; - - export interface IncomingHttpStatusHeader { - ":status"?: number; - } - - export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders { - ":path"?: string; - ":method"?: string; - ":authority"?: string; - ":scheme"?: string; - } - - // Http2Stream - - export interface StreamPriorityOptions { - exclusive?: boolean; - parent?: number; - weight?: number; - silent?: boolean; - } - - export interface StreamState { - localWindowSize?: number; - state?: number; - localClose?: number; - remoteClose?: number; - sumDependencyWeight?: number; - weight?: number; - } - - export interface ServerStreamResponseOptions { - endStream?: boolean; - waitForTrailers?: boolean; - } - - export interface StatOptions { - offset: number; - length: number; - } - - export interface ServerStreamFileResponseOptions { - statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean; - waitForTrailers?: boolean; - offset?: number; - length?: number; - } - - export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions { - onError?(err: NodeJS.ErrnoException): void; - } - - export interface Http2Stream extends stream.Duplex { - readonly aborted: boolean; - readonly bufferSize: number; - readonly closed: boolean; - readonly destroyed: boolean; - /** - * Set the true if the END_STREAM flag was set in the request or response HEADERS frame received, - * indicating that no additional data should be received and the readable side of the Http2Stream will be closed. - */ - readonly endAfterHeaders: boolean; - readonly id?: number; - readonly pending: boolean; - readonly rstCode: number; - readonly sentHeaders: OutgoingHttpHeaders; - readonly sentInfoHeaders?: OutgoingHttpHeaders[]; - readonly sentTrailers?: OutgoingHttpHeaders; - readonly session: Http2Session; - readonly state: StreamState; - - close(code?: number, callback?: () => void): void; - priority(options: StreamPriorityOptions): void; - setTimeout(msecs: number, callback?: () => void): void; - sendTrailers(headers: OutgoingHttpHeaders): void; - - addListener(event: "aborted", listener: () => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: "streamClosed", listener: (code: number) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "wantTrailers", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "aborted"): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "frameError", frameType: number, errorCode: number): boolean; - emit(event: "pipe", src: stream.Readable): boolean; - emit(event: "unpipe", src: stream.Readable): boolean; - emit(event: "streamClosed", code: number): boolean; - emit(event: "timeout"): boolean; - emit(event: "trailers", trailers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "wantTrailers"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "aborted", listener: () => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: "streamClosed", listener: (code: number) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "wantTrailers", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "aborted", listener: () => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: "streamClosed", listener: (code: number) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "wantTrailers", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "aborted", listener: () => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "streamClosed", listener: (code: number) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "wantTrailers", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "aborted", listener: () => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "streamClosed", listener: (code: number) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "wantTrailers", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export interface ClientHttp2Stream extends Http2Stream { - addListener(event: "continue", listener: () => {}): this; - addListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - addListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "continue"): boolean; - emit(event: "headers", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: "push", headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "response", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "continue", listener: () => {}): this; - on(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - on(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "continue", listener: () => {}): this; - once(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - once(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "continue", listener: () => {}): this; - prependListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "continue", listener: () => {}): this; - prependOnceListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependOnceListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export interface ServerHttp2Stream extends Http2Stream { - readonly headersSent: boolean; - readonly pushAllowed: boolean; - additionalHeaders(headers: OutgoingHttpHeaders): void; - pushStream(headers: OutgoingHttpHeaders, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void; - pushStream(headers: OutgoingHttpHeaders, options?: StreamPriorityOptions, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void; - respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void; - respondWithFD(fd: number | fs.promises.FileHandle, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptions): void; - respondWithFile(path: string, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptionsWithError): void; - } - - // Http2Session - - export interface Settings { - headerTableSize?: number; - enablePush?: boolean; - initialWindowSize?: number; - maxFrameSize?: number; - maxConcurrentStreams?: number; - maxHeaderListSize?: number; - enableConnectProtocol?: boolean; - } - - export interface ClientSessionRequestOptions { - endStream?: boolean; - exclusive?: boolean; - parent?: number; - weight?: number; - waitForTrailers?: boolean; - } - - export interface SessionState { - effectiveLocalWindowSize?: number; - effectiveRecvDataLength?: number; - nextStreamID?: number; - localWindowSize?: number; - lastProcStreamID?: number; - remoteWindowSize?: number; - outboundQueueSize?: number; - deflateDynamicTableSize?: number; - inflateDynamicTableSize?: number; - } - - export interface Http2Session extends events.EventEmitter { - readonly alpnProtocol?: string; - readonly closed: boolean; - readonly connecting: boolean; - readonly destroyed: boolean; - readonly encrypted?: boolean; - readonly localSettings: Settings; - readonly originSet?: string[]; - readonly pendingSettingsAck: boolean; - readonly remoteSettings: Settings; - readonly socket: net.Socket | tls.TLSSocket; - readonly state: SessionState; - readonly type: number; - - close(callback?: () => void): void; - destroy(error?: Error, code?: number): void; - goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void; - ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean; - ping(payload: NodeJS.ArrayBufferView, callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean; - ref(): void; - setTimeout(msecs: number, callback?: () => void): void; - settings(settings: Settings): void; - unref(): void; - - addListener(event: "close", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - addListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - addListener(event: "localSettings", listener: (settings: Settings) => void): this; - addListener(event: "ping", listener: () => void): this; - addListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean; - emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData: Buffer): boolean; - emit(event: "localSettings", settings: Settings): boolean; - emit(event: "ping"): boolean; - emit(event: "remoteSettings", settings: Settings): boolean; - emit(event: "timeout"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - on(event: "localSettings", listener: (settings: Settings) => void): this; - on(event: "ping", listener: () => void): this; - on(event: "remoteSettings", listener: (settings: Settings) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - once(event: "localSettings", listener: (settings: Settings) => void): this; - once(event: "ping", listener: () => void): this; - once(event: "remoteSettings", listener: (settings: Settings) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - prependListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - prependListener(event: "localSettings", listener: (settings: Settings) => void): this; - prependListener(event: "ping", listener: () => void): this; - prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - prependOnceListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "ping", listener: () => void): this; - prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export interface ClientHttp2Session extends Http2Session { - request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream; - - addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - addListener(event: "origin", listener: (origins: string[]) => void): this; - addListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - addListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "altsvc", alt: string, origin: string, stream: number): boolean; - emit(event: "origin", origins: string[]): boolean; - emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; - emit(event: "stream", stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - on(event: "origin", listener: (origins: string[]) => void): this; - on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - on(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - once(event: "origin", listener: (origins: string[]) => void): this; - once(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - once(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - prependListener(event: "origin", listener: (origins: string[]) => void): this; - prependListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - prependListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - prependOnceListener(event: "origin", listener: (origins: string[]) => void): this; - prependOnceListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - prependOnceListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export interface AlternativeServiceOptions { - origin: number | string | url.URL; - } - - export interface ServerHttp2Session extends Http2Session { - readonly server: Http2Server | Http2SecureServer; - - altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void; - origin(...args: Array): void; - - addListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "connect", session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - // Http2Server - - export interface SessionOptions { - maxDeflateDynamicTableSize?: number; - maxSessionMemory?: number; - maxHeaderListPairs?: number; - maxOutstandingPings?: number; - maxSendHeaderBlockLength?: number; - paddingStrategy?: number; - peerMaxConcurrentStreams?: number; - settings?: Settings; - - selectPadding?(frameLen: number, maxFrameLen: number): number; - createConnection?(authority: url.URL, option: SessionOptions): stream.Duplex; - } - - export interface ClientSessionOptions extends SessionOptions { - maxReservedRemoteStreams?: number; - createConnection?: (authority: url.URL, option: SessionOptions) => stream.Duplex; - protocol?: 'http:' | 'https:'; - } - - export interface ServerSessionOptions extends SessionOptions { - Http1IncomingMessage?: typeof IncomingMessage; - Http1ServerResponse?: typeof ServerResponse; - Http2ServerRequest?: typeof Http2ServerRequest; - Http2ServerResponse?: typeof Http2ServerResponse; - } - - export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { } - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { } - - export interface ServerOptions extends ServerSessionOptions { } - - export interface SecureServerOptions extends SecureServerSessionOptions { - allowHTTP1?: boolean; - origins?: string[]; - } - - export interface Http2Server extends net.Server { - addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "session", session: ServerHttp2Session): boolean; - emit(event: "sessionError", err: Error): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "timeout"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "session", listener: (session: ServerHttp2Session) => void): this; - on(event: "sessionError", listener: (err: Error) => void): this; - on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "session", listener: (session: ServerHttp2Session) => void): this; - once(event: "sessionError", listener: (err: Error) => void): this; - once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - setTimeout(msec?: number, callback?: () => void): this; - } - - export interface Http2SecureServer extends tls.Server { - addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "session", session: ServerHttp2Session): boolean; - emit(event: "sessionError", err: Error): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "timeout"): boolean; - emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "session", listener: (session: ServerHttp2Session) => void): this; - on(event: "sessionError", listener: (err: Error) => void): this; - on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "session", listener: (session: ServerHttp2Session) => void): this; - once(event: "sessionError", listener: (err: Error) => void): this; - once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - setTimeout(msec?: number, callback?: () => void): this; - } - - export class Http2ServerRequest extends stream.Readable { - constructor(stream: ServerHttp2Stream, headers: IncomingHttpHeaders, options: stream.ReadableOptions, rawHeaders: string[]); - - readonly aborted: boolean; - readonly authority: string; - readonly connection: net.Socket | tls.TLSSocket; - readonly complete: boolean; - readonly headers: IncomingHttpHeaders; - readonly httpVersion: string; - readonly httpVersionMinor: number; - readonly httpVersionMajor: number; - readonly method: string; - readonly rawHeaders: string[]; - readonly rawTrailers: string[]; - readonly scheme: string; - readonly socket: net.Socket | tls.TLSSocket; - readonly stream: ServerHttp2Stream; - readonly trailers: IncomingHttpHeaders; - readonly url: string; - - setTimeout(msecs: number, callback?: () => void): void; - read(size?: number): Buffer | string | null; - - addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "aborted", hadError: boolean, code: number): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "end"): boolean; - emit(event: "readable"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export class Http2ServerResponse extends stream.Stream { - constructor(stream: ServerHttp2Stream); - - readonly connection: net.Socket | tls.TLSSocket; - readonly finished: boolean; - readonly headersSent: boolean; - readonly socket: net.Socket | tls.TLSSocket; - readonly stream: ServerHttp2Stream; - sendDate: boolean; - statusCode: number; - statusMessage: ''; - addTrailers(trailers: OutgoingHttpHeaders): void; - end(callback?: () => void): void; - end(data: string | Uint8Array, callback?: () => void): void; - end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void; - getHeader(name: string): string; - getHeaderNames(): string[]; - getHeaders(): OutgoingHttpHeaders; - hasHeader(name: string): boolean; - removeHeader(name: string): void; - setHeader(name: string, value: number | string | string[]): void; - setTimeout(msecs: number, callback?: () => void): void; - write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean; - write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean; - writeContinue(): void; - writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; - writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this; - createPushResponse(headers: OutgoingHttpHeaders, callback: (err: Error | null, res: Http2ServerResponse) => void): void; - - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "drain"): boolean; - emit(event: "error", error: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: stream.Readable): boolean; - emit(event: "unpipe", src: stream.Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - // Public API - - export namespace constants { - const NGHTTP2_SESSION_SERVER: number; - const NGHTTP2_SESSION_CLIENT: number; - const NGHTTP2_STREAM_STATE_IDLE: number; - const NGHTTP2_STREAM_STATE_OPEN: number; - const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number; - const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number; - const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number; - const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number; - const NGHTTP2_STREAM_STATE_CLOSED: number; - const NGHTTP2_NO_ERROR: number; - const NGHTTP2_PROTOCOL_ERROR: number; - const NGHTTP2_INTERNAL_ERROR: number; - const NGHTTP2_FLOW_CONTROL_ERROR: number; - const NGHTTP2_SETTINGS_TIMEOUT: number; - const NGHTTP2_STREAM_CLOSED: number; - const NGHTTP2_FRAME_SIZE_ERROR: number; - const NGHTTP2_REFUSED_STREAM: number; - const NGHTTP2_CANCEL: number; - const NGHTTP2_COMPRESSION_ERROR: number; - const NGHTTP2_CONNECT_ERROR: number; - const NGHTTP2_ENHANCE_YOUR_CALM: number; - const NGHTTP2_INADEQUATE_SECURITY: number; - const NGHTTP2_HTTP_1_1_REQUIRED: number; - const NGHTTP2_ERR_FRAME_SIZE_ERROR: number; - const NGHTTP2_FLAG_NONE: number; - const NGHTTP2_FLAG_END_STREAM: number; - const NGHTTP2_FLAG_END_HEADERS: number; - const NGHTTP2_FLAG_ACK: number; - const NGHTTP2_FLAG_PADDED: number; - const NGHTTP2_FLAG_PRIORITY: number; - const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number; - const DEFAULT_SETTINGS_ENABLE_PUSH: number; - const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number; - const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number; - const MAX_MAX_FRAME_SIZE: number; - const MIN_MAX_FRAME_SIZE: number; - const MAX_INITIAL_WINDOW_SIZE: number; - const NGHTTP2_DEFAULT_WEIGHT: number; - const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number; - const NGHTTP2_SETTINGS_ENABLE_PUSH: number; - const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number; - const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number; - const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number; - const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number; - const PADDING_STRATEGY_NONE: number; - const PADDING_STRATEGY_MAX: number; - const PADDING_STRATEGY_CALLBACK: number; - const HTTP2_HEADER_STATUS: string; - const HTTP2_HEADER_METHOD: string; - const HTTP2_HEADER_AUTHORITY: string; - const HTTP2_HEADER_SCHEME: string; - const HTTP2_HEADER_PATH: string; - const HTTP2_HEADER_ACCEPT_CHARSET: string; - const HTTP2_HEADER_ACCEPT_ENCODING: string; - const HTTP2_HEADER_ACCEPT_LANGUAGE: string; - const HTTP2_HEADER_ACCEPT_RANGES: string; - const HTTP2_HEADER_ACCEPT: string; - const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string; - const HTTP2_HEADER_AGE: string; - const HTTP2_HEADER_ALLOW: string; - const HTTP2_HEADER_AUTHORIZATION: string; - const HTTP2_HEADER_CACHE_CONTROL: string; - const HTTP2_HEADER_CONNECTION: string; - const HTTP2_HEADER_CONTENT_DISPOSITION: string; - const HTTP2_HEADER_CONTENT_ENCODING: string; - const HTTP2_HEADER_CONTENT_LANGUAGE: string; - const HTTP2_HEADER_CONTENT_LENGTH: string; - const HTTP2_HEADER_CONTENT_LOCATION: string; - const HTTP2_HEADER_CONTENT_MD5: string; - const HTTP2_HEADER_CONTENT_RANGE: string; - const HTTP2_HEADER_CONTENT_TYPE: string; - const HTTP2_HEADER_COOKIE: string; - const HTTP2_HEADER_DATE: string; - const HTTP2_HEADER_ETAG: string; - const HTTP2_HEADER_EXPECT: string; - const HTTP2_HEADER_EXPIRES: string; - const HTTP2_HEADER_FROM: string; - const HTTP2_HEADER_HOST: string; - const HTTP2_HEADER_IF_MATCH: string; - const HTTP2_HEADER_IF_MODIFIED_SINCE: string; - const HTTP2_HEADER_IF_NONE_MATCH: string; - const HTTP2_HEADER_IF_RANGE: string; - const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string; - const HTTP2_HEADER_LAST_MODIFIED: string; - const HTTP2_HEADER_LINK: string; - const HTTP2_HEADER_LOCATION: string; - const HTTP2_HEADER_MAX_FORWARDS: string; - const HTTP2_HEADER_PREFER: string; - const HTTP2_HEADER_PROXY_AUTHENTICATE: string; - const HTTP2_HEADER_PROXY_AUTHORIZATION: string; - const HTTP2_HEADER_RANGE: string; - const HTTP2_HEADER_REFERER: string; - const HTTP2_HEADER_REFRESH: string; - const HTTP2_HEADER_RETRY_AFTER: string; - const HTTP2_HEADER_SERVER: string; - const HTTP2_HEADER_SET_COOKIE: string; - const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string; - const HTTP2_HEADER_TRANSFER_ENCODING: string; - const HTTP2_HEADER_TE: string; - const HTTP2_HEADER_UPGRADE: string; - const HTTP2_HEADER_USER_AGENT: string; - const HTTP2_HEADER_VARY: string; - const HTTP2_HEADER_VIA: string; - const HTTP2_HEADER_WWW_AUTHENTICATE: string; - const HTTP2_HEADER_HTTP2_SETTINGS: string; - const HTTP2_HEADER_KEEP_ALIVE: string; - const HTTP2_HEADER_PROXY_CONNECTION: string; - const HTTP2_METHOD_ACL: string; - const HTTP2_METHOD_BASELINE_CONTROL: string; - const HTTP2_METHOD_BIND: string; - const HTTP2_METHOD_CHECKIN: string; - const HTTP2_METHOD_CHECKOUT: string; - const HTTP2_METHOD_CONNECT: string; - const HTTP2_METHOD_COPY: string; - const HTTP2_METHOD_DELETE: string; - const HTTP2_METHOD_GET: string; - const HTTP2_METHOD_HEAD: string; - const HTTP2_METHOD_LABEL: string; - const HTTP2_METHOD_LINK: string; - const HTTP2_METHOD_LOCK: string; - const HTTP2_METHOD_MERGE: string; - const HTTP2_METHOD_MKACTIVITY: string; - const HTTP2_METHOD_MKCALENDAR: string; - const HTTP2_METHOD_MKCOL: string; - const HTTP2_METHOD_MKREDIRECTREF: string; - const HTTP2_METHOD_MKWORKSPACE: string; - const HTTP2_METHOD_MOVE: string; - const HTTP2_METHOD_OPTIONS: string; - const HTTP2_METHOD_ORDERPATCH: string; - const HTTP2_METHOD_PATCH: string; - const HTTP2_METHOD_POST: string; - const HTTP2_METHOD_PRI: string; - const HTTP2_METHOD_PROPFIND: string; - const HTTP2_METHOD_PROPPATCH: string; - const HTTP2_METHOD_PUT: string; - const HTTP2_METHOD_REBIND: string; - const HTTP2_METHOD_REPORT: string; - const HTTP2_METHOD_SEARCH: string; - const HTTP2_METHOD_TRACE: string; - const HTTP2_METHOD_UNBIND: string; - const HTTP2_METHOD_UNCHECKOUT: string; - const HTTP2_METHOD_UNLINK: string; - const HTTP2_METHOD_UNLOCK: string; - const HTTP2_METHOD_UPDATE: string; - const HTTP2_METHOD_UPDATEREDIRECTREF: string; - const HTTP2_METHOD_VERSION_CONTROL: string; - const HTTP_STATUS_CONTINUE: number; - const HTTP_STATUS_SWITCHING_PROTOCOLS: number; - const HTTP_STATUS_PROCESSING: number; - const HTTP_STATUS_OK: number; - const HTTP_STATUS_CREATED: number; - const HTTP_STATUS_ACCEPTED: number; - const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number; - const HTTP_STATUS_NO_CONTENT: number; - const HTTP_STATUS_RESET_CONTENT: number; - const HTTP_STATUS_PARTIAL_CONTENT: number; - const HTTP_STATUS_MULTI_STATUS: number; - const HTTP_STATUS_ALREADY_REPORTED: number; - const HTTP_STATUS_IM_USED: number; - const HTTP_STATUS_MULTIPLE_CHOICES: number; - const HTTP_STATUS_MOVED_PERMANENTLY: number; - const HTTP_STATUS_FOUND: number; - const HTTP_STATUS_SEE_OTHER: number; - const HTTP_STATUS_NOT_MODIFIED: number; - const HTTP_STATUS_USE_PROXY: number; - const HTTP_STATUS_TEMPORARY_REDIRECT: number; - const HTTP_STATUS_PERMANENT_REDIRECT: number; - const HTTP_STATUS_BAD_REQUEST: number; - const HTTP_STATUS_UNAUTHORIZED: number; - const HTTP_STATUS_PAYMENT_REQUIRED: number; - const HTTP_STATUS_FORBIDDEN: number; - const HTTP_STATUS_NOT_FOUND: number; - const HTTP_STATUS_METHOD_NOT_ALLOWED: number; - const HTTP_STATUS_NOT_ACCEPTABLE: number; - const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number; - const HTTP_STATUS_REQUEST_TIMEOUT: number; - const HTTP_STATUS_CONFLICT: number; - const HTTP_STATUS_GONE: number; - const HTTP_STATUS_LENGTH_REQUIRED: number; - const HTTP_STATUS_PRECONDITION_FAILED: number; - const HTTP_STATUS_PAYLOAD_TOO_LARGE: number; - const HTTP_STATUS_URI_TOO_LONG: number; - const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number; - const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number; - const HTTP_STATUS_EXPECTATION_FAILED: number; - const HTTP_STATUS_TEAPOT: number; - const HTTP_STATUS_MISDIRECTED_REQUEST: number; - const HTTP_STATUS_UNPROCESSABLE_ENTITY: number; - const HTTP_STATUS_LOCKED: number; - const HTTP_STATUS_FAILED_DEPENDENCY: number; - const HTTP_STATUS_UNORDERED_COLLECTION: number; - const HTTP_STATUS_UPGRADE_REQUIRED: number; - const HTTP_STATUS_PRECONDITION_REQUIRED: number; - const HTTP_STATUS_TOO_MANY_REQUESTS: number; - const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number; - const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number; - const HTTP_STATUS_INTERNAL_SERVER_ERROR: number; - const HTTP_STATUS_NOT_IMPLEMENTED: number; - const HTTP_STATUS_BAD_GATEWAY: number; - const HTTP_STATUS_SERVICE_UNAVAILABLE: number; - const HTTP_STATUS_GATEWAY_TIMEOUT: number; - const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number; - const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number; - const HTTP_STATUS_INSUFFICIENT_STORAGE: number; - const HTTP_STATUS_LOOP_DETECTED: number; - const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number; - const HTTP_STATUS_NOT_EXTENDED: number; - const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number; - } - - export function getDefaultSettings(): Settings; - export function getPackedSettings(settings: Settings): Buffer; - export function getUnpackedSettings(buf: Uint8Array): Settings; - - export function createServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server; - export function createServer(options: ServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server; - - export function createSecureServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer; - export function createSecureServer(options: SecureServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer; - - export function connect(authority: string | url.URL, listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): ClientHttp2Session; - export function connect( - authority: string | url.URL, - options?: ClientSessionOptions | SecureClientSessionOptions, - listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void - ): ClientHttp2Session; -} diff --git a/node_modules/@types/node/https.d.ts b/node_modules/@types/node/https.d.ts deleted file mode 100644 index 24326c9d1f..0000000000 --- a/node_modules/@types/node/https.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare module "https" { - import * as tls from "tls"; - import * as events from "events"; - import * as http from "http"; - import { URL } from "url"; - - type ServerOptions = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions; - - type RequestOptions = http.RequestOptions & tls.SecureContextOptions & { - rejectUnauthorized?: boolean; // Defaults to true - servername?: string; // SNI TLS Extension - }; - - interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { - rejectUnauthorized?: boolean; - maxCachedSessions?: number; - } - - class Agent extends http.Agent { - constructor(options?: AgentOptions); - options: AgentOptions; - } - - interface Server extends http.HttpBase {} - class Server extends tls.Server { - constructor(requestListener?: http.RequestListener); - constructor(options: ServerOptions, requestListener?: http.RequestListener); - } - - function createServer(requestListener?: http.RequestListener): Server; - function createServer(options: ServerOptions, requestListener?: http.RequestListener): Server; - function request(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - function request(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - function get(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - function get(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - let globalAgent: Agent; -} diff --git a/node_modules/@types/node/index.d.ts b/node_modules/@types/node/index.d.ts deleted file mode 100644 index c252b24e69..0000000000 --- a/node_modules/@types/node/index.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -// Type definitions for non-npm package Node.js 14.0 -// Project: http://nodejs.org/ -// Definitions by: Microsoft TypeScript -// DefinitelyTyped -// Alberto Schiabel -// Alexander T. -// Alvis HT Tang -// Andrew Makarov -// Benjamin Toueg -// Bruno Scheufler -// Chigozirim C. -// David Junger -// Deividas Bakanas -// Eugene Y. Q. Shen -// Flarna -// Hannes Magnusson -// Hoàng Văn Khải -// Huw -// Kelvin Jin -// Klaus Meinhardt -// Lishude -// Mariusz Wiktorczyk -// Mohsen Azimi -// Nicolas Even -// Nicolas Voigt -// Nikita Galkin -// Parambir Singh -// Sebastian Silbermann -// Simon Schick -// Thomas den Hollander -// Wilco Bakker -// wwwy3y3 -// Samuel Ainsworth -// Kyle Uehlein -// Jordi Oliveras Rovira -// Thanik Bhongbhibhat -// Marcin Kopacz -// Trivikram Kamat -// Minh Son Nguyen -// Junxiao Shi -// Ilia Baryshnikov -// ExE Boss -// Surasak Chaisurin -// Piotr Błażejewicz -// Anna Henningsen -// Jason Kwok -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -// NOTE: These definitions support NodeJS and TypeScript 3.5. - -// NOTE: TypeScript version-specific augmentations can be found in the following paths: -// - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.8 -// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.5 - -// NOTE: Augmentations for TypeScript 3.5 and later should use individual files for overrides -// within the respective ~/ts3.5 (or later) folder. However, this is disallowed for versions -// prior to TypeScript 3.5, so the older definitions will be found here. - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: -/// - -// We can't include globals.global.d.ts in globals.d.ts, as it'll cause duplication errors in TypeScript 3.5+ -/// - -// We can't include assert.d.ts in base.d.ts, as it'll cause duplication errors in TypeScript 3.7+ -/// - -// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`) -// Empty interfaces are used here which merge fine with the real declarations in the lib XXX files -// just to ensure the names are known and node typings can be used without importing these libs. -// if someone really needs these types the libs need to be added via --lib or in tsconfig.json -interface AsyncIterable { } -interface IterableIterator { } -interface AsyncIterableIterator {} -interface SymbolConstructor { - readonly asyncIterator: symbol; -} -declare var Symbol: SymbolConstructor; -// even this is just a forward declaration some properties are added otherwise -// it would be allowed to pass anything to e.g. Buffer.from() -interface SharedArrayBuffer { - readonly byteLength: number; - slice(begin?: number, end?: number): SharedArrayBuffer; -} - -declare module "util" { - namespace types { - function isBigInt64Array(value: any): boolean; - function isBigUint64Array(value: any): boolean; - } -} diff --git a/node_modules/@types/node/inspector.d.ts b/node_modules/@types/node/inspector.d.ts deleted file mode 100644 index 1c577346ed..0000000000 --- a/node_modules/@types/node/inspector.d.ts +++ /dev/null @@ -1,3041 +0,0 @@ -// tslint:disable-next-line:dt-header -// Type definitions for inspector - -// These definitions are auto-generated. -// Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330 -// for more information. - -// tslint:disable:max-line-length - -/** - * The inspector module provides an API for interacting with the V8 inspector. - */ -declare module "inspector" { - import { EventEmitter } from 'events'; - - interface InspectorNotification { - method: string; - params: T; - } - - namespace Schema { - /** - * Description of the protocol domain. - */ - interface Domain { - /** - * Domain name. - */ - name: string; - /** - * Domain version. - */ - version: string; - } - - interface GetDomainsReturnType { - /** - * List of supported domains. - */ - domains: Domain[]; - } - } - - namespace Runtime { - /** - * Unique script identifier. - */ - type ScriptId = string; - - /** - * Unique object identifier. - */ - type RemoteObjectId = string; - - /** - * Primitive value which cannot be JSON-stringified. - */ - type UnserializableValue = string; - - /** - * Mirror object referencing original JavaScript object. - */ - interface RemoteObject { - /** - * Object type. - */ - type: string; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string; - /** - * Object class (constructor) name. Specified for object type values only. - */ - className?: string; - /** - * Remote object value in case of primitive values or JSON values (if it was requested). - */ - value?: any; - /** - * Primitive value which can not be JSON-stringified does not have value, but gets this property. - */ - unserializableValue?: UnserializableValue; - /** - * String representation of the object. - */ - description?: string; - /** - * Unique object identifier (for non-primitive values). - */ - objectId?: RemoteObjectId; - /** - * Preview containing abbreviated property values. Specified for object type values only. - * @experimental - */ - preview?: ObjectPreview; - /** - * @experimental - */ - customPreview?: CustomPreview; - } - - /** - * @experimental - */ - interface CustomPreview { - header: string; - hasBody: boolean; - formatterObjectId: RemoteObjectId; - bindRemoteObjectFunctionId: RemoteObjectId; - configObjectId?: RemoteObjectId; - } - - /** - * Object containing abbreviated remote object value. - * @experimental - */ - interface ObjectPreview { - /** - * Object type. - */ - type: string; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string; - /** - * String representation of the object. - */ - description?: string; - /** - * True iff some of the properties or entries of the original object did not fit. - */ - overflow: boolean; - /** - * List of the properties. - */ - properties: PropertyPreview[]; - /** - * List of the entries. Specified for map and set subtype values only. - */ - entries?: EntryPreview[]; - } - - /** - * @experimental - */ - interface PropertyPreview { - /** - * Property name. - */ - name: string; - /** - * Object type. Accessor means that the property itself is an accessor property. - */ - type: string; - /** - * User-friendly property value string. - */ - value?: string; - /** - * Nested value preview. - */ - valuePreview?: ObjectPreview; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string; - } - - /** - * @experimental - */ - interface EntryPreview { - /** - * Preview of the key. Specified for map-like collection entries. - */ - key?: ObjectPreview; - /** - * Preview of the value. - */ - value: ObjectPreview; - } - - /** - * Object property descriptor. - */ - interface PropertyDescriptor { - /** - * Property name or symbol description. - */ - name: string; - /** - * The value associated with the property. - */ - value?: RemoteObject; - /** - * True if the value associated with the property may be changed (data descriptors only). - */ - writable?: boolean; - /** - * A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only). - */ - get?: RemoteObject; - /** - * A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only). - */ - set?: RemoteObject; - /** - * True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object. - */ - configurable: boolean; - /** - * True if this property shows up during enumeration of the properties on the corresponding object. - */ - enumerable: boolean; - /** - * True if the result was thrown during the evaluation. - */ - wasThrown?: boolean; - /** - * True if the property is owned for the object. - */ - isOwn?: boolean; - /** - * Property symbol object, if the property is of the symbol type. - */ - symbol?: RemoteObject; - } - - /** - * Object internal property descriptor. This property isn't normally visible in JavaScript code. - */ - interface InternalPropertyDescriptor { - /** - * Conventional property name. - */ - name: string; - /** - * The value associated with the property. - */ - value?: RemoteObject; - } - - /** - * Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified. - */ - interface CallArgument { - /** - * Primitive value or serializable javascript object. - */ - value?: any; - /** - * Primitive value which can not be JSON-stringified. - */ - unserializableValue?: UnserializableValue; - /** - * Remote object handle. - */ - objectId?: RemoteObjectId; - } - - /** - * Id of an execution context. - */ - type ExecutionContextId = number; - - /** - * Description of an isolated world. - */ - interface ExecutionContextDescription { - /** - * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed. - */ - id: ExecutionContextId; - /** - * Execution context origin. - */ - origin: string; - /** - * Human readable name describing given context. - */ - name: string; - /** - * Embedder-specific auxiliary data. - */ - auxData?: {}; - } - - /** - * Detailed information about exception (or error) that was thrown during script compilation or execution. - */ - interface ExceptionDetails { - /** - * Exception id. - */ - exceptionId: number; - /** - * Exception text, which should be used together with exception object when available. - */ - text: string; - /** - * Line number of the exception location (0-based). - */ - lineNumber: number; - /** - * Column number of the exception location (0-based). - */ - columnNumber: number; - /** - * Script ID of the exception location. - */ - scriptId?: ScriptId; - /** - * URL of the exception location, to be used when the script was not reported. - */ - url?: string; - /** - * JavaScript stack trace if available. - */ - stackTrace?: StackTrace; - /** - * Exception object if available. - */ - exception?: RemoteObject; - /** - * Identifier of the context where exception happened. - */ - executionContextId?: ExecutionContextId; - } - - /** - * Number of milliseconds since epoch. - */ - type Timestamp = number; - - /** - * Stack entry for runtime errors and assertions. - */ - interface CallFrame { - /** - * JavaScript function name. - */ - functionName: string; - /** - * JavaScript script id. - */ - scriptId: ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * JavaScript script line number (0-based). - */ - lineNumber: number; - /** - * JavaScript script column number (0-based). - */ - columnNumber: number; - } - - /** - * Call frames for assertions or error messages. - */ - interface StackTrace { - /** - * String label of this stack trace. For async traces this may be a name of the function that initiated the async call. - */ - description?: string; - /** - * JavaScript function name. - */ - callFrames: CallFrame[]; - /** - * Asynchronous JavaScript stack trace that preceded this stack, if available. - */ - parent?: StackTrace; - /** - * Asynchronous JavaScript stack trace that preceded this stack, if available. - * @experimental - */ - parentId?: StackTraceId; - } - - /** - * Unique identifier of current debugger. - * @experimental - */ - type UniqueDebuggerId = string; - - /** - * If debuggerId is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace and Debugger.paused for usages. - * @experimental - */ - interface StackTraceId { - id: string; - debuggerId?: UniqueDebuggerId; - } - - interface EvaluateParameterType { - /** - * Expression to evaluate. - */ - expression: string; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string; - /** - * Determines whether Command Line API should be available during the evaluation. - */ - includeCommandLineAPI?: boolean; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean; - /** - * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - contextId?: ExecutionContextId; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean; - /** - * Whether execution should be treated as initiated by user in the UI. - */ - userGesture?: boolean; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean; - } - - interface AwaitPromiseParameterType { - /** - * Identifier of the promise. - */ - promiseObjectId: RemoteObjectId; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - */ - generatePreview?: boolean; - } - - interface CallFunctionOnParameterType { - /** - * Declaration of the function to call. - */ - functionDeclaration: string; - /** - * Identifier of the object to call function on. Either objectId or executionContextId should be specified. - */ - objectId?: RemoteObjectId; - /** - * Call arguments. All call arguments must belong to the same JavaScript world as the target object. - */ - arguments?: CallArgument[]; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean; - /** - * Whether the result is expected to be a JSON object which should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean; - /** - * Whether execution should be treated as initiated by user in the UI. - */ - userGesture?: boolean; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean; - /** - * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified. - */ - executionContextId?: ExecutionContextId; - /** - * Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object. - */ - objectGroup?: string; - } - - interface GetPropertiesParameterType { - /** - * Identifier of the object to return properties for. - */ - objectId: RemoteObjectId; - /** - * If true, returns properties belonging only to the element itself, not to its prototype chain. - */ - ownProperties?: boolean; - /** - * If true, returns accessor properties (with getter/setter) only; internal properties are not returned either. - * @experimental - */ - accessorPropertiesOnly?: boolean; - /** - * Whether preview should be generated for the results. - * @experimental - */ - generatePreview?: boolean; - } - - interface ReleaseObjectParameterType { - /** - * Identifier of the object to release. - */ - objectId: RemoteObjectId; - } - - interface ReleaseObjectGroupParameterType { - /** - * Symbolic object group name. - */ - objectGroup: string; - } - - interface SetCustomObjectFormatterEnabledParameterType { - enabled: boolean; - } - - interface CompileScriptParameterType { - /** - * Expression to compile. - */ - expression: string; - /** - * Source url to be set for the script. - */ - sourceURL: string; - /** - * Specifies whether the compiled script should be persisted. - */ - persistScript: boolean; - /** - * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - executionContextId?: ExecutionContextId; - } - - interface RunScriptParameterType { - /** - * Id of the script to run. - */ - scriptId: ScriptId; - /** - * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - executionContextId?: ExecutionContextId; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean; - /** - * Determines whether Command Line API should be available during the evaluation. - */ - includeCommandLineAPI?: boolean; - /** - * Whether the result is expected to be a JSON object which should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - */ - generatePreview?: boolean; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean; - } - - interface QueryObjectsParameterType { - /** - * Identifier of the prototype to return objects for. - */ - prototypeObjectId: RemoteObjectId; - } - - interface GlobalLexicalScopeNamesParameterType { - /** - * Specifies in which execution context to lookup global scope variables. - */ - executionContextId?: ExecutionContextId; - } - - interface EvaluateReturnType { - /** - * Evaluation result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface AwaitPromiseReturnType { - /** - * Promise result. Will contain rejected value if promise was rejected. - */ - result: RemoteObject; - /** - * Exception details if stack strace is available. - */ - exceptionDetails?: ExceptionDetails; - } - - interface CallFunctionOnReturnType { - /** - * Call result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface GetPropertiesReturnType { - /** - * Object properties. - */ - result: PropertyDescriptor[]; - /** - * Internal object properties (only of the element itself). - */ - internalProperties?: InternalPropertyDescriptor[]; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface CompileScriptReturnType { - /** - * Id of the script. - */ - scriptId?: ScriptId; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface RunScriptReturnType { - /** - * Run result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface QueryObjectsReturnType { - /** - * Array with objects. - */ - objects: RemoteObject; - } - - interface GlobalLexicalScopeNamesReturnType { - names: string[]; - } - - interface ExecutionContextCreatedEventDataType { - /** - * A newly created execution context. - */ - context: ExecutionContextDescription; - } - - interface ExecutionContextDestroyedEventDataType { - /** - * Id of the destroyed context - */ - executionContextId: ExecutionContextId; - } - - interface ExceptionThrownEventDataType { - /** - * Timestamp of the exception. - */ - timestamp: Timestamp; - exceptionDetails: ExceptionDetails; - } - - interface ExceptionRevokedEventDataType { - /** - * Reason describing why exception was revoked. - */ - reason: string; - /** - * The id of revoked exception, as reported in exceptionThrown. - */ - exceptionId: number; - } - - interface ConsoleAPICalledEventDataType { - /** - * Type of the call. - */ - type: string; - /** - * Call arguments. - */ - args: RemoteObject[]; - /** - * Identifier of the context where the call was made. - */ - executionContextId: ExecutionContextId; - /** - * Call timestamp. - */ - timestamp: Timestamp; - /** - * Stack trace captured when the call was made. - */ - stackTrace?: StackTrace; - /** - * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context. - * @experimental - */ - context?: string; - } - - interface InspectRequestedEventDataType { - object: RemoteObject; - hints: {}; - } - } - - namespace Debugger { - /** - * Breakpoint identifier. - */ - type BreakpointId = string; - - /** - * Call frame identifier. - */ - type CallFrameId = string; - - /** - * Location in the source code. - */ - interface Location { - /** - * Script identifier as reported in the Debugger.scriptParsed. - */ - scriptId: Runtime.ScriptId; - /** - * Line number in the script (0-based). - */ - lineNumber: number; - /** - * Column number in the script (0-based). - */ - columnNumber?: number; - } - - /** - * Location in the source code. - * @experimental - */ - interface ScriptPosition { - lineNumber: number; - columnNumber: number; - } - - /** - * JavaScript call frame. Array of call frames form the call stack. - */ - interface CallFrame { - /** - * Call frame identifier. This identifier is only valid while the virtual machine is paused. - */ - callFrameId: CallFrameId; - /** - * Name of the JavaScript function called on this call frame. - */ - functionName: string; - /** - * Location in the source code. - */ - functionLocation?: Location; - /** - * Location in the source code. - */ - location: Location; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Scope chain for this call frame. - */ - scopeChain: Scope[]; - /** - * this object for this call frame. - */ - this: Runtime.RemoteObject; - /** - * The value being returned, if the function is at return point. - */ - returnValue?: Runtime.RemoteObject; - } - - /** - * Scope description. - */ - interface Scope { - /** - * Scope type. - */ - type: string; - /** - * Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties. - */ - object: Runtime.RemoteObject; - name?: string; - /** - * Location in the source code where scope starts - */ - startLocation?: Location; - /** - * Location in the source code where scope ends - */ - endLocation?: Location; - } - - /** - * Search match for resource. - */ - interface SearchMatch { - /** - * Line number in resource content. - */ - lineNumber: number; - /** - * Line with match content. - */ - lineContent: string; - } - - interface BreakLocation { - /** - * Script identifier as reported in the Debugger.scriptParsed. - */ - scriptId: Runtime.ScriptId; - /** - * Line number in the script (0-based). - */ - lineNumber: number; - /** - * Column number in the script (0-based). - */ - columnNumber?: number; - type?: string; - } - - interface SetBreakpointsActiveParameterType { - /** - * New value for breakpoints active state. - */ - active: boolean; - } - - interface SetSkipAllPausesParameterType { - /** - * New value for skip pauses state. - */ - skip: boolean; - } - - interface SetBreakpointByUrlParameterType { - /** - * Line number to set breakpoint at. - */ - lineNumber: number; - /** - * URL of the resources to set breakpoint on. - */ - url?: string; - /** - * Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified. - */ - urlRegex?: string; - /** - * Script hash of the resources to set breakpoint on. - */ - scriptHash?: string; - /** - * Offset in the line to set breakpoint at. - */ - columnNumber?: number; - /** - * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. - */ - condition?: string; - } - - interface SetBreakpointParameterType { - /** - * Location to set breakpoint in. - */ - location: Location; - /** - * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. - */ - condition?: string; - } - - interface RemoveBreakpointParameterType { - breakpointId: BreakpointId; - } - - interface GetPossibleBreakpointsParameterType { - /** - * Start of range to search possible breakpoint locations in. - */ - start: Location; - /** - * End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range. - */ - end?: Location; - /** - * Only consider locations which are in the same (non-nested) function as start. - */ - restrictToFunction?: boolean; - } - - interface ContinueToLocationParameterType { - /** - * Location to continue to. - */ - location: Location; - targetCallFrames?: string; - } - - interface PauseOnAsyncCallParameterType { - /** - * Debugger will pause when async call with given stack trace is started. - */ - parentStackTraceId: Runtime.StackTraceId; - } - - interface StepIntoParameterType { - /** - * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause. - * @experimental - */ - breakOnAsyncCall?: boolean; - } - - interface GetStackTraceParameterType { - stackTraceId: Runtime.StackTraceId; - } - - interface SearchInContentParameterType { - /** - * Id of the script to search in. - */ - scriptId: Runtime.ScriptId; - /** - * String to search for. - */ - query: string; - /** - * If true, search is case sensitive. - */ - caseSensitive?: boolean; - /** - * If true, treats string parameter as regex. - */ - isRegex?: boolean; - } - - interface SetScriptSourceParameterType { - /** - * Id of the script to edit. - */ - scriptId: Runtime.ScriptId; - /** - * New content of the script. - */ - scriptSource: string; - /** - * If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code. - */ - dryRun?: boolean; - } - - interface RestartFrameParameterType { - /** - * Call frame identifier to evaluate on. - */ - callFrameId: CallFrameId; - } - - interface GetScriptSourceParameterType { - /** - * Id of the script to get source for. - */ - scriptId: Runtime.ScriptId; - } - - interface SetPauseOnExceptionsParameterType { - /** - * Pause on exceptions mode. - */ - state: string; - } - - interface EvaluateOnCallFrameParameterType { - /** - * Call frame identifier to evaluate on. - */ - callFrameId: CallFrameId; - /** - * Expression to evaluate. - */ - expression: string; - /** - * String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup). - */ - objectGroup?: string; - /** - * Specifies whether command line API should be available to the evaluated expression, defaults to false. - */ - includeCommandLineAPI?: boolean; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean; - /** - * Whether to throw an exception if side effect cannot be ruled out during evaluation. - */ - throwOnSideEffect?: boolean; - } - - interface SetVariableValueParameterType { - /** - * 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually. - */ - scopeNumber: number; - /** - * Variable name. - */ - variableName: string; - /** - * New variable value. - */ - newValue: Runtime.CallArgument; - /** - * Id of callframe that holds variable. - */ - callFrameId: CallFrameId; - } - - interface SetReturnValueParameterType { - /** - * New return value. - */ - newValue: Runtime.CallArgument; - } - - interface SetAsyncCallStackDepthParameterType { - /** - * Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default). - */ - maxDepth: number; - } - - interface SetBlackboxPatternsParameterType { - /** - * Array of regexps that will be used to check script url for blackbox state. - */ - patterns: string[]; - } - - interface SetBlackboxedRangesParameterType { - /** - * Id of the script. - */ - scriptId: Runtime.ScriptId; - positions: ScriptPosition[]; - } - - interface EnableReturnType { - /** - * Unique identifier of the debugger. - * @experimental - */ - debuggerId: Runtime.UniqueDebuggerId; - } - - interface SetBreakpointByUrlReturnType { - /** - * Id of the created breakpoint for further reference. - */ - breakpointId: BreakpointId; - /** - * List of the locations this breakpoint resolved into upon addition. - */ - locations: Location[]; - } - - interface SetBreakpointReturnType { - /** - * Id of the created breakpoint for further reference. - */ - breakpointId: BreakpointId; - /** - * Location this breakpoint resolved into. - */ - actualLocation: Location; - } - - interface GetPossibleBreakpointsReturnType { - /** - * List of the possible breakpoint locations. - */ - locations: BreakLocation[]; - } - - interface GetStackTraceReturnType { - stackTrace: Runtime.StackTrace; - } - - interface SearchInContentReturnType { - /** - * List of search matches. - */ - result: SearchMatch[]; - } - - interface SetScriptSourceReturnType { - /** - * New stack trace in case editing has happened while VM was stopped. - */ - callFrames?: CallFrame[]; - /** - * Whether current call stack was modified after applying the changes. - */ - stackChanged?: boolean; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId; - /** - * Exception details if any. - */ - exceptionDetails?: Runtime.ExceptionDetails; - } - - interface RestartFrameReturnType { - /** - * New stack trace. - */ - callFrames: CallFrame[]; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId; - } - - interface GetScriptSourceReturnType { - /** - * Script source. - */ - scriptSource: string; - } - - interface EvaluateOnCallFrameReturnType { - /** - * Object wrapper for the evaluation result. - */ - result: Runtime.RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: Runtime.ExceptionDetails; - } - - interface ScriptParsedEventDataType { - /** - * Identifier of the script parsed. - */ - scriptId: Runtime.ScriptId; - /** - * URL or name of the script parsed (if any). - */ - url: string; - /** - * Line offset of the script within the resource with given URL (for script tags). - */ - startLine: number; - /** - * Column offset of the script within the resource with given URL. - */ - startColumn: number; - /** - * Last line of the script. - */ - endLine: number; - /** - * Length of the last line of the script. - */ - endColumn: number; - /** - * Specifies script creation context. - */ - executionContextId: Runtime.ExecutionContextId; - /** - * Content hash of the script. - */ - hash: string; - /** - * Embedder-specific auxiliary data. - */ - executionContextAuxData?: {}; - /** - * True, if this script is generated as a result of the live edit operation. - * @experimental - */ - isLiveEdit?: boolean; - /** - * URL of source map associated with script (if any). - */ - sourceMapURL?: string; - /** - * True, if this script has sourceURL. - */ - hasSourceURL?: boolean; - /** - * True, if this script is ES6 module. - */ - isModule?: boolean; - /** - * This script length. - */ - length?: number; - /** - * JavaScript top stack frame of where the script parsed event was triggered if available. - * @experimental - */ - stackTrace?: Runtime.StackTrace; - } - - interface ScriptFailedToParseEventDataType { - /** - * Identifier of the script parsed. - */ - scriptId: Runtime.ScriptId; - /** - * URL or name of the script parsed (if any). - */ - url: string; - /** - * Line offset of the script within the resource with given URL (for script tags). - */ - startLine: number; - /** - * Column offset of the script within the resource with given URL. - */ - startColumn: number; - /** - * Last line of the script. - */ - endLine: number; - /** - * Length of the last line of the script. - */ - endColumn: number; - /** - * Specifies script creation context. - */ - executionContextId: Runtime.ExecutionContextId; - /** - * Content hash of the script. - */ - hash: string; - /** - * Embedder-specific auxiliary data. - */ - executionContextAuxData?: {}; - /** - * URL of source map associated with script (if any). - */ - sourceMapURL?: string; - /** - * True, if this script has sourceURL. - */ - hasSourceURL?: boolean; - /** - * True, if this script is ES6 module. - */ - isModule?: boolean; - /** - * This script length. - */ - length?: number; - /** - * JavaScript top stack frame of where the script parsed event was triggered if available. - * @experimental - */ - stackTrace?: Runtime.StackTrace; - } - - interface BreakpointResolvedEventDataType { - /** - * Breakpoint unique identifier. - */ - breakpointId: BreakpointId; - /** - * Actual breakpoint location. - */ - location: Location; - } - - interface PausedEventDataType { - /** - * Call stack the virtual machine stopped on. - */ - callFrames: CallFrame[]; - /** - * Pause reason. - */ - reason: string; - /** - * Object containing break-specific auxiliary properties. - */ - data?: {}; - /** - * Hit breakpoints IDs - */ - hitBreakpoints?: string[]; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId; - /** - * Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto call with breakOnAsynCall flag. - * @experimental - */ - asyncCallStackTraceId?: Runtime.StackTraceId; - } - } - - namespace Console { - /** - * Console message. - */ - interface ConsoleMessage { - /** - * Message source. - */ - source: string; - /** - * Message severity. - */ - level: string; - /** - * Message text. - */ - text: string; - /** - * URL of the message origin. - */ - url?: string; - /** - * Line number in the resource that generated this message (1-based). - */ - line?: number; - /** - * Column number in the resource that generated this message (1-based). - */ - column?: number; - } - - interface MessageAddedEventDataType { - /** - * Console message that has been added. - */ - message: ConsoleMessage; - } - } - - namespace Profiler { - /** - * Profile node. Holds callsite information, execution statistics and child nodes. - */ - interface ProfileNode { - /** - * Unique id of the node. - */ - id: number; - /** - * Function location. - */ - callFrame: Runtime.CallFrame; - /** - * Number of samples where this node was on top of the call stack. - */ - hitCount?: number; - /** - * Child node ids. - */ - children?: number[]; - /** - * The reason of being not optimized. The function may be deoptimized or marked as don't optimize. - */ - deoptReason?: string; - /** - * An array of source position ticks. - */ - positionTicks?: PositionTickInfo[]; - } - - /** - * Profile. - */ - interface Profile { - /** - * The list of profile nodes. First item is the root node. - */ - nodes: ProfileNode[]; - /** - * Profiling start timestamp in microseconds. - */ - startTime: number; - /** - * Profiling end timestamp in microseconds. - */ - endTime: number; - /** - * Ids of samples top nodes. - */ - samples?: number[]; - /** - * Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime. - */ - timeDeltas?: number[]; - } - - /** - * Specifies a number of samples attributed to a certain source position. - */ - interface PositionTickInfo { - /** - * Source line number (1-based). - */ - line: number; - /** - * Number of samples attributed to the source line. - */ - ticks: number; - } - - /** - * Coverage data for a source range. - */ - interface CoverageRange { - /** - * JavaScript script source offset for the range start. - */ - startOffset: number; - /** - * JavaScript script source offset for the range end. - */ - endOffset: number; - /** - * Collected execution count of the source range. - */ - count: number; - } - - /** - * Coverage data for a JavaScript function. - */ - interface FunctionCoverage { - /** - * JavaScript function name. - */ - functionName: string; - /** - * Source ranges inside the function with coverage data. - */ - ranges: CoverageRange[]; - /** - * Whether coverage data for this function has block granularity. - */ - isBlockCoverage: boolean; - } - - /** - * Coverage data for a JavaScript script. - */ - interface ScriptCoverage { - /** - * JavaScript script id. - */ - scriptId: Runtime.ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Functions contained in the script that has coverage data. - */ - functions: FunctionCoverage[]; - } - - /** - * Describes a type collected during runtime. - * @experimental - */ - interface TypeObject { - /** - * Name of a type collected with type profiling. - */ - name: string; - } - - /** - * Source offset and types for a parameter or return value. - * @experimental - */ - interface TypeProfileEntry { - /** - * Source offset of the parameter or end of function for return values. - */ - offset: number; - /** - * The types for this parameter or return value. - */ - types: TypeObject[]; - } - - /** - * Type profile data collected during runtime for a JavaScript script. - * @experimental - */ - interface ScriptTypeProfile { - /** - * JavaScript script id. - */ - scriptId: Runtime.ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Type profile entries for parameters and return values of the functions in the script. - */ - entries: TypeProfileEntry[]; - } - - interface SetSamplingIntervalParameterType { - /** - * New sampling interval in microseconds. - */ - interval: number; - } - - interface StartPreciseCoverageParameterType { - /** - * Collect accurate call counts beyond simple 'covered' or 'not covered'. - */ - callCount?: boolean; - /** - * Collect block-based coverage. - */ - detailed?: boolean; - } - - interface StopReturnType { - /** - * Recorded profile. - */ - profile: Profile; - } - - interface TakePreciseCoverageReturnType { - /** - * Coverage data for the current isolate. - */ - result: ScriptCoverage[]; - } - - interface GetBestEffortCoverageReturnType { - /** - * Coverage data for the current isolate. - */ - result: ScriptCoverage[]; - } - - interface TakeTypeProfileReturnType { - /** - * Type profile for all scripts since startTypeProfile() was turned on. - */ - result: ScriptTypeProfile[]; - } - - interface ConsoleProfileStartedEventDataType { - id: string; - /** - * Location of console.profile(). - */ - location: Debugger.Location; - /** - * Profile title passed as an argument to console.profile(). - */ - title?: string; - } - - interface ConsoleProfileFinishedEventDataType { - id: string; - /** - * Location of console.profileEnd(). - */ - location: Debugger.Location; - profile: Profile; - /** - * Profile title passed as an argument to console.profile(). - */ - title?: string; - } - } - - namespace HeapProfiler { - /** - * Heap snapshot object id. - */ - type HeapSnapshotObjectId = string; - - /** - * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes. - */ - interface SamplingHeapProfileNode { - /** - * Function location. - */ - callFrame: Runtime.CallFrame; - /** - * Allocations size in bytes for the node excluding children. - */ - selfSize: number; - /** - * Child nodes. - */ - children: SamplingHeapProfileNode[]; - } - - /** - * Profile. - */ - interface SamplingHeapProfile { - head: SamplingHeapProfileNode; - } - - interface StartTrackingHeapObjectsParameterType { - trackAllocations?: boolean; - } - - interface StopTrackingHeapObjectsParameterType { - /** - * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped. - */ - reportProgress?: boolean; - } - - interface TakeHeapSnapshotParameterType { - /** - * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. - */ - reportProgress?: boolean; - } - - interface GetObjectByHeapObjectIdParameterType { - objectId: HeapSnapshotObjectId; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string; - } - - interface AddInspectedHeapObjectParameterType { - /** - * Heap snapshot object id to be accessible by means of $x command line API. - */ - heapObjectId: HeapSnapshotObjectId; - } - - interface GetHeapObjectIdParameterType { - /** - * Identifier of the object to get heap object id for. - */ - objectId: Runtime.RemoteObjectId; - } - - interface StartSamplingParameterType { - /** - * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes. - */ - samplingInterval?: number; - } - - interface GetObjectByHeapObjectIdReturnType { - /** - * Evaluation result. - */ - result: Runtime.RemoteObject; - } - - interface GetHeapObjectIdReturnType { - /** - * Id of the heap snapshot object corresponding to the passed remote object id. - */ - heapSnapshotObjectId: HeapSnapshotObjectId; - } - - interface StopSamplingReturnType { - /** - * Recorded sampling heap profile. - */ - profile: SamplingHeapProfile; - } - - interface GetSamplingProfileReturnType { - /** - * Return the sampling profile being collected. - */ - profile: SamplingHeapProfile; - } - - interface AddHeapSnapshotChunkEventDataType { - chunk: string; - } - - interface ReportHeapSnapshotProgressEventDataType { - done: number; - total: number; - finished?: boolean; - } - - interface LastSeenObjectIdEventDataType { - lastSeenObjectId: number; - timestamp: number; - } - - interface HeapStatsUpdateEventDataType { - /** - * An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment. - */ - statsUpdate: number[]; - } - } - - namespace NodeTracing { - interface TraceConfig { - /** - * Controls how the trace buffer stores data. - */ - recordMode?: string; - /** - * Included category filters. - */ - includedCategories: string[]; - } - - interface StartParameterType { - traceConfig: TraceConfig; - } - - interface GetCategoriesReturnType { - /** - * A list of supported tracing categories. - */ - categories: string[]; - } - - interface DataCollectedEventDataType { - value: Array<{}>; - } - } - - namespace NodeWorker { - type WorkerID = string; - - /** - * Unique identifier of attached debugging session. - */ - type SessionID = string; - - interface WorkerInfo { - workerId: WorkerID; - type: string; - title: string; - url: string; - } - - interface SendMessageToWorkerParameterType { - message: string; - /** - * Identifier of the session. - */ - sessionId: SessionID; - } - - interface EnableParameterType { - /** - * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger` - * message to run them. - */ - waitForDebuggerOnStart: boolean; - } - - interface DetachParameterType { - sessionId: SessionID; - } - - interface AttachedToWorkerEventDataType { - /** - * Identifier assigned to the session used to send/receive messages. - */ - sessionId: SessionID; - workerInfo: WorkerInfo; - waitingForDebugger: boolean; - } - - interface DetachedFromWorkerEventDataType { - /** - * Detached session identifier. - */ - sessionId: SessionID; - } - - interface ReceivedMessageFromWorkerEventDataType { - /** - * Identifier of a session which sends a message. - */ - sessionId: SessionID; - message: string; - } - } - - namespace NodeRuntime { - interface NotifyWhenWaitingForDisconnectParameterType { - enabled: boolean; - } - } - - /** - * The inspector.Session is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications. - */ - class Session extends EventEmitter { - /** - * Create a new instance of the inspector.Session class. - * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend. - */ - constructor(); - - /** - * Connects a session to the inspector back-end. - * An exception will be thrown if there is already a connected session established either - * through the API or by a front-end connected to the Inspector WebSocket port. - */ - connect(): void; - - /** - * Immediately close the session. All pending message callbacks will be called with an error. - * session.connect() will need to be called to be able to send messages again. - * Reconnected session will lose all inspector state, such as enabled agents or configured breakpoints. - */ - disconnect(): void; - - /** - * Posts a message to the inspector back-end. callback will be notified when a response is received. - * callback is a function that accepts two optional arguments - error and message-specific result. - */ - post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void; - post(method: string, callback?: (err: Error | null, params?: {}) => void): void; - - /** - * Returns supported domains. - */ - post(method: "Schema.getDomains", callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void; - - /** - * Evaluates expression on global object. - */ - post(method: "Runtime.evaluate", params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; - post(method: "Runtime.evaluate", callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; - - /** - * Add handler to promise with given promise object id. - */ - post(method: "Runtime.awaitPromise", params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; - post(method: "Runtime.awaitPromise", callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; - - /** - * Calls function with given declaration on the given object. Object group of the result is inherited from the target object. - */ - post(method: "Runtime.callFunctionOn", params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; - post(method: "Runtime.callFunctionOn", callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; - - /** - * Returns properties of a given object. Object group of the result is inherited from the target object. - */ - post(method: "Runtime.getProperties", params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; - post(method: "Runtime.getProperties", callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; - - /** - * Releases remote object with given id. - */ - post(method: "Runtime.releaseObject", params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void; - post(method: "Runtime.releaseObject", callback?: (err: Error | null) => void): void; - - /** - * Releases all remote objects that belong to a given group. - */ - post(method: "Runtime.releaseObjectGroup", params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void; - post(method: "Runtime.releaseObjectGroup", callback?: (err: Error | null) => void): void; - - /** - * Tells inspected instance to run if it was waiting for debugger to attach. - */ - post(method: "Runtime.runIfWaitingForDebugger", callback?: (err: Error | null) => void): void; - - /** - * Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context. - */ - post(method: "Runtime.enable", callback?: (err: Error | null) => void): void; - - /** - * Disables reporting of execution contexts creation. - */ - post(method: "Runtime.disable", callback?: (err: Error | null) => void): void; - - /** - * Discards collected exceptions and console API calls. - */ - post(method: "Runtime.discardConsoleEntries", callback?: (err: Error | null) => void): void; - - /** - * @experimental - */ - post(method: "Runtime.setCustomObjectFormatterEnabled", params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void; - post(method: "Runtime.setCustomObjectFormatterEnabled", callback?: (err: Error | null) => void): void; - - /** - * Compiles expression. - */ - post(method: "Runtime.compileScript", params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; - post(method: "Runtime.compileScript", callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; - - /** - * Runs script with given id in a given context. - */ - post(method: "Runtime.runScript", params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; - post(method: "Runtime.runScript", callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; - - post(method: "Runtime.queryObjects", params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; - post(method: "Runtime.queryObjects", callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; - - /** - * Returns all let, const and class variables from global scope. - */ - post( - method: "Runtime.globalLexicalScopeNames", - params?: Runtime.GlobalLexicalScopeNamesParameterType, - callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void - ): void; - post(method: "Runtime.globalLexicalScopeNames", callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void; - - /** - * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received. - */ - post(method: "Debugger.enable", callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void; - - /** - * Disables debugger for given page. - */ - post(method: "Debugger.disable", callback?: (err: Error | null) => void): void; - - /** - * Activates / deactivates all breakpoints on the page. - */ - post(method: "Debugger.setBreakpointsActive", params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setBreakpointsActive", callback?: (err: Error | null) => void): void; - - /** - * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc). - */ - post(method: "Debugger.setSkipAllPauses", params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setSkipAllPauses", callback?: (err: Error | null) => void): void; - - /** - * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads. - */ - post(method: "Debugger.setBreakpointByUrl", params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; - post(method: "Debugger.setBreakpointByUrl", callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; - - /** - * Sets JavaScript breakpoint at a given location. - */ - post(method: "Debugger.setBreakpoint", params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; - post(method: "Debugger.setBreakpoint", callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; - - /** - * Removes JavaScript breakpoint. - */ - post(method: "Debugger.removeBreakpoint", params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.removeBreakpoint", callback?: (err: Error | null) => void): void; - - /** - * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same. - */ - post( - method: "Debugger.getPossibleBreakpoints", - params?: Debugger.GetPossibleBreakpointsParameterType, - callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void - ): void; - post(method: "Debugger.getPossibleBreakpoints", callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void; - - /** - * Continues execution until specific location is reached. - */ - post(method: "Debugger.continueToLocation", params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.continueToLocation", callback?: (err: Error | null) => void): void; - - /** - * @experimental - */ - post(method: "Debugger.pauseOnAsyncCall", params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.pauseOnAsyncCall", callback?: (err: Error | null) => void): void; - - /** - * Steps over the statement. - */ - post(method: "Debugger.stepOver", callback?: (err: Error | null) => void): void; - - /** - * Steps into the function call. - */ - post(method: "Debugger.stepInto", params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.stepInto", callback?: (err: Error | null) => void): void; - - /** - * Steps out of the function call. - */ - post(method: "Debugger.stepOut", callback?: (err: Error | null) => void): void; - - /** - * Stops on the next JavaScript statement. - */ - post(method: "Debugger.pause", callback?: (err: Error | null) => void): void; - - /** - * This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called. - * @experimental - */ - post(method: "Debugger.scheduleStepIntoAsync", callback?: (err: Error | null) => void): void; - - /** - * Resumes JavaScript execution. - */ - post(method: "Debugger.resume", callback?: (err: Error | null) => void): void; - - /** - * Returns stack trace with given stackTraceId. - * @experimental - */ - post(method: "Debugger.getStackTrace", params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; - post(method: "Debugger.getStackTrace", callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; - - /** - * Searches for given string in script content. - */ - post(method: "Debugger.searchInContent", params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; - post(method: "Debugger.searchInContent", callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; - - /** - * Edits JavaScript source live. - */ - post(method: "Debugger.setScriptSource", params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; - post(method: "Debugger.setScriptSource", callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; - - /** - * Restarts particular call frame from the beginning. - */ - post(method: "Debugger.restartFrame", params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; - post(method: "Debugger.restartFrame", callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; - - /** - * Returns source for the script with given id. - */ - post(method: "Debugger.getScriptSource", params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; - post(method: "Debugger.getScriptSource", callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; - - /** - * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none. - */ - post(method: "Debugger.setPauseOnExceptions", params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setPauseOnExceptions", callback?: (err: Error | null) => void): void; - - /** - * Evaluates expression on a given call frame. - */ - post(method: "Debugger.evaluateOnCallFrame", params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; - post(method: "Debugger.evaluateOnCallFrame", callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; - - /** - * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually. - */ - post(method: "Debugger.setVariableValue", params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setVariableValue", callback?: (err: Error | null) => void): void; - - /** - * Changes return value in top frame. Available only at return break position. - * @experimental - */ - post(method: "Debugger.setReturnValue", params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setReturnValue", callback?: (err: Error | null) => void): void; - - /** - * Enables or disables async call stacks tracking. - */ - post(method: "Debugger.setAsyncCallStackDepth", params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setAsyncCallStackDepth", callback?: (err: Error | null) => void): void; - - /** - * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. - * @experimental - */ - post(method: "Debugger.setBlackboxPatterns", params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setBlackboxPatterns", callback?: (err: Error | null) => void): void; - - /** - * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. - * @experimental - */ - post(method: "Debugger.setBlackboxedRanges", params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setBlackboxedRanges", callback?: (err: Error | null) => void): void; - - /** - * Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification. - */ - post(method: "Console.enable", callback?: (err: Error | null) => void): void; - - /** - * Disables console domain, prevents further console messages from being reported to the client. - */ - post(method: "Console.disable", callback?: (err: Error | null) => void): void; - - /** - * Does nothing. - */ - post(method: "Console.clearMessages", callback?: (err: Error | null) => void): void; - - post(method: "Profiler.enable", callback?: (err: Error | null) => void): void; - - post(method: "Profiler.disable", callback?: (err: Error | null) => void): void; - - /** - * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. - */ - post(method: "Profiler.setSamplingInterval", params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void; - post(method: "Profiler.setSamplingInterval", callback?: (err: Error | null) => void): void; - - post(method: "Profiler.start", callback?: (err: Error | null) => void): void; - - post(method: "Profiler.stop", callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void; - - /** - * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. - */ - post(method: "Profiler.startPreciseCoverage", params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void; - post(method: "Profiler.startPreciseCoverage", callback?: (err: Error | null) => void): void; - - /** - * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. - */ - post(method: "Profiler.stopPreciseCoverage", callback?: (err: Error | null) => void): void; - - /** - * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. - */ - post(method: "Profiler.takePreciseCoverage", callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void; - - /** - * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. - */ - post(method: "Profiler.getBestEffortCoverage", callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void; - - /** - * Enable type profile. - * @experimental - */ - post(method: "Profiler.startTypeProfile", callback?: (err: Error | null) => void): void; - - /** - * Disable type profile. Disabling releases type profile data collected so far. - * @experimental - */ - post(method: "Profiler.stopTypeProfile", callback?: (err: Error | null) => void): void; - - /** - * Collect type profile. - * @experimental - */ - post(method: "Profiler.takeTypeProfile", callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void; - - post(method: "HeapProfiler.enable", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.disable", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.startTrackingHeapObjects", params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.startTrackingHeapObjects", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.stopTrackingHeapObjects", params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.stopTrackingHeapObjects", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.takeHeapSnapshot", params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.takeHeapSnapshot", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.collectGarbage", callback?: (err: Error | null) => void): void; - - post( - method: "HeapProfiler.getObjectByHeapObjectId", - params?: HeapProfiler.GetObjectByHeapObjectIdParameterType, - callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void - ): void; - post(method: "HeapProfiler.getObjectByHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void; - - /** - * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). - */ - post(method: "HeapProfiler.addInspectedHeapObject", params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.addInspectedHeapObject", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.getHeapObjectId", params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; - post(method: "HeapProfiler.getHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; - - post(method: "HeapProfiler.startSampling", params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.startSampling", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.stopSampling", callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void; - - post(method: "HeapProfiler.getSamplingProfile", callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void; - - /** - * Gets supported tracing categories. - */ - post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void; - - /** - * Start trace events collection. - */ - post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void; - - /** - * Stop trace events collection. Remaining collected events will be sent as a sequence of - * dataCollected events followed by tracingComplete event. - */ - post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void; - - /** - * Sends protocol message over session with given id. - */ - post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void; - - /** - * Instructs the inspector to attach to running workers. Will also attach to new workers - * as they start - */ - post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void; - - /** - * Detaches from all running workers and disables attaching to new workers as they are started. - */ - post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void; - - /** - * Detached from the worker with given sessionId. - */ - post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void; - - /** - * Enable the `NodeRuntime.waitingForDisconnect`. - */ - post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", callback?: (err: Error | null) => void): void; - - // Events - - addListener(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - addListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - addListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - addListener(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - addListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - addListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - addListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - addListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - addListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - addListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - addListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - addListener(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - addListener(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - addListener(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - addListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - addListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - addListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - addListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; - addListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - addListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - addListener(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - addListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "inspectorNotification", message: InspectorNotification<{}>): boolean; - emit(event: "Runtime.executionContextCreated", message: InspectorNotification): boolean; - emit(event: "Runtime.executionContextDestroyed", message: InspectorNotification): boolean; - emit(event: "Runtime.executionContextsCleared"): boolean; - emit(event: "Runtime.exceptionThrown", message: InspectorNotification): boolean; - emit(event: "Runtime.exceptionRevoked", message: InspectorNotification): boolean; - emit(event: "Runtime.consoleAPICalled", message: InspectorNotification): boolean; - emit(event: "Runtime.inspectRequested", message: InspectorNotification): boolean; - emit(event: "Debugger.scriptParsed", message: InspectorNotification): boolean; - emit(event: "Debugger.scriptFailedToParse", message: InspectorNotification): boolean; - emit(event: "Debugger.breakpointResolved", message: InspectorNotification): boolean; - emit(event: "Debugger.paused", message: InspectorNotification): boolean; - emit(event: "Debugger.resumed"): boolean; - emit(event: "Console.messageAdded", message: InspectorNotification): boolean; - emit(event: "Profiler.consoleProfileStarted", message: InspectorNotification): boolean; - emit(event: "Profiler.consoleProfileFinished", message: InspectorNotification): boolean; - emit(event: "HeapProfiler.addHeapSnapshotChunk", message: InspectorNotification): boolean; - emit(event: "HeapProfiler.resetProfiles"): boolean; - emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification): boolean; - emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification): boolean; - emit(event: "HeapProfiler.heapStatsUpdate", message: InspectorNotification): boolean; - emit(event: "NodeTracing.dataCollected", message: InspectorNotification): boolean; - emit(event: "NodeTracing.tracingComplete"): boolean; - emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification): boolean; - emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification): boolean; - emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification): boolean; - emit(event: "NodeRuntime.waitingForDisconnect"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - on(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - on(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - on(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - on(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - on(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - on(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - on(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - on(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - on(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - on(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - on(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - on(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - on(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - on(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - on(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - on(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - on(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - on(event: "HeapProfiler.resetProfiles", listener: () => void): this; - on(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - on(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - on(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - on(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - once(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - once(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - once(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - once(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - once(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - once(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - once(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - once(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - once(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - once(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - once(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - once(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - once(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - once(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - once(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - once(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - once(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - once(event: "HeapProfiler.resetProfiles", listener: () => void): this; - once(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - once(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - once(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - once(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - prependListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - prependListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - prependListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - prependListener(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - prependListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - prependListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - prependListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - prependListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - prependListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - prependListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - prependListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - prependListener(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - prependListener(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - prependListener(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - prependListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - prependListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - prependListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - prependListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; - prependListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - prependListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - prependListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - prependOnceListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - prependOnceListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - prependOnceListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - prependOnceListener(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - prependOnceListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - prependOnceListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - prependOnceListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - prependOnceListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - prependOnceListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - prependOnceListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - prependOnceListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - prependOnceListener(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - prependOnceListener(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - prependOnceListener(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - prependOnceListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - prependOnceListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; - prependOnceListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - prependOnceListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - prependOnceListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - } - - // Top Level API - - /** - * Activate inspector on host and port. Equivalent to node --inspect=[[host:]port], but can be done programatically after node has started. - * If wait is true, will block until a client has connected to the inspect port and flow control has been passed to the debugger client. - * @param port Port to listen on for inspector connections. Optional, defaults to what was specified on the CLI. - * @param host Host to listen on for inspector connections. Optional, defaults to what was specified on the CLI. - * @param wait Block until a client has connected. Optional, defaults to false. - */ - function open(port?: number, host?: string, wait?: boolean): void; - - /** - * Deactivate the inspector. Blocks until there are no active connections. - */ - function close(): void; - - /** - * Return the URL of the active inspector, or `undefined` if there is none. - */ - function url(): string | undefined; - - /** - * Blocks until a client (existing or connected later) has sent - * `Runtime.runIfWaitingForDebugger` command. - * An exception will be thrown if there is no active inspector. - */ - function waitForDebugger(): void; -} diff --git a/node_modules/@types/node/module.d.ts b/node_modules/@types/node/module.d.ts deleted file mode 100644 index ffb4a6eefb..0000000000 --- a/node_modules/@types/node/module.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare module "module" { - import { URL } from "url"; - namespace Module { - /** - * Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports. - * It does not add or remove exported names from the ES Modules. - */ - function syncBuiltinESMExports(): void; - - function findSourceMap(path: string, error?: Error): SourceMap; - interface SourceMapPayload { - file: string; - version: number; - sources: string[]; - sourcesContent: string[]; - names: string[]; - mappings: string; - sourceRoot: string; - } - - interface SourceMapping { - generatedLine: number; - generatedColumn: number; - originalSource: string; - originalLine: number; - originalColumn: number; - } - - class SourceMap { - readonly payload: SourceMapPayload; - constructor(payload: SourceMapPayload); - findEntry(line: number, column: number): SourceMapping; - } - } - interface Module extends NodeModule {} - class Module { - static runMain(): void; - static wrap(code: string): string; - - /** - * @deprecated Deprecated since: v12.2.0. Please use createRequire() instead. - */ - static createRequireFromPath(path: string): NodeRequire; - static createRequire(path: string | URL): NodeRequire; - static builtinModules: string[]; - - static Module: typeof Module; - - constructor(id: string, parent?: Module); - } - export = Module; -} diff --git a/node_modules/@types/node/net.d.ts b/node_modules/@types/node/net.d.ts deleted file mode 100644 index c45aaa257d..0000000000 --- a/node_modules/@types/node/net.d.ts +++ /dev/null @@ -1,268 +0,0 @@ -declare module "net" { - import * as stream from "stream"; - import * as events from "events"; - import * as dns from "dns"; - - type LookupFunction = (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void; - - interface AddressInfo { - address: string; - family: string; - port: number; - } - - interface SocketConstructorOpts { - fd?: number; - allowHalfOpen?: boolean; - readable?: boolean; - writable?: boolean; - } - - interface OnReadOpts { - buffer: Uint8Array | (() => Uint8Array); - /** - * This function is called for every chunk of incoming data. - * Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer. - * Return false from this function to implicitly pause() the socket. - */ - callback(bytesWritten: number, buf: Uint8Array): boolean; - } - - interface ConnectOpts { - /** - * If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. - * Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will - * still be emitted as normal and methods like pause() and resume() will also behave as expected. - */ - onread?: OnReadOpts; - } - - interface TcpSocketConnectOpts extends ConnectOpts { - port: number; - host?: string; - localAddress?: string; - localPort?: number; - hints?: number; - family?: number; - lookup?: LookupFunction; - } - - interface IpcSocketConnectOpts extends ConnectOpts { - path: string; - } - - type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts; - - class Socket extends stream.Duplex { - constructor(options?: SocketConstructorOpts); - - // Extended base methods - write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean; - write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean; - - connect(options: SocketConnectOpts, connectionListener?: () => void): this; - connect(port: number, host: string, connectionListener?: () => void): this; - connect(port: number, connectionListener?: () => void): this; - connect(path: string, connectionListener?: () => void): this; - - setEncoding(encoding?: BufferEncoding): this; - pause(): this; - resume(): this; - setTimeout(timeout: number, callback?: () => void): this; - setNoDelay(noDelay?: boolean): this; - setKeepAlive(enable?: boolean, initialDelay?: number): this; - address(): AddressInfo | string; - unref(): this; - ref(): this; - - readonly bufferSize: number; - readonly bytesRead: number; - readonly bytesWritten: number; - readonly connecting: boolean; - readonly destroyed: boolean; - readonly localAddress: string; - readonly localPort: number; - readonly remoteAddress?: string; - readonly remoteFamily?: string; - readonly remotePort?: number; - - // Extended base methods - end(cb?: () => void): void; - end(buffer: Uint8Array | string, cb?: () => void): void; - end(str: Uint8Array | string, encoding?: BufferEncoding, cb?: () => void): void; - - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. data - * 4. drain - * 5. end - * 6. error - * 7. lookup - * 8. timeout - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: (had_error: boolean) => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "data", listener: (data: Buffer) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - addListener(event: "timeout", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close", had_error: boolean): boolean; - emit(event: "connect"): boolean; - emit(event: "data", data: Buffer): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean; - emit(event: "timeout"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: (had_error: boolean) => void): this; - on(event: "connect", listener: () => void): this; - on(event: "data", listener: (data: Buffer) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - on(event: "timeout", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: (had_error: boolean) => void): this; - once(event: "connect", listener: () => void): this; - once(event: "data", listener: (data: Buffer) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - once(event: "timeout", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: (had_error: boolean) => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "data", listener: (data: Buffer) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - prependListener(event: "timeout", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: (had_error: boolean) => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "data", listener: (data: Buffer) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - } - - interface ListenOptions { - port?: number; - host?: string; - backlog?: number; - path?: string; - exclusive?: boolean; - readableAll?: boolean; - writableAll?: boolean; - /** - * @default false - */ - ipv6Only?: boolean; - } - - // https://github.com/nodejs/node/blob/master/lib/net.js - class Server extends events.EventEmitter { - constructor(connectionListener?: (socket: Socket) => void); - constructor(options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean }, connectionListener?: (socket: Socket) => void); - - listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this; - listen(port?: number, hostname?: string, listeningListener?: () => void): this; - listen(port?: number, backlog?: number, listeningListener?: () => void): this; - listen(port?: number, listeningListener?: () => void): this; - listen(path: string, backlog?: number, listeningListener?: () => void): this; - listen(path: string, listeningListener?: () => void): this; - listen(options: ListenOptions, listeningListener?: () => void): this; - listen(handle: any, backlog?: number, listeningListener?: () => void): this; - listen(handle: any, listeningListener?: () => void): this; - close(callback?: (err?: Error) => void): this; - address(): AddressInfo | string | null; - getConnections(cb: (error: Error | null, count: number) => void): void; - ref(): this; - unref(): this; - maxConnections: number; - connections: number; - listening: boolean; - - /** - * events.EventEmitter - * 1. close - * 2. connection - * 3. error - * 4. listening - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Socket) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Socket): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Socket) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Socket) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Socket) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - } - - interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts { - timeout?: number; - } - - interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts { - timeout?: number; - } - - type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts; - - function createServer(connectionListener?: (socket: Socket) => void): Server; - function createServer(options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean }, connectionListener?: (socket: Socket) => void): Server; - function connect(options: NetConnectOpts, connectionListener?: () => void): Socket; - function connect(port: number, host?: string, connectionListener?: () => void): Socket; - function connect(path: string, connectionListener?: () => void): Socket; - function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket; - function createConnection(port: number, host?: string, connectionListener?: () => void): Socket; - function createConnection(path: string, connectionListener?: () => void): Socket; - function isIP(input: string): number; - function isIPv4(input: string): boolean; - function isIPv6(input: string): boolean; -} diff --git a/node_modules/@types/node/os.d.ts b/node_modules/@types/node/os.d.ts deleted file mode 100644 index 1aadc68e22..0000000000 --- a/node_modules/@types/node/os.d.ts +++ /dev/null @@ -1,239 +0,0 @@ -declare module "os" { - interface CpuInfo { - model: string; - speed: number; - times: { - user: number; - nice: number; - sys: number; - idle: number; - irq: number; - }; - } - - interface NetworkInterfaceBase { - address: string; - netmask: string; - mac: string; - internal: boolean; - cidr: string | null; - } - - interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase { - family: "IPv4"; - } - - interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase { - family: "IPv6"; - scopeid: number; - } - - interface UserInfo { - username: T; - uid: number; - gid: number; - shell: T; - homedir: T; - } - - type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6; - - function hostname(): string; - function loadavg(): number[]; - function uptime(): number; - function freemem(): number; - function totalmem(): number; - function cpus(): CpuInfo[]; - function type(): string; - function release(): string; - function networkInterfaces(): NodeJS.Dict; - function homedir(): string; - function userInfo(options: { encoding: 'buffer' }): UserInfo; - function userInfo(options?: { encoding: BufferEncoding }): UserInfo; - - type SignalConstants = { - [key in NodeJS.Signals]: number; - }; - - namespace constants { - const UV_UDP_REUSEADDR: number; - namespace signals {} - const signals: SignalConstants; - namespace errno { - const E2BIG: number; - const EACCES: number; - const EADDRINUSE: number; - const EADDRNOTAVAIL: number; - const EAFNOSUPPORT: number; - const EAGAIN: number; - const EALREADY: number; - const EBADF: number; - const EBADMSG: number; - const EBUSY: number; - const ECANCELED: number; - const ECHILD: number; - const ECONNABORTED: number; - const ECONNREFUSED: number; - const ECONNRESET: number; - const EDEADLK: number; - const EDESTADDRREQ: number; - const EDOM: number; - const EDQUOT: number; - const EEXIST: number; - const EFAULT: number; - const EFBIG: number; - const EHOSTUNREACH: number; - const EIDRM: number; - const EILSEQ: number; - const EINPROGRESS: number; - const EINTR: number; - const EINVAL: number; - const EIO: number; - const EISCONN: number; - const EISDIR: number; - const ELOOP: number; - const EMFILE: number; - const EMLINK: number; - const EMSGSIZE: number; - const EMULTIHOP: number; - const ENAMETOOLONG: number; - const ENETDOWN: number; - const ENETRESET: number; - const ENETUNREACH: number; - const ENFILE: number; - const ENOBUFS: number; - const ENODATA: number; - const ENODEV: number; - const ENOENT: number; - const ENOEXEC: number; - const ENOLCK: number; - const ENOLINK: number; - const ENOMEM: number; - const ENOMSG: number; - const ENOPROTOOPT: number; - const ENOSPC: number; - const ENOSR: number; - const ENOSTR: number; - const ENOSYS: number; - const ENOTCONN: number; - const ENOTDIR: number; - const ENOTEMPTY: number; - const ENOTSOCK: number; - const ENOTSUP: number; - const ENOTTY: number; - const ENXIO: number; - const EOPNOTSUPP: number; - const EOVERFLOW: number; - const EPERM: number; - const EPIPE: number; - const EPROTO: number; - const EPROTONOSUPPORT: number; - const EPROTOTYPE: number; - const ERANGE: number; - const EROFS: number; - const ESPIPE: number; - const ESRCH: number; - const ESTALE: number; - const ETIME: number; - const ETIMEDOUT: number; - const ETXTBSY: number; - const EWOULDBLOCK: number; - const EXDEV: number; - const WSAEINTR: number; - const WSAEBADF: number; - const WSAEACCES: number; - const WSAEFAULT: number; - const WSAEINVAL: number; - const WSAEMFILE: number; - const WSAEWOULDBLOCK: number; - const WSAEINPROGRESS: number; - const WSAEALREADY: number; - const WSAENOTSOCK: number; - const WSAEDESTADDRREQ: number; - const WSAEMSGSIZE: number; - const WSAEPROTOTYPE: number; - const WSAENOPROTOOPT: number; - const WSAEPROTONOSUPPORT: number; - const WSAESOCKTNOSUPPORT: number; - const WSAEOPNOTSUPP: number; - const WSAEPFNOSUPPORT: number; - const WSAEAFNOSUPPORT: number; - const WSAEADDRINUSE: number; - const WSAEADDRNOTAVAIL: number; - const WSAENETDOWN: number; - const WSAENETUNREACH: number; - const WSAENETRESET: number; - const WSAECONNABORTED: number; - const WSAECONNRESET: number; - const WSAENOBUFS: number; - const WSAEISCONN: number; - const WSAENOTCONN: number; - const WSAESHUTDOWN: number; - const WSAETOOMANYREFS: number; - const WSAETIMEDOUT: number; - const WSAECONNREFUSED: number; - const WSAELOOP: number; - const WSAENAMETOOLONG: number; - const WSAEHOSTDOWN: number; - const WSAEHOSTUNREACH: number; - const WSAENOTEMPTY: number; - const WSAEPROCLIM: number; - const WSAEUSERS: number; - const WSAEDQUOT: number; - const WSAESTALE: number; - const WSAEREMOTE: number; - const WSASYSNOTREADY: number; - const WSAVERNOTSUPPORTED: number; - const WSANOTINITIALISED: number; - const WSAEDISCON: number; - const WSAENOMORE: number; - const WSAECANCELLED: number; - const WSAEINVALIDPROCTABLE: number; - const WSAEINVALIDPROVIDER: number; - const WSAEPROVIDERFAILEDINIT: number; - const WSASYSCALLFAILURE: number; - const WSASERVICE_NOT_FOUND: number; - const WSATYPE_NOT_FOUND: number; - const WSA_E_NO_MORE: number; - const WSA_E_CANCELLED: number; - const WSAEREFUSED: number; - } - namespace priority { - const PRIORITY_LOW: number; - const PRIORITY_BELOW_NORMAL: number; - const PRIORITY_NORMAL: number; - const PRIORITY_ABOVE_NORMAL: number; - const PRIORITY_HIGH: number; - const PRIORITY_HIGHEST: number; - } - } - - function arch(): string; - /** - * Returns a string identifying the kernel version. - * On POSIX systems, the operating system release is determined by calling - * [uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available, - * `GetVersionExW()` will be used. See - * https://en.wikipedia.org/wiki/Uname#Examples for more information. - */ - function version(): string; - function platform(): NodeJS.Platform; - function tmpdir(): string; - const EOL: string; - function endianness(): "BE" | "LE"; - /** - * Gets the priority of a process. - * Defaults to current process. - */ - function getPriority(pid?: number): number; - /** - * Sets the priority of the current process. - * @param priority Must be in range of -20 to 19 - */ - function setPriority(priority: number): void; - /** - * Sets the priority of the process specified process. - * @param priority Must be in range of -20 to 19 - */ - function setPriority(pid: number, priority: number): void; -} diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json deleted file mode 100644 index 593deed60d..0000000000 --- a/node_modules/@types/node/package.json +++ /dev/null @@ -1,260 +0,0 @@ -{ - "name": "@types/node", - "version": "14.0.23", - "description": "TypeScript definitions for Node.js", - "license": "MIT", - "contributors": [ - { - "name": "Microsoft TypeScript", - "url": "https://github.com/Microsoft", - "githubUsername": "Microsoft" - }, - { - "name": "DefinitelyTyped", - "url": "https://github.com/DefinitelyTyped", - "githubUsername": "DefinitelyTyped" - }, - { - "name": "Alberto Schiabel", - "url": "https://github.com/jkomyno", - "githubUsername": "jkomyno" - }, - { - "name": "Alexander T.", - "url": "https://github.com/a-tarasyuk", - "githubUsername": "a-tarasyuk" - }, - { - "name": "Alvis HT Tang", - "url": "https://github.com/alvis", - "githubUsername": "alvis" - }, - { - "name": "Andrew Makarov", - "url": "https://github.com/r3nya", - "githubUsername": "r3nya" - }, - { - "name": "Benjamin Toueg", - "url": "https://github.com/btoueg", - "githubUsername": "btoueg" - }, - { - "name": "Bruno Scheufler", - "url": "https://github.com/brunoscheufler", - "githubUsername": "brunoscheufler" - }, - { - "name": "Chigozirim C.", - "url": "https://github.com/smac89", - "githubUsername": "smac89" - }, - { - "name": "David Junger", - "url": "https://github.com/touffy", - "githubUsername": "touffy" - }, - { - "name": "Deividas Bakanas", - "url": "https://github.com/DeividasBakanas", - "githubUsername": "DeividasBakanas" - }, - { - "name": "Eugene Y. Q. Shen", - "url": "https://github.com/eyqs", - "githubUsername": "eyqs" - }, - { - "name": "Flarna", - "url": "https://github.com/Flarna", - "githubUsername": "Flarna" - }, - { - "name": "Hannes Magnusson", - "url": "https://github.com/Hannes-Magnusson-CK", - "githubUsername": "Hannes-Magnusson-CK" - }, - { - "name": "Hoàng Văn Khải", - "url": "https://github.com/KSXGitHub", - "githubUsername": "KSXGitHub" - }, - { - "name": "Huw", - "url": "https://github.com/hoo29", - "githubUsername": "hoo29" - }, - { - "name": "Kelvin Jin", - "url": "https://github.com/kjin", - "githubUsername": "kjin" - }, - { - "name": "Klaus Meinhardt", - "url": "https://github.com/ajafff", - "githubUsername": "ajafff" - }, - { - "name": "Lishude", - "url": "https://github.com/islishude", - "githubUsername": "islishude" - }, - { - "name": "Mariusz Wiktorczyk", - "url": "https://github.com/mwiktorczyk", - "githubUsername": "mwiktorczyk" - }, - { - "name": "Mohsen Azimi", - "url": "https://github.com/mohsen1", - "githubUsername": "mohsen1" - }, - { - "name": "Nicolas Even", - "url": "https://github.com/n-e", - "githubUsername": "n-e" - }, - { - "name": "Nicolas Voigt", - "url": "https://github.com/octo-sniffle", - "githubUsername": "octo-sniffle" - }, - { - "name": "Nikita Galkin", - "url": "https://github.com/galkin", - "githubUsername": "galkin" - }, - { - "name": "Parambir Singh", - "url": "https://github.com/parambirs", - "githubUsername": "parambirs" - }, - { - "name": "Sebastian Silbermann", - "url": "https://github.com/eps1lon", - "githubUsername": "eps1lon" - }, - { - "name": "Simon Schick", - "url": "https://github.com/SimonSchick", - "githubUsername": "SimonSchick" - }, - { - "name": "Thomas den Hollander", - "url": "https://github.com/ThomasdenH", - "githubUsername": "ThomasdenH" - }, - { - "name": "Wilco Bakker", - "url": "https://github.com/WilcoBakker", - "githubUsername": "WilcoBakker" - }, - { - "name": "wwwy3y3", - "url": "https://github.com/wwwy3y3", - "githubUsername": "wwwy3y3" - }, - { - "name": "Samuel Ainsworth", - "url": "https://github.com/samuela", - "githubUsername": "samuela" - }, - { - "name": "Kyle Uehlein", - "url": "https://github.com/kuehlein", - "githubUsername": "kuehlein" - }, - { - "name": "Jordi Oliveras Rovira", - "url": "https://github.com/j-oliveras", - "githubUsername": "j-oliveras" - }, - { - "name": "Thanik Bhongbhibhat", - "url": "https://github.com/bhongy", - "githubUsername": "bhongy" - }, - { - "name": "Marcin Kopacz", - "url": "https://github.com/chyzwar", - "githubUsername": "chyzwar" - }, - { - "name": "Trivikram Kamat", - "url": "https://github.com/trivikr", - "githubUsername": "trivikr" - }, - { - "name": "Minh Son Nguyen", - "url": "https://github.com/nguymin4", - "githubUsername": "nguymin4" - }, - { - "name": "Junxiao Shi", - "url": "https://github.com/yoursunny", - "githubUsername": "yoursunny" - }, - { - "name": "Ilia Baryshnikov", - "url": "https://github.com/qwelias", - "githubUsername": "qwelias" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss", - "githubUsername": "ExE-Boss" - }, - { - "name": "Surasak Chaisurin", - "url": "https://github.com/Ryan-Willpower", - "githubUsername": "Ryan-Willpower" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz", - "githubUsername": "peterblazejewicz" - }, - { - "name": "Anna Henningsen", - "url": "https://github.com/addaleax", - "githubUsername": "addaleax" - }, - { - "name": "Jason Kwok", - "url": "https://github.com/JasonHK", - "githubUsername": "JasonHK" - } - ], - "main": "", - "types": "index.d.ts", - "typesVersions": { - ">=3.7.0-0": { - "*": [ - "ts3.7/*" - ] - }, - ">=3.5.0-0": { - "*": [ - "ts3.5/*" - ] - }, - ">=3.2.0-0": { - "*": [ - "ts3.2/*" - ] - } - }, - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/node" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "804cf921ce926d59cd60cf46be4e11bfc4fcb82f51e61daec706fb27bd4db0ba", - "typeScriptVersion": "3.0" - -,"_resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.23.tgz" -,"_integrity": "sha512-Z4U8yDAl5TFkmYsZdFPdjeMa57NOvnaf1tljHzhouaPEp7LCj2JKkejpI1ODviIAQuW4CcQmxkQ77rnLsOOoKw==" -,"_from": "@types/node@14.0.23" -} \ No newline at end of file diff --git a/node_modules/@types/node/path.d.ts b/node_modules/@types/node/path.d.ts deleted file mode 100644 index 0273d58ea0..0000000000 --- a/node_modules/@types/node/path.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -declare module "path" { - namespace path { - /** - * A parsed path object generated by path.parse() or consumed by path.format(). - */ - interface ParsedPath { - /** - * The root of the path such as '/' or 'c:\' - */ - root: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base: string; - /** - * The file extension (if any) such as '.html' - */ - ext: string; - /** - * The file name without extension (if any) such as 'index' - */ - name: string; - } - - interface FormatInputPathObject { - /** - * The root of the path such as '/' or 'c:\' - */ - root?: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir?: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base?: string; - /** - * The file extension (if any) such as '.html' - */ - ext?: string; - /** - * The file name without extension (if any) such as 'index' - */ - name?: string; - } - - interface PlatformPath { - /** - * Normalize a string path, reducing '..' and '.' parts. - * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. - * - * @param p string path to normalize. - */ - normalize(p: string): string; - /** - * Join all arguments together and normalize the resulting path. - * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. - * - * @param paths paths to join. - */ - join(...paths: string[]): string; - /** - * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. - * - * Starting from leftmost {from} parameter, resolves {to} to an absolute path. - * - * If {to} isn't already absolute, {from} arguments are prepended in right to left order, - * until an absolute path is found. If after using all {from} paths still no absolute path is found, - * the current working directory is used as well. The resulting path is normalized, - * and trailing slashes are removed unless the path gets resolved to the root directory. - * - * @param pathSegments string paths to join. Non-string arguments are ignored. - */ - resolve(...pathSegments: string[]): string; - /** - * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. - * - * @param path path to test. - */ - isAbsolute(p: string): boolean; - /** - * Solve the relative path from {from} to {to}. - * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. - */ - relative(from: string, to: string): string; - /** - * Return the directory name of a path. Similar to the Unix dirname command. - * - * @param p the path to evaluate. - */ - dirname(p: string): string; - /** - * Return the last portion of a path. Similar to the Unix basename command. - * Often used to extract the file name from a fully qualified path. - * - * @param p the path to evaluate. - * @param ext optionally, an extension to remove from the result. - */ - basename(p: string, ext?: string): string; - /** - * Return the extension of the path, from the last '.' to end of string in the last portion of the path. - * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string - * - * @param p the path to evaluate. - */ - extname(p: string): string; - /** - * The platform-specific file separator. '\\' or '/'. - */ - readonly sep: string; - /** - * The platform-specific file delimiter. ';' or ':'. - */ - readonly delimiter: string; - /** - * Returns an object from a path string - the opposite of format(). - * - * @param pathString path to evaluate. - */ - parse(p: string): ParsedPath; - /** - * Returns a path string from an object - the opposite of parse(). - * - * @param pathString path to evaluate. - */ - format(pP: FormatInputPathObject): string; - /** - * On Windows systems only, returns an equivalent namespace-prefixed path for the given path. - * If path is not a string, path will be returned without modifications. - * This method is meaningful only on Windows system. - * On POSIX systems, the method is non-operational and always returns path without modifications. - */ - toNamespacedPath(path: string): string; - /** - * Posix specific pathing. - * Same as parent object on posix. - */ - readonly posix: PlatformPath; - /** - * Windows specific pathing. - * Same as parent object on windows - */ - readonly win32: PlatformPath; - } - } - const path: path.PlatformPath; - export = path; -} diff --git a/node_modules/@types/node/perf_hooks.d.ts b/node_modules/@types/node/perf_hooks.d.ts deleted file mode 100644 index 363c1daf6e..0000000000 --- a/node_modules/@types/node/perf_hooks.d.ts +++ /dev/null @@ -1,321 +0,0 @@ -declare module 'perf_hooks' { - import { AsyncResource } from 'async_hooks'; - - type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http'; - - interface PerformanceEntry { - /** - * The total number of milliseconds elapsed for this entry. - * This value will not be meaningful for all Performance Entry types. - */ - readonly duration: number; - - /** - * The name of the performance entry. - */ - readonly name: string; - - /** - * The high resolution millisecond timestamp marking the starting time of the Performance Entry. - */ - readonly startTime: number; - - /** - * The type of the performance entry. - * Currently it may be one of: 'node', 'mark', 'measure', 'gc', or 'function'. - */ - readonly entryType: EntryType; - - /** - * When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies - * the type of garbage collection operation that occurred. - * See perf_hooks.constants for valid values. - */ - readonly kind?: number; - - /** - * When `performanceEntry.entryType` is equal to 'gc', the `performance.flags` - * property contains additional information about garbage collection operation. - * See perf_hooks.constants for valid values. - */ - readonly flags?: number; - } - - interface PerformanceNodeTiming extends PerformanceEntry { - /** - * The high resolution millisecond timestamp at which the Node.js process completed bootstrap. - */ - readonly bootstrapComplete: number; - - /** - * The high resolution millisecond timestamp at which cluster processing ended. - */ - readonly clusterSetupEnd: number; - - /** - * The high resolution millisecond timestamp at which cluster processing started. - */ - readonly clusterSetupStart: number; - - /** - * The high resolution millisecond timestamp at which the Node.js event loop exited. - */ - readonly loopExit: number; - - /** - * The high resolution millisecond timestamp at which the Node.js event loop started. - */ - readonly loopStart: number; - - /** - * The high resolution millisecond timestamp at which main module load ended. - */ - readonly moduleLoadEnd: number; - - /** - * The high resolution millisecond timestamp at which main module load started. - */ - readonly moduleLoadStart: number; - - /** - * The high resolution millisecond timestamp at which the Node.js process was initialized. - */ - readonly nodeStart: number; - - /** - * The high resolution millisecond timestamp at which preload module load ended. - */ - readonly preloadModuleLoadEnd: number; - - /** - * The high resolution millisecond timestamp at which preload module load started. - */ - readonly preloadModuleLoadStart: number; - - /** - * The high resolution millisecond timestamp at which third_party_main processing ended. - */ - readonly thirdPartyMainEnd: number; - - /** - * The high resolution millisecond timestamp at which third_party_main processing started. - */ - readonly thirdPartyMainStart: number; - - /** - * The high resolution millisecond timestamp at which the V8 platform was initialized. - */ - readonly v8Start: number; - } - - interface Performance { - /** - * If name is not provided, removes all PerformanceFunction objects from the Performance Timeline. - * If name is provided, removes entries with name. - * @param name - */ - clearFunctions(name?: string): void; - - /** - * If name is not provided, removes all PerformanceMark objects from the Performance Timeline. - * If name is provided, removes only the named mark. - * @param name - */ - clearMarks(name?: string): void; - - /** - * If name is not provided, removes all PerformanceMeasure objects from the Performance Timeline. - * If name is provided, removes only objects whose performanceEntry.name matches name. - */ - clearMeasures(name?: string): void; - - /** - * Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime. - * @return list of all PerformanceEntry objects - */ - getEntries(): PerformanceEntry[]; - - /** - * Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime - * whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type. - * @param name - * @param type - * @return list of all PerformanceEntry objects - */ - getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; - - /** - * Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime - * whose performanceEntry.entryType is equal to type. - * @param type - * @return list of all PerformanceEntry objects - */ - getEntriesByType(type: EntryType): PerformanceEntry[]; - - /** - * Creates a new PerformanceMark entry in the Performance Timeline. - * A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark', - * and whose performanceEntry.duration is always 0. - * Performance marks are used to mark specific significant moments in the Performance Timeline. - * @param name - */ - mark(name?: string): void; - - /** - * Creates a new PerformanceMeasure entry in the Performance Timeline. - * A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure', - * and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark. - * - * The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify - * any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist, - * then startMark is set to timeOrigin by default. - * - * The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp - * properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown. - * @param name - * @param startMark - * @param endMark - */ - measure(name: string, startMark: string, endMark: string): void; - - /** - * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones. - */ - readonly nodeTiming: PerformanceNodeTiming; - - /** - * @return the current high resolution millisecond timestamp - */ - now(): number; - - /** - * The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured. - */ - readonly timeOrigin: number; - - /** - * Wraps a function within a new function that measures the running time of the wrapped function. - * A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed. - * @param fn - */ - timerify any>(fn: T): T; - } - - interface PerformanceObserverEntryList { - /** - * @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime. - */ - getEntries(): PerformanceEntry[]; - - /** - * @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime - * whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type. - */ - getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; - - /** - * @return Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime - * whose performanceEntry.entryType is equal to type. - */ - getEntriesByType(type: EntryType): PerformanceEntry[]; - } - - type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void; - - class PerformanceObserver extends AsyncResource { - constructor(callback: PerformanceObserverCallback); - - /** - * Disconnects the PerformanceObserver instance from all notifications. - */ - disconnect(): void; - - /** - * Subscribes the PerformanceObserver instance to notifications of new PerformanceEntry instances identified by options.entryTypes. - * When options.buffered is false, the callback will be invoked once for every PerformanceEntry instance. - * Property buffered defaults to false. - * @param options - */ - observe(options: { entryTypes: EntryType[]; buffered?: boolean }): void; - } - - namespace constants { - const NODE_PERFORMANCE_GC_MAJOR: number; - const NODE_PERFORMANCE_GC_MINOR: number; - const NODE_PERFORMANCE_GC_INCREMENTAL: number; - const NODE_PERFORMANCE_GC_WEAKCB: number; - - const NODE_PERFORMANCE_GC_FLAGS_NO: number; - const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number; - const NODE_PERFORMANCE_GC_FLAGS_FORCED: number; - const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number; - const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number; - const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number; - const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number; - } - - const performance: Performance; - - interface EventLoopMonitorOptions { - /** - * The sampling rate in milliseconds. - * Must be greater than zero. - * @default 10 - */ - resolution?: number; - } - - interface EventLoopDelayMonitor { - /** - * Enables the event loop delay sample timer. Returns `true` if the timer was started, `false` if it was already started. - */ - enable(): boolean; - /** - * Disables the event loop delay sample timer. Returns `true` if the timer was stopped, `false` if it was already stopped. - */ - disable(): boolean; - - /** - * Resets the collected histogram data. - */ - reset(): void; - - /** - * Returns the value at the given percentile. - * @param percentile A percentile value between 1 and 100. - */ - percentile(percentile: number): number; - - /** - * A `Map` object detailing the accumulated percentile distribution. - */ - readonly percentiles: Map; - - /** - * The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold. - */ - readonly exceeds: number; - - /** - * The minimum recorded event loop delay. - */ - readonly min: number; - - /** - * The maximum recorded event loop delay. - */ - readonly max: number; - - /** - * The mean of the recorded event loop delays. - */ - readonly mean: number; - - /** - * The standard deviation of the recorded event loop delays. - */ - readonly stddev: number; - } - - function monitorEventLoopDelay(options?: EventLoopMonitorOptions): EventLoopDelayMonitor; -} diff --git a/node_modules/@types/node/process.d.ts b/node_modules/@types/node/process.d.ts deleted file mode 100644 index 60301fbcec..0000000000 --- a/node_modules/@types/node/process.d.ts +++ /dev/null @@ -1,397 +0,0 @@ -declare module "process" { - import * as tty from "tty"; - - global { - var process: NodeJS.Process; - - namespace NodeJS { - // this namespace merge is here because these are specifically used - // as the type for process.stdin, process.stdout, and process.stderr. - // they can't live in tty.d.ts because we need to disambiguate the imported name. - interface ReadStream extends tty.ReadStream {} - interface WriteStream extends tty.WriteStream {} - - interface MemoryUsage { - rss: number; - heapTotal: number; - heapUsed: number; - external: number; - arrayBuffers: number; - } - - interface CpuUsage { - user: number; - system: number; - } - - interface ProcessRelease { - name: string; - sourceUrl?: string; - headersUrl?: string; - libUrl?: string; - lts?: string; - } - - interface ProcessVersions { - http_parser: string; - node: string; - v8: string; - ares: string; - uv: string; - zlib: string; - modules: string; - openssl: string; - } - - type Platform = 'aix' - | 'android' - | 'darwin' - | 'freebsd' - | 'linux' - | 'openbsd' - | 'sunos' - | 'win32' - | 'cygwin' - | 'netbsd'; - - type Signals = - "SIGABRT" | "SIGALRM" | "SIGBUS" | "SIGCHLD" | "SIGCONT" | "SIGFPE" | "SIGHUP" | "SIGILL" | "SIGINT" | "SIGIO" | - "SIGIOT" | "SIGKILL" | "SIGPIPE" | "SIGPOLL" | "SIGPROF" | "SIGPWR" | "SIGQUIT" | "SIGSEGV" | "SIGSTKFLT" | - "SIGSTOP" | "SIGSYS" | "SIGTERM" | "SIGTRAP" | "SIGTSTP" | "SIGTTIN" | "SIGTTOU" | "SIGUNUSED" | "SIGURG" | - "SIGUSR1" | "SIGUSR2" | "SIGVTALRM" | "SIGWINCH" | "SIGXCPU" | "SIGXFSZ" | "SIGBREAK" | "SIGLOST" | "SIGINFO"; - - type MultipleResolveType = 'resolve' | 'reject'; - - type BeforeExitListener = (code: number) => void; - type DisconnectListener = () => void; - type ExitListener = (code: number) => void; - type RejectionHandledListener = (promise: Promise) => void; - type UncaughtExceptionListener = (error: Error) => void; - type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise) => void; - type WarningListener = (warning: Error) => void; - type MessageListener = (message: any, sendHandle: any) => void; - type SignalsListener = (signal: Signals) => void; - type NewListenerListener = (type: string | symbol, listener: (...args: any[]) => void) => void; - type RemoveListenerListener = (type: string | symbol, listener: (...args: any[]) => void) => void; - type MultipleResolveListener = (type: MultipleResolveType, promise: Promise, value: any) => void; - - interface Socket extends ReadWriteStream { - isTTY?: true; - } - - // Alias for compatibility - interface ProcessEnv extends Dict {} - - interface HRTime { - (time?: [number, number]): [number, number]; - } - - interface ProcessReport { - /** - * Directory where the report is written. - * working directory of the Node.js process. - * @default '' indicating that reports are written to the current - */ - directory: string; - - /** - * Filename where the report is written. - * The default value is the empty string. - * @default '' the output filename will be comprised of a timestamp, - * PID, and sequence number. - */ - filename: string; - - /** - * Returns a JSON-formatted diagnostic report for the running process. - * The report's JavaScript stack trace is taken from err, if present. - */ - getReport(err?: Error): string; - - /** - * If true, a diagnostic report is generated on fatal errors, - * such as out of memory errors or failed C++ assertions. - * @default false - */ - reportOnFatalError: boolean; - - /** - * If true, a diagnostic report is generated when the process - * receives the signal specified by process.report.signal. - * @defaul false - */ - reportOnSignal: boolean; - - /** - * If true, a diagnostic report is generated on uncaught exception. - * @default false - */ - reportOnUncaughtException: boolean; - - /** - * The signal used to trigger the creation of a diagnostic report. - * @default 'SIGUSR2' - */ - signal: Signals; - - /** - * Writes a diagnostic report to a file. If filename is not provided, the default filename - * includes the date, time, PID, and a sequence number. - * The report's JavaScript stack trace is taken from err, if present. - * - * @param fileName Name of the file where the report is written. - * This should be a relative path, that will be appended to the directory specified in - * `process.report.directory`, or the current working directory of the Node.js process, - * if unspecified. - * @param error A custom error used for reporting the JavaScript stack. - * @return Filename of the generated report. - */ - writeReport(fileName?: string): string; - writeReport(error?: Error): string; - writeReport(fileName?: string, err?: Error): string; - } - - interface ResourceUsage { - fsRead: number; - fsWrite: number; - involuntaryContextSwitches: number; - ipcReceived: number; - ipcSent: number; - majorPageFault: number; - maxRSS: number; - minorPageFault: number; - sharedMemorySize: number; - signalsCount: number; - swappedOut: number; - systemCPUTime: number; - unsharedDataSize: number; - unsharedStackSize: number; - userCPUTime: number; - voluntaryContextSwitches: number; - } - - interface Process extends EventEmitter { - /** - * Can also be a tty.WriteStream, not typed due to limitations. - */ - stdout: WriteStream & { - fd: 1; - }; - /** - * Can also be a tty.WriteStream, not typed due to limitations. - */ - stderr: WriteStream & { - fd: 2; - }; - stdin: ReadStream & { - fd: 0; - }; - openStdin(): Socket; - argv: string[]; - argv0: string; - execArgv: string[]; - execPath: string; - abort(): void; - chdir(directory: string): void; - cwd(): string; - debugPort: number; - emitWarning(warning: string | Error, name?: string, ctor?: Function): void; - env: ProcessEnv; - exit(code?: number): never; - exitCode?: number; - getgid(): number; - setgid(id: number | string): void; - getuid(): number; - setuid(id: number | string): void; - geteuid(): number; - seteuid(id: number | string): void; - getegid(): number; - setegid(id: number | string): void; - getgroups(): number[]; - setgroups(groups: Array): void; - setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void; - hasUncaughtExceptionCaptureCallback(): boolean; - version: string; - versions: ProcessVersions; - config: { - target_defaults: { - cflags: any[]; - default_configuration: string; - defines: string[]; - include_dirs: string[]; - libraries: string[]; - }; - variables: { - clang: number; - host_arch: string; - node_install_npm: boolean; - node_install_waf: boolean; - node_prefix: string; - node_shared_openssl: boolean; - node_shared_v8: boolean; - node_shared_zlib: boolean; - node_use_dtrace: boolean; - node_use_etw: boolean; - node_use_openssl: boolean; - target_arch: string; - v8_no_strict_aliasing: number; - v8_use_snapshot: boolean; - visibility: string; - }; - }; - kill(pid: number, signal?: string | number): true; - pid: number; - ppid: number; - title: string; - arch: string; - platform: Platform; - memoryUsage(): MemoryUsage; - cpuUsage(previousValue?: CpuUsage): CpuUsage; - nextTick(callback: Function, ...args: any[]): void; - release: ProcessRelease; - features: { - inspector: boolean; - debug: boolean; - uv: boolean; - ipv6: boolean; - tls_alpn: boolean; - tls_sni: boolean; - tls_ocsp: boolean; - tls: boolean; - }; - /** - * Can only be set if not in worker thread. - */ - umask(mask: number): number; - uptime(): number; - hrtime: HRTime; - domain: Domain; - - // Worker - send?(message: any, sendHandle?: any, options?: { swallowErrors?: boolean}, callback?: (error: Error | null) => void): boolean; - disconnect(): void; - connected: boolean; - - /** - * The `process.allowedNodeEnvironmentFlags` property is a special, - * read-only `Set` of flags allowable within the [`NODE_OPTIONS`][] - * environment variable. - */ - allowedNodeEnvironmentFlags: ReadonlySet; - - /** - * Only available with `--experimental-report` - */ - report?: ProcessReport; - - resourceUsage(): ResourceUsage; - - /* EventEmitter */ - addListener(event: "beforeExit", listener: BeforeExitListener): this; - addListener(event: "disconnect", listener: DisconnectListener): this; - addListener(event: "exit", listener: ExitListener): this; - addListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - addListener(event: "warning", listener: WarningListener): this; - addListener(event: "message", listener: MessageListener): this; - addListener(event: Signals, listener: SignalsListener): this; - addListener(event: "newListener", listener: NewListenerListener): this; - addListener(event: "removeListener", listener: RemoveListenerListener): this; - addListener(event: "multipleResolves", listener: MultipleResolveListener): this; - - emit(event: "beforeExit", code: number): boolean; - emit(event: "disconnect"): boolean; - emit(event: "exit", code: number): boolean; - emit(event: "rejectionHandled", promise: Promise): boolean; - emit(event: "uncaughtException", error: Error): boolean; - emit(event: "uncaughtExceptionMonitor", error: Error): boolean; - emit(event: "unhandledRejection", reason: any, promise: Promise): boolean; - emit(event: "warning", warning: Error): boolean; - emit(event: "message", message: any, sendHandle: any): this; - emit(event: Signals, signal: Signals): boolean; - emit(event: "newListener", eventName: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "removeListener", eventName: string, listener: (...args: any[]) => void): this; - emit(event: "multipleResolves", listener: MultipleResolveListener): this; - - on(event: "beforeExit", listener: BeforeExitListener): this; - on(event: "disconnect", listener: DisconnectListener): this; - on(event: "exit", listener: ExitListener): this; - on(event: "rejectionHandled", listener: RejectionHandledListener): this; - on(event: "uncaughtException", listener: UncaughtExceptionListener): this; - on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - on(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - on(event: "warning", listener: WarningListener): this; - on(event: "message", listener: MessageListener): this; - on(event: Signals, listener: SignalsListener): this; - on(event: "newListener", listener: NewListenerListener): this; - on(event: "removeListener", listener: RemoveListenerListener): this; - on(event: "multipleResolves", listener: MultipleResolveListener): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "beforeExit", listener: BeforeExitListener): this; - once(event: "disconnect", listener: DisconnectListener): this; - once(event: "exit", listener: ExitListener): this; - once(event: "rejectionHandled", listener: RejectionHandledListener): this; - once(event: "uncaughtException", listener: UncaughtExceptionListener): this; - once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - once(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - once(event: "warning", listener: WarningListener): this; - once(event: "message", listener: MessageListener): this; - once(event: Signals, listener: SignalsListener): this; - once(event: "newListener", listener: NewListenerListener): this; - once(event: "removeListener", listener: RemoveListenerListener): this; - once(event: "multipleResolves", listener: MultipleResolveListener): this; - - prependListener(event: "beforeExit", listener: BeforeExitListener): this; - prependListener(event: "disconnect", listener: DisconnectListener): this; - prependListener(event: "exit", listener: ExitListener): this; - prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - prependListener(event: "warning", listener: WarningListener): this; - prependListener(event: "message", listener: MessageListener): this; - prependListener(event: Signals, listener: SignalsListener): this; - prependListener(event: "newListener", listener: NewListenerListener): this; - prependListener(event: "removeListener", listener: RemoveListenerListener): this; - prependListener(event: "multipleResolves", listener: MultipleResolveListener): this; - - prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this; - prependOnceListener(event: "disconnect", listener: DisconnectListener): this; - prependOnceListener(event: "exit", listener: ExitListener): this; - prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - prependOnceListener(event: "warning", listener: WarningListener): this; - prependOnceListener(event: "message", listener: MessageListener): this; - prependOnceListener(event: Signals, listener: SignalsListener): this; - prependOnceListener(event: "newListener", listener: NewListenerListener): this; - prependOnceListener(event: "removeListener", listener: RemoveListenerListener): this; - prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this; - - listeners(event: "beforeExit"): BeforeExitListener[]; - listeners(event: "disconnect"): DisconnectListener[]; - listeners(event: "exit"): ExitListener[]; - listeners(event: "rejectionHandled"): RejectionHandledListener[]; - listeners(event: "uncaughtException"): UncaughtExceptionListener[]; - listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[]; - listeners(event: "unhandledRejection"): UnhandledRejectionListener[]; - listeners(event: "warning"): WarningListener[]; - listeners(event: "message"): MessageListener[]; - listeners(event: Signals): SignalsListener[]; - listeners(event: "newListener"): NewListenerListener[]; - listeners(event: "removeListener"): RemoveListenerListener[]; - listeners(event: "multipleResolves"): MultipleResolveListener[]; - } - - interface Global { - process: Process; - } - } - } - - export = process; -} diff --git a/node_modules/@types/node/punycode.d.ts b/node_modules/@types/node/punycode.d.ts deleted file mode 100644 index 75d2811d03..0000000000 --- a/node_modules/@types/node/punycode.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare module "punycode" { - function decode(string: string): string; - function encode(string: string): string; - function toUnicode(domain: string): string; - function toASCII(domain: string): string; - const ucs2: ucs2; - interface ucs2 { - decode(string: string): number[]; - encode(codePoints: number[]): string; - } - const version: string; -} diff --git a/node_modules/@types/node/querystring.d.ts b/node_modules/@types/node/querystring.d.ts deleted file mode 100644 index be1bbf904f..0000000000 --- a/node_modules/@types/node/querystring.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare module "querystring" { - interface StringifyOptions { - encodeURIComponent?: (str: string) => string; - } - - interface ParseOptions { - maxKeys?: number; - decodeURIComponent?: (str: string) => string; - } - - interface ParsedUrlQuery extends NodeJS.Dict { } - - interface ParsedUrlQueryInput extends NodeJS.Dict { - } - - function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; - function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; - /** - * The querystring.encode() function is an alias for querystring.stringify(). - */ - const encode: typeof stringify; - /** - * The querystring.decode() function is an alias for querystring.parse(). - */ - const decode: typeof parse; - function escape(str: string): string; - function unescape(str: string): string; -} diff --git a/node_modules/@types/node/readline.d.ts b/node_modules/@types/node/readline.d.ts deleted file mode 100644 index fbe4836f31..0000000000 --- a/node_modules/@types/node/readline.d.ts +++ /dev/null @@ -1,171 +0,0 @@ -declare module "readline" { - import * as events from "events"; - import * as stream from "stream"; - - interface Key { - sequence?: string; - name?: string; - ctrl?: boolean; - meta?: boolean; - shift?: boolean; - } - - class Interface extends events.EventEmitter { - readonly terminal: boolean; - - // Need direct access to line/cursor data, for use in external processes - // see: https://github.com/nodejs/node/issues/30347 - /** The current input data */ - readonly line: string; - /** The current cursor position in the input line */ - readonly cursor: number; - - /** - * NOTE: According to the documentation: - * - * > Instances of the `readline.Interface` class are constructed using the - * > `readline.createInterface()` method. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface - */ - protected constructor(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean); - /** - * NOTE: According to the documentation: - * - * > Instances of the `readline.Interface` class are constructed using the - * > `readline.createInterface()` method. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface - */ - protected constructor(options: ReadLineOptions); - - setPrompt(prompt: string): void; - prompt(preserveCursor?: boolean): void; - question(query: string, callback: (answer: string) => void): void; - pause(): this; - resume(): this; - close(): void; - write(data: string | Buffer, key?: Key): void; - - /** - * Returns the real position of the cursor in relation to the input - * prompt + string. Long input (wrapping) strings, as well as multiple - * line prompts are included in the calculations. - */ - getCursorPos(): CursorPos; - - /** - * events.EventEmitter - * 1. close - * 2. line - * 3. pause - * 4. resume - * 5. SIGCONT - * 6. SIGINT - * 7. SIGTSTP - */ - - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: string) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: string): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: string) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: string) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: string) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: string) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - - type ReadLine = Interface; // type forwarded for backwards compatiblity - - type Completer = (line: string) => CompleterResult; - type AsyncCompleter = (line: string, callback: (err?: null | Error, result?: CompleterResult) => void) => any; - - type CompleterResult = [string[], string]; - - interface ReadLineOptions { - input: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - completer?: Completer | AsyncCompleter; - terminal?: boolean; - historySize?: number; - prompt?: string; - crlfDelay?: number; - removeHistoryDuplicates?: boolean; - escapeCodeTimeout?: number; - tabSize?: number; - } - - function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface; - function createInterface(options: ReadLineOptions): Interface; - function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void; - - type Direction = -1 | 0 | 1; - - interface CursorPos { - rows: number; - cols: number; - } - - /** - * Clears the current line of this WriteStream in a direction identified by `dir`. - */ - function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean; - /** - * Clears this `WriteStream` from the current cursor down. - */ - function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean; - /** - * Moves this WriteStream's cursor to the specified position. - */ - function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean; - /** - * Moves this WriteStream's cursor relative to its current position. - */ - function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean; -} diff --git a/node_modules/@types/node/repl.d.ts b/node_modules/@types/node/repl.d.ts deleted file mode 100644 index ef9da3757e..0000000000 --- a/node_modules/@types/node/repl.d.ts +++ /dev/null @@ -1,387 +0,0 @@ -declare module "repl" { - import { Interface, Completer, AsyncCompleter } from "readline"; - import { Context } from "vm"; - import { InspectOptions } from "util"; - - interface ReplOptions { - /** - * The input prompt to display. - * Default: `"> "` - */ - prompt?: string; - /** - * The `Readable` stream from which REPL input will be read. - * Default: `process.stdin` - */ - input?: NodeJS.ReadableStream; - /** - * The `Writable` stream to which REPL output will be written. - * Default: `process.stdout` - */ - output?: NodeJS.WritableStream; - /** - * If `true`, specifies that the output should be treated as a TTY terminal, and have - * ANSI/VT100 escape codes written to it. - * Default: checking the value of the `isTTY` property on the output stream upon - * instantiation. - */ - terminal?: boolean; - /** - * The function to be used when evaluating each given line of input. - * Default: an async wrapper for the JavaScript `eval()` function. An `eval` function can - * error with `repl.Recoverable` to indicate the input was incomplete and prompt for - * additional lines. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_default_evaluation - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_custom_evaluation_functions - */ - eval?: REPLEval; - /** - * Defines if the repl prints output previews or not. - * @default `true` Always `false` in case `terminal` is falsy. - */ - preview?: boolean; - /** - * If `true`, specifies that the default `writer` function should include ANSI color - * styling to REPL output. If a custom `writer` function is provided then this has no - * effect. - * Default: the REPL instance's `terminal` value. - */ - useColors?: boolean; - /** - * If `true`, specifies that the default evaluation function will use the JavaScript - * `global` as the context as opposed to creating a new separate context for the REPL - * instance. The node CLI REPL sets this value to `true`. - * Default: `false`. - */ - useGlobal?: boolean; - /** - * If `true`, specifies that the default writer will not output the return value of a - * command if it evaluates to `undefined`. - * Default: `false`. - */ - ignoreUndefined?: boolean; - /** - * The function to invoke to format the output of each command before writing to `output`. - * Default: a wrapper for `util.inspect`. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_customizing_repl_output - */ - writer?: REPLWriter; - /** - * An optional function used for custom Tab auto completion. - * - * @see https://nodejs.org/dist/latest-v11.x/docs/api/readline.html#readline_use_of_the_completer_function - */ - completer?: Completer | AsyncCompleter; - /** - * A flag that specifies whether the default evaluator executes all JavaScript commands in - * strict mode or default (sloppy) mode. - * Accepted values are: - * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. - * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to - * prefacing every repl statement with `'use strict'`. - */ - replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT; - /** - * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is - * pressed. This cannot be used together with a custom `eval` function. - * Default: `false`. - */ - breakEvalOnSigint?: boolean; - } - - type REPLEval = (this: REPLServer, evalCmd: string, context: Context, file: string, cb: (err: Error | null, result: any) => void) => void; - type REPLWriter = (this: REPLServer, obj: any) => string; - - /** - * This is the default "writer" value, if none is passed in the REPL options, - * and it can be overridden by custom print functions. - */ - const writer: REPLWriter & { options: InspectOptions }; - - type REPLCommandAction = (this: REPLServer, text: string) => void; - - interface REPLCommand { - /** - * Help text to be displayed when `.help` is entered. - */ - help?: string; - /** - * The function to execute, optionally accepting a single string argument. - */ - action: REPLCommandAction; - } - - /** - * Provides a customizable Read-Eval-Print-Loop (REPL). - * - * Instances of `repl.REPLServer` will accept individual lines of user input, evaluate those - * according to a user-defined evaluation function, then output the result. Input and output - * may be from `stdin` and `stdout`, respectively, or may be connected to any Node.js `stream`. - * - * Instances of `repl.REPLServer` support automatic completion of inputs, simplistic Emacs-style - * line editing, multi-line inputs, ANSI-styled output, saving and restoring current REPL session - * state, error recovery, and customizable evaluation functions. - * - * Instances of `repl.REPLServer` are created using the `repl.start()` method and _should not_ - * be created directly using the JavaScript `new` keyword. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_repl - */ - class REPLServer extends Interface { - /** - * The `vm.Context` provided to the `eval` function to be used for JavaScript - * evaluation. - */ - readonly context: Context; - /** - * The `Readable` stream from which REPL input will be read. - */ - readonly inputStream: NodeJS.ReadableStream; - /** - * The `Writable` stream to which REPL output will be written. - */ - readonly outputStream: NodeJS.WritableStream; - /** - * The commands registered via `replServer.defineCommand()`. - */ - readonly commands: NodeJS.ReadOnlyDict; - /** - * A value indicating whether the REPL is currently in "editor mode". - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_commands_and_special_keys - */ - readonly editorMode: boolean; - /** - * A value indicating whether the `_` variable has been assigned. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly underscoreAssigned: boolean; - /** - * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL). - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly last: any; - /** - * A value indicating whether the `_error` variable has been assigned. - * - * @since v9.8.0 - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly underscoreErrAssigned: boolean; - /** - * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL). - * - * @since v9.8.0 - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly lastError: any; - /** - * Specified in the REPL options, this is the function to be used when evaluating each - * given line of input. If not specified in the REPL options, this is an async wrapper - * for the JavaScript `eval()` function. - */ - readonly eval: REPLEval; - /** - * Specified in the REPL options, this is a value indicating whether the default - * `writer` function should include ANSI color styling to REPL output. - */ - readonly useColors: boolean; - /** - * Specified in the REPL options, this is a value indicating whether the default `eval` - * function will use the JavaScript `global` as the context as opposed to creating a new - * separate context for the REPL instance. - */ - readonly useGlobal: boolean; - /** - * Specified in the REPL options, this is a value indicating whether the default `writer` - * function should output the result of a command if it evaluates to `undefined`. - */ - readonly ignoreUndefined: boolean; - /** - * Specified in the REPL options, this is the function to invoke to format the output of - * each command before writing to `outputStream`. If not specified in the REPL options, - * this will be a wrapper for `util.inspect`. - */ - readonly writer: REPLWriter; - /** - * Specified in the REPL options, this is the function to use for custom Tab auto-completion. - */ - readonly completer: Completer | AsyncCompleter; - /** - * Specified in the REPL options, this is a flag that specifies whether the default `eval` - * function should execute all JavaScript commands in strict mode or default (sloppy) mode. - * Possible values are: - * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. - * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to - * prefacing every repl statement with `'use strict'`. - */ - readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT; - - /** - * NOTE: According to the documentation: - * - * > Instances of `repl.REPLServer` are created using the `repl.start()` method and - * > _should not_ be created directly using the JavaScript `new` keyword. - * - * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_class_replserver - */ - private constructor(); - - /** - * Used to add new `.`-prefixed commands to the REPL instance. Such commands are invoked - * by typing a `.` followed by the `keyword`. - * - * @param keyword The command keyword (_without_ a leading `.` character). - * @param cmd The function to invoke when the command is processed. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_replserver_definecommand_keyword_cmd - */ - defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void; - /** - * Readies the REPL instance for input from the user, printing the configured `prompt` to a - * new line in the `output` and resuming the `input` to accept new input. - * - * When multi-line input is being entered, an ellipsis is printed rather than the 'prompt'. - * - * This method is primarily intended to be called from within the action function for - * commands registered using the `replServer.defineCommand()` method. - * - * @param preserveCursor When `true`, the cursor placement will not be reset to `0`. - */ - displayPrompt(preserveCursor?: boolean): void; - /** - * Clears any command that has been buffered but not yet executed. - * - * This method is primarily intended to be called from within the action function for - * commands registered using the `replServer.defineCommand()` method. - * - * @since v9.0.0 - */ - clearBufferedCommand(): void; - - /** - * Initializes a history log file for the REPL instance. When executing the - * Node.js binary and using the command line REPL, a history file is initialized - * by default. However, this is not the case when creating a REPL - * programmatically. Use this method to initialize a history log file when working - * with REPL instances programmatically. - * @param path The path to the history file - */ - setupHistory(path: string, cb: (err: Error | null, repl: this) => void): void; - - /** - * events.EventEmitter - * 1. close - inherited from `readline.Interface` - * 2. line - inherited from `readline.Interface` - * 3. pause - inherited from `readline.Interface` - * 4. resume - inherited from `readline.Interface` - * 5. SIGCONT - inherited from `readline.Interface` - * 6. SIGINT - inherited from `readline.Interface` - * 7. SIGTSTP - inherited from `readline.Interface` - * 8. exit - * 9. reset - */ - - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: string) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; - addListener(event: "exit", listener: () => void): this; - addListener(event: "reset", listener: (context: Context) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: string): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; - emit(event: "exit"): boolean; - emit(event: "reset", context: Context): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: string) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; - on(event: "exit", listener: () => void): this; - on(event: "reset", listener: (context: Context) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: string) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - once(event: "exit", listener: () => void): this; - once(event: "reset", listener: (context: Context) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: string) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - prependListener(event: "exit", listener: () => void): this; - prependListener(event: "reset", listener: (context: Context) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: string) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - prependOnceListener(event: "exit", listener: () => void): this; - prependOnceListener(event: "reset", listener: (context: Context) => void): this; - } - - /** - * A flag passed in the REPL options. Evaluates expressions in sloppy mode. - */ - const REPL_MODE_SLOPPY: unique symbol; - - /** - * A flag passed in the REPL options. Evaluates expressions in strict mode. - * This is equivalent to prefacing every repl statement with `'use strict'`. - */ - const REPL_MODE_STRICT: unique symbol; - - /** - * Creates and starts a `repl.REPLServer` instance. - * - * @param options The options for the `REPLServer`. If `options` is a string, then it specifies - * the input prompt. - */ - function start(options?: string | ReplOptions): REPLServer; - - /** - * Indicates a recoverable error that a `REPLServer` can use to support multi-line input. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_recoverable_errors - */ - class Recoverable extends SyntaxError { - err: Error; - - constructor(err: Error); - } -} diff --git a/node_modules/@types/node/stream.d.ts b/node_modules/@types/node/stream.d.ts deleted file mode 100644 index 78f8743245..0000000000 --- a/node_modules/@types/node/stream.d.ts +++ /dev/null @@ -1,351 +0,0 @@ -declare module "stream" { - import * as events from "events"; - - class internal extends events.EventEmitter { - pipe(destination: T, options?: { end?: boolean; }): T; - } - - namespace internal { - class Stream extends internal { - constructor(opts?: ReadableOptions); - } - - interface ReadableOptions { - highWaterMark?: number; - encoding?: BufferEncoding; - objectMode?: boolean; - read?(this: Readable, size: number): void; - destroy?(this: Readable, error: Error | null, callback: (error: Error | null) => void): void; - autoDestroy?: boolean; - } - - class Readable extends Stream implements NodeJS.ReadableStream { - /** - * A utility method for creating Readable Streams out of iterators. - */ - static from(iterable: Iterable | AsyncIterable, options?: ReadableOptions): Readable; - - readable: boolean; - readonly readableEncoding: BufferEncoding | null; - readonly readableEnded: boolean; - readonly readableFlowing: boolean | null; - readonly readableHighWaterMark: number; - readonly readableLength: number; - readonly readableObjectMode: boolean; - destroyed: boolean; - constructor(opts?: ReadableOptions); - _read(size: number): void; - read(size?: number): any; - setEncoding(encoding: BufferEncoding): this; - pause(): this; - resume(): this; - isPaused(): boolean; - unpipe(destination?: NodeJS.WritableStream): this; - unshift(chunk: any, encoding?: BufferEncoding): void; - wrap(oldStream: NodeJS.ReadableStream): this; - push(chunk: any, encoding?: BufferEncoding): boolean; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - destroy(error?: Error): void; - - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. data - * 3. end - * 4. error - * 5. pause - * 6. readable - * 7. resume - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: any) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "data", chunk: any): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "pause"): boolean; - emit(event: "readable"): boolean; - emit(event: "resume"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: any) => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: any) => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: any) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: any) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - removeListener(event: "close", listener: () => void): this; - removeListener(event: "data", listener: (chunk: any) => void): this; - removeListener(event: "end", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "pause", listener: () => void): this; - removeListener(event: "readable", listener: () => void): this; - removeListener(event: "resume", listener: () => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - - [Symbol.asyncIterator](): AsyncIterableIterator; - } - - interface WritableOptions { - highWaterMark?: number; - decodeStrings?: boolean; - defaultEncoding?: BufferEncoding; - objectMode?: boolean; - emitClose?: boolean; - write?(this: Writable, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - writev?(this: Writable, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - destroy?(this: Writable, error: Error | null, callback: (error: Error | null) => void): void; - final?(this: Writable, callback: (error?: Error | null) => void): void; - autoDestroy?: boolean; - } - - class Writable extends Stream implements NodeJS.WritableStream { - readonly writable: boolean; - readonly writableEnded: boolean; - readonly writableFinished: boolean; - readonly writableHighWaterMark: number; - readonly writableLength: number; - readonly writableObjectMode: boolean; - readonly writableCorked: number; - destroyed: boolean; - constructor(opts?: WritableOptions); - _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - _writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - _final(callback: (error?: Error | null) => void): void; - write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; - write(chunk: any, encoding: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; - setDefaultEncoding(encoding: BufferEncoding): this; - end(cb?: () => void): void; - end(chunk: any, cb?: () => void): void; - end(chunk: any, encoding: BufferEncoding, cb?: () => void): void; - cork(): void; - uncork(): void; - destroy(error?: Error): void; - - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. drain - * 3. error - * 4. finish - * 5. pipe - * 6. unpipe - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: Readable) => void): this; - addListener(event: "unpipe", listener: (src: Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "drain"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: Readable): boolean; - emit(event: "unpipe", src: Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: Readable) => void): this; - on(event: "unpipe", listener: (src: Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: Readable) => void): this; - once(event: "unpipe", listener: (src: Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: Readable) => void): this; - prependListener(event: "unpipe", listener: (src: Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - removeListener(event: "close", listener: () => void): this; - removeListener(event: "drain", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "finish", listener: () => void): this; - removeListener(event: "pipe", listener: (src: Readable) => void): this; - removeListener(event: "unpipe", listener: (src: Readable) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - interface DuplexOptions extends ReadableOptions, WritableOptions { - allowHalfOpen?: boolean; - readableObjectMode?: boolean; - writableObjectMode?: boolean; - readableHighWaterMark?: number; - writableHighWaterMark?: number; - writableCorked?: number; - read?(this: Duplex, size: number): void; - write?(this: Duplex, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - writev?(this: Duplex, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - final?(this: Duplex, callback: (error?: Error | null) => void): void; - destroy?(this: Duplex, error: Error | null, callback: (error: Error | null) => void): void; - } - - // Note: Duplex extends both Readable and Writable. - class Duplex extends Readable implements Writable { - readonly writable: boolean; - readonly writableEnded: boolean; - readonly writableFinished: boolean; - readonly writableHighWaterMark: number; - readonly writableLength: number; - readonly writableObjectMode: boolean; - readonly writableCorked: number; - constructor(opts?: DuplexOptions); - _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - _writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - _destroy(error: Error | null, callback: (error: Error | null) => void): void; - _final(callback: (error?: Error | null) => void): void; - write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; - write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; - setDefaultEncoding(encoding: BufferEncoding): this; - end(cb?: () => void): void; - end(chunk: any, cb?: () => void): void; - end(chunk: any, encoding?: BufferEncoding, cb?: () => void): void; - cork(): void; - uncork(): void; - } - - type TransformCallback = (error?: Error | null, data?: any) => void; - - interface TransformOptions extends DuplexOptions { - read?(this: Transform, size: number): void; - write?(this: Transform, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - writev?(this: Transform, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - final?(this: Transform, callback: (error?: Error | null) => void): void; - destroy?(this: Transform, error: Error | null, callback: (error: Error | null) => void): void; - transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; - flush?(this: Transform, callback: TransformCallback): void; - } - - class Transform extends Duplex { - constructor(opts?: TransformOptions); - _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; - _flush(callback: TransformCallback): void; - } - - class PassThrough extends Transform { } - - interface FinishedOptions { - error?: boolean; - readable?: boolean; - writable?: boolean; - } - function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options: FinishedOptions, callback: (err?: NodeJS.ErrnoException | null) => void): () => void; - function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, callback: (err?: NodeJS.ErrnoException | null) => void): () => void; - namespace finished { - function __promisify__(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options?: FinishedOptions): Promise; - } - - function pipeline(stream1: NodeJS.ReadableStream, stream2: T, callback?: (err: NodeJS.ErrnoException | null) => void): T; - function pipeline(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: T, callback?: (err: NodeJS.ErrnoException | null) => void): T; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream, - stream3: NodeJS.ReadWriteStream, - stream4: T, - callback?: (err: NodeJS.ErrnoException | null) => void, - ): T; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream, - stream3: NodeJS.ReadWriteStream, - stream4: NodeJS.ReadWriteStream, - stream5: T, - callback?: (err: NodeJS.ErrnoException | null) => void, - ): T; - function pipeline(streams: Array, callback?: (err: NodeJS.ErrnoException | null) => void): NodeJS.WritableStream; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array void)>, - ): NodeJS.WritableStream; - namespace pipeline { - function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.WritableStream): Promise; - function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.WritableStream): Promise; - function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.ReadWriteStream, stream4: NodeJS.WritableStream): Promise; - function __promisify__( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream, - stream3: NodeJS.ReadWriteStream, - stream4: NodeJS.ReadWriteStream, - stream5: NodeJS.WritableStream, - ): Promise; - function __promisify__(streams: Array): Promise; - function __promisify__( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array, - ): Promise; - } - - interface Pipe { - close(): void; - hasRef(): boolean; - ref(): void; - unref(): void; - } - } - - export = internal; -} diff --git a/node_modules/@types/node/string_decoder.d.ts b/node_modules/@types/node/string_decoder.d.ts deleted file mode 100644 index a6a40601f0..0000000000 --- a/node_modules/@types/node/string_decoder.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare module "string_decoder" { - class StringDecoder { - constructor(encoding?: BufferEncoding); - write(buffer: Buffer): string; - end(buffer?: Buffer): string; - } -} diff --git a/node_modules/@types/node/timers.d.ts b/node_modules/@types/node/timers.d.ts deleted file mode 100644 index e64a6735c3..0000000000 --- a/node_modules/@types/node/timers.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare module "timers" { - function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; - namespace setTimeout { - function __promisify__(ms: number): Promise; - function __promisify__(ms: number, value: T): Promise; - } - function clearTimeout(timeoutId: NodeJS.Timeout): void; - function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; - function clearInterval(intervalId: NodeJS.Timeout): void; - function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; - namespace setImmediate { - function __promisify__(): Promise; - function __promisify__(value: T): Promise; - } - function clearImmediate(immediateId: NodeJS.Immediate): void; -} diff --git a/node_modules/@types/node/tls.d.ts b/node_modules/@types/node/tls.d.ts deleted file mode 100644 index df21ea226d..0000000000 --- a/node_modules/@types/node/tls.d.ts +++ /dev/null @@ -1,768 +0,0 @@ -declare module "tls" { - import * as crypto from "crypto"; - import * as dns from "dns"; - import * as net from "net"; - import * as stream from "stream"; - - const CLIENT_RENEG_LIMIT: number; - const CLIENT_RENEG_WINDOW: number; - - interface Certificate { - /** - * Country code. - */ - C: string; - /** - * Street. - */ - ST: string; - /** - * Locality. - */ - L: string; - /** - * Organization. - */ - O: string; - /** - * Organizational unit. - */ - OU: string; - /** - * Common name. - */ - CN: string; - } - - interface PeerCertificate { - subject: Certificate; - issuer: Certificate; - subjectaltname: string; - infoAccess: NodeJS.Dict; - modulus: string; - exponent: string; - valid_from: string; - valid_to: string; - fingerprint: string; - fingerprint256: string; - ext_key_usage: string[]; - serialNumber: string; - raw: Buffer; - } - - interface DetailedPeerCertificate extends PeerCertificate { - issuerCertificate: DetailedPeerCertificate; - } - - interface CipherNameAndProtocol { - /** - * The cipher name. - */ - name: string; - /** - * SSL/TLS protocol version. - */ - version: string; - - /** - * IETF name for the cipher suite. - */ - standardName: string; - } - - interface EphemeralKeyInfo { - /** - * The supported types are 'DH' and 'ECDH'. - */ - type: string; - /** - * The name property is available only when type is 'ECDH'. - */ - name?: string; - /** - * The size of parameter of an ephemeral key exchange. - */ - size: number; - } - - interface KeyObject { - /** - * Private keys in PEM format. - */ - pem: string | Buffer; - /** - * Optional passphrase. - */ - passphrase?: string; - } - - interface PxfObject { - /** - * PFX or PKCS12 encoded private key and certificate chain. - */ - buf: string | Buffer; - /** - * Optional passphrase. - */ - passphrase?: string; - } - - interface TLSSocketOptions extends SecureContextOptions, CommonConnectionOptions { - /** - * If true the TLS socket will be instantiated in server-mode. - * Defaults to false. - */ - isServer?: boolean; - /** - * An optional net.Server instance. - */ - server?: net.Server; - - /** - * An optional Buffer instance containing a TLS session. - */ - session?: Buffer; - /** - * If true, specifies that the OCSP status request extension will be - * added to the client hello and an 'OCSPResponse' event will be - * emitted on the socket before establishing a secure communication - */ - requestOCSP?: boolean; - } - - class TLSSocket extends net.Socket { - /** - * Construct a new tls.TLSSocket object from an existing TCP socket. - */ - constructor(socket: net.Socket, options?: TLSSocketOptions); - - /** - * A boolean that is true if the peer certificate was signed by one of the specified CAs, otherwise false. - */ - authorized: boolean; - /** - * The reason why the peer's certificate has not been verified. - * This property becomes available only when tlsSocket.authorized === false. - */ - authorizationError: Error; - /** - * Static boolean value, always true. - * May be used to distinguish TLS sockets from regular ones. - */ - encrypted: boolean; - - /** - * String containing the selected ALPN protocol. - * When ALPN has no selected protocol, tlsSocket.alpnProtocol equals false. - */ - alpnProtocol?: string; - - /** - * Returns an object representing the local certificate. The returned - * object has some properties corresponding to the fields of the - * certificate. - * - * See tls.TLSSocket.getPeerCertificate() for an example of the - * certificate structure. - * - * If there is no local certificate, an empty object will be returned. - * If the socket has been destroyed, null will be returned. - */ - getCertificate(): PeerCertificate | object | null; - /** - * Returns an object representing the cipher name and the SSL/TLS protocol version of the current connection. - * @returns Returns an object representing the cipher name - * and the SSL/TLS protocol version of the current connection. - */ - getCipher(): CipherNameAndProtocol; - /** - * Returns an object representing the type, name, and size of parameter - * of an ephemeral key exchange in Perfect Forward Secrecy on a client - * connection. It returns an empty object when the key exchange is not - * ephemeral. As this is only supported on a client socket; null is - * returned if called on a server socket. The supported types are 'DH' - * and 'ECDH'. The name property is available only when type is 'ECDH'. - * - * For example: { type: 'ECDH', name: 'prime256v1', size: 256 }. - */ - getEphemeralKeyInfo(): EphemeralKeyInfo | object | null; - /** - * Returns the latest Finished message that has - * been sent to the socket as part of a SSL/TLS handshake, or undefined - * if no Finished message has been sent yet. - * - * As the Finished messages are message digests of the complete - * handshake (with a total of 192 bits for TLS 1.0 and more for SSL - * 3.0), they can be used for external authentication procedures when - * the authentication provided by SSL/TLS is not desired or is not - * enough. - * - * Corresponds to the SSL_get_finished routine in OpenSSL and may be - * used to implement the tls-unique channel binding from RFC 5929. - */ - getFinished(): Buffer | undefined; - /** - * Returns an object representing the peer's certificate. - * The returned object has some properties corresponding to the field of the certificate. - * If detailed argument is true the full chain with issuer property will be returned, - * if false only the top certificate without issuer property. - * If the peer does not provide a certificate, it returns null or an empty object. - * @param detailed - If true; the full chain with issuer property will be returned. - * @returns An object representing the peer's certificate. - */ - getPeerCertificate(detailed: true): DetailedPeerCertificate; - getPeerCertificate(detailed?: false): PeerCertificate; - getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate; - /** - * Returns the latest Finished message that is expected or has actually - * been received from the socket as part of a SSL/TLS handshake, or - * undefined if there is no Finished message so far. - * - * As the Finished messages are message digests of the complete - * handshake (with a total of 192 bits for TLS 1.0 and more for SSL - * 3.0), they can be used for external authentication procedures when - * the authentication provided by SSL/TLS is not desired or is not - * enough. - * - * Corresponds to the SSL_get_peer_finished routine in OpenSSL and may - * be used to implement the tls-unique channel binding from RFC 5929. - */ - getPeerFinished(): Buffer | undefined; - /** - * Returns a string containing the negotiated SSL/TLS protocol version of the current connection. - * The value `'unknown'` will be returned for connected sockets that have not completed the handshaking process. - * The value `null` will be returned for server sockets or disconnected client sockets. - * See https://www.openssl.org/docs/man1.0.2/ssl/SSL_get_version.html for more information. - * @returns negotiated SSL/TLS protocol version of the current connection - */ - getProtocol(): string | null; - /** - * Could be used to speed up handshake establishment when reconnecting to the server. - * @returns ASN.1 encoded TLS session or undefined if none was negotiated. - */ - getSession(): Buffer | undefined; - /** - * Returns a list of signature algorithms shared between the server and - * the client in the order of decreasing preference. - */ - getSharedSigalgs(): string[]; - /** - * NOTE: Works only with client TLS sockets. - * Useful only for debugging, for session reuse provide session option to tls.connect(). - * @returns TLS session ticket or undefined if none was negotiated. - */ - getTLSTicket(): Buffer | undefined; - /** - * Returns true if the session was reused, false otherwise. - */ - isSessionReused(): boolean; - /** - * Initiate TLS renegotiation process. - * - * NOTE: Can be used to request peer's certificate after the secure connection has been established. - * ANOTHER NOTE: When running as the server, socket will be destroyed with an error after handshakeTimeout timeout. - * @param options - The options may contain the following fields: rejectUnauthorized, - * requestCert (See tls.createServer() for details). - * @param callback - callback(err) will be executed with null as err, once the renegotiation - * is successfully completed. - * @return `undefined` when socket is destroy, `false` if negotiaion can't be initiated. - */ - renegotiate(options: { rejectUnauthorized?: boolean, requestCert?: boolean }, callback: (err: Error | null) => void): undefined | boolean; - /** - * Set maximum TLS fragment size (default and maximum value is: 16384, minimum is: 512). - * Smaller fragment size decreases buffering latency on the client: large fragments are buffered by - * the TLS layer until the entire fragment is received and its integrity is verified; - * large fragments can span multiple roundtrips, and their processing can be delayed due to packet - * loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead, - * which may decrease overall server throughput. - * @param size - TLS fragment size (default and maximum value is: 16384, minimum is: 512). - * @returns Returns true on success, false otherwise. - */ - setMaxSendFragment(size: number): boolean; - - /** - * Disables TLS renegotiation for this TLSSocket instance. Once called, - * attempts to renegotiate will trigger an 'error' event on the - * TLSSocket. - */ - disableRenegotiation(): void; - - /** - * When enabled, TLS packet trace information is written to `stderr`. This can be - * used to debug TLS connection problems. - * - * Note: The format of the output is identical to the output of `openssl s_client - * -trace` or `openssl s_server -trace`. While it is produced by OpenSSL's - * `SSL_trace()` function, the format is undocumented, can change without notice, - * and should not be relied on. - */ - enableTrace(): void; - - /** - * @param length number of bytes to retrieve from keying material - * @param label an application specific label, typically this will be a value from the - * [IANA Exporter Label Registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#exporter-labels). - * @param context optionally provide a context. - */ - exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer; - - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - addListener(event: "secureConnect", listener: () => void): this; - addListener(event: "session", listener: (session: Buffer) => void): this; - addListener(event: "keylog", listener: (line: Buffer) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "OCSPResponse", response: Buffer): boolean; - emit(event: "secureConnect"): boolean; - emit(event: "session", session: Buffer): boolean; - emit(event: "keylog", line: Buffer): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "OCSPResponse", listener: (response: Buffer) => void): this; - on(event: "secureConnect", listener: () => void): this; - on(event: "session", listener: (session: Buffer) => void): this; - on(event: "keylog", listener: (line: Buffer) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "OCSPResponse", listener: (response: Buffer) => void): this; - once(event: "secureConnect", listener: () => void): this; - once(event: "session", listener: (session: Buffer) => void): this; - once(event: "keylog", listener: (line: Buffer) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependListener(event: "secureConnect", listener: () => void): this; - prependListener(event: "session", listener: (session: Buffer) => void): this; - prependListener(event: "keylog", listener: (line: Buffer) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependOnceListener(event: "secureConnect", listener: () => void): this; - prependOnceListener(event: "session", listener: (session: Buffer) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer) => void): this; - } - - interface CommonConnectionOptions { - /** - * An optional TLS context object from tls.createSecureContext() - */ - secureContext?: SecureContext; - - /** - * When enabled, TLS packet trace information is written to `stderr`. This can be - * used to debug TLS connection problems. - * @default false - */ - enableTrace?: boolean; - /** - * If true the server will request a certificate from clients that - * connect and attempt to verify that certificate. Defaults to - * false. - */ - requestCert?: boolean; - /** - * An array of strings or a Buffer naming possible ALPN protocols. - * (Protocols should be ordered by their priority.) - */ - ALPNProtocols?: string[] | Uint8Array[] | Uint8Array; - /** - * SNICallback(servername, cb) A function that will be - * called if the client supports SNI TLS extension. Two arguments - * will be passed when called: servername and cb. SNICallback should - * invoke cb(null, ctx), where ctx is a SecureContext instance. - * (tls.createSecureContext(...) can be used to get a proper - * SecureContext.) If SNICallback wasn't provided the default callback - * with high-level API will be used (see below). - */ - SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; - /** - * If true the server will reject any connection which is not - * authorized with the list of supplied CAs. This option only has an - * effect if requestCert is true. - * @default true - */ - rejectUnauthorized?: boolean; - } - - interface TlsOptions extends SecureContextOptions, CommonConnectionOptions { - /** - * Abort the connection if the SSL/TLS handshake does not finish in the - * specified number of milliseconds. A 'tlsClientError' is emitted on - * the tls.Server object whenever a handshake times out. Default: - * 120000 (120 seconds). - */ - handshakeTimeout?: number; - /** - * The number of seconds after which a TLS session created by the - * server will no longer be resumable. See Session Resumption for more - * information. Default: 300. - */ - sessionTimeout?: number; - /** - * 48-bytes of cryptographically strong pseudo-random data. - */ - ticketKeys?: Buffer; - - /** - * - * @param socket - * @param identity identity parameter sent from the client. - * @return pre-shared key that must either be - * a buffer or `null` to stop the negotiation process. Returned PSK must be - * compatible with the selected cipher's digest. - * - * When negotiating TLS-PSK (pre-shared keys), this function is called - * with the identity provided by the client. - * If the return value is `null` the negotiation process will stop and an - * "unknown_psk_identity" alert message will be sent to the other party. - * If the server wishes to hide the fact that the PSK identity was not known, - * the callback must provide some random data as `psk` to make the connection - * fail with "decrypt_error" before negotiation is finished. - * PSK ciphers are disabled by default, and using TLS-PSK thus - * requires explicitly specifying a cipher suite with the `ciphers` option. - * More information can be found in the RFC 4279. - */ - - pskCallback?(socket: TLSSocket, identity: string): DataView | NodeJS.TypedArray | null; - /** - * hint to send to a client to help - * with selecting the identity during TLS-PSK negotiation. Will be ignored - * in TLS 1.3. Upon failing to set pskIdentityHint `tlsClientError` will be - * emitted with `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` code. - */ - pskIdentityHint?: string; - } - - interface PSKCallbackNegotation { - psk: DataView | NodeJS.TypedArray; - identitty: string; - } - - interface ConnectionOptions extends SecureContextOptions, CommonConnectionOptions { - host?: string; - port?: number; - path?: string; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. - socket?: net.Socket; // Establish secure connection on a given socket rather than creating a new socket - checkServerIdentity?: typeof checkServerIdentity; - servername?: string; // SNI TLS Extension - session?: Buffer; - minDHSize?: number; - lookup?: net.LookupFunction; - timeout?: number; - /** - * When negotiating TLS-PSK (pre-shared keys), this function is called - * with optional identity `hint` provided by the server or `null` - * in case of TLS 1.3 where `hint` was removed. - * It will be necessary to provide a custom `tls.checkServerIdentity()` - * for the connection as the default one will try to check hostname/IP - * of the server against the certificate but that's not applicable for PSK - * because there won't be a certificate present. - * More information can be found in the RFC 4279. - * - * @param hint message sent from the server to help client - * decide which identity to use during negotiation. - * Always `null` if TLS 1.3 is used. - * @returns Return `null` to stop the negotiation process. `psk` must be - * compatible with the selected cipher's digest. - * `identity` must use UTF-8 encoding. - */ - pskCallback?(hint: string | null): PSKCallbackNegotation | null; - } - - class Server extends net.Server { - /** - * The server.addContext() method adds a secure context that will be - * used if the client request's SNI name matches the supplied hostname - * (or wildcard). - */ - addContext(hostName: string, credentials: SecureContextOptions): void; - /** - * Returns the session ticket keys. - */ - getTicketKeys(): Buffer; - /** - * - * The server.setSecureContext() method replaces the - * secure context of an existing server. Existing connections to the - * server are not interrupted. - */ - setSecureContext(details: SecureContextOptions): void; - /** - * The server.setSecureContext() method replaces the secure context of - * an existing server. Existing connections to the server are not - * interrupted. - */ - setTicketKeys(keys: Buffer): void; - - /** - * events.EventEmitter - * 1. tlsClientError - * 2. newSession - * 3. OCSPRequest - * 4. resumeSession - * 5. secureConnection - * 6. keylog - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - addListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - addListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - addListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean; - emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void): boolean; - emit(event: "OCSPRequest", certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void): boolean; - emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean; - emit(event: "secureConnection", tlsSocket: TLSSocket): boolean; - emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - on(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - on(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - once(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - once(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - once(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - prependListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - prependListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - prependOnceListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - prependOnceListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - } - - interface SecurePair { - encrypted: TLSSocket; - cleartext: TLSSocket; - } - - type SecureVersion = 'TLSv1.3' | 'TLSv1.2' | 'TLSv1.1' | 'TLSv1'; - - interface SecureContextOptions { - /** - * Optionally override the trusted CA certificates. Default is to trust - * the well-known CAs curated by Mozilla. Mozilla's CAs are completely - * replaced when CAs are explicitly specified using this option. - */ - ca?: string | Buffer | Array; - /** - * Cert chains in PEM format. One cert chain should be provided per - * private key. Each cert chain should consist of the PEM formatted - * certificate for a provided private key, followed by the PEM - * formatted intermediate certificates (if any), in order, and not - * including the root CA (the root CA must be pre-known to the peer, - * see ca). When providing multiple cert chains, they do not have to - * be in the same order as their private keys in key. If the - * intermediate certificates are not provided, the peer will not be - * able to validate the certificate, and the handshake will fail. - */ - cert?: string | Buffer | Array; - /** - * Colon-separated list of supported signature algorithms. The list - * can contain digest algorithms (SHA256, MD5 etc.), public key - * algorithms (RSA-PSS, ECDSA etc.), combination of both (e.g - * 'RSA+SHA384') or TLS v1.3 scheme names (e.g. rsa_pss_pss_sha512). - */ - sigalgs?: string; - /** - * Cipher suite specification, replacing the default. For more - * information, see modifying the default cipher suite. Permitted - * ciphers can be obtained via tls.getCiphers(). Cipher names must be - * uppercased in order for OpenSSL to accept them. - */ - ciphers?: string; - /** - * Name of an OpenSSL engine which can provide the client certificate. - */ - clientCertEngine?: string; - /** - * PEM formatted CRLs (Certificate Revocation Lists). - */ - crl?: string | Buffer | Array; - /** - * Diffie Hellman parameters, required for Perfect Forward Secrecy. Use - * openssl dhparam to create the parameters. The key length must be - * greater than or equal to 1024 bits or else an error will be thrown. - * Although 1024 bits is permissible, use 2048 bits or larger for - * stronger security. If omitted or invalid, the parameters are - * silently discarded and DHE ciphers will not be available. - */ - dhparam?: string | Buffer; - /** - * A string describing a named curve or a colon separated list of curve - * NIDs or names, for example P-521:P-384:P-256, to use for ECDH key - * agreement. Set to auto to select the curve automatically. Use - * crypto.getCurves() to obtain a list of available curve names. On - * recent releases, openssl ecparam -list_curves will also display the - * name and description of each available elliptic curve. Default: - * tls.DEFAULT_ECDH_CURVE. - */ - ecdhCurve?: string; - /** - * Attempt to use the server's cipher suite preferences instead of the - * client's. When true, causes SSL_OP_CIPHER_SERVER_PREFERENCE to be - * set in secureOptions - */ - honorCipherOrder?: boolean; - /** - * Private keys in PEM format. PEM allows the option of private keys - * being encrypted. Encrypted keys will be decrypted with - * options.passphrase. Multiple keys using different algorithms can be - * provided either as an array of unencrypted key strings or buffers, - * or an array of objects in the form {pem: [, - * passphrase: ]}. The object form can only occur in an array. - * object.passphrase is optional. Encrypted keys will be decrypted with - * object.passphrase if provided, or options.passphrase if it is not. - */ - key?: string | Buffer | Array; - /** - * Name of an OpenSSL engine to get private key from. Should be used - * together with privateKeyIdentifier. - */ - privateKeyEngine?: string; - /** - * Identifier of a private key managed by an OpenSSL engine. Should be - * used together with privateKeyEngine. Should not be set together with - * key, because both options define a private key in different ways. - */ - privateKeyIdentifier?: string; - /** - * Optionally set the maximum TLS version to allow. One - * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - * `secureProtocol` option, use one or the other. - * **Default:** `'TLSv1.3'`, unless changed using CLI options. Using - * `--tls-max-v1.2` sets the default to `'TLSv1.2'`. Using `--tls-max-v1.3` sets the default to - * `'TLSv1.3'`. If multiple of the options are provided, the highest maximum is used. - */ - maxVersion?: SecureVersion; - /** - * Optionally set the minimum TLS version to allow. One - * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - * `secureProtocol` option, use one or the other. It is not recommended to use - * less than TLSv1.2, but it may be required for interoperability. - * **Default:** `'TLSv1.2'`, unless changed using CLI options. Using - * `--tls-v1.0` sets the default to `'TLSv1'`. Using `--tls-v1.1` sets the default to - * `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to - * 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used. - */ - minVersion?: SecureVersion; - /** - * Shared passphrase used for a single private key and/or a PFX. - */ - passphrase?: string; - /** - * PFX or PKCS12 encoded private key and certificate chain. pfx is an - * alternative to providing key and cert individually. PFX is usually - * encrypted, if it is, passphrase will be used to decrypt it. Multiple - * PFX can be provided either as an array of unencrypted PFX buffers, - * or an array of objects in the form {buf: [, - * passphrase: ]}. The object form can only occur in an array. - * object.passphrase is optional. Encrypted PFX will be decrypted with - * object.passphrase if provided, or options.passphrase if it is not. - */ - pfx?: string | Buffer | Array; - /** - * Optionally affect the OpenSSL protocol behavior, which is not - * usually necessary. This should be used carefully if at all! Value is - * a numeric bitmask of the SSL_OP_* options from OpenSSL Options - */ - secureOptions?: number; // Value is a numeric bitmask of the `SSL_OP_*` options - /** - * Legacy mechanism to select the TLS protocol version to use, it does - * not support independent control of the minimum and maximum version, - * and does not support limiting the protocol to TLSv1.3. Use - * minVersion and maxVersion instead. The possible values are listed as - * SSL_METHODS, use the function names as strings. For example, use - * 'TLSv1_1_method' to force TLS version 1.1, or 'TLS_method' to allow - * any TLS protocol version up to TLSv1.3. It is not recommended to use - * TLS versions less than 1.2, but it may be required for - * interoperability. Default: none, see minVersion. - */ - secureProtocol?: string; - /** - * Opaque identifier used by servers to ensure session state is not - * shared between applications. Unused by clients. - */ - sessionIdContext?: string; - } - - interface SecureContext { - context: any; - } - - /* - * Verifies the certificate `cert` is issued to host `host`. - * @host The hostname to verify the certificate against - * @cert PeerCertificate representing the peer's certificate - * - * Returns Error object, populating it with the reason, host and cert on failure. On success, returns undefined. - */ - function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined; - function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server; - function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; - function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - /** - * @deprecated since v0.11.3 Use `tls.TLSSocket` instead. - */ - function createSecurePair(credentials?: SecureContext, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair; - function createSecureContext(details: SecureContextOptions): SecureContext; - function getCiphers(): string[]; - - /** - * The default curve name to use for ECDH key agreement in a tls server. - * The default value is 'auto'. See tls.createSecureContext() for further - * information. - */ - let DEFAULT_ECDH_CURVE: string; - /** - * The default value of the maxVersion option of - * tls.createSecureContext(). It can be assigned any of the supported TLS - * protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: - * 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets - * the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to - * 'TLSv1.3'. If multiple of the options are provided, the highest maximum - * is used. - */ - let DEFAULT_MAX_VERSION: SecureVersion; - /** - * The default value of the minVersion option of tls.createSecureContext(). - * It can be assigned any of the supported TLS protocol versions, - * 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless - * changed using CLI options. Using --tls-min-v1.0 sets the default to - * 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using - * --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options - * are provided, the lowest minimum is used. - */ - let DEFAULT_MIN_VERSION: SecureVersion; - - /** - * An immutable array of strings representing the root certificates (in PEM - * format) used for verifying peer certificates. This is the default value - * of the ca option to tls.createSecureContext(). - */ - const rootCertificates: ReadonlyArray; -} diff --git a/node_modules/@types/node/trace_events.d.ts b/node_modules/@types/node/trace_events.d.ts deleted file mode 100644 index 1f3a89c482..0000000000 --- a/node_modules/@types/node/trace_events.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare module "trace_events" { - /** - * The `Tracing` object is used to enable or disable tracing for sets of - * categories. Instances are created using the - * `trace_events.createTracing()` method. - * - * When created, the `Tracing` object is disabled. Calling the - * `tracing.enable()` method adds the categories to the set of enabled trace - * event categories. Calling `tracing.disable()` will remove the categories - * from the set of enabled trace event categories. - */ - interface Tracing { - /** - * A comma-separated list of the trace event categories covered by this - * `Tracing` object. - */ - readonly categories: string; - - /** - * Disables this `Tracing` object. - * - * Only trace event categories _not_ covered by other enabled `Tracing` - * objects and _not_ specified by the `--trace-event-categories` flag - * will be disabled. - */ - disable(): void; - - /** - * Enables this `Tracing` object for the set of categories covered by - * the `Tracing` object. - */ - enable(): void; - - /** - * `true` only if the `Tracing` object has been enabled. - */ - readonly enabled: boolean; - } - - interface CreateTracingOptions { - /** - * An array of trace category names. Values included in the array are - * coerced to a string when possible. An error will be thrown if the - * value cannot be coerced. - */ - categories: string[]; - } - - /** - * Creates and returns a Tracing object for the given set of categories. - */ - function createTracing(options: CreateTracingOptions): Tracing; - - /** - * Returns a comma-separated list of all currently-enabled trace event - * categories. The current set of enabled trace event categories is - * determined by the union of all currently-enabled `Tracing` objects and - * any categories enabled using the `--trace-event-categories` flag. - */ - function getEnabledCategories(): string | undefined; -} diff --git a/node_modules/@types/node/ts3.2/base.d.ts b/node_modules/@types/node/ts3.2/base.d.ts deleted file mode 100644 index 765140638e..0000000000 --- a/node_modules/@types/node/ts3.2/base.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.2. - -// NOTE: TypeScript version-specific augmentations can be found in the following paths: -// - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.1 -// - ~/ts3.2/base.d.ts - Definitions specific to TypeScript 3.2 -// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2 with global and assert pulled in - -// Reference required types from the default lib: -/// -/// -/// -/// - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: -// tslint:disable-next-line:no-bad-reference -/// - -// TypeScript 3.2-specific augmentations: -/// -/// -/// -/// diff --git a/node_modules/@types/node/ts3.2/fs.d.ts b/node_modules/@types/node/ts3.2/fs.d.ts deleted file mode 100644 index 0f758e45d4..0000000000 --- a/node_modules/@types/node/ts3.2/fs.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -// tslint:disable-next-line:no-bad-reference -/// - -declare module 'fs' { - interface BigIntStats extends StatsBase { - } - - class BigIntStats { - atimeNs: bigint; - mtimeNs: bigint; - ctimeNs: bigint; - birthtimeNs: bigint; - } - - interface BigIntOptions { - bigint: true; - } - - interface StatOptions { - bigint: boolean; - } - - function stat(path: PathLike, options: BigIntOptions, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void; - function stat(path: PathLike, options: StatOptions, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void; - - namespace stat { - function __promisify__(path: PathLike, options: BigIntOptions): Promise; - function __promisify__(path: PathLike, options: StatOptions): Promise; - } - - function statSync(path: PathLike, options: BigIntOptions): BigIntStats; - function statSync(path: PathLike, options: StatOptions): Stats | BigIntStats; -} diff --git a/node_modules/@types/node/ts3.2/globals.d.ts b/node_modules/@types/node/ts3.2/globals.d.ts deleted file mode 100644 index 632a9db02d..0000000000 --- a/node_modules/@types/node/ts3.2/globals.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -// tslint:disable-next-line:no-bad-reference -/// - -interface Buffer extends Uint8Array { - readBigUInt64BE(offset?: number): bigint; - readBigUInt64LE(offset?: number): bigint; - readBigInt64BE(offset?: number): bigint; - readBigInt64LE(offset?: number): bigint; - writeBigInt64BE(value: bigint, offset?: number): number; - writeBigInt64LE(value: bigint, offset?: number): number; - writeBigUInt64BE(value: bigint, offset?: number): number; - writeBigUInt64LE(value: bigint, offset?: number): number; -} diff --git a/node_modules/@types/node/ts3.2/index.d.ts b/node_modules/@types/node/ts3.2/index.d.ts deleted file mode 100644 index 349b996fe3..0000000000 --- a/node_modules/@types/node/ts3.2/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.2. -// This is requried to enable globalThis support for global in ts3.5 without causing errors -// This is requried to enable typing assert in ts3.7 without causing errors -// Typically type modifiations should be made in base.d.ts instead of here - -/// - -// tslint:disable-next-line:no-bad-reference -/// - -// tslint:disable-next-line:no-bad-reference -/// diff --git a/node_modules/@types/node/ts3.2/process.d.ts b/node_modules/@types/node/ts3.2/process.d.ts deleted file mode 100644 index 884fe2ee47..0000000000 --- a/node_modules/@types/node/ts3.2/process.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// tslint:disable-next-line:no-bad-reference -/// - -declare module 'process' { - global { - namespace NodeJS { - interface HRTime { - bigint(): bigint; - } - } - } -} diff --git a/node_modules/@types/node/ts3.2/util.d.ts b/node_modules/@types/node/ts3.2/util.d.ts deleted file mode 100644 index 5c57e6e414..0000000000 --- a/node_modules/@types/node/ts3.2/util.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -// tslint:disable-next-line:no-bad-reference -/// - -declare module "util" { - namespace types { - function isBigInt64Array(value: any): value is BigInt64Array; - function isBigUint64Array(value: any): value is BigUint64Array; - } -} diff --git a/node_modules/@types/node/ts3.5/base.d.ts b/node_modules/@types/node/ts3.5/base.d.ts deleted file mode 100644 index cbc8771fe2..0000000000 --- a/node_modules/@types/node/ts3.5/base.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.5. - -// NOTE: TypeScript version-specific augmentations can be found in the following paths: -// - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.1 -// - ~/ts3.5/base.d.ts - Definitions specific to TypeScript 3.5 -// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.5 with assert pulled in - -// Reference required types from the default lib: -/// -/// -/// -/// - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: -// tslint:disable-next-line:no-bad-reference -/// - -// TypeScript 3.5-specific augmentations: -/// - -// TypeScript 3.5-specific augmentations: -/// diff --git a/node_modules/@types/node/ts3.5/globals.global.d.ts b/node_modules/@types/node/ts3.5/globals.global.d.ts deleted file mode 100644 index d66acba63e..0000000000 --- a/node_modules/@types/node/ts3.5/globals.global.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare var global: NodeJS.Global & typeof globalThis; diff --git a/node_modules/@types/node/ts3.5/index.d.ts b/node_modules/@types/node/ts3.5/index.d.ts deleted file mode 100644 index 4b983c6d5a..0000000000 --- a/node_modules/@types/node/ts3.5/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.5. -// This is requried to enable typing assert in ts3.7 without causing errors -// Typically type modifiations should be made in base.d.ts instead of here - -/// - -// tslint:disable-next-line:no-bad-reference -/// diff --git a/node_modules/@types/node/ts3.5/wasi.d.ts b/node_modules/@types/node/ts3.5/wasi.d.ts deleted file mode 100644 index ecf31707dc..0000000000 --- a/node_modules/@types/node/ts3.5/wasi.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare module 'wasi' { - interface WASIOptions { - /** - * An array of strings that the WebAssembly application will - * see as command line arguments. The first argument is the virtual path to the - * WASI command itself. - */ - args?: string[]; - /** - * An object similar to `process.env` that the WebAssembly - * application will see as its environment. - */ - env?: object; - /** - * This object represents the WebAssembly application's - * sandbox directory structure. The string keys of `preopens` are treated as - * directories within the sandbox. The corresponding values in `preopens` are - * the real paths to those directories on the host machine. - */ - preopens?: NodeJS.Dict; - - /** - * By default, WASI applications terminate the Node.js - * process via the `__wasi_proc_exit()` function. Setting this option to `true` - * causes `wasi.start()` to return the exit code rather than terminate the - * process. - * @default false - */ - returnOnExit?: boolean; - } - - class WASI { - constructor(options?: WASIOptions); - /** - * - * Attempt to begin execution of `instance` by invoking its `_start()` export. - * If `instance` does not contain a `_start()` export, then `start()` attempts to - * invoke the `__wasi_unstable_reactor_start()` export. If neither of those exports - * is present on `instance`, then `start()` does nothing. - * - * `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named - * `memory`. If `instance` does not have a `memory` export an exception is thrown. - */ - start(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib. - /** - * Is an object that implements the WASI system call API. This object - * should be passed as the `wasi_unstable` import during the instantiation of a - * [`WebAssembly.Instance`][]. - */ - readonly wasiImport: NodeJS.Dict; // TODO: Narrow to DOM types - } -} diff --git a/node_modules/@types/node/ts3.7/assert.d.ts b/node_modules/@types/node/ts3.7/assert.d.ts deleted file mode 100644 index 9750dae7de..0000000000 --- a/node_modules/@types/node/ts3.7/assert.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare module "assert" { - function assert(value: any, message?: string | Error): asserts value; - namespace assert { - class AssertionError implements Error { - name: string; - message: string; - actual: any; - expected: any; - operator: string; - generatedMessage: boolean; - code: 'ERR_ASSERTION'; - - constructor(options?: { - message?: string; actual?: any; expected?: any; - operator?: string; stackStartFn?: Function - }); - } - - type AssertPredicate = RegExp | (new() => object) | ((thrown: any) => boolean) | object | Error; - - function fail(message?: string | Error): never; - /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */ - function fail(actual: any, expected: any, message?: string | Error, operator?: string, stackStartFn?: Function): never; - function ok(value: any, message?: string | Error): asserts value; - /** @deprecated since v9.9.0 - use strictEqual() instead. */ - function equal(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use notStrictEqual() instead. */ - function notEqual(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use deepStrictEqual() instead. */ - function deepEqual(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use notDeepStrictEqual() instead. */ - function notDeepEqual(actual: any, expected: any, message?: string | Error): void; - function strictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T; - function notStrictEqual(actual: any, expected: any, message?: string | Error): void; - function deepStrictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T; - function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void; - - function throws(block: () => any, message?: string | Error): void; - function throws(block: () => any, error: AssertPredicate, message?: string | Error): void; - function doesNotThrow(block: () => any, message?: string | Error): void; - function doesNotThrow(block: () => any, error: RegExp | Function, message?: string | Error): void; - - function ifError(value: any): asserts value is null | undefined; - - function rejects(block: (() => Promise) | Promise, message?: string | Error): Promise; - function rejects(block: (() => Promise) | Promise, error: AssertPredicate, message?: string | Error): Promise; - function doesNotReject(block: (() => Promise) | Promise, message?: string | Error): Promise; - function doesNotReject(block: (() => Promise) | Promise, error: RegExp | Function, message?: string | Error): Promise; - - function match(value: string, regExp: RegExp, message?: string | Error): void; - function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void; - - const strict: typeof assert; - } - - export = assert; -} diff --git a/node_modules/@types/node/ts3.7/base.d.ts b/node_modules/@types/node/ts3.7/base.d.ts deleted file mode 100644 index 201cd5678b..0000000000 --- a/node_modules/@types/node/ts3.7/base.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.7. - -// NOTE: TypeScript version-specific augmentations can be found in the following paths: -// - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.1 -// - ~/ts3.7/base.d.ts - Definitions specific to TypeScript 3.7 -// - ~/ts3.7/index.d.ts - Definitions specific to TypeScript 3.7 with assert pulled in - -// Reference required types from the default lib: -/// -/// -/// -/// - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: -// tslint:disable-next-line:no-bad-reference -/// - -// TypeScript 3.7-specific augmentations: -/// diff --git a/node_modules/@types/node/ts3.7/index.d.ts b/node_modules/@types/node/ts3.7/index.d.ts deleted file mode 100644 index 2cd553b853..0000000000 --- a/node_modules/@types/node/ts3.7/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.7. -// This isn't strictly needed since 3.7 has the assert module, but this way we're consistent. -// Typically type modificatons should be made in base.d.ts instead of here - -/// diff --git a/node_modules/@types/node/tty.d.ts b/node_modules/@types/node/tty.d.ts deleted file mode 100644 index 7854366339..0000000000 --- a/node_modules/@types/node/tty.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -declare module "tty" { - import * as net from "net"; - - function isatty(fd: number): boolean; - class ReadStream extends net.Socket { - constructor(fd: number, options?: net.SocketConstructorOpts); - isRaw: boolean; - setRawMode(mode: boolean): this; - isTTY: boolean; - } - /** - * -1 - to the left from cursor - * 0 - the entire line - * 1 - to the right from cursor - */ - type Direction = -1 | 0 | 1; - class WriteStream extends net.Socket { - constructor(fd: number); - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "resize", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "resize"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "resize", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "resize", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "resize", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "resize", listener: () => void): this; - - /** - * Clears the current line of this WriteStream in a direction identified by `dir`. - */ - clearLine(dir: Direction, callback?: () => void): boolean; - /** - * Clears this `WriteStream` from the current cursor down. - */ - clearScreenDown(callback?: () => void): boolean; - /** - * Moves this WriteStream's cursor to the specified position. - */ - cursorTo(x: number, y?: number, callback?: () => void): boolean; - cursorTo(x: number, callback: () => void): boolean; - /** - * Moves this WriteStream's cursor relative to its current position. - */ - moveCursor(dx: number, dy: number, callback?: () => void): boolean; - /** - * @default `process.env` - */ - getColorDepth(env?: {}): number; - hasColors(depth?: number): boolean; - hasColors(env?: {}): boolean; - hasColors(depth: number, env?: {}): boolean; - getWindowSize(): [number, number]; - columns: number; - rows: number; - isTTY: boolean; - } -} diff --git a/node_modules/@types/node/url.d.ts b/node_modules/@types/node/url.d.ts deleted file mode 100644 index 152ef5dda1..0000000000 --- a/node_modules/@types/node/url.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -declare module "url" { - import { ParsedUrlQuery, ParsedUrlQueryInput } from 'querystring'; - - // Input to `url.format` - interface UrlObject { - auth?: string | null; - hash?: string | null; - host?: string | null; - hostname?: string | null; - href?: string | null; - pathname?: string | null; - protocol?: string | null; - search?: string | null; - slashes?: boolean | null; - port?: string | number | null; - query?: string | null | ParsedUrlQueryInput; - } - - // Output of `url.parse` - interface Url { - auth: string | null; - hash: string | null; - host: string | null; - hostname: string | null; - href: string; - path: string | null; - pathname: string | null; - protocol: string | null; - search: string | null; - slashes: boolean | null; - port: string | null; - query: string | null | ParsedUrlQuery; - } - - interface UrlWithParsedQuery extends Url { - query: ParsedUrlQuery; - } - - interface UrlWithStringQuery extends Url { - query: string | null; - } - - function parse(urlStr: string): UrlWithStringQuery; - function parse(urlStr: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery; - function parse(urlStr: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery; - function parse(urlStr: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url; - - function format(URL: URL, options?: URLFormatOptions): string; - function format(urlObject: UrlObject | string): string; - function resolve(from: string, to: string): string; - - function domainToASCII(domain: string): string; - function domainToUnicode(domain: string): string; - - /** - * This function ensures the correct decodings of percent-encoded characters as - * well as ensuring a cross-platform valid absolute path string. - * @param url The file URL string or URL object to convert to a path. - */ - function fileURLToPath(url: string | URL): string; - - /** - * This function ensures that path is resolved absolutely, and that the URL - * control characters are correctly encoded when converting into a File URL. - * @param url The path to convert to a File URL. - */ - function pathToFileURL(url: string): URL; - - interface URLFormatOptions { - auth?: boolean; - fragment?: boolean; - search?: boolean; - unicode?: boolean; - } - - class URL { - constructor(input: string, base?: string | URL); - hash: string; - host: string; - hostname: string; - href: string; - readonly origin: string; - password: string; - pathname: string; - port: string; - protocol: string; - search: string; - readonly searchParams: URLSearchParams; - username: string; - toString(): string; - toJSON(): string; - } - - class URLSearchParams implements Iterable<[string, string]> { - constructor(init?: URLSearchParams | string | NodeJS.Dict | Iterable<[string, string]> | Array<[string, string]>); - append(name: string, value: string): void; - delete(name: string): void; - entries(): IterableIterator<[string, string]>; - forEach(callback: (value: string, name: string, searchParams: this) => void): void; - get(name: string): string | null; - getAll(name: string): string[]; - has(name: string): boolean; - keys(): IterableIterator; - set(name: string, value: string): void; - sort(): void; - toString(): string; - values(): IterableIterator; - [Symbol.iterator](): IterableIterator<[string, string]>; - } -} diff --git a/node_modules/@types/node/util.d.ts b/node_modules/@types/node/util.d.ts deleted file mode 100644 index 542ad76524..0000000000 --- a/node_modules/@types/node/util.d.ts +++ /dev/null @@ -1,194 +0,0 @@ -declare module "util" { - interface InspectOptions extends NodeJS.InspectOptions { } - type Style = 'special' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' | 'string' | 'symbol' | 'date' | 'regexp' | 'module'; - type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => string; - interface InspectOptionsStylized extends InspectOptions { - stylize(text: string, styleType: Style): string; - } - function format(format: any, ...param: any[]): string; - function formatWithOptions(inspectOptions: InspectOptions, format: string, ...param: any[]): string; - /** @deprecated since v0.11.3 - use a third party module instead. */ - function log(string: string): void; - function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string; - function inspect(object: any, options: InspectOptions): string; - namespace inspect { - let colors: NodeJS.Dict<[number, number]>; - let styles: { - [K in Style]: string - }; - let defaultOptions: InspectOptions; - /** - * Allows changing inspect settings from the repl. - */ - let replDefaults: InspectOptions; - const custom: unique symbol; - } - /** @deprecated since v4.0.0 - use `Array.isArray()` instead. */ - function isArray(object: any): object is any[]; - /** @deprecated since v4.0.0 - use `util.types.isRegExp()` instead. */ - function isRegExp(object: any): object is RegExp; - /** @deprecated since v4.0.0 - use `util.types.isDate()` instead. */ - function isDate(object: any): object is Date; - /** @deprecated since v4.0.0 - use `util.types.isNativeError()` instead. */ - function isError(object: any): object is Error; - function inherits(constructor: any, superConstructor: any): void; - function debuglog(key: string): (msg: string, ...param: any[]) => void; - /** @deprecated since v4.0.0 - use `typeof value === 'boolean'` instead. */ - function isBoolean(object: any): object is boolean; - /** @deprecated since v4.0.0 - use `Buffer.isBuffer()` instead. */ - function isBuffer(object: any): object is Buffer; - /** @deprecated since v4.0.0 - use `typeof value === 'function'` instead. */ - function isFunction(object: any): boolean; - /** @deprecated since v4.0.0 - use `value === null` instead. */ - function isNull(object: any): object is null; - /** @deprecated since v4.0.0 - use `value === null || value === undefined` instead. */ - function isNullOrUndefined(object: any): object is null | undefined; - /** @deprecated since v4.0.0 - use `typeof value === 'number'` instead. */ - function isNumber(object: any): object is number; - /** @deprecated since v4.0.0 - use `value !== null && typeof value === 'object'` instead. */ - function isObject(object: any): boolean; - /** @deprecated since v4.0.0 - use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead. */ - function isPrimitive(object: any): boolean; - /** @deprecated since v4.0.0 - use `typeof value === 'string'` instead. */ - function isString(object: any): object is string; - /** @deprecated since v4.0.0 - use `typeof value === 'symbol'` instead. */ - function isSymbol(object: any): object is symbol; - /** @deprecated since v4.0.0 - use `value === undefined` instead. */ - function isUndefined(object: any): object is undefined; - function deprecate(fn: T, message: string, code?: string): T; - function isDeepStrictEqual(val1: any, val2: any): boolean; - - function callbackify(fn: () => Promise): (callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify(fn: () => Promise): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; - function callbackify(fn: (arg1: T1) => Promise): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify(fn: (arg1: T1) => Promise): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; - function callbackify(fn: (arg1: T1, arg2: T2) => Promise): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify(fn: (arg1: T1, arg2: T2) => Promise): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - - interface CustomPromisifyLegacy extends Function { - __promisify__: TCustom; - } - - interface CustomPromisifySymbol extends Function { - [promisify.custom]: TCustom; - } - - type CustomPromisify = CustomPromisifySymbol | CustomPromisifyLegacy; - - function promisify(fn: CustomPromisify): TCustom; - function promisify(fn: (callback: (err: any, result: TResult) => void) => void): () => Promise; - function promisify(fn: (callback: (err?: any) => void) => void): () => Promise; - function promisify(fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void): (arg1: T1) => Promise; - function promisify(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void): (arg1: T1, arg2: T2) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void): (arg1: T1, arg2: T2) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void): - (arg1: T1, arg2: T2, arg3: T3) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void): (arg1: T1, arg2: T2, arg3: T3) => Promise; - function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void): - (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise; - function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise; - function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise; - function promisify(fn: Function): Function; - namespace promisify { - const custom: unique symbol; - } - - namespace types { - function isAnyArrayBuffer(object: any): boolean; - function isArgumentsObject(object: any): object is IArguments; - function isArrayBuffer(object: any): object is ArrayBuffer; - function isArrayBufferView(object: any): object is ArrayBufferView; - function isAsyncFunction(object: any): boolean; - function isBooleanObject(object: any): object is Boolean; - function isBoxedPrimitive(object: any): object is (Number | Boolean | String | Symbol /* | Object(BigInt) | Object(Symbol) */); - function isDataView(object: any): object is DataView; - function isDate(object: any): object is Date; - function isExternal(object: any): boolean; - function isFloat32Array(object: any): object is Float32Array; - function isFloat64Array(object: any): object is Float64Array; - function isGeneratorFunction(object: any): boolean; - function isGeneratorObject(object: any): boolean; - function isInt8Array(object: any): object is Int8Array; - function isInt16Array(object: any): object is Int16Array; - function isInt32Array(object: any): object is Int32Array; - function isMap(object: any): boolean; - function isMapIterator(object: any): boolean; - function isModuleNamespaceObject(value: any): boolean; - function isNativeError(object: any): object is Error; - function isNumberObject(object: any): object is Number; - function isPromise(object: any): boolean; - function isProxy(object: any): boolean; - function isRegExp(object: any): object is RegExp; - function isSet(object: any): boolean; - function isSetIterator(object: any): boolean; - function isSharedArrayBuffer(object: any): boolean; - function isStringObject(object: any): boolean; - function isSymbolObject(object: any): boolean; - function isTypedArray(object: any): object is NodeJS.TypedArray; - function isUint8Array(object: any): object is Uint8Array; - function isUint8ClampedArray(object: any): object is Uint8ClampedArray; - function isUint16Array(object: any): object is Uint16Array; - function isUint32Array(object: any): object is Uint32Array; - function isWeakMap(object: any): boolean; - function isWeakSet(object: any): boolean; - function isWebAssemblyCompiledModule(object: any): boolean; - } - - class TextDecoder { - readonly encoding: string; - readonly fatal: boolean; - readonly ignoreBOM: boolean; - constructor( - encoding?: string, - options?: { fatal?: boolean; ignoreBOM?: boolean } - ); - decode( - input?: NodeJS.ArrayBufferView | ArrayBuffer | null, - options?: { stream?: boolean } - ): string; - } - - interface EncodeIntoResult { - /** - * The read Unicode code units of input. - */ - - read: number; - /** - * The written UTF-8 bytes of output. - */ - written: number; - } - - class TextEncoder { - readonly encoding: string; - encode(input?: string): Uint8Array; - encodeInto(input: string, output: Uint8Array): EncodeIntoResult; - } -} diff --git a/node_modules/@types/node/v8.d.ts b/node_modules/@types/node/v8.d.ts deleted file mode 100644 index 7d950824f3..0000000000 --- a/node_modules/@types/node/v8.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -declare module "v8" { - import { Readable } from "stream"; - - interface HeapSpaceInfo { - space_name: string; - space_size: number; - space_used_size: number; - space_available_size: number; - physical_space_size: number; - } - - // ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */ - type DoesZapCodeSpaceFlag = 0 | 1; - - interface HeapInfo { - total_heap_size: number; - total_heap_size_executable: number; - total_physical_size: number; - total_available_size: number; - used_heap_size: number; - heap_size_limit: number; - malloced_memory: number; - peak_malloced_memory: number; - does_zap_garbage: DoesZapCodeSpaceFlag; - number_of_native_contexts: number; - number_of_detached_contexts: number; - } - - interface HeapCodeStatistics { - code_and_metadata_size: number; - bytecode_and_metadata_size: number; - external_script_source_size: number; - } - - /** - * Returns an integer representing a "version tag" derived from the V8 version, command line flags and detected CPU features. - * This is useful for determining whether a vm.Script cachedData buffer is compatible with this instance of V8. - */ - function cachedDataVersionTag(): number; - - function getHeapStatistics(): HeapInfo; - function getHeapSpaceStatistics(): HeapSpaceInfo[]; - function setFlagsFromString(flags: string): void; - /** - * Generates a snapshot of the current V8 heap and returns a Readable - * Stream that may be used to read the JSON serialized representation. - * This conversation was marked as resolved by joyeecheung - * This JSON stream format is intended to be used with tools such as - * Chrome DevTools. The JSON schema is undocumented and specific to the - * V8 engine, and may change from one version of V8 to the next. - */ - function getHeapSnapshot(): Readable; - - /** - * - * @param fileName The file path where the V8 heap snapshot is to be - * saved. If not specified, a file name with the pattern - * `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be - * generated, where `{pid}` will be the PID of the Node.js process, - * `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from - * the main Node.js thread or the id of a worker thread. - */ - function writeHeapSnapshot(fileName?: string): string; - - function getHeapCodeStatistics(): HeapCodeStatistics; - - class Serializer { - /** - * Writes out a header, which includes the serialization format version. - */ - writeHeader(): void; - - /** - * Serializes a JavaScript value and adds the serialized representation to the internal buffer. - * This throws an error if value cannot be serialized. - */ - writeValue(val: any): boolean; - - /** - * Returns the stored internal buffer. - * This serializer should not be used once the buffer is released. - * Calling this method results in undefined behavior if a previous write has failed. - */ - releaseBuffer(): Buffer; - - /** - * Marks an ArrayBuffer as having its contents transferred out of band.\ - * Pass the corresponding ArrayBuffer in the deserializing context to deserializer.transferArrayBuffer(). - */ - transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void; - - /** - * Write a raw 32-bit unsigned integer. - */ - writeUint32(value: number): void; - - /** - * Write a raw 64-bit unsigned integer, split into high and low 32-bit parts. - */ - writeUint64(hi: number, lo: number): void; - - /** - * Write a JS number value. - */ - writeDouble(value: number): void; - - /** - * Write raw bytes into the serializer’s internal buffer. - * The deserializer will require a way to compute the length of the buffer. - */ - writeRawBytes(buffer: NodeJS.TypedArray): void; - } - - /** - * A subclass of `Serializer` that serializes `TypedArray` (in particular `Buffer`) and `DataView` objects as host objects, - * and only stores the part of their underlying `ArrayBuffers` that they are referring to. - */ - class DefaultSerializer extends Serializer { - } - - class Deserializer { - constructor(data: NodeJS.TypedArray); - /** - * Reads and validates a header (including the format version). - * May, for example, reject an invalid or unsupported wire format. - * In that case, an Error is thrown. - */ - readHeader(): boolean; - - /** - * Deserializes a JavaScript value from the buffer and returns it. - */ - readValue(): any; - - /** - * Marks an ArrayBuffer as having its contents transferred out of band. - * Pass the corresponding `ArrayBuffer` in the serializing context to serializer.transferArrayBuffer() - * (or return the id from serializer._getSharedArrayBufferId() in the case of SharedArrayBuffers). - */ - transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void; - - /** - * Reads the underlying wire format version. - * Likely mostly to be useful to legacy code reading old wire format versions. - * May not be called before .readHeader(). - */ - getWireFormatVersion(): number; - - /** - * Read a raw 32-bit unsigned integer and return it. - */ - readUint32(): number; - - /** - * Read a raw 64-bit unsigned integer and return it as an array [hi, lo] with two 32-bit unsigned integer entries. - */ - readUint64(): [number, number]; - - /** - * Read a JS number value. - */ - readDouble(): number; - - /** - * Read raw bytes from the deserializer’s internal buffer. - * The length parameter must correspond to the length of the buffer that was passed to serializer.writeRawBytes(). - */ - readRawBytes(length: number): Buffer; - } - - /** - * A subclass of `Serializer` that serializes `TypedArray` (in particular `Buffer`) and `DataView` objects as host objects, - * and only stores the part of their underlying `ArrayBuffers` that they are referring to. - */ - class DefaultDeserializer extends Deserializer { - } - - /** - * Uses a `DefaultSerializer` to serialize value into a buffer. - */ - function serialize(value: any): Buffer; - - /** - * Uses a `DefaultDeserializer` with default options to read a JS value from a buffer. - */ - function deserialize(data: NodeJS.TypedArray): any; -} diff --git a/node_modules/@types/node/vm.d.ts b/node_modules/@types/node/vm.d.ts deleted file mode 100644 index 822bd151db..0000000000 --- a/node_modules/@types/node/vm.d.ts +++ /dev/null @@ -1,142 +0,0 @@ -declare module "vm" { - interface Context extends NodeJS.Dict { } - interface BaseOptions { - /** - * Specifies the filename used in stack traces produced by this script. - * Default: `''`. - */ - filename?: string; - /** - * Specifies the line number offset that is displayed in stack traces produced by this script. - * Default: `0`. - */ - lineOffset?: number; - /** - * Specifies the column number offset that is displayed in stack traces produced by this script. - * Default: `0` - */ - columnOffset?: number; - } - interface ScriptOptions extends BaseOptions { - displayErrors?: boolean; - timeout?: number; - cachedData?: Buffer; - produceCachedData?: boolean; - } - interface RunningScriptOptions extends BaseOptions { - /** - * When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace. - * Default: `true`. - */ - displayErrors?: boolean; - /** - * Specifies the number of milliseconds to execute code before terminating execution. - * If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer. - */ - timeout?: number; - /** - * If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received. - * Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that. - * If execution is terminated, an `Error` will be thrown. - * Default: `false`. - */ - breakOnSigint?: boolean; - } - interface CompileFunctionOptions extends BaseOptions { - /** - * Provides an optional data with V8's code cache data for the supplied source. - */ - cachedData?: Buffer; - /** - * Specifies whether to produce new cache data. - * Default: `false`, - */ - produceCachedData?: boolean; - /** - * The sandbox/context in which the said function should be compiled in. - */ - parsingContext?: Context; - - /** - * An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling - */ - contextExtensions?: Object[]; - } - - interface CreateContextOptions { - /** - * Human-readable name of the newly created context. - * @default 'VM Context i' Where i is an ascending numerical index of the created context. - */ - name?: string; - /** - * Corresponds to the newly created context for display purposes. - * The origin should be formatted like a `URL`, but with only the scheme, host, and port (if necessary), - * like the value of the `url.origin` property of a URL object. - * Most notably, this string should omit the trailing slash, as that denotes a path. - * @default '' - */ - origin?: string; - codeGeneration?: { - /** - * If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc) - * will throw an EvalError. - * @default true - */ - strings?: boolean; - /** - * If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError. - * @default true - */ - wasm?: boolean; - }; - } - - type MeasureMemoryMode = 'summary' | 'detailed'; - - interface MeasureMemoryOptions { - /** - * @default 'summary' - */ - mode?: MeasureMemoryMode; - context?: Context; - } - - interface MemoryMeasurement { - total: { - jsMemoryEstimate: number; - jsMemoryRange: [number, number]; - }; - } - - class Script { - constructor(code: string, options?: ScriptOptions); - runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any; - runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any; - runInThisContext(options?: RunningScriptOptions): any; - createCachedData(): Buffer; - } - function createContext(sandbox?: Context, options?: CreateContextOptions): Context; - function isContext(sandbox: Context): boolean; - function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any; - function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any; - function runInThisContext(code: string, options?: RunningScriptOptions | string): any; - function compileFunction(code: string, params?: string[], options?: CompileFunctionOptions): Function; - - /** - * Measure the memory known to V8 and used by the current execution context or a specified context. - * - * The format of the object that the returned Promise may resolve with is - * specific to the V8 engine and may change from one version of V8 to the next. - * - * The returned result is different from the statistics returned by - * `v8.getHeapSpaceStatistics()` in that `vm.measureMemory()` measures - * the memory reachable by V8 from a specific context, while - * `v8.getHeapSpaceStatistics()` measures the memory used by an instance - * of V8 engine, which can switch among multiple contexts that reference - * objects in the heap of one engine. - * - * @experimental - */ - function measureMemory(options?: MeasureMemoryOptions): Promise; -} diff --git a/node_modules/@types/node/worker_threads.d.ts b/node_modules/@types/node/worker_threads.d.ts deleted file mode 100644 index 7eb4c24166..0000000000 --- a/node_modules/@types/node/worker_threads.d.ts +++ /dev/null @@ -1,191 +0,0 @@ -declare module "worker_threads" { - import { Context } from "vm"; - import { EventEmitter } from "events"; - import { Readable, Writable } from "stream"; - import { URL } from "url"; - - const isMainThread: boolean; - const parentPort: null | MessagePort; - const SHARE_ENV: unique symbol; - const threadId: number; - const workerData: any; - - class MessageChannel { - readonly port1: MessagePort; - readonly port2: MessagePort; - } - - class MessagePort extends EventEmitter { - close(): void; - postMessage(value: any, transferList?: Array): void; - ref(): void; - unref(): void; - start(): void; - - addListener(event: "close", listener: () => void): this; - addListener(event: "message", listener: (value: any) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "message", value: any): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "message", listener: (value: any) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "message", listener: (value: any) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "message", listener: (value: any) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "message", listener: (value: any) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - removeListener(event: "close", listener: () => void): this; - removeListener(event: "message", listener: (value: any) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - - off(event: "close", listener: () => void): this; - off(event: "message", listener: (value: any) => void): this; - off(event: string | symbol, listener: (...args: any[]) => void): this; - } - - interface WorkerOptions { - /** - * List of arguments which would be stringified and appended to - * `process.argv` in the worker. This is mostly similar to the `workerData` - * but the values will be available on the global `process.argv` as if they - * were passed as CLI options to the script. - */ - argv?: any[]; - env?: NodeJS.Dict | typeof SHARE_ENV; - eval?: boolean; - workerData?: any; - stdin?: boolean; - stdout?: boolean; - stderr?: boolean; - execArgv?: string[]; - resourceLimits?: ResourceLimits; - /** - * Additional data to send in the first worker message. - */ - transferList?: Array; - } - - interface ResourceLimits { - maxYoungGenerationSizeMb?: number; - maxOldGenerationSizeMb?: number; - codeRangeSizeMb?: number; - } - - class Worker extends EventEmitter { - readonly stdin: Writable | null; - readonly stdout: Readable; - readonly stderr: Readable; - readonly threadId: number; - readonly resourceLimits?: ResourceLimits; - - /** - * @param filename The path to the Worker’s main script or module. - * Must be either an absolute path or a relative path (i.e. relative to the current working directory) starting with ./ or ../, - * or a WHATWG URL object using file: protocol. If options.eval is true, this is a string containing JavaScript code rather than a path. - */ - constructor(filename: string | URL, options?: WorkerOptions); - - postMessage(value: any, transferList?: Array): void; - ref(): void; - unref(): void; - /** - * Stop all JavaScript execution in the worker thread as soon as possible. - * Returns a Promise for the exit code that is fulfilled when the `exit` event is emitted. - */ - terminate(): Promise; - - /** - * Returns a readable stream for a V8 snapshot of the current state of the Worker. - * See [`v8.getHeapSnapshot()`][] for more details. - * - * If the Worker thread is no longer running, which may occur before the - * [`'exit'` event][] is emitted, the returned `Promise` will be rejected - * immediately with an [`ERR_WORKER_NOT_RUNNING`][] error - */ - getHeapSnapshot(): Promise; - - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "exit", listener: (exitCode: number) => void): this; - addListener(event: "message", listener: (value: any) => void): this; - addListener(event: "online", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "error", err: Error): boolean; - emit(event: "exit", exitCode: number): boolean; - emit(event: "message", value: any): boolean; - emit(event: "online"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "error", listener: (err: Error) => void): this; - on(event: "exit", listener: (exitCode: number) => void): this; - on(event: "message", listener: (value: any) => void): this; - on(event: "online", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "error", listener: (err: Error) => void): this; - once(event: "exit", listener: (exitCode: number) => void): this; - once(event: "message", listener: (value: any) => void): this; - once(event: "online", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "exit", listener: (exitCode: number) => void): this; - prependListener(event: "message", listener: (value: any) => void): this; - prependListener(event: "online", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "exit", listener: (exitCode: number) => void): this; - prependOnceListener(event: "message", listener: (value: any) => void): this; - prependOnceListener(event: "online", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "exit", listener: (exitCode: number) => void): this; - removeListener(event: "message", listener: (value: any) => void): this; - removeListener(event: "online", listener: () => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - - off(event: "error", listener: (err: Error) => void): this; - off(event: "exit", listener: (exitCode: number) => void): this; - off(event: "message", listener: (value: any) => void): this; - off(event: "online", listener: () => void): this; - off(event: string | symbol, listener: (...args: any[]) => void): this; - } - - /** - * Transfer a `MessagePort` to a different `vm` Context. The original `port` - * object will be rendered unusable, and the returned `MessagePort` instance will - * take its place. - * - * The returned `MessagePort` will be an object in the target context, and will - * inherit from its global `Object` class. Objects passed to the - * `port.onmessage()` listener will also be created in the target context - * and inherit from its global `Object` class. - * - * However, the created `MessagePort` will no longer inherit from - * `EventEmitter`, and only `port.onmessage()` can be used to receive - * events using it. - */ - function moveMessagePortToContext(port: MessagePort, context: Context): MessagePort; - - /** - * Receive a single message from a given `MessagePort`. If no message is available, - * `undefined` is returned, otherwise an object with a single `message` property - * that contains the message payload, corresponding to the oldest message in the - * `MessagePort`’s queue. - */ - function receiveMessageOnPort(port: MessagePort): { message: any } | undefined; -} diff --git a/node_modules/@types/node/zlib.d.ts b/node_modules/@types/node/zlib.d.ts deleted file mode 100644 index a03e900c10..0000000000 --- a/node_modules/@types/node/zlib.d.ts +++ /dev/null @@ -1,352 +0,0 @@ -declare module "zlib" { - import * as stream from "stream"; - - interface ZlibOptions { - /** - * @default constants.Z_NO_FLUSH - */ - flush?: number; - /** - * @default constants.Z_FINISH - */ - finishFlush?: number; - /** - * @default 16*1024 - */ - chunkSize?: number; - windowBits?: number; - level?: number; // compression only - memLevel?: number; // compression only - strategy?: number; // compression only - dictionary?: NodeJS.ArrayBufferView | ArrayBuffer; // deflate/inflate only, empty dictionary by default - } - - interface BrotliOptions { - /** - * @default constants.BROTLI_OPERATION_PROCESS - */ - flush?: number; - /** - * @default constants.BROTLI_OPERATION_FINISH - */ - finishFlush?: number; - /** - * @default 16*1024 - */ - chunkSize?: number; - params?: { - /** - * Each key is a `constants.BROTLI_*` constant. - */ - [key: number]: boolean | number; - }; - } - - interface Zlib { - /** @deprecated Use bytesWritten instead. */ - readonly bytesRead: number; - readonly bytesWritten: number; - shell?: boolean | string; - close(callback?: () => void): void; - flush(kind?: number | (() => void), callback?: () => void): void; - } - - interface ZlibParams { - params(level: number, strategy: number, callback: () => void): void; - } - - interface ZlibReset { - reset(): void; - } - - interface BrotliCompress extends stream.Transform, Zlib { } - interface BrotliDecompress extends stream.Transform, Zlib { } - interface Gzip extends stream.Transform, Zlib { } - interface Gunzip extends stream.Transform, Zlib { } - interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams { } - interface Inflate extends stream.Transform, Zlib, ZlibReset { } - interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams { } - interface InflateRaw extends stream.Transform, Zlib, ZlibReset { } - interface Unzip extends stream.Transform, Zlib { } - - function createBrotliCompress(options?: BrotliOptions): BrotliCompress; - function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress; - function createGzip(options?: ZlibOptions): Gzip; - function createGunzip(options?: ZlibOptions): Gunzip; - function createDeflate(options?: ZlibOptions): Deflate; - function createInflate(options?: ZlibOptions): Inflate; - function createDeflateRaw(options?: ZlibOptions): DeflateRaw; - function createInflateRaw(options?: ZlibOptions): InflateRaw; - function createUnzip(options?: ZlibOptions): Unzip; - - type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView; - - type CompressCallback = (error: Error | null, result: Buffer) => void; - - function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void; - function brotliCompress(buf: InputType, callback: CompressCallback): void; - function brotliCompressSync(buf: InputType, options?: BrotliOptions): Buffer; - function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void; - function brotliDecompress(buf: InputType, callback: CompressCallback): void; - function brotliDecompressSync(buf: InputType, options?: BrotliOptions): Buffer; - function deflate(buf: InputType, callback: CompressCallback): void; - function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - function deflateSync(buf: InputType, options?: ZlibOptions): Buffer; - function deflateRaw(buf: InputType, callback: CompressCallback): void; - function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - function deflateRawSync(buf: InputType, options?: ZlibOptions): Buffer; - function gzip(buf: InputType, callback: CompressCallback): void; - function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - function gzipSync(buf: InputType, options?: ZlibOptions): Buffer; - function gunzip(buf: InputType, callback: CompressCallback): void; - function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - function gunzipSync(buf: InputType, options?: ZlibOptions): Buffer; - function inflate(buf: InputType, callback: CompressCallback): void; - function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - function inflateSync(buf: InputType, options?: ZlibOptions): Buffer; - function inflateRaw(buf: InputType, callback: CompressCallback): void; - function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - function inflateRawSync(buf: InputType, options?: ZlibOptions): Buffer; - function unzip(buf: InputType, callback: CompressCallback): void; - function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - function unzipSync(buf: InputType, options?: ZlibOptions): Buffer; - - namespace constants { - const BROTLI_DECODE: number; - const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number; - const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: number; - const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: number; - const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: number; - const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: number; - const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: number; - const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: number; - const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: number; - const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: number; - const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: number; - const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: number; - const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: number; - const BROTLI_DECODER_ERROR_FORMAT_DISTANCE: number; - const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: number; - const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: number; - const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: number; - const BROTLI_DECODER_ERROR_FORMAT_PADDING_1: number; - const BROTLI_DECODER_ERROR_FORMAT_PADDING_2: number; - const BROTLI_DECODER_ERROR_FORMAT_RESERVED: number; - const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: number; - const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: number; - const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: number; - const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: number; - const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: number; - const BROTLI_DECODER_ERROR_UNREACHABLE: number; - const BROTLI_DECODER_NEEDS_MORE_INPUT: number; - const BROTLI_DECODER_NEEDS_MORE_OUTPUT: number; - const BROTLI_DECODER_NO_ERROR: number; - const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: number; - const BROTLI_DECODER_PARAM_LARGE_WINDOW: number; - const BROTLI_DECODER_RESULT_ERROR: number; - const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: number; - const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number; - const BROTLI_DECODER_RESULT_SUCCESS: number; - const BROTLI_DECODER_SUCCESS: number; - - const BROTLI_DEFAULT_MODE: number; - const BROTLI_DEFAULT_QUALITY: number; - const BROTLI_DEFAULT_WINDOW: number; - const BROTLI_ENCODE: number; - const BROTLI_LARGE_MAX_WINDOW_BITS: number; - const BROTLI_MAX_INPUT_BLOCK_BITS: number; - const BROTLI_MAX_QUALITY: number; - const BROTLI_MAX_WINDOW_BITS: number; - const BROTLI_MIN_INPUT_BLOCK_BITS: number; - const BROTLI_MIN_QUALITY: number; - const BROTLI_MIN_WINDOW_BITS: number; - - const BROTLI_MODE_FONT: number; - const BROTLI_MODE_GENERIC: number; - const BROTLI_MODE_TEXT: number; - - const BROTLI_OPERATION_EMIT_METADATA: number; - const BROTLI_OPERATION_FINISH: number; - const BROTLI_OPERATION_FLUSH: number; - const BROTLI_OPERATION_PROCESS: number; - - const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number; - const BROTLI_PARAM_LARGE_WINDOW: number; - const BROTLI_PARAM_LGBLOCK: number; - const BROTLI_PARAM_LGWIN: number; - const BROTLI_PARAM_MODE: number; - const BROTLI_PARAM_NDIRECT: number; - const BROTLI_PARAM_NPOSTFIX: number; - const BROTLI_PARAM_QUALITY: number; - const BROTLI_PARAM_SIZE_HINT: number; - - const DEFLATE: number; - const DEFLATERAW: number; - const GUNZIP: number; - const GZIP: number; - const INFLATE: number; - const INFLATERAW: number; - const UNZIP: number; - - const Z_BEST_COMPRESSION: number; - const Z_BEST_SPEED: number; - const Z_BLOCK: number; - const Z_BUF_ERROR: number; - const Z_DATA_ERROR: number; - - const Z_DEFAULT_CHUNK: number; - const Z_DEFAULT_COMPRESSION: number; - const Z_DEFAULT_LEVEL: number; - const Z_DEFAULT_MEMLEVEL: number; - const Z_DEFAULT_STRATEGY: number; - const Z_DEFAULT_WINDOWBITS: number; - - const Z_ERRNO: number; - const Z_FILTERED: number; - const Z_FINISH: number; - const Z_FIXED: number; - const Z_FULL_FLUSH: number; - const Z_HUFFMAN_ONLY: number; - const Z_MAX_CHUNK: number; - const Z_MAX_LEVEL: number; - const Z_MAX_MEMLEVEL: number; - const Z_MAX_WINDOWBITS: number; - const Z_MEM_ERROR: number; - const Z_MIN_CHUNK: number; - const Z_MIN_LEVEL: number; - const Z_MIN_MEMLEVEL: number; - const Z_MIN_WINDOWBITS: number; - const Z_NEED_DICT: number; - const Z_NO_COMPRESSION: number; - const Z_NO_FLUSH: number; - const Z_OK: number; - const Z_PARTIAL_FLUSH: number; - const Z_RLE: number; - const Z_STREAM_END: number; - const Z_STREAM_ERROR: number; - const Z_SYNC_FLUSH: number; - const Z_VERSION_ERROR: number; - const ZLIB_VERNUM: number; - } - - /** - * @deprecated - */ - const Z_NO_FLUSH: number; - /** - * @deprecated - */ - const Z_PARTIAL_FLUSH: number; - /** - * @deprecated - */ - const Z_SYNC_FLUSH: number; - /** - * @deprecated - */ - const Z_FULL_FLUSH: number; - /** - * @deprecated - */ - const Z_FINISH: number; - /** - * @deprecated - */ - const Z_BLOCK: number; - /** - * @deprecated - */ - const Z_TREES: number; - /** - * @deprecated - */ - const Z_OK: number; - /** - * @deprecated - */ - const Z_STREAM_END: number; - /** - * @deprecated - */ - const Z_NEED_DICT: number; - /** - * @deprecated - */ - const Z_ERRNO: number; - /** - * @deprecated - */ - const Z_STREAM_ERROR: number; - /** - * @deprecated - */ - const Z_DATA_ERROR: number; - /** - * @deprecated - */ - const Z_MEM_ERROR: number; - /** - * @deprecated - */ - const Z_BUF_ERROR: number; - /** - * @deprecated - */ - const Z_VERSION_ERROR: number; - /** - * @deprecated - */ - const Z_NO_COMPRESSION: number; - /** - * @deprecated - */ - const Z_BEST_SPEED: number; - /** - * @deprecated - */ - const Z_BEST_COMPRESSION: number; - /** - * @deprecated - */ - const Z_DEFAULT_COMPRESSION: number; - /** - * @deprecated - */ - const Z_FILTERED: number; - /** - * @deprecated - */ - const Z_HUFFMAN_ONLY: number; - /** - * @deprecated - */ - const Z_RLE: number; - /** - * @deprecated - */ - const Z_FIXED: number; - /** - * @deprecated - */ - const Z_DEFAULT_STRATEGY: number; - /** - * @deprecated - */ - const Z_BINARY: number; - /** - * @deprecated - */ - const Z_TEXT: number; - /** - * @deprecated - */ - const Z_ASCII: number; - /** - * @deprecated - */ - const Z_UNKNOWN: number; - /** - * @deprecated - */ - const Z_DEFLATED: number; -} diff --git a/node_modules/@types/signale/LICENSE b/node_modules/@types/signale/LICENSE deleted file mode 100644 index 21071075c2..0000000000 --- a/node_modules/@types/signale/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/node_modules/@types/signale/README.md b/node_modules/@types/signale/README.md deleted file mode 100644 index 318a08d3a8..0000000000 --- a/node_modules/@types/signale/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/signale` - -# Summary -This package contains type definitions for signale (https://github.com/klaussinani/signale). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/signale. - -### Additional Details - * Last updated: Thu, 02 Apr 2020 17:20:41 GMT - * Dependencies: [@types/node](https://npmjs.com/package/@types/node) - * Global values: none - -# Credits -These definitions were written by [Resi Respati](https://github.com/resir014), [Kingdaro](https://github.com/kingdaro), [Joydip Roy](https://github.com/rjoydip), and [Simon Nußbaumer](https://github.com/lookapanda). diff --git a/node_modules/@types/signale/index.d.ts b/node_modules/@types/signale/index.d.ts deleted file mode 100644 index 2f9d655259..0000000000 --- a/node_modules/@types/signale/index.d.ts +++ /dev/null @@ -1,164 +0,0 @@ -// Type definitions for signale 1.4 -// Project: https://github.com/klaussinani/signale -// Definitions by: Resi Respati -// Kingdaro -// Joydip Roy -// Simon Nußbaumer -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.7 - -/// - -declare namespace signale { - type DefaultMethods = - | 'await' - | 'complete' - | 'error' - | 'debug' - | 'fatal' - | 'fav' - | 'info' - | 'note' - | 'pause' - | 'pending' - | 'star' - | 'start' - | 'success' - | 'warn' - | 'watch' - | 'log'; - - interface CommandType { - /** The icon corresponding to the logger. */ - badge: string; - /** - * The color of the label, can be any of the foreground colors supported by - * [chalk](https://github.com/chalk/chalk#colors). - */ - color: string; - /** The label used to identify the type of the logger. */ - label: string; - logLevel?: string; - stream?: NodeJS.WriteStream | NodeJS.WriteStream[]; - } - - interface SignaleConfig { - /** Display the scope name of the logger. */ - displayScope?: boolean; - /** Display the badge of the logger. */ - displayBadge?: boolean; - /** Display the current local date in `YYYY-MM-DD` format. */ - displayDate?: boolean; - /** Display the name of the file that the logger is reporting from. */ - displayFilename?: boolean; - /** Display the label of the logger. */ - displayLabel?: boolean; - /** Display the current local time in `HH:MM:SS` format. */ - displayTimestamp?: boolean; - /** Underline the logger label. */ - underlineLabel?: boolean; - /** Underline the logger message. */ - underlineMessage?: boolean; - underlinePrefix?: boolean; - underlineSuffix?: boolean; - uppercaseLabel?: boolean; - } - - interface SignaleOptions { - /** Sets the configuration of an instance overriding any existing global or local configuration. */ - config?: SignaleConfig; - disabled?: boolean; - /** - * Name of the scope. - */ - scope?: string; - /** - * Holds the configuration of the custom and default loggers. - */ - types?: Partial>; - interactive?: boolean; - logLevel?: string; - timers?: Map; - /** - * Destination to which the data is written, can be any valid - * [Writable stream](https://nodejs.org/api/stream.html#stream_writable_streams). - */ - stream?: NodeJS.WriteStream | NodeJS.WriteStream[]; - secrets?: Array; - } - - interface SignaleConstructor { - new (options?: SignaleOptions): Signale; - } - - interface SignaleBase { - /** - * Sets the configuration of an instance overriding any existing global or local configuration. - * - * @param configObj Can hold any of the documented options. - */ - config(configObj: SignaleConfig): Signale; - /** - * Defines the scope name of the logger. - * - * @param name Can be one or more comma delimited strings. - */ - scope(...name: string[]): Signale; - /** Clears the scope name of the logger. */ - unscope(): void; - /** - * Sets a timers and accepts an optional label. If none provided the timer will receive a unique label automatically. - * - * @param label Label corresponding to the timer. Each timer must have its own unique label. - * @returns a string corresponding to the timer label. - */ - time(label?: string): string; - /** - * Deactivates the timer to which the given label corresponds. If no label - * is provided the most recent timer, that was created without providing a - * label, will be deactivated. - * - * @param label Label corresponding to the timer, each timer has its own unique label. - * @param span Total running time. - */ - timeEnd(label?: string, span?: number): { label: string; span?: number }; - /** - * Disables the logging functionality of all loggers belonging to a specific instance. - */ - disable(): void; - /** - * Enables the logging functionality of all loggers belonging to a specific instance. - */ - enable(): void; - /** - * Checks whether the logging functionality of a specific instance is enabled. - * - * @returns a boolean that describes whether or not the logger is enabled. - */ - isEnabled(): boolean; - /** - * Adds new secrets/sensitive-information to the targeted Signale instance. - * - * @param secrets Array holding the secrets/sensitive-information to be filtered out. - */ - addSecrets(secrets: string[] | number[]): void; - /** - * Removes all secrets/sensitive-information from the targeted Signale instance. - */ - clearSecrets(): void; - } - - type LoggerFunc = (message?: any, ...optionalArgs: any[]) => void; - type Signale = SignaleBase & - Record & - Record; -} - -declare const signale: signale.Signale & { - Signale: signale.SignaleConstructor; - SignaleConfig: signale.SignaleConfig; - SignaleOptions: signale.SignaleOptions; - DefaultMethods: signale.DefaultMethods; -}; - -export = signale; diff --git a/node_modules/@types/signale/package.json b/node_modules/@types/signale/package.json deleted file mode 100644 index 5a2f656471..0000000000 --- a/node_modules/@types/signale/package.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "@types/signale", - "version": "1.4.1", - "description": "TypeScript definitions for signale", - "license": "MIT", - "contributors": [ - { - "name": "Resi Respati", - "url": "https://github.com/resir014", - "githubUsername": "resir014" - }, - { - "name": "Kingdaro", - "url": "https://github.com/kingdaro", - "githubUsername": "kingdaro" - }, - { - "name": "Joydip Roy", - "url": "https://github.com/rjoydip", - "githubUsername": "rjoydip" - }, - { - "name": "Simon Nußbaumer", - "url": "https://github.com/lookapanda", - "githubUsername": "lookapanda" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/signale" - }, - "scripts": {}, - "dependencies": { - "@types/node": "*" - }, - "typesPublisherContentHash": "5e613a380d804b46cc6bc8f68f2d3d1284b6310212e5e9bf2056f281112183f7", - "typeScriptVersion": "2.8" - -,"_resolved": "https://registry.npmjs.org/@types/signale/-/signale-1.4.1.tgz" -,"_integrity": "sha512-05d9fUDqRnt36rizLgo38SbPTrkMzdhXpvSHSAhxzokgIUPGNUoXHV0zYjPpTd4IryDADJ0mGHpfJ/Yhjyh9JQ==" -,"_from": "@types/signale@1.4.1" -} \ No newline at end of file diff --git a/node_modules/@vercel/ncc/LICENSE b/node_modules/@vercel/ncc/LICENSE deleted file mode 100644 index 1a69ac83c8..0000000000 --- a/node_modules/@vercel/ncc/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2018 ZEIT, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/@@notfound.js b/node_modules/@vercel/ncc/dist/ncc/@@notfound.js deleted file mode 100644 index 6fdcb57ae5..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/@@notfound.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = __non_webpack_require__('UNKNOWN'); diff --git a/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt b/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt deleted file mode 100644 index 2479065498..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt +++ /dev/null @@ -1,362 +0,0 @@ -arg -MIT -MIT License - -Copyright (c) 2017-2019 Zeit, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -balanced-match -MIT -(MIT) - -Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -brace-expansion -MIT -MIT License - -Copyright (c) 2013 Julian Gruber - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -concat-map -MIT -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -fs.realpath -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----- - -This library bundles a version of the `fs.realpath` and `fs.realpathSync` -methods from Node.js v0.10 under the terms of the Node.js MIT license. - -Node's license follows, also included at the header of `old.js` which contains -the licensed code: - - Copyright Joyent, Inc. and other Node contributors. - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. - - -get-folder-size -MIT - -glob -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -## Glob Logo - -Glob's logo created by Tanya Brassie , licensed -under a Creative Commons Attribution-ShareAlike 4.0 International License -https://creativecommons.org/licenses/by-sa/4.0/ - - -inflight -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - -inherits -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. - - - -minimatch -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - -mkdirp -MIT -Copyright 2010 James Halliday (mail@substack.net) - -This project is free software released under the MIT/X11 license: - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -once -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - -path-is-absolute -MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -rimraf -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - -tiny-each-async -MIT - -webpack -MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -wrappy -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md b/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md deleted file mode 100644 index 9100d3901b..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# About this directory - -This directory will contain the webpack built-ins, like -`module.js`, so that they can be accessed by webpack when -it's being executeed inside the bundled ncc file. - -These files are published to npm. diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js b/node_modules/@vercel/ncc/dist/ncc/cli.js deleted file mode 100755 index 6fdddc027d..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/cli.js +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env node -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/cli.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache deleted file mode 100644 index bf59b9d445..0000000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js deleted file mode 100644 index 84cfb32457..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var __webpack_modules__={306:e=>{"use strict";e.exports=JSON.parse('{"name":"@vercel/ncc","description":"Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.","version":"0.28.5","repository":"vercel/ncc","license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"files":["dist"],"scripts":{"build":"node scripts/build.js","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \\"{\\\\\\"coverage\\\\\\":true}\\" && codecov","prepublishOnly":"node scripts/build.js --no-cache"},"devDependencies":{"@azure/cosmos":"^2.0.5","@bugsnag/js":"^5.0.1","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^2.0.1","@google-cloud/firestore":"^2.2.0","@sentry/node":"^4.3.0","@slack/web-api":"^5.13.0","@tensorflow/tfjs-node":"^0.3.0","@vercel/webpack-asset-relocator-loader":"1.4.0","analytics-node":"^3.3.0","apollo-server-express":"^2.2.2","arg":"^4.1.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.21.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.8.1","consolidate":"^0.15.1","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^1.0.2","firebase":"^6.1.1","firebase-admin":"^6.3.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^9.3.2","graceful-fs":"^4.1.15","graphql":"^14.0.2","highlights":"^3.1.1","hot-shots":"^5.9.2","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^26.3.0","jimp":"^0.5.6","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^5.6.0","license-webpack-plugin":"2.3.11","lighthouse":"^5.0.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^0.5.1","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^3.8.0","npm":"^6.13.4","oracledb":"^4.2.0","passport":"^0.4.0","passport-google-oauth":"^1.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.8.3","pg":"^7.6.1","pug":"^3.0.1","react":"^16.6.3","react-dom":"^16.6.3","redis":"^3.1.1","request":"^2.88.0","rxjs":"^6.3.3","saslprep":"^1.0.2","sequelize":"^5.8.6","sharp":"^0.25.2","shebang-loader":"^0.0.1","socket.io":"^2.2.0","source-map-support":"^0.5.9","stripe":"^6.15.0","swig":"^1.4.2","terser":"^5.6.1","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^6.1.2","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^3.9.9","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","web-vitals":"^0.2.4","webpack":"5.30.0","when":"^3.7.8"},"resolutions":{"grpc":"1.24.6"}}')},832:e=>{const t=Symbol("arg flag");function arg(e,{argv:r=process.argv.slice(2),permissive:i=false,stopAtPositional:n=false}={}){if(!e){throw new Error("Argument specification object is required")}const a={_:[]};const s={};const o={};for(const r of Object.keys(e)){if(!r){throw new TypeError("Argument key cannot be an empty string")}if(r[0]!=="-"){throw new TypeError(`Argument key must start with '-' but found: '${r}'`)}if(r.length===1){throw new TypeError(`Argument key must have a name; singular '-' keys are not allowed: ${r}`)}if(typeof e[r]==="string"){s[r]=e[r];continue}let i=e[r];let n=false;if(Array.isArray(i)&&i.length===1&&typeof i[0]==="function"){const[e]=i;i=(t,r,i=[])=>{i.push(e(t,r,i[i.length-1]));return i};n=e===Boolean||e[t]===true}else if(typeof i==="function"){n=i===Boolean||i[t]===true}else{throw new TypeError(`Type missing or not a function or valid array type: ${r}`)}if(r[1]!=="-"&&r.length>2){throw new TypeError(`Short argument keys (with a single hyphen) must have only one character: ${r}`)}o[r]=[i,n]}for(let e=0,t=r.length;e0){a._=a._.concat(r.slice(e));break}if(t==="--"){a._=a._.concat(r.slice(e+1));break}if(t.length>1&&t[0]==="-"){const n=t[1]==="-"||t.length===2?[t]:t.slice(1).split("").map((e=>`-${e}`));for(let t=0;t1&&r[e+1][0]==="-"&&!(r[e+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(p===Number||typeof BigInt!=="undefined"&&p===BigInt))){const e=l===h?"":` (alias for ${h})`;throw new Error(`Option requires argument: ${l}${e}`)}a[h]=p(r[e+1],h,a[h]);++e}else{a[h]=p(u,h,a[h])}}}else{a._.push(t)}}return a}arg.flag=e=>{e[t]=true;return e};arg.COUNT=arg.flag(((e,t,r)=>(r||0)+1));e.exports=arg},835:e=>{"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var i=range(e,t,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+e.length,i[1]),post:r.slice(i[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var i,n,a,s,o;var c=r.indexOf(e);var l=r.indexOf(t,c+1);var u=c;if(c>=0&&l>0){i=[];a=r.length;while(u>=0&&!o){if(u==c){i.push(u);c=r.indexOf(e,u+1)}else if(i.length==1){o=[i.pop(),l]}else{n=i.pop();if(n=0?c:l}if(i.length){o=[a,s]}}return o}},215:(e,t,r)=>{var i=r(551);var n=r(835);e.exports=expandTop;var a="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var l="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(a).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(l)}function unescapeBraces(e){return e.split(a).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(l).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=n("{","}",e);if(!r)return e.split(",");var i=r.pre;var a=r.body;var s=r.post;var o=i.split(",");o[o.length-1]+="{"+a+"}";var c=parseCommaParts(s);if(s.length){o[o.length-1]+=c.shift();o.push.apply(o,c)}t.push.apply(t,o);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var a=n("{","}",e);if(!a||/\$$/.test(a.pre))return[e];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body);var l=s||c;var u=a.body.indexOf(",")>=0;if(!l&&!u){if(a.post.match(/,.*\}/)){e=a.pre+"{"+a.body+o+a.post;return expand(e)}return[e]}var h;if(l){h=a.body.split(/\.\./)}else{h=parseCommaParts(a.body);if(h.length===1){h=expand(h[0],false).map(embrace);if(h.length===1){var p=a.post.length?expand(a.post,false):[""];return p.map((function(e){return a.pre+h[0]+e}))}}}var d=a.pre;var p=a.post.length?expand(a.post,false):[""];var m;if(l){var v=numeric(h[0]);var g=numeric(h[1]);var b=Math.max(h[0].length,h[1].length);var y=h.length==3?Math.abs(numeric(h[2])):1;var _=lte;var w=g0){var O=new Array(x+1).join("0");if(E<0)S="-"+O+S.slice(1);else S=O+S}}}m.push(S)}}else{m=i(h,(function(e){return expand(e,false)}))}for(var j=0;j{e.exports=function(e,r){var i=[];for(var n=0;n{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var i=r(747);var n=i.realpath;var a=i.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var c=r(411);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,r){if(o){return n(e,t,r)}if(typeof t==="function"){r=t;t=null}n(e,t,(function(i,n){if(newError(i)){c.realpath(e,t,r)}else{r(i,n)}}))}function realpathSync(e,t){if(o){return a(e,t)}try{return a(e,t)}catch(r){if(newError(r)){return c.realpathSync(e,t)}else{throw r}}}function monkeypatch(){i.realpath=realpath;i.realpathSync=realpathSync}function unmonkeypatch(){i.realpath=n;i.realpathSync=a}},411:(e,t,r)=>{var i=r(622);var n=process.platform==="win32";var a=r(747);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(s){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var o=i.normalize;if(n){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(n){var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var l=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=i.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var r=e,s={},o={};var u;var h;var p;var d;start();function start(){var t=l.exec(e);u=t[0].length;h=t[0];p=t[0];d="";if(n&&!o[p]){a.lstatSync(p);o[p]=true}}while(u=e.length){if(t)t[s]=e;return r(null,e)}c.lastIndex=h;var i=c.exec(e);m=p;p+=i[0];d=m+i[1];h=c.lastIndex;if(u[d]||t&&t[d]===d){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,d)){return gotResolvedLink(t[d])}return a.lstat(d,gotStat)}function gotStat(e,i){if(e)return r(e);if(!i.isSymbolicLink()){u[d]=true;if(t)t[d]=d;return process.nextTick(LOOP)}if(!n){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],d)}}a.stat(d,(function(e){if(e)return r(e);a.readlink(d,(function(e,t){if(!n)o[s]=t;gotTarget(e,t)}))}))}function gotTarget(e,n,a){if(e)return r(e);var s=i.resolve(m,n);if(t)t[a]=s;gotResolvedLink(s)}function gotResolvedLink(t){e=i.resolve(t,e.slice(h));start()}}},74:(e,t,r)=>{"use strict";const i=r(747);const n=r(622);const a=r(833);function readSizeRecursive(e,t,r,s){let o;let c;if(!s){o=r;c=null}else{o=s;c=r}i.lstat(t,(function lstat(r,s){let l=!r?s.size||0:0;if(s){if(e.has(s.ino)){return o(null,0)}e.add(s.ino)}if(!r&&s.isDirectory()){i.readdir(t,((r,i)=>{if(r){return o(r)}a(i,5e3,((r,i)=>{readSizeRecursive(e,n.join(t,r),c,((e,t)=>{if(!e){l+=t}i(e)}))}),(e=>{o(e,l)}))}))}else{if(c&&c.test(t)){l=0}o(r,l)}}))}e.exports=(...e)=>{e.unshift(new Set);return readSizeRecursive(...e)}},744:(e,t,r)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var i=r(622);var n=r(642);var a=r(963);var s=n.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new s(r,{dot:true})}return{matcher:new s(e,{dot:true}),gmatcher:t}}function setopts(e,t,r){if(!r)r={};if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!r.silent;e.pattern=t;e.strict=r.strict!==false;e.realpath=!!r.realpath;e.realpathCache=r.realpathCache||Object.create(null);e.follow=!!r.follow;e.dot=!!r.dot;e.mark=!!r.mark;e.nodir=!!r.nodir;if(e.nodir)e.mark=true;e.sync=!!r.sync;e.nounique=!!r.nounique;e.nonull=!!r.nonull;e.nosort=!!r.nosort;e.nocase=!!r.nocase;e.stat=!!r.stat;e.noprocess=!!r.noprocess;e.absolute=!!r.absolute;e.maxLength=r.maxLength||Infinity;e.cache=r.cache||Object.create(null);e.statCache=r.statCache||Object.create(null);e.symlinks=r.symlinks||Object.create(null);setupIgnores(e,r);e.changedCwd=false;var n=process.cwd();if(!ownProp(r,"cwd"))e.cwd=n;else{e.cwd=i.resolve(r.cwd);e.changedCwd=e.cwd!==n}e.root=r.root||i.resolve(e.cwd,"/");e.root=i.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=a(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;e.minimatch=new s(t,r);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var r=t?[]:Object.create(null);for(var i=0,n=e.matches.length;i{e.exports=glob;var i=r(747);var n=r(909);var a=r(642);var s=a.Minimatch;var o=r(309);var c=r(614).EventEmitter;var l=r(622);var u=r(357);var h=r(963);var p=r(381);var d=r(744);var m=d.alphasort;var v=d.alphasorti;var g=d.setopts;var b=d.ownProp;var y=r(753);var _=r(669);var w=d.childrenIgnored;var k=d.isIgnored;var E=r(481);function glob(e,t,r){if(typeof t==="function")r=t,t={};if(!t)t={};if(t.sync){if(r)throw new TypeError("callback provided to sync glob");return p(e,t)}return new Glob(e,t,r)}glob.sync=p;var S=glob.GlobSync=p.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var r=Object.keys(t);var i=r.length;while(i--){e[r[i]]=t[r[i]]}return e}glob.hasMagic=function(e,t){var r=extend({},t);r.noprocess=true;var i=new Glob(e,r);var n=i.minimatch.set;if(!e)return false;if(n.length>1)return true;for(var a=0;athis.maxLength)return t();if(!this.stat&&b(this.cache,r)){var a=this.cache[r];if(Array.isArray(a))a="DIR";if(!n||a==="DIR")return t(null,a);if(n&&a==="FILE")return t()}var s;var o=this.statCache[r];if(o!==undefined){if(o===false)return t(null,o);else{var c=o.isDirectory()?"DIR":"FILE";if(n&&c==="FILE")return t();else return t(null,c,o)}}var l=this;var u=y("stat\0"+r,lstatcb_);if(u)i.lstat(r,u);function lstatcb_(n,a){if(a&&a.isSymbolicLink()){return i.stat(r,(function(i,n){if(i)l._stat2(e,r,null,a,t);else l._stat2(e,r,i,n,t)}))}else{l._stat2(e,r,n,a,t)}}};Glob.prototype._stat2=function(e,t,r,i,n){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[t]=false;return n()}var a=e.slice(-1)==="/";this.statCache[t]=i;if(t.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,false,i);var s=true;if(i)s=i.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||s;if(a&&s==="FILE")return n();return n(null,s,i)}},381:(e,t,r)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var i=r(747);var n=r(909);var a=r(642);var s=a.Minimatch;var o=r(750).Glob;var c=r(669);var l=r(622);var u=r(357);var h=r(963);var p=r(744);var d=p.alphasort;var m=p.alphasorti;var v=p.setopts;var g=p.ownProp;var b=p.childrenIgnored;var y=p.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);v(this,e,t);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;ithis.maxLength)return false;if(!this.stat&&g(this.cache,t)){var n=this.cache[t];if(Array.isArray(n))n="DIR";if(!r||n==="DIR")return n;if(r&&n==="FILE")return false}var a;var s=this.statCache[t];if(!s){var o;try{o=i.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{s=i.statSync(t)}catch(e){s=o}}else{s=o}}this.statCache[t]=s;var n=true;if(s)n=s.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||n;if(r&&n==="FILE")return false;return n};GlobSync.prototype._mark=function(e){return p.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return p.makeAbs(this,e)}},753:(e,t,r)=>{var i=r(687);var n=Object.create(null);var a=r(481);e.exports=i(inflight);function inflight(e,t){if(n[e]){n[e].push(t);return null}else{n[e]=[t];return makeres(e)}}function makeres(e){return a((function RES(){var t=n[e];var r=t.length;var i=slice(arguments);try{for(var a=0;ar){t.splice(0,r);process.nextTick((function(){RES.apply(null,i)}))}else{delete n[e]}}}))}function slice(e){var t=e.length;var r=[];for(var i=0;i{try{var i=r(669);if(typeof i.inherits!=="function")throw"";e.exports=i.inherits}catch(t){e.exports=r(474)}},474:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},642:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var i={sep:"/"};try{i=r(622)}catch(e){}var n=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var a=r(215);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var c=o+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var h=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var p=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,i,n){return minimatch(r,e,t)}}function ext(e,t){e=e||{};t=t||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var r=function minimatch(r,i,n){return t.minimatch(r,i,ext(e,n))};r.Minimatch=function Minimatch(r,i){return new t.Minimatch(r,ext(e,i))};return r};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(i.sep!=="/"){e=e.split(i.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(p)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var i=0;if(r.nonegate)return;for(var n=0,a=e.length;n1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&e==="**")return n;if(e==="")return"";var i="";var a=!!r.nocase;var l=false;var u=[];var p=[];var m;var v=false;var g=-1;var b=-1;var y=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var _=this;function clearStateChar(){if(m){switch(m){case"*":i+=c;a=true;break;case"?":i+=o;a=true;break;default:i+="\\"+m;break}_.debug("clearStateChar %j %j",m,i);m=false}}for(var w=0,k=e.length,E;w-1;T--){var M=p[T];var N=i.slice(0,M.reStart);var I=i.slice(M.reStart,M.reEnd-8);var C=i.slice(M.reEnd-8,M.reEnd);var R=i.slice(M.reEnd);C+=R;var D=N.split("(").length-1;var q=R;for(w=0;w=0;s--){a=e[s];if(a)break}for(s=0;s>> no match, partial?",e,h,t,p);if(h===o)return true}return false}var m;if(typeof l==="string"){if(i.nocase){m=u.toLowerCase()===l.toLowerCase()}else{m=u===l}this.debug("string match",l,u,m)}else{m=u.match(l);this.debug("pattern match",l,u,m)}if(!m)return false}if(a===o&&s===c){return true}else if(a===o){return r}else if(s===c){var v=a===o-1&&e[a]==="";return v}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},485:(e,t,r)=>{var i=r(622);var n=r(747);var a=parseInt("0777",8);e.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(e,t,r,s){if(typeof t==="function"){r=t;t={}}else if(!t||typeof t!=="object"){t={mode:t}}var o=t.mode;var c=t.fs||n;if(o===undefined){o=a}if(!s)s=null;var l=r||function(){};e=i.resolve(e);c.mkdir(e,o,(function(r){if(!r){s=s||e;return l(null,s)}switch(r.code){case"ENOENT":if(i.dirname(e)===e)return l(r);mkdirP(i.dirname(e),t,(function(r,i){if(r)l(r,i);else mkdirP(e,t,l,i)}));break;default:c.stat(e,(function(e,t){if(e||!t.isDirectory())l(r,s);else l(null,s)}));break}}))}mkdirP.sync=function sync(e,t,r){if(!t||typeof t!=="object"){t={mode:t}}var s=t.mode;var o=t.fs||n;if(s===undefined){s=a}if(!r)r=null;e=i.resolve(e);try{o.mkdirSync(e,s);r=r||e}catch(n){switch(n.code){case"ENOENT":r=sync(i.dirname(e),t,r);sync(e,t,r);break;default:var c;try{c=o.statSync(e)}catch(e){throw n}if(!c.isDirectory())throw n;break}}return r}},481:(e,t,r)=>{var i=r(687);e.exports=i(once);e.exports.strict=i(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},963:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=t.exec(e);var i=r[1]||"";var n=Boolean(i&&i.charAt(1)!==":");return Boolean(r[2]||n)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},8:(e,t,r)=>{e.exports=rimraf;rimraf.sync=rimrafSync;var i=r(357);var n=r(622);var a=r(747);var s=undefined;try{s=r(750)}catch(e){}var o=parseInt("666",8);var c={nosort:true,silent:true};var l=0;var u=process.platform==="win32";function defaults(e){var t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((function(t){e[t]=e[t]||a[t];t=t+"Sync";e[t]=e[t]||a[t]}));e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&s===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||c}function rimraf(e,t,r){if(typeof t==="function"){r=t;t={}}i(e,"rimraf: missing path");i.equal(typeof e,"string","rimraf: path should be a string");i.equal(typeof r,"function","rimraf: callback function required");i(t,"rimraf: invalid options argument provided");i.equal(typeof t,"object","rimraf: options should be object");defaults(t);var n=0;var a=null;var o=0;if(t.disableGlob||!s.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,(function(r,i){if(!r)return afterGlob(null,[e]);s(e,t.glob,afterGlob)}));function next(e){a=a||e;if(--o===0)r(a)}function afterGlob(e,i){if(e)return r(e);o=i.length;if(o===0)return r();i.forEach((function(e){rimraf_(e,t,(function CB(r){if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&n{"use strict";e.exports=function eachAsync(e,t,r,i){var n=0;var a=0;var s=e.length-1;var o=false;var c;var l;var u;if(typeof t==="number"){c=t;u=r;l=i||function noop(){}}else{u=t;l=r||function noop(){};c=e.length}if(!e.length){return l()}var h=u.length;var p=function shouldCallNextIterator(){return!o&&n{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{const{resolve:resolve,relative:relative,dirname:dirname,sep:sep}=__webpack_require__(622);const glob=__webpack_require__(750);const shebangRegEx=__webpack_require__(681);const rimraf=__webpack_require__(8);const crypto=__webpack_require__(417);const{writeFileSync:writeFileSync,unlink:unlink,existsSync:existsSync,symlinkSync:symlinkSync}=__webpack_require__(747);const mkdirp=__webpack_require__(485);const{version:nccVersion}=__webpack_require__(306);process.noDeprecation=true;const usage=`Usage: ncc \n\nCommands:\n build [opts]\n run [opts]\n cache clean|dir|size\n help\n version\n\nOptions:\n -o, --out [file] Output directory for build (defaults to dist)\n -m, --minify Minify output\n -C, --no-cache Skip build cache population\n -s, --source-map Generate source map\n --no-source-map-register Skip source-map-register source map support\n -e, --external [mod] Skip bundling 'mod'. Can be used many times\n -q, --quiet Disable build summaries / non-error outputs\n -w, --watch Start a watched build\n -t, --transpile-only Use transpileOnly option with the ts-loader\n --v8-cache Emit a build using the v8 compile cache\n --license [file] Adds a file containing licensing information to the output\n --stats-out [file] Emit webpack stats as json to the specified output file\n --target [es] ECMAScript target to use for output (default: es2015)\n Learn more: https://webpack.js.org/configuration/target\n`;let api=false;if(require.main===require.cache[eval("__filename")]){runCmd(process.argv.slice(2),process.stdout,process.stderr).then((e=>{if(!e)process.exit()})).catch((e=>{if(!e.silent)console.error(e.nccError?e.message:e);process.exit(e.exitCode||1)}))}else{module.exports=runCmd;api=true}function renderSummary(e,t,r,i,n,a){if(n&&!n.endsWith(sep))n+=sep;const s=Math.round(Buffer.byteLength(e,"utf8")/1024);const o=t?Math.round(Buffer.byteLength(t,"utf8")/1024):0;const c=Object.create(null);let l=s;let u=8+(t?4:0);for(const e of Object.keys(r)){const t=r[e].source;const i=Math.round((t.byteLength||Buffer.byteLength(t,"utf8"))/1024);c[e]=i;l+=i;if(e.length>u)u=e.length}const h=Object.keys(r).sort(((e,t)=>c[e]>c[t]?1:-1));const p=l.toString().length;let d=`${s.toString().padStart(p," ")}kB ${n}index${i}`;let m=t?`${o.toString().padStart(p," ")}kB ${n}index${i}.map`:"";let v="",g=true;for(const e of h){if(g)g=false;else v+="\n";if(s2)errTooManyArguments("cache");const flags=Object.keys(args).filter((e=>e.startsWith("--")));if(flags.length)errFlagNotCompatible(flags[0],"cache");const cacheDir=__webpack_require__(946);switch(args._[1]){case"clean":rimraf.sync(cacheDir);break;case"dir":stdout.write(cacheDir+"\n");break;case"size":__webpack_require__(74)(cacheDir,((e,t)=>{if(e){if(e.code==="ENOENT"){stdout.write("0MB\n");return}throw e}stdout.write(`${(t/1024/1024).toFixed(2)}MB\n`)}));break;default:errInvalidCommand("cache "+args._[1])}break;case"run":if(args._.length>2)errTooManyArguments("run");if(args["--out"])errFlagNotCompatible("--out","run");if(args["--watch"])errFlagNotCompatible("--watch","run");outDir=resolve(__webpack_require__(87).tmpdir(),crypto.createHash("md5").update(resolve(args._[1]||".")).digest("hex"));if(existsSync(outDir))rimraf.sync(outDir);run=true;case"build":if(args._.length>2)errTooManyArguments("build");let startTime=Date.now();let ps;const buildFile=eval("require.resolve")(resolve(args._[1]||"."));const ext=buildFile.endsWith(".cjs")?".cjs":".js";const ncc=__webpack_require__(612)(buildFile,{debugLog:args["--debug"],minify:args["--minify"],externals:args["--external"],sourceMap:args["--source-map"]||run,sourceMapRegister:args["--no-source-map-register"]?false:undefined,noAssetBuilds:args["--no-asset-builds"]?true:false,cache:args["--no-cache"]?false:undefined,watch:args["--watch"],v8cache:args["--v8-cache"],transpileOnly:args["--transpile-only"],license:args["--license"],quiet:quiet,target:args["--target"]});async function handler({err:err,code:code,map:map,assets:assets,symlinks:symlinks,stats:stats}){if(err){stderr.write(err+"\n");stdout.write("Watching for changes...\n");return}outDir=outDir||resolve(eval("'dist'"));mkdirp.sync(outDir);await Promise.all((await new Promise(((e,t)=>glob(outDir+"/**/*.(js|cjs)",((r,i)=>r?t(r):e(i)))))).map((e=>new Promise(((t,r)=>unlink(e,(e=>e?r(e):t())))))));writeFileSync(`${outDir}/index${ext}`,code,{mode:code.match(shebangRegEx)?511:438});if(map)writeFileSync(`${outDir}/index${ext}.map`,map);for(const e of Object.keys(assets)){const t=outDir+"/"+e;mkdirp.sync(dirname(t));writeFileSync(t,assets[e].source,{mode:assets[e].permissions})}for(const e of Object.keys(symlinks)){const t=outDir+"/"+e;symlinkSync(symlinks[e],t)}if(!quiet){stdout.write(renderSummary(code,map,assets,ext,run?"":relative(process.cwd(),outDir),Date.now()-startTime)+"\n");if(args["--watch"])stdout.write("Watching for changes...\n")}if(statsOutFile)writeFileSync(statsOutFile,JSON.stringify(stats.toJson()));if(run){const e=resolve("/node_modules");let t=dirname(buildFile)+"/node_modules";do{if(t===e){t=undefined;break}if(existsSync(t))break}while(t=resolve(t,"../../node_modules"));if(t)symlinkSync(t,outDir+"/node_modules","junction");ps=__webpack_require__(129).fork(`${outDir}/index${ext}`,{stdio:api?"pipe":"inherit"});if(api){ps.stdout.pipe(stdout);ps.stderr.pipe(stderr)}return new Promise(((e,t)=>{function exit(r){__webpack_require__(8).sync(outDir);if(r===0)e();else t({silent:true,exitCode:r});process.off("SIGTERM",exit);process.off("SIGINT",exit)}ps.on("exit",exit);process.on("SIGTERM",exit);process.on("SIGINT",exit)}))}}if(args["--watch"]){ncc.handler(handler);ncc.rebuild((()=>{if(ps)ps.kill();startTime=Date.now();stdout.write("File change, rebuilding...\n")}));return true}else{return ncc.then(handler)}break;case"help":nccError(usage,2);case"version":stdout.write(__webpack_require__(306).version+"\n");break;default:errInvalidCommand(args._[0],2)}function errTooManyArguments(e){nccError(`Error: Too many ${e} arguments provided\n${usage}`,2)}function errFlagNotCompatible(e,t){nccError(`Error: ${e} flag is not compatible with ncc ${t}\n${usage}`,2)}function errInvalidCommand(e){nccError(`Error: Invalid command "${e}"\n${usage}`,2)}process.on("unhandledRejection",(e=>{throw e}))}},946:(e,t,r)=>{e.exports=r(87).tmpdir()+"/ncc-cache"},681:e=>{e.exports=/^#![^\n\r]*[\r\n]/},612:e=>{"use strict";e.exports=require("./index.js")},357:e=>{"use strict";e.exports=require("assert")},129:e=>{"use strict";e.exports=require("child_process")},417:e=>{"use strict";e.exports=require("crypto")},614:e=>{"use strict";e.exports=require("events")},747:e=>{"use strict";e.exports=require("fs")},87:e=>{"use strict";e.exports=require("os")},622:e=>{"use strict";e.exports=require("path")},669:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var i=true;try{__webpack_modules__[e](r,r.exports,__webpack_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}return r.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(819);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js b/node_modules/@vercel/ncc/dist/ncc/index.js deleted file mode 100644 index a4e5922780..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/index.js +++ /dev/null @@ -1,8 +0,0 @@ -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/index.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache b/node_modules/@vercel/ncc/dist/ncc/index.js.cache deleted file mode 100644 index b26bba9605..0000000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/index.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js deleted file mode 100644 index a68d744f91..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js +++ /dev/null @@ -1,37 +0,0 @@ -(()=>{var __webpack_modules__={66835:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},40038:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},28440:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;e.exports=webpackEmptyContext},42245:e=>{"use strict";e.exports={i8:"5.1.1"}},18492:e=>{"use strict";e.exports={version:"4.3.0"}},82788:e=>{"use strict";e.exports={i8:"4.3.0"}},93991:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},73313:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},83835:e=>{"use strict";e.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true}]')},85659:e=>{"use strict";e.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""}}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},26068:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},2382:e=>{"use strict";e.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.6.1","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^8.0.5","astring":"^1.6.2","eslint":"^7.19.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.2.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.38.4","semver":"^7.3.4"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_$"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},61733:e=>{"use strict";e.exports={i8:"5.30.0"}},76518:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","type":"string","minLength":1},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asset":{"description":"Allow module type \'asset\' to generate assets.","type":"boolean"},"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"layers":{"description":"Enable module and chunk layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"backend":{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), client: string, callback: (err?: Error, api?: any) => void) => void) | ((compiler: import(\'../lib/Compiler\'), client: string) => Promise))"},"client":{"description":"A custom client.","type":"string"},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen (only for store: \'pack\' or \'idle\').","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen (only for store: \'pack\' or \'idle\').","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"A path to a immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"node":{"$ref":"#/definitions/Node"},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","type":"boolean"}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"Function","tsType":"Function"},{"type":"string"},{"instanceof":"RegExp","tsType":"RegExp"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minLength":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string","minLength":1}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"A path to a immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},4837:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},39670:e=>{"use strict";e.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},53670:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},1842:e=>{"use strict";e.exports=JSON.parse('{"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","type":"string","minLength":1}}}')},24019:e=>{"use strict";e.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}}},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}}}]}')},18496:e=>{"use strict";e.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},6087:e=>{"use strict";e.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},78760:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},82037:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},82997:e=>{"use strict";e.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},19593:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},39101:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},7265:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},8462:e=>{"use strict";e.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},66451:e=>{"use strict";e.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},25049:e=>{"use strict";e.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},69127:e=>{"use strict";e.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},97350:e=>{"use strict";e.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84796:e=>{"use strict";e.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},16308:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},23288:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')},60306:e=>{"use strict";e.exports=JSON.parse('{"name":"@vercel/ncc","description":"Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.","version":"0.28.5","repository":"vercel/ncc","license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"files":["dist"],"scripts":{"build":"node scripts/build.js","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \\"{\\\\\\"coverage\\\\\\":true}\\" && codecov","prepublishOnly":"node scripts/build.js --no-cache"},"devDependencies":{"@azure/cosmos":"^2.0.5","@bugsnag/js":"^5.0.1","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^2.0.1","@google-cloud/firestore":"^2.2.0","@sentry/node":"^4.3.0","@slack/web-api":"^5.13.0","@tensorflow/tfjs-node":"^0.3.0","@vercel/webpack-asset-relocator-loader":"1.4.0","analytics-node":"^3.3.0","apollo-server-express":"^2.2.2","arg":"^4.1.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.21.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.8.1","consolidate":"^0.15.1","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^1.0.2","firebase":"^6.1.1","firebase-admin":"^6.3.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^9.3.2","graceful-fs":"^4.1.15","graphql":"^14.0.2","highlights":"^3.1.1","hot-shots":"^5.9.2","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^26.3.0","jimp":"^0.5.6","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^5.6.0","license-webpack-plugin":"2.3.11","lighthouse":"^5.0.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^0.5.1","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^3.8.0","npm":"^6.13.4","oracledb":"^4.2.0","passport":"^0.4.0","passport-google-oauth":"^1.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.8.3","pg":"^7.6.1","pug":"^3.0.1","react":"^16.6.3","react-dom":"^16.6.3","redis":"^3.1.1","request":"^2.88.0","rxjs":"^6.3.3","saslprep":"^1.0.2","sequelize":"^5.8.6","sharp":"^0.25.2","shebang-loader":"^0.0.1","socket.io":"^2.2.0","source-map-support":"^0.5.9","stripe":"^6.15.0","swig":"^1.4.2","terser":"^5.6.1","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^6.1.2","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^3.9.9","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","web-vitals":"^0.2.4","webpack":"5.30.0","when":"^3.7.8"},"resolutions":{"grpc":"1.24.6"}}')},70797:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cloneNode=cloneNode;function cloneNode(e){return Object.assign({},e)}},98093:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(t,"numberLiteralFromRaw",{enumerable:true,get:function get(){return s.numberLiteralFromRaw}});Object.defineProperty(t,"withLoc",{enumerable:true,get:function get(){return s.withLoc}});Object.defineProperty(t,"withRaw",{enumerable:true,get:function get(){return s.withRaw}});Object.defineProperty(t,"funcParam",{enumerable:true,get:function get(){return s.funcParam}});Object.defineProperty(t,"indexLiteral",{enumerable:true,get:function get(){return s.indexLiteral}});Object.defineProperty(t,"memIndexLiteral",{enumerable:true,get:function get(){return s.memIndexLiteral}});Object.defineProperty(t,"instruction",{enumerable:true,get:function get(){return s.instruction}});Object.defineProperty(t,"objectInstruction",{enumerable:true,get:function get(){return s.objectInstruction}});Object.defineProperty(t,"traverse",{enumerable:true,get:function get(){return a.traverse}});Object.defineProperty(t,"signatures",{enumerable:true,get:function get(){return c.signatures}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function get(){return l.cloneNode}});Object.defineProperty(t,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return d.moduleContextFromModuleAST}});var i=n(52696);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(r,e))return;Object.defineProperty(t,e,{enumerable:true,get:function get(){return i[e]}})}));var s=n(11891);var a=n(22056);var c=n(75769);var u=n(91764);Object.keys(u).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(r,e))return;Object.defineProperty(t,e,{enumerable:true,get:function get(){return u[e]}})}));var l=n(70797);var d=n(5499)},11891:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.numberLiteralFromRaw=numberLiteralFromRaw;t.instruction=instruction;t.objectInstruction=objectInstruction;t.withLoc=withLoc;t.withRaw=withRaw;t.funcParam=funcParam;t.indexLiteral=indexLiteral;t.memIndexLiteral=memIndexLiteral;var r=n(80853);var i=n(52696);function numberLiteralFromRaw(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var n=e;if(typeof e==="string"){e=e.replace(/_/g,"")}if(typeof e==="number"){return(0,i.numberLiteral)(e,String(n))}else{switch(t){case"i32":{return(0,i.numberLiteral)((0,r.parse32I)(e),String(n))}case"u32":{return(0,i.numberLiteral)((0,r.parseU32)(e),String(n))}case"i64":{return(0,i.longNumberLiteral)((0,r.parse64I)(e),String(n))}case"f32":{return(0,i.floatLiteral)((0,r.parse32F)(e),(0,r.isNanLiteral)(e),(0,r.isInfLiteral)(e),String(n))}default:{return(0,i.floatLiteral)((0,r.parse64F)(e),(0,r.isNanLiteral)(e),(0,r.isInfLiteral)(e),String(n))}}}}function instruction(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,i.instr)(e,undefined,t,n)}function objectInstruction(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,i.instr)(e,t,n,r)}function withLoc(e,t,n){var r={start:n,end:t};e.loc=r;return e}function withRaw(e,t){e.raw=t;return e}function funcParam(e,t){return{id:t,valtype:e}}function indexLiteral(e){var t=numberLiteralFromRaw(e,"u32");return t}function memIndexLiteral(e){var t=numberLiteralFromRaw(e,"u32");return t}},46166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPath=createPath;function _extends(){_extends=Object.assign||function(e){for(var t=1;t2&&arguments[2]!==undefined?arguments[2]:0;if(!r){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(i!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var c=i.node[s];var u=c.findIndex((function(e){return e===n}));c.splice(u+a,0,t)}function remove(e){var t=e.node,n=e.parentKey,r=e.parentPath;if(!(r!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var i=r.node;var s=i[n];if(Array.isArray(s)){i[n]=s.filter((function(e){return e!==t}))}else{delete i[n]}t._deleted=true}function stop(e){e.shouldStop=true}function replaceWith(e,t){var n=e.parentPath.node;var r=n[e.parentKey];if(Array.isArray(r)){var i=r.findIndex((function(t){return t===e.node}));r.splice(i,1,t)}else{n[e.parentKey]=t}e.node._deleted=true;e.node=t}function bindNodeOperations(e,t){var n=Object.keys(e);var r={};n.forEach((function(n){r[n]=e[n].bind(null,t)}));return r}function createPathOperations(e){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},e)}function createPath(e){var t=_extends({},e);Object.assign(t,createPathOperations(t));return t}},52696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.module=_module;t.moduleMetadata=moduleMetadata;t.moduleNameMetadata=moduleNameMetadata;t.functionNameMetadata=functionNameMetadata;t.localNameMetadata=localNameMetadata;t.binaryModule=binaryModule;t.quoteModule=quoteModule;t.sectionMetadata=sectionMetadata;t.producersSectionMetadata=producersSectionMetadata;t.producerMetadata=producerMetadata;t.producerMetadataVersionedName=producerMetadataVersionedName;t.loopInstruction=loopInstruction;t.instr=instr;t.ifInstruction=ifInstruction;t.stringLiteral=stringLiteral;t.numberLiteral=numberLiteral;t.longNumberLiteral=longNumberLiteral;t.floatLiteral=floatLiteral;t.elem=elem;t.indexInFuncSection=indexInFuncSection;t.valtypeLiteral=valtypeLiteral;t.typeInstruction=typeInstruction;t.start=start;t.globalType=globalType;t.leadingComment=leadingComment;t.blockComment=blockComment;t.data=data;t.global=global;t.table=table;t.memory=memory;t.funcImportDescr=funcImportDescr;t.moduleImport=moduleImport;t.moduleExportDescr=moduleExportDescr;t.moduleExport=moduleExport;t.limit=limit;t.signature=signature;t.program=program;t.identifier=identifier;t.blockInstruction=blockInstruction;t.callInstruction=callInstruction;t.callIndirectInstruction=callIndirectInstruction;t.byteArray=byteArray;t.func=func;t.internalBrUnless=internalBrUnless;t.internalGoto=internalGoto;t.internalCallExtern=internalCallExtern;t.internalEndAndReturn=internalEndAndReturn;t.assertInternalCallExtern=t.assertInternalGoto=t.assertInternalBrUnless=t.assertFunc=t.assertByteArray=t.assertCallIndirectInstruction=t.assertCallInstruction=t.assertBlockInstruction=t.assertIdentifier=t.assertProgram=t.assertSignature=t.assertLimit=t.assertModuleExport=t.assertModuleExportDescr=t.assertModuleImport=t.assertFuncImportDescr=t.assertMemory=t.assertTable=t.assertGlobal=t.assertData=t.assertBlockComment=t.assertLeadingComment=t.assertGlobalType=t.assertStart=t.assertTypeInstruction=t.assertValtypeLiteral=t.assertIndexInFuncSection=t.assertElem=t.assertFloatLiteral=t.assertLongNumberLiteral=t.assertNumberLiteral=t.assertStringLiteral=t.assertIfInstruction=t.assertInstr=t.assertLoopInstruction=t.assertProducerMetadataVersionedName=t.assertProducerMetadata=t.assertProducersSectionMetadata=t.assertSectionMetadata=t.assertQuoteModule=t.assertBinaryModule=t.assertLocalNameMetadata=t.assertFunctionNameMetadata=t.assertModuleNameMetadata=t.assertModuleMetadata=t.assertModule=t.isIntrinsic=t.isImportDescr=t.isNumericLiteral=t.isExpression=t.isInstruction=t.isBlock=t.isNode=t.isInternalEndAndReturn=t.isInternalCallExtern=t.isInternalGoto=t.isInternalBrUnless=t.isFunc=t.isByteArray=t.isCallIndirectInstruction=t.isCallInstruction=t.isBlockInstruction=t.isIdentifier=t.isProgram=t.isSignature=t.isLimit=t.isModuleExport=t.isModuleExportDescr=t.isModuleImport=t.isFuncImportDescr=t.isMemory=t.isTable=t.isGlobal=t.isData=t.isBlockComment=t.isLeadingComment=t.isGlobalType=t.isStart=t.isTypeInstruction=t.isValtypeLiteral=t.isIndexInFuncSection=t.isElem=t.isFloatLiteral=t.isLongNumberLiteral=t.isNumberLiteral=t.isStringLiteral=t.isIfInstruction=t.isInstr=t.isLoopInstruction=t.isProducerMetadataVersionedName=t.isProducerMetadata=t.isProducersSectionMetadata=t.isSectionMetadata=t.isQuoteModule=t.isBinaryModule=t.isLocalNameMetadata=t.isFunctionNameMetadata=t.isModuleNameMetadata=t.isModuleMetadata=t.isModule=void 0;t.nodeAndUnionTypes=t.unionTypesMap=t.assertInternalEndAndReturn=void 0;function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function isTypeOf(e){return function(t){return t.type===e}}function assertTypeOf(e){return function(t){return function(){if(!(t.type===e)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(e,t,n){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"Module",id:e,fields:t};if(typeof n!=="undefined"){r.metadata=n}return r}function moduleMetadata(e,t,n,r){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(n!==null&&n!==undefined){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(r!==null&&r!==undefined){if(!(_typeof(r)==="object"&&typeof r.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var i={type:"ModuleMetadata",sections:e};if(typeof t!=="undefined"&&t.length>0){i.functionNames=t}if(typeof n!=="undefined"&&n.length>0){i.localNames=n}if(typeof r!=="undefined"&&r.length>0){i.producers=r}return i}function moduleNameMetadata(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"ModuleNameMetadata",value:e};return t}function functionNameMetadata(e,t){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(t)||0))}var n={type:"FunctionNameMetadata",value:e,index:t};return n}function localNameMetadata(e,t,n){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(t)||0))}if(!(typeof n==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(n)||0))}var r={type:"LocalNameMetadata",value:e,localIndex:t,functionIndex:n};return r}function binaryModule(e,t){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"BinaryModule",id:e,blob:t};return n}function quoteModule(e,t){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"QuoteModule",id:e,string:t};return n}function sectionMetadata(e,t,n,r){if(!(typeof t==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(t)||0))}var i={type:"SectionMetadata",section:e,startOffset:t,size:n,vectorOfSize:r};return i}function producersSectionMetadata(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"ProducersSectionMetadata",producers:e};return t}function producerMetadata(e,t,n){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"ProducerMetadata",language:e,processedBy:t,sdk:n};return r}function producerMetadataVersionedName(e,t){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(t)||0))}var n={type:"ProducerMetadataVersionedName",name:e,version:t};return n}function loopInstruction(e,t,n){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"LoopInstruction",id:"loop",label:e,resulttype:t,instr:n};return r}function instr(e,t,n,r){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var i={type:"Instr",id:e,args:n};if(typeof t!=="undefined"){i.object=t}if(typeof r!=="undefined"&&Object.keys(r).length!==0){i.namedArgs=r}return i}function ifInstruction(e,t,n,r,i){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(r)==="object"&&typeof r.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(i)==="object"&&typeof i.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var s={type:"IfInstruction",id:"if",testLabel:e,test:t,result:n,consequent:r,alternate:i};return s}function stringLiteral(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"StringLiteral",value:e};return t}function numberLiteral(e,t){if(!(typeof e==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}var n={type:"NumberLiteral",value:e,raw:t};return n}function longNumberLiteral(e,t){if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}var n={type:"LongNumberLiteral",value:e,raw:t};return n}function floatLiteral(e,t,n,r){if(!(typeof e==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(t)||0))}}if(n!==null&&n!==undefined){if(!(typeof n==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(n)||0))}}if(!(typeof r==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(r)||0))}var i={type:"FloatLiteral",value:e,raw:r};if(t===true){i.nan=true}if(n===true){i.inf=true}return i}function elem(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"Elem",table:e,offset:t,funcs:n};return r}function indexInFuncSection(e){var t={type:"IndexInFuncSection",index:e};return t}function valtypeLiteral(e){var t={type:"ValtypeLiteral",name:e};return t}function typeInstruction(e,t){var n={type:"TypeInstruction",id:e,functype:t};return n}function start(e){var t={type:"Start",index:e};return t}function globalType(e,t){var n={type:"GlobalType",valtype:e,mutability:t};return n}function leadingComment(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"LeadingComment",value:e};return t}function blockComment(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"BlockComment",value:e};return t}function data(e,t,n){var r={type:"Data",memoryIndex:e,offset:t,init:n};return r}function global(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"Global",globalType:e,init:t,name:n};return r}function table(e,t,n,r){if(!(t.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+t.type||0))}if(r!==null&&r!==undefined){if(!(_typeof(r)==="object"&&typeof r.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var i={type:"Table",elementType:e,limits:t,name:n};if(typeof r!=="undefined"&&r.length>0){i.elements=r}return i}function memory(e,t){var n={type:"Memory",limits:e,id:t};return n}function funcImportDescr(e,t){var n={type:"FuncImportDescr",id:e,signature:t};return n}function moduleImport(e,t,n){if(!(typeof e==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(t)||0))}var r={type:"ModuleImport",module:e,name:t,descr:n};return r}function moduleExportDescr(e,t){var n={type:"ModuleExportDescr",exportType:e,id:t};return n}function moduleExport(e,t){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(e)||0))}var n={type:"ModuleExport",name:e,descr:t};return n}function limit(e,t,n){if(!(typeof e==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(t)||0))}}if(n!==null&&n!==undefined){if(!(typeof n==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(n)||0))}}var r={type:"Limit",min:e};if(typeof t!=="undefined"){r.max=t}if(n===true){r.shared=true}return r}function signature(e,t){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"Signature",params:e,results:t};return n}function program(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"Program",body:e};return t}function identifier(e,t){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}}var n={type:"Identifier",value:e};if(typeof t!=="undefined"){n.raw=t}return n}function blockInstruction(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"BlockInstruction",id:"block",label:e,instr:t,result:n};return r}function callInstruction(e,t,n){if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var r={type:"CallInstruction",id:"call",index:e};if(typeof t!=="undefined"&&t.length>0){r.instrArgs=t}if(typeof n!=="undefined"){r.numeric=n}return r}function callIndirectInstruction(e,t){if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var n={type:"CallIndirectInstruction",id:"call_indirect",signature:e};if(typeof t!=="undefined"&&t.length>0){n.intrs=t}return n}function byteArray(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"ByteArray",values:e};return t}function func(e,t,n,r,i){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(r!==null&&r!==undefined){if(!(typeof r==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(r)||0))}}var s={type:"Func",name:e,signature:t,body:n};if(r===true){s.isExternal=true}if(typeof i!=="undefined"){s.metadata=i}return s}function internalBrUnless(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalBrUnless",target:e};return t}function internalGoto(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalGoto",target:e};return t}function internalCallExtern(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalCallExtern",target:e};return t}function internalEndAndReturn(){var e={type:"InternalEndAndReturn"};return e}var n=isTypeOf("Module");t.isModule=n;var r=isTypeOf("ModuleMetadata");t.isModuleMetadata=r;var i=isTypeOf("ModuleNameMetadata");t.isModuleNameMetadata=i;var s=isTypeOf("FunctionNameMetadata");t.isFunctionNameMetadata=s;var a=isTypeOf("LocalNameMetadata");t.isLocalNameMetadata=a;var c=isTypeOf("BinaryModule");t.isBinaryModule=c;var u=isTypeOf("QuoteModule");t.isQuoteModule=u;var l=isTypeOf("SectionMetadata");t.isSectionMetadata=l;var d=isTypeOf("ProducersSectionMetadata");t.isProducersSectionMetadata=d;var p=isTypeOf("ProducerMetadata");t.isProducerMetadata=p;var h=isTypeOf("ProducerMetadataVersionedName");t.isProducerMetadataVersionedName=h;var m=isTypeOf("LoopInstruction");t.isLoopInstruction=m;var g=isTypeOf("Instr");t.isInstr=g;var y=isTypeOf("IfInstruction");t.isIfInstruction=y;var _=isTypeOf("StringLiteral");t.isStringLiteral=_;var b=isTypeOf("NumberLiteral");t.isNumberLiteral=b;var x=isTypeOf("LongNumberLiteral");t.isLongNumberLiteral=x;var k=isTypeOf("FloatLiteral");t.isFloatLiteral=k;var E=isTypeOf("Elem");t.isElem=E;var w=isTypeOf("IndexInFuncSection");t.isIndexInFuncSection=w;var S=isTypeOf("ValtypeLiteral");t.isValtypeLiteral=S;var C=isTypeOf("TypeInstruction");t.isTypeInstruction=C;var M=isTypeOf("Start");t.isStart=M;var I=isTypeOf("GlobalType");t.isGlobalType=I;var P=isTypeOf("LeadingComment");t.isLeadingComment=P;var T=isTypeOf("BlockComment");t.isBlockComment=T;var O=isTypeOf("Data");t.isData=O;var R=isTypeOf("Global");t.isGlobal=R;var N=isTypeOf("Table");t.isTable=N;var L=isTypeOf("Memory");t.isMemory=L;var $=isTypeOf("FuncImportDescr");t.isFuncImportDescr=$;var j=isTypeOf("ModuleImport");t.isModuleImport=j;var z=isTypeOf("ModuleExportDescr");t.isModuleExportDescr=z;var U=isTypeOf("ModuleExport");t.isModuleExport=U;var q=isTypeOf("Limit");t.isLimit=q;var G=isTypeOf("Signature");t.isSignature=G;var H=isTypeOf("Program");t.isProgram=H;var W=isTypeOf("Identifier");t.isIdentifier=W;var V=isTypeOf("BlockInstruction");t.isBlockInstruction=V;var K=isTypeOf("CallInstruction");t.isCallInstruction=K;var X=isTypeOf("CallIndirectInstruction");t.isCallIndirectInstruction=X;var J=isTypeOf("ByteArray");t.isByteArray=J;var Y=isTypeOf("Func");t.isFunc=Y;var Z=isTypeOf("InternalBrUnless");t.isInternalBrUnless=Z;var ee=isTypeOf("InternalGoto");t.isInternalGoto=ee;var te=isTypeOf("InternalCallExtern");t.isInternalCallExtern=te;var ne=isTypeOf("InternalEndAndReturn");t.isInternalEndAndReturn=ne;var re=function isNode(e){return n(e)||r(e)||i(e)||s(e)||a(e)||c(e)||u(e)||l(e)||d(e)||p(e)||h(e)||m(e)||g(e)||y(e)||_(e)||b(e)||x(e)||k(e)||E(e)||w(e)||S(e)||C(e)||M(e)||I(e)||P(e)||T(e)||O(e)||R(e)||N(e)||L(e)||$(e)||j(e)||z(e)||U(e)||q(e)||G(e)||H(e)||W(e)||V(e)||K(e)||X(e)||J(e)||Y(e)||Z(e)||ee(e)||te(e)||ne(e)};t.isNode=re;var ie=function isBlock(e){return m(e)||V(e)||Y(e)};t.isBlock=ie;var se=function isInstruction(e){return m(e)||g(e)||y(e)||C(e)||V(e)||K(e)||X(e)};t.isInstruction=se;var oe=function isExpression(e){return g(e)||_(e)||b(e)||x(e)||k(e)||S(e)||W(e)};t.isExpression=oe;var ae=function isNumericLiteral(e){return b(e)||x(e)||k(e)};t.isNumericLiteral=ae;var ue=function isImportDescr(e){return I(e)||N(e)||L(e)||$(e)};t.isImportDescr=ue;var le=function isIntrinsic(e){return Z(e)||ee(e)||te(e)||ne(e)};t.isIntrinsic=le;var de=assertTypeOf("Module");t.assertModule=de;var pe=assertTypeOf("ModuleMetadata");t.assertModuleMetadata=pe;var fe=assertTypeOf("ModuleNameMetadata");t.assertModuleNameMetadata=fe;var he=assertTypeOf("FunctionNameMetadata");t.assertFunctionNameMetadata=he;var me=assertTypeOf("LocalNameMetadata");t.assertLocalNameMetadata=me;var ge=assertTypeOf("BinaryModule");t.assertBinaryModule=ge;var ye=assertTypeOf("QuoteModule");t.assertQuoteModule=ye;var ve=assertTypeOf("SectionMetadata");t.assertSectionMetadata=ve;var _e=assertTypeOf("ProducersSectionMetadata");t.assertProducersSectionMetadata=_e;var be=assertTypeOf("ProducerMetadata");t.assertProducerMetadata=be;var xe=assertTypeOf("ProducerMetadataVersionedName");t.assertProducerMetadataVersionedName=xe;var ke=assertTypeOf("LoopInstruction");t.assertLoopInstruction=ke;var Ee=assertTypeOf("Instr");t.assertInstr=Ee;var we=assertTypeOf("IfInstruction");t.assertIfInstruction=we;var Se=assertTypeOf("StringLiteral");t.assertStringLiteral=Se;var Ce=assertTypeOf("NumberLiteral");t.assertNumberLiteral=Ce;var Ae=assertTypeOf("LongNumberLiteral");t.assertLongNumberLiteral=Ae;var De=assertTypeOf("FloatLiteral");t.assertFloatLiteral=De;var Me=assertTypeOf("Elem");t.assertElem=Me;var Ie=assertTypeOf("IndexInFuncSection");t.assertIndexInFuncSection=Ie;var Pe=assertTypeOf("ValtypeLiteral");t.assertValtypeLiteral=Pe;var Te=assertTypeOf("TypeInstruction");t.assertTypeInstruction=Te;var Oe=assertTypeOf("Start");t.assertStart=Oe;var Re=assertTypeOf("GlobalType");t.assertGlobalType=Re;var Fe=assertTypeOf("LeadingComment");t.assertLeadingComment=Fe;var Ne=assertTypeOf("BlockComment");t.assertBlockComment=Ne;var Be=assertTypeOf("Data");t.assertData=Be;var Le=assertTypeOf("Global");t.assertGlobal=Le;var $e=assertTypeOf("Table");t.assertTable=$e;var je=assertTypeOf("Memory");t.assertMemory=je;var ze=assertTypeOf("FuncImportDescr");t.assertFuncImportDescr=ze;var Ue=assertTypeOf("ModuleImport");t.assertModuleImport=Ue;var qe=assertTypeOf("ModuleExportDescr");t.assertModuleExportDescr=qe;var Ge=assertTypeOf("ModuleExport");t.assertModuleExport=Ge;var He=assertTypeOf("Limit");t.assertLimit=He;var We=assertTypeOf("Signature");t.assertSignature=We;var Ve=assertTypeOf("Program");t.assertProgram=Ve;var Ke=assertTypeOf("Identifier");t.assertIdentifier=Ke;var Qe=assertTypeOf("BlockInstruction");t.assertBlockInstruction=Qe;var Xe=assertTypeOf("CallInstruction");t.assertCallInstruction=Xe;var Je=assertTypeOf("CallIndirectInstruction");t.assertCallIndirectInstruction=Je;var Ye=assertTypeOf("ByteArray");t.assertByteArray=Ye;var Ze=assertTypeOf("Func");t.assertFunc=Ze;var et=assertTypeOf("InternalBrUnless");t.assertInternalBrUnless=et;var tt=assertTypeOf("InternalGoto");t.assertInternalGoto=tt;var nt=assertTypeOf("InternalCallExtern");t.assertInternalCallExtern=nt;var rt=assertTypeOf("InternalEndAndReturn");t.assertInternalEndAndReturn=rt;var it={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};t.unionTypesMap=it;var st=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];t.nodeAndUnionTypes=st},75769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.signatures=void 0;function sign(e,t){return[e,t]}var n="u32";var r="i32";var i="i64";var s="f32";var a="f64";var c=function vector(e){var t=[e];t.vector=true;return t};var u={unreachable:sign([],[]),nop:sign([],[]),br:sign([n],[]),br_if:sign([n],[]),br_table:sign(c(n),[]),return:sign([],[]),call:sign([n],[]),call_indirect:sign([n],[])};var l={drop:sign([],[]),select:sign([],[])};var d={get_local:sign([n],[]),set_local:sign([n],[]),tee_local:sign([n],[]),get_global:sign([n],[]),set_global:sign([n],[])};var p={"i32.load":sign([n,n],[r]),"i64.load":sign([n,n],[]),"f32.load":sign([n,n],[]),"f64.load":sign([n,n],[]),"i32.load8_s":sign([n,n],[r]),"i32.load8_u":sign([n,n],[r]),"i32.load16_s":sign([n,n],[r]),"i32.load16_u":sign([n,n],[r]),"i64.load8_s":sign([n,n],[i]),"i64.load8_u":sign([n,n],[i]),"i64.load16_s":sign([n,n],[i]),"i64.load16_u":sign([n,n],[i]),"i64.load32_s":sign([n,n],[i]),"i64.load32_u":sign([n,n],[i]),"i32.store":sign([n,n],[]),"i64.store":sign([n,n],[]),"f32.store":sign([n,n],[]),"f64.store":sign([n,n],[]),"i32.store8":sign([n,n],[]),"i32.store16":sign([n,n],[]),"i64.store8":sign([n,n],[]),"i64.store16":sign([n,n],[]),"i64.store32":sign([n,n],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var h={"i32.const":sign([r],[r]),"i64.const":sign([i],[i]),"f32.const":sign([s],[s]),"f64.const":sign([a],[a]),"i32.eqz":sign([r],[r]),"i32.eq":sign([r,r],[r]),"i32.ne":sign([r,r],[r]),"i32.lt_s":sign([r,r],[r]),"i32.lt_u":sign([r,r],[r]),"i32.gt_s":sign([r,r],[r]),"i32.gt_u":sign([r,r],[r]),"i32.le_s":sign([r,r],[r]),"i32.le_u":sign([r,r],[r]),"i32.ge_s":sign([r,r],[r]),"i32.ge_u":sign([r,r],[r]),"i64.eqz":sign([i],[i]),"i64.eq":sign([i,i],[r]),"i64.ne":sign([i,i],[r]),"i64.lt_s":sign([i,i],[r]),"i64.lt_u":sign([i,i],[r]),"i64.gt_s":sign([i,i],[r]),"i64.gt_u":sign([i,i],[r]),"i64.le_s":sign([i,i],[r]),"i64.le_u":sign([i,i],[r]),"i64.ge_s":sign([i,i],[r]),"i64.ge_u":sign([i,i],[r]),"f32.eq":sign([s,s],[r]),"f32.ne":sign([s,s],[r]),"f32.lt":sign([s,s],[r]),"f32.gt":sign([s,s],[r]),"f32.le":sign([s,s],[r]),"f32.ge":sign([s,s],[r]),"f64.eq":sign([a,a],[r]),"f64.ne":sign([a,a],[r]),"f64.lt":sign([a,a],[r]),"f64.gt":sign([a,a],[r]),"f64.le":sign([a,a],[r]),"f64.ge":sign([a,a],[r]),"i32.clz":sign([r],[r]),"i32.ctz":sign([r],[r]),"i32.popcnt":sign([r],[r]),"i32.add":sign([r,r],[r]),"i32.sub":sign([r,r],[r]),"i32.mul":sign([r,r],[r]),"i32.div_s":sign([r,r],[r]),"i32.div_u":sign([r,r],[r]),"i32.rem_s":sign([r,r],[r]),"i32.rem_u":sign([r,r],[r]),"i32.and":sign([r,r],[r]),"i32.or":sign([r,r],[r]),"i32.xor":sign([r,r],[r]),"i32.shl":sign([r,r],[r]),"i32.shr_s":sign([r,r],[r]),"i32.shr_u":sign([r,r],[r]),"i32.rotl":sign([r,r],[r]),"i32.rotr":sign([r,r],[r]),"i64.clz":sign([i],[i]),"i64.ctz":sign([i],[i]),"i64.popcnt":sign([i],[i]),"i64.add":sign([i,i],[i]),"i64.sub":sign([i,i],[i]),"i64.mul":sign([i,i],[i]),"i64.div_s":sign([i,i],[i]),"i64.div_u":sign([i,i],[i]),"i64.rem_s":sign([i,i],[i]),"i64.rem_u":sign([i,i],[i]),"i64.and":sign([i,i],[i]),"i64.or":sign([i,i],[i]),"i64.xor":sign([i,i],[i]),"i64.shl":sign([i,i],[i]),"i64.shr_s":sign([i,i],[i]),"i64.shr_u":sign([i,i],[i]),"i64.rotl":sign([i,i],[i]),"i64.rotr":sign([i,i],[i]),"f32.abs":sign([s],[s]),"f32.neg":sign([s],[s]),"f32.ceil":sign([s],[s]),"f32.floor":sign([s],[s]),"f32.trunc":sign([s],[s]),"f32.nearest":sign([s],[s]),"f32.sqrt":sign([s],[s]),"f32.add":sign([s,s],[s]),"f32.sub":sign([s,s],[s]),"f32.mul":sign([s,s],[s]),"f32.div":sign([s,s],[s]),"f32.min":sign([s,s],[s]),"f32.max":sign([s,s],[s]),"f32.copysign":sign([s,s],[s]),"f64.abs":sign([a],[a]),"f64.neg":sign([a],[a]),"f64.ceil":sign([a],[a]),"f64.floor":sign([a],[a]),"f64.trunc":sign([a],[a]),"f64.nearest":sign([a],[a]),"f64.sqrt":sign([a],[a]),"f64.add":sign([a,a],[a]),"f64.sub":sign([a,a],[a]),"f64.mul":sign([a,a],[a]),"f64.div":sign([a,a],[a]),"f64.min":sign([a,a],[a]),"f64.max":sign([a,a],[a]),"f64.copysign":sign([a,a],[a]),"i32.wrap/i64":sign([i],[r]),"i32.trunc_s/f32":sign([s],[r]),"i32.trunc_u/f32":sign([s],[r]),"i32.trunc_s/f64":sign([s],[r]),"i32.trunc_u/f64":sign([a],[r]),"i64.extend_s/i32":sign([r],[i]),"i64.extend_u/i32":sign([r],[i]),"i64.trunc_s/f32":sign([s],[i]),"i64.trunc_u/f32":sign([s],[i]),"i64.trunc_s/f64":sign([a],[i]),"i64.trunc_u/f64":sign([a],[i]),"f32.convert_s/i32":sign([r],[s]),"f32.convert_u/i32":sign([r],[s]),"f32.convert_s/i64":sign([i],[s]),"f32.convert_u/i64":sign([i],[s]),"f32.demote/f64":sign([a],[s]),"f64.convert_s/i32":sign([r],[a]),"f64.convert_u/i32":sign([r],[a]),"f64.convert_s/i64":sign([i],[a]),"f64.convert_u/i64":sign([i],[a]),"f64.promote/f32":sign([s],[a]),"i32.reinterpret/f32":sign([s],[r]),"i64.reinterpret/f64":sign([a],[i]),"f32.reinterpret/i32":sign([r],[s]),"f64.reinterpret/i64":sign([i],[a])};var m=Object.assign({},u,l,d,p,h);t.signatures=m},5499:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.moduleContextFromModuleAST=moduleContextFromModuleAST;t.ModuleContext=void 0;var r=n(52696);function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var n=0;ne&&e>=0}},{key:"getLabel",value:function getLabel(e){return this.labels[e]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(e){return typeof this.getLocal(e)!=="undefined"}},{key:"getLocal",value:function getLocal(e){return this.locals[e]}},{key:"addLocal",value:function addLocal(e){this.locals.push(e)}},{key:"addType",value:function addType(e){if(!(e.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(e.functype)}},{key:"hasType",value:function hasType(e){return this.types[e]!==undefined}},{key:"getType",value:function getType(e){return this.types[e]}},{key:"hasGlobal",value:function hasGlobal(e){return this.globals.length>e&&e>=0}},{key:"getGlobal",value:function getGlobal(e){return this.globals[e].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(e){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[e]}},{key:"defineGlobal",value:function defineGlobal(e){var t=e.globalType.valtype;var n=e.globalType.mutability;this.globals.push({type:t,mutability:n});if(typeof e.name!=="undefined"){this.globalsOffsetByIdentifier[e.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(e,t){this.globals.push({type:e,mutability:t})}},{key:"isMutableGlobal",value:function isMutableGlobal(e){return this.globals[e].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(e){return this.globals[e].mutability==="const"}},{key:"hasMemory",value:function hasMemory(e){return this.mems.length>e&&e>=0}},{key:"addMemory",value:function addMemory(e,t){this.mems.push({min:e,max:t})}},{key:"getMemory",value:function getMemory(e){return this.mems[e]}}]);return ModuleContext}();t.ModuleContext=i},22056:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.traverse=traverse;var r=n(46166);var i=n(52696);function walk(e,t){var n=false;function innerWalk(e,t){if(n){return}var i=e.node;if(i===undefined){console.warn("traversing with an empty context");return}if(i._deleted===true){return}var s=(0,r.createPath)(e);t(i.type,s);if(s.shouldStop){n=true;return}Object.keys(i).forEach((function(e){var n=i[e];if(n===null||n===undefined){return}var r=Array.isArray(n)?n:[n];r.forEach((function(r){if(typeof r.type==="string"){var i={node:r,parentKey:e,parentPath:s,shouldStop:false,inList:Array.isArray(n)};innerWalk(i,t)}}))}))}innerWalk(e,t)}var s=function noop(){};function traverse(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:s;var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:s;Object.keys(t).forEach((function(e){if(!i.nodeAndUnionTypes.includes(e)){throw new Error("Unexpected visitor ".concat(e))}}));var a={node:e,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(a,(function(e,s){if(typeof t[e]==="function"){n(e,s);t[e](s);r(e,s)}var a=i.unionTypesMap[e];if(!a){throw new Error("Unexpected node type ".concat(e))}a.forEach((function(e){if(typeof t[e]==="function"){n(e,s);t[e](s);r(e,s)}}))}))}},91764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAnonymous=isAnonymous;t.getSectionMetadata=getSectionMetadata;t.getSectionMetadatas=getSectionMetadatas;t.sortSectionMetadata=sortSectionMetadata;t.orderedInsertNode=orderedInsertNode;t.assertHasLoc=assertHasLoc;t.getEndOfSection=getEndOfSection;t.shiftLoc=shiftLoc;t.shiftSection=shiftSection;t.signatureForOpcode=signatureForOpcode;t.getUniqueNameGenerator=getUniqueNameGenerator;t.getStartByteOffset=getStartByteOffset;t.getEndByteOffset=getEndByteOffset;t.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;t.getEndBlockByteOffset=getEndBlockByteOffset;t.getStartBlockByteOffset=getStartBlockByteOffset;var r=n(75769);var i=n(22056);var s=_interopRequireWildcard(n(3930));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _sliceIterator(e,t){var n=[];var r=true;var i=false;var s=undefined;try{for(var a=e[Symbol.iterator](),c;!(r=(c=a.next()).done);r=true){n.push(c.value);if(t&&n.length===t)break}}catch(e){i=true;s=e}finally{try{if(!r&&a["return"]!=null)a["return"]()}finally{if(i)throw s}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function isAnonymous(e){return e.raw===""}function getSectionMetadata(e,t){var n;(0,i.traverse)(e,{SectionMetadata:function(e){function SectionMetadata(t){return e.apply(this,arguments)}SectionMetadata.toString=function(){return e.toString()};return SectionMetadata}((function(e){var r=e.node;if(r.section===t){n=r}}))});return n}function getSectionMetadatas(e,t){var n=[];(0,i.traverse)(e,{SectionMetadata:function(e){function SectionMetadata(t){return e.apply(this,arguments)}SectionMetadata.toString=function(){return e.toString()};return SectionMetadata}((function(e){var r=e.node;if(r.section===t){n.push(r)}}))});return n}function sortSectionMetadata(e){if(e.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}e.metadata.sections.sort((function(e,t){var n=s.default.sections[e.section];var r=s.default.sections[t.section];if(typeof n!=="number"||typeof r!=="number"){throw new Error("Section id not found")}return n-r}))}function orderedInsertNode(e,t){assertHasLoc(t);var n=false;if(t.type==="ModuleExport"){e.fields.push(t);return}e.fields=e.fields.reduce((function(e,r){var i=Infinity;if(r.loc!=null){i=r.loc.end.column}if(n===false&&t.loc.start.column0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(t in e)){e[t]=0}else{e[t]=e[t]+1}return t+"_"+e[t]}}function getStartByteOffset(e){if(typeof e.loc==="undefined"||typeof e.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(e.id))}return e.loc.start.column}function getEndByteOffset(e){if(typeof e.loc==="undefined"||typeof e.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+e.type)}return e.loc.end.column}function getFunctionBeginingByteOffset(e){if(!(e.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var t=_slicedToArray(e.body,1),n=t[0];return getStartByteOffset(n)}function getEndBlockByteOffset(e){if(!(e.instr.length>0||e.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var t;if(e.instr){t=e.instr[e.instr.length-1]}if(e.body){t=e.body[e.body.length-1]}if(!(_typeof(t)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(t)}function getStartBlockByteOffset(e){if(!(e.instr.length>0||e.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var t;if(e.instr){var n=_slicedToArray(e.instr,1);t=n[0]}if(e.body){var r=_slicedToArray(e.body,1);t=r[0]}if(!(_typeof(t)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(t)}},18083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parse;function parse(e){e=e.toUpperCase();var t=e.indexOf("P");var n,r;if(t!==-1){n=e.substring(0,t);r=parseInt(e.substring(t+1))}else{n=e;r=0}var i=n.indexOf(".");if(i!==-1){var s=parseInt(n.substring(0,i),16);var a=Math.sign(s);s=a*s;var c=n.length-i-1;var u=parseInt(n.substring(i+1),16);var l=c>0?u/Math.pow(16,c):0;if(a===0){if(l===0){n=a}else{if(Object.is(a,-0)){n=-l}else{n=l}}}else{n=a*(s+l)}}else{n=parseInt(n,16)}return n*(t!==-1?Math.pow(2,r):1)}},35866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LinkError=t.CompileError=t.RuntimeError=void 0;function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,t){if(t&&(_typeof(t)==="object"||typeof t==="function")){return t}if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var n=function(e){_inherits(RuntimeError,e);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);t.RuntimeError=n;var r=function(e){_inherits(CompileError,e);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);t.CompileError=r;var i=function(e){_inherits(LinkError,e);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);t.LinkError=i},3104:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.overrideBytesInBuffer=overrideBytesInBuffer;t.makeBuffer=makeBuffer;t.fromHexdump=fromHexdump;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse32F=parse32F;t.parse64F=parse64F;t.parse32I=parse32I;t.parseU32=parseU32;t.parse64I=parse64I;t.isInfLiteral=isInfLiteral;t.isNanLiteral=isNanLiteral;var r=_interopRequireDefault(n(11174));var i=_interopRequireDefault(n(18083));var s=n(35866);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse32F(e){if(isHexLiteral(e)){return(0,i.default)(e)}if(isInfLiteral(e)){return e[0]==="-"?-1:1}if(isNanLiteral(e)){return(e[0]==="-"?-1:1)*(e.includes(":")?parseInt(e.substring(e.indexOf(":")+1),16):4194304)}return parseFloat(e)}function parse64F(e){if(isHexLiteral(e)){return(0,i.default)(e)}if(isInfLiteral(e)){return e[0]==="-"?-1:1}if(isNanLiteral(e)){return(e[0]==="-"?-1:1)*(e.includes(":")?parseInt(e.substring(e.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(e)){return(0,i.default)(e)}return parseFloat(e)}function parse32I(e){var t=0;if(isHexLiteral(e)){t=~~parseInt(e,16)}else if(isDecimalExponentLiteral(e)){throw new Error("This number literal format is yet to be implemented.")}else{t=parseInt(e,10)}return t}function parseU32(e){var t=parse32I(e);if(t<0){throw new s.CompileError("Illegal value for u32: "+e)}return t}function parse64I(e){var t;if(isHexLiteral(e)){t=r.default.fromString(e,false,16)}else if(isDecimalExponentLiteral(e)){throw new Error("This number literal format is yet to be implemented.")}else{t=r.default.fromString(e)}return{high:t.high,low:t.low}}var a=/^\+?-?nan/;var c=/^\+?-?inf/;function isInfLiteral(e){return c.test(e.toLowerCase())}function isNanLiteral(e){return a.test(e.toLowerCase())}function isDecimalExponentLiteral(e){return!isHexLiteral(e)&&e.toUpperCase().includes("E")}function isHexLiteral(e){return e.substring(0,2).toUpperCase()==="0X"||e.substring(0,3).toUpperCase()==="-0X"}},3930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"getSectionForNode",{enumerable:true,get:function get(){return r.getSectionForNode}});t.default=void 0;var r=n(55474);var i="illegal";var s=[0,97,115,109];var a=[1,0,0,0];function invertMap(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(e){return e};var n={};var r=Object.keys(e);for(var i=0,s=r.length;i2&&arguments[2]!==undefined?arguments[2]:0;return{name:e,object:t,numberOfArgs:n}}function createSymbol(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:e,numberOfArgs:t}}var c={func:96,result:64};var u={0:"Func",1:"Table",2:"Mem",3:"Global"};var l=invertMap(u);var d={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var p=invertMap(d);var h={112:"anyfunc"};var m=Object.assign({},d,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var g={0:"const",1:"var"};var y=invertMap(g);var _={0:"func",1:"table",2:"mem",3:"global"};var b={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var x={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:i,7:i,8:i,9:i,10:i,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:i,19:i,20:i,21:i,22:i,23:i,24:i,25:i,26:createSymbol("drop"),27:createSymbol("select"),28:i,29:i,30:i,31:i,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:i,38:i,39:i,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var k=invertMap(x,(function(e){if(typeof e.object==="string"){return"".concat(e.object,".").concat(e.name)}return e.name}));var E={symbolsByByte:x,sections:b,magicModuleHeader:s,moduleVersion:a,types:c,valtypes:d,exportTypes:u,blockTypes:m,tableTypes:h,globalTypes:g,importTypes:_,valtypesByString:p,globalTypesByString:y,exportTypesByName:l,symbolsByName:k};t.default=E},55474:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSectionForNode=getSectionForNode;function getSectionForNode(e){switch(e.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createEmptySection=createEmptySection;var r=n(44166);var i=n(3104);var s=_interopRequireDefault(n(3930));var a=_interopRequireWildcard(n(98093));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function findLastSection(e,t){var n=s.default.sections[t];var r=e.body[0].metadata.sections;var i;var a=0;for(var c=0,u=r.length;ca&&n{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"resizeSectionByteSize",{enumerable:true,get:function get(){return r.resizeSectionByteSize}});Object.defineProperty(t,"resizeSectionVecSize",{enumerable:true,get:function get(){return r.resizeSectionVecSize}});Object.defineProperty(t,"createEmptySection",{enumerable:true,get:function get(){return i.createEmptySection}});Object.defineProperty(t,"removeSections",{enumerable:true,get:function get(){return s.removeSections}});var r=n(35369);var i=n(97961);var s=n(96744)},96744:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.removeSections=removeSections;var r=n(98093);var i=n(3104);function removeSections(e,t,n){var s=(0,r.getSectionMetadatas)(e,n);if(s.length===0){throw new Error("Section metadata not found")}return s.reverse().reduce((function(t,s){var a=s.startOffset-1;var c=n==="start"?s.size.loc.end.column+1:s.startOffset+s.size.value+1;var u=-(c-a);var l=false;(0,r.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===n){l=true;return t.remove()}if(l===true){(0,r.shiftSection)(e,t.node,u)}}});var d=[];return(0,i.overrideBytesInBuffer)(t,a,c,d)}),t)}},35369:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resizeSectionByteSize=resizeSectionByteSize;t.resizeSectionVecSize=resizeSectionVecSize;var r=n(44166);var i=n(98093);var s=n(3104);function resizeSectionByteSize(e,t,n,a){var c=(0,i.getSectionMetadata)(e,n);if(typeof c==="undefined"){throw new Error("Section metadata not found")}if(typeof c.size.loc==="undefined"){throw new Error("SectionMetadata "+n+" has no loc")}var u=c.size.loc.start.column;var l=c.size.loc.end.column;var d=c.size.value+a;var p=(0,r.encodeU32)(d);c.size.value=d;var h=l-u;var m=p.length;if(m!==h){var g=m-h;c.size.loc.end.column=u+m;a+=g;c.vectorOfSize.loc.start.column+=g;c.vectorOfSize.loc.end.column+=g}var y=false;(0,i.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===n){y=true;return}if(y===true){(0,i.shiftSection)(e,t.node,a)}}});return(0,s.overrideBytesInBuffer)(t,u,l,p)}function resizeSectionVecSize(e,t,n,a){var c=(0,i.getSectionMetadata)(e,n);if(typeof c==="undefined"){throw new Error("Section metadata not found")}if(typeof c.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+n+" has no loc")}if(c.vectorOfSize.value===-1){return t}var u=c.vectorOfSize.loc.start.column;var l=c.vectorOfSize.loc.end.column;var d=c.vectorOfSize.value+a;var p=(0,r.encodeU32)(d);c.vectorOfSize.value=d;c.vectorOfSize.loc.end.column=u+p.length;return(0,s.overrideBytesInBuffer)(t,u,l,p)}},48:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeF32=encodeF32;t.encodeF64=encodeF64;t.decodeF32=decodeF32;t.decodeF64=decodeF64;t.DOUBLE_PRECISION_MANTISSA=t.SINGLE_PRECISION_MANTISSA=t.NUMBER_OF_BYTE_F64=t.NUMBER_OF_BYTE_F32=void 0;var r=n(3158);var i=4;t.NUMBER_OF_BYTE_F32=i;var s=8;t.NUMBER_OF_BYTE_F64=s;var a=23;t.SINGLE_PRECISION_MANTISSA=a;var c=52;t.DOUBLE_PRECISION_MANTISSA=c;function encodeF32(e){var t=[];(0,r.write)(t,e,0,true,a,i);return t}function encodeF64(e){var t=[];(0,r.write)(t,e,0,true,c,s);return t}function decodeF32(e){var t=Buffer.from(e);return(0,r.read)(t,0,true,a,i)}function decodeF64(e){var t=Buffer.from(e);return(0,r.read)(t,0,true,c,s)}},90683:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extract=extract;t.inject=inject;t.getSign=getSign;t.highOrder=highOrder;function extract(e,t,n,r){if(n<0||n>32){throw new Error("Bad value for bitLength.")}if(r===undefined){r=0}else if(r!==0&&r!==1){throw new Error("Bad value for defaultBit.")}var i=r*255;var s=0;var a=t+n;var c=Math.floor(t/8);var u=t%8;var l=Math.floor(a/8);var d=a%8;if(d!==0){s=get(l)&(1<c){l--;s=s<<8|get(l)}s>>>=u;return s;function get(t){var n=e[t];return n===undefined?i:n}}function inject(e,t,n,r){if(n<0||n>32){throw new Error("Bad value for bitLength.")}var i=Math.floor((t+n-1)/8);if(t<0||i>=e.length){throw new Error("Index out of range.")}var s=Math.floor(t/8);var a=t%8;while(n>0){if(r&1){e[s]|=1<>=1;n--;a=(a+1)%8;if(a===0){s++}}}function getSign(e){return e[e.length-1]>>>7}function highOrder(e,t){var n=t.length;var r=(e^1)*255;while(n>0&&t[n-1]===r){n--}if(n===0){return-1}var i=t[n-1];var s=n*8-1;for(var a=7;a>0;a--){if((i>>a&1)===e){break}s--}return s}},1779:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.alloc=alloc;t.free=free;t.resize=resize;t.readInt=readInt;t.readUInt=readUInt;t.writeInt64=writeInt64;t.writeUInt64=writeUInt64;var n=[];var r=20;var i=-0x8000000000000000;var s=0x7ffffffffffffc00;var a=0xfffffffffffff800;var c=4294967296;var u=0x10000000000000000;function lowestBit(e){return e&-e}function isLossyToAdd(e,t){if(t===0){return false}var n=lowestBit(t);var r=e+n;if(r===e){return true}if(r-n!==e){return true}return false}function alloc(e){var t=n[e];if(t){n[e]=undefined}else{t=new Buffer(e)}t.fill(0);return t}function free(e){var t=e.length;if(t=0;s--){r=r*256+e[s]}}else{for(var a=t-1;a>=0;a--){var c=e[a];r*=256;if(isLossyToAdd(r,c)){i=true}r+=c}}return{value:r,lossy:i}}function readUInt(e){var t=e.length;var n=0;var r=false;if(t<7){for(var i=t-1;i>=0;i--){n=n*256+e[i]}}else{for(var s=t-1;s>=0;s--){var a=e[s];n*=256;if(isLossyToAdd(n,a)){r=true}n+=a}}return{value:n,lossy:r}}function writeInt64(e,t){if(es){throw new Error("Value out of range.")}if(e<0){e+=u}writeUInt64(e,t)}function writeUInt64(e,t){if(e<0||e>a){throw new Error("Value out of range.")}var n=e%c;var r=Math.floor(e/c);t.writeUInt32LE(n,0);t.writeUInt32LE(r,4)}},39784:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decodeInt64=decodeInt64;t.decodeUInt64=decodeUInt64;t.decodeInt32=decodeInt32;t.decodeUInt32=decodeUInt32;t.encodeU32=encodeU32;t.encodeI32=encodeI32;t.encodeI64=encodeI64;t.MAX_NUMBER_OF_BYTE_U64=t.MAX_NUMBER_OF_BYTE_U32=void 0;var r=_interopRequireDefault(n(83082));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=5;t.MAX_NUMBER_OF_BYTE_U32=i;var s=10;t.MAX_NUMBER_OF_BYTE_U64=s;function decodeInt64(e,t){return r.default.decodeInt64(e,t)}function decodeUInt64(e,t){return r.default.decodeUInt64(e,t)}function decodeInt32(e,t){return r.default.decodeInt32(e,t)}function decodeUInt32(e,t){return r.default.decodeUInt32(e,t)}function encodeU32(e){return r.default.encodeUInt32(e)}function encodeI32(e){return r.default.encodeInt32(e)}function encodeI64(e){return r.default.encodeInt64(e)}},83082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=_interopRequireDefault(n(11174));var i=_interopRequireWildcard(n(90683));var s=_interopRequireWildcard(n(1779));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=-2147483648;var c=2147483647;var u=4294967295;function signedBitCount(e){return i.highOrder(i.getSign(e)^1,e)+2}function unsignedBitCount(e){var t=i.highOrder(1,e)+1;return t?t:1}function encodeBufferCommon(e,t){var n;var r;if(t){n=i.getSign(e);r=signedBitCount(e)}else{n=0;r=unsignedBitCount(e)}var a=Math.ceil(r/7);var c=s.alloc(a);for(var u=0;u=128){n++}n++;if(t+n>e.length){}return n}function decodeBufferCommon(e,t,n){t=t===undefined?0:t;var r=encodedLength(e,t);var a=r*7;var c=Math.ceil(a/8);var u=s.alloc(c);var l=0;while(r>0){i.inject(u,l,7,e[t]);l+=7;t++;r--}var d;var p;if(n){var h=u[c-1];var m=l%8;if(m!==0){var g=32-m;h=u[c-1]=h<>g&255}d=h>>7;p=d*255}else{d=0;p=0}while(c>1&&u[c-1]===p&&(!n||u[c-2]>>7===d)){c--}u=s.resize(u,c);return{value:u,nextIndex:t}}function encodeIntBuffer(e){return encodeBufferCommon(e,true)}function decodeIntBuffer(e,t){return decodeBufferCommon(e,t,true)}function encodeInt32(e){var t=s.alloc(4);t.writeInt32LE(e,0);var n=encodeIntBuffer(t);s.free(t);return n}function decodeInt32(e,t){var n=decodeIntBuffer(e,t);var r=s.readInt(n.value);var i=r.value;s.free(n.value);if(ic){throw new Error("integer too large")}return{value:i,nextIndex:n.nextIndex}}function encodeInt64(e){var t=s.alloc(8);s.writeInt64(e,t);var n=encodeIntBuffer(t);s.free(t);return n}function decodeInt64(e,t){var n=decodeIntBuffer(e,t);var i=r.default.fromBytesLE(n.value,false);s.free(n.value);return{value:i,nextIndex:n.nextIndex,lossy:false}}function encodeUIntBuffer(e){return encodeBufferCommon(e,false)}function decodeUIntBuffer(e,t){return decodeBufferCommon(e,t,false)}function encodeUInt32(e){var t=s.alloc(4);t.writeUInt32LE(e,0);var n=encodeUIntBuffer(t);s.free(t);return n}function decodeUInt32(e,t){var n=decodeUIntBuffer(e,t);var r=s.readUInt(n.value);var i=r.value;s.free(n.value);if(i>u){throw new Error("integer too large")}return{value:i,nextIndex:n.nextIndex}}function encodeUInt64(e){var t=s.alloc(8);s.writeUInt64(e,t);var n=encodeUIntBuffer(t);s.free(t);return n}function decodeUInt64(e,t){var n=decodeUIntBuffer(e,t);var i=r.default.fromBytesLE(n.value,true);s.free(n.value);return{value:i,nextIndex:n.nextIndex,lossy:false}}var l={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};t.default=l},85589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=65536){throw new Error("invalid UTF-8 encoding")}else{return t}}function decode(e){return _decode(e).map((function(e){return String.fromCharCode(e)})).join("")}function _decode(e){if(e.length===0){return[]}{var t=_toArray(e),n=t[0],r=t.slice(1);if(n<128){return[code(0,n)].concat(_toConsumableArray(_decode(r)))}if(n<192){throw new Error("invalid UTF-8 encoding")}}{var i=_toArray(e),s=i[0],a=i[1],c=i.slice(2);if(s<224){return[code(128,((s&31)<<6)+con(a))].concat(_toConsumableArray(_decode(c)))}}{var u=_toArray(e),l=u[0],d=u[1],p=u[2],h=u.slice(3);if(l<240){return[code(2048,((l&15)<<12)+(con(d)<<6)+con(p))].concat(_toConsumableArray(_decode(h)))}}{var m=_toArray(e),g=m[0],y=m[1],_=m[2],b=m[3],x=m.slice(4);if(g<248){return[code(65536,(((g&7)<<18)+con(y)<<12)+(con(_)<<6)+con(b))].concat(_toConsumableArray(_decode(x)))}}throw new Error("invalid UTF-8 encoding")}},56264:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encode=encode;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t>>6,con(n)].concat(_toConsumableArray(_encode(r)))}if(n<65536){return[224|n>>>12,con(n>>>6),con(n)].concat(_toConsumableArray(_encode(r)))}if(n<1114112){return[240|n>>>18,con(n>>>12),con(n>>>6),con(n)].concat(_toConsumableArray(_encode(r)))}throw new Error("utf8")}},38040:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"decode",{enumerable:true,get:function get(){return r.decode}});Object.defineProperty(t,"encode",{enumerable:true,get:function get(){return i.encode}});var r=n(85589);var i=n(56264)},17467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.applyOperations=applyOperations;var r=n(44166);var i=n(77445);var s=n(98093);var a=n(77246);var c=n(3104);var u=n(3930);function _sliceIterator(e,t){var n=[];var r=true;var i=false;var s=undefined;try{for(var a=e[Symbol.iterator](),c;!(r=(c=a.next()).done);r=true){n.push(c.value);if(t&&n.length===t)break}}catch(e){i=true;s=e}finally{try{if(!r&&a["return"]!=null)a["return"]()}finally{if(i)throw s}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(e,t){(0,s.assertHasLoc)(e);e.loc.start.column+=t;e.loc.end.column+=t}function applyUpdate(e,t,n){var a=_slicedToArray(n,2),l=a[0],d=a[1];var p=0;(0,s.assertHasLoc)(l);var h=(0,u.getSectionForNode)(d);var m=(0,r.encodeNode)(d);t=(0,c.overrideBytesInBuffer)(t,l.loc.start.column,l.loc.end.column,m);if(h==="code"){(0,s.traverse)(e,{Func:function Func(e){var n=e.node;var a=n.body.find((function(e){return e===d}))!==undefined;if(a===true){(0,s.assertHasLoc)(n);var u=(0,r.encodeNode)(l).length;var p=m.length-u;if(p!==0){var h=n.metadata.bodySize+p;var g=(0,i.encodeU32)(h);var y=n.loc.start.column;var _=y+1;t=(0,c.overrideBytesInBuffer)(t,y,_,g)}}}})}var g=m.length-(l.loc.end.column-l.loc.start.column);d.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};d.loc.start.column=l.loc.start.column;d.loc.end.column=l.loc.start.column+m.length;return{uint8Buffer:t,deltaBytes:g,deltaElements:p}}function applyDelete(e,t,n){var r=-1;(0,s.assertHasLoc)(n);var i=(0,u.getSectionForNode)(n);if(i==="start"){var l=(0,s.getSectionMetadata)(e,"start");t=(0,a.removeSections)(e,t,"start");var d=-(l.size.value+1);return{uint8Buffer:t,deltaBytes:d,deltaElements:r}}var p=[];t=(0,c.overrideBytesInBuffer)(t,n.loc.start.column,n.loc.end.column,p);var h=-(n.loc.end.column-n.loc.start.column);return{uint8Buffer:t,deltaBytes:h,deltaElements:r}}function applyAdd(e,t,n){var i=+1;var l=(0,u.getSectionForNode)(n);var d=(0,s.getSectionMetadata)(e,l);if(typeof d==="undefined"){var p=(0,a.createEmptySection)(e,t,l);t=p.uint8Buffer;d=p.sectionMetadata}if((0,s.isFunc)(n)){var h=n.body;if(h.length===0||h[h.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,s.isGlobal)(n)){var h=n.init;if(h.length===0||h[h.length-1].id!=="end"){throw new Error("expressions must be ended")}}var m=(0,r.encodeNode)(n);var g=(0,s.getEndOfSection)(d);var y=g;var _=m.length;t=(0,c.overrideBytesInBuffer)(t,g,y,m);n.loc={start:{line:-1,column:g},end:{line:-1,column:g+_}};if(n.type==="Func"){var b=m[0];n.metadata={bodySize:b}}if(n.type!=="IndexInFuncSection"){(0,s.orderedInsertNode)(e.body[0],n)}return{uint8Buffer:t,deltaBytes:_,deltaElements:i}}function applyOperations(e,t,n){n.forEach((function(r){var i;var s;switch(r.kind){case"update":i=applyUpdate(e,t,[r.oldNode,r.node]);s=(0,u.getSectionForNode)(r.node);break;case"delete":i=applyDelete(e,t,r.node);s=(0,u.getSectionForNode)(r.node);break;case"add":i=applyAdd(e,t,r.node);s=(0,u.getSectionForNode)(r.node);break;default:throw new Error("Unknown operation")}if(i.deltaElements!==0&&s!=="start"){var c=i.uint8Buffer.length;i.uint8Buffer=(0,a.resizeSectionVecSize)(e,i.uint8Buffer,s,i.deltaElements);i.deltaBytes+=i.uint8Buffer.length-c}if(i.deltaBytes!==0&&s!=="start"){var l=i.uint8Buffer.length;i.uint8Buffer=(0,a.resizeSectionByteSize)(e,i.uint8Buffer,s,i.deltaBytes);i.deltaBytes+=i.uint8Buffer.length-l}if(i.deltaBytes!==0){n.forEach((function(e){switch(e.kind){case"update":shiftLocNodeByDelta(e.oldNode,i.deltaBytes);break;case"delete":shiftLocNodeByDelta(e.node,i.deltaBytes);break}}))}t=i.uint8Buffer}));return t}},226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.edit=edit;t.editWithAST=editWithAST;t.add=add;t.addWithAST=addWithAST;var r=n(73432);var i=n(98093);var s=n(70797);var a=n(53620);var c=_interopRequireWildcard(n(3930));var u=n(17467);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function hashNode(e){return JSON.stringify(e)}function preprocess(e){var t=(0,a.shrinkPaddedLEB128)(new Uint8Array(e));return t.buffer}function sortBySectionOrder(e){var t=new Map;var n=true;var r=false;var i=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){var u=a.value;t.set(u,t.size)}}catch(e){r=true;i=e}finally{try{if(!n&&s.return!=null){s.return()}}finally{if(r){throw i}}}e.sort((function(e,n){var r=(0,c.getSectionForNode)(e);var i=(0,c.getSectionForNode)(n);var s=c.default.sections[r];var a=c.default.sections[i];if(typeof s!=="number"||typeof a!=="number"){throw new Error("Section id not found")}if(s===a){return t.get(e)-t.get(n)}return s-a}))}function edit(e,t){e=preprocess(e);var n=(0,r.decode)(e);return editWithAST(n,e,t)}function editWithAST(e,t,n){var r=[];var a=new Uint8Array(t);var c;function before(e,t){c=(0,s.cloneNode)(t.node)}function after(e,t){if(t.node._deleted===true){r.push({kind:"delete",node:t.node})}else if(hashNode(c)!==hashNode(t.node)){r.push({kind:"update",oldNode:c,node:t.node})}}(0,i.traverse)(e,n,before,after);a=(0,u.applyOperations)(e,a,r);return a.buffer}function add(e,t){e=preprocess(e);var n=(0,r.decode)(e);return addWithAST(n,e,t)}function addWithAST(e,t,n){sortBySectionOrder(n);var r=new Uint8Array(t);var i=n.map((function(e){return{kind:"add",node:e}}));r=(0,u.applyOperations)(e,r,i);return r.buffer}},77445:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeVersion=encodeVersion;t.encodeHeader=encodeHeader;t.encodeU32=encodeU32;t.encodeI32=encodeI32;t.encodeI64=encodeI64;t.encodeVec=encodeVec;t.encodeValtype=encodeValtype;t.encodeMutability=encodeMutability;t.encodeUTF8Vec=encodeUTF8Vec;t.encodeLimits=encodeLimits;t.encodeModuleImport=encodeModuleImport;t.encodeSectionMetadata=encodeSectionMetadata;t.encodeCallInstruction=encodeCallInstruction;t.encodeCallIndirectInstruction=encodeCallIndirectInstruction;t.encodeModuleExport=encodeModuleExport;t.encodeTypeInstruction=encodeTypeInstruction;t.encodeInstr=encodeInstr;t.encodeStringLiteral=encodeStringLiteral;t.encodeGlobal=encodeGlobal;t.encodeFuncBody=encodeFuncBody;t.encodeIndexInFuncSection=encodeIndexInFuncSection;t.encodeElem=encodeElem;var r=_interopRequireWildcard(n(39784));var i=_interopRequireWildcard(n(48));var s=_interopRequireWildcard(n(38040));var a=_interopRequireDefault(n(3930));var c=n(44166);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeNode=encodeNode;t.encodeU32=void 0;var r=_interopRequireWildcard(n(77445));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function encodeNode(e){switch(e.type){case"ModuleImport":return r.encodeModuleImport(e);case"SectionMetadata":return r.encodeSectionMetadata(e);case"CallInstruction":return r.encodeCallInstruction(e);case"CallIndirectInstruction":return r.encodeCallIndirectInstruction(e);case"TypeInstruction":return r.encodeTypeInstruction(e);case"Instr":return r.encodeInstr(e);case"ModuleExport":return r.encodeModuleExport(e);case"Global":return r.encodeGlobal(e);case"Func":return r.encodeFuncBody(e);case"IndexInFuncSection":return r.encodeIndexInFuncSection(e);case"StringLiteral":return r.encodeStringLiteral(e);case"Elem":return r.encodeElem(e);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(e.type))}}var i=r.encodeU32;t.encodeU32=i},53620:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shrinkPaddedLEB128=shrinkPaddedLEB128;var r=n(73432);var i=n(25688);function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,t){if(t&&(_typeof(t)==="object"||typeof t==="function")){return t}if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var s=function(e){_inherits(OptimizerError,e);function OptimizerError(e,t){var n;_classCallCheck(this,OptimizerError);n=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+e+": "+t.message));n.stack=t.stack;return n}return OptimizerError}(Error);var a={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(e){try{var t=(0,r.decode)(e.buffer,a);return(0,i.shrinkPaddedLEB128)(t,e)}catch(e){throw new s("shrinkPaddedLEB128",e)}}},25688:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shrinkPaddedLEB128=shrinkPaddedLEB128;var r=n(98093);var i=n(77445);var s=n(3104);function shiftFollowingSections(e,t,n){var i=t.section;var s=false;(0,r.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===i){s=true;return}if(s===true){(0,r.shiftSection)(e,t.node,n)}}})}function shrinkPaddedLEB128(e,t){(0,r.traverse)(e,{SectionMetadata:function SectionMetadata(n){var r=n.node;{var a=(0,i.encodeU32)(r.size.value);var c=a.length;var u=r.size.loc.start.column;var l=r.size.loc.end.column;var d=l-u;if(c!==d){var p=d-c;t=(0,s.overrideBytesInBuffer)(t,u,l,a);shiftFollowingSections(e,r,-p)}}}});return t}},13975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;var r=n(35866);var i=_interopRequireWildcard(n(48));var s=_interopRequireWildcard(n(38040));var a=_interopRequireWildcard(n(98093));var c=n(39784);var u=_interopRequireDefault(n(3930));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=n.length}function eatBytes(e){d=d+e}function readBytesAtOffset(e,t){var r=[];for(var i=0;i>7?-1:1;var r=0;for(var s=0;s>7?-1:1;var r=0;for(var s=0;sn.length){throw new Error("unexpected end")}var e=readBytes(4);if(byteArrayEq(u.default.magicModuleHeader,e)===false){throw new r.CompileError("magic header not detected")}dump(e,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||d+4>n.length){throw new Error("unexpected end")}var e=readBytes(4);if(byteArrayEq(u.default.moduleVersion,e)===false){throw new r.CompileError("unknown binary version")}dump(e,"wasm version");eatBytes(4)}function parseVec(e){var t=readU32();var n=t.value;eatBytes(t.nextIndex);dump([n],"number");if(n===0){return[]}var i=[];for(var s=0;s=40&&i<=64){if(s.name==="grow_memory"||s.name==="current_memory"){var ie=readU32();var se=ie.value;eatBytes(ie.nextIndex);if(se!==0){throw new Error("zero flag expected")}dump([se],"index")}else{var oe=readU32();var ae=oe.value;eatBytes(oe.nextIndex);dump([ae],"align");var ue=readU32();var le=ue.value;eatBytes(ue.nextIndex);dump([le],"offset")}}else if(i>=65&&i<=68){if(s.object==="i32"){var de=read32();var pe=de.value;eatBytes(de.nextIndex);dump([pe],"i32 value");d.push(a.numberLiteralFromRaw(pe))}if(s.object==="u32"){var fe=readU32();var he=fe.value;eatBytes(fe.nextIndex);dump([he],"u32 value");d.push(a.numberLiteralFromRaw(he))}if(s.object==="i64"){var me=read64();var ge=me.value;eatBytes(me.nextIndex);dump([Number(ge.toString())],"i64 value");var ye=ge.high,ve=ge.low;var _e={type:"LongNumberLiteral",value:{high:ye,low:ve}};d.push(_e)}if(s.object==="u64"){var be=readU64();var xe=be.value;eatBytes(be.nextIndex);dump([Number(xe.toString())],"u64 value");var ke=xe.high,Ee=xe.low;var we={type:"LongNumberLiteral",value:{high:ke,low:Ee}};d.push(we)}if(s.object==="f32"){var Se=readF32();var Ce=Se.value;eatBytes(Se.nextIndex);dump([Ce],"f32 value");d.push(a.floatLiteral(Ce,Se.nan,Se.inf,String(Ce)))}if(s.object==="f64"){var Ae=readF64();var De=Ae.value;eatBytes(Ae.nextIndex);dump([De],"f64 value");d.push(a.floatLiteral(De,Ae.nan,Ae.inf,String(De)))}}else if(i>=65024&&i<=65279){var Me=readU32();var Ie=Me.value;eatBytes(Me.nextIndex);dump([Ie],"align");var Pe=readU32();var Te=Pe.value;eatBytes(Pe.nextIndex);dump([Te],"offset")}else{for(var Oe=0;Oe=e||e===u.default.sections.custom){e=n+1}else{if(n!==u.default.sections.custom)throw new r.CompileError("Unexpected section: "+toHex(n))}var i=e;var s=d;var c=getPosition();var l=readU32();var p=l.value;eatBytes(l.nextIndex);var h=function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(p),e,c)}();switch(n){case u.default.sections.type:{dumpSep("section Type");dump([n],"section code");dump([p],"section size");var m=getPosition();var g=readU32();var y=g.value;eatBytes(g.nextIndex);var _=a.sectionMetadata("type",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(y),e,m)}());var b=parseTypeSection(y);return{nodes:b,metadata:_,nextSectionIndex:i}}case u.default.sections.table:{dumpSep("section Table");dump([n],"section code");dump([p],"section size");var x=getPosition();var k=readU32();var E=k.value;eatBytes(k.nextIndex);dump([E],"num tables");var w=a.sectionMetadata("table",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(E),e,x)}());var S=parseTableSection(E);return{nodes:S,metadata:w,nextSectionIndex:i}}case u.default.sections.import:{dumpSep("section Import");dump([n],"section code");dump([p],"section size");var C=getPosition();var M=readU32();var I=M.value;eatBytes(M.nextIndex);dump([I],"number of imports");var P=a.sectionMetadata("import",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(I),e,C)}());var T=parseImportSection(I);return{nodes:T,metadata:P,nextSectionIndex:i}}case u.default.sections.func:{dumpSep("section Function");dump([n],"section code");dump([p],"section size");var O=getPosition();var R=readU32();var N=R.value;eatBytes(R.nextIndex);var L=a.sectionMetadata("func",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(N),e,O)}());parseFuncSection(N);var $=[];return{nodes:$,metadata:L,nextSectionIndex:i}}case u.default.sections.export:{dumpSep("section Export");dump([n],"section code");dump([p],"section size");var j=getPosition();var z=readU32();var U=z.value;eatBytes(z.nextIndex);var q=a.sectionMetadata("export",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(U),e,j)}());parseExportSection(U);var G=[];return{nodes:G,metadata:q,nextSectionIndex:i}}case u.default.sections.code:{dumpSep("section Code");dump([n],"section code");dump([p],"section size");var H=getPosition();var W=readU32();var V=W.value;eatBytes(W.nextIndex);var K=a.sectionMetadata("code",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(V),e,H)}());if(t.ignoreCodeSection===true){var X=p-W.nextIndex;eatBytes(X)}else{parseCodeSection(V)}var J=[];return{nodes:J,metadata:K,nextSectionIndex:i}}case u.default.sections.start:{dumpSep("section Start");dump([n],"section code");dump([p],"section size");var Y=a.sectionMetadata("start",s,h);var Z=[parseStartSection()];return{nodes:Z,metadata:Y,nextSectionIndex:i}}case u.default.sections.element:{dumpSep("section Element");dump([n],"section code");dump([p],"section size");var ee=getPosition();var te=readU32();var ne=te.value;eatBytes(te.nextIndex);var re=a.sectionMetadata("element",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(ne),e,ee)}());var ie=parseElemSection(ne);return{nodes:ie,metadata:re,nextSectionIndex:i}}case u.default.sections.global:{dumpSep("section Global");dump([n],"section code");dump([p],"section size");var se=getPosition();var oe=readU32();var ae=oe.value;eatBytes(oe.nextIndex);var ue=a.sectionMetadata("global",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(ae),e,se)}());var le=parseGlobalSection(ae);return{nodes:le,metadata:ue,nextSectionIndex:i}}case u.default.sections.memory:{dumpSep("section Memory");dump([n],"section code");dump([p],"section size");var de=getPosition();var pe=readU32();var fe=pe.value;eatBytes(pe.nextIndex);var he=a.sectionMetadata("memory",s,h,function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(fe),e,de)}());var me=parseMemorySection(fe);return{nodes:me,metadata:he,nextSectionIndex:i}}case u.default.sections.data:{dumpSep("section Data");dump([n],"section code");dump([p],"section size");var ge=a.sectionMetadata("data",s,h);var ye=getPosition();var ve=readU32();var _e=ve.value;eatBytes(ve.nextIndex);ge.vectorOfSize=function(){var e=getPosition();return a.withLoc(a.numberLiteralFromRaw(_e),e,ye)}();if(t.ignoreDataSection===true){var be=p-ve.nextIndex;eatBytes(be);dumpSep("ignore data ("+p+" bytes)");return{nodes:[],metadata:ge,nextSectionIndex:i}}else{var xe=parseDataSection(_e);return{nodes:xe,metadata:ge,nextSectionIndex:i}}}case u.default.sections.custom:{dumpSep("section Custom");dump([n],"section code");dump([p],"section size");var ke=[a.sectionMetadata("custom",s,h)];var Ee=readUTF8String();eatBytes(Ee.nextIndex);dump([],"section name (".concat(Ee.value,")"));var we=p-Ee.nextIndex;if(Ee.value==="name"){var Se=d;try{ke.push.apply(ke,_toConsumableArray(parseNameSection(we)))}catch(e){console.warn('Failed to decode custom "name" section @'.concat(d,"; ignoring (").concat(e.message,")."));eatBytes(d-(Se+we))}}else if(Ee.value==="producers"){var Ce=d;try{ke.push(parseProducersSection())}catch(e){console.warn('Failed to decode custom "producers" section @'.concat(d,"; ignoring (").concat(e.message,")."));eatBytes(d-(Ce+we))}}else{eatBytes(we);dumpSep("ignore custom "+JSON.stringify(Ee.value)+" section ("+we+" bytes)")}return{nodes:[],metadata:ke,nextSectionIndex:i}}}throw new r.CompileError("Unexpected section: "+toHex(n))}parseModuleHeader();parseVersion();var h=[];var m=0;var g={sections:[],functionNames:[],localNames:[],producers:[]};while(d{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;var r=_interopRequireWildcard(n(13975));var i=_interopRequireWildcard(n(98093));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}var s={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(e){var t=[];i.traverse(e,{FunctionNameMetadata:function FunctionNameMetadata(e){var n=e.node;t.push({name:n.value,index:n.index})}});if(t.length===0){return}i.traverse(e,{Func:function(e){function Func(t){return e.apply(this,arguments)}Func.toString=function(){return e.toString()};return Func}((function(e){var n=e.node;var r=n.name;var i=r.value;var s=Number(i.replace("func_",""));var a=t.find((function(e){return e.index===s}));if(a){var c=r.value;r.value=a.name;r.numeric=c;delete r.raw}})),ModuleExport:function(e){function ModuleExport(t){return e.apply(this,arguments)}ModuleExport.toString=function(){return e.toString()};return ModuleExport}((function(e){var n=e.node;if(n.descr.exportType==="Func"){var r=n.descr.id;var s=r.value;var a=t.find((function(e){return e.index===s}));if(a){n.descr.id=i.identifier(a.name)}}})),ModuleImport:function(e){function ModuleImport(t){return e.apply(this,arguments)}ModuleImport.toString=function(){return e.toString()};return ModuleImport}((function(e){var n=e.node;if(n.descr.type==="FuncImportDescr"){var r=n.descr.id;var s=Number(r.replace("func_",""));var a=t.find((function(e){return e.index===s}));if(a){n.descr.id=i.identifier(a.name)}}})),CallInstruction:function(e){function CallInstruction(t){return e.apply(this,arguments)}CallInstruction.toString=function(){return e.toString()};return CallInstruction}((function(e){var n=e.node;var r=n.index.value;var s=t.find((function(e){return e.index===r}));if(s){var a=n.index;n.index=i.identifier(s.name);n.numeric=a;delete n.raw}}))})}function restoreLocalNames(e){var t=[];i.traverse(e,{LocalNameMetadata:function LocalNameMetadata(e){var n=e.node;t.push({name:n.value,localIndex:n.localIndex,functionIndex:n.functionIndex})}});if(t.length===0){return}i.traverse(e,{Func:function(e){function Func(t){return e.apply(this,arguments)}Func.toString=function(){return e.toString()};return Func}((function(e){var n=e.node;var r=n.signature;if(r.type!=="Signature"){return}var i=n.name;var s=i.value;var a=Number(s.replace("func_",""));r.params.forEach((function(e,n){var r=t.find((function(e){return e.localIndex===n&&e.functionIndex===a}));if(r&&r.name!==""){e.id=r.name}}))}))})}function restoreModuleName(e){i.traverse(e,{ModuleNameMetadata:function(e){function ModuleNameMetadata(t){return e.apply(this,arguments)}ModuleNameMetadata.toString=function(){return e.toString()};return ModuleNameMetadata}((function(t){i.traverse(e,{Module:function(e){function Module(t){return e.apply(this,arguments)}Module.toString=function(){return e.toString()};return Module}((function(e){var n=e.node;var r=t.node.value;if(r===""){r=null}n.id=r}))})}))})}function decode(e,t){var n=Object.assign({},s,t);var i=r.decode(e,n);if(n.ignoreCustomNameSection===false){restoreFunctionNames(i);restoreLocalNames(i);restoreModuleName(i)}return i}},3158:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.read=read;t.write=write;function read(e,t,n,r,i){var s,a;var c=i*8-r-1;var u=(1<>1;var d=-7;var p=n?i-1:0;var h=n?-1:1;var m=e[t+p];p+=h;s=m&(1<<-d)-1;m>>=-d;d+=c;for(;d>0;s=s*256+e[t+p],p+=h,d-=8){}a=s&(1<<-d)-1;s>>=-d;d+=r;for(;d>0;a=a*256+e[t+p],p+=h,d-=8){}if(s===0){s=1-l}else if(s===u){return a?NaN:(m?-1:1)*Infinity}else{a=a+Math.pow(2,r);s=s-l}return(m?-1:1)*a*Math.pow(2,s-r)}function write(e,t,n,r,i,s){var a,c,u;var l=s*8-i-1;var d=(1<>1;var h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0;var m=r?0:s-1;var g=r?1:-1;var y=t<0||t===0&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===Infinity){c=isNaN(t)?1:0;a=d}else{a=Math.floor(Math.log(t)/Math.LN2);if(t*(u=Math.pow(2,-a))<1){a--;u*=2}if(a+p>=1){t+=h/u}else{t+=h*Math.pow(2,1-p)}if(t*u>=2){a++;u/=2}if(a+p>=d){c=0;a=d}else if(a+p>=1){c=(t*u-1)*Math.pow(2,i);a=a+p}else{c=t*Math.pow(2,p-1)*Math.pow(2,i);a=0}}for(;i>=8;e[n+m]=c&255,m+=g,c/=256,i-=8){}a=a<0;e[n+m]=a&255,m+=g,a/=256,l-=8){}e[n+m-g]|=y*128}},11174:e=>{e.exports=Long;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function Long(e,t,n){this.low=e|0;this.high=t|0;this.unsigned=!!n}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(e){return(e&&e["__isLong__"])===true}Long.isLong=isLong;var n={};var r={};function fromInt(e,t){var i,s,a;if(t){e>>>=0;if(a=0<=e&&e<256){s=r[e];if(s)return s}i=fromBits(e,(e|0)<0?-1:0,true);if(a)r[e]=i;return i}else{e|=0;if(a=-128<=e&&e<128){s=n[e];if(s)return s}i=fromBits(e,e<0?-1:0,false);if(a)n[e]=i;return i}}Long.fromInt=fromInt;function fromNumber(e,t){if(isNaN(e))return t?h:p;if(t){if(e<0)return h;if(e>=u)return b}else{if(e<=-l)return x;if(e+1>=l)return _}if(e<0)return fromNumber(-e,t).neg();return fromBits(e%c|0,e/c|0,t)}Long.fromNumber=fromNumber;function fromBits(e,t,n){return new Long(e,t,n)}Long.fromBits=fromBits;var i=Math.pow;function fromString(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return p;if(typeof t==="number"){n=t,t=false}else{t=!!t}n=n||10;if(n<2||360)throw Error("interior hyphen");else if(r===0){return fromString(e.substring(1),t,n).neg()}var s=fromNumber(i(n,8));var a=p;for(var c=0;c>>0:this.low};k.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*c+(this.low>>>0);return this.high*c+(this.low>>>0)};k.toString=function toString(e){e=e||10;if(e<2||36>>0,d=l.toString(e);a=u;if(a.isZero())return d+c;else{while(d.length<6)d="0"+d;c=""+d+c}}};k.getHighBits=function getHighBits(){return this.high};k.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};k.getLowBits=function getLowBits(){return this.low};k.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};k.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(x)?64:this.neg().getNumBitsAbs();var e=this.high!=0?this.high:this.low;for(var t=31;t>0;t--)if((e&1<=0};k.isOdd=function isOdd(){return(this.low&1)===1};k.isEven=function isEven(){return(this.low&1)===0};k.equals=function equals(e){if(!isLong(e))e=fromValue(e);if(this.unsigned!==e.unsigned&&this.high>>>31===1&&e.high>>>31===1)return false;return this.high===e.high&&this.low===e.low};k.eq=k.equals;k.notEquals=function notEquals(e){return!this.eq(e)};k.neq=k.notEquals;k.ne=k.notEquals;k.lessThan=function lessThan(e){return this.comp(e)<0};k.lt=k.lessThan;k.lessThanOrEqual=function lessThanOrEqual(e){return this.comp(e)<=0};k.lte=k.lessThanOrEqual;k.le=k.lessThanOrEqual;k.greaterThan=function greaterThan(e){return this.comp(e)>0};k.gt=k.greaterThan;k.greaterThanOrEqual=function greaterThanOrEqual(e){return this.comp(e)>=0};k.gte=k.greaterThanOrEqual;k.ge=k.greaterThanOrEqual;k.compare=function compare(e){if(!isLong(e))e=fromValue(e);if(this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();if(t&&!n)return-1;if(!t&&n)return 1;if(!this.unsigned)return this.sub(e).isNegative()?-1:1;return e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1};k.comp=k.compare;k.negate=function negate(){if(!this.unsigned&&this.eq(x))return x;return this.not().add(m)};k.neg=k.negate;k.add=function add(e){if(!isLong(e))e=fromValue(e);var t=this.high>>>16;var n=this.high&65535;var r=this.low>>>16;var i=this.low&65535;var s=e.high>>>16;var a=e.high&65535;var c=e.low>>>16;var u=e.low&65535;var l=0,d=0,p=0,h=0;h+=i+u;p+=h>>>16;h&=65535;p+=r+c;d+=p>>>16;p&=65535;d+=n+a;l+=d>>>16;d&=65535;l+=t+s;l&=65535;return fromBits(p<<16|h,l<<16|d,this.unsigned)};k.subtract=function subtract(e){if(!isLong(e))e=fromValue(e);return this.add(e.neg())};k.sub=k.subtract;k.multiply=function multiply(e){if(this.isZero())return p;if(!isLong(e))e=fromValue(e);if(t){var n=t["mul"](this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}if(e.isZero())return p;if(this.eq(x))return e.isOdd()?x:p;if(e.eq(x))return this.isOdd()?x:p;if(this.isNegative()){if(e.isNegative())return this.neg().mul(e.neg());else return this.neg().mul(e).neg()}else if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(d)&&e.lt(d))return fromNumber(this.toNumber()*e.toNumber(),this.unsigned);var r=this.high>>>16;var i=this.high&65535;var s=this.low>>>16;var a=this.low&65535;var c=e.high>>>16;var u=e.high&65535;var l=e.low>>>16;var h=e.low&65535;var m=0,g=0,y=0,_=0;_+=a*h;y+=_>>>16;_&=65535;y+=s*h;g+=y>>>16;y&=65535;y+=a*l;g+=y>>>16;y&=65535;g+=i*h;m+=g>>>16;g&=65535;g+=s*l;m+=g>>>16;g&=65535;g+=a*u;m+=g>>>16;g&=65535;m+=r*h+i*l+s*u+a*c;m&=65535;return fromBits(y<<16|_,m<<16|g,this.unsigned)};k.mul=k.multiply;k.divide=function divide(e){if(!isLong(e))e=fromValue(e);if(e.isZero())throw Error("division by zero");if(t){if(!this.unsigned&&this.high===-2147483648&&e.low===-1&&e.high===-1){return this}var n=(this.unsigned?t["div_u"]:t["div_s"])(this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?h:p;var r,s,a;if(!this.unsigned){if(this.eq(x)){if(e.eq(m)||e.eq(y))return x;else if(e.eq(x))return m;else{var c=this.shr(1);r=c.div(e).shl(1);if(r.eq(p)){return e.isNegative()?m:y}else{s=this.sub(e.mul(r));a=r.add(s.div(e));return a}}}else if(e.eq(x))return this.unsigned?h:p;if(this.isNegative()){if(e.isNegative())return this.neg().div(e.neg());return this.neg().div(e).neg()}else if(e.isNegative())return this.div(e.neg()).neg();a=p}else{if(!e.unsigned)e=e.toUnsigned();if(e.gt(this))return h;if(e.gt(this.shru(1)))return g;a=h}s=this;while(s.gte(e)){r=Math.max(1,Math.floor(s.toNumber()/e.toNumber()));var u=Math.ceil(Math.log(r)/Math.LN2),l=u<=48?1:i(2,u-48),d=fromNumber(r),_=d.mul(e);while(_.isNegative()||_.gt(s)){r-=l;d=fromNumber(r,this.unsigned);_=d.mul(e)}if(d.isZero())d=m;a=a.add(d);s=s.sub(_)}return a};k.div=k.divide;k.modulo=function modulo(e){if(!isLong(e))e=fromValue(e);if(t){var n=(this.unsigned?t["rem_u"]:t["rem_s"])(this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}return this.sub(this.div(e).mul(e))};k.mod=k.modulo;k.rem=k.modulo;k.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};k.and=function and(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low&e.low,this.high&e.high,this.unsigned)};k.or=function or(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low|e.low,this.high|e.high,this.unsigned)};k.xor=function xor(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low^e.low,this.high^e.high,this.unsigned)};k.shiftLeft=function shiftLeft(e){if(isLong(e))e=e.toInt();if((e&=63)===0)return this;else if(e<32)return fromBits(this.low<>>32-e,this.unsigned);else return fromBits(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned);else return fromBits(this.high>>e-32,this.high>=0?0:-1,this.unsigned)};k.shr=k.shiftRight;k.shiftRightUnsigned=function shiftRightUnsigned(e){if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e<32)return fromBits(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned);if(e===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>e-32,0,this.unsigned)};k.shru=k.shiftRightUnsigned;k.shr_u=k.shiftRightUnsigned;k.rotateLeft=function rotateLeft(e){var t;if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e===32)return fromBits(this.high,this.low,this.unsigned);if(e<32){t=32-e;return fromBits(this.low<>>t,this.high<>>t,this.unsigned)}e-=32;t=32-e;return fromBits(this.high<>>t,this.low<>>t,this.unsigned)};k.rotl=k.rotateLeft;k.rotateRight=function rotateRight(e){var t;if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e===32)return fromBits(this.high,this.low,this.unsigned);if(e<32){t=32-e;return fromBits(this.high<>>e,this.low<>>e,this.unsigned)}e-=32;t=32-e;return fromBits(this.low<>>e,this.high<>>e,this.unsigned)};k.rotr=k.rotateRight;k.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};k.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};k.toBytes=function toBytes(e){return e?this.toBytesLE():this.toBytesBE()};k.toBytesLE=function toBytesLE(){var e=this.high,t=this.low;return[t&255,t>>>8&255,t>>>16&255,t>>>24,e&255,e>>>8&255,e>>>16&255,e>>>24]};k.toBytesBE=function toBytesBE(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,e&255,t>>>24,t>>>16&255,t>>>8&255,t&255]};Long.fromBytes=function fromBytes(e,t,n){return n?Long.fromBytesLE(e,t):Long.fromBytesBE(e,t)};Long.fromBytesLE=function fromBytesLE(e,t){return new Long(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)};Long.fromBytesBE=function fromBytesBE(e,t){return new Long(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},20976:function(e,t){(function(e,n){true?n(t):0})(this,(function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var r={5:n,"5module":n+" export import",6:n+" const class extends export import super"};var i=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var c=new RegExp("["+s+"]");var u=new RegExp("["+s+a+"]");s=a=null;var l=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var d=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var n=65536;for(var r=0;re){return false}n+=t[r+1];if(n>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&c.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,l)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&u.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,l)||isInAstralSet(e,d)}var p=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new p(e,{beforeExpr:true,binop:t})}var h={beforeExpr:true},m={startsExpr:true};var g={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return g[e]=new p(e,t)}var y={num:new p("num",m),regexp:new p("regexp",m),string:new p("string",m),name:new p("name",m),eof:new p("eof"),bracketL:new p("[",{beforeExpr:true,startsExpr:true}),bracketR:new p("]"),braceL:new p("{",{beforeExpr:true,startsExpr:true}),braceR:new p("}"),parenL:new p("(",{beforeExpr:true,startsExpr:true}),parenR:new p(")"),comma:new p(",",h),semi:new p(";",h),colon:new p(":",h),dot:new p("."),question:new p("?",h),questionDot:new p("?."),arrow:new p("=>",h),template:new p("template"),invalidTemplate:new p("invalidTemplate"),ellipsis:new p("...",h),backQuote:new p("`",m),dollarBraceL:new p("${",{beforeExpr:true,startsExpr:true}),eq:new p("=",{beforeExpr:true,isAssign:true}),assign:new p("_=",{beforeExpr:true,isAssign:true}),incDec:new p("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new p("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new p("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new p("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",h),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",h),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",h),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",m),_if:kw("if"),_return:kw("return",h),_switch:kw("switch"),_throw:kw("throw",h),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",m),_super:kw("super",m),_class:kw("class",m),_extends:kw("extends",h),_export:kw("export"),_import:kw("import",m),_null:kw("null",m),_true:kw("true",m),_false:kw("false",m),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var _=/\r\n?|\n|\u2028|\u2029/;var b=new RegExp(_.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var x=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var E=Object.prototype;var w=E.hasOwnProperty;var S=E.toString;function has(e,t){return w.call(e,t)}var C=Array.isArray||function(e){return S.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var M=function Position(e,t){this.line=e;this.column=t};M.prototype.offset=function offset(e){return new M(this.line,this.column+e)};var I=function SourceLocation(e,t,n){this.start=t;this.end=n;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var n=1,r=0;;){b.lastIndex=r;var i=b.exec(e);if(i&&i.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(C(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}if(C(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(n,r,i,s,a,c){var u={type:n?"Block":"Line",value:r,start:i,end:s};if(e.locations){u.loc=new I(this,a,c)}if(e.ranges){u.range=[i,s]}t.push(u)}}var T=1,O=2,R=T|O,N=4,L=8,$=16,j=32,z=64,U=128;function functionFlags(e,t){return O|(e?N:0)|(t?L:0)}var q=0,G=1,H=2,W=3,V=4,K=5;var X=function Parser(e,n,i){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(r[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){for(var a=e.ecmaVersion;;a--){if(s=t[a]){break}}if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var c=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(c);this.reservedWordsStrictBind=wordsRegexp(c+" "+t.strictBind);this.input=String(n);this.containsEsc=false;if(i){this.pos=i;this.lineStart=this.input.lastIndexOf("\n",i-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(_).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=y.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(T);this.regexpState=null};var J={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};X.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};J.inFunction.get=function(){return(this.currentVarScope().flags&O)>0};J.inGenerator.get=function(){return(this.currentVarScope().flags&L)>0};J.inAsync.get=function(){return(this.currentVarScope().flags&N)>0};J.allowSuper.get=function(){return(this.currentThisScope().flags&z)>0};J.allowDirectSuper.get=function(){return(this.currentThisScope().flags&U)>0};J.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};X.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&O)>0};X.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=this;for(var r=0;r=,?^&]/.test(i)||i==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length;k.lastIndex=e;e+=k.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};Y.eat=function(e){if(this.type===e){this.next();return true}else{return false}};Y.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc};Y.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};Y.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};Y.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||_.test(this.input.slice(this.lastTokEnd,this.start))};Y.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};Y.semicolon=function(){if(!this.eat(y.semi)&&!this.insertSemicolon()){this.unexpected()}};Y.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};Y.expect=function(e){this.eat(e)||this.unexpected()};Y.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Y.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var n=t?e.parenthesizedAssign:e.parenthesizedBind;if(n>-1){this.raiseRecoverable(n,"Parenthesized pattern")}};Y.checkExpressionErrors=function(e,t){if(!e){return false}var n=e.shorthandAssign;var r=e.doubleProto;if(!t){return n>=0||r>=0}if(n>=0){this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")}if(r>=0){this.raiseRecoverable(r,"Redefinition of __proto__ property")}};Y.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(i,false,!e);case y._class:if(e){this.unexpected()}return this.parseClass(i,true);case y._if:return this.parseIfStatement(i);case y._return:return this.parseReturnStatement(i);case y._switch:return this.parseSwitchStatement(i);case y._throw:return this.parseThrowStatement(i);case y._try:return this.parseTryStatement(i);case y._const:case y._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(i,s);case y._while:return this.parseWhileStatement(i);case y._with:return this.parseWithStatement(i);case y.braceL:return this.parseBlock(true,i);case y.semi:return this.parseEmptyStatement(i);case y._export:case y._import:if(this.options.ecmaVersion>10&&r===y._import){k.lastIndex=this.pos;var a=k.exec(this.input);var c=this.pos+a[0].length,u=this.input.charCodeAt(c);if(u===40||u===46){return this.parseExpressionStatement(i,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return r===y._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(i,true,!e)}var l=this.value,d=this.parseExpression();if(r===y.name&&d.type==="Identifier"&&this.eat(y.colon)){return this.parseLabeledStatement(i,l,d,e)}else{return this.parseExpressionStatement(i,d)}}};ee.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next();if(this.eat(y.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==y.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var r=0;for(;r=6){this.eat(y.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};ee.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(te);this.enterScope(0);this.expect(y.parenL);if(this.type===y.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var n=this.isLet();if(this.type===y._var||this.type===y._const||n){var r=this.startNode(),i=n?"let":this.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===y._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,r)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}var s=new DestructuringErrors;var a=this.parseExpression(true,s);if(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===y._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(a,false,s);this.checkLVal(a);return this.parseForIn(e,a)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)};ee.parseFunctionStatement=function(e,t,n){this.next();return this.parseFunction(e,ie|(n?0:se),false,t)};ee.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(y._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};ee.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(y.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};ee.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(y.braceL);this.labels.push(ne);this.enterScope(0);var t;for(var n=false;this.type!==y.braceR;){if(this.type===y._case||this.type===y._default){var r=this.type===y._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(r){t.test=this.parseExpression()}else{if(n){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}n=true;t.test=null}this.expect(y.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};ee.parseThrowStatement=function(e){this.next();if(_.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var re=[];ee.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===y._catch){var t=this.startNode();this.next();if(this.eat(y.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?j:0);this.checkLVal(t.param,n?V:H);this.expect(y.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(y._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};ee.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};ee.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(te);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};ee.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};ee.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};ee.parseLabeledStatement=function(e,t,n,r){for(var i=0,s=this.labels;i=0;u--){var l=this.labels[u];if(l.statementStart===e.start){l.statementStart=this.start;l.kind=c}else{break}}this.labels.push({name:t,kind:c,statementStart:this.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.labels.pop();e.label=n;return this.finishNode(e,"LabeledStatement")};ee.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};ee.parseBlock=function(e,t,n){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(y.braceL);if(e){this.enterScope(0)}while(this.type!==y.braceR){var r=this.parseStatement(null);t.body.push(r)}if(n){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};ee.parseFor=function(e,t){e.init=t;this.expect(y.semi);e.test=this.type===y.semi?null:this.parseExpression();this.expect(y.semi);e.update=this.type===y.parenR?null:this.parseExpression();this.expect(y.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};ee.parseForIn=function(e,t){var n=this.type===y._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(t.type==="AssignmentPattern"){this.raise(t.start,"Invalid left-hand side in for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssign();this.expect(y.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")};ee.parseVar=function(e,t,n){e.declarations=[];e.kind=n;for(;;){var r=this.startNode();this.parseVarId(r,n);if(this.eat(y.eq)){r.init=this.parseMaybeAssign(t)}else if(n==="const"&&!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(r.id.type!=="Identifier"&&!(t&&(this.type===y._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(y.comma)){break}}return e};ee.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,t==="var"?G:H,false)};var ie=1,se=2,oe=4;ee.parseFunction=function(e,t,n,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===y.star&&t&se){this.unexpected()}e.generator=this.eat(y.star)}if(this.options.ecmaVersion>=8){e.async=!!r}if(t&ie){e.id=t&oe&&this.type!==y.name?null:this.parseIdent();if(e.id&&!(t&se)){this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?G:H:W)}}var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&ie)){e.id=this.type===y.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,n,false);this.yieldPos=i;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,t&ie?"FunctionDeclaration":"FunctionExpression")};ee.parseFunctionParams=function(e){this.expect(y.parenL);e.params=this.parseBindingList(y.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ee.parseClass=function(e,t){this.next();var n=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var r=this.startNode();var i=false;r.body=[];this.expect(y.braceL);while(this.type!==y.braceR){var s=this.parseClassElement(e.superClass!==null);if(s){r.body.push(s);if(s.type==="MethodDefinition"&&s.kind==="constructor"){if(i){this.raise(s.start,"Duplicate constructor in the same class")}i=true}}}this.strict=n;this.next();e.body=this.finishNode(r,"ClassBody");return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};ee.parseClassElement=function(e){var t=this;if(this.eat(y.semi)){return null}var n=this.startNode();var tryContextual=function(e,r){if(r===void 0)r=false;var i=t.start,s=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==y.parenL&&(!r||!t.canInsertSemicolon())){return true}if(n.key){t.unexpected()}n.computed=false;n.key=t.startNodeAt(i,s);n.key.name=e;t.finishNode(n.key,"Identifier");return false};n.kind="method";n.static=tryContextual("static");var r=this.eat(y.star);var i=false;if(!r){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){i=true;r=this.options.ecmaVersion>=9&&this.eat(y.star)}else if(tryContextual("get")){n.kind="get"}else if(tryContextual("set")){n.kind="set"}}if(!n.key){this.parsePropertyName(n)}var s=n.key;var a=false;if(!n.computed&&!n.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")){if(n.kind!=="method"){this.raise(s.start,"Constructor can't have get/set modifier")}if(r){this.raise(s.start,"Constructor can't be a generator")}if(i){this.raise(s.start,"Constructor can't be an async method")}n.kind="constructor";a=e}else if(n.static&&s.type==="Identifier"&&s.name==="prototype"){this.raise(s.start,"Classes may not have a static property named prototype")}this.parseClassMethod(n,r,i,a);if(n.kind==="get"&&n.value.params.length!==0){this.raiseRecoverable(n.value.start,"getter should have no params")}if(n.kind==="set"&&n.value.params.length!==1){this.raiseRecoverable(n.value.start,"setter should have exactly one param")}if(n.kind==="set"&&n.value.params[0].type==="RestElement"){this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")}return n};ee.parseClassMethod=function(e,t,n,r){e.value=this.parseMethod(t,n,r);return this.finishNode(e,"MethodDefinition")};ee.parseClassId=function(e,t){if(this.type===y.name){e.id=this.parseIdent();if(t){this.checkLVal(e.id,H,false)}}else{if(t===true){this.unexpected()}e.id=null}};ee.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts():null};ee.parseExport=function(e,t){this.next();if(this.eat(y.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==y.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(y._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===y._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next();if(n){this.next()}e.declaration=this.parseFunction(r,ie|oe,false,n)}else if(this.type===y._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==y.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(n){this.checkPatternErrors(n,true)}for(var r=0,i=e.properties;r=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(y._function)){return this.parseFunction(this.startNodeAt(r,i),0,false,true)}if(n&&!this.canInsertSemicolon()){if(this.eat(y.arrow)){return this.parseArrowExpression(this.startNodeAt(r,i),[a],false)}if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===y.name&&!s){a=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(y.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(r,i),[a],true)}}return a;case y.regexp:var c=this.value;t=this.parseLiteral(c.value);t.regex={pattern:c.pattern,flags:c.flags};return t;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:t=this.startNode();t.value=this.type===y._null?null:this.type===y._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case y.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)){e.parenthesizedAssign=u}if(e.parenthesizedBind<0){e.parenthesizedBind=u}}return l;case y.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(y.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case y.braceL:return this.parseObj(false,e);case y._function:t=this.startNode();this.next();return this.parseFunction(t,0);case y._class:return this.parseClass(this.startNode(),false);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ue.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case y.parenL:return this.parseDynamicImport(e);case y.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ue.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(y.parenR)){var t=this.start;if(this.eat(y.comma)&&this.eat(y.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ue.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ue.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ue.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();this.expect(y.parenR);return e};ue.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,r,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc;var c=[],u=true,l=false;var d=new DestructuringErrors,p=this.yieldPos,h=this.awaitPos,m;this.yieldPos=0;this.awaitPos=0;while(this.type!==y.parenR){u?u=false:this.expect(y.comma);if(i&&this.afterTrailingComma(y.parenR,true)){l=true;break}else if(this.type===y.ellipsis){m=this.start;c.push(this.parseParenItem(this.parseRestBinding()));if(this.type===y.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{c.push(this.parseMaybeAssign(false,d,this.parseParenItem))}}var g=this.start,_=this.startLoc;this.expect(y.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(y.arrow)){this.checkPatternErrors(d,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=p;this.awaitPos=h;return this.parseParenArrowList(t,n,c)}if(!c.length||l){this.unexpected(this.lastTokStart)}if(m){this.unexpected(m)}this.checkExpressionErrors(d,true);this.yieldPos=p||this.yieldPos;this.awaitPos=h||this.awaitPos;if(c.length>1){r=this.startNodeAt(s,a);r.expressions=c;this.finishNodeAt(r,"SequenceExpression",g,_)}else{r=c[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var b=this.startNodeAt(t,n);b.expression=r;return this.finishNode(b,"ParenthesizedExpression")}else{return r}};ue.parseParenItem=function(e){return e};ue.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var le=[];ue.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){e.meta=t;var n=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(n){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,s=this.type===y._import;e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,true);if(s&&e.callee.type==="ImportExpression"){this.raise(r,"Cannot use new with import()")}if(this.eat(y.parenL)){e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=le}return this.finishNode(e,"NewExpression")};ue.parseTemplateElement=function(e){var t=e.isTagged;var n=this.startNode();if(this.type===y.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}n.value={raw:this.value,cooked:null}}else{n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();n.tail=this.type===y.backQuote;return this.finishNode(n,"TemplateElement")};ue.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var n=this.startNode();this.next();n.expressions=[];var r=this.parseTemplateElement({isTagged:t});n.quasis=[r];while(!r.tail){if(this.type===y.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(y.dollarBraceL);n.expressions.push(this.parseExpression());this.expect(y.braceR);n.quasis.push(r=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(n,"TemplateLiteral")};ue.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!_.test(this.input.slice(this.lastTokEnd,this.start))};ue.parseObj=function(e,t){var n=this.startNode(),r=true,i={};n.properties=[];this.next();while(!this.eat(y.braceR)){if(!r){this.expect(y.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR)){break}}else{r=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,i,t)}n.properties.push(s)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")};ue.parseProperty=function(e,t){var n=this.startNode(),r,i,s,a;if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis)){if(e){n.argument=this.parseIdent(false);if(this.type===y.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(n,"RestElement")}if(this.type===y.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}n.argument=this.parseMaybeAssign(false,t);if(this.type===y.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(n,"SpreadElement")}if(this.options.ecmaVersion>=6){n.method=false;n.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){r=this.eat(y.star)}}var c=this.containsEsc;this.parsePropertyName(n);if(!e&&!c&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)){i=true;r=this.options.ecmaVersion>=9&&this.eat(y.star);this.parsePropertyName(n,t)}else{i=false}this.parsePropertyValue(n,e,r,i,s,a,t,c);return this.finishNode(n,"Property")};ue.parsePropertyValue=function(e,t,n,r,i,s,a,c){if((n||r)&&this.type===y.colon){this.unexpected()}if(this.eat(y.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===y.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(n,r)}else if(!t&&!c&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==y.comma&&this.type!==y.braceR&&this.type!==y.eq)){if(n||r){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var l=e.value.start;if(e.kind==="get"){this.raiseRecoverable(l,"getter should have no params")}else{this.raiseRecoverable(l,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(n||r){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i}e.kind="init";if(t){e.value=this.parseMaybeDefault(i,s,e.key)}else if(this.type===y.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(i,s,e.key)}else{e.value=e.key}e.shorthand=true}else{this.unexpected()}};ue.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(y.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ue.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ue.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(r);if(this.options.ecmaVersion>=6){r.generator=e}if(this.options.ecmaVersion>=8){r.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,r.generator)|z|(n?U:0));this.expect(y.parenL);r.params=this.parseBindingList(y.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(r,false,true);this.yieldPos=i;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(r,"FunctionExpression")};ue.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;this.enterScope(functionFlags(n,false)|$);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!n}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=r;this.awaitPos=i;this.awaitIdentPos=s;return this.finishNode(e,"ArrowFunctionExpression")};ue.parseFunctionBody=function(e,t,n){var r=t&&this.type!==y.braceL;var i=this.strict,s=false;if(r){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!i||a){s=this.strictDirective(this.end);if(s&&a){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var c=this.labels;this.labels=[];if(s){this.strict=true}this.checkParams(e,!i&&!s&&!t&&!n&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLVal(e.id,K)}e.body=this.parseBlock(false,undefined,s&&!i);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=c}this.exitScope()};ue.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1;i.lexical.push(e);if(this.inModule&&i.flags&T){delete this.undefinedExports[e]}}else if(t===V){var s=this.currentScope();s.lexical.push(e)}else if(t===W){var a=this.currentScope();if(this.treatFunctionsAsVar){r=a.lexical.indexOf(e)>-1}else{r=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var c=this.scopeStack.length-1;c>=0;--c){var u=this.scopeStack[c];if(u.lexical.indexOf(e)>-1&&!(u.flags&j&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){r=true;break}u.var.push(e);if(this.inModule&&u.flags&T){delete this.undefinedExports[e]}if(u.flags&R){break}}}if(r){this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")}};pe.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};pe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};pe.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&R){return t}}};pe.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&R&&!(t.flags&$)){return t}}};var he=function Node(e,t,n){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new I(e,n)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var me=X.prototype;me.startNode=function(){return new he(this,this.start,this.startLoc)};me.startNodeAt=function(e,t){return new he(this,e,t)};function finishNodeAt(e,t,n,r){e.type=t;e.end=n;if(this.options.locations){e.loc.end=r}if(this.options.ranges){e.range[1]=n}return e}me.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};me.finishNodeAt=function(e,t,n,r){return finishNodeAt.call(this,e,t,n,r)};var ge=function TokContext(e,t,n,r,i){this.token=e;this.isExpr=!!t;this.preserveSpace=!!n;this.override=r;this.generator=!!i};var ye={b_stat:new ge("{",false),b_expr:new ge("{",true),b_tmpl:new ge("${",false),p_stat:new ge("(",false),p_expr:new ge("(",true),q_tmpl:new ge("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new ge("function",false),f_expr:new ge("function",true),f_expr_gen:new ge("function",true,false,null,true),f_gen:new ge("function",false,false,null,true)};var ve=X.prototype;ve.initialContext=function(){return[ye.b_stat]};ve.braceIsBlock=function(e){var t=this.curContext();if(t===ye.f_expr||t===ye.f_stat){return true}if(e===y.colon&&(t===ye.b_stat||t===ye.b_expr)){return!t.isExpr}if(e===y._return||e===y.name&&this.exprAllowed){return _.test(this.input.slice(this.lastTokEnd,this.start))}if(e===y._else||e===y.semi||e===y.eof||e===y.parenR||e===y.arrow){return true}if(e===y.braceL){return t===ye.b_stat}if(e===y._var||e===y._const||e===y.name){return false}return!this.exprAllowed};ve.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ve.updateContext=function(e){var t,n=this.type;if(n.keyword&&e===y.dot){this.exprAllowed=false}else if(t=n.updateContext){t.call(this,e)}else{this.exprAllowed=n.beforeExpr}};y.parenR.updateContext=y.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===ye.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ye.b_stat:ye.b_expr);this.exprAllowed=true};y.dollarBraceL.updateContext=function(){this.context.push(ye.b_tmpl);this.exprAllowed=true};y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?ye.p_stat:ye.p_expr);this.exprAllowed=true};y.incDec.updateContext=function(){};y._function.updateContext=y._class.updateContext=function(e){if(e.beforeExpr&&e!==y.semi&&e!==y._else&&!(e===y._return&&_.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===y.colon||e===y.braceL)&&this.curContext()===ye.b_stat)){this.context.push(ye.f_expr)}else{this.context.push(ye.f_stat)}this.exprAllowed=false};y.backQuote.updateContext=function(){if(this.curContext()===ye.q_tmpl){this.context.pop()}else{this.context.push(ye.q_tmpl)}this.exprAllowed=false};y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;if(this.context[t]===ye.f_expr){this.context[t]=ye.f_expr_gen}else{this.context[t]=ye.f_gen}}this.exprAllowed=true};y.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==y.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var _e="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var be=_e+" Extended_Pictographic";var xe=be;var ke={9:_e,10:be,11:xe};var Ee="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var we="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Se=we+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ce=Se+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ae={9:we,10:Se,11:Ce};var De={};function buildUnicodeData(e){var t=De[e]={binary:wordsRegexp(ke[e]+" "+Ee),nonBinary:{General_Category:wordsRegexp(Ee),Script:wordsRegexp(Ae[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var Me=X.prototype;var Ie=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=De[e.options.ecmaVersion>=11?11:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Ie.prototype.reset=function reset(e,t,n){var r=n.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=n;this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchN=r&&this.parser.options.ecmaVersion>=9};Ie.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Ie.prototype.at=function at(e,t){if(t===void 0)t=false;var n=this.source;var r=n.length;if(e>=r){return-1}var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r){return i}var s=n.charCodeAt(e+1);return s>=56320&&s<=57343?(i<<10)+s-56613888:i};Ie.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var n=this.source;var r=n.length;if(e>=r){return r}var i=n.charCodeAt(e),s;if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(s=n.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};Ie.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Ie.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Ie.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Ie.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Me.validateRegExpFlags=function(e){var t=e.validFlags;var n=e.flags;for(var r=0;r-1){this.raise(e.start,"Duplicate regular expression flag")}}};Me.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};Me.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,n=e.backReferenceNames;t=9){n=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!n;return true}}e.pos=t;return false};Me.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Me.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Me.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)){r=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){i=e.lastIntValue}if(e.eat(125)){if(i!==-1&&i=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};Me.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Me.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Me.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Me.regexp_eatPatternCharacters=function(e){var t=e.pos;var n=0;while((n=e.current())!==-1&&!isSyntaxCharacter(n)){e.advance()}return e.pos!==t};Me.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};Me.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Me.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};Me.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};Me.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var n=this.options.ecmaVersion>=11;var r=e.current(n);e.advance(n);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)){r=e.lastIntValue}if(isRegExpIdentifierStart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Me.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var n=this.options.ecmaVersion>=11;var r=e.current(n);e.advance(n);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)){r=e.lastIntValue}if(isRegExpIdentifierPart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Me.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};Me.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU){if(n>e.maxBackReference){e.maxBackReference=n}return true}if(n<=e.numCapturingParens){return true}e.pos=t}return false};Me.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};Me.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Me.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Me.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Me.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};Me.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}Me.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var n=e.pos;var r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(i-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=i}return true}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(r){e.raise("Invalid unicode escape")}e.pos=n}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Me.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};Me.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};Me.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Me.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,n,r);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,i);return true}return false};Me.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(n)){e.raise("Invalid property value")}};Me.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};Me.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}Me.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}Me.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Me.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};Me.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;if(e.switchU&&(t===-1||n===-1)){e.raise("Invalid character class")}if(t!==-1&&n!==-1&&t>n){e.raise("Range out of order in character class")}}}};Me.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var n=e.current();if(n===99||isOctalDigit(n)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var r=e.current();if(r!==93){e.lastIntValue=r;e.advance();return true}return false};Me.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Me.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Me.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};Me.regexp_eatDecimalDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isDecimalDigit(n=e.current())){e.lastIntValue=10*e.lastIntValue+(n-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}Me.regexp_eatHexDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isHexDigit(n=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(n);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}Me.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+n*8+e.lastIntValue}else{e.lastIntValue=t*8+n}}else{e.lastIntValue=t}return true}return false};Me.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}Me.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r=this.input.length){return this.finishToken(y.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Te.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};Te.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=n+2;if(this.options.locations){b.lastIndex=t;var r;while((r=b.exec(this.input))&&r.index8&&e<14||e>=5760&&x.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Te.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var n=this.type;this.type=e;this.value=t;this.updateContext(n)};Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(y.ellipsis)}else{++this.pos;return this.finishToken(y.dot)}};Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(y.assign,2)}return this.finishOp(y.slash,1)};Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;var r=e===42?y.star:y.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++n;r=y.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(y.assign,n+1)}return this.finishOp(r,n)};Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61){return this.finishOp(y.assign,3)}}return this.finishOp(e===124?y.logicalOR:y.logicalAND,2)}if(t===61){return this.finishOp(y.assign,2)}return this.finishOp(e===124?y.bitwiseOR:y.bitwiseAND,1)};Te.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(y.assign,2)}return this.finishOp(y.bitwiseXOR,1)};Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||_.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(y.incDec,2)}if(t===61){return this.finishOp(y.assign,2)}return this.finishOp(y.plusMin,1)};Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;if(t===e){n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+n)===61){return this.finishOp(y.assign,n+1)}return this.finishOp(y.bitShift,n)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){n=2}return this.finishOp(y.relational,n)};Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(y.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(y.arrow)}return this.finishOp(e===61?y.eq:y.prefix,1)};Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57){return this.finishOp(y.questionDot,2)}}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(y.assign,3)}}return this.finishOp(y.coalesce,2)}}return this.finishOp(y.question,1)};Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(y.parenL);case 41:++this.pos;return this.finishToken(y.parenR);case 59:++this.pos;return this.finishToken(y.semi);case 44:++this.pos;return this.finishToken(y.comma);case 91:++this.pos;return this.finishToken(y.bracketL);case 93:++this.pos;return this.finishToken(y.bracketR);case 123:++this.pos;return this.finishToken(y.braceL);case 125:++this.pos;return this.finishToken(y.braceR);case 58:++this.pos;return this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(y.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Te.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,n)};Te.readRegexp=function(){var e,t,n=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(n,"Unterminated regular expression")}var r=this.input.charAt(this.pos);if(_.test(r)){this.raise(n,"Unterminated regular expression")}if(!e){if(r==="["){t=true}else if(r==="]"&&t){t=false}else if(r==="/"&&!t){break}e=r==="\\"}else{e=false}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var c=this.regexpState||(this.regexpState=new Ie(this));c.reset(n,i,a);this.validateRegExpFlags(c);this.validateRegExpPattern(c);var u=null;try{u=new RegExp(i,a)}catch(e){}return this.finishToken(y.regexp,{pattern:i,flags:a,value:u})};Te.readInt=function(e,t,n){var r=this.options.ecmaVersion>=12&&t===undefined;var i=n&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,c=0;for(var u=0,l=t==null?Infinity:t;u=97){p=d-97+10}else if(d>=65){p=d-65+10}else if(d>=48&&d<=57){p=d-48}else{p=Infinity}if(p>=e){break}c=d;a=a*e+p}if(r&&c===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);if(n==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){n=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(y.num,n)};Te.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(n&&this.strict){this.raise(t,"Invalid number")}var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(y.num,i)}if(n&&/[89]/.test(this.input.slice(t,this.pos))){n=false}if(r===46&&!n){++this.pos;this.readInt(10);r=this.input.charCodeAt(this.pos)}if((r===69||r===101)&&!n){r=this.input.charCodeAt(++this.pos);if(r===43||r===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),n);return this.finishToken(y.num,s)};Te.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(n,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Te.readString=function(e){var t="",n=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var r=this.input.charCodeAt(this.pos);if(r===e){break}if(r===92){t+=this.input.slice(n,this.pos);t+=this.readEscapedChar(false);n=this.pos}else{if(isNewLine(r,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(n,this.pos++);return this.finishToken(y.string,t)};var Oe={};Te.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Oe){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Oe}else{this.raise(e,t)}};Te.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)){if(n===36){this.pos+=2;return this.finishToken(y.dollarBraceL)}else{++this.pos;return this.finishToken(y.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(y.template,e)}if(n===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.pos);++this.pos;switch(n){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.pos+=r.length-1;t=this.input.charCodeAt(this.pos);if((r!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(i)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Te.readHexChar=function(e){var t=this.pos;var n=this.readInt(16,e);if(n===null){this.invalidStringToken(t,"Bad character escape sequence")}return n};Te.readWord1=function(){this.containsEsc=false;var e="",t=true,n=this.pos;var r=this.options.ecmaVersion>=6;while(this.pos{"use strict";var r=n(62310);e.exports=defineKeywords;function defineKeywords(e,t){if(Array.isArray(t)){for(var n=0;n{"use strict";var r=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var i=/t|\s/i;var s={date:compareDate,time:compareTime,"date-time":compareDateTime};var a={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};e.exports=function(e){var t="format"+e;return function defFunc(r){defFunc.definition={type:"string",inline:n(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},a]}};r.addKeyword(t,defFunc.definition);r.addKeyword("formatExclusive"+e,{dependencies:["format"+e],metaSchema:{anyOf:[{type:"boolean"},a]}});extendFormats(r);return r}};function extendFormats(e){var t=e._formats;for(var n in s){var r=t[n];if(typeof r!="object"||r instanceof RegExp||!r.validate)r=t[n]={validate:r};if(!r.compare)r.compare=s[n]}}function compareDate(e,t){if(!(e&&t))return;if(e>t)return 1;if(et)return 1;if(e{"use strict";e.exports={metaSchemaRef:metaSchemaRef};var t="http://json-schema.org/draft-07/schema";function metaSchemaRef(e){var n=e._opts.defaultMeta;if(typeof n=="string")return{$ref:n};if(e.getSchema(t))return{$ref:t};console.warn("meta schema not defined");return{}}},96216:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e,t){if(!e)return true;var n=Object.keys(t.properties);if(n.length==0)return true;return{required:n}},metaSchema:{type:"boolean"},dependencies:["properties"]};e.addKeyword("allRequired",defFunc.definition);return e}},1611:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{required:e};var t=e.map((function(e){return{required:[e]}}));return{anyOf:t}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("anyRequired",defFunc.definition);return e}},49494:(e,t,n)=>{"use strict";var r=n(54630);e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){var t=[];for(var n in e)t.push(getSchema(n,e[n]));return{allOf:t}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:r.metaSchemaRef(e)}};e.addKeyword("deepProperties",defFunc.definition);return e};function getSchema(e,t){var n=e.split("/");var r={};var i=r;for(var s=1;s{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",inline:function(e,t,n){var r="";for(var i=0;i{"use strict";e.exports=function generate__formatLimit(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d;var p="data"+(s||"");var h="valid"+i;r+="var "+h+" = undefined;";if(e.opts.format===false){r+=" "+h+" = true; ";return r}var m=e.schema.format,g=e.opts.$data&&m.$data,y="";if(g){var _=e.util.getData(m.$data,s,e.dataPathArr),b="format"+i,x="compare"+i;r+=" var "+b+" = formats["+_+"] , "+x+" = "+b+" && "+b+".compare;"}else{var b=e.formats[m];if(!(b&&b.compare)){r+=" "+h+" = true; ";return r}var x="formats"+e.util.getProperty(m)+".compare"}var k=t=="formatMaximum",E="formatExclusive"+(k?"Maximum":"Minimum"),w=e.schema[E],S=e.opts.$data&&w&&w.$data,C=k?"<":">",M="result"+i;var I=e.opts.$data&&a&&a.$data,P;if(I){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";P="schema"+i}else{P=a}if(S){var T=e.util.getData(w.$data,s,e.dataPathArr),O="exclusive"+i,R="op"+i,N="' + "+R+" + '";r+=" var schemaExcl"+i+" = "+T+"; ";T="schemaExcl"+i;r+=" if (typeof "+T+" != 'boolean' && "+T+" !== undefined) { "+h+" = false; ";var d=E;var L=L||[];L.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(d||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: '"+E+" should be boolean' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}r+=" } "}else{r+=" {} "}var $=r;r=L.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+$+"]); "}else{r+=" validate.errors = ["+$+"]; return false; "}}else{r+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";if(l){y+="}";r+=" else { "}if(I){r+=" if ("+P+" === undefined) "+h+" = true; else if (typeof "+P+" != 'string') "+h+" = false; else { ";y+="}"}if(g){r+=" if (!"+x+") "+h+" = true; else { ";y+="}"}r+=" var "+M+" = "+x+"("+p+", ";if(I){r+=""+P}else{r+=""+e.util.toQuotedString(a)}r+=" ); if ("+M+" === undefined) "+h+" = false; var "+O+" = "+T+" === true; if ("+h+" === undefined) { "+h+" = "+O+" ? "+M+" "+C+" 0 : "+M+" "+C+"= 0; } if (!"+h+") var op"+i+" = "+O+" ? '"+C+"' : '"+C+"=';"}else{var O=w===true,N=C;if(!O)N+="=";var R="'"+N+"'";if(I){r+=" if ("+P+" === undefined) "+h+" = true; else if (typeof "+P+" != 'string') "+h+" = false; else { ";y+="}"}if(g){r+=" if (!"+x+") "+h+" = true; else { ";y+="}"}r+=" var "+M+" = "+x+"("+p+", ";if(I){r+=""+P}else{r+=""+e.util.toQuotedString(a)}r+=" ); if ("+M+" === undefined) "+h+" = false; if ("+h+" === undefined) "+h+" = "+M+" "+C;if(!O){r+="="}r+=" 0;"}r+=""+y+"if (!"+h+") { ";var d=t;var L=L||[];L.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(d||"_formatLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+R+", limit: ";if(I){r+=""+P}else{r+=""+e.util.toQuotedString(a)}r+=" , exclusive: "+O+" } ";if(e.opts.messages!==false){r+=" , message: 'should be "+N+' "';if(I){r+="' + "+P+" + '"}else{r+=""+e.util.escapeQuotes(a)}r+="\"' "}if(e.opts.verbose){r+=" , schema: ";if(I){r+="validate.schema"+c}else{r+=""+e.util.toQuotedString(a)}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}r+=" } "}else{r+=" {} "}var $=r;r=L.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+$+"]); "}else{r+=" validate.errors = ["+$+"]; return false; "}}else{r+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="}";return r}},98632:e=>{"use strict";e.exports=function generate_patternRequired(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h="key"+i,m="idx"+i,g="patternMatched"+i,y="dataProperties"+i,_="",b=e.opts.ownProperties;r+="var "+p+" = true;";if(b){r+=" var "+y+" = undefined;"}var x=a;if(x){var k,E=-1,w=x.length-1;while(E{"use strict";e.exports=function generate_switch(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h="errs__"+i;var m=e.util.copy(e);var g="";m.level++;var y="valid"+m.level;var _="ifPassed"+e.level,b=m.baseId,x;r+="var "+_+";";var k=a;if(k){var E,w=-1,S=k.length-1;while(w0:e.util.schemaHasRules(E.if,e.RULES.all))){r+=" var "+h+" = errors; ";var C=e.compositeRule;e.compositeRule=m.compositeRule=true;m.createErrors=false;m.schema=E.if;m.schemaPath=c+"["+w+"].if";m.errSchemaPath=u+"/"+w+"/if";r+=" "+e.validate(m)+" ";m.baseId=b;m.createErrors=true;e.compositeRule=m.compositeRule=C;r+=" "+_+" = "+y+"; if ("+_+") { ";if(typeof E.then=="boolean"){if(E.then===false){var M=M||[];M.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { caseIndex: "+w+" } ";if(e.opts.messages!==false){r+=" , message: 'should pass \"switch\" keyword validation' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var I=r;r=M.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+I+"]); "}else{r+=" validate.errors = ["+I+"]; return false; "}}else{r+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}r+=" var "+y+" = "+E.then+"; "}else{m.schema=E.then;m.schemaPath=c+"["+w+"].then";m.errSchemaPath=u+"/"+w+"/then";r+=" "+e.validate(m)+" ";m.baseId=b}r+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } } "}else{r+=" "+_+" = true; ";if(typeof E.then=="boolean"){if(E.then===false){var M=M||[];M.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { caseIndex: "+w+" } ";if(e.opts.messages!==false){r+=" , message: 'should pass \"switch\" keyword validation' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var I=r;r=M.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+I+"]); "}else{r+=" validate.errors = ["+I+"]; return false; "}}else{r+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}r+=" var "+y+" = "+E.then+"; "}else{m.schema=E.then;m.schemaPath=c+"["+w+"].then";m.errSchemaPath=u+"/"+w+"/then";r+=" "+e.validate(m)+" ";m.baseId=b}}x=E.continue}}r+=""+g+"var "+p+" = "+y+";";return r}},41835:e=>{"use strict";var t={};var n={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(e){var t=e&&e.max||2;return function(){return Math.floor(Math.random()*t)}},seq:function(e){var n=e&&e.name||"";t[n]=t[n]||0;return function(){return t[n]++}}};e.exports=function defFunc(e){defFunc.definition={compile:function(e,t,n){var r={};for(var i in e){var s=e[i];var a=getDefault(typeof s=="string"?s:s.func);r[i]=a.length?a(s.args):a}return n.opts.useDefaults&&!n.compositeRule?assignDefaults:noop;function assignDefaults(t){for(var i in e){if(t[i]===undefined||n.opts.useDefaults=="empty"&&(t[i]===null||t[i]===""))t[i]=r[i]()}return true}function noop(){return true}},DEFAULTS:n,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};e.addKeyword("dynamicDefaults",defFunc.definition);return e;function getDefault(e){var t=n[e];if(t)return t;throw new Error('invalid "dynamicDefaults" keyword property value: '+e)}}},69513:(e,t,n)=>{"use strict";e.exports=n(87113)("Maximum")},50581:(e,t,n)=>{"use strict";e.exports=n(87113)("Minimum")},62310:(e,t,n)=>{"use strict";e.exports={instanceof:n(94236),range:n(5332),regexp:n(85829),typeof:n(77189),dynamicDefaults:n(41835),allRequired:n(96216),anyRequired:n(1611),oneRequired:n(82233),prohibited:n(47431),uniqueItemProperties:n(69536),deepProperties:n(49494),deepRequired:n(23023),formatMinimum:n(50581),formatMaximum:n(69513),patternRequired:n(89042),switch:n(65305),select:n(9821),transform:n(62111)}},94236:e=>{"use strict";var t={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};e.exports=function defFunc(e){if(typeof Buffer!="undefined")t.Buffer=Buffer;if(typeof Promise!="undefined")t.Promise=Promise;defFunc.definition={compile:function(e){if(typeof e=="string"){var t=getConstructor(e);return function(e){return e instanceof t}}var n=e.map(getConstructor);return function(e){for(var t=0;t{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{required:e};var t=e.map((function(e){return{required:[e]}}));return{oneOf:t}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("oneRequired",defFunc.definition);return e}},89042:(e,t,n)=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",inline:n(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};e.addKeyword("patternRequired",defFunc.definition);return e}},47431:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{not:{required:e}};var t=e.map((function(e){return{required:[e]}}));return{not:{anyOf:t}}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("prohibited",defFunc.definition);return e}},5332:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"number",macro:function(e,t){var n=e[0],r=e[1],i=t.exclusiveRange;validateRangeSchema(n,r,i);return i===true?{exclusiveMinimum:n,exclusiveMaximum:r}:{minimum:n,maximum:r}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};e.addKeyword("range",defFunc.definition);e.addKeyword("exclusiveRange");return e;function validateRangeSchema(e,t,n){if(n!==undefined&&typeof n!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(e>t||n&&e==t)throw new Error("There are no numbers in range")}}},85829:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"string",inline:function(e,t,n){return getRegExp()+".test(data"+(e.dataLevel||"")+")";function getRegExp(){try{if(typeof n=="object")return new RegExp(n.pattern,n.flags);var e=n.match(/^\/(.*)\/([gimuy]*)$/);if(e)return new RegExp(e[1],e[2]);throw new Error("cannot parse string into RegExp")}catch(e){console.error("regular expression",n,"is invalid");throw e}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};e.addKeyword("regexp",defFunc.definition);return e}},9821:(e,t,n)=>{"use strict";var r=n(54630);e.exports=function defFunc(e){if(!e._opts.$data){console.warn("keyword select requires $data option");return e}var t=r.metaSchemaRef(e);var n=[];defFunc.definition={validate:function v(e,t,n){if(n.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var r=getCompiledSchemas(n,false);var i=r.cases[e];if(i===undefined)i=r.default;if(typeof i=="boolean")return i;var s=i(t);if(!s)v.errors=i.errors;return s},$data:true,metaSchema:{type:["string","number","boolean","null"]}};e.addKeyword("select",defFunc.definition);e.addKeyword("selectCases",{compile:function(e,t){var n=getCompiledSchemas(t);for(var r in e)n.cases[r]=compileOrBoolean(e[r]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:t}});e.addKeyword("selectDefault",{compile:function(e,t){var n=getCompiledSchemas(t);n.default=compileOrBoolean(e);return function(){return true}},valid:true,metaSchema:t});return e;function getCompiledSchemas(e,t){var r;n.some((function(t){if(t.parentSchema===e){r=t;return true}}));if(!r&&t!==false){r={parentSchema:e,cases:{},default:true};n.push(r)}return r}function compileOrBoolean(t){return typeof t=="boolean"?t:e.compile(t)}}},65305:(e,t,n)=>{"use strict";var r=n(54630);e.exports=function defFunc(e){if(e.RULES.keywords.switch&&e.RULES.keywords.if)return;var t=r.metaSchemaRef(e);defFunc.definition={inline:n(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:t,then:{anyOf:[{type:"boolean"},t]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};e.addKeyword("switch",defFunc.definition);return e}},62111:e=>{"use strict";e.exports=function defFunc(e){var t={trimLeft:function(e){return e.replace(/^[\s]+/,"")},trimRight:function(e){return e.replace(/[\s]+$/,"")},trim:function(e){return e.trim()},toLowerCase:function(e){return e.toLowerCase()},toUpperCase:function(e){return e.toUpperCase()},toEnumCase:function(e,t){return t.hash[makeHashTableKey(e)]||e}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(e,n){var r;if(e.indexOf("toEnumCase")!==-1){r={hash:{}};if(!n.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var i=n.enum.length;i--;i){var s=n.enum[i];if(typeof s!=="string")continue;var a=makeHashTableKey(s);if(r.hash[a])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');r.hash[a]=s}}return function(n,i,s,a){if(!s)return;for(var c=0,u=e.length;c{"use strict";var t=["undefined","string","number","object","function","boolean","symbol"];e.exports=function defFunc(e){defFunc.definition={inline:function(e,t,n){var r="data"+(e.dataLevel||"");if(typeof n=="string")return"typeof "+r+' == "'+n+'"';n="validate.schema"+e.schemaPath+"."+t;return n+".indexOf(typeof "+r+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:t},{type:"array",items:{type:"string",enum:t}}]}};e.addKeyword("typeof",defFunc.definition);return e}},69536:e=>{"use strict";var t=["number","integer","string","boolean","null"];e.exports=function defFunc(e){defFunc.definition={type:"array",compile:function(e,t,n){var r=n.util.equal;var i=getScalarKeys(e,t);return function(t){if(t.length>1){for(var n=0;n=0}))}},33866:(e,t,n)=>{"use strict";var r=n(69579),i=n(82253),s=n(32183),a=n(38868),c=n(75986),u=n(10698),l=n(75041),d=n(30398),p=n(778);e.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=n(18840);var h=n(3811);Ajv.prototype.addKeyword=h.add;Ajv.prototype.getKeyword=h.get;Ajv.prototype.removeKeyword=h.remove;Ajv.prototype.validateKeyword=h.validate;var m=n(29411);Ajv.ValidationError=m.Validation;Ajv.MissingRefError=m.MissingRef;Ajv.$dataMetaSchema=d;var g="http://json-schema.org/draft-07/schema";var y=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var _=["/properties"];function Ajv(e){if(!(this instanceof Ajv))return new Ajv(e);e=this._opts=p.copy(e)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=u(e.format);this._cache=e.cache||new s;this._loadingSchemas={};this._compilations=[];this.RULES=l();this._getId=chooseGetId(e);e.loopRequired=e.loopRequired||Infinity;if(e.errorDataPath=="property")e._errorDataPathProperty=true;if(e.serialize===undefined)e.serialize=c;this._metaOpts=getMetaSchemaOptions(this);if(e.formats)addInitialFormats(this);if(e.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof e.meta=="object")this.addMetaSchema(e.meta);if(e.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(e,t){var n;if(typeof e=="string"){n=this.getSchema(e);if(!n)throw new Error('no schema with key or ref "'+e+'"')}else{var r=this._addSchema(e);n=r.validate||this._compile(r)}var i=n(t);if(n.$async!==true)this.errors=n.errors;return i}function compile(e,t){var n=this._addSchema(e,undefined,t);return n.validate||this._compile(n)}function addSchema(e,t,n,r){if(Array.isArray(e)){for(var s=0;s{"use strict";var t=e.exports=function Cache(){this._cache={}};t.prototype.put=function Cache_put(e,t){this._cache[e]=t};t.prototype.get=function Cache_get(e){return this._cache[e]};t.prototype.del=function Cache_del(e){delete this._cache[e]};t.prototype.clear=function Cache_clear(){this._cache={}}},18840:(e,t,n)=>{"use strict";var r=n(29411).MissingRef;e.exports=compileAsync;function compileAsync(e,t,n){var i=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof t=="function"){n=t;t=undefined}var s=loadMetaSchemaOf(e).then((function(){var n=i._addSchema(e,undefined,t);return n.validate||_compileAsync(n)}));if(n){s.then((function(e){n(null,e)}),n)}return s;function loadMetaSchemaOf(e){var t=e.$schema;return t&&!i.getSchema(t)?compileAsync.call(i,{$ref:t},true):Promise.resolve()}function _compileAsync(e){try{return i._compile(e)}catch(e){if(e instanceof r)return loadMissingSchema(e);throw e}function loadMissingSchema(n){var r=n.missingSchema;if(added(r))throw new Error("Schema "+r+" is loaded but "+n.missingRef+" cannot be resolved");var s=i._loadingSchemas[r];if(!s){s=i._loadingSchemas[r]=i._opts.loadSchema(r);s.then(removePromise,removePromise)}return s.then((function(e){if(!added(r)){return loadMetaSchemaOf(e).then((function(){if(!added(r))i.addSchema(e,r,undefined,t)}))}})).then((function(){return _compileAsync(e)}));function removePromise(){delete i._loadingSchemas[r]}function added(e){return i._refs[e]||i._schemas[e]}}}}},29411:(e,t,n)=>{"use strict";var r=n(82253);e.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(e){this.message="validation failed";this.errors=e;this.ajv=this.validation=true}MissingRefError.message=function(e,t){return"can't resolve reference "+t+" from id "+e};function MissingRefError(e,t,n){this.message=n||MissingRefError.message(e,t);this.missingRef=r.url(e,t);this.missingSchema=r.normalizeId(r.fullPath(this.missingRef))}function errorSubclass(e){e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}},10698:(e,t,n)=>{"use strict";var r=n(778);var i=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var s=[0,31,28,31,30,31,30,31,31,30,31,30,31];var a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var c=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var u=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var l=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var d=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var p=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var h=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var m=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var g=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var y=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;e.exports=formats;function formats(e){e=e=="full"?"full":"fast";return r.copy(formats[e])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":d,url:p,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:c,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:h,"json-pointer":m,"json-pointer-uri-fragment":g,"relative-json-pointer":y};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":l,"uri-template":d,url:p,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:c,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:h,"json-pointer":m,"json-pointer-uri-fragment":g,"relative-json-pointer":y};function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function date(e){var t=e.match(i);if(!t)return false;var n=+t[1];var r=+t[2];var a=+t[3];return r>=1&&r<=12&&a>=1&&a<=(r==2&&isLeapYear(n)?29:s[r])}function time(e,t){var n=e.match(a);if(!n)return false;var r=n[1];var i=n[2];var s=n[3];var c=n[5];return(r<=23&&i<=59&&s<=59||r==23&&i==59&&s==60)&&(!t||c)}var _=/t|\s/i;function date_time(e){var t=e.split(_);return t.length==2&&date(t[0])&&time(t[1],true)}var b=/\/|:/;function uri(e){return b.test(e)&&u.test(e)}var x=/[^\\]\\Z/;function regex(e){if(x.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},69579:(e,t,n)=>{"use strict";var r=n(82253),i=n(778),s=n(29411),a=n(75986);var c=n(85061);var u=i.ucs2length;var l=n(55245);var d=s.Validation;e.exports=compile;function compile(e,t,n,p){var h=this,m=this._opts,g=[undefined],y={},_=[],b={},x=[],k={},E=[];t=t||{schema:e,refVal:g,refs:y};var w=checkCompiling.call(this,e,t,p);var S=this._compilations[w.index];if(w.compiling)return S.callValidate=callValidate;var C=this._formats;var M=this.RULES;try{var I=localCompile(e,t,n,p);S.validate=I;var P=S.callValidate;if(P){P.schema=I.schema;P.errors=null;P.refs=I.refs;P.refVal=I.refVal;P.root=I.root;P.$async=I.$async;if(m.sourceCode)P.source=I.source}return I}finally{endCompiling.call(this,e,t,p)}function callValidate(){var e=S.validate;var t=e.apply(this,arguments);callValidate.errors=e.errors;return t}function localCompile(e,n,a,p){var b=!n||n&&n.schema==e;if(n.schema!=t.schema)return compile.call(h,e,n,a,p);var k=e.$async===true;var w=c({isTop:true,schema:e,isRoot:b,baseId:p,root:n,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:s.MissingRef,RULES:M,validate:c,util:i,resolve:r,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:m,formats:C,logger:h.logger,self:h});w=vars(g,refValCode)+vars(_,patternCode)+vars(x,defaultCode)+vars(E,customRuleCode)+w;if(m.processCode)w=m.processCode(w,e);var S;try{var I=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",w);S=I(h,M,C,t,g,x,E,l,u,d);g[0]=S}catch(e){h.logger.error("Error compiling schema, function code:",w);throw e}S.schema=e;S.errors=null;S.refs=y;S.refVal=g;S.root=b?S:n;if(k)S.$async=true;if(m.sourceCode===true){S.source={code:w,patterns:_,defaults:x}}return S}function resolveRef(e,i,s){i=r.url(e,i);var a=y[i];var c,u;if(a!==undefined){c=g[a];u="refVal["+a+"]";return resolvedRef(c,u)}if(!s&&t.refs){var l=t.refs[i];if(l!==undefined){c=t.refVal[l];u=addLocalRef(i,c);return resolvedRef(c,u)}}u=addLocalRef(i);var d=r.call(h,localCompile,t,i);if(d===undefined){var p=n&&n[i];if(p){d=r.inlineRef(p,m.inlineRefs)?p:compile.call(h,p,t,n,e)}}if(d===undefined){removeLocalRef(i)}else{replaceLocalRef(i,d);return resolvedRef(d,u)}}function addLocalRef(e,t){var n=g.length;g[n]=t;y[e]=n;return"refVal"+n}function removeLocalRef(e){delete y[e]}function replaceLocalRef(e,t){var n=y[e];g[n]=t}function resolvedRef(e,t){return typeof e=="object"||typeof e=="boolean"?{code:t,schema:e,inline:true}:{code:t,$async:e&&!!e.$async}}function usePattern(e){var t=b[e];if(t===undefined){t=b[e]=_.length;_[t]=e}return"pattern"+t}function useDefault(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return i.toQuotedString(e);case"object":if(e===null)return"null";var t=a(e);var n=k[t];if(n===undefined){n=k[t]=x.length;x[n]=e}return"default"+n}}function useCustomRule(e,t,n,r){if(h._opts.validateSchema!==false){var i=e.definition.dependencies;if(i&&!i.every((function(e){return Object.prototype.hasOwnProperty.call(n,e)})))throw new Error("parent schema must have all required keywords: "+i.join(","));var s=e.definition.validateSchema;if(s){var a=s(t);if(!a){var c="keyword schema is invalid: "+h.errorsText(s.errors);if(h._opts.validateSchema=="log")h.logger.error(c);else throw new Error(c)}}}var u=e.definition.compile,l=e.definition.inline,d=e.definition.macro;var p;if(u){p=u.call(h,t,n,r)}else if(d){p=d.call(h,t,n,r);if(m.validateSchema!==false)h.validateSchema(p,true)}else if(l){p=l.call(h,r,e.keyword,t,n)}else{p=e.definition.validate;if(!p)return}if(p===undefined)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var g=E.length;E[g]=p;return{code:"customRule"+g,validate:p}}}function checkCompiling(e,t,n){var r=compIndex.call(this,e,t,n);if(r>=0)return{index:r,compiling:true};r=this._compilations.length;this._compilations[r]={schema:e,root:t,baseId:n};return{index:r,compiling:false}}function endCompiling(e,t,n){var r=compIndex.call(this,e,t,n);if(r>=0)this._compilations.splice(r,1)}function compIndex(e,t,n){for(var r=0;r{"use strict";var r=n(30823),i=n(55245),s=n(778),a=n(38868),c=n(46833);e.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(e,t,n){var r=this._refs[n];if(typeof r=="string"){if(this._refs[r])r=this._refs[r];else return resolve.call(this,e,t,r)}r=r||this._schemas[n];if(r instanceof a){return inlineRef(r.schema,this._opts.inlineRefs)?r.schema:r.validate||this._compile(r)}var i=resolveSchema.call(this,t,n);var s,c,u;if(i){s=i.schema;t=i.root;u=i.baseId}if(s instanceof a){c=s.validate||e.call(this,s.schema,t,undefined,u)}else if(s!==undefined){c=inlineRef(s,this._opts.inlineRefs)?s:e.call(this,s,t,undefined,u)}return c}function resolveSchema(e,t){var n=r.parse(t),i=_getFullPath(n),s=getFullPath(this._getId(e.schema));if(Object.keys(e.schema).length===0||i!==s){var c=normalizeId(i);var u=this._refs[c];if(typeof u=="string"){return resolveRecursive.call(this,e,u,n)}else if(u instanceof a){if(!u.validate)this._compile(u);e=u}else{u=this._schemas[c];if(u instanceof a){if(!u.validate)this._compile(u);if(c==normalizeId(t))return{schema:u,root:e,baseId:s};e=u}else{return}}if(!e.schema)return;s=getFullPath(this._getId(e.schema))}return getJsonPointer.call(this,n,s,e.schema,e)}function resolveRecursive(e,t,n){var r=resolveSchema.call(this,e,t);if(r){var i=r.schema;var s=r.baseId;e=r.root;var a=this._getId(i);if(a)s=resolveUrl(s,a);return getJsonPointer.call(this,n,s,i,e)}}var u=s.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,t,n,r){e.fragment=e.fragment||"";if(e.fragment.slice(0,1)!="/")return;var i=e.fragment.split("/");for(var a=1;a{"use strict";var r=n(71001),i=n(778).toHash;e.exports=function rules(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var t=["type","$comment"];var n=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var s=["number","integer","string","array","object","boolean","null"];e.all=i(t);e.types=i(s);e.forEach((function(n){n.rules=n.rules.map((function(n){var i;if(typeof n=="object"){var s=Object.keys(n)[0];i=n[s];n=s;i.forEach((function(n){t.push(n);e.all[n]=true}))}t.push(n);var a=e.all[n]={keyword:n,code:r[n],implements:i};return a}));e.all.$comment={keyword:"$comment",code:r.$comment};if(n.type)e.types[n.type]=n}));e.keywords=i(t.concat(n));e.custom={};return e}},38868:(e,t,n)=>{"use strict";var r=n(778);e.exports=SchemaObject;function SchemaObject(e){r.copy(e,this)}},15512:e=>{"use strict";e.exports=function ucs2length(e){var t=0,n=e.length,r=0,i;while(r=55296&&i<=56319&&r{"use strict";e.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:n(55245),ucs2length:n(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(e,t){t=t||{};for(var n in e)t[n]=e[n];return t}function checkDataType(e,t,n,r){var i=r?" !== ":" === ",s=r?" || ":" && ",a=r?"!":"",c=r?"":"!";switch(e){case"null":return t+i+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+s+"typeof "+t+i+'"object"'+s+c+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+s+c+"("+t+" % 1)"+s+t+i+t+(n?s+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+i+'"'+e+'"'+(n?s+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+i+'"'+e+'"'}}function checkDataTypes(e,t,n){switch(e.length){case 1:return checkDataType(e[0],t,n,true);default:var r="";var i=toHash(e);if(i.array&&i.object){r=i.null?"(":"(!"+t+" || ";r+="typeof "+t+' !== "object")';delete i.null;delete i.array;delete i.object}if(i.number)delete i.integer;for(var s in i)r+=(r?" && ":"")+checkDataType(s,t,n,true);return r}}var r=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){if(Array.isArray(t)){var n=[];for(var i=0;i=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return n[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);s="data"+(t-r||"");if(!i)return s}var l=s;var d=i.split("/");for(var p=0;p{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,n){for(var r=0;r{"use strict";var r=n(40038);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:r.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:r.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:e=>{"use strict";e.exports=function generate__limit(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d;var p="data"+(s||"");var h=e.opts.$data&&a&&a.$data,m;if(h){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+i}else{m=a}var g=t=="maximum",y=g?"exclusiveMaximum":"exclusiveMinimum",_=e.schema[y],b=e.opts.$data&&_&&_.$data,x=g?"<":">",k=g?">":"<",d=undefined;if(!(h||typeof a=="number"||a===undefined)){throw new Error(t+" must be number")}if(!(b||_===undefined||typeof _=="number"||typeof _=="boolean")){throw new Error(y+" must be number or boolean")}if(b){var E=e.util.getData(_.$data,s,e.dataPathArr),w="exclusive"+i,S="exclType"+i,C="exclIsNumber"+i,M="op"+i,I="' + "+M+" + '";r+=" var schemaExcl"+i+" = "+E+"; ";E="schemaExcl"+i;r+=" var "+w+"; var "+S+" = typeof "+E+"; if ("+S+" != 'boolean' && "+S+" != 'undefined' && "+S+" != 'number') { ";var d=y;var P=P||[];P.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(d||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: '"+y+" should be boolean' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}r+=" } "}else{r+=" {} "}var T=r;r=P.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+T+"]); "}else{r+=" validate.errors = ["+T+"]; return false; "}}else{r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } else if ( ";if(h){r+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}r+=" "+S+" == 'number' ? ( ("+w+" = "+m+" === undefined || "+E+" "+x+"= "+m+") ? "+p+" "+k+"= "+E+" : "+p+" "+k+" "+m+" ) : ( ("+w+" = "+E+" === true) ? "+p+" "+k+"= "+m+" : "+p+" "+k+" "+m+" ) || "+p+" !== "+p+") { var op"+i+" = "+w+" ? '"+x+"' : '"+x+"='; ";if(a===undefined){d=y;u=e.errSchemaPath+"/"+y;m=E;h=b}}else{var C=typeof _=="number",I=x;if(C&&h){var M="'"+I+"'";r+=" if ( ";if(h){r+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}r+=" ( "+m+" === undefined || "+_+" "+x+"= "+m+" ? "+p+" "+k+"= "+_+" : "+p+" "+k+" "+m+" ) || "+p+" !== "+p+") { "}else{if(C&&a===undefined){w=true;d=y;u=e.errSchemaPath+"/"+y;m=_;k+="="}else{if(C)m=Math[g?"min":"max"](_,a);if(_===(C?m:true)){w=true;d=y;u=e.errSchemaPath+"/"+y;k+="="}else{w=false;I+="="}}var M="'"+I+"'";r+=" if ( ";if(h){r+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}r+=" "+p+" "+k+" "+m+" || "+p+" !== "+p+") { "}}d=d||t;var P=P||[];P.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(d||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+M+", limit: "+m+", exclusive: "+w+" } ";if(e.opts.messages!==false){r+=" , message: 'should be "+I+" ";if(h){r+="' + "+m}else{r+=""+m+"'"}}if(e.opts.verbose){r+=" , schema: ";if(h){r+="validate.schema"+c}else{r+=""+a}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}r+=" } "}else{r+=" {} "}var T=r;r=P.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+T+"]); "}else{r+=" validate.errors = ["+T+"]; return false; "}}else{r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";if(l){r+=" else { "}return r}},6958:e=>{"use strict";e.exports=function generate__limitItems(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d;var p="data"+(s||"");var h=e.opts.$data&&a&&a.$data,m;if(h){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+i}else{m=a}if(!(h||typeof a=="number")){throw new Error(t+" must be number")}var g=t=="maxItems"?">":"<";r+="if ( ";if(h){r+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}r+=" "+p+".length "+g+" "+m+") { ";var d=t;var y=y||[];y.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(d||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+m+" } ";if(e.opts.messages!==false){r+=" , message: 'should NOT have ";if(t=="maxItems"){r+="more"}else{r+="fewer"}r+=" than ";if(h){r+="' + "+m+" + '"}else{r+=""+a}r+=" items' "}if(e.opts.verbose){r+=" , schema: ";if(h){r+="validate.schema"+c}else{r+=""+a}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}r+=" } "}else{r+=" {} "}var _=r;r=y.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+_+"]); "}else{r+=" validate.errors = ["+_+"]; return false; "}}else{r+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},41363:e=>{"use strict";e.exports=function generate__limitLength(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d;var p="data"+(s||"");var h=e.opts.$data&&a&&a.$data,m;if(h){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+i}else{m=a}if(!(h||typeof a=="number")){throw new Error(t+" must be number")}var g=t=="maxLength"?">":"<";r+="if ( ";if(h){r+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}if(e.opts.unicode===false){r+=" "+p+".length "}else{r+=" ucs2length("+p+") "}r+=" "+g+" "+m+") { ";var d=t;var y=y||[];y.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+m+" } ";if(e.opts.messages!==false){r+=" , message: 'should NOT be ";if(t=="maxLength"){r+="longer"}else{r+="shorter"}r+=" than ";if(h){r+="' + "+m+" + '"}else{r+=""+a}r+=" characters' "}if(e.opts.verbose){r+=" , schema: ";if(h){r+="validate.schema"+c}else{r+=""+a}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}r+=" } "}else{r+=" {} "}var _=r;r=y.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+_+"]); "}else{r+=" validate.errors = ["+_+"]; return false; "}}else{r+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},25569:e=>{"use strict";e.exports=function generate__limitProperties(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d;var p="data"+(s||"");var h=e.opts.$data&&a&&a.$data,m;if(h){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+i}else{m=a}if(!(h||typeof a=="number")){throw new Error(t+" must be number")}var g=t=="maxProperties"?">":"<";r+="if ( ";if(h){r+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}r+=" Object.keys("+p+").length "+g+" "+m+") { ";var d=t;var y=y||[];y.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(d||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+m+" } ";if(e.opts.messages!==false){r+=" , message: 'should NOT have ";if(t=="maxProperties"){r+="more"}else{r+="fewer"}r+=" than ";if(h){r+="' + "+m+" + '"}else{r+=""+a}r+=" properties' "}if(e.opts.verbose){r+=" , schema: ";if(h){r+="validate.schema"+c}else{r+=""+a}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}r+=" } "}else{r+=" {} "}var _=r;r=y.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+_+"]); "}else{r+=" validate.errors = ["+_+"]; return false; "}}else{r+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},30081:e=>{"use strict";e.exports=function generate_allOf(e,t,n){var r=" ";var i=e.schema[t];var s=e.schemaPath+e.util.getProperty(t);var a=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var u=e.util.copy(e);var l="";u.level++;var d="valid"+u.level;var p=u.baseId,h=true;var m=i;if(m){var g,y=-1,_=m.length-1;while(y<_){g=m[y+=1];if(e.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===false:e.util.schemaHasRules(g,e.RULES.all)){h=false;u.schema=g;u.schemaPath=s+"["+y+"]";u.errSchemaPath=a+"/"+y;r+=" "+e.validate(u)+" ";u.baseId=p;if(c){r+=" if ("+d+") { ";l+="}"}}}}if(c){if(h){r+=" if (true) { "}else{r+=" "+l.slice(0,-1)+" "}}return r}},70019:e=>{"use strict";e.exports=function generate_anyOf(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h="errs__"+i;var m=e.util.copy(e);var g="";m.level++;var y="valid"+m.level;var _=a.every((function(t){return e.opts.strictKeywords?typeof t=="object"&&Object.keys(t).length>0||t===false:e.util.schemaHasRules(t,e.RULES.all)}));if(_){var b=m.baseId;r+=" var "+h+" = errors; var "+p+" = false; ";var x=e.compositeRule;e.compositeRule=m.compositeRule=true;var k=a;if(k){var E,w=-1,S=k.length-1;while(w{"use strict";e.exports=function generate_comment(e,t,n){var r=" ";var i=e.schema[t];var s=e.errSchemaPath+"/"+t;var a=!e.opts.allErrors;var c=e.util.toQuotedString(i);if(e.opts.$comment===true){r+=" console.log("+c+");"}else if(typeof e.opts.$comment=="function"){r+=" self._opts.$comment("+c+", "+e.util.toQuotedString(s)+", validate.root.schema);"}return r}},23404:e=>{"use strict";e.exports=function generate_const(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h=e.opts.$data&&a&&a.$data,m;if(h){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+i}else{m=a}if(!h){r+=" var schema"+i+" = validate.schema"+c+";"}r+="var "+p+" = equal("+d+", schema"+i+"); if (!"+p+") { ";var g=g||[];g.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+i+" } ";if(e.opts.messages!==false){r+=" , message: 'should be equal to constant' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var y=r;r=g.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+y+"]); "}else{r+=" validate.errors = ["+y+"]; return false; "}}else{r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" }";if(l){r+=" else { "}return r}},33224:e=>{"use strict";e.exports=function generate_contains(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h="errs__"+i;var m=e.util.copy(e);var g="";m.level++;var y="valid"+m.level;var _="i"+i,b=m.dataLevel=e.dataLevel+1,x="data"+b,k=e.baseId,E=e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all);r+="var "+h+" = errors;var "+p+";";if(E){var w=e.compositeRule;e.compositeRule=m.compositeRule=true;m.schema=a;m.schemaPath=c;m.errSchemaPath=u;r+=" var "+y+" = false; for (var "+_+" = 0; "+_+" < "+d+".length; "+_+"++) { ";m.errorPath=e.util.getPathExpr(e.errorPath,_,e.opts.jsonPointers,true);var S=d+"["+_+"]";m.dataPathArr[b]=_;var C=e.validate(m);m.baseId=k;if(e.util.varOccurences(C,x)<2){r+=" "+e.util.varReplace(C,x,S)+" "}else{r+=" var "+x+" = "+S+"; "+C+" "}r+=" if ("+y+") break; } ";e.compositeRule=m.compositeRule=w;r+=" "+g+" if (!"+y+") {"}else{r+=" if ("+d+".length == 0) {"}var M=M||[];M.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: 'should contain a valid item' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var I=r;r=M.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+I+"]); "}else{r+=" validate.errors = ["+I+"]; return false; "}}else{r+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } else { ";if(E){r+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } "}if(e.opts.allErrors){r+=" } "}return r}},99819:e=>{"use strict";e.exports=function generate_custom(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d;var p="data"+(s||"");var h="valid"+i;var m="errs__"+i;var g=e.opts.$data&&a&&a.$data,y;if(g){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";y="schema"+i}else{y=a}var _=this,b="definition"+i,x=_.definition,k="";var E,w,S,C,M;if(g&&x.$data){M="keywordValidate"+i;var I=x.validateSchema;r+=" var "+b+" = RULES.custom['"+t+"'].definition; var "+M+" = "+b+".validate;"}else{C=e.useCustomRule(_,a,e.schema,e);if(!C)return;y="validate.schema"+c;M=C.code;E=x.compile;w=x.inline;S=x.macro}var P=M+".errors",T="i"+i,O="ruleErr"+i,R=x.async;if(R&&!e.async)throw new Error("async keyword in sync schema");if(!(w||S)){r+=""+P+" = null;"}r+="var "+m+" = errors;var "+h+";";if(g&&x.$data){k+="}";r+=" if ("+y+" === undefined) { "+h+" = true; } else { ";if(I){k+="}";r+=" "+h+" = "+b+".validateSchema("+y+"); if ("+h+") { "}}if(w){if(x.statements){r+=" "+C.validate+" "}else{r+=" "+h+" = "+C.validate+"; "}}else if(S){var N=e.util.copy(e);var k="";N.level++;var L="valid"+N.level;N.schema=C.validate;N.schemaPath="";var $=e.compositeRule;e.compositeRule=N.compositeRule=true;var j=e.validate(N).replace(/validate\.schema/g,M);e.compositeRule=N.compositeRule=$;r+=" "+j}else{var z=z||[];z.push(r);r="";r+=" "+M+".call( ";if(e.opts.passContext){r+="this"}else{r+="self"}if(E||x.schema===false){r+=" , "+p+" "}else{r+=" , "+y+" , "+p+" , validate.schema"+e.schemaPath+" "}r+=" , (dataPath || '')";if(e.errorPath!='""'){r+=" + "+e.errorPath}var U=s?"data"+(s-1||""):"parentData",q=s?e.dataPathArr[s]:"parentDataProperty";r+=" , "+U+" , "+q+" , rootData ) ";var G=r;r=z.pop();if(x.errors===false){r+=" "+h+" = ";if(R){r+="await "}r+=""+G+"; "}else{if(R){P="customErrors"+i;r+=" var "+P+" = null; try { "+h+" = await "+G+"; } catch (e) { "+h+" = false; if (e instanceof ValidationError) "+P+" = e.errors; else throw e; } "}else{r+=" "+P+" = null; "+h+" = "+G+"; "}}}if(x.modifying){r+=" if ("+U+") "+p+" = "+U+"["+q+"];"}r+=""+k;if(x.valid){if(l){r+=" if (true) { "}}else{r+=" if ( ";if(x.valid===undefined){r+=" !";if(S){r+=""+L}else{r+=""+h}}else{r+=" "+!x.valid+" "}r+=") { ";d=_.keyword;var z=z||[];z.push(r);r="";var z=z||[];z.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+_.keyword+"' } ";if(e.opts.messages!==false){r+=" , message: 'should pass \""+_.keyword+"\" keyword validation' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}r+=" } "}else{r+=" {} "}var H=r;r=z.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+H+"]); "}else{r+=" validate.errors = ["+H+"]; return false; "}}else{r+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var W=r;r=z.pop();if(w){if(x.errors){if(x.errors!="full"){r+=" for (var "+T+"="+m+"; "+T+"{"use strict";e.exports=function generate_dependencies(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="errs__"+i;var h=e.util.copy(e);var m="";h.level++;var g="valid"+h.level;var y={},_={},b=e.opts.ownProperties;for(w in a){if(w=="__proto__")continue;var x=a[w];var k=Array.isArray(x)?_:y;k[w]=x}r+="var "+p+" = errors;";var E=e.errorPath;r+="var missing"+i+";";for(var w in _){k=_[w];if(k.length){r+=" if ( "+d+e.util.getProperty(w)+" !== undefined ";if(b){r+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(w)+"') "}if(l){r+=" && ( ";var S=k;if(S){var C,M=-1,I=S.length-1;while(M0||x===false:e.util.schemaHasRules(x,e.RULES.all)){r+=" "+g+" = true; if ( "+d+e.util.getProperty(w)+" !== undefined ";if(b){r+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(w)+"') "}r+=") { ";h.schema=x;h.schemaPath=c+e.util.getProperty(w);h.errSchemaPath=u+"/"+e.util.escapeFragment(w);r+=" "+e.validate(h)+" ";h.baseId=U;r+=" } ";if(l){r+=" if ("+g+") { ";m+="}"}}}if(l){r+=" "+m+" if ("+p+" == errors) {"}return r}},20489:e=>{"use strict";e.exports=function generate_enum(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h=e.opts.$data&&a&&a.$data,m;if(h){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+i}else{m=a}var g="i"+i,y="schema"+i;if(!h){r+=" var "+y+" = validate.schema"+c+";"}r+="var "+p+";";if(h){r+=" if (schema"+i+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+i+")) "+p+" = false; else {"}r+=""+p+" = false;for (var "+g+"=0; "+g+"<"+y+".length; "+g+"++) if (equal("+d+", "+y+"["+g+"])) { "+p+" = true; break; }";if(h){r+=" } "}r+=" if (!"+p+") { ";var _=_||[];_.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+i+" } ";if(e.opts.messages!==false){r+=" , message: 'should be equal to one of the allowed values' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var b=r;r=_.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+b+"]); "}else{r+=" validate.errors = ["+b+"]; return false; "}}else{r+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" }";if(l){r+=" else { "}return r}},69090:e=>{"use strict";e.exports=function generate_format(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");if(e.opts.format===false){if(l){r+=" if (true) { "}return r}var p=e.opts.$data&&a&&a.$data,h;if(p){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";h="schema"+i}else{h=a}var m=e.opts.unknownFormats,g=Array.isArray(m);if(p){var y="format"+i,_="isObject"+i,b="formatType"+i;r+=" var "+y+" = formats["+h+"]; var "+_+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+b+" = "+_+" && "+y+".type || 'string'; if ("+_+") { ";if(e.async){r+=" var async"+i+" = "+y+".async; "}r+=" "+y+" = "+y+".validate; } if ( ";if(p){r+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "}r+=" (";if(m!="ignore"){r+=" ("+h+" && !"+y+" ";if(g){r+=" && self._opts.unknownFormats.indexOf("+h+") == -1 "}r+=") || "}r+=" ("+y+" && "+b+" == '"+n+"' && !(typeof "+y+" == 'function' ? ";if(e.async){r+=" (async"+i+" ? await "+y+"("+d+") : "+y+"("+d+")) "}else{r+=" "+y+"("+d+") "}r+=" : "+y+".test("+d+"))))) {"}else{var y=e.formats[a];if(!y){if(m=="ignore"){e.logger.warn('unknown format "'+a+'" ignored in schema at path "'+e.errSchemaPath+'"');if(l){r+=" if (true) { "}return r}else if(g&&m.indexOf(a)>=0){if(l){r+=" if (true) { "}return r}else{throw new Error('unknown format "'+a+'" is used in schema at path "'+e.errSchemaPath+'"')}}var _=typeof y=="object"&&!(y instanceof RegExp)&&y.validate;var b=_&&y.type||"string";if(_){var x=y.async===true;y=y.validate}if(b!=n){if(l){r+=" if (true) { "}return r}if(x){if(!e.async)throw new Error("async format in sync schema");var k="formats"+e.util.getProperty(a)+".validate";r+=" if (!(await "+k+"("+d+"))) { "}else{r+=" if (! ";var k="formats"+e.util.getProperty(a);if(_)k+=".validate";if(typeof y=="function"){r+=" "+k+"("+d+") "}else{r+=" "+k+".test("+d+") "}r+=") { "}}var E=E||[];E.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ";if(p){r+=""+h}else{r+=""+e.util.toQuotedString(a)}r+=" } ";if(e.opts.messages!==false){r+=" , message: 'should match format \"";if(p){r+="' + "+h+" + '"}else{r+=""+e.util.escapeQuotes(a)}r+="\"' "}if(e.opts.verbose){r+=" , schema: ";if(p){r+="validate.schema"+c}else{r+=""+e.util.toQuotedString(a)}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var w=r;r=E.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+w+"]); "}else{r+=" validate.errors = ["+w+"]; return false; "}}else{r+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";if(l){r+=" else { "}return r}},1636:e=>{"use strict";e.exports=function generate_if(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h="errs__"+i;var m=e.util.copy(e);m.level++;var g="valid"+m.level;var y=e.schema["then"],_=e.schema["else"],b=y!==undefined&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===false:e.util.schemaHasRules(y,e.RULES.all)),x=_!==undefined&&(e.opts.strictKeywords?typeof _=="object"&&Object.keys(_).length>0||_===false:e.util.schemaHasRules(_,e.RULES.all)),k=m.baseId;if(b||x){var E;m.createErrors=false;m.schema=a;m.schemaPath=c;m.errSchemaPath=u;r+=" var "+h+" = errors; var "+p+" = true; ";var w=e.compositeRule;e.compositeRule=m.compositeRule=true;r+=" "+e.validate(m)+" ";m.baseId=k;m.createErrors=true;r+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ";e.compositeRule=m.compositeRule=w;if(b){r+=" if ("+g+") { ";m.schema=e.schema["then"];m.schemaPath=e.schemaPath+".then";m.errSchemaPath=e.errSchemaPath+"/then";r+=" "+e.validate(m)+" ";m.baseId=k;r+=" "+p+" = "+g+"; ";if(b&&x){E="ifClause"+i;r+=" var "+E+" = 'then'; "}else{E="'then'"}r+=" } ";if(x){r+=" else { "}}else{r+=" if (!"+g+") { "}if(x){m.schema=e.schema["else"];m.schemaPath=e.schemaPath+".else";m.errSchemaPath=e.errSchemaPath+"/else";r+=" "+e.validate(m)+" ";m.baseId=k;r+=" "+p+" = "+g+"; ";if(b&&x){E="ifClause"+i;r+=" var "+E+" = 'else'; "}else{E="'else'"}r+=" } "}r+=" if (!"+p+") { var err = ";if(e.createErrors!==false){r+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+E+" } ";if(e.opts.messages!==false){r+=" , message: 'should match \"' + "+E+" + '\" schema' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(vErrors); "}else{r+=" validate.errors = vErrors; return false; "}}r+=" } ";if(l){r+=" else { "}}else{if(l){r+=" if (true) { "}}return r}},71001:(e,t,n)=>{"use strict";e.exports={$ref:n(41944),allOf:n(30081),anyOf:n(70019),$comment:n(79878),const:n(23404),contains:n(33224),dependencies:n(19493),enum:n(20489),format:n(69090),if:n(1636),items:n(6060),maximum:n(70507),minimum:n(70507),maxItems:n(6958),minItems:n(6958),maxLength:n(41363),minLength:n(41363),maxProperties:n(25569),minProperties:n(25569),multipleOf:n(54841),not:n(74881),oneOf:n(77675),pattern:n(98676),properties:n(99306),propertyNames:n(28014),required:n(16372),uniqueItems:n(37270),validate:n(85061)}},6060:e=>{"use strict";e.exports=function generate_items(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h="errs__"+i;var m=e.util.copy(e);var g="";m.level++;var y="valid"+m.level;var _="i"+i,b=m.dataLevel=e.dataLevel+1,x="data"+b,k=e.baseId;r+="var "+h+" = errors;var "+p+";";if(Array.isArray(a)){var E=e.schema.additionalItems;if(E===false){r+=" "+p+" = "+d+".length <= "+a.length+"; ";var w=u;u=e.errSchemaPath+"/additionalItems";r+=" if (!"+p+") { ";var S=S||[];S.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+a.length+" } ";if(e.opts.messages!==false){r+=" , message: 'should NOT have more than "+a.length+" items' "}if(e.opts.verbose){r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var C=r;r=S.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+C+"]); "}else{r+=" validate.errors = ["+C+"]; return false; "}}else{r+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";u=w;if(l){g+="}";r+=" else { "}}var M=a;if(M){var I,P=-1,T=M.length-1;while(P0||I===false:e.util.schemaHasRules(I,e.RULES.all)){r+=" "+y+" = true; if ("+d+".length > "+P+") { ";var O=d+"["+P+"]";m.schema=I;m.schemaPath=c+"["+P+"]";m.errSchemaPath=u+"/"+P;m.errorPath=e.util.getPathExpr(e.errorPath,P,e.opts.jsonPointers,true);m.dataPathArr[b]=P;var R=e.validate(m);m.baseId=k;if(e.util.varOccurences(R,x)<2){r+=" "+e.util.varReplace(R,x,O)+" "}else{r+=" var "+x+" = "+O+"; "+R+" "}r+=" } ";if(l){r+=" if ("+y+") { ";g+="}"}}}}if(typeof E=="object"&&(e.opts.strictKeywords?typeof E=="object"&&Object.keys(E).length>0||E===false:e.util.schemaHasRules(E,e.RULES.all))){m.schema=E;m.schemaPath=e.schemaPath+".additionalItems";m.errSchemaPath=e.errSchemaPath+"/additionalItems";r+=" "+y+" = true; if ("+d+".length > "+a.length+") { for (var "+_+" = "+a.length+"; "+_+" < "+d+".length; "+_+"++) { ";m.errorPath=e.util.getPathExpr(e.errorPath,_,e.opts.jsonPointers,true);var O=d+"["+_+"]";m.dataPathArr[b]=_;var R=e.validate(m);m.baseId=k;if(e.util.varOccurences(R,x)<2){r+=" "+e.util.varReplace(R,x,O)+" "}else{r+=" var "+x+" = "+O+"; "+R+" "}if(l){r+=" if (!"+y+") break; "}r+=" } } ";if(l){r+=" if ("+y+") { ";g+="}"}}}else if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){m.schema=a;m.schemaPath=c;m.errSchemaPath=u;r+=" for (var "+_+" = "+0+"; "+_+" < "+d+".length; "+_+"++) { ";m.errorPath=e.util.getPathExpr(e.errorPath,_,e.opts.jsonPointers,true);var O=d+"["+_+"]";m.dataPathArr[b]=_;var R=e.validate(m);m.baseId=k;if(e.util.varOccurences(R,x)<2){r+=" "+e.util.varReplace(R,x,O)+" "}else{r+=" var "+x+" = "+O+"; "+R+" "}if(l){r+=" if (!"+y+") break; "}r+=" }"}if(l){r+=" "+g+" if ("+h+" == errors) {"}return r}},54841:e=>{"use strict";e.exports=function generate_multipleOf(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p=e.opts.$data&&a&&a.$data,h;if(p){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";h="schema"+i}else{h=a}if(!(p||typeof a=="number")){throw new Error(t+" must be number")}r+="var division"+i+";if (";if(p){r+=" "+h+" !== undefined && ( typeof "+h+" != 'number' || "}r+=" (division"+i+" = "+d+" / "+h+", ";if(e.opts.multipleOfPrecision){r+=" Math.abs(Math.round(division"+i+") - division"+i+") > 1e-"+e.opts.multipleOfPrecision+" "}else{r+=" division"+i+" !== parseInt(division"+i+") "}r+=" ) ";if(p){r+=" ) "}r+=" ) { ";var m=m||[];m.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+h+" } ";if(e.opts.messages!==false){r+=" , message: 'should be multiple of ";if(p){r+="' + "+h}else{r+=""+h+"'"}}if(e.opts.verbose){r+=" , schema: ";if(p){r+="validate.schema"+c}else{r+=""+a}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var g=r;r=m.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+g+"]); "}else{r+=" validate.errors = ["+g+"]; return false; "}}else{r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},74881:e=>{"use strict";e.exports=function generate_not(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="errs__"+i;var h=e.util.copy(e);h.level++;var m="valid"+h.level;if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){h.schema=a;h.schemaPath=c;h.errSchemaPath=u;r+=" var "+p+" = errors; ";var g=e.compositeRule;e.compositeRule=h.compositeRule=true;h.createErrors=false;var y;if(h.opts.allErrors){y=h.opts.allErrors;h.opts.allErrors=false}r+=" "+e.validate(h)+" ";h.createErrors=true;if(y)h.opts.allErrors=y;e.compositeRule=h.compositeRule=g;r+=" if ("+m+") { ";var _=_||[];_.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: 'should NOT be valid' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var b=r;r=_.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+b+"]); "}else{r+=" validate.errors = ["+b+"]; return false; "}}else{r+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";if(e.opts.allErrors){r+=" } "}}else{r+=" var err = ";if(e.createErrors!==false){r+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: 'should NOT be valid' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(l){r+=" if (false) { "}}return r}},77675:e=>{"use strict";e.exports=function generate_oneOf(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h="errs__"+i;var m=e.util.copy(e);var g="";m.level++;var y="valid"+m.level;var _=m.baseId,b="prevValid"+i,x="passingSchemas"+i;r+="var "+h+" = errors , "+b+" = false , "+p+" = false , "+x+" = null; ";var k=e.compositeRule;e.compositeRule=m.compositeRule=true;var E=a;if(E){var w,S=-1,C=E.length-1;while(S0||w===false:e.util.schemaHasRules(w,e.RULES.all)){m.schema=w;m.schemaPath=c+"["+S+"]";m.errSchemaPath=u+"/"+S;r+=" "+e.validate(m)+" ";m.baseId=_}else{r+=" var "+y+" = true; "}if(S){r+=" if ("+y+" && "+b+") { "+p+" = false; "+x+" = ["+x+", "+S+"]; } else { ";g+="}"}r+=" if ("+y+") { "+p+" = "+b+" = true; "+x+" = "+S+"; }"}}e.compositeRule=m.compositeRule=k;r+=""+g+"if (!"+p+") { var err = ";if(e.createErrors!==false){r+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+x+" } ";if(e.opts.messages!==false){r+=" , message: 'should match exactly one schema in oneOf' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(vErrors); "}else{r+=" validate.errors = vErrors; return false; "}}r+="} else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }";if(e.opts.allErrors){r+=" } "}return r}},98676:e=>{"use strict";e.exports=function generate_pattern(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p=e.opts.$data&&a&&a.$data,h;if(p){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";h="schema"+i}else{h=a}var m=p?"(new RegExp("+h+"))":e.usePattern(a);r+="if ( ";if(p){r+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "}r+=" !"+m+".test("+d+") ) { ";var g=g||[];g.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ";if(p){r+=""+h}else{r+=""+e.util.toQuotedString(a)}r+=" } ";if(e.opts.messages!==false){r+=" , message: 'should match pattern \"";if(p){r+="' + "+h+" + '"}else{r+=""+e.util.escapeQuotes(a)}r+="\"' "}if(e.opts.verbose){r+=" , schema: ";if(p){r+="validate.schema"+c}else{r+=""+e.util.toQuotedString(a)}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var y=r;r=g.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+y+"]); "}else{r+=" validate.errors = ["+y+"]; return false; "}}else{r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},99306:e=>{"use strict";e.exports=function generate_properties(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="errs__"+i;var h=e.util.copy(e);var m="";h.level++;var g="valid"+h.level;var y="key"+i,_="idx"+i,b=h.dataLevel=e.dataLevel+1,x="data"+b,k="dataProperties"+i;var E=Object.keys(a||{}).filter(notProto),w=e.schema.patternProperties||{},S=Object.keys(w).filter(notProto),C=e.schema.additionalProperties,M=E.length||S.length,I=C===false,P=typeof C=="object"&&Object.keys(C).length,T=e.opts.removeAdditional,O=I||P||T,R=e.opts.ownProperties,N=e.baseId;var L=e.schema.required;if(L&&!(e.opts.$data&&L.$data)&&L.length8){r+=" || validate.schema"+c+".hasOwnProperty("+y+") "}else{var j=E;if(j){var z,U=-1,q=j.length-1;while(U0||ae===false:e.util.schemaHasRules(ae,e.RULES.all)){var ue=e.util.getProperty(z),te=d+ue,le=re&&ae.default!==undefined;h.schema=ae;h.schemaPath=c+ue;h.errSchemaPath=u+"/"+e.util.escapeFragment(z);h.errorPath=e.util.getPath(e.errorPath,z,e.opts.jsonPointers);h.dataPathArr[b]=e.util.toQuotedString(z);var ne=e.validate(h);h.baseId=N;if(e.util.varOccurences(ne,x)<2){ne=e.util.varReplace(ne,x,te);var de=te}else{var de=x;r+=" var "+x+" = "+te+"; "}if(le){r+=" "+ne+" "}else{if($&&$[z]){r+=" if ( "+de+" === undefined ";if(R){r+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(z)+"') "}r+=") { "+g+" = false; ";var K=e.errorPath,J=u,pe=e.util.escapeQuotes(z);if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(K,z,e.opts.jsonPointers)}u=e.errSchemaPath+"/required";var Y=Y||[];Y.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+pe+"' } ";if(e.opts.messages!==false){r+=" , message: '";if(e.opts._errorDataPathProperty){r+="is a required property"}else{r+="should have required property \\'"+pe+"\\'"}r+="' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var Z=r;r=Y.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+Z+"]); "}else{r+=" validate.errors = ["+Z+"]; return false; "}}else{r+=" var err = "+Z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}u=J;e.errorPath=K;r+=" } else { "}else{if(l){r+=" if ( "+de+" === undefined ";if(R){r+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(z)+"') "}r+=") { "+g+" = true; } else { "}else{r+=" if ("+de+" !== undefined ";if(R){r+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(z)+"') "}r+=" ) { "}}r+=" "+ne+" } "}}if(l){r+=" if ("+g+") { ";m+="}"}}}}if(S.length){var fe=S;if(fe){var H,he=-1,me=fe.length-1;while(he0||ae===false:e.util.schemaHasRules(ae,e.RULES.all)){h.schema=ae;h.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(H);h.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(H);if(R){r+=" "+k+" = "+k+" || Object.keys("+d+"); for (var "+_+"=0; "+_+"<"+k+".length; "+_+"++) { var "+y+" = "+k+"["+_+"]; "}else{r+=" for (var "+y+" in "+d+") { "}r+=" if ("+e.usePattern(H)+".test("+y+")) { ";h.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var te=d+"["+y+"]";h.dataPathArr[b]=y;var ne=e.validate(h);h.baseId=N;if(e.util.varOccurences(ne,x)<2){r+=" "+e.util.varReplace(ne,x,te)+" "}else{r+=" var "+x+" = "+te+"; "+ne+" "}if(l){r+=" if (!"+g+") break; "}r+=" } ";if(l){r+=" else "+g+" = true; "}r+=" } ";if(l){r+=" if ("+g+") { ";m+="}"}}}}}if(l){r+=" "+m+" if ("+p+" == errors) {"}return r}},28014:e=>{"use strict";e.exports=function generate_propertyNames(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="errs__"+i;var h=e.util.copy(e);var m="";h.level++;var g="valid"+h.level;r+="var "+p+" = errors;";if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){h.schema=a;h.schemaPath=c;h.errSchemaPath=u;var y="key"+i,_="idx"+i,b="i"+i,x="' + "+y+" + '",k=h.dataLevel=e.dataLevel+1,E="data"+k,w="dataProperties"+i,S=e.opts.ownProperties,C=e.baseId;if(S){r+=" var "+w+" = undefined; "}if(S){r+=" "+w+" = "+w+" || Object.keys("+d+"); for (var "+_+"=0; "+_+"<"+w+".length; "+_+"++) { var "+y+" = "+w+"["+_+"]; "}else{r+=" for (var "+y+" in "+d+") { "}r+=" var startErrs"+i+" = errors; ";var M=y;var I=e.compositeRule;e.compositeRule=h.compositeRule=true;var P=e.validate(h);h.baseId=C;if(e.util.varOccurences(P,E)<2){r+=" "+e.util.varReplace(P,E,M)+" "}else{r+=" var "+E+" = "+M+"; "+P+" "}e.compositeRule=h.compositeRule=I;r+=" if (!"+g+") { for (var "+b+"=startErrs"+i+"; "+b+"{"use strict";e.exports=function generate_ref(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.errSchemaPath+"/"+t;var u=!e.opts.allErrors;var l="data"+(s||"");var d="valid"+i;var p,h;if(a=="#"||a=="#/"){if(e.isRoot){p=e.async;h="validate"}else{p=e.root.schema.$async===true;h="root.refVal[0]"}}else{var m=e.resolveRef(e.baseId,a,e.isRoot);if(m===undefined){var g=e.MissingRefError.message(e.baseId,a);if(e.opts.missingRefs=="fail"){e.logger.error(g);var y=y||[];y.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { ref: '"+e.util.escapeQuotes(a)+"' } ";if(e.opts.messages!==false){r+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(a)+"' "}if(e.opts.verbose){r+=" , schema: "+e.util.toQuotedString(a)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}r+=" } "}else{r+=" {} "}var _=r;r=y.pop();if(!e.compositeRule&&u){if(e.async){r+=" throw new ValidationError(["+_+"]); "}else{r+=" validate.errors = ["+_+"]; return false; "}}else{r+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(u){r+=" if (false) { "}}else if(e.opts.missingRefs=="ignore"){e.logger.warn(g);if(u){r+=" if (true) { "}}else{throw new e.MissingRefError(e.baseId,a,g)}}else if(m.inline){var b=e.util.copy(e);b.level++;var x="valid"+b.level;b.schema=m.schema;b.schemaPath="";b.errSchemaPath=a;var k=e.validate(b).replace(/validate\.schema/g,m.code);r+=" "+k+" ";if(u){r+=" if ("+x+") { "}}else{p=m.$async===true||e.async&&m.$async!==false;h=m.code}}if(h){var y=y||[];y.push(r);r="";if(e.opts.passContext){r+=" "+h+".call(this, "}else{r+=" "+h+"( "}r+=" "+l+", (dataPath || '')";if(e.errorPath!='""'){r+=" + "+e.errorPath}var E=s?"data"+(s-1||""):"parentData",w=s?e.dataPathArr[s]:"parentDataProperty";r+=" , "+E+" , "+w+", rootData) ";var S=r;r=y.pop();if(p){if(!e.async)throw new Error("async schema referenced by sync schema");if(u){r+=" var "+d+"; "}r+=" try { await "+S+"; ";if(u){r+=" "+d+" = true; "}r+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(u){r+=" "+d+" = false; "}r+=" } ";if(u){r+=" if ("+d+") { "}}else{r+=" if (!"+S+") { if (vErrors === null) vErrors = "+h+".errors; else vErrors = vErrors.concat("+h+".errors); errors = vErrors.length; } ";if(u){r+=" else { "}}}return r}},16372:e=>{"use strict";e.exports=function generate_required(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h=e.opts.$data&&a&&a.$data,m;if(h){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+i}else{m=a}var g="schema"+i;if(!h){if(a.length0||E===false:e.util.schemaHasRules(E,e.RULES.all)))){y[y.length]=b}}}}else{var y=a}}if(h||y.length){var w=e.errorPath,S=h||y.length>=e.opts.loopRequired,C=e.opts.ownProperties;if(l){r+=" var missing"+i+"; ";if(S){if(!h){r+=" var "+g+" = validate.schema"+c+"; "}var M="i"+i,I="schema"+i+"["+M+"]",P="' + "+I+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(w,I,e.opts.jsonPointers)}r+=" var "+p+" = true; ";if(h){r+=" if (schema"+i+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+i+")) "+p+" = false; else {"}r+=" for (var "+M+" = 0; "+M+" < "+g+".length; "+M+"++) { "+p+" = "+d+"["+g+"["+M+"]] !== undefined ";if(C){r+=" && Object.prototype.hasOwnProperty.call("+d+", "+g+"["+M+"]) "}r+="; if (!"+p+") break; } ";if(h){r+=" } "}r+=" if (!"+p+") { ";var T=T||[];T.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+P+"' } ";if(e.opts.messages!==false){r+=" , message: '";if(e.opts._errorDataPathProperty){r+="is a required property"}else{r+="should have required property \\'"+P+"\\'"}r+="' "}if(e.opts.verbose){r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var O=r;r=T.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+O+"]); "}else{r+=" validate.errors = ["+O+"]; return false; "}}else{r+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } else { "}else{r+=" if ( ";var R=y;if(R){var N,M=-1,L=R.length-1;while(M{"use strict";e.exports=function generate_uniqueItems(e,t,n){var r=" ";var i=e.level;var s=e.dataLevel;var a=e.schema[t];var c=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var d="data"+(s||"");var p="valid"+i;var h=e.opts.$data&&a&&a.$data,m;if(h){r+=" var schema"+i+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+i}else{m=a}if((a||h)&&e.opts.uniqueItems!==false){if(h){r+=" var "+p+"; if ("+m+" === false || "+m+" === undefined) "+p+" = true; else if (typeof "+m+" != 'boolean') "+p+" = false; else { "}r+=" var i = "+d+".length , "+p+" = true , j; if (i > 1) { ";var g=e.schema.items&&e.schema.items.type,y=Array.isArray(g);if(!g||g=="object"||g=="array"||y&&(g.indexOf("object")>=0||g.indexOf("array")>=0)){r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+p+" = false; break outer; } } } "}else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ";var _="checkDataType"+(y?"s":"");r+=" if ("+e.util[_](g,"item",e.opts.strictNumbers,true)+") continue; ";if(y){r+=" if (typeof item == 'string') item = '\"' + item; "}r+=" if (typeof itemIndices[item] == 'number') { "+p+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ";if(h){r+=" } "}r+=" if (!"+p+") { ";var b=b||[];b.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ";if(e.opts.messages!==false){r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(e.opts.verbose){r+=" , schema: ";if(h){r+="validate.schema"+c}else{r+=""+a}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}r+=" } "}else{r+=" {} "}var x=r;r=b.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+x+"]); "}else{r+=" validate.errors = ["+x+"]; return false; "}}else{r+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";if(l){r+=" else { "}}else{if(l){r+=" if (true) { "}}return r}},85061:e=>{"use strict";e.exports=function generate_validate(e,t,n){var r="";var i=e.schema.$async===true,s=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),a=e.self._getId(e.schema);if(e.opts.strictKeywords){var c=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(c){var u="unknown keyword: "+c;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop){r+=" var validate = ";if(i){e.async=true;r+="async "}r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(a&&(e.opts.sourceCode||e.opts.processCode)){r+=" "+("/*# sourceURL="+a+" */")+" "}}if(typeof e.schema=="boolean"||!(s||e.schema.$ref)){var t="false schema";var l=e.level;var d=e.dataLevel;var p=e.schema[t];var h=e.schemaPath+e.util.getProperty(t);var m=e.errSchemaPath+"/"+t;var g=!e.opts.allErrors;var y;var _="data"+(d||"");var b="valid"+l;if(e.schema===false){if(e.isTop){g=true}else{r+=" var "+b+" = false; "}var x=x||[];x.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(y||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: 'boolean schema is false' "}if(e.opts.verbose){r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+_+" "}r+=" } "}else{r+=" {} "}var k=r;r=x.pop();if(!e.compositeRule&&g){if(e.async){r+=" throw new ValidationError(["+k+"]); "}else{r+=" validate.errors = ["+k+"]; return false; "}}else{r+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(e.isTop){if(i){r+=" return data; "}else{r+=" validate.errors = null; return true; "}}else{r+=" var "+b+" = true; "}}if(e.isTop){r+=" }; return validate; "}return r}if(e.isTop){var E=e.isTop,l=e.level=0,d=e.dataLevel=0,_="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema));e.baseId=e.baseId||e.rootId;delete e.isTop;e.dataPathArr=[""];if(e.schema.default!==undefined&&e.opts.useDefaults&&e.opts.strictDefaults){var w="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}r+=" var vErrors = null; ";r+=" var errors = 0; ";r+=" if (rootData === undefined) rootData = data; "}else{var l=e.level,d=e.dataLevel,_="data"+(d||"");if(a)e.baseId=e.resolve.url(e.baseId,a);if(i&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+l+" = errors;"}var b="valid"+l,g=!e.opts.allErrors,S="",C="";var y;var M=e.schema.type,I=Array.isArray(M);if(M&&e.opts.nullable&&e.schema.nullable===true){if(I){if(M.indexOf("null")==-1)M=M.concat("null")}else if(M!="null"){M=[M,"null"];I=true}}if(I&&M.length==1){M=M[0];I=false}if(e.schema.$ref&&s){if(e.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)')}else if(e.opts.extendRefs!==true){s=false;e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"')}}if(e.schema.$comment&&e.opts.$comment){r+=" "+e.RULES.all.$comment.code(e,"$comment")}if(M){if(e.opts.coerceTypes){var P=e.util.coerceToTypes(e.opts.coerceTypes,M)}var T=e.RULES.types[M];if(P||I||T===true||T&&!$shouldUseGroup(T)){var h=e.schemaPath+".type",m=e.errSchemaPath+"/type";var h=e.schemaPath+".type",m=e.errSchemaPath+"/type",O=I?"checkDataTypes":"checkDataType";r+=" if ("+e.util[O](M,_,e.opts.strictNumbers,true)+") { ";if(P){var R="dataType"+l,N="coerced"+l;r+=" var "+R+" = typeof "+_+"; var "+N+" = undefined; ";if(e.opts.coerceTypes=="array"){r+=" if ("+R+" == 'object' && Array.isArray("+_+") && "+_+".length == 1) { "+_+" = "+_+"[0]; "+R+" = typeof "+_+"; if ("+e.util.checkDataType(e.schema.type,_,e.opts.strictNumbers)+") "+N+" = "+_+"; } "}r+=" if ("+N+" !== undefined) ; ";var L=P;if(L){var $,j=-1,z=L.length-1;while(j{"use strict";var r=/^[a-z_$][a-z0-9_$-]*$/i;var i=n(99819);var s=n(86205);e.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(e,t){var n=this.RULES;if(n.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!r.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,true);var s=t.type;if(Array.isArray(s)){for(var a=0;a{"use strict";e=n.nmd(e);const wrapAnsi16=(e,t)=>(...n)=>{const r=e(...n);return`[${r+t}m`};const wrapAnsi256=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};const ansi2ansi=e=>e;const rgb2rgb=(e,t,n)=>[e,t,n];const setLazyProperty=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true});return r},enumerable:true,configurable:true})};let r;const makeDynamicStyles=(e,t,i,s)=>{if(r===undefined){r=n(76843)}const a=s?10:0;const c={};for(const[n,s]of Object.entries(r)){const r=n==="ansi16"?"ansi":n;if(n===t){c[r]=e(i,a)}else if(typeof s==="object"){c[r]=e(s[t],a)}}return c};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright;t.bgColor.bgGray=t.bgColor.bgBlackBright;t.color.grey=t.color.blackBright;t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[n,r]of Object.entries(t)){for(const[n,i]of Object.entries(r)){t[n]={open:`[${i[0]}m`,close:`[${i[1]}m`};r[n]=t[n];e.set(i[0],i[1])}Object.defineProperty(t,n,{value:r,enumerable:false})}Object.defineProperty(t,"codes",{value:e,enumerable:false});t.color.close="";t.bgColor.close="";setLazyProperty(t.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(t.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(t.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(t.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},33775:(e,t,n)=>{const r=n(24253);const i={};for(const e of Object.keys(r)){i[r[e]]=e}const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=s;for(const e of Object.keys(s)){if(!("channels"in s[e])){throw new Error("missing channels property: "+e)}if(!("labels"in s[e])){throw new Error("missing channel labels property: "+e)}if(s[e].labels.length!==s[e].channels){throw new Error("channel and label counts mismatch: "+e)}const{channels:t,labels:n}=s[e];delete s[e].channels;delete s[e].labels;Object.defineProperty(s[e],"channels",{value:t});Object.defineProperty(s[e],"labels",{value:n})}s.rgb.hsl=function(e){const t=e[0]/255;const n=e[1]/255;const r=e[2]/255;const i=Math.min(t,n,r);const s=Math.max(t,n,r);const a=s-i;let c;let u;if(s===i){c=0}else if(t===s){c=(n-r)/a}else if(n===s){c=2+(r-t)/a}else if(r===s){c=4+(t-n)/a}c=Math.min(c*60,360);if(c<0){c+=360}const l=(i+s)/2;if(s===i){u=0}else if(l<=.5){u=a/(s+i)}else{u=a/(2-s-i)}return[c,u*100,l*100]};s.rgb.hsv=function(e){let t;let n;let r;let i;let s;const a=e[0]/255;const c=e[1]/255;const u=e[2]/255;const l=Math.max(a,c,u);const d=l-Math.min(a,c,u);const diffc=function(e){return(l-e)/6/d+1/2};if(d===0){i=0;s=0}else{s=d/l;t=diffc(a);n=diffc(c);r=diffc(u);if(a===l){i=r-n}else if(c===l){i=1/3+t-r}else if(u===l){i=2/3+n-t}if(i<0){i+=1}else if(i>1){i-=1}}return[i*360,s*100,l*100]};s.rgb.hwb=function(e){const t=e[0];const n=e[1];let r=e[2];const i=s.rgb.hsl(e)[0];const a=1/255*Math.min(t,Math.min(n,r));r=1-1/255*Math.max(t,Math.max(n,r));return[i,a*100,r*100]};s.rgb.cmyk=function(e){const t=e[0]/255;const n=e[1]/255;const r=e[2]/255;const i=Math.min(1-t,1-n,1-r);const s=(1-t-i)/(1-i)||0;const a=(1-n-i)/(1-i)||0;const c=(1-r-i)/(1-i)||0;return[s*100,a*100,c*100,i*100]};function comparativeDistance(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}s.rgb.keyword=function(e){const t=i[e];if(t){return t}let n=Infinity;let s;for(const t of Object.keys(r)){const i=r[t];const a=comparativeDistance(e,i);if(a.04045?((t+.055)/1.055)**2.4:t/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const i=t*.4124+n*.3576+r*.1805;const s=t*.2126+n*.7152+r*.0722;const a=t*.0193+n*.1192+r*.9505;return[i*100,s*100,a*100]};s.rgb.lab=function(e){const t=s.rgb.xyz(e);let n=t[0];let r=t[1];let i=t[2];n/=95.047;r/=100;i/=108.883;n=n>.008856?n**(1/3):7.787*n+16/116;r=r>.008856?r**(1/3):7.787*r+16/116;i=i>.008856?i**(1/3):7.787*i+16/116;const a=116*r-16;const c=500*(n-r);const u=200*(r-i);return[a,c,u]};s.hsl.rgb=function(e){const t=e[0]/360;const n=e[1]/100;const r=e[2]/100;let i;let s;let a;if(n===0){a=r*255;return[a,a,a]}if(r<.5){i=r*(1+n)}else{i=r+n-r*n}const c=2*r-i;const u=[0,0,0];for(let e=0;e<3;e++){s=t+1/3*-(e-1);if(s<0){s++}if(s>1){s--}if(6*s<1){a=c+(i-c)*6*s}else if(2*s<1){a=i}else if(3*s<2){a=c+(i-c)*(2/3-s)*6}else{a=c}u[e]=a*255}return u};s.hsl.hsv=function(e){const t=e[0];let n=e[1]/100;let r=e[2]/100;let i=n;const s=Math.max(r,.01);r*=2;n*=r<=1?r:2-r;i*=s<=1?s:2-s;const a=(r+n)/2;const c=r===0?2*i/(s+i):2*n/(r+n);return[t,c*100,a*100]};s.hsv.rgb=function(e){const t=e[0]/60;const n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6;const s=t-Math.floor(t);const a=255*r*(1-n);const c=255*r*(1-n*s);const u=255*r*(1-n*(1-s));r*=255;switch(i){case 0:return[r,u,a];case 1:return[c,r,a];case 2:return[a,r,u];case 3:return[a,c,r];case 4:return[u,a,r];case 5:return[r,a,c]}};s.hsv.hsl=function(e){const t=e[0];const n=e[1]/100;const r=e[2]/100;const i=Math.max(r,.01);let s;let a;a=(2-n)*r;const c=(2-n)*i;s=n*i;s/=c<=1?c:2-c;s=s||0;a/=2;return[t,s*100,a*100]};s.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100;let r=e[2]/100;const i=n+r;let s;if(i>1){n/=i;r/=i}const a=Math.floor(6*t);const c=1-r;s=6*t-a;if((a&1)!==0){s=1-s}const u=n+s*(c-n);let l;let d;let p;switch(a){default:case 6:case 0:l=c;d=u;p=n;break;case 1:l=u;d=c;p=n;break;case 2:l=n;d=c;p=u;break;case 3:l=n;d=u;p=c;break;case 4:l=u;d=n;p=c;break;case 5:l=c;d=n;p=u;break}return[l*255,d*255,p*255]};s.cmyk.rgb=function(e){const t=e[0]/100;const n=e[1]/100;const r=e[2]/100;const i=e[3]/100;const s=1-Math.min(1,t*(1-i)+i);const a=1-Math.min(1,n*(1-i)+i);const c=1-Math.min(1,r*(1-i)+i);return[s*255,a*255,c*255]};s.xyz.rgb=function(e){const t=e[0]/100;const n=e[1]/100;const r=e[2]/100;let i;let s;let a;i=t*3.2406+n*-1.5372+r*-.4986;s=t*-.9689+n*1.8758+r*.0415;a=t*.0557+n*-.204+r*1.057;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92;a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92;i=Math.min(Math.max(0,i),1);s=Math.min(Math.max(0,s),1);a=Math.min(Math.max(0,a),1);return[i*255,s*255,a*255]};s.xyz.lab=function(e){let t=e[0];let n=e[1];let r=e[2];t/=95.047;n/=100;r/=108.883;t=t>.008856?t**(1/3):7.787*t+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;r=r>.008856?r**(1/3):7.787*r+16/116;const i=116*n-16;const s=500*(t-n);const a=200*(n-r);return[i,s,a]};s.lab.xyz=function(e){const t=e[0];const n=e[1];const r=e[2];let i;let s;let a;s=(t+16)/116;i=n/500+s;a=s-r/200;const c=s**3;const u=i**3;const l=a**3;s=c>.008856?c:(s-16/116)/7.787;i=u>.008856?u:(i-16/116)/7.787;a=l>.008856?l:(a-16/116)/7.787;i*=95.047;s*=100;a*=108.883;return[i,s,a]};s.lab.lch=function(e){const t=e[0];const n=e[1];const r=e[2];let i;const s=Math.atan2(r,n);i=s*360/2/Math.PI;if(i<0){i+=360}const a=Math.sqrt(n*n+r*r);return[t,a,i]};s.lch.lab=function(e){const t=e[0];const n=e[1];const r=e[2];const i=r/360*2*Math.PI;const s=n*Math.cos(i);const a=n*Math.sin(i);return[t,s,a]};s.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let a=t===null?s.rgb.hsv(e)[2]:t;a=Math.round(a/50);if(a===0){return 30}let c=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));if(a===2){c+=60}return c};s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])};s.rgb.ansi256=function(e){const t=e[0];const n=e[1];const r=e[2];if(t===n&&n===r){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}const i=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);return i};s.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}const n=(~~(e>50)+1)*.5;const r=(t&1)*n*255;const i=(t>>1&1)*n*255;const s=(t>>2&1)*n*255;return[r,i,s]};s.ansi256.rgb=function(e){if(e>=232){const t=(e-232)*10+8;return[t,t,t]}e-=16;let t;const n=Math.floor(e/36)/5*255;const r=Math.floor((t=e%36)/6)/5*255;const i=t%6/5*255;return[n,r,i]};s.rgb.hex=function(e){const t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);const n=t.toString(16).toUpperCase();return"000000".substring(n.length)+n};s.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}let n=t[0];if(t[0].length===3){n=n.split("").map((e=>e+e)).join("")}const r=parseInt(n,16);const i=r>>16&255;const s=r>>8&255;const a=r&255;return[i,s,a]};s.rgb.hcg=function(e){const t=e[0]/255;const n=e[1]/255;const r=e[2]/255;const i=Math.max(Math.max(t,n),r);const s=Math.min(Math.min(t,n),r);const a=i-s;let c;let u;if(a<1){c=s/(1-a)}else{c=0}if(a<=0){u=0}else if(i===t){u=(n-r)/a%6}else if(i===n){u=2+(r-t)/a}else{u=4+(t-n)/a}u/=6;u%=1;return[u*360,a*100,c*100]};s.hsl.hcg=function(e){const t=e[1]/100;const n=e[2]/100;const r=n<.5?2*t*n:2*t*(1-n);let i=0;if(r<1){i=(n-.5*r)/(1-r)}return[e[0],r*100,i*100]};s.hsv.hcg=function(e){const t=e[1]/100;const n=e[2]/100;const r=t*n;let i=0;if(r<1){i=(n-r)/(1-r)}return[e[0],r*100,i*100]};s.hcg.rgb=function(e){const t=e[0]/360;const n=e[1]/100;const r=e[2]/100;if(n===0){return[r*255,r*255,r*255]}const i=[0,0,0];const s=t%1*6;const a=s%1;const c=1-a;let u=0;switch(Math.floor(s)){case 0:i[0]=1;i[1]=a;i[2]=0;break;case 1:i[0]=c;i[1]=1;i[2]=0;break;case 2:i[0]=0;i[1]=1;i[2]=a;break;case 3:i[0]=0;i[1]=c;i[2]=1;break;case 4:i[0]=a;i[1]=0;i[2]=1;break;default:i[0]=1;i[1]=0;i[2]=c}u=(1-n)*r;return[(n*i[0]+u)*255,(n*i[1]+u)*255,(n*i[2]+u)*255]};s.hcg.hsv=function(e){const t=e[1]/100;const n=e[2]/100;const r=t+n*(1-t);let i=0;if(r>0){i=t/r}return[e[0],i*100,r*100]};s.hcg.hsl=function(e){const t=e[1]/100;const n=e[2]/100;const r=n*(1-t)+.5*t;let i=0;if(r>0&&r<.5){i=t/(2*r)}else if(r>=.5&&r<1){i=t/(2*(1-r))}return[e[0],i*100,r*100]};s.hcg.hwb=function(e){const t=e[1]/100;const n=e[2]/100;const r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};s.hwb.hcg=function(e){const t=e[1]/100;const n=e[2]/100;const r=1-n;const i=r-t;let s=0;if(i<1){s=(r-i)/(1-i)}return[e[0],i*100,s*100]};s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};s.gray.hsl=function(e){return[0,0,e[0]]};s.gray.hsv=s.gray.hsl;s.gray.hwb=function(e){return[0,100,e[0]]};s.gray.cmyk=function(e){return[0,0,0,e[0]]};s.gray.lab=function(e){return[e[0],0,0]};s.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255;const n=(t<<16)+(t<<8)+t;const r=n.toString(16).toUpperCase();return"000000".substring(r.length)+r};s.rgb.gray=function(e){const t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},76843:(e,t,n)=>{const r=n(33775);const i=n(2581);const s={};const a=Object.keys(r);function wrapRaw(e){const wrappedFn=function(...t){const n=t[0];if(n===undefined||n===null){return n}if(n.length>1){t=n}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){const wrappedFn=function(...t){const n=t[0];if(n===undefined||n===null){return n}if(n.length>1){t=n}const r=e(t);if(typeof r==="object"){for(let e=r.length,t=0;t{s[e]={};Object.defineProperty(s[e],"channels",{value:r[e].channels});Object.defineProperty(s[e],"labels",{value:r[e].labels});const t=i(e);const n=Object.keys(t);n.forEach((n=>{const r=t[n];s[e][n]=wrapRounded(r);s[e][n].raw=wrapRaw(r)}))}));e.exports=s},2581:(e,t,n)=>{const r=n(33775);function buildGraph(){const e={};const t=Object.keys(r);for(let n=t.length,r=0;r{function BrowserslistError(e){this.name="BrowserslistError";this.message=e;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;e.exports=BrowserslistError},69328:(e,t,n)=>{var r=n(83835);var i=n(92406).D;var s=n(85659);var a=n(85622);var c=n(46233);var u=n(72464);var l=n(81886);var d=365.259641*24*60*60*1e3;var p=37;var h=1;var m=2;function isVersionsMatch(e,t){return(e+".").indexOf(t+".")===0}function isEolReleased(e){var t=e.slice(1);return r.some((function(e){return isVersionsMatch(e.version,t)}))}function normalize(e){return e.filter((function(e){return typeof e==="string"}))}function normalizeElectron(e){var t=e;if(e.split(".").length===3){t=e.split(".").slice(0,-1).join(".")}return t}function nameMapper(e){return function mapName(t){return e+" "+t}}function getMajor(e){return parseInt(e.split(".")[0])}function getMajorVersions(e,t){if(e.length===0)return[];var n=uniq(e.map(getMajor));var r=n[n.length-t];if(!r){return e}var i=[];for(var s=e.length-1;s>=0;s--){if(r>getMajor(e[s]))break;i.unshift(e[s])}return i}function uniq(e){var t=[];for(var n=0;n"){return function(e){return parseFloat(e)>t}}else if(e===">="){return function(e){return parseFloat(e)>=t}}else if(e==="<"){return function(e){return parseFloat(e)"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,t)>0}}else if(e===">="){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,t)>=0}}else if(e==="<"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(t,e)>0}}else{return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(t,e)>=0}}}function parseSimpleInt(e){return parseInt(e)}function compare(e,t){if(et)return+1;return 0}function compareSemver(e,t){return compare(parseInt(e[0]),parseInt(t[0]))||compare(parseInt(e[1]||"0"),parseInt(t[1]||"0"))||compare(parseInt(e[2]||"0"),parseInt(t[2]||"0"))}function semverFilterLoose(e,t){t=t.split(".").map(parseSimpleInt);if(typeof t[1]==="undefined"){t[1]="x"}switch(e){case"<=":return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,t)<=0};default:case">=":return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,t)>=0}}}function compareSemverLoose(e,t){if(e[0]!==t[0]){return e[0]=e}));return n.concat(s.map(nameMapper(i.name)))}),[])}function cloneData(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function mapVersions(e,t){e.versions=e.versions.map((function(e){return t[e]||e}));e.released=e.versions.map((function(e){return t[e]||e}));var n={};for(var r in e.releaseDate){n[t[r]||r]=e.releaseDate[r]}e.releaseDate=n;return e}function byName(e,t){e=e.toLowerCase();e=browserslist.aliases[e]||e;if(t.mobileToDesktop&&browserslist.desktopNames[e]){var n=browserslist.data[browserslist.desktopNames[e]];if(e==="android"){return normalizeAndroidData(cloneData(browserslist.data[e]),n)}else{var r=cloneData(n);r.name=e;if(e==="op_mob"){r=mapVersions(r,{"10.0-10.1":"10"})}return r}}return browserslist.data[e]}function normalizeAndroidVersions(e,t){var n=p;var r=t[t.length-1];return e.filter((function(e){return/^(?:[2-4]\.|[34]$)/.test(e)})).concat(t.slice(n-r-1))}function normalizeAndroidData(e,t){e.released=normalizeAndroidVersions(e.released,t.released);e.versions=normalizeAndroidVersions(e.versions,t.versions);return e}function checkName(e,t){var n=byName(e,t);if(!n)throw new u("Unknown browser "+e);return n}function unknownQuery(e){return new u("Unknown browser query `"+e+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(e,t,n){if(n.mobileToDesktop)return e;var r=browserslist.data.android.released;var i=r[r.length-1];var s=i-p-t;if(s>0){return e.slice(-1)}else{return e.slice(s-1)}}function resolve(e,t){if(Array.isArray(e)){e=flatten(e.map(parse))}else{e=parse(e)}return e.reduce((function(e,n,r){var i=n.queryString;var s=i.indexOf("not ")===0;if(s){if(r===0){throw new u("Write any browsers query (for instance, `defaults`) "+"before `"+i+"`")}i=i.slice(4)}for(var a=0;a 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=l.clearCaches;browserslist.parseConfig=l.parseConfig;browserslist.readConfig=l.readConfig;browserslist.findConfig=l.findConfig;browserslist.loadConfig=l.loadConfig;browserslist.coverage=function(e,t){var n;if(typeof t==="undefined"){n=browserslist.usage.global}else if(t==="my stats"){var r={};r.path=a.resolve?a.resolve("."):".";var i=l.getStat(r);if(!i){throw new u("Custom usage statistics was not provided")}n={};for(var s in i){fillUsage(n,s,i[s])}}else if(typeof t==="string"){if(t.length>2){t=t.toLowerCase()}else{t=t.toUpperCase()}l.loadCountry(browserslist.usage,t,browserslist.data);n=browserslist.usage[t]}else{if("dataByBrowser"in t){t=t.dataByBrowser}n={};for(var c in t){for(var d in t[c]){n[c+" "+d]=t[c][d]}}}return e.reduce((function(e,t){var r=n[t];if(r===undefined){r=n[t.replace(/ \S+$/," 0")]}return e+(r||0)}),0)};var y=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,t){return Object.keys(i).reduce((function(n,r){var i=byName(r,e);if(!i)return n;var s=getMajorVersions(i.released,t);s=s.map(nameMapper(i.name));if(i.name==="android"){s=filterAndroid(s,t,e)}return n.concat(s)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,t){return Object.keys(i).reduce((function(n,r){var i=byName(r,e);if(!i)return n;var s=i.released.slice(-t);s=s.map(nameMapper(i.name));if(i.name==="android"){s=filterAndroid(s,t,e)}return n.concat(s)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,t){var n=getMajorVersions(Object.keys(c),t);return n.map((function(e){return"chrome "+c[e]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(e,t,n){var r=checkName(n,e);var i=getMajorVersions(r.released,t);var s=i.map(nameMapper(r.name));if(r.name==="android"){s=filterAndroid(s,t,e)}return s}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,t){return Object.keys(c).slice(-t).map((function(e){return"chrome "+c[e]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(e,t,n){var r=checkName(n,e);var i=r.released.slice(-t).map(nameMapper(r.name));if(r.name==="android"){i=filterAndroid(i,t,e)}return i}},{regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(i).reduce((function(t,n){var r=byName(n,e);if(!r)return t;var i=r.versions.filter((function(e){return r.released.indexOf(e)===-1}));i=i.map(nameMapper(r.name));return t.concat(i)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(e,t){var n=checkName(t,e);return n.versions.filter((function(e){return n.released.indexOf(e)===-1})).map(nameMapper(n.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,t){return filterByYear(Date.now()-d*t,e)}},{regexp:/^since (\d+)(?:-(\d+))?(?:-(\d+))?$/i,select:function(e,t,n,r){t=parseInt(t);n=parseInt(n||"01")-1;r=parseInt(r||"01");return filterByYear(Date.UTC(t,n,r,0,0,0),e)}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%$/,select:function(e,t,n){n=parseFloat(n);var r=browserslist.usage.global;return Object.keys(r).reduce((function(e,i){if(t===">"){if(r[i]>n){e.push(i)}}else if(t==="<"){if(r[i]=n){e.push(i)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+my\s+stats$/,select:function(e,t,n){n=parseFloat(n);if(!e.customUsage){throw new u("Custom usage statistics was not provided")}var r=e.customUsage;return Object.keys(r).reduce((function(e,i){if(t===">"){if(r[i]>n){e.push(i)}}else if(t==="<"){if(r[i]=n){e.push(i)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+(\S+)\s+stats$/,select:function(e,t,n,r){n=parseFloat(n);var i=l.loadStat(e,r,browserslist.data);if(i){e.customUsage={};for(var s in i){fillUsage(e.customUsage,s,i[s])}}if(!e.customUsage){throw new u("Custom usage statistics was not provided")}var a=e.customUsage;return Object.keys(a).reduce((function(e,r){if(t===">"){if(a[r]>n){e.push(r)}}else if(t==="<"){if(a[r]=n){e.push(r)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(e,t,n,r){n=parseFloat(n);if(r.length===2){r=r.toUpperCase()}else{r=r.toLowerCase()}l.loadCountry(browserslist.usage,r,browserslist.data);var i=browserslist.usage[r];return Object.keys(i).reduce((function(e,r){if(t===">"){if(i[r]>n){e.push(r)}}else if(t==="<"){if(i[r]=n){e.push(r)}return e}),[])}},{regexp:/^cover\s+(\d*\.?\d+)%(\s+in\s+(my\s+stats|(alt-)?\w\w))?$/,select:function(e,t,n){t=parseFloat(t);var r=browserslist.usage.global;if(n){if(n.match(/^\s+in\s+my\s+stats$/)){if(!e.customUsage){throw new u("Custom usage statistics was not provided")}r=e.customUsage}else{var i=n.match(/\s+in\s+((alt-)?\w\w)/);var s=i[1];if(s.length===2){s=s.toUpperCase()}else{s=s.toLowerCase()}l.loadCountry(browserslist.usage,s,browserslist.data);r=browserslist.usage[s]}}var a=Object.keys(r).sort((function(e,t){return r[t]-r[e]}));var c=0;var d=[];var p;for(var h=0;h<=a.length;h++){p=a[h];if(r[p]===0)break;c+=r[p];d.push(p);if(c>=t)break}return d}},{regexp:/^supports\s+([\w-]+)$/,select:function(e,t){l.loadFeature(browserslist.cache,t);var n=browserslist.cache[t];return Object.keys(n).reduce((function(e,t){var r=n[t];if(r.indexOf("y")>=0||r.indexOf("a")>=0){e.push(t)}return e}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t,n){var r=normalizeElectron(t);var i=normalizeElectron(n);if(!c[r]){throw new u("Unknown version "+t+" of electron")}if(!c[i]){throw new u("Unknown version "+n+" of electron")}t=parseFloat(t);n=parseFloat(n);return Object.keys(c).filter((function(e){var r=parseFloat(e);return r>=t&&r<=n})).map((function(e){return"chrome "+c[e]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t,n){var i=r.filter((function(e){return e.name==="nodejs"})).map((function(e){return e.version}));var s=/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){0,2}$/;if(!s.test(t)){throw new u("Unknown version "+t+" of Node.js")}if(!s.test(n)){throw new u("Unknown version "+n+" of Node.js")}return i.filter(semverFilterLoose(">=",t)).filter(semverFilterLoose("<=",n)).map((function(e){return"node "+e}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t,n,r){var i=checkName(t,e);n=parseFloat(normalizeVersion(i,n)||n);r=parseFloat(normalizeVersion(i,r)||r);function filter(e){var t=parseFloat(e);return t>=n&&t<=r}return i.released.filter(filter).map(nameMapper(i.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t,n){var r=normalizeElectron(n);return Object.keys(c).filter(generateFilter(t,r)).map((function(e){return"chrome "+c[e]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t,n){var i=r.filter((function(e){return e.name==="nodejs"})).map((function(e){return e.version}));return i.filter(generateSemverFilter(t,n)).map((function(e){return"node "+e}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(e,t,n,r){var i=checkName(t,e);var s=browserslist.versionAliases[i.name][r];if(s){r=s}return i.released.filter(generateFilter(n,r)).map((function(e){return i.name+" "+e}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(e,t){var n=normalizeElectron(t);var r=c[n];if(!r){throw new u("Unknown version "+t+" of electron")}return["chrome "+r]}},{regexp:/^node\s+(\d+(\.\d+)?(\.\d+)?)$/i,select:function(e,t){var n=r.filter((function(e){return e.name==="nodejs"}));var i=n.filter((function(e){return isVersionsMatch(e.version,t)}));if(i.length===0){if(e.ignoreUnknownVersions){return[]}else{throw new u("Unknown version "+t+" of Node.js")}}return["node "+i[i.length-1].version]}},{regexp:/^current\s+node$/i,select:function(e){return[l.currentNode(resolve,e)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(e){var t=Date.now();var n=Object.keys(s).filter((function(e){return tDate.parse(s[e].start)&&isEolReleased(e)})).map((function(e){return"node "+e.slice(1)}));return resolve(n,e)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(e,t,n){if(/^tp$/i.test(n))n="TP";var r=checkName(t,e);var i=normalizeVersion(r,n);if(i){n=i}else{if(n.indexOf(".")===-1){i=n+".0"}else{i=n.replace(/\.0$/,"")}i=normalizeVersion(r,i);if(i){n=i}else if(e.ignoreUnknownVersions){return[]}else{throw new u("Unknown version "+n+" of "+t)}}return[r.name+" "+n]}},{regexp:/^browserslist config$/i,select:function(e){return browserslist(undefined,e)}},{regexp:/^extends (.+)$/i,select:function(e,t){return resolve(l.loadQueries(e,t),e)}},{regexp:/^defaults$/i,select:function(e){return resolve(browserslist.defaults,e)}},{regexp:/^dead$/i,select:function(e){var t=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(t,e)}},{regexp:/^(\w+)$/i,select:function(e,t){if(byName(t,e)){throw new u("Specify versions in Browserslist query for browser "+t)}else{throw unknownQuery(t)}}}];(function(){for(var e in i){var t=i[e];browserslist.data[e]={name:e,versions:normalize(i[e].versions),released:normalize(i[e].versions.slice(0,-3)),releaseDate:i[e].release_date};fillUsage(browserslist.usage.global,e,t.usage_global);browserslist.versionAliases[e]={};for(var n=0;n{var r=n(30048).Z;var i=n(24356).Z;var s=n(85622);var a=n(35747);var c=n(72464);var u=/^\s*\[(.+)]\s*$/;var l=/^browserslist-config-/;var d=/@[^/]+\/browserslist-config(-|$|\/)/;var p=6*30*24*60*60*1e3;var h="Browserslist config should be a string or an array "+"of strings with browser queries";var m=false;var g={};var y={};function checkExtend(e){var t=" Use `dangerousExtend` option to disable.";if(!l.test(e)&&!d.test(e)){throw new c("Browserslist config needs `browserslist-config-` prefix. "+t)}if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new c("`.` not allowed in Browserslist config name. "+t)}if(e.indexOf("node_modules")!==-1){throw new c("`node_modules` not allowed in Browserslist config."+t)}}function isFile(e){if(e in g){return g[e]}var t=a.existsSync(e)&&a.statSync(e).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){g[e]=t}return t}function eachParent(e,t){var n=isFile(e)?s.dirname(e):e;var r=s.resolve(n);do{var i=t(r);if(typeof i!=="undefined")return i}while(r!==(r=s.dirname(r)));return undefined}function check(e){if(Array.isArray(e)){for(var t=0;t{e.exports={A:{A:{I:.00608274,D:.00621152,F:.024331,E:.103407,A:.024331,B:.985405,oB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","I","D","F","E","A","B","","",""],E:"IE",F:{oB:962323200,I:998870400,D:1161129600,F:1237420800,E:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008534,O:.004267,H:.008534,Q:.008534,J:.008534,K:.034136,L:.157879,a:0,JB:.004267,MB:.00944,R:.00415,S:.008534,T:.017068,M:.025602,V:.089607,W:3.25145,N:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","O","H","Q","J","K","L","a","JB","MB","R","S","T","M","V","W","N","","",""],E:"Edge",F:{C:1438128e3,O:1447286400,H:1470096e3,Q:1491868800,J:1508198400,K:1525046400,L:1542067200,a:1579046400,JB:1581033600,MB:1586736e3,R:1590019200,S:1594857600,T:1598486400,M:1602201600,V:1605830400,W:161136e4,N:1614816e3},D:{C:"ms",O:"ms",H:"ms",Q:"ms",J:"ms",K:"ms",L:"ms"}},C:{A:{0:.038403,1:.004267,2:.004267,3:.004525,4:.004267,5:.012801,6:.004538,7:.004267,8:.008534,9:.081073,nB:.008534,YB:.004538,G:.012801,b:.004879,I:.020136,D:.005725,F:.004525,E:.00533,A:.004283,B:.004267,C:.004471,O:.004486,H:.00453,Q:.008534,J:.004417,K:.004425,L:.008534,c:.004443,d:.004283,e:.008534,f:.013698,g:.008534,h:.008786,i:.012801,j:.004317,k:.004393,l:.004418,m:.008834,n:.008534,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.00472,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.0083,CB:.004425,DB:.017068,EB:.004425,FB:.008534,dB:.004267,HB:.008534,TB:.00472,P:.004425,KB:.012801,LB:.00415,X:.004267,NB:.008534,OB:.004267,PB:.017068,QB:.00415,RB:.004267,IB:.004425,GB:.012801,Z:.00415,UB:.00415,VB:.00415,WB:.004267,XB:.008534,SB:.153612,a:.012801,JB:.017068,MB:.021335,mB:.029869,R:.025602,S:.157879,T:2.35112,M:.264554,V:.004267,W:0,vB:.008786,yB:.00487},B:"moz",C:["nB","YB","vB","yB","G","b","I","D","F","E","A","B","C","O","H","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","dB","HB","TB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","UB","VB","WB","XB","SB","a","JB","MB","mB","R","S","T","M","V","W",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,nB:1161648e3,YB:1213660800,vB:124632e4,yB:1264032e3,G:1300752e3,b:1308614400,I:1313452800,D:1317081600,F:1317081600,E:1320710400,A:1324339200,B:1327968e3,C:1331596800,O:1335225600,H:1338854400,Q:1342483200,J:1346112e3,K:1349740800,L:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,dB:1520985600,HB:1525824e3,TB:1529971200,P:1536105600,KB:1540252800,LB:1544486400,X:154872e4,NB:1552953600,OB:1558396800,PB:1562630400,QB:1567468800,RB:1571788800,IB:1575331200,GB:1578355200,Z:1581379200,UB:1583798400,VB:1586304e3,WB:1588636800,XB:1591056e3,SB:1593475200,a:1595894400,JB:1598313600,MB:1600732800,mB:1603152e3,R:1605571200,S:1607990400,T:1611619200,M:1614038400,V:null,W:null}},D:{A:{0:.008534,1:.004465,2:.004642,3:.004891,4:.008534,5:.021335,6:.209083,7:.004267,8:.004267,9:.004267,G:.004706,b:.004879,I:.004879,D:.005591,F:.005591,E:.005591,A:.004534,B:.004464,C:.010424,O:.0083,H:.004706,Q:.015087,J:.004393,K:.004393,L:.008652,c:.008534,d:.004393,e:.004317,f:.008534,g:.008786,h:.021335,i:.004461,j:.004267,k:.004326,l:.0047,m:.004538,n:.008534,o:.008534,p:.004566,q:.008534,r:.008534,s:.017068,t:.004335,u:.004464,v:.029869,w:.004464,x:.012801,y:.0236,z:.004403,AB:.051204,BB:.012801,CB:.017068,DB:.059738,EB:.008534,FB:.012801,dB:.008534,HB:.012801,TB:.029869,P:.012801,KB:.025602,LB:.012801,X:.025602,NB:.021335,OB:.025602,PB:.038403,QB:.059738,RB:.04267,IB:.034136,GB:.046937,Z:.021335,UB:.081073,VB:.08534,WB:.072539,XB:.038403,SB:.064005,a:.162146,JB:.106675,MB:.106675,R:.140811,S:.183481,T:.281622,M:.413899,V:1.49345,W:22.8242,N:.034136,"0B":.025602,eB:0,fB:0},B:"webkit",C:["","","G","b","I","D","F","E","A","B","C","O","H","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","dB","HB","TB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","UB","VB","WB","XB","SB","a","JB","MB","R","S","T","M","V","W","N","0B","eB","fB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,G:1264377600,b:1274745600,I:1283385600,D:1287619200,F:1291248e3,E:1296777600,A:1299542400,B:1303862400,C:1307404800,O:1312243200,H:1316131200,Q:1316131200,J:1319500800,K:1323734400,L:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,dB:1496707200,HB:1500940800,TB:1504569600,P:1508198400,KB:1512518400,LB:1516752e3,X:1520294400,NB:1523923200,OB:1527552e3,PB:1532390400,QB:1536019200,RB:1539648e3,IB:1543968e3,GB:154872e4,Z:1552348800,UB:1555977600,VB:1559606400,WB:1564444800,XB:1568073600,SB:1571702400,a:1575936e3,JB:1580860800,MB:1586304e3,R:1589846400,S:1594684800,T:1598313600,M:1601942400,V:1605571200,W:1611014400,N:1614556800,"0B":null,eB:null,fB:null}},E:{A:{G:0,b:.008534,I:.004656,D:.004465,F:.200549,E:.004891,A:.004425,B:.008534,C:.017068,O:.123743,H:3.0125,gB:0,ZB:.008692,iB:.110942,jB:.00456,kB:.004283,lB:.021335,aB:.025602,Y:.076806,U:.119476,pB:.576045,qB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","ZB","G","b","iB","I","jB","D","kB","F","E","lB","A","aB","B","Y","C","U","O","pB","H","qB","",""],E:"Safari",F:{gB:1205798400,ZB:1226534400,G:1244419200,b:1275868800,iB:131112e4,I:1343174400,jB:13824e5,D:13824e5,kB:1410998400,F:1413417600,E:1443657600,lB:1458518400,A:1474329600,aB:1490572800,B:1505779200,Y:1522281600,C:1537142400,U:1553472e3,O:1568851200,pB:1585008e3,H:1600214400,qB:null}},F:{A:{0:.008534,1:.004227,2:.004725,3:.004267,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,E:.0082,B:.016581,C:.004317,Q:.00685,J:.00685,K:.00685,L:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008534,u:.004283,v:.004367,w:.004534,x:.004267,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,HB:.00472,P:.004532,KB:.004566,LB:.02283,X:.00867,NB:.004656,OB:.004642,PB:.004267,QB:.00944,RB:.00415,IB:.004267,GB:.136544,Z:.576045,rB:.00685,sB:.004267,tB:.008392,uB:.004706,Y:.006229,bB:.004879,wB:.008786,U:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","E","rB","sB","tB","uB","B","Y","bB","wB","C","U","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","HB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,E:1150761600,rB:1223424e3,sB:1251763200,tB:1267488e3,uB:1277942400,B:1292457600,Y:1302566400,bB:1309219200,wB:1323129600,C:1323129600,U:1352073600,Q:1372723200,J:1377561600,K:1381104e3,L:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,HB:1554768e3,P:1561593600,KB:1566259200,LB:1570406400,X:1573689600,NB:1578441600,OB:1583971200,PB:1587513600,QB:1592956800,RB:1595894400,IB:1600128e3,GB:1603238400,Z:161352e4},D:{E:"o",B:"o",C:"o",rB:"o",sB:"o",tB:"o",uB:"o",Y:"o",bB:"o",wB:"o",U:"o"}},G:{A:{F:.00147508,ZB:0,xB:0,cB:.00295016,zB:.00885049,YC:.137183,"1B":.0309767,"2B":.0221262,"3B":.0221262,"4B":.17996,"5B":.0531029,"6B":.17406,"7B":.091455,"8B":.0944052,"9B":.103256,AC:.45285,BC:.0826046,CC:.0413023,DC:.243388,EC:.942577,FC:11.5307},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ZB","xB","cB","zB","YC","1B","F","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","","",""],E:"Safari on iOS",F:{ZB:1270252800,xB:1283904e3,cB:1299628800,zB:1331078400,YC:1359331200,"1B":1394409600,F:1410912e3,"2B":1413763200,"3B":1442361600,"4B":1458518400,"5B":1473724800,"6B":1490572800,"7B":1505779200,"8B":1522281600,"9B":1537142400,AC:1553472e3,BC:1568851200,CC:1572220800,DC:1580169600,EC:1585008e3,FC:1600214400}},H:{A:{GC:1.02564},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","GC","","",""],E:"Opera Mini",F:{GC:1426464e3}},I:{A:{YB:0,G:.00459893,N:0,HC:0,IC:0,JC:0,KC:.00536542,cB:.0229947,LC:0,MC:.098877},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","HC","IC","JC","YB","G","KC","cB","LC","MC","N","","",""],E:"Android Browser",F:{HC:1256515200,IC:1274313600,JC:1291593600,YB:1298332800,G:1318896e3,KC:1341792e3,cB:1374624e3,LC:1386547200,MC:1401667200,N:1587427200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,P:.0111391,Y:0,bB:0,U:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","Y","bB","C","U","P","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,Y:1314835200,bB:1318291200,C:1330300800,U:1349740800,P:1613433600},D:{P:"webkit"}},L:{A:{N:37.0343},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","N","","",""],E:"Chrome for Android",F:{N:1615420800}},M:{A:{M:.292332},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","M","","",""],E:"Firefox for Android",F:{M:1614038400}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{NC:1.54764},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","NC","","",""],E:"UC Browser for Android",F:{NC:1471392e3},D:{NC:"webkit"}},P:{A:{G:.290036,OC:.0103543,PC:.010304,QC:.0725089,RC:.0103584,SC:.0828674,aB:.0414337,TC:.165735,UC:.186452,VC:2.6414},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","G","OC","PC","QC","RC","SC","aB","TC","UC","VC","","",""],E:"Samsung Internet",F:{G:1461024e3,OC:1481846400,PC:1509408e3,QC:1528329600,RC:1546128e3,SC:1554163200,aB:1567900800,TC:1582588800,UC:1593475200,VC:1605657600}},Q:{A:{WC:.223548},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","WC","","",""],E:"QQ Browser",F:{WC:1589846400}},R:{A:{XC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","XC","","",""],E:"Baidu Browser",F:{XC:1491004800}},S:{A:{hB:.080248},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","hB","","",""],E:"KaiOS Browser",F:{hB:1527811200}}}},5682:e=>{e.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"9",F:"8",G:"4",H:"14",I:"6",J:"16",K:"17",L:"18",M:"86",N:"89",O:"13",P:"62",Q:"15",R:"83",S:"84",T:"85",U:"12.1",V:"87",W:"88",X:"65",Y:"11.1",Z:"73",a:"79",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"72",HB:"60",IB:"71",JB:"80",KB:"63",LB:"64",MB:"81",NB:"66",OB:"67",PB:"68",QB:"69",RB:"70",SB:"78",TB:"61",UB:"74",VB:"75",WB:"76",XB:"77",YB:"3",ZB:"3.2",aB:"10.1",bB:"11.5",cB:"4.2-4.3",dB:"59",eB:"91",fB:"92",gB:"3.1",hB:"2.5",iB:"5.1",jB:"6.1",kB:"7.1",lB:"9.1",mB:"82",nB:"2",oB:"5.5",pB:"13.1",qB:"TP",rB:"9.5-9.6",sB:"10.0-10.1",tB:"10.5",uB:"10.6",vB:"3.5",wB:"11.6",xB:"4.0-4.1",yB:"3.6",zB:"5.0-5.1","0B":"90","1B":"7.0-7.1","2B":"8.1-8.4","3B":"9.0-9.2","4B":"9.3","5B":"10.0-10.2","6B":"10.3","7B":"11.0-11.2","8B":"11.3-11.4","9B":"12.0-12.1",AC:"12.2-12.4",BC:"13.0-13.1",CC:"13.2",DC:"13.3",EC:"13.4-13.7",FC:"14.0-14.5",GC:"all",HC:"2.1",IC:"2.2",JC:"2.3",KC:"4.1",LC:"4.4",MC:"4.4.3-4.4.4",NC:"12.12",OC:"5.0-5.4",PC:"6.2-6.4",QC:"7.2-7.4",RC:"8.2",SC:"9.2",TC:"11.1-11.2",UC:"12.0",VC:"13.0",WC:"10.4",XC:"7.12",YC:"6.0-6.1"}},73238:e=>{e.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(e,t,n)=>{"use strict";var r;r={value:true};t.D=undefined;var i=n(59307);var s=n(57917);var a=n(12161);function unpackBrowserVersions(e){return Object.keys(e).reduce((function(t,n){t[s.browserVersions[n]]=e[n];return t}),{})}var c=t.D=Object.keys(a).reduce((function(e,t){var n=a[t];e[i.browsers[t]]=Object.keys(n).reduce((function(e,t){if(t==="A"){e.usage_global=unpackBrowserVersions(n[t])}else if(t==="C"){e.versions=n[t].reduce((function(e,t){if(t===""){e.push(null)}else{e.push(s.browserVersions[t])}return e}),[])}else if(t==="D"){e.prefix_exceptions=unpackBrowserVersions(n[t])}else if(t==="E"){e.browser=n[t]}else if(t==="F"){e.release_date=Object.keys(n[t]).reduce((function(e,r){e[s.browserVersions[r]]=n[t][r];return e}),{})}else{e.prefix=n[t]}return e}),{});return e}),{})},57917:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=t.browserVersions=n(5682)},59307:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=t.browsers=n(73238)},30048:(e,t,n)=>{"use strict";var r;r={value:true};t.Z=unpackFeature;var i=n(54994);var s=_interopRequireDefault(i);var a=n(44909);var c=_interopRequireDefault(a);var u=n(59307);var l=n(57917);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var d=Math.log(2);function unpackSupport(e){var t=Object.keys(c.default).reduce((function(t,n){if(e&c.default[n])t.push(n);return t}),[]);var n=e>>7;var r=[];while(n){var i=Math.floor(Math.log(n)/d)+1;r.unshift("#"+i);n-=Math.pow(2,i-1)}return t.concat(r).join(" ")}function unpackFeature(e){var t={status:s.default[e.B],title:e.C};t.stats=Object.keys(e.A).reduce((function(t,n){var r=e.A[n];t[u.browsers[n]]=Object.keys(r).reduce((function(e,t){var n=r[t].split(" ");var i=unpackSupport(t);n.forEach((function(t){return e[l.browserVersions[t]]=i}));return e}),{});return t}),{});return t}},24356:(e,t,n)=>{"use strict";var r;r={value:true};t.Z=unpackRegion;var i=n(59307);function unpackRegion(e){return Object.keys(e).reduce((function(t,n){var r=e[n];t[i.browsers[n]]=Object.keys(r).reduce((function(e,t){var n=r[t];if(t==="_"){n.split(" ").forEach((function(t){return e[t]=null}))}else{e[t]=n}return e}),{});return t}),{})}},57347:(e,t,n)=>{"use strict";const r=n(11207);const{stdout:i,stderr:s}=n(96204);const{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:c}=n(88445);const{isArray:u}=Array;const l=["ansi","ansi","ansi256","ansi16m"];const d=Object.create(null);const applyOptions=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const n=i?i.level:0;e.level=t.level===undefined?n:t.level};class ChalkClass{constructor(e){return chalkFactory(e)}}const chalkFactory=e=>{const t={};applyOptions(t,e);t.template=(...e)=>chalkTag(t.template,...e);Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};t.template.Instance=ChalkClass;return t.template};function Chalk(e){return chalkFactory(e)}for(const[e,t]of Object.entries(r)){d[e]={get(){const n=createBuilder(this,createStyler(t.open,t.close,this._styler),this._isEmpty);Object.defineProperty(this,e,{value:n});return n}}}d.visible={get(){const e=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:e});return e}};const p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of p){d[e]={get(){const{level:t}=this;return function(...n){const i=createStyler(r.color[l[t]][e](...n),r.color.close,this._styler);return createBuilder(this,i,this._isEmpty)}}}}for(const e of p){const t="bg"+e[0].toUpperCase()+e.slice(1);d[t]={get(){const{level:t}=this;return function(...n){const i=createStyler(r.bgColor[l[t]][e](...n),r.bgColor.close,this._styler);return createBuilder(this,i,this._isEmpty)}}}}const h=Object.defineProperties((()=>{}),{...d,level:{enumerable:true,get(){return this._generator.level},set(e){this._generator.level=e}}});const createStyler=(e,t,n)=>{let r;let i;if(n===undefined){r=e;i=t}else{r=n.openAll+e;i=t+n.closeAll}return{open:e,close:t,openAll:r,closeAll:i,parent:n}};const createBuilder=(e,t,n)=>{const builder=(...e)=>{if(u(e[0])&&u(e[0].raw)){return applyStyle(builder,chalkTag(builder,...e))}return applyStyle(builder,e.length===1?""+e[0]:e.join(" "))};Object.setPrototypeOf(builder,h);builder._generator=e;builder._styler=t;builder._isEmpty=n;return builder};const applyStyle=(e,t)=>{if(e.level<=0||!t){return e._isEmpty?"":t}let n=e._styler;if(n===undefined){return t}const{openAll:r,closeAll:i}=n;if(t.indexOf("")!==-1){while(n!==undefined){t=a(t,n.close,n.open);n=n.parent}}const s=t.indexOf("\n");if(s!==-1){t=c(t,i,r,s)}return r+t+i};let m;const chalkTag=(e,...t)=>{const[r]=t;if(!u(r)||!u(r.raw)){return t.join(" ")}const i=t.slice(1);const s=[r.raw[0]];for(let e=1;e{"use strict";const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const i=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const s=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){const t=e[0]==="u";const n=e[1]==="{";if(t&&!n&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}if(t&&n){return String.fromCodePoint(parseInt(e.slice(2,-1),16))}return s.get(e)||e}function parseArguments(e,t){const n=[];const s=t.trim().split(/\s*,\s*/g);let a;for(const t of s){const s=Number(t);if(!Number.isNaN(s)){n.push(s)}else if(a=t.match(r)){n.push(a[2].replace(i,((e,t,n)=>t?unescape(t):n)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return n}function parseStyle(e){n.lastIndex=0;const t=[];let r;while((r=n.exec(e))!==null){const e=r[1];if(r[2]){const n=parseArguments(e,r[2]);t.push([e].concat(n))}else{t.push([e])}}return t}function buildStyle(e,t){const n={};for(const e of t){for(const t of e.styles){n[t[0]]=e.inverse?null:t.slice(1)}}let r=e;for(const[e,t]of Object.entries(n)){if(!Array.isArray(t)){continue}if(!(e in r)){throw new Error(`Unknown Chalk style: ${e}`)}r=t.length>0?r[e](...t):r[e]}return r}e.exports=(e,n)=>{const r=[];const i=[];let s=[];n.replace(t,((t,n,a,c,u,l)=>{if(n){s.push(unescape(n))}else if(c){const t=s.join("");s=[];i.push(r.length===0?t:buildStyle(e,r)(t));r.push({inverse:a,styles:parseStyle(c)})}else if(u){if(r.length===0){throw new Error("Found extraneous } in Chalk template literal")}i.push(buildStyle(e,r)(s.join("")));s=[];r.pop()}else{s.push(l)}}));i.push(s.join(""));if(r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")}},88445:e=>{"use strict";const stringReplaceAll=(e,t,n)=>{let r=e.indexOf(t);if(r===-1){return e}const i=t.length;let s=0;let a="";do{a+=e.substr(s,r-s)+t+n;s=r+i;r=e.indexOf(t,s)}while(r!==-1);a+=e.substr(s);return a};const stringEncaseCRLFWithFirstIndex=(e,t,n,r)=>{let i=0;let s="";do{const a=e[r-1]==="\r";s+=e.substr(i,(a?r-1:r)-i)+t+(a?"\r\n":"\n")+n;i=r+1;r=e.indexOf("\n",i)}while(r!==-1);s+=e.substr(i);return s};e.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(5115);var i=n(92413);function evCommon(){var e=process.hrtime();var t=e[0]*1e6+Math.round(e[1]/1e3);return{ts:t,pid:process.pid,tid:process.pid}}var s=function(e){r.__extends(Tracer,e);function Tracer(t){if(t===void 0){t={}}var n=e.call(this)||this;n.noStream=false;n.events=[];if(typeof t!=="object"){throw new Error("Invalid options passed (must be an object)")}if(t.parent!=null&&typeof t.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(t.fields!=null&&typeof t.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(t.objectMode!=null&&(t.objectMode!==true&&t.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}n.noStream=t.noStream||false;n.parent=t.parent;if(n.parent){n.fields=Object.assign({},t.parent&&t.parent.fields)}else{n.fields={}}if(t.fields){Object.assign(n.fields,t.fields)}if(!n.fields.cat){n.fields.cat="default"}else if(Array.isArray(n.fields.cat)){n.fields.cat=n.fields.cat.join(",")}if(!n.fields.args){n.fields.args={}}if(n.parent){n._push=n.parent._push.bind(n.parent)}else{n._objectMode=Boolean(t.objectMode);var r={objectMode:n._objectMode};if(n._objectMode){n._push=n.push}else{n._push=n._pushString;r.encoding="utf8"}i.Readable.call(n,r)}return n}Tracer.prototype.flush=function(){if(this.noStream===true){for(var e=0,t=this.events;e{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},93349:(e,t)=>{function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}t.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}t.isBoolean=isBoolean;function isNull(e){return e===null}t.isNull=isNull;function isNullOrUndefined(e){return e==null}t.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}t.isNumber=isNumber;function isString(e){return typeof e==="string"}t.isString=isString;function isSymbol(e){return typeof e==="symbol"}t.isSymbol=isSymbol;function isUndefined(e){return e===void 0}t.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}t.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}t.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.isError=isError;function isFunction(e){return typeof e==="function"}t.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=isPrimitive;t.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},46233:e=>{e.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87","12.0":"89","13.0":"90"}},57235:(e,t,n)=>{"use strict";const r=n(83881);const i=n(22471);e.exports=class AliasFieldPlugin{constructor(e,t,n){this.source=e;this.field=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasFieldPlugin",((n,s,a)=>{if(!n.descriptionFileData)return a();const c=i(e,n);if(!c)return a();const u=r.getField(n.descriptionFileData,this.field);if(u===null||typeof u!=="object"){if(s.log)s.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return a()}const l=u[c];const d=u[c.replace(/^\.\//,"")];const p=typeof l!=="undefined"?l:d;if(p===c)return a();if(p===undefined)return a();if(p===false){const e={...n,path:false};return a(null,e)}const h={...n,path:n.descriptionFileRoot,request:p,fullySpecified:false};e.doResolve(t,h,"aliased from description file "+n.descriptionFilePath+" with mapping '"+c+"' to '"+p+"'",s,((e,t)=>{if(e)return a(e);if(t===undefined)return a(null,null);a(null,t)}))}))}}},22002:(e,t,n)=>{"use strict";const r=n(43556);e.exports=class AliasPlugin{constructor(e,t,n){this.source=e;this.options=Array.isArray(t)?t:[t];this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasPlugin",((n,i,s)=>{const a=n.request||n.path;if(!a)return s();r(this.options,((s,c)=>{let u=false;if(a===s.name||!s.onlyModule&&a.startsWith(s.name+"/")){const l=a.substr(s.name.length);const resolveWithAlias=(r,c)=>{if(r===false){const e={...n,path:false};return c(null,e)}if(a!==r&&!a.startsWith(r+"/")){u=true;const a=r+l;const d={...n,request:a,fullySpecified:false};return e.doResolve(t,d,"aliased with mapping '"+s.name+"': '"+r+"' to '"+a+"'",i,((e,t)=>{if(e)return c(e);if(t)return c(null,t);return c()}))}return c()};const stoppingCallback=(e,t)=>{if(e)return c(e);if(t)return c(null,t);if(u)return c(null,null);return c()};if(Array.isArray(s.alias)){return r(s.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(s.alias,stoppingCallback)}}return c()}),s)}))}}},40803:e=>{"use strict";e.exports=class AppendPlugin{constructor(e,t,n){this.source=e;this.appending=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AppendPlugin",((n,r,i)=>{const s={...n,path:n.path+this.appending,relativePath:n.relativePath&&n.relativePath+this.appending};e.doResolve(t,s,this.appending,r,i)}))}}},67703:(e,t,n)=>{"use strict";const r=n(61765).nextTick;const dirname=e=>{let t=e.length-1;while(t>=0){const n=e.charCodeAt(t);if(n===47||n===92)break;t--}if(t<0)return"";return e.slice(0,t)};const runCallbacks=(e,t,n)=>{if(e.length===1){e[0](t,n);e.length=0;return}let r;for(const i of e){try{i(t,n)}catch(e){if(!r)r=e}}e.length=0;if(r)throw r};class OperationMergerBackend{constructor(e,t,n){this._provider=e;this._syncProvider=t;this._providerContext=n;this._activeAsyncOperations=new Map;this.provide=this._provider?(t,n,r)=>{if(typeof n==="function"){r=n;n=undefined}if(n){return this._provider.call(this._providerContext,t,n,r)}if(typeof t!=="string"){r(new TypeError("path must be a string"));return}let i=this._activeAsyncOperations.get(t);if(i){i.push(r);return}this._activeAsyncOperations.set(t,i=[r]);e(t,((e,n)=>{this._activeAsyncOperations.delete(t);runCallbacks(i,e,n)}))}:null;this.provideSync=this._syncProvider?(e,t)=>this._syncProvider.call(this._providerContext,e,t):null}purge(){}purgeParent(){}}const i=0;const s=1;const a=2;class CacheBackend{constructor(e,t,n,r){this._duration=e;this._provider=t;this._syncProvider=n;this._providerContext=r;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let e=0;e<10;e++)this._levels.push(new Set);for(let t=5e3;t{this._activeAsyncOperations.delete(e);this._storeResult(e,t,n);this._enterAsyncMode();runCallbacks(a,t,n)}))}provideSync(e,t){if(typeof e!=="string"){throw new TypeError("path must be a string")}if(t){return this._syncProvider.call(this._providerContext,e,t)}if(this._mode===s){this._runDecays()}let n=this._data.get(e);if(n!==undefined){if(n.err)throw n.err;return n.result}const r=this._activeAsyncOperations.get(e);this._activeAsyncOperations.delete(e);let i;try{i=this._syncProvider.call(this._providerContext,e)}catch(t){this._storeResult(e,t,undefined);this._enterSyncModeWhenIdle();if(r)runCallbacks(r,t,undefined);throw t}this._storeResult(e,undefined,i);this._enterSyncModeWhenIdle();if(r)runCallbacks(r,undefined,i);return i}purge(e){if(!e){if(this._mode!==i){this._data.clear();for(const e of this._levels){e.clear()}this._enterIdleMode()}}else if(typeof e==="string"){for(let[t,n]of this._data){if(t.startsWith(e)){this._data.delete(t);n.level.delete(t)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[t,n]of this._data){for(const r of e){if(t.startsWith(r)){this._data.delete(t);n.level.delete(t);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(e){if(!e){this.purge()}else if(typeof e==="string"){this.purge(dirname(e))}else{const t=new Set;for(const n of e){t.add(dirname(n))}this.purge(t)}}_storeResult(e,t,n){if(this._data.has(e))return;const r=this._levels[this._currentLevel];this._data.set(e,{err:t,result:n,level:r});r.add(e)}_decayLevel(){const e=(this._currentLevel+1)%this._levels.length;const t=this._levels[e];this._currentLevel=e;for(let e of t){this._data.delete(e)}t.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==i){this._decayLevel()}}_enterAsyncMode(){let e=0;switch(this._mode){case a:return;case i:this._nextDecay=Date.now()+this._tickInterval;e=this._tickInterval;break;case s:this._runDecays();if(this._mode===i)return;e=Math.max(0,this._nextDecay-Date.now());break}this._mode=a;const t=setTimeout((()=>{this._mode=s;this._runDecays()}),e);if(t.unref)t.unref();this._timeout=t}_enterSyncModeWhenIdle(){if(this._mode===i){this._mode=s;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=i;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(e,t,n,r)=>{if(e>0){return new CacheBackend(e,t,n,r)}return new OperationMergerBackend(t,n,r)};e.exports=class CachedInputFileSystem{constructor(e,t){this.fileSystem=e;this._lstatBackend=createBackend(t,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const n=this._lstatBackend.provide;this.lstat=n;const r=this._lstatBackend.provideSync;this.lstatSync=r;this._statBackend=createBackend(t,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const i=this._statBackend.provide;this.stat=i;const s=this._statBackend.provideSync;this.statSync=s;this._readdirBackend=createBackend(t,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const a=this._readdirBackend.provide;this.readdir=a;const c=this._readdirBackend.provideSync;this.readdirSync=c;this._readFileBackend=createBackend(t,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const u=this._readFileBackend.provide;this.readFile=u;const l=this._readFileBackend.provideSync;this.readFileSync=l;this._readJsonBackend=createBackend(t,this.fileSystem.readJson||this.readFile&&((e,t)=>{this.readFile(e,((e,n)=>{if(e)return t(e);if(!n||n.length===0)return t(new Error("No file content"));let r;try{r=JSON.parse(n.toString("utf-8"))}catch(e){return t(e)}t(null,r)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(e=>{const t=this.readFileSync(e);const n=JSON.parse(t.toString("utf-8"));return n}),this.fileSystem);const d=this._readJsonBackend.provide;this.readJson=d;const p=this._readJsonBackend.provideSync;this.readJsonSync=p;this._readlinkBackend=createBackend(t,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const h=this._readlinkBackend.provide;this.readlink=h;const m=this._readlinkBackend.provideSync;this.readlinkSync=m}purge(e){this._statBackend.purge(e);this._lstatBackend.purge(e);this._readdirBackend.purgeParent(e);this._readFileBackend.purge(e);this._readlinkBackend.purge(e);this._readJsonBackend.purge(e)}}},94511:(e,t,n)=>{"use strict";const r=n(69835).basename;e.exports=class CloneBasenamePlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("CloneBasenamePlugin",((n,i,s)=>{const a=r(n.path);const c=e.join(n.path,a);const u={...n,path:c,relativePath:n.relativePath&&e.join(n.relativePath,a)};e.doResolve(t,u,"using path: "+c,i,s)}))}}},61770:e=>{"use strict";e.exports=class ConditionalPlugin{constructor(e,t,n,r,i){this.source=e;this.test=t;this.message=n;this.allowAlternatives=r;this.target=i}apply(e){const t=e.ensureHook(this.target);const{test:n,message:r,allowAlternatives:i}=this;const s=Object.keys(n);e.getHook(this.source).tapAsync("ConditionalPlugin",((a,c,u)=>{for(const e of s){if(a[e]!==n[e])return u()}e.doResolve(t,a,r,c,i?u:(e,t)=>{if(e)return u(e);if(t===undefined)return u(null,null);u(null,t)})}))}}},65943:(e,t,n)=>{"use strict";const r=n(83881);e.exports=class DescriptionFilePlugin{constructor(e,t,n,r){this.source=e;this.filenames=t;this.pathIsFile=n;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DescriptionFilePlugin",((n,i,s)=>{const a=n.path;if(!a)return s();const c=this.pathIsFile?r.cdUp(a):a;if(!c)return s();r.loadDescriptionFile(e,c,this.filenames,n.descriptionFilePath?{path:n.descriptionFilePath,content:n.descriptionFileData,directory:n.descriptionFileRoot}:undefined,i,((r,u)=>{if(r)return s(r);if(!u){if(i.log)i.log(`No description file found in ${c} or above`);return s()}const l="."+a.substr(u.directory.length).replace(/\\/g,"/");const d={...n,descriptionFilePath:u.path,descriptionFileData:u.content,descriptionFileRoot:u.directory,relativePath:l};e.doResolve(t,d,"using description file: "+u.path+" (relative path: "+l+")",i,((e,t)=>{if(e)return s(e);if(t===undefined)return s(null,null);s(null,t)}))}))}))}}},83881:(e,t,n)=>{"use strict";const r=n(43556);function loadDescriptionFile(e,t,n,i,s,a){(function findDescriptionFile(){if(i&&i.directory===t){return a(null,i)}r(n,((n,r)=>{const i=e.join(t,n);if(e.fileSystem.readJson){e.fileSystem.readJson(i,((e,t)=>{if(e){if(typeof e.code!=="undefined"){if(s.missingDependencies){s.missingDependencies.add(i)}return r()}if(s.fileDependencies){s.fileDependencies.add(i)}return onJson(e)}if(s.fileDependencies){s.fileDependencies.add(i)}onJson(null,t)}))}else{e.fileSystem.readFile(i,((e,t)=>{if(e){if(s.missingDependencies){s.missingDependencies.add(i)}return r()}if(s.fileDependencies){s.fileDependencies.add(i)}let n;if(t){try{n=JSON.parse(t.toString())}catch(e){return onJson(e)}}else{return onJson(new Error("No content in file"))}onJson(null,n)}))}function onJson(e,n){if(e){if(s.log)s.log(i+" (directory description file): "+e);else e.message=i+" (directory description file): "+e;return r(e)}r(null,{content:n,directory:t,path:i})}}),((e,n)=>{if(e)return a(e);if(n){return a(null,n)}else{const e=cdUp(t);if(!e){return a()}else{t=e;return findDescriptionFile()}}}))})()}function getField(e,t){if(!e)return undefined;if(Array.isArray(t)){let n=e;for(let e=0;e{"use strict";e.exports=class DirectoryExistsPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DirectoryExistsPlugin",((n,r,i)=>{const s=e.fileSystem;const a=n.path;if(!a)return i();s.stat(a,((s,c)=>{if(s||!c){if(r.missingDependencies)r.missingDependencies.add(a);if(r.log)r.log(a+" doesn't exist");return i()}if(!c.isDirectory()){if(r.missingDependencies)r.missingDependencies.add(a);if(r.log)r.log(a+" is not a directory");return i()}if(r.fileDependencies)r.fileDependencies.add(a);e.doResolve(t,n,`existing directory ${a}`,r,i)}))}))}}},5109:(e,t,n)=>{"use strict";const r=n(85622);const i=n(83881);const s=n(43556);const{processExportsField:a}=n(4077);const{parseIdentifier:c}=n(48366);const{checkExportsFieldTarget:u}=n(67411);e.exports=class ExportsFieldPlugin{constructor(e,t,n,r){this.source=e;this.target=r;this.conditionNames=t;this.fieldName=n;this.fieldProcessorCache=new WeakMap}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ExportsFieldPlugin",((n,l,d)=>{if(!n.descriptionFilePath)return d();if(n.relativePath!=="."||n.request===undefined)return d();const p=n.query||n.fragment?(n.request==="."?"./":n.request)+n.query+n.fragment:n.request;const h=i.getField(n.descriptionFileData,this.fieldName);if(!h)return d();if(n.directory){return d(new Error(`Resolving to directories is not possible with the exports field (request was ${p}/)`))}let m;try{let e=this.fieldProcessorCache.get(n.descriptionFileData);if(e===undefined){e=a(h);this.fieldProcessorCache.set(n.descriptionFileData,e)}m=e(p,this.conditionNames)}catch(e){if(l.log){l.log(`Exports field in ${n.descriptionFilePath} can't be processed: ${e}`)}return d(e)}if(m.length===0){return d(new Error(`Package path ${p} is not exported from package ${n.descriptionFileRoot} (see exports field in ${n.descriptionFilePath})`))}s(m,((i,s)=>{const a=c(i);if(!a)return s();const[d,p,h]=a;const m=u(d);if(m){return s(m)}const g={...n,request:undefined,path:r.join(n.descriptionFileRoot,d),relativePath:d,query:p,fragment:h};e.doResolve(t,g,"using exports field: "+i,l,s)}),((e,t)=>d(e,t||null)))}))}}},87876:e=>{"use strict";e.exports=class FileExistsPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);const n=e.fileSystem;e.getHook(this.source).tapAsync("FileExistsPlugin",((r,i,s)=>{const a=r.path;if(!a)return s();n.stat(a,((n,c)=>{if(n||!c){if(i.missingDependencies)i.missingDependencies.add(a);if(i.log)i.log(a+" doesn't exist");return s()}if(!c.isFile()){if(i.missingDependencies)i.missingDependencies.add(a);if(i.log)i.log(a+" is not a file");return s()}if(i.fileDependencies)i.fileDependencies.add(a);e.doResolve(t,r,"existing file: "+a,i,s)}))}))}}},1825:(e,t,n)=>{"use strict";const r=n(85622);const i=n(83881);const s=n(43556);const{processImportsField:a}=n(4077);const{parseIdentifier:c}=n(48366);const u=".".charCodeAt(0);e.exports=class ImportsFieldPlugin{constructor(e,t,n,r,i){this.source=e;this.targetFile=r;this.targetPackage=i;this.conditionNames=t;this.fieldName=n;this.fieldProcessorCache=new WeakMap}apply(e){const t=e.ensureHook(this.targetFile);const n=e.ensureHook(this.targetPackage);e.getHook(this.source).tapAsync("ImportsFieldPlugin",((l,d,p)=>{if(!l.descriptionFilePath)return p();if(l.relativePath!=="."||l.request===undefined)return p();const h=l.request+l.query+l.fragment;const m=i.getField(l.descriptionFileData,this.fieldName);if(!m)return p();if(l.directory){return p(new Error(`Resolving to directories is not possible with the imports field (request was ${h}/)`))}let g;try{let e=this.fieldProcessorCache.get(l.descriptionFileData);if(e===undefined){e=a(m);this.fieldProcessorCache.set(l.descriptionFileData,e)}g=e(h,this.conditionNames)}catch(e){if(d.log){d.log(`Imports field in ${l.descriptionFilePath} can't be processed: ${e}`)}return p(e)}if(g.length===0){return p(new Error(`Package import ${h} is not imported from package ${l.descriptionFileRoot} (see imports field in ${l.descriptionFilePath})`))}s(g,((i,s)=>{const a=c(i);if(!a)return s();const[p,h,m]=a;switch(p.charCodeAt(0)){case u:{const n={...l,request:undefined,path:r.join(l.descriptionFileRoot,p),relativePath:p,query:h,fragment:m};e.doResolve(t,n,"using imports field: "+i,d,s);break}default:{const t={...l,request:p,relativePath:p,fullySpecified:true,query:h,fragment:m};e.doResolve(n,t,"using imports field: "+i,d,s)}}}),((e,t)=>p(e,t||null)))}))}}},91521:e=>{"use strict";const t="@".charCodeAt(0);e.exports=class JoinRequestPartPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const n=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPartPlugin",((r,i,s)=>{const a=r.request||"";let c=a.indexOf("/",3);if(c>=0&&a.charCodeAt(2)===t){c=a.indexOf("/",c+1)}let u,l,d;if(c<0){u=a;l=".";d=false}else{u=a.slice(0,c);l="."+a.slice(c);d=r.fullySpecified}const p={...r,path:e.join(r.path,u),relativePath:r.relativePath&&e.join(r.relativePath,u),request:l,fullySpecified:d};e.doResolve(n,p,null,i,s)}))}}},88277:e=>{"use strict";e.exports=class JoinRequestPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPlugin",((n,r,i)=>{const s={...n,path:e.join(n.path,n.request),relativePath:n.relativePath&&e.join(n.relativePath,n.request),request:undefined};e.doResolve(t,s,null,r,i)}))}}},74934:e=>{"use strict";e.exports=class LogInfoPlugin{constructor(e){this.source=e}apply(e){const t=this.source;e.getHook(this.source).tapAsync("LogInfoPlugin",((e,n,r)=>{if(!n.log)return r();const i=n.log;const s="["+t+"] ";if(e.path)i(s+"Resolving in directory: "+e.path);if(e.request)i(s+"Resolving request: "+e.request);if(e.module)i(s+"Request is an module request.");if(e.directory)i(s+"Request is a directory request.");if(e.query)i(s+"Resolving request query: "+e.query);if(e.fragment)i(s+"Resolving request fragment: "+e.fragment);if(e.descriptionFilePath)i(s+"Has description data from "+e.descriptionFilePath);if(e.relativePath)i(s+"Relative path from description file is: "+e.relativePath);r()}))}}},26713:(e,t,n)=>{"use strict";const r=n(85622);const i=n(83881);const s=Symbol("alreadyTriedMainField");e.exports=class MainFieldPlugin{constructor(e,t,n){this.source=e;this.options=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("MainFieldPlugin",((n,a,c)=>{if(n.path!==n.descriptionFileRoot||n[s]===n.descriptionFilePath||!n.descriptionFilePath)return c();const u=r.basename(n.descriptionFilePath);let l=i.getField(n.descriptionFileData,this.options.name);if(!l||typeof l!=="string"||l==="."||l==="./"){return c()}if(this.options.forceRelative&&!/^\.\.?\//.test(l))l="./"+l;const d={...n,request:l,module:false,directory:l.endsWith("/"),[s]:n.descriptionFilePath};return e.doResolve(t,d,"use "+l+" from "+this.options.name+" in "+u,a,c)}))}}},76067:(e,t,n)=>{"use strict";const r=n(43556);const i=n(69835);e.exports=class ModulesInHierachicDirectoriesPlugin{constructor(e,t,n){this.source=e;this.directories=[].concat(t);this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((n,s,a)=>{const c=e.fileSystem;const u=i(n.path).paths.map((t=>this.directories.map((n=>e.join(t,n))))).reduce(((e,t)=>{e.push.apply(e,t);return e}),[]);r(u,((r,i)=>{c.stat(r,((a,c)=>{if(!a&&c&&c.isDirectory()){const a={...n,path:r,request:"./"+n.request,module:false};const c="looking for modules in "+r;return e.doResolve(t,a,c,s,i)}if(s.log)s.log(r+" doesn't exist or is not a directory");if(s.missingDependencies)s.missingDependencies.add(r);return i()}))}),a)}))}}},22433:e=>{"use strict";e.exports=class ModulesInRootPlugin{constructor(e,t,n){this.source=e;this.path=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInRootPlugin",((n,r,i)=>{const s={...n,path:this.path,request:"./"+n.request,module:false};e.doResolve(t,s,"looking for modules in "+this.path,r,i)}))}}},12276:e=>{"use strict";e.exports=class NextPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("NextPlugin",((n,r,i)=>{e.doResolve(t,n,null,r,i)}))}}},71121:e=>{"use strict";e.exports=class ParsePlugin{constructor(e,t,n){this.source=e;this.requestOptions=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ParsePlugin",((n,r,i)=>{const s=e.parse(n.request);const a={...n,...s,...this.requestOptions};if(n.query&&!s.query){a.query=n.query}if(n.fragment&&!s.fragment){a.fragment=n.fragment}if(s&&r.log){if(s.module)r.log("Parsed request is a module");if(s.directory)r.log("Parsed request is a directory")}if(a.request&&!a.query&&a.fragment){const n=a.fragment.endsWith("/");const s={...a,directory:n,request:a.request+(a.directory?"/":"")+(n?a.fragment.slice(0,-1):a.fragment),fragment:""};e.doResolve(t,s,null,r,((n,s)=>{if(n)return i(n);if(s)return i(null,s);e.doResolve(t,a,null,r,i)}));return}e.doResolve(t,a,null,r,i)}))}}},10232:e=>{"use strict";e.exports=class PnpPlugin{constructor(e,t,n){this.source=e;this.pnpApi=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("PnpPlugin",((n,r,i)=>{const s=n.request;if(!s)return i();const a=`${n.path}/`;const c=/^(@[^/]+\/)?[^/]+/.exec(s);if(!c)return i();const u=c[0];const l=`.${s.slice(u.length)}`;let d;let p;try{d=this.pnpApi.resolveToUnqualified(u,a,{considerBuiltins:false});if(r.fileDependencies){p=this.pnpApi.resolveToUnqualified("pnpapi",a,{considerBuiltins:false})}}catch(e){if(e.code==="MODULE_NOT_FOUND"&&e.pnpCode==="UNDECLARED_DEPENDENCY"){if(r.log){r.log(`request is not managed by the pnpapi`);for(const t of e.message.split("\n").filter(Boolean))r.log(` ${t}`)}return i()}return i(e)}if(d===u)return i();if(p&&r.fileDependencies){r.fileDependencies.add(p)}const h={...n,path:d,request:l,ignoreSymlinks:true,fullySpecified:n.fullySpecified&&l!=="."};e.doResolve(t,h,`resolved by pnp to ${d}`,r,((e,t)=>{if(e)return i(e);if(t)return i(null,t);return i(null,null)}))}))}}},33679:(e,t,n)=>{"use strict";const{AsyncSeriesBailHook:r,AsyncSeriesHook:i,SyncHook:s}=n(92960);const a=n(52227);const{parseIdentifier:c}=n(48366);const{normalize:u,cachedJoin:l,getType:d,PathType:p}=n(67411);function toCamelCase(e){return e.replace(/-([a-z])/g,(e=>e.substr(1).toUpperCase()))}class Resolver{static createStackEntry(e,t){return e.name+": ("+t.path+") "+(t.request||"")+(t.query||"")+(t.fragment||"")+(t.directory?" directory":"")+(t.module?" module":"")}constructor(e,t){this.fileSystem=e;this.options=t;this.hooks={resolveStep:new s(["hook","request"],"resolveStep"),noResolve:new s(["request","error"],"noResolve"),resolve:new r(["request","resolveContext"],"resolve"),result:new i(["result","resolveContext"],"result")}}ensureHook(e){if(typeof e!=="string"){return e}e=toCamelCase(e);if(/^before/.test(e)){return this.ensureHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10})}if(/^after/.test(e)){return this.ensureHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10})}const t=this.hooks[e];if(!t){return this.hooks[e]=new r(["request","resolveContext"],e)}return t}getHook(e){if(typeof e!=="string"){return e}e=toCamelCase(e);if(/^before/.test(e)){return this.getHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10})}if(/^after/.test(e)){return this.getHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10})}const t=this.hooks[e];if(!t){throw new Error(`Hook ${e} doesn't exist`)}return t}resolveSync(e,t,n){let r=undefined;let i=undefined;let s=false;this.resolve(e,t,n,{},((e,t)=>{r=e;i=t;s=true}));if(!s){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(r)throw r;if(i===undefined)throw new Error("No result");return i}resolve(e,t,n,r,i){if(!e||typeof e!=="object")return i(new Error("context argument is not an object"));if(typeof t!=="string")return i(new Error("path argument is not a string"));if(typeof n!=="string")return i(new Error("path argument is not a string"));if(!r)return i(new Error("resolveContext argument is not set"));const s={context:e,path:t,request:n};const a=`resolve '${n}' in '${t}'`;const finishResolved=e=>i(null,e.path===false?false:`${e.path.replace(/#/g,"\0#")}${e.query?e.query.replace(/#/g,"\0#"):""}${e.fragment||""}`,e);const finishWithoutResolve=e=>{const t=new Error("Can't "+a);t.details=e.join("\n");this.hooks.noResolve.call(s,t);return i(t)};if(r.log){const e=r.log;const t=[];return this.doResolve(this.hooks.resolve,s,a,{log:n=>{e(n);t.push(n)},fileDependencies:r.fileDependencies,contextDependencies:r.contextDependencies,missingDependencies:r.missingDependencies,stack:r.stack},((e,n)=>{if(e)return i(e);if(n)return finishResolved(n);return finishWithoutResolve(t)}))}else{return this.doResolve(this.hooks.resolve,s,a,{log:undefined,fileDependencies:r.fileDependencies,contextDependencies:r.contextDependencies,missingDependencies:r.missingDependencies,stack:r.stack},((e,t)=>{if(e)return i(e);if(t)return finishResolved(t);const n=[];return this.doResolve(this.hooks.resolve,s,a,{log:e=>n.push(e),stack:r.stack},((e,t)=>{if(e)return i(e);return finishWithoutResolve(n)}))}))}}doResolve(e,t,n,r,i){const s=Resolver.createStackEntry(e,t);let c;if(r.stack){c=new Set(r.stack);if(r.stack.has(s)){const e=new Error("Recursion in resolving\nStack:\n "+Array.from(c).join("\n "));e.recursion=true;if(r.log)r.log("abort resolving because of recursion");return i(e)}c.add(s)}else{c=new Set([s])}this.hooks.resolveStep.call(e,t);if(e.isUsed()){const s=a({log:r.log,fileDependencies:r.fileDependencies,contextDependencies:r.contextDependencies,missingDependencies:r.missingDependencies,stack:c},n);return e.callAsync(t,s,((e,t)=>{if(e)return i(e);if(t)return i(null,t);i()}))}else{i()}}parse(e){const t={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const n=c(e);if(!n)return t;[t.request,t.query,t.fragment]=n;if(t.request.length>0){t.internal=this.isPrivate(e);t.module=this.isModule(t.request);t.directory=this.isDirectory(t.request);if(t.directory){t.request=t.request.substr(0,t.request.length-1)}}return t}isModule(e){return d(e)===p.Normal}isPrivate(e){return d(e)===p.Internal}isDirectory(e){return e.endsWith("/")}join(e,t){return l(e,t)}normalize(e){return u(e)}}e.exports=Resolver},57934:(e,t,n)=>{"use strict";const r=n(61765).versions;const i=n(33679);const{getType:s,PathType:a}=n(67411);const c=n(64407);const u=n(57235);const l=n(22002);const d=n(40803);const p=n(61770);const h=n(65943);const m=n(32575);const g=n(5109);const y=n(87876);const _=n(1825);const b=n(91521);const x=n(88277);const k=n(26713);const E=n(76067);const w=n(22433);const S=n(12276);const C=n(71121);const M=n(10232);const I=n(77398);const P=n(46182);const T=n(89609);const O=n(68285);const R=n(44362);const N=n(68029);const L=n(62216);const $=n(55187);function processPnpApiOption(e){if(e===undefined&&r.pnp){return n(98063)}return e||null}function normalizeAlias(e){return typeof e==="object"&&!Array.isArray(e)&&e!==null?Object.keys(e).map((t=>{const n={name:t,onlyModule:false,alias:e[t]};if(/\$$/.test(t)){n.onlyModule=true;n.name=t.substr(0,t.length-1)}return n})):e||[]}function createOptions(e){const t=new Set(e.mainFields||["main"]);const n=[];for(const e of t){if(typeof e==="string"){n.push({name:[e],forceRelative:true})}else if(Array.isArray(e)){n.push({name:e,forceRelative:true})}else{n.push({name:Array.isArray(e.name)?e.name:[e.name],forceRelative:e.forceRelative})}}return{alias:normalizeAlias(e.alias),fallback:normalizeAlias(e.fallback),aliasFields:new Set(e.aliasFields),cachePredicate:e.cachePredicate||function(){return true},cacheWithContext:typeof e.cacheWithContext!=="undefined"?e.cacheWithContext:true,exportsFields:new Set(e.exportsFields||["exports"]),importsFields:new Set(e.importsFields||["imports"]),conditionNames:new Set(e.conditionNames),descriptionFiles:Array.from(new Set(e.descriptionFiles||["package.json"])),enforceExtension:e.enforceExtension||false,extensions:new Set(e.extensions||[".js",".json",".node"]),fileSystem:e.useSyncFileSystemCalls?new c(e.fileSystem):e.fileSystem,unsafeCache:e.unsafeCache&&typeof e.unsafeCache!=="object"?{}:e.unsafeCache||false,symlinks:typeof e.symlinks!=="undefined"?e.symlinks:true,resolver:e.resolver,modules:mergeFilteredToArray(Array.isArray(e.modules)?e.modules:e.modules?[e.modules]:["node_modules"],(e=>{const t=s(e);return t===a.Normal||t===a.Relative})),mainFields:n,mainFiles:new Set(e.mainFiles||["index"]),plugins:e.plugins||[],pnpApi:processPnpApiOption(e.pnpApi),roots:new Set(e.roots||undefined),fullySpecified:e.fullySpecified||false,resolveToContext:e.resolveToContext||false,preferRelative:e.preferRelative||false,preferAbsolute:e.preferAbsolute||false,restrictions:new Set(e.restrictions)}}t.createResolver=function(e){const t=createOptions(e);const{alias:n,fallback:r,aliasFields:s,cachePredicate:a,cacheWithContext:c,conditionNames:j,descriptionFiles:z,enforceExtension:U,exportsFields:q,importsFields:G,extensions:H,fileSystem:W,fullySpecified:V,mainFields:K,mainFiles:X,modules:J,plugins:Y,pnpApi:Z,resolveToContext:ee,preferRelative:te,preferAbsolute:ne,symlinks:re,unsafeCache:ie,resolver:se,restrictions:oe,roots:ae}=t;const ue=Y.slice();const le=se?se:new i(W,t);le.ensureHook("resolve");le.ensureHook("internalResolve");le.ensureHook("newInteralResolve");le.ensureHook("parsedResolve");le.ensureHook("describedResolve");le.ensureHook("internal");le.ensureHook("rawModule");le.ensureHook("module");le.ensureHook("resolveAsModule");le.ensureHook("undescribedResolveInPackage");le.ensureHook("resolveInPackage");le.ensureHook("resolveInExistingDirectory");le.ensureHook("relative");le.ensureHook("describedRelative");le.ensureHook("directory");le.ensureHook("undescribedExistingDirectory");le.ensureHook("existingDirectory");le.ensureHook("undescribedRawFile");le.ensureHook("rawFile");le.ensureHook("file");le.ensureHook("finalFile");le.ensureHook("existingFile");le.ensureHook("resolved");for(const{source:e,resolveOptions:t}of[{source:"resolve",resolveOptions:{fullySpecified:V}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(ie){ue.push(new L(e,a,ie,c,`new-${e}`));ue.push(new C(`new-${e}`,t,"parsed-resolve"))}else{ue.push(new C(e,t,"parsed-resolve"))}}ue.push(new h("parsed-resolve",z,false,"described-resolve"));ue.push(new S("after-parsed-resolve","described-resolve"));ue.push(new S("described-resolve","normal-resolve"));if(r.length>0){ue.push(new l("described-resolve",r,"internal-resolve"))}if(n.length>0)ue.push(new l("normal-resolve",n,"internal-resolve"));s.forEach((e=>{ue.push(new u("normal-resolve",e,"internal-resolve"))}));if(te){ue.push(new x("after-normal-resolve","relative"))}ue.push(new p("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));ue.push(new p("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(ne){ue.push(new x("after-normal-resolve","relative"))}if(ae.size>0){ue.push(new T("after-normal-resolve",ae,"relative"))}if(!te&&!ne){ue.push(new x("after-normal-resolve","relative"))}G.forEach((e=>{ue.push(new _("internal",j,e,"relative","internal-resolve"))}));q.forEach((e=>{ue.push(new O("raw-module",e,"resolve-as-module"))}));J.forEach((e=>{if(Array.isArray(e)){ue.push(new E("raw-module",e,"module"));if(e.includes("node_modules")&&Z){ue.push(new M("raw-module",Z,"undescribed-resolve-in-package"))}}else{ue.push(new w("raw-module",e,"module"))}}));ue.push(new b("module","resolve-as-module"));if(!ee){ue.push(new p("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}ue.push(new m("resolve-as-module","undescribed-resolve-in-package"));ue.push(new h("undescribed-resolve-in-package",z,false,"resolve-in-package"));ue.push(new S("after-undescribed-resolve-in-package","resolve-in-package"));q.forEach((e=>{ue.push(new g("resolve-in-package",j,e,"relative"))}));ue.push(new S("resolve-in-package","resolve-in-existing-directory"));ue.push(new x("resolve-in-existing-directory","relative"));ue.push(new h("relative",z,true,"described-relative"));ue.push(new S("after-relative","described-relative"));if(ee){ue.push(new S("described-relative","directory"))}else{ue.push(new p("described-relative",{directory:false},null,true,"raw-file"));ue.push(new p("described-relative",{fullySpecified:false},"as directory",true,"directory"))}ue.push(new m("directory","undescribed-existing-directory"));if(ee){ue.push(new S("undescribed-existing-directory","resolved"))}else{ue.push(new h("undescribed-existing-directory",z,false,"existing-directory"));X.forEach((e=>{ue.push(new $("undescribed-existing-directory",e,"undescribed-raw-file"))}));K.forEach((e=>{ue.push(new k("existing-directory",e,"resolve-in-existing-directory"))}));X.forEach((e=>{ue.push(new $("existing-directory",e,"undescribed-raw-file"))}));ue.push(new h("undescribed-raw-file",z,true,"raw-file"));ue.push(new S("after-undescribed-raw-file","raw-file"));ue.push(new p("raw-file",{fullySpecified:true},null,false,"file"));if(!U){ue.push(new N("raw-file","no extension","file"))}H.forEach((e=>{ue.push(new d("raw-file",e,"file"))}));if(n.length>0)ue.push(new l("file",n,"internal-resolve"));s.forEach((e=>{ue.push(new u("file",e,"internal-resolve"))}));ue.push(new S("file","final-file"));ue.push(new y("final-file","existing-file"));if(re)ue.push(new R("existing-file","existing-file"));ue.push(new S("existing-file","resolved"))}if(oe.size>0){ue.push(new I(le.hooks.resolved,oe))}ue.push(new P(le.hooks.resolved));for(const e of ue){if(typeof e==="function"){e.call(le,le)}else{e.apply(le)}}return le};function mergeFilteredToArray(e,t){const n=[];const r=new Set(e);for(const e of r){if(t(e)){const t=n.length>0?n[n.length-1]:undefined;if(Array.isArray(t)){t.push(e)}else{n.push([e])}}else{n.push(e)}}return n}},77398:e=>{"use strict";const t="/".charCodeAt(0);const n="\\".charCodeAt(0);const isInside=(e,r)=>{if(!e.startsWith(r))return false;if(e.length===r.length)return true;const i=e.charCodeAt(r.length);return i===t||i===n};e.exports=class RestrictionsPlugin{constructor(e,t){this.source=e;this.restrictions=t}apply(e){e.getHook(this.source).tapAsync("RestrictionsPlugin",((e,t,n)=>{if(typeof e.path==="string"){const r=e.path;for(const e of this.restrictions){if(typeof e==="string"){if(!isInside(r,e)){if(t.log){t.log(`${r} is not inside of the restriction ${e}`)}return n(null,null)}}else if(!e.test(r)){if(t.log){t.log(`${r} doesn't match the restriction ${e}`)}return n(null,null)}}}n()}))}}},46182:e=>{"use strict";e.exports=class ResultPlugin{constructor(e){this.source=e}apply(e){this.source.tapAsync("ResultPlugin",((t,n,r)=>{const i={...t};if(n.log)n.log("reporting result "+i.path);e.hooks.result.callAsync(i,n,(e=>{if(e)return r(e);r(null,i)}))}))}}},89609:(e,t,n)=>{"use strict";const r=n(43556);class RootsPlugin{constructor(e,t,n){this.roots=Array.from(t);this.source=e;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("RootsPlugin",((n,i,s)=>{const a=n.request;if(!a)return s();if(!a.startsWith("/"))return s();r(this.roots,((r,s)=>{const c=e.join(r,a.slice(1));const u={...n,path:c,relativePath:n.relativePath&&c};e.doResolve(t,u,`root path ${r}`,i,s)}),s)}))}}e.exports=RootsPlugin},68285:(e,t,n)=>{"use strict";const r=n(83881);const i="/".charCodeAt(0);e.exports=class SelfReferencePlugin{constructor(e,t,n){this.source=e;this.target=n;this.fieldName=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("SelfReferencePlugin",((n,s,a)=>{if(!n.descriptionFilePath)return a();const c=n.request;if(!c)return a();const u=r.getField(n.descriptionFileData,this.fieldName);if(!u)return a();const l=r.getField(n.descriptionFileData,"name");if(typeof l!=="string")return a();if(c.startsWith(l)&&(c.length===l.length||c.charCodeAt(l.length)===i)){const r=`.${c.slice(l.length)}`;const i={...n,request:r,path:n.descriptionFileRoot,relativePath:"."};e.doResolve(t,i,"self reference",s,a)}else{return a()}}))}}},44362:(e,t,n)=>{"use strict";const r=n(43556);const i=n(69835);const{getType:s,PathType:a}=n(67411);e.exports=class SymlinkPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);const n=e.fileSystem;e.getHook(this.source).tapAsync("SymlinkPlugin",((c,u,l)=>{if(c.ignoreSymlinks)return l();const d=i(c.path);const p=d.seqments;const h=d.paths;let m=false;let g=-1;r(h,((e,t)=>{g++;if(u.fileDependencies)u.fileDependencies.add(e);n.readlink(e,((e,n)=>{if(!e&&n){p[g]=n;m=true;const e=s(n.toString());if(e===a.AbsoluteWin||e===a.AbsolutePosix){return t(null,g)}}t()}))}),((n,r)=>{if(!m)return l();const i=typeof r==="number"?p.slice(0,r+1):p.slice();const s=i.reduceRight(((t,n)=>e.join(t,n)));const a={...c,path:s};e.doResolve(t,a,"resolved symlink to "+s,u,l)}))}))}}},64407:e=>{"use strict";function SyncAsyncFileSystemDecorator(e){this.fs=e;this.lstat=undefined;this.lstatSync=undefined;const t=e.lstatSync;if(t){this.lstat=(n,r,i)=>{let s;try{s=t.call(e,n)}catch(e){return(i||r)(e)}(i||r)(null,s)};this.lstatSync=(n,r)=>t.call(e,n,r)}this.stat=(t,n,r)=>{let i;try{i=e.statSync(t,n)}catch(e){return(r||n)(e)}(r||n)(null,i)};this.statSync=(t,n)=>e.statSync(t,n);this.readdir=(t,n,r)=>{let i;try{i=e.readdirSync(t)}catch(e){return(r||n)(e)}(r||n)(null,i)};this.readdirSync=(t,n)=>e.readdirSync(t,n);this.readFile=(t,n,r)=>{let i;try{i=e.readFileSync(t)}catch(e){return(r||n)(e)}(r||n)(null,i)};this.readFileSync=(t,n)=>e.readFileSync(t,n);this.readlink=(t,n,r)=>{let i;try{i=e.readlinkSync(t)}catch(e){return(r||n)(e)}(r||n)(null,i)};this.readlinkSync=(t,n)=>e.readlinkSync(t,n);this.readJson=undefined;this.readJsonSync=undefined;const n=e.readJsonSync;if(n){this.readJson=(t,r,i)=>{let s;try{s=n.call(e,t)}catch(e){return(i||r)(e)}(i||r)(null,s)};this.readJsonSync=(t,r)=>n.call(e,t,r)}}e.exports=SyncAsyncFileSystemDecorator},68029:e=>{"use strict";e.exports=class TryNextPlugin{constructor(e,t,n){this.source=e;this.message=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("TryNextPlugin",((n,r,i)=>{e.doResolve(t,n,this.message,r,i)}))}}},62216:e=>{"use strict";function getCacheId(e,t){return JSON.stringify({context:t?e.context:"",path:e.path,query:e.query,fragment:e.fragment,request:e.request})}e.exports=class UnsafeCachePlugin{constructor(e,t,n,r,i){this.source=e;this.filterPredicate=t;this.withContext=r;this.cache=n;this.target=i}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UnsafeCachePlugin",((n,r,i)=>{if(!this.filterPredicate(n))return i();const s=getCacheId(n,this.withContext);const a=this.cache[s];if(a){return i(null,a)}e.doResolve(t,n,null,r,((e,t)=>{if(e)return i(e);if(t)return i(null,this.cache[s]=t);i()}))}))}}},55187:e=>{"use strict";e.exports=class UseFilePlugin{constructor(e,t,n){this.source=e;this.filename=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UseFilePlugin",((n,r,i)=>{const s=e.join(n.path,this.filename);const a={...n,path:s,relativePath:n.relativePath&&e.join(n.relativePath,this.filename)};e.doResolve(t,a,"using path: "+s,r,i)}))}}},52227:e=>{"use strict";e.exports=function createInnerContext(e,t,n){let r=false;let i=undefined;if(e.log){if(t){i=n=>{if(!r){e.log(t);r=true}e.log(" "+n)}}else{i=e.log}}const s={log:i,fileDependencies:e.fileDependencies,contextDependencies:e.contextDependencies,missingDependencies:e.missingDependencies,stack:e.stack};return s}},43556:e=>{"use strict";e.exports=function forEachBail(e,t,n){if(e.length===0)return n();let r=0;const next=()=>{let i=undefined;t(e[r++],((t,s)=>{if(t||s!==undefined||r>=e.length){return n(t,s)}if(i===false)while(next());i=true}));if(!i)i=false;return i};while(next());}},22471:e=>{"use strict";e.exports=function getInnerRequest(e,t){if(typeof t.__innerRequest==="string"&&t.__innerRequest_request===t.request&&t.__innerRequest_relativePath===t.relativePath)return t.__innerRequest;let n;if(t.request){n=t.request;if(/^\.\.?\//.test(n)&&t.relativePath){n=e.join(t.relativePath,n)}}else{n=t.relativePath}t.__innerRequest_request=t.request;t.__innerRequest_relativePath=t.relativePath;return t.__innerRequest=n}},69835:e=>{"use strict";e.exports=function getPaths(e){const t=e.split(/(.*?[\\/]+)/);const n=[e];const r=[t[t.length-1]];let i=t[t.length-1];e=e.substr(0,e.length-i.length-1);for(let s=t.length-2;s>2;s-=2){n.push(e);i=t[s];e=e.substr(0,e.length-i.length)||"/";r.push(i.substr(0,i.length-1))}i=t[1];r.push(i);n.push(i);return{paths:n,seqments:r}};e.exports.basename=function basename(e){const t=e.lastIndexOf("/"),n=e.lastIndexOf("\\");const r=t<0?n:n<0?t:t{"use strict";const r=n(15808);const i=n(67703);const s=n(57934);const a=new i(r,4e3);const c={environments:["node+es3+es5+process+native"]};const u=s.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:a});function resolve(e,t,n,r,i){if(typeof e==="string"){i=r;r=n;n=t;t=e;e=c}if(typeof i!=="function"){i=r}u.resolve(e,t,n,r,i)}const l=s.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:a});function resolveSync(e,t,n){if(typeof e==="string"){n=t;t=e;e=c}return l.resolveSync(e,t,n)}function create(e){e={fileSystem:a,...e};const t=s.createResolver(e);return function(e,n,r,i,s){if(typeof e==="string"){s=i;i=r;r=n;n=e;e=c}if(typeof s!=="function"){s=i}t.resolve(e,n,r,i,s)}}function createSync(e){e={useSyncFileSystemCalls:true,fileSystem:a,...e};const t=s.createResolver(e);return function(e,n,r){if(typeof e==="string"){r=n;n=e;e=c}return t.resolveSync(e,n,r)}}const mergeExports=(e,t)=>{const n=Object.getOwnPropertyDescriptors(t);Object.defineProperties(e,n);return Object.freeze(e)};e.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:s,CachedInputFileSystem:i,get CloneBasenamePlugin(){return n(94511)},get LogInfoPlugin(){return n(74934)},get forEachBail(){return n(43556)}})},4077:e=>{"use strict";const t="/".charCodeAt(0);const n=".".charCodeAt(0);const r="#".charCodeAt(0);e.exports.processExportsField=function processExportsField(e){return createFieldProcessor(buildExportsFieldPathTree(e),assertExportsFieldRequest,assertExportTarget)};e.exports.processImportsField=function processImportsField(e){return createFieldProcessor(buildImportsFieldPathTree(e),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(e,t,n){return function fieldProcessor(r,i){r=t(r);const s=findMatch(r,e);if(s===null)return[];const[a,c]=s;let u=null;if(isConditionalMapping(a)){u=conditionalMapping(a,i);if(u===null)return[]}else{u=a}const l=c===r.length+1?undefined:c<0?r.slice(-c-1):r.slice(c);return directMapping(l,c<0,u,i,n)}}function assertExportsFieldRequest(e){if(e.charCodeAt(0)!==n){throw new Error('Request should be relative path and start with "."')}if(e.length===1)return"";if(e.charCodeAt(1)!==t){throw new Error('Request should be relative path and start with "./"')}if(e.charCodeAt(e.length-1)===t){throw new Error("Only requesting file allowed")}return e.slice(2)}function assertImportsFieldRequest(e){if(e.charCodeAt(0)!==r){throw new Error('Request should start with "#"')}if(e.length===1){throw new Error("Request should have at least 2 characters")}if(e.charCodeAt(1)===t){throw new Error('Request should not start with "#/"')}if(e.charCodeAt(e.length-1)===t){throw new Error("Only requesting file allowed")}return e.slice(1)}function assertExportTarget(e,r){if(e.charCodeAt(0)===t||e.charCodeAt(0)===n&&e.charCodeAt(1)!==t){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(e)}.`)}const i=e.charCodeAt(e.length-1)===t;if(i!==r){throw new Error(r?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}}function assertImportTarget(e,n){const r=e.charCodeAt(e.length-1)===t;if(r!==n){throw new Error(n?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}}function findMatch(e,t){if(e.length===0){const e=t.files.get("");return e?[e,1]:null}if(t.children===null&&t.folder===null&&t.wildcards===null){const n=t.files.get(e);return n?[n,e.length+1]:null}let n=t;let r=0;let i=e.indexOf("/",0);let s=null;const applyFolderMapping=()=>{const e=n.folder;if(e){if(s){s[0]=e;s[1]=-r-1}else{s=[e,-r-1]}}};const applyWildcardMappings=(e,t)=>{if(e){for(const[n,i]of e){if(t.startsWith(n)){if(!s){s=[i,r+n.length]}else if(s[1]0?e.slice(r):e;const c=n.files.get(a);if(c){return[c,e.length+1]}applyFolderMapping();applyWildcardMappings(n.wildcards,a);return s}function isConditionalMapping(e){return e!==null&&typeof e==="object"&&!Array.isArray(e)}function directMapping(e,t,n,r,i){if(n===null)return[];if(typeof n==="string"){return[targetMapping(e,t,n,i)]}const s=[];for(const a of n){if(typeof a==="string"){s.push(targetMapping(e,t,a,i));continue}const n=conditionalMapping(a,r);if(!n)continue;const c=directMapping(e,t,n,r,i);for(const e of c){s.push(e)}}return s}function targetMapping(e,t,n,r){if(e===undefined){r(n,false);return n}if(t){r(n,true);return n+e}r(n,false);return n.replace(/\*/g,e.replace(/\$/g,"$$"))}function conditionalMapping(e,t){let n=[[e,Object.keys(e),0]];e:while(n.length>0){const[e,r,i]=n[n.length-1];const s=r.length-1;for(let a=i;a=t.length){r.folder=n}else{const e=i>0?t.slice(i):t;if(e.endsWith("*")){if(r.wildcards===null)r.wildcards=new Map;r.wildcards.set(e.slice(0,-1),n)}else{r.files.set(e,n)}}}function buildExportsFieldPathTree(e){const r=createNode();if(typeof e==="string"){r.files.set("",e);return r}else if(Array.isArray(e)){r.files.set("",e.slice());return r}const i=Object.keys(e);for(let s=0;s{"use strict";const t=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(e){const n=t.exec(e);if(!n)return null;return[n[1].replace(/\0(.)/g,"$1"),n[2]?n[2].replace(/\0(.)/g,"$1"):"",n[3]||""]}e.exports.parseIdentifier=parseIdentifier},67411:(e,t,n)=>{"use strict";const r=n(85622);const i="#".charCodeAt(0);const s="/".charCodeAt(0);const a="\\".charCodeAt(0);const c="A".charCodeAt(0);const u="Z".charCodeAt(0);const l="a".charCodeAt(0);const d="z".charCodeAt(0);const p=".".charCodeAt(0);const h=":".charCodeAt(0);const m=r.posix.normalize;const g=r.win32.normalize;const y=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});t.PathType=y;const getType=e=>{switch(e.length){case 0:return y.Empty;case 1:{const t=e.charCodeAt(0);switch(t){case p:return y.Relative;case s:return y.AbsolutePosix;case i:return y.Internal}return y.Normal}case 2:{const t=e.charCodeAt(0);switch(t){case p:{const t=e.charCodeAt(1);switch(t){case p:case s:return y.Relative}return y.Normal}case s:return y.AbsolutePosix;case i:return y.Internal}const n=e.charCodeAt(1);if(n===h){if(t>=c&&t<=u||t>=l&&t<=d){return y.AbsoluteWin}}return y.Normal}}const t=e.charCodeAt(0);switch(t){case p:{const t=e.charCodeAt(1);switch(t){case s:return y.Relative;case p:{const t=e.charCodeAt(2);if(t===s)return y.Relative;return y.Normal}}return y.Normal}case s:return y.AbsolutePosix;case i:return y.Internal}const n=e.charCodeAt(1);if(n===h){const n=e.charCodeAt(2);if((n===a||n===s)&&(t>=c&&t<=u||t>=l&&t<=d)){return y.AbsoluteWin}}return y.Normal};t.getType=getType;const normalize=e=>{switch(getType(e)){case y.Empty:return e;case y.AbsoluteWin:return g(e);case y.Relative:{const t=m(e);return getType(t)===y.Relative?t:`./${t}`}}return m(e)};t.normalize=normalize;const join=(e,t)=>{if(!t)return normalize(e);const n=getType(t);switch(n){case y.AbsolutePosix:return m(t);case y.AbsoluteWin:return g(t)}switch(getType(e)){case y.Normal:case y.Relative:case y.AbsolutePosix:return m(`${e}/${t}`);case y.AbsoluteWin:return g(`${e}\\${t}`)}switch(n){case y.Empty:return e;case y.Relative:{const t=m(e);return getType(t)===y.Relative?t:`./${t}`}}return m(e)};t.join=join;const _=new Map;const cachedJoin=(e,t)=>{let n;let r=_.get(e);if(r===undefined){_.set(e,r=new Map)}else{n=r.get(t);if(n!==undefined)return n}n=join(e,t);r.set(t,n);return n};t.cachedJoin=cachedJoin;const checkExportsFieldTarget=e=>{let t=2;let n=e.indexOf("/",2);let r=0;while(n!==-1){const i=e.slice(t,n);switch(i){case"..":{r--;if(r<0)return new Error(`Trying to access out of package scope. Requesting ${e}`);break}default:r++;break}t=n+1;n=e.indexOf("/",t)}};t.checkExportsFieldTarget=checkExportsFieldTarget},54448:(e,t,n)=>{var r=n(55757);function init(e,t,n){if(!!t&&typeof t!="string"){t=t.message||t.name}r(this,{type:e,name:e,cause:typeof t!="string"?t:n,message:t},"ewr")}function CustomError(e,t){Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);init.call(this,"CustomError",e,t)}CustomError.prototype=new Error;function createError(e,t,n){var err=function(n,r){init.call(this,t,n,r);if(t=="FilesystemError"){this.code=this.cause.code;this.path=this.cause.path;this.errno=this.cause.errno;this.message=(e.errno[this.cause.errno]?e.errno[this.cause.errno].description:this.cause.message)+(this.cause.path?" ["+this.cause.path+"]":"")}Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,err)};err.prototype=!!n?new n:new CustomError;return err}e.exports=function(e){var ce=function(t,n){return createError(e,t,n)};return{CustomError:CustomError,FilesystemError:ce("FilesystemError"),createError:ce}}},80713:(e,t,n)=>{var r=e.exports.all=[{errno:-2,code:"ENOENT",description:"no such file or directory"},{errno:-1,code:"UNKNOWN",description:"unknown error"},{errno:0,code:"OK",description:"success"},{errno:1,code:"EOF",description:"end of file"},{errno:2,code:"EADDRINFO",description:"getaddrinfo error"},{errno:3,code:"EACCES",description:"permission denied"},{errno:4,code:"EAGAIN",description:"resource temporarily unavailable"},{errno:5,code:"EADDRINUSE",description:"address already in use"},{errno:6,code:"EADDRNOTAVAIL",description:"address not available"},{errno:7,code:"EAFNOSUPPORT",description:"address family not supported"},{errno:8,code:"EALREADY",description:"connection already in progress"},{errno:9,code:"EBADF",description:"bad file descriptor"},{errno:10,code:"EBUSY",description:"resource busy or locked"},{errno:11,code:"ECONNABORTED",description:"software caused connection abort"},{errno:12,code:"ECONNREFUSED",description:"connection refused"},{errno:13,code:"ECONNRESET",description:"connection reset by peer"},{errno:14,code:"EDESTADDRREQ",description:"destination address required"},{errno:15,code:"EFAULT",description:"bad address in system call argument"},{errno:16,code:"EHOSTUNREACH",description:"host is unreachable"},{errno:17,code:"EINTR",description:"interrupted system call"},{errno:18,code:"EINVAL",description:"invalid argument"},{errno:19,code:"EISCONN",description:"socket is already connected"},{errno:20,code:"EMFILE",description:"too many open files"},{errno:21,code:"EMSGSIZE",description:"message too long"},{errno:22,code:"ENETDOWN",description:"network is down"},{errno:23,code:"ENETUNREACH",description:"network is unreachable"},{errno:24,code:"ENFILE",description:"file table overflow"},{errno:25,code:"ENOBUFS",description:"no buffer space available"},{errno:26,code:"ENOMEM",description:"not enough memory"},{errno:27,code:"ENOTDIR",description:"not a directory"},{errno:28,code:"EISDIR",description:"illegal operation on a directory"},{errno:29,code:"ENONET",description:"machine is not on the network"},{errno:31,code:"ENOTCONN",description:"socket is not connected"},{errno:32,code:"ENOTSOCK",description:"socket operation on non-socket"},{errno:33,code:"ENOTSUP",description:"operation not supported on socket"},{errno:34,code:"ENOENT",description:"no such file or directory"},{errno:35,code:"ENOSYS",description:"function not implemented"},{errno:36,code:"EPIPE",description:"broken pipe"},{errno:37,code:"EPROTO",description:"protocol error"},{errno:38,code:"EPROTONOSUPPORT",description:"protocol not supported"},{errno:39,code:"EPROTOTYPE",description:"protocol wrong type for socket"},{errno:40,code:"ETIMEDOUT",description:"connection timed out"},{errno:41,code:"ECHARSET",description:"invalid Unicode character"},{errno:42,code:"EAIFAMNOSUPPORT",description:"address family for hostname not supported"},{errno:44,code:"EAISERVICE",description:"servname not supported for ai_socktype"},{errno:45,code:"EAISOCKTYPE",description:"ai_socktype not supported"},{errno:46,code:"ESHUTDOWN",description:"cannot send after transport endpoint shutdown"},{errno:47,code:"EEXIST",description:"file already exists"},{errno:48,code:"ESRCH",description:"no such process"},{errno:49,code:"ENAMETOOLONG",description:"name too long"},{errno:50,code:"EPERM",description:"operation not permitted"},{errno:51,code:"ELOOP",description:"too many symbolic links encountered"},{errno:52,code:"EXDEV",description:"cross-device link not permitted"},{errno:53,code:"ENOTEMPTY",description:"directory not empty"},{errno:54,code:"ENOSPC",description:"no space left on device"},{errno:55,code:"EIO",description:"i/o error"},{errno:56,code:"EROFS",description:"read-only file system"},{errno:57,code:"ENODEV",description:"no such device"},{errno:58,code:"ESPIPE",description:"invalid seek"},{errno:59,code:"ECANCELED",description:"operation canceled"}];e.exports.errno={};e.exports.code={};r.forEach((function(t){e.exports.errno[t.errno]=t;e.exports.code[t.code]=t}));e.exports.custom=n(54448)(e.exports);e.exports.create=e.exports.custom.createError},16950:(e,t,n)=>{"use strict";const r=n(78120);class Definition{constructor(e,t,n,r,i,s){this.type=e;this.name=t;this.node=n;this.parent=r;this.index=i;this.kind=s}}class ParameterDefinition extends Definition{constructor(e,t,n,i){super(r.Parameter,e,t,null,n,null);this.rest=i}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(e,t,n)=>{"use strict";const r=n(42357);const i=n(60018);const s=n(36337);const a=n(24552);const c=n(78120);const u=n(98699).Scope;const l=n(42245).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(e,t){function isHashObject(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(const n in t){if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];if(isHashObject(r)){if(isHashObject(e[n])){updateDeeply(e[n],r)}else{e[n]=updateDeeply({},r)}}else{e[n]=r}}}return e}function analyze(e,t){const n=updateDeeply(defaultOptions(),t);const a=new i(n);const c=new s(n,a);c.visit(e);r(a.__currentScope===null,"currentScope should be null.");return a}e.exports={version:l,Reference:a,Variable:c,Scope:u,ScopeManager:i,analyze:analyze}},29630:(e,t,n)=>{"use strict";const r=n(92105).Syntax;const i=n(49112);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends i.Visitor{static isPattern(e){const t=e.type;return t===r.Identifier||t===r.ObjectPattern||t===r.ArrayPattern||t===r.SpreadElement||t===r.RestElement||t===r.AssignmentPattern}constructor(e,t,n){super(null,e);this.rootPattern=t;this.callback=n;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(e){const t=getLast(this.restElements);this.callback(e,{topLevel:e===this.rootPattern,rest:t!==null&&t!==undefined&&t.argument===e,assignments:this.assignments})}Property(e){if(e.computed){this.rightHandNodes.push(e.key)}this.visit(e.value)}ArrayPattern(e){for(let t=0,n=e.elements.length;t{this.rightHandNodes.push(e)}));this.visit(e.callee)}}e.exports=PatternVisitor},24552:e=>{"use strict";const t=1;const n=2;const r=t|n;class Reference{constructor(e,t,n,r,i,s,a){this.identifier=e;this.from=t;this.tainted=false;this.resolved=null;this.flag=n;if(this.isWrite()){this.writeExpr=r;this.partial=s;this.init=a}this.__maybeImplicitGlobal=i}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=t;Reference.WRITE=n;Reference.RW=r;e.exports=Reference},36337:(e,t,n)=>{"use strict";const r=n(92105).Syntax;const i=n(49112);const s=n(24552);const a=n(78120);const c=n(29630);const u=n(16950);const l=n(42357);const d=u.ParameterDefinition;const p=u.Definition;function traverseIdentifierInPattern(e,t,n,r){const i=new c(e,t,r);i.visit(t);if(n!==null&&n!==undefined){i.rightHandNodes.forEach(n.visit,n)}}class Importer extends i.Visitor{constructor(e,t){super(null,t.options);this.declaration=e;this.referencer=t}visitImport(e,t){this.referencer.visitPattern(e,(e=>{this.referencer.currentScope().__define(e,new p(a.ImportBinding,e,t,this.declaration,null,null))}))}ImportNamespaceSpecifier(e){const t=e.local||e.id;if(t){this.visitImport(t,e)}}ImportDefaultSpecifier(e){const t=e.local||e.id;this.visitImport(t,e)}ImportSpecifier(e){const t=e.local||e.id;if(e.name){this.visitImport(e.name,e)}else{this.visitImport(t,e)}}}class Referencer extends i.Visitor{constructor(e,t){super(null,e);this.options=e;this.scopeManager=t;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(e){while(this.currentScope()&&e===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(e){const t=this.isInnerMethodDefinition;this.isInnerMethodDefinition=e;return t}popInnerMethodDefinition(e){this.isInnerMethodDefinition=e}referencingDefaultValue(e,t,n,r){const i=this.currentScope();t.forEach((t=>{i.__referencing(e,s.WRITE,t.right,n,e!==t.left,r)}))}visitPattern(e,t,n){let r=t;let i=n;if(typeof t==="function"){i=t;r={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,r.processRightHandNodes?this:null,i)}visitFunction(e){let t,n;if(e.type===r.FunctionDeclaration){this.currentScope().__define(e.id,new p(a.FunctionName,e.id,e,null,null,null))}if(e.type===r.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const i=this;function visitPatternCallback(n,r){i.currentScope().__define(n,new d(n,e,t,r.rest));i.referencingDefaultValue(n,r.assignments,null,true)}for(t=0,n=e.params.length;t{this.currentScope().__define(t,new d(t,e,e.params.length,true))}))}if(e.body){if(e.body.type===r.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===r.ClassDeclaration){this.currentScope().__define(e.id,new p(a.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new p(a.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let t;if(e.computed){this.visit(e.key)}const n=e.type===r.MethodDefinition;if(n){t=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(n){this.popInnerMethodDefinition(t)}}visitForIn(e){if(e.left.type===r.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===r.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,(t=>{this.currentScope().__referencing(t,s.WRITE,e.right,null,true,true)}))}else{this.visitPattern(e.left,{processRightHandNodes:true},((t,n)=>{let r=null;if(!this.currentScope().isStrict){r={pattern:t,node:e}}this.referencingDefaultValue(t,n.assignments,r,false);this.currentScope().__referencing(t,s.WRITE,e.right,r,true,false)}))}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,t,n,r){const i=n.declarations[r];const a=i.init;this.visitPattern(i.id,{processRightHandNodes:true},((c,u)=>{e.__define(c,new p(t,c,i,n,r,n.kind));this.referencingDefaultValue(c,u.assignments,null,true);if(a){this.currentScope().__referencing(c,s.WRITE,a,null,!u.topLevel,true)}}))}AssignmentExpression(e){if(c.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},((t,n)=>{let r=null;if(!this.currentScope().isStrict){r={pattern:t,node:e}}this.referencingDefaultValue(t,n.assignments,r,false);this.currentScope().__referencing(t,s.WRITE,e.right,r,!n.topLevel,false)}))}else{this.currentScope().__referencing(e.left,s.RW,e.right)}}else{this.visit(e.left)}this.visit(e.right)}CatchClause(e){this.scopeManager.__nestCatchScope(e);this.visitPattern(e.param,{processRightHandNodes:true},((t,n)=>{this.currentScope().__define(t,new p(a.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(t,n.assignments,null,true)}));this.visit(e.body);this.close(e)}Program(e){this.scopeManager.__nestGlobalScope(e);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(e,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(e)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(e);this.close(e)}Identifier(e){this.currentScope().__referencing(e)}UpdateExpression(e){if(c.isPattern(e.argument)){this.currentScope().__referencing(e.argument,s.RW,null)}else{this.visitChildren(e)}}MemberExpression(e){this.visit(e.object);if(e.computed){this.visit(e.property)}}Property(e){this.visitProperty(e)}MethodDefinition(e){this.visitProperty(e)}BreakStatement(){}ContinueStatement(){}LabeledStatement(e){this.visit(e.body)}ForStatement(e){if(e.init&&e.init.type===r.VariableDeclaration&&e.init.kind!=="var"){this.scopeManager.__nestForScope(e)}this.visitChildren(e);this.close(e)}ClassExpression(e){this.visitClass(e)}ClassDeclaration(e){this.visitClass(e)}CallExpression(e){if(!this.scopeManager.__ignoreEval()&&e.callee.type===r.Identifier&&e.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(e)}BlockStatement(e){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(e)}this.visitChildren(e);this.close(e)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(e){this.visit(e.object);this.scopeManager.__nestWithScope(e);this.visit(e.body);this.close(e)}VariableDeclaration(e){const t=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let n=0,r=e.declarations.length;n{"use strict";const r=n(98699);const i=n(42357);const s=r.GlobalScope;const a=r.CatchScope;const c=r.WithScope;const u=r.ModuleScope;const l=r.ClassScope;const d=r.SwitchScope;const p=r.FunctionScope;const h=r.ForScope;const m=r.FunctionExpressionNameScope;const g=r.BlockScope;class ScopeManager{constructor(e){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=e;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(e){return this.__nodeToScope.get(e)}getDeclaredVariables(e){return this.__declaredVariables.get(e)||[]}acquire(e,t){function predicate(e){if(e.type==="function"&&e.functionExpressionScope){return false}return true}const n=this.__get(e);if(!n||n.length===0){return null}if(n.length===1){return n[0]}if(t){for(let e=n.length-1;e>=0;--e){const t=n[e];if(predicate(t)){return t}}}else{for(let e=0,t=n.length;e=6}}e.exports=ScopeManager},98699:(e,t,n)=>{"use strict";const r=n(92105).Syntax;const i=n(24552);const s=n(78120);const a=n(16950).Definition;const c=n(42357);function isStrictScope(e,t,n,i){let s;if(e.upper&&e.upper.isStrict){return true}if(n){return true}if(e.type==="class"||e.type==="module"){return true}if(e.type==="block"||e.type==="switch"){return false}if(e.type==="function"){if(t.type===r.ArrowFunctionExpression&&t.body.type!==r.BlockStatement){return false}if(t.type===r.Program){s=t}else{s=t.body}if(!s){return false}}else if(e.type==="global"){s=t}else{return false}if(i){for(let e=0,t=s.body.length;e0&&r.every(shouldBeStatically)}__staticCloseRef(e){if(!this.__resolve(e)){this.__delegateToUpperScope(e)}}__dynamicCloseRef(e){let t=this;do{t.through.push(e);t=t.upper}while(t)}__globalCloseRef(e){if(this.__shouldStaticallyCloseForGlobal(e)){this.__staticCloseRef(e)}else{this.__dynamicCloseRef(e)}}__close(e){let t;if(this.__shouldStaticallyClose(e)){t=this.__staticCloseRef}else if(this.type!=="global"){t=this.__dynamicCloseRef}else{t=this.__globalCloseRef}for(let e=0,n=this.__left.length;ee.name.range[0]>=n)))}}class ForScope extends Scope{constructor(e,t,n){super(e,"for",t,n,false)}}class ClassScope extends Scope{constructor(e,t,n){super(e,"class",t,n,false)}}e.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:e=>{"use strict";class Variable{constructor(e,t){this.name=e;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=t}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";e.exports=Variable},49112:(e,t,n)=>{(function(){"use strict";var e=n(99054);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(t,n){return(t===e.Syntax.ObjectExpression||t===e.Syntax.ObjectPattern)&&n==="properties"}function Visitor(t,n){n=n||{};this.__visitor=t||this;this.__childVisitorKeys=n.childVisitorKeys?Object.assign({},e.VisitorKeys,n.childVisitorKeys):e.VisitorKeys;if(n.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof n.fallback==="function"){this.__fallback=n.fallback}}Visitor.prototype.visitChildren=function(t){var n,r,i,s,a,c,u;if(t==null){return}n=t.type||e.Syntax.Property;r=this.__childVisitorKeys[n];if(!r){if(this.__fallback){r=this.__fallback(t)}else{throw new Error("Unknown node type "+n+".")}}for(i=0,s=r.length;i{(function clone(e){"use strict";var t,n,r,i,s,a;function deepCopy(e){var t={},n,r;for(n in e){if(e.hasOwnProperty(n)){r=e[n];if(typeof r==="object"&&r!==null){t[n]=deepCopy(r)}else{t[n]=r}}}return t}function upperBound(e,t){var n,r,i,s;r=e.length;i=0;while(r){n=r>>>1;s=i+n;if(t(e[s])){r=n}else{i=s+1;r-=n+1}}return i}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};r={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};i={};s={};a={};n={Break:i,Skip:s,Remove:a};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,n,r){this.node=e;this.path=t;this.wrap=n;this.ref=r}function Controller(){}Controller.prototype.path=function path(){var e,t,n,r,i,s;function addToPath(e,t){if(Array.isArray(t)){for(n=0,r=t.length;n=0;--n){if(e[n].node===t){return true}}return false}Controller.prototype.traverse=function traverse(e,t){var n,r,a,c,u,l,d,p,h,m,g,y;this.__initialize(e,t);y={};n=this.__worklist;r=this.__leavelist;n.push(new Element(e,null,null,null));r.push(new Element(null,null,null,null));while(n.length){a=n.pop();if(a===y){a=r.pop();l=this.__execute(t.leave,a);if(this.__state===i||l===i){return}continue}if(a.node){l=this.__execute(t.enter,a);if(this.__state===i||l===i){return}n.push(y);r.push(a);if(this.__state===s||l===s){continue}c=a.node;u=c.type||a.wrap;m=this.__keys[u];if(!m){if(this.__fallback){m=this.__fallback(c)}else{throw new Error("Unknown node type "+u+".")}}p=m.length;while((p-=1)>=0){d=m[p];g=c[d];if(!g){continue}if(Array.isArray(g)){h=g.length;while((h-=1)>=0){if(!g[h]){continue}if(candidateExistsInLeaveList(r,g[h])){continue}if(isProperty(u,m[p])){a=new Element(g[h],[d,h],"Property",null)}else if(isNode(g[h])){a=new Element(g[h],[d,h],null,null)}else{continue}n.push(a)}}else if(isNode(g)){if(candidateExistsInLeaveList(r,g)){continue}n.push(new Element(g,d,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var n,r,c,u,l,d,p,h,m,g,y,_,b;function removeElem(e){var t,r,i,s;if(e.ref.remove()){r=e.ref.key;s=e.ref.parent;t=n.length;while(t--){i=n[t];if(i.ref&&i.ref.parent===s){if(i.ref.key=0){b=m[p];g=c[b];if(!g){continue}if(Array.isArray(g)){h=g.length;while((h-=1)>=0){if(!g[h]){continue}if(isProperty(u,m[p])){d=new Element(g[h],[b,h],"Property",new Reference(g,h))}else if(isNode(g[h])){d=new Element(g[h],[b,h],null,new Reference(g,h))}else{continue}n.push(d)}}else if(isNode(g)){n.push(new Element(g,b,null,new Reference(c,b)))}}}return _.root};function traverse(e,t){var n=new Controller;return n.traverse(e,t)}function replace(e,t){var n=new Controller;return n.replace(e,t)}function extendCommentRange(e,t){var n;n=upperBound(t,(function search(t){return t.range[0]>e.range[0]}));e.extendedRange=[e.range[0],e.range[1]];if(n!==t.length){e.extendedRange[1]=t[n].range[0]}n-=1;if(n>=0){e.extendedRange[0]=t[n].range[1]}return e}function attachComments(e,t,r){var i=[],s,a,c,u;if(!e.range){throw new Error("attachComments needs range information")}if(!r.length){if(t.length){for(c=0,a=t.length;ce.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(u,1)}else{u+=1}}if(u===i.length){return n.Break}if(i[u].extendedRange[0]>e.range[1]){return n.Skip}}});u=0;traverse(e,{leave:function(e){var t;while(ue.range[1]){return n.Skip}}});return e}e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=r;e.VisitorOption=n;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},92105:(e,t,n)=>{(function clone(e){"use strict";var t,r,i,s,a,c;function deepCopy(e){var t={},n,r;for(n in e){if(e.hasOwnProperty(n)){r=e[n];if(typeof r==="object"&&r!==null){t[n]=deepCopy(r)}else{t[n]=r}}}return t}function upperBound(e,t){var n,r,i,s;r=e.length;i=0;while(r){n=r>>>1;s=i+n;if(t(e[s])){r=n}else{i=s+1;r-=n+1}}return i}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};s={};a={};c={};r={Break:s,Skip:a,Remove:c};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,n,r){this.node=e;this.path=t;this.wrap=n;this.ref=r}function Controller(){}Controller.prototype.path=function path(){var e,t,n,r,i,s;function addToPath(e,t){if(Array.isArray(t)){for(n=0,r=t.length;n=0){d=m[p];g=c[d];if(!g){continue}if(Array.isArray(g)){h=g.length;while((h-=1)>=0){if(!g[h]){continue}if(isProperty(u,m[p])){i=new Element(g[h],[d,h],"Property",null)}else if(isNode(g[h])){i=new Element(g[h],[d,h],null,null)}else{continue}n.push(i)}}else if(isNode(g)){n.push(new Element(g,d,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var n,r,i,u,l,d,p,h,m,g,y,_,b;function removeElem(e){var t,r,i,s;if(e.ref.remove()){r=e.ref.key;s=e.ref.parent;t=n.length;while(t--){i=n[t];if(i.ref&&i.ref.parent===s){if(i.ref.key=0){b=m[p];g=i[b];if(!g){continue}if(Array.isArray(g)){h=g.length;while((h-=1)>=0){if(!g[h]){continue}if(isProperty(u,m[p])){d=new Element(g[h],[b,h],"Property",new Reference(g,h))}else if(isNode(g[h])){d=new Element(g[h],[b,h],null,new Reference(g,h))}else{continue}n.push(d)}}else if(isNode(g)){n.push(new Element(g,b,null,new Reference(i,b)))}}}return _.root};function traverse(e,t){var n=new Controller;return n.traverse(e,t)}function replace(e,t){var n=new Controller;return n.replace(e,t)}function extendCommentRange(e,t){var n;n=upperBound(t,(function search(t){return t.range[0]>e.range[0]}));e.extendedRange=[e.range[0],e.range[1]];if(n!==t.length){e.extendedRange[1]=t[n].range[0]}n-=1;if(n>=0){e.extendedRange[0]=t[n].range[1]}return e}function attachComments(e,t,n){var i=[],s,a,c,u;if(!e.range){throw new Error("attachComments needs range information")}if(!n.length){if(t.length){for(c=0,a=t.length;ce.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(u,1)}else{u+=1}}if(u===i.length){return r.Break}if(i[u].extendedRange[0]>e.range[1]){return r.Skip}}});u=0;traverse(e,{leave:function(e){var t;while(ue.range[1]){return r.Skip}}});return e}e.version=n(82788).i8;e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=i;e.VisitorOption=r;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},55245:e=>{"use strict";e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var n,r,i;if(Array.isArray(e)){n=e.length;if(n!=t.length)return false;for(r=n;r--!==0;)if(!equal(e[r],t[r]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();i=Object.keys(e);n=i.length;if(n!==Object.keys(t).length)return false;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return false;for(r=n;r--!==0;){var s=i[r];if(!equal(e[s],t[s]))return false}return true}return e!==e&&t!==t}},75986:e=>{"use strict";e.exports=function(e,t){if(!t)t={};if(typeof t==="function")t={cmp:t};var n=typeof t.cycles==="boolean"?t.cycles:false;var r=t.cmp&&function(e){return function(t){return function(n,r){var i={key:n,value:t[n]};var s={key:r,value:t[r]};return e(i,s)}}}(t.cmp);var i=[];return function stringify(e){if(e&&e.toJSON&&typeof e.toJSON==="function"){e=e.toJSON()}if(e===undefined)return;if(typeof e=="number")return isFinite(e)?""+e:"null";if(typeof e!=="object")return JSON.stringify(e);var t,s;if(Array.isArray(e)){s="[";for(t=0;t{"use strict";var t="Function.prototype.bind called on incompatible ";var n=Array.prototype.slice;var r=Object.prototype.toString;var i="[object Function]";e.exports=function bind(e){var s=this;if(typeof s!=="function"||r.call(s)!==i){throw new TypeError(t+s)}var a=n.call(arguments,1);var c;var binder=function(){if(this instanceof c){var t=s.apply(this,a.concat(n.call(arguments)));if(Object(t)===t){return t}return this}else{return s.apply(e,a.concat(n.call(arguments)))}};var u=Math.max(0,s.length-a.length);var l=[];for(var d=0;d{"use strict";var r=n(5426);e.exports=Function.prototype.bind||r},70554:e=>{e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("Expected a string")}var n=String(e);var r="";var i=t?!!t.extended:false;var s=t?!!t.globstar:false;var a=false;var c=t&&typeof t.flags==="string"?t.flags:"";var u;for(var l=0,d=n.length;l1&&(p==="/"||p===undefined)&&(m==="/"||m===undefined);if(g){r+="((?:[^/]*(?:/|$))*)";l++}else{r+="([^/]*)"}}break;default:r+=u}}if(!c||!~c.indexOf("g")){r="^"+r+"$"}return new RegExp(r,c)}},40858:e=>{"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var n={__proto__:t(e)};else var n=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}));return n}},15808:(e,t,n)=>{var r=n(35747);var i=n(82444);var s=n(94073);var a=n(40858);var c=n(31669);var u;var l;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){u=Symbol.for("graceful-fs.queue");l=Symbol.for("graceful-fs.previous")}else{u="___graceful-fs.queue";l="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,u,{get:function(){return t}})}var d=noop;if(c.debuglog)d=c.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))d=function(){var e=c.format.apply(c,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!r[u]){var p=global[u]||[];publishQueue(r,p);r.close=function(e){function close(t,n){return e.call(r,t,(function(e){if(!e){retry()}if(typeof n==="function")n.apply(this,arguments)}))}Object.defineProperty(close,l,{value:e});return close}(r.close);r.closeSync=function(e){function closeSync(t){e.apply(r,arguments);retry()}Object.defineProperty(closeSync,l,{value:e});return closeSync}(r.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){d(r[u]);n(42357).equal(r[u].length,0)}))}}if(!global[u]){publishQueue(global,r[u])}e.exports=patch(a(r));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched){e.exports=patch(r);r.__patched=true}function patch(e){i(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,n,r){if(typeof n==="function")r=n,n=null;return go$readFile(e,n,r);function go$readFile(e,n,r){return t(e,n,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,n,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}}))}}var n=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,r,i){if(typeof r==="function")i=r,r=null;return go$writeFile(e,t,r,i);function go$writeFile(e,t,r,i){return n(e,t,r,(function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$writeFile,[e,t,r,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}))}}var r=e.appendFile;if(r)e.appendFile=appendFile;function appendFile(e,t,n,i){if(typeof n==="function")i=n,n=null;return go$appendFile(e,t,n,i);function go$appendFile(e,t,n,i){return r(e,t,n,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$appendFile,[e,t,n,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}))}}var a=e.copyFile;if(a)e.copyFile=copyFile;function copyFile(e,t,n,r){if(typeof n==="function"){r=n;n=0}return a(e,t,n,(function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([a,[e,t,n,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}}))}var c=e.readdir;e.readdir=readdir;function readdir(e,t,n){var r=[e];if(typeof t!=="function"){r.push(t)}else{n=t}r.push(go$readdir$cb);return go$readdir(r);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[r]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}}function go$readdir(t){return c.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var u=s(e);ReadStream=u.ReadStream;WriteStream=u.WriteStream}var l=e.ReadStream;if(l){ReadStream.prototype=Object.create(l.prototype);ReadStream.prototype.open=ReadStream$open}var d=e.WriteStream;if(d){WriteStream.prototype=Object.create(d.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var p=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return p},set:function(e){p=e},enumerable:true,configurable:true});var h=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return h},set:function(e){h=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return l.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,n){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=n;e.emit("open",n);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return d.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,n){if(t){e.destroy();e.emit("error",t)}else{e.fd=n;e.emit("open",n)}}))}function createReadStream(t,n){return new e.ReadStream(t,n)}function createWriteStream(t,n){return new e.WriteStream(t,n)}var m=e.open;e.open=open;function open(e,t,n,r){if(typeof n==="function")r=n,n=null;return go$open(e,t,n,r);function go$open(e,t,n,r){return m(e,t,n,(function(i,s){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$open,[e,t,n,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}}))}}return e}function enqueue(e){d("ENQUEUE",e[0].name,e[1]);r[u].push(e)}function retry(){var e=r[u].shift();if(e){d("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},94073:(e,t,n)=>{var r=n(92413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,n){if(!(this instanceof ReadStream))return new ReadStream(t,n);r.call(this);var i=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;n=n||{};var s=Object.keys(n);for(var a=0,c=s.length;athis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){i._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){i.emit("error",e);i.readable=false;return}i.fd=t;i.emit("open",t);i._read()}))}function WriteStream(t,n){if(!(this instanceof WriteStream))return new WriteStream(t,n);r.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;n=n||{};var i=Object.keys(n);for(var s=0,a=i.length;s= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(e,t,n)=>{var r=n(27619);var i=process.cwd;var s=null;var a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!s)s=i.call(process);return s};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var c=process.chdir;process.chdir=function(e){s=null;c.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,c)}e.exports=patch;function patch(e){if(r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,n){if(n)process.nextTick(n)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,n,r){if(r)process.nextTick(r)};e.lchownSync=function(){}}if(a==="win32"){e.rename=function(t){return function(n,r,i){var s=Date.now();var a=0;t(n,r,(function CB(c){if(c&&(c.code==="EACCES"||c.code==="EPERM")&&Date.now()-s<6e4){setTimeout((function(){e.stat(r,(function(e,s){if(e&&e.code==="ENOENT")t(n,r,CB);else i(c)}))}),a);if(a<100)a+=10;return}if(i)i(c)}))}}(e.rename)}e.read=function(t){function read(n,r,i,s,a,c){var u;if(c&&typeof c==="function"){var l=0;u=function(d,p,h){if(d&&d.code==="EAGAIN"&&l<10){l++;return t.call(e,n,r,i,s,a,u)}c.apply(this,arguments)}}return t.call(e,n,r,i,s,a,u)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,t);return read}(e.read);e.readSync=function(t){return function(n,r,i,s,a){var c=0;while(true){try{return t.call(e,n,r,i,s,a)}catch(e){if(e.code==="EAGAIN"&&c<10){c++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,n,i){e.open(t,r.O_WRONLY|r.O_SYMLINK,n,(function(t,r){if(t){if(i)i(t);return}e.fchmod(r,n,(function(t){e.close(r,(function(e){if(i)i(t||e)}))}))}))};e.lchmodSync=function(t,n){var i=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,n);var s=true;var a;try{a=e.fchmodSync(i,n);s=false}finally{if(s){try{e.closeSync(i)}catch(e){}}else{e.closeSync(i)}}return a}}function patchLutimes(e){if(r.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,n,i,s){e.open(t,r.O_SYMLINK,(function(t,r){if(t){if(s)s(t);return}e.futimes(r,n,i,(function(t){e.close(r,(function(e){if(s)s(t||e)}))}))}))};e.lutimesSync=function(t,n,i){var s=e.openSync(t,r.O_SYMLINK);var a;var c=true;try{a=e.futimesSync(s,n,i);c=false}finally{if(c){try{e.closeSync(s)}catch(e){}}else{e.closeSync(s)}}return a}}else{e.lutimes=function(e,t,n,r){if(r)process.nextTick(r)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(n,r,i){return t.call(e,n,r,(function(e){if(chownErOk(e))e=null;if(i)i.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(n,r){try{return t.call(e,n,r)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(n,r,i,s){return t.call(e,n,r,i,(function(e){if(chownErOk(e))e=null;if(s)s.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(n,r,i){try{return t.call(e,n,r,i)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(n,r,i){if(typeof r==="function"){i=r;r=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(i)i.apply(this,arguments)}return r?t.call(e,n,r,callback):t.call(e,n,callback)}}function statFixSync(t){if(!t)return t;return function(n,r){var i=r?t.call(e,n,r):t.call(e,n);if(i.uid<0)i.uid+=4294967296;if(i.gid<0)i.gid+=4294967296;return i}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},86811:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":e.length===1?"-":"--";const r=t.indexOf(n+e);const i=t.indexOf("--");return r!==-1&&(i===-1||r{"use strict";var r=n(9120);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},28309:(e,t,n)=>{try{var r=n(31669);if(typeof r.inherits!=="function")throw"";e.exports=r.inherits}catch(t){e.exports=n(70474)}},70474:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},13747:(e,t,n)=>{"use strict";var r=n(79946);function specifierIncluded(e,t){var n=e.split(".");var r=t.split(" ");var i=r.length>1?r[0]:"=";var s=(r.length>1?r[1]:r[0]).split(".");for(var a=0;a<3;++a){var c=parseInt(n[a]||0,10);var u=parseInt(s[a]||0,10);if(c===u){continue}if(i==="<"){return c="){return c>=u}return false}return i===">="}function matchesRange(e,t){var n=t.split(/ ?&& ?/);if(n.length===0){return false}for(var r=0;r{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},15986:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=n(42195);function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}class Farm{constructor(e,t,n){_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_cacheKeys",void 0);_defineProperty(this,"_callback",void 0);_defineProperty(this,"_last",void 0);_defineProperty(this,"_locks",void 0);_defineProperty(this,"_numOfWorkers",void 0);_defineProperty(this,"_offset",void 0);_defineProperty(this,"_queue",void 0);this._cacheKeys=Object.create(null);this._callback=t;this._last=[];this._locks=[];this._numOfWorkers=e;this._offset=0;this._queue=[];if(n){this._computeWorkerKey=n}}doWork(e,...t){const n=new Set;const addCustomMessageListener=e=>{n.add(e);return()=>{n.delete(e)}};const onCustomMessage=e=>{n.forEach((t=>t(e)))};const i=new Promise(((i,s)=>{const a=this._computeWorkerKey;const c=[r.CHILD_MESSAGE_CALL,false,e,t];let u=null;let l=null;if(a){l=a.call(this,e,...t);u=l==null?null:this._cacheKeys[l]}const onStart=e=>{if(l!=null){this._cacheKeys[l]=e}};const onEnd=(e,t)=>{n.clear();if(e){s(e)}else{i(t)}};const d={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:c};if(u){this._enqueue(d,u.getWorkerId())}else{this._push(d)}}));i.UNSTABLE_onCustomMessage=addCustomMessageListener;return i}_getNextTask(e){let t=this._queue[e];while(t&&t.task.request[1]){t=t.next||null}this._queue[e]=t;return t&&t.task}_process(e){if(this._isLocked(e)){return this}const t=this._getNextTask(e);if(!t){return this}const onEnd=(n,r)=>{t.onEnd(n,r);this._unlock(e);this._process(e)};t.request[1]=true;this._lock(e);this._callback(e,t.request,t.onStart,onEnd,t.onCustomMessage);return this}_enqueue(e,t){const n={next:null,task:e};if(e.request[1]){return this}if(this._queue[t]){this._last[t].next=n}else{this._queue[t]=n}this._last[t]=n;this._process(t);return this}_push(e){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=_interopRequireDefault(n(68189));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const canUseWorkerThreads=()=>{try{n(65013);return true}catch{return false}};class WorkerPool extends r.default{send(e,t,n,r,i){this.getWorkerById(e).send(t,n,r,i)}createWorker(e){let t;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){t=n(12295).Z}else{t=n(17164).Z}return new t(e)}}var i=WorkerPool;t.default=i},68189:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function path(){const e=_interopRequireWildcard(n(85622));path=function(){return e};return e}function _mergeStream(){const e=_interopRequireDefault(n(33089));_mergeStream=function(){return e};return e}function _types(){const e=n(42195);_types=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;if(s&&(s.get||s.set)){Object.defineProperty(n,i,s)}else{n[i]=e[i]}}}n.default=e;if(t){t.set(e,n)}return n}function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}const r=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(e,t){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=t;this._workers=new Array(t.numWorkers);if(!path().isAbsolute(e)){e=require.resolve(e)}const n=(0,_mergeStream().default)();const r=(0,_mergeStream().default)();const{forkOptions:i,maxRetries:s,resourceLimits:a,setupArgs:c}=t;for(let u=0;u{e.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let t=false;const n=setTimeout((()=>{e.forceExit();t=true}),r);await e.waitForExit();clearTimeout(n);return t}));const t=await Promise.all(e);return t.reduce(((e,t)=>({forceExited:e.forceExited||t})),{forceExited:false})}}t.default=BaseWorkerPool},69419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"messageParent",{enumerable:true,get:function(){return s.default}});t.default=void 0;function _os(){const e=n(12087);_os=function(){return e};return e}var r=_interopRequireDefault(n(15986));var i=_interopRequireDefault(n(61315));var s=_interopRequireDefault(n(27008));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function getExposedMethods(e,t){let n=t.exposedMethods;if(!n){const t=require(e);n=Object.keys(t).filter((e=>typeof t[e]==="function"));if(typeof t==="function"){n=[...n,"default"]}}return n}class JestWorker{constructor(e,t){var n,s,a,c,u,l;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...t};this._ending=false;const d={enableWorkerThreads:(n=this._options.enableWorkerThreads)!==null&&n!==void 0?n:false,forkOptions:(s=this._options.forkOptions)!==null&&s!==void 0?s:{},maxRetries:(a=this._options.maxRetries)!==null&&a!==void 0?a:3,numWorkers:(c=this._options.numWorkers)!==null&&c!==void 0?c:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(u=this._options.resourceLimits)!==null&&u!==void 0?u:{},setupArgs:(l=this._options.setupArgs)!==null&&l!==void 0?l:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(e,d)}else{this._workerPool=new i.default(e,d)}this._farm=new r.default(d.numWorkers,this._workerPool.send.bind(this._workerPool),this._options.computeWorkerKey);this._bindExposedWorkerMethods(e,this._options)}_bindExposedWorkerMethods(e,t){getExposedMethods(e,t).forEach((e=>{if(e.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(e)){throw new TypeError("Cannot define a method called "+e)}this[e]=this._callFunctionWithArgs.bind(this,e)}))}_callFunctionWithArgs(e,...t){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(e,...t)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}t.default=JestWorker},42195:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PARENT_MESSAGE_CUSTOM=t.PARENT_MESSAGE_SETUP_ERROR=t.PARENT_MESSAGE_CLIENT_ERROR=t.PARENT_MESSAGE_OK=t.CHILD_MESSAGE_END=t.CHILD_MESSAGE_CALL=t.CHILD_MESSAGE_INITIALIZE=void 0;const n=0;t.CHILD_MESSAGE_INITIALIZE=n;const r=1;t.CHILD_MESSAGE_CALL=r;const i=2;t.CHILD_MESSAGE_END=i;const s=0;t.PARENT_MESSAGE_OK=s;const a=1;t.PARENT_MESSAGE_CLIENT_ERROR=a;const c=2;t.PARENT_MESSAGE_SETUP_ERROR=c;const u=3;t.PARENT_MESSAGE_CUSTOM=u},17164:(e,t,n)=>{"use strict";var r;r={value:true};t.Z=void 0;function _child_process(){const e=n(63129);_child_process=function(){return e};return e}function _stream(){const e=n(92413);_stream=function(){return e};return e}function _mergeStream(){const e=_interopRequireDefault(n(33089));_mergeStream=function(){return e};return e}function _supportsColor(){const e=n(96204);_supportsColor=function(){return e};return e}function _types(){const e=n(42195);_types=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}const i=128;const s=i+9;const a=i+15;const c=500;class ChildProcessWorker{constructor(e){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=e;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((e=>{this._resolveExitPromise=e}));this.initialize()}initialize(){const e=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const t=(0,_child_process().fork)(n.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...e},execArgv:process.execArgv.filter((e=>!/^--(debug|inspect)/.test(e))),silent:true,...this._options.forkOptions});if(t.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(t.stdout)}if(t.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(t.stderr)}t.on("message",this._onMessage.bind(this));t.on("exit",this._onExit.bind(this));t.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=t;this._retries++;if(this._retries>this._options.maxRetries){const e=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,e.name,e.message,e.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(e){let t;switch(e[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,e[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:t=e[4];if(t!=null&&typeof t==="object"){const n=t;const r=global[e[1]];const i=typeof r==="function"?r:Error;t=new i(e[2]);t.type=e[1];t.stack=e[3];for(const e in n){t[e]=n[e]}}this._onProcessEnd(t,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:t=new Error("Error when calling setup: "+e[2]);t.type=e[1];t.stack=e[3];this._onProcessEnd(t,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(e[1]);break;default:throw new TypeError("Unexpected response from worker: "+e[0])}}_onExit(e){if(e!==0&&e!==a&&e!==s){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(e,t,n,r){t(this);this._onProcessEnd=(...e)=>{this._request=null;return n(...e)};this._onCustomMessage=(...e)=>r(...e);this._request=e;this._retries=0;this._child.send(e)}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const e=setTimeout((()=>this._child.kill("SIGKILL")),c);this._exitPromise.then((()=>clearTimeout(e)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}t.Z=ChildProcessWorker},12295:(e,t,n)=>{"use strict";var r;r={value:true};t.Z=void 0;function path(){const e=_interopRequireWildcard(n(85622));path=function(){return e};return e}function _stream(){const e=n(92413);_stream=function(){return e};return e}function _worker_threads(){const e=n(65013);_worker_threads=function(){return e};return e}function _mergeStream(){const e=_interopRequireDefault(n(33089));_mergeStream=function(){return e};return e}function _types(){const e=n(42195);_types=function(){return e};return e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;if(s&&(s.get||s.set)){Object.defineProperty(n,i,s)}else{n[i]=e[i]}}}n.default=e;if(t){t.set(e,n)}return n}function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}class ExperimentalWorker{constructor(e){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=e;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((e=>{this._resolveExitPromise=e}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((e=>!/^--(debug|inspect)/.test(e))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const e=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,e.name,e.message,e.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(e){let t;switch(e[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,e[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:t=e[4];if(t!=null&&typeof t==="object"){const n=t;const r=global[e[1]];const i=typeof r==="function"?r:Error;t=new i(e[2]);t.type=e[1];t.stack=e[3];for(const e in n){t[e]=n[e]}}this._onProcessEnd(t,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:t=new Error("Error when calling setup: "+e[2]);t.type=e[1];t.stack=e[3];this._onProcessEnd(t,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(e[1]);break;default:throw new TypeError("Unexpected response from worker: "+e[0])}}_onExit(e){if(e!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(e,t,n,r){t(this);this._onProcessEnd=(...e)=>{this._request=null;return n(...e)};this._onCustomMessage=(...e)=>r(...e);this._request=e;this._retries=0;this._worker.postMessage(e)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}t.Z=ExperimentalWorker},27008:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function _types(){const e=n(42195);_types=function(){return e};return e}const isWorkerThread=()=>{try{const{isMainThread:e,parentPort:t}=n(65013);return!e&&t}catch{return false}};const messageParent=(e,t=process)=>{try{if(isWorkerThread()){const{parentPort:t}=n(65013);t.postMessage([_types().PARENT_MESSAGE_CUSTOM,e])}else if(typeof t.send==="function"){t.send([_types().PARENT_MESSAGE_CUSTOM,e])}}catch{throw new Error('"messageParent" can only be used inside a worker')}};var r=messageParent;t.default=r},78688:e=>{"use strict";e.exports=parseJson;function parseJson(e,t,n){n=n||20;try{return JSON.parse(e,t)}catch(t){if(typeof e!=="string"){const t=Array.isArray(e)&&e.length===0;const n="Cannot parse "+(t?"an empty array":String(e));throw new TypeError(n)}const r=t.message.match(/^Unexpected token.*position\s+(\d+)/i);const i=r?+r[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(i!=null){const r=i<=n?0:i-n;const s=i+n>=e.length?e.length:i+n;t.message+=` while parsing near '${r===0?"":"..."}${e.slice(r,s)}${s===e.length?"":"..."}'`}else{t.message+=` while parsing '${e.slice(0,n*2)}'`}throw t}}},46833:e=>{"use strict";var t=e.exports=function(e,t,n){if(typeof t=="function"){n=t;t={}}n=t.cb||n;var r=typeof n=="function"?n:n.pre||function(){};var i=n.post||function(){};_traverse(t,r,i,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,n,r,i,s,a,c,u,l,d){if(i&&typeof i=="object"&&!Array.isArray(i)){n(i,s,a,c,u,l,d);for(var p in i){var h=i[p];if(Array.isArray(h)){if(p in t.arrayKeywords){for(var m=0;m{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(14465);var i=_interopRequireDefault(r);var s=n(59977);var a=_interopRequireDefault(s);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default={parse:i.default,stringify:a.default};e.exports=t["default"]},14465:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=parse;var i=n(58034);var s=_interopRequireWildcard(i);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}}t.default=e;return t}}var a=void 0;var c=void 0;var u=void 0;var l=void 0;var d=void 0;var p=void 0;var h=void 0;var m=void 0;var g=void 0;function parse(e,t){a=String(e);c="start";u=[];l=0;d=1;p=0;h=undefined;m=undefined;g=undefined;do{h=lex();w[c]()}while(h.type!=="eof");if(typeof t==="function"){return internalize({"":g},"",t)}return g}function internalize(e,t,n){var i=e[t];if(i!=null&&(typeof i==="undefined"?"undefined":r(i))==="object"){for(var s in i){var a=internalize(i,s,n);if(a===undefined){delete i[s]}else{i[s]=a}}}return n.call(e,t,i)}var y=void 0;var _=void 0;var b=void 0;var x=void 0;var k=void 0;function lex(){y="default";_="";b=false;x=1;for(;;){k=peek();var e=E[y]();if(e){return e}}}function peek(){if(a[l]){return String.fromCodePoint(a.codePointAt(l))}}function read(){var e=peek();if(e==="\n"){d++;p=0}else if(e){p+=e.length}else{p++}if(e){l+=e.length}return e}var E={default:function _default(){switch(k){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();y="comment";return;case undefined:read();return newToken("eof")}if(s.isSpaceSeparator(k)){read();return}return E[c]()},comment:function comment(){switch(k){case"*":read();y="multiLineComment";return;case"/":read();y="singleLineComment";return}throw invalidChar(read())},multiLineComment:function multiLineComment(){switch(k){case"*":read();y="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk:function multiLineCommentAsterisk(){switch(k){case"*":read();return;case"/":read();y="default";return;case undefined:throw invalidChar(read())}read();y="multiLineComment"},singleLineComment:function singleLineComment(){switch(k){case"\n":case"\r":case"\u2028":case"\u2029":read();y="default";return;case undefined:read();return newToken("eof")}read()},value:function value(){switch(k){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){x=-1}y="sign";return;case".":_=read();y="decimalPointLeading";return;case"0":_=read();y="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":_=read();y="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":b=read()==='"';_="";y="string";return}throw invalidChar(read())},identifierNameStartEscape:function identifierNameStartEscape(){if(k!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!s.isIdStartChar(e)){throw invalidIdentifier()}break}_+=e;y="identifierName"},identifierName:function identifierName(){switch(k){case"$":case"_":case"‌":case"‍":_+=read();return;case"\\":read();y="identifierNameEscape";return}if(s.isIdContinueChar(k)){_+=read();return}return newToken("identifier",_)},identifierNameEscape:function identifierNameEscape(){if(k!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!s.isIdContinueChar(e)){throw invalidIdentifier()}break}_+=e;y="identifierName"},sign:function sign(){switch(k){case".":_=read();y="decimalPointLeading";return;case"0":_=read();y="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":_=read();y="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",x*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero:function zero(){switch(k){case".":_+=read();y="decimalPoint";return;case"e":case"E":_+=read();y="decimalExponent";return;case"x":case"X":_+=read();y="hexadecimal";return}return newToken("numeric",x*0)},decimalInteger:function decimalInteger(){switch(k){case".":_+=read();y="decimalPoint";return;case"e":case"E":_+=read();y="decimalExponent";return}if(s.isDigit(k)){_+=read();return}return newToken("numeric",x*Number(_))},decimalPointLeading:function decimalPointLeading(){if(s.isDigit(k)){_+=read();y="decimalFraction";return}throw invalidChar(read())},decimalPoint:function decimalPoint(){switch(k){case"e":case"E":_+=read();y="decimalExponent";return}if(s.isDigit(k)){_+=read();y="decimalFraction";return}return newToken("numeric",x*Number(_))},decimalFraction:function decimalFraction(){switch(k){case"e":case"E":_+=read();y="decimalExponent";return}if(s.isDigit(k)){_+=read();return}return newToken("numeric",x*Number(_))},decimalExponent:function decimalExponent(){switch(k){case"+":case"-":_+=read();y="decimalExponentSign";return}if(s.isDigit(k)){_+=read();y="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign:function decimalExponentSign(){if(s.isDigit(k)){_+=read();y="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger:function decimalExponentInteger(){if(s.isDigit(k)){_+=read();return}return newToken("numeric",x*Number(_))},hexadecimal:function hexadecimal(){if(s.isHexDigit(k)){_+=read();y="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger:function hexadecimalInteger(){if(s.isHexDigit(k)){_+=read();return}return newToken("numeric",x*Number(_))},string:function string(){switch(k){case"\\":read();_+=escape();return;case'"':if(b){read();return newToken("string",_)}_+=read();return;case"'":if(!b){read();return newToken("string",_)}_+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(k);break;case undefined:throw invalidChar(read())}_+=read()},start:function start(){switch(k){case"{":case"[":return newToken("punctuator",read())}y="value"},beforePropertyName:function beforePropertyName(){switch(k){case"$":case"_":_=read();y="identifierName";return;case"\\":read();y="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":b=read()==='"';y="string";return}if(s.isIdStartChar(k)){_+=read();y="identifierName";return}throw invalidChar(read())},afterPropertyName:function afterPropertyName(){if(k===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue:function beforePropertyValue(){y="value"},afterPropertyValue:function afterPropertyValue(){switch(k){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue:function beforeArrayValue(){if(k==="]"){return newToken("punctuator",read())}y="value"},afterArrayValue:function afterArrayValue(){switch(k){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end:function end(){throw invalidChar(read())}};function newToken(e,t){return{type:e,value:t,line:d,column:p}}function literal(e){var t=true;var n=false;var r=undefined;try{for(var i=e[Symbol.iterator](),s;!(t=(s=i.next()).done);t=true){var a=s.value;var c=peek();if(c!==a){throw invalidChar(read())}read()}}catch(e){n=true;r=e}finally{try{if(!t&&i.return){i.return()}}finally{if(n){throw r}}}}function escape(){var e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(s.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){var e="";var t=peek();if(!s.isHexDigit(t)){throw invalidChar(read())}e+=read();t=peek();if(!s.isHexDigit(t)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){var e="";var t=4;while(t-- >0){var n=peek();if(!s.isHexDigit(n)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}var w={start:function start(){if(h.type==="eof"){throw invalidEOF()}push()},beforePropertyName:function beforePropertyName(){switch(h.type){case"identifier":case"string":m=h.value;c="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName:function afterPropertyName(){if(h.type==="eof"){throw invalidEOF()}c="beforePropertyValue"},beforePropertyValue:function beforePropertyValue(){if(h.type==="eof"){throw invalidEOF()}push()},beforeArrayValue:function beforeArrayValue(){if(h.type==="eof"){throw invalidEOF()}if(h.type==="punctuator"&&h.value==="]"){pop();return}push()},afterPropertyValue:function afterPropertyValue(){if(h.type==="eof"){throw invalidEOF()}switch(h.value){case",":c="beforePropertyName";return;case"}":pop()}},afterArrayValue:function afterArrayValue(){if(h.type==="eof"){throw invalidEOF()}switch(h.value){case",":c="beforeArrayValue";return;case"]":pop()}},end:function end(){}};function push(){var e=void 0;switch(h.type){case"punctuator":switch(h.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=h.value;break}if(g===undefined){g=e}else{var t=u[u.length-1];if(Array.isArray(t)){t.push(e)}else{t[m]=e}}if(e!==null&&(typeof e==="undefined"?"undefined":r(e))==="object"){u.push(e);if(Array.isArray(e)){c="beforeArrayValue"}else{c="beforePropertyName"}}else{var n=u[u.length-1];if(n==null){c="end"}else if(Array.isArray(n)){c="afterArrayValue"}else{c="afterPropertyValue"}}}function pop(){u.pop();var e=u[u.length-1];if(e==null){c="end"}else if(Array.isArray(e)){c="afterArrayValue"}else{c="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError("JSON5: invalid end of input at "+d+":"+p)}return syntaxError("JSON5: invalid character '"+formatChar(e)+"' at "+d+":"+p)}function invalidEOF(){return syntaxError("JSON5: invalid end of input at "+d+":"+p)}function invalidIdentifier(){p-=5;return syntaxError("JSON5: invalid identifier character at "+d+":"+p)}function separatorChar(e){console.warn("JSON5: '"+e+"' is not valid ECMAScript; consider escaping")}function formatChar(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e]){return t[e]}if(e<" "){var n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function syntaxError(e){var t=new SyntaxError(e);t.lineNumber=d;t.columnNumber=p;return t}e.exports=t["default"]},59977:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=stringify;var i=n(58034);var s=_interopRequireWildcard(i);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}}t.default=e;return t}}function stringify(e,t,n){var i=[];var a="";var c=void 0;var u=void 0;var l="";var d=void 0;if(t!=null&&(typeof t==="undefined"?"undefined":r(t))==="object"&&!Array.isArray(t)){n=t.space;d=t.quote;t=t.replacer}if(typeof t==="function"){u=t}else if(Array.isArray(t)){c=[];var p=true;var h=false;var m=undefined;try{for(var g=t[Symbol.iterator](),y;!(p=(y=g.next()).done);p=true){var _=y.value;var b=void 0;if(typeof _==="string"){b=_}else if(typeof _==="number"||_ instanceof String||_ instanceof Number){b=String(_)}if(b!==undefined&&c.indexOf(b)<0){c.push(b)}}}catch(e){h=true;m=e}finally{try{if(!p&&g.return){g.return()}}finally{if(h){throw m}}}}if(n instanceof Number){n=Number(n)}else if(n instanceof String){n=String(n)}if(typeof n==="number"){if(n>0){n=Math.min(10,Math.floor(n));l=" ".substr(0,n)}}else if(typeof n==="string"){l=n.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,t){var n=t[e];if(n!=null){if(typeof n.toJSON5==="function"){n=n.toJSON5(e)}else if(typeof n.toJSON==="function"){n=n.toJSON(e)}}if(u){n=u.call(t,e,n)}if(n instanceof Number){n=Number(n)}else if(n instanceof String){n=String(n)}else if(n instanceof Boolean){n=n.valueOf()}switch(n){case null:return"null";case true:return"true";case false:return"false"}if(typeof n==="string"){return quoteString(n,false)}if(typeof n==="number"){return String(n)}if((typeof n==="undefined"?"undefined":r(n))==="object"){return Array.isArray(n)?serializeArray(n):serializeObject(n)}return undefined}function quoteString(e){var t={"'":.1,'"':.2};var n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var r="";var i=true;var s=false;var a=undefined;try{for(var c=e[Symbol.iterator](),u;!(i=(u=c.next()).done);i=true){var l=u.value;switch(l){case"'":case'"':t[l]++;r+=l;continue}if(n[l]){r+=n[l];continue}if(l<" "){var p=l.charCodeAt(0).toString(16);r+="\\x"+("00"+p).substring(p.length);continue}r+=l}}catch(e){s=true;a=e}finally{try{if(!i&&c.return){c.return()}}finally{if(s){throw a}}}var h=d||Object.keys(t).reduce((function(e,n){return t[e]=0){throw TypeError("Converting circular structure to JSON5")}i.push(e);var t=a;a=a+l;var n=c||Object.keys(e);var r=[];var s=true;var u=false;var d=undefined;try{for(var p=n[Symbol.iterator](),h;!(s=(h=p.next()).done);s=true){var m=h.value;var g=serializeProperty(m,e);if(g!==undefined){var y=serializeKey(m)+":";if(l!==""){y+=" "}y+=g;r.push(y)}}}catch(e){u=true;d=e}finally{try{if(!s&&p.return){p.return()}}finally{if(u){throw d}}}var _=void 0;if(r.length===0){_="{}"}else{var b=void 0;if(l===""){b=r.join(",");_="{"+b+"}"}else{var x=",\n"+a;b=r.join(x);_="{\n"+a+b+",\n"+t+"}"}}i.pop();a=t;return _}function serializeKey(e){if(e.length===0){return quoteString(e,true)}var t=String.fromCodePoint(e.codePointAt(0));if(!s.isIdStartChar(t)){return quoteString(e,true)}for(var n=t.length;n=0){throw TypeError("Converting circular structure to JSON5")}i.push(e);var t=a;a=a+l;var n=[];for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=t.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var r=t.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/;var i=t.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},58034:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isSpaceSeparator=isSpaceSeparator;t.isIdStartChar=isIdStartChar;t.isIdContinueChar=isIdContinueChar;t.isDigit=isDigit;t.isHexDigit=isHexDigit;var r=n(14059);var i=_interopRequireWildcard(r);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}}t.default=e;return t}}function isSpaceSeparator(e){return i.Space_Separator.test(e)}function isIdStartChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||i.ID_Start.test(e)}function isIdContinueChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||i.ID_Continue.test(e)}function isDigit(e){return/[0-9]/.test(e)}function isHexDigit(e){return/[0-9A-Fa-f]/.test(e)}},64055:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function ChunkIncludeExcludeTester(e){this.includeExcludeTest=e}ChunkIncludeExcludeTester.prototype.isIncluded=function(e){if(typeof this.includeExcludeTest==="function"){return this.includeExcludeTest(e)}if(this.includeExcludeTest.include&&!this.includeExcludeTest.exclude){return this.includeExcludeTest.include.indexOf(e)>-1}if(this.includeExcludeTest.exclude&&!this.includeExcludeTest.include){return!(this.includeExcludeTest.exclude.indexOf(e)>-1)}if(this.includeExcludeTest.include&&this.includeExcludeTest.exclude){return!(this.includeExcludeTest.exclude.indexOf(e)>-1)&&this.includeExcludeTest.include.indexOf(e)>-1}return true};return ChunkIncludeExcludeTester}();t.ChunkIncludeExcludeTester=n},50980:function(e,t){"use strict";var n=this&&this.__values||function(e){var t=typeof Symbol==="function"&&e[Symbol.iterator],n=0;if(t)return t.call(e);return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:true});var r=function(){function LicenseTextReader(e,t,n,r,i,s){this.logger=e;this.fileSystem=t;this.fileOverrides=n;this.textOverrides=r;this.templateDir=i;this.handleMissingLicenseText=s}LicenseTextReader.prototype.readLicense=function(e,t,n){if(this.textOverrides[t.name]){return this.textOverrides[t.name]}if(this.fileOverrides[t.name]){return this.readText(t.directory,this.fileOverrides[t.name])}if(n&&n.indexOf("SEE LICENSE IN ")===0){var r=n.split(" ")[3];return this.fileSystem.isFileInDirectory(r,t.directory)?this.readText(t.directory,r):null}var i=this.fileSystem.listPaths(t.directory);var s=this.guessLicenseFilename(i,t.directory);if(s!==null){return this.readText(t.directory,s)}if(this.templateDir){var a=n+".txt";var c=this.fileSystem.join(this.templateDir,a);if(this.fileSystem.isFileInDirectory(c,this.templateDir)){return this.fileSystem.readFileAsUtf8(c).replace(/\r\n/g,"\n")}}this.logger.warn(e,"could not find any license file for "+t.name+". Use the licenseTextOverrides option to add the license text if desired.");return this.handleMissingLicenseText(t.name,n)};LicenseTextReader.prototype.readText=function(e,t){return this.fileSystem.readFileAsUtf8(this.fileSystem.join(e,t)).replace(/\r\n/g,"\n")};LicenseTextReader.prototype.guessLicenseFilename=function(e,t){try{for(var r=n(e),i=r.next();!i.done;i=r.next()){var s=i.value;var a=this.fileSystem.join(t,s);if(/^licen[cs]e/i.test(s)&&!this.fileSystem.isDirectory(a)){return s}}}catch(e){c={error:e}}finally{try{if(i&&!i.done&&(u=r.return))u.call(r)}finally{if(c)throw c.error}}return null;var c,u};return LicenseTextReader}();t.LicenseTextReader=r},85768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(64055);var i=n(27519);var s=n(35183);var a=n(41728);var c=n(55933);var u=n(50980);var l=n(85777);var d=n(98707);var p=n(81778);var h=n(13957);var m=n(2058);var g=n(29728);var y=n(99801);var _=n(39225);var b=function(){function LicenseWebpackPlugin(e){if(e===void 0){e={}}this.pluginOptions=e}LicenseWebpackPlugin.prototype.apply=function(e){var t=new a.WebpackFileSystem(e.inputFileSystem);var n=new y.PluginOptionsReader(e.context);var b=n.readOptions(this.pluginOptions);var x=new _.Logger(b.stats);var k=new s.PluginFileHandler(t,b.buildRoot,b.modulesDirectories,b.excludedPackageTest);var E=new c.PluginLicenseTypeIdentifier(x,b.licenseTypeOverrides,b.preferredLicenseTypes,b.handleLicenseAmbiguity,b.handleMissingLicenseType);var w=new u.LicenseTextReader(x,t,b.licenseFileOverrides,b.licenseTextOverrides,b.licenseTemplateDir,b.handleMissingLicenseText);var S=new g.PluginLicenseTestRunner(b.licenseInclusionTest);var C=new g.PluginLicenseTestRunner(b.unacceptableLicenseTest);var M=new m.PluginLicensePolicy(S,C,b.handleUnacceptableLicense,b.handleMissingLicenseText);var I=new i.PluginChunkReadHandler(x,k,E,w,M,t);var P=new h.PluginLicensesRenderer(b.renderLicenses,b.renderBanner);var T=new d.PluginModuleCache;var O=new p.WebpackAssetManager(b.outputFilename,P);var R=new r.ChunkIncludeExcludeTester(b.chunkIncludeExcludeTest);var N=new l.WebpackCompilerHandler(R,I,O,T,b.addBanner,b.perChunkOutput,b.additionalChunkModules,b.additionalModules,b.skipChildCompilers);N.handleCompiler(e)};return LicenseWebpackPlugin}();t.LicenseWebpackPlugin=b},39225:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function Logger(e){this.stats=e}Logger.prototype.warn=function(e,t){if(this.stats.warnings){e.warnings.push(""+Logger.LOG_PREFIX+t)}};Logger.prototype.error=function(e,t){if(this.stats.errors){e.errors.push(""+Logger.LOG_PREFIX+t)}};Logger.LOG_PREFIX="license-webpack-plugin: ";return Logger}();t.Logger=n},27519:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length)e=void 0;return{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:true});var r=function(){function PluginFileHandler(e,t,n,r){this.fileSystem=e;this.buildRoot=t;this.modulesDirectories=n;this.excludedPackageTest=r}PluginFileHandler.prototype.getModule=function(e){if(e===null||e===undefined){return null}if(this.modulesDirectories!==null){var t=false;try{for(var r=n(this.modulesDirectories),i=r.next();!i.done;i=r.next()){var s=i.value;if(this.fileSystem.isFileInDirectory(e,s)){t=true}}}catch(e){c={error:e}}finally{try{if(i&&!i.done&&(u=r.return))u.call(r)}finally{if(c)throw c.error}}if(!t){return null}}var a=this.findModuleDir(e);if(a!==null&&this.excludedPackageTest(a.name)){return null}return a;var c,u};PluginFileHandler.prototype.findModuleDir=function(e){var t=this.fileSystem.pathSeparator;var n=e.substring(0,e.lastIndexOf(t));var r=null;while(!this.dirContainsValidPackageJson(n)){r=n;n=this.fileSystem.resolvePath(""+n+t+".."+t);if(r===n){return null}}if(this.buildRoot===n){return null}var i=this.parsePackageJson(n);return{name:i.name,directory:n}};PluginFileHandler.prototype.parsePackageJson=function(e){var t=this.fileSystem.readFileAsUtf8(this.fileSystem.join(e,PluginFileHandler.PACKAGE_JSON));var n=JSON.parse(t);return n};PluginFileHandler.prototype.dirContainsValidPackageJson=function(e){if(!this.fileSystem.pathExists(this.fileSystem.join(e,PluginFileHandler.PACKAGE_JSON))){return false}var t=this.parsePackageJson(e);return!!t.name};PluginFileHandler.PACKAGE_JSON="package.json";return PluginFileHandler}();t.PluginFileHandler=r},2058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function PluginLicensePolicy(e,t,n,r){this.licenseTester=e;this.unacceptableLicenseTester=t;this.unacceptableLicenseHandler=n;this.missingLicenseTextHandler=r}PluginLicensePolicy.prototype.isLicenseWrittenFor=function(e){return this.licenseTester.test(e)};PluginLicensePolicy.prototype.isLicenseUnacceptableFor=function(e){return this.unacceptableLicenseTester.test(e)};PluginLicensePolicy.prototype.handleUnacceptableLicense=function(e,t){this.unacceptableLicenseHandler(e,t)};PluginLicensePolicy.prototype.handleMissingLicenseText=function(e,t){this.missingLicenseTextHandler(e,t)};return PluginLicensePolicy}();t.PluginLicensePolicy=n},29728:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function PluginLicenseTestRunner(e){this.licenseTest=e}PluginLicenseTestRunner.prototype.test=function(e){return this.licenseTest(e)};return PluginLicenseTestRunner}();t.PluginLicenseTestRunner=n},55933:function(e,t){"use strict";var n=this&&this.__values||function(e){var t=typeof Symbol==="function"&&e[Symbol.iterator],n=0;if(t)return t.call(e);return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:true});var r=function(){function PluginLicenseTypeIdentifier(e,t,n,r,i){this.logger=e;this.licenseTypeOverrides=t;this.preferredLicenseTypes=n;this.handleLicenseAmbiguity=r;this.handleMissingLicenseType=i}PluginLicenseTypeIdentifier.prototype.findLicenseIdentifier=function(e,t,n){if(this.licenseTypeOverrides&&this.licenseTypeOverrides[t]){return this.licenseTypeOverrides[t]}var r=n.license;if(r){return typeof r==="string"?r:r.type}if(Array.isArray(n.licenses)&&n.licenses.length>0){if(n.licenses.length===1){return n.licenses[0].type}var i=n.licenses.map((function(e){return e.type}));var s=this.findPreferredLicense(i,this.preferredLicenseTypes);if(s!==null){return s}var a=this.handleLicenseAmbiguity(t,n.licenses);this.logger.warn(e,t+" specifies multiple licenses: "+i+". Automatically selected "+a+". Use the preferredLicenseTypes or the licenseTypeOverrides option to resolve this warning.");return a}this.logger.warn(e,"could not find any license type for "+t+" in its package.json");return this.handleMissingLicenseType(t)};PluginLicenseTypeIdentifier.prototype.findPreferredLicense=function(e,t){try{for(var r=n(t),i=r.next();!i.done;i=r.next()){var s=i.value;try{for(var a=n(e),c=a.next();!c.done;c=a.next()){var u=c.value;if(s===u){return s}}}catch(e){p={error:e}}finally{try{if(c&&!c.done&&(h=a.return))h.call(a)}finally{if(p)throw p.error}}}}catch(e){l={error:e}}finally{try{if(i&&!i.done&&(d=r.return))d.call(r)}finally{if(l)throw l.error}}return null;var l,d,p,h};return PluginLicenseTypeIdentifier}();t.PluginLicenseTypeIdentifier=r},13957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function PluginLicensesRenderer(e,t){this.renderLicenses=e;this.renderBanner=t}return PluginLicensesRenderer}();t.PluginLicensesRenderer=n},98707:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function PluginModuleCache(){this.totalCache={};this.chunkCache={};this.chunkSeenCache={}}PluginModuleCache.prototype.registerModule=function(e,t){this.totalCache[t.name]=t;if(!this.chunkCache[e]){this.chunkCache[e]={}}this.chunkCache[e][t.name]=t};PluginModuleCache.prototype.getModule=function(e){return this.totalCache[e]||null};PluginModuleCache.prototype.markSeenForChunk=function(e,t){if(!this.chunkSeenCache[e]){this.chunkSeenCache[e]={}}this.chunkSeenCache[e][t]=true};PluginModuleCache.prototype.alreadySeenForChunk=function(e,t){return!!(this.chunkSeenCache[e]&&this.chunkSeenCache[e][t])};PluginModuleCache.prototype.getAllModulesForChunk=function(e){var t=[];var n=this.chunkCache[e];if(n){Object.keys(n).forEach((function(e){t.push(n[e])}))}return t};PluginModuleCache.prototype.getAllModules=function(){var e=this;var t=[];Object.keys(this.totalCache).forEach((function(n){t.push(e.totalCache[n])}));return t};return PluginModuleCache}();t.PluginModuleCache=n},99801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function PluginOptionsReader(e){this.context=e}PluginOptionsReader.prototype.readOptions=function(e){var t=e.licenseInclusionTest||function(){return true};var n=e.unacceptableLicenseTest||function(){return false};var r=e.perChunkOutput===undefined||e.perChunkOutput;var i=e.licenseTemplateDir;var s=e.licenseTextOverrides||{};var a=e.licenseTypeOverrides||{};var c=e.handleUnacceptableLicense||function(){};var u=e.handleMissingLicenseText||function(){return null};var l=e.renderLicenses||function(e){return e.sort((function(e,t){return e.name{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(2991);var i=function(){function WebpackAssetManager(e,t){this.outputFilename=e;this.licensesRenderer=t}WebpackAssetManager.prototype.writeChunkLicenses=function(e,t,n){var i=this.licensesRenderer.renderLicenses(e);if(i&&i.trim()){var s=t.getPath(this.outputFilename,{chunk:n});t.assets[s]=new r.RawSource(i)}};WebpackAssetManager.prototype.writeChunkBanners=function(e,t,n){var i=t.getPath(this.outputFilename,{chunk:n});var s=this.licensesRenderer.renderBanner(i,e);if(s&&s.trim()){n.files.filter((function(e){return/\.js$/.test(e)})).forEach((function(e){t.assets[e]=new r.ConcatSource(s,t.assets[e])}))}};WebpackAssetManager.prototype.writeAllLicenses=function(e,t){var n=this.licensesRenderer.renderLicenses(e);if(n){var i=t.getPath(this.outputFilename,t);t.assets[i]=new r.RawSource(n)}};return WebpackAssetManager}();t.WebpackAssetManager=i},39900:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t=typeof Symbol==="function"&&e[Symbol.iterator],n=0;if(t)return t.call(e);return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:true});var i=n(7425);var s=function(){function WebpackChunkModuleIterator(){this.statsIterator=new i.WebpackStatsIterator}WebpackChunkModuleIterator.prototype.iterateModules=function(e,t,n,i){if(typeof e.chunkGraph!=="undefined"&&typeof n!=="undefined"){try{for(var s=r(e.chunkGraph.getChunkModulesIterable(t)),a=s.next();!a.done;a=s.next()){var c=a.value;i(c)}}catch(e){x={error:e}}finally{try{if(a&&!a.done&&(k=s.return))k.call(s)}finally{if(x)throw x.error}}var u=this.statsIterator.collectModules(n,t.name);try{for(var l=r(u),d=l.next();!d.done;d=l.next()){var p=d.value;i(p)}}catch(e){E={error:e}}finally{try{if(d&&!d.done&&(w=l.return))w.call(l)}finally{if(E)throw E.error}}}else if(typeof t.modulesIterable!=="undefined"){try{for(var h=r(t.modulesIterable),m=h.next();!m.done;m=h.next()){var g=m.value;i(g)}}catch(e){S={error:e}}finally{try{if(m&&!m.done&&(C=h.return))C.call(h)}finally{if(S)throw S.error}}}else if(typeof t.forEachModule==="function"){t.forEachModule(i)}else if(Array.isArray(t.modules)){t.modules.forEach(i)}if(typeof e.chunkGraph!=="undefined"){try{for(var y=r(e.chunkGraph.getChunkEntryModulesIterable(t)),_=y.next();!_.done;_=y.next()){var b=_.value;i(b)}}catch(e){M={error:e}}finally{try{if(_&&!_.done&&(I=y.return))I.call(y)}finally{if(M)throw M.error}}}else if(t.entryModule){i(t.entryModule)}var x,k,E,w,S,C,M,I};return WebpackChunkModuleIterator}();t.WebpackChunkModuleIterator=s},85777:function(e,t){"use strict";var n=this&&this.__values||function(e){var t=typeof Symbol==="function"&&e[Symbol.iterator],n=0;if(t)return t.call(e);return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:true});var r=function(){function WebpackCompilerHandler(e,t,n,r,i,s,a,c,u){this.chunkIncludeTester=e;this.chunkHandler=t;this.assetManager=n;this.moduleCache=r;this.addBanner=i;this.perChunkOutput=s;this.additionalChunkModules=a;this.additionalModules=c;this.skipChildCompilers=u}WebpackCompilerHandler.prototype.handleCompiler=function(e){var t=this;if(typeof e.hooks!=="undefined"){var n=this.skipChildCompilers?"thisCompilation":"compilation";e.hooks[n].tap("LicenseWebpackPlugin",(function(e){if(typeof e.hooks.processAssets!=="undefined"){e.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT},(function(){var n=e.getStats().toJson();t.iterateChunks(e,e.chunks,n)}))}else{e.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(n){t.iterateChunks(e,n)}))}}));if(!this.perChunkOutput){e.hooks[n].tap("LicenseWebpackPlugin",(function(e){if(!e.compiler.isChild()){if(typeof e.hooks.processAssets!=="undefined"){e.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT+1},(function(){t.assetManager.writeAllLicenses(t.moduleCache.getAllModules(),e)}))}else{e.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(){t.assetManager.writeAllLicenses(t.moduleCache.getAllModules(),e)}))}}}))}}else if(typeof e.plugin!=="undefined"){e.plugin("compilation",(function(e){if(typeof e.plugin!=="undefined"){e.plugin("optimize-chunk-assets",(function(n,r){t.iterateChunks(e,n);r()}))}}))}};WebpackCompilerHandler.prototype.iterateChunks=function(e,t,r){var i=this;var _loop_1=function(t){if(s.chunkIncludeTester.isIncluded(t.name)){s.chunkHandler.processChunk(e,t,s.moduleCache,r);if(s.additionalChunkModules[t.name]){s.additionalChunkModules[t.name].forEach((function(n){return i.chunkHandler.processModule(e,t,i.moduleCache,n)}))}if(s.additionalModules.length>0){s.additionalModules.forEach((function(n){return i.chunkHandler.processModule(e,t,i.moduleCache,n)}))}if(s.perChunkOutput){s.assetManager.writeChunkLicenses(s.moduleCache.getAllModulesForChunk(t.name),e,t)}if(s.addBanner){if(typeof e.hooks.processAssets!=="undefined"){e.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS},(function(){i.assetManager.writeChunkBanners(i.moduleCache.getAllModulesForChunk(t.name),e,t)}))}else{s.assetManager.writeChunkBanners(s.moduleCache.getAllModulesForChunk(t.name),e,t)}}}};var s=this;try{for(var a=n(t),c=a.next();!c.done;c=a.next()){var u=c.value;_loop_1(u)}}catch(e){l={error:e}}finally{try{if(c&&!c.done&&(d=a.return))d.call(a)}finally{if(l)throw l.error}}var l,d};WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS=-100;WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT=5e3;return WebpackCompilerHandler}();t.WebpackCompilerHandler=r},41728:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],a;try{while((t===void 0||t-- >0)&&!(i=r.next()).done)s.push(i.value)}catch(e){a={error:e}}finally{try{if(i&&!i.done&&(n=r["return"]))n.call(r)}finally{if(a)throw a.error}}return s};var i=this&&this.__spread||function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=function(){function WebpackModuleFileIterator(){}WebpackModuleFileIterator.prototype.iterateFiles=function(e,t){var n=this.internalCallback.bind(this,t);n(e.resource||e.rootModule&&e.rootModule.resource);if(Array.isArray(e.fileDependencies)){var r=e.fileDependencies;r.forEach(n)}if(Array.isArray(e.dependencies)){e.dependencies.forEach((function(e){return n(e.originModule&&e.originModule.resource)}))}};WebpackModuleFileIterator.prototype.internalCallback=function(e,t){if(!t||t.indexOf("external ")===0){return}if(t.indexOf("webpack/runtime")===0){e(n.ab+"index1.js")}else{e(t)}};return WebpackModuleFileIterator}();t.WebpackModuleFileIterator=r},7425:function(e,t){"use strict";var n=this&&this.__values||function(e){var t=typeof Symbol==="function"&&e[Symbol.iterator],n=0;if(t)return t.call(e);return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:true});var r=function(){function WebpackStatsIterator(){}WebpackStatsIterator.prototype.collectModules=function(e,t){var r=[];try{for(var i=n(e.chunks),s=i.next();!s.done;s=i.next()){var a=s.value;if(a.names[0]===t){this.traverseModules(a.modules,r)}}}catch(e){c={error:e}}finally{try{if(s&&!s.done&&(u=i.return))u.call(i)}finally{if(c)throw c.error}}return r;var c,u};WebpackStatsIterator.prototype.traverseModules=function(e,t){if(!e){return}try{for(var r=n(e),i=r.next();!i.done;i=r.next()){var s=i.value;t.push({resource:s.identifier});this.traverseModules(s.modules,t)}}catch(e){a={error:e}}finally{try{if(i&&!i.done&&(c=r.return))c.call(r)}finally{if(a)throw a.error}}var a,c};return WebpackStatsIterator}();t.WebpackStatsIterator=r},58907:(e,t,n)=>{"use strict";var r;r={value:true};var i=n(85768);t.s=i.LicenseWebpackPlugin},11638:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},60425:(e,t,n)=>{var r=n(35747);var i=r.readFile.bind(r);var s=n(45658);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}const a=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(e){var t=a.exec(e);return{path:t[1].replace(/\0(.)/g,"$1"),query:t[2]?t[2].replace(/\0(.)/g,"$1"):"",fragment:t[3]||""}}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var n=e.lastIndexOf("\\");var r=e.indexOf("/");var i=e.indexOf("\\");var s=t>n?t:n;var a=t>n?r:i;if(s<0)return e;if(s===a)return e.substr(0,s+1);return e.substr(0,s)}function createLoaderObject(e){var t={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path.replace(/#/g,"\0#")+t.query.replace(/#/g,"\0#")+t.fragment},set:function(e){if(typeof e==="string"){var n=parsePathQueryFragment(e);t.path=n.path;t.query=n.query;t.fragment=n.fragment;t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(e)+")");t.path=e.loader;t.fragment=e.fragment||"";t.type=e.type;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,n,r){var i=true;var s=false;var a=false;var c=false;t.async=function async(){if(s){if(c)return;throw new Error("async(): The callback was already called.")}i=false;return u};var u=t.callback=function(){if(s){if(c)return;throw new Error("callback(): The callback was already called.")}s=true;i=false;try{r.apply(null,arguments)}catch(e){a=true;throw e}};try{var l=function LOADER_EXECUTION(){return e.apply(t,n)}();if(i){s=true;if(l===undefined)return r();if(l&&typeof l==="object"&&typeof l.then==="function"){return l.then((function(e){r(null,e)}),r)}return r(null,l)}}catch(e){if(a)throw e;if(s){if(typeof e==="object"&&e.stack)console.error(e.stack);else console.error(e);return}s=true;c=true;r(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=Buffer.from(e[0],"utf-8")}function iteratePitchingLoaders(e,t,n){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,n);var r=t.loaders[t.loaderIndex];if(r.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,n)}s(r,(function(i){if(i){t.cacheable(false);return n(i)}var s=r.pitch;r.pitchExecuted=true;if(!s)return iteratePitchingLoaders(e,t,n);runSyncOrAsync(s,t,[t.remainingRequest,t.previousRequest,r.data={}],(function(r){if(r)return n(r);var i=Array.prototype.slice.call(arguments,1);var s=i.some((function(e){return e!==undefined}));if(s){t.loaderIndex--;iterateNormalLoaders(e,t,i,n)}else{iteratePitchingLoaders(e,t,n)}}))}))}function processResource(e,t,n){t.loaderIndex=t.loaders.length-1;var r=t.resourcePath;if(r){e.processResource(t,r,(function(r,i){if(r)return n(r);e.resourceBuffer=i;iterateNormalLoaders(e,t,[i],n)}))}else{iterateNormalLoaders(e,t,[null],n)}}function iterateNormalLoaders(e,t,n,r){if(t.loaderIndex<0)return r(null,n);var i=t.loaders[t.loaderIndex];if(i.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,n,r)}var s=i.normal;i.normalExecuted=true;if(!s){return iterateNormalLoaders(e,t,n,r)}convertArgs(n,i.raw);runSyncOrAsync(s,t,n,(function(n){if(n)return r(n);var i=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,i,r)}))}t.getContext=function getContext(e){var t=parsePathQueryFragment(e).path;return dirname(t)};t.runLoaders=function runLoaders(e,t){var n=e.resource||"";var r=e.loaders||[];var s=e.context||{};var a=e.processResource||((e,t,n,r)=>{t.addDependency(n);e(n,r)}).bind(null,e.readResource||i);var c=n&&parsePathQueryFragment(n);var u=c?c.path:undefined;var l=c?c.query:undefined;var d=c?c.fragment:undefined;var p=u?dirname(u):null;var h=true;var m=[];var g=[];var y=[];r=r.map(createLoaderObject);s.context=p;s.loaderIndex=0;s.loaders=r;s.resourcePath=u;s.resourceQuery=l;s.resourceFragment=d;s.async=null;s.callback=null;s.cacheable=function cacheable(e){if(e===false){h=false}};s.dependency=s.addDependency=function addDependency(e){m.push(e)};s.addContextDependency=function addContextDependency(e){g.push(e)};s.addMissingDependency=function addMissingDependency(e){y.push(e)};s.getDependencies=function getDependencies(){return m.slice()};s.getContextDependencies=function getContextDependencies(){return g.slice()};s.getMissingDependencies=function getMissingDependencies(){return y.slice()};s.clearDependencies=function clearDependencies(){m.length=0;g.length=0;y.length=0;h=true};Object.defineProperty(s,"resource",{enumerable:true,get:function(){if(s.resourcePath===undefined)return undefined;return s.resourcePath.replace(/#/g,"\0#")+s.resourceQuery.replace(/#/g,"\0#")+s.resourceFragment},set:function(e){var t=e&&parsePathQueryFragment(e);s.resourcePath=t?t.path:undefined;s.resourceQuery=t?t.query:undefined;s.resourceFragment=t?t.fragment:undefined}});Object.defineProperty(s,"request",{enumerable:true,get:function(){return s.loaders.map((function(e){return e.request})).concat(s.resource||"").join("!")}});Object.defineProperty(s,"remainingRequest",{enumerable:true,get:function(){if(s.loaderIndex>=s.loaders.length-1&&!s.resource)return"";return s.loaders.slice(s.loaderIndex+1).map((function(e){return e.request})).concat(s.resource||"").join("!")}});Object.defineProperty(s,"currentRequest",{enumerable:true,get:function(){return s.loaders.slice(s.loaderIndex).map((function(e){return e.request})).concat(s.resource||"").join("!")}});Object.defineProperty(s,"previousRequest",{enumerable:true,get:function(){return s.loaders.slice(0,s.loaderIndex).map((function(e){return e.request})).join("!")}});Object.defineProperty(s,"query",{enumerable:true,get:function(){var e=s.loaders[s.loaderIndex];return e.options&&typeof e.options==="object"?e.options:e.query}});Object.defineProperty(s,"data",{enumerable:true,get:function(){return s.loaders[s.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(s)}var _={resourceBuffer:null,processResource:a};iteratePitchingLoaders(_,s,(function(e,n){if(e){return t(e,{cacheable:h,fileDependencies:m,contextDependencies:g,missingDependencies:y})}t(null,{result:n,resourceBuffer:_.resourceBuffer,cacheable:h,fileDependencies:m,contextDependencies:g,missingDependencies:y})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(78835);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(e){handleResult(loader,e,callback)}),callback);return}catch(e){callback(e)}}else{try{var module=require(loader.path)}catch(e){if(e instanceof Error&&e.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(e)}return handleResult(loader,module,callback)}};function handleResult(e,t,n){if(typeof t!=="function"&&typeof t!=="object"){return n(new LoaderLoadingError("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof t==="function"?t:t.default;e.pitch=t.pitch;e.raw=t.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return n(new LoaderLoadingError("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}n()}},56342:(e,t,n)=>{"use strict";const r=n(48333);const i=n(89987);const s=n(62680);const a=n(80713);const c=n(32453);const u=c.Readable;const l=c.Writable;function isDir(e){if(typeof e!=="object")return false;return e[""]===true}function isFile(e){if(typeof e!=="object")return false;return!e[""]}function pathToArray(e){e=r(e);const t=/^\//.test(e);if(!t){if(!/^[A-Za-z]:/.test(e)){throw new s(a.code.EINVAL,e)}e=e.replace(/[\\\/]+/g,"\\");e=e.split(/[\\\/]/);e[0]=e[0].toUpperCase()}else{e=e.replace(/\/+/g,"/");e=e.substr(1).split("/")}if(!e[e.length-1])e.pop();return e}function trueFn(){return true}function falseFn(){return false}class MemoryFileSystem{constructor(e){this.data=e||{};this.join=i;this.pathToArray=pathToArray;this.normalize=r}meta(e){const t=pathToArray(e);let n=this.data;let r=0;for(;r{n.push(t);r+=t.length;this.writeFile(e,Buffer.concat(n,r),s)};return t}exists(e,t){return t(this.existsSync(e))}writeFile(e,t,n,r){if(!r){r=n;n=undefined}try{this.writeFileSync(e,t,n)}catch(e){return r(e)}return r()}}["stat","readdir","mkdirp","rmdir","unlink","readlink"].forEach((function(e){MemoryFileSystem.prototype[e]=function(t,n){let r;try{r=this[e+"Sync"](t)}catch(e){setImmediate((function(){n(e)}));return}setImmediate((function(){n(null,r)}))}}));["mkdir","readFile"].forEach((function(e){MemoryFileSystem.prototype[e]=function(t,n,r){if(!r){r=n;n=undefined}let i;try{i=this[e+"Sync"](t,n)}catch(e){setImmediate((function(){r(e)}));return}setImmediate((function(){r(null,i)}))}}));e.exports=MemoryFileSystem},62680:e=>{"use strict";class MemoryFileSystemError extends Error{constructor(e,t,n){super(e,t);this.name=this.constructor.name;var r=[`${e.code}:`,`${e.description},`];if(n){r.push(n)}r.push(`'${t}'`);this.message=r.join(" ");this.code=e.code;this.errno=e.errno;this.path=t;this.operation=n;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}e.exports=MemoryFileSystemError},89987:(e,t,n)=>{"use strict";const r=n(48333);const i=/^[A-Z]:([\\\/]|$)/i;const s=/^\//i;e.exports=function join(e,t){if(!t)return r(e);if(i.test(t))return r(t.replace(/\//g,"\\"));if(s.test(t))return r(t);if(e=="/")return r(e+t);if(i.test(e))return r(e.replace(/\//g,"\\")+"\\"+t.replace(/\//g,"\\"));if(s.test(e))return r(e+"/"+t);return r(e+"/"+t)}},48333:e=>{"use strict";e.exports=function normalize(e){var t=e.split(/(\\+|\/+)/);if(t.length===1)return e;var n=[];var r=0;for(var i=0,s=false;i{"use strict";const{PassThrough:r}=n(92413);e.exports=function(){var e=[];var t=new r({objectMode:true});t.setMaxListeners(0);t.add=add;t.isEmpty=isEmpty;t.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return t;function add(n){if(Array.isArray(n)){n.forEach(add);return this}e.push(n);n.once("end",remove.bind(null,n));n.once("error",t.emit.bind(t,"error"));n.pipe(t,{end:false});return this}function isEmpty(){return e.length==0}function remove(n){e=e.filter((function(e){return e!==n}));if(!e.length&&t.readable){t.end()}}}},22198:(e,t,n)=>{ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ -e.exports=n(73313)},50007:(e,t,n)=>{"use strict"; -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */var r=n(22198);var i=n(85622).extname;var s=/^\s*([^;\s]*)(?:;|\s|$)/;var a=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=s.exec(e);var n=t&&r[t[1].toLowerCase()];if(n&&n.charset){return n.charset}if(t&&a.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var n=e.indexOf("/")===-1?t.lookup(e):e;if(!n){return false}if(n.indexOf("charset")===-1){var r=t.charset(n);if(r)n+="; charset="+r.toLowerCase()}return n}function extension(e){if(!e||typeof e!=="string"){return false}var n=s.exec(e);var r=n&&t.extensions[n[1].toLowerCase()];if(!r||!r.length){return false}return r[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var n=i("x."+e).toLowerCase().substr(1);if(!n){return false}return t.types[n]||false}function populateMaps(e,t){var n=["nginx","apache",undefined,"iana"];Object.keys(r).forEach((function forEachMimeType(i){var s=r[i];var a=s.extensions;if(!a||!a.length){return}e[i]=a;for(var c=0;cd||l===d&&t[u].substr(0,12)==="application/")){continue}}t[u]=i}}))}},40535:e=>{e.exports=function(e,t){if(!t)t={};var n={bools:{},strings:{},unknownFn:null};if(typeof t["unknown"]==="function"){n.unknownFn=t["unknown"]}if(typeof t["boolean"]==="boolean"&&t["boolean"]){n.allBools=true}else{[].concat(t["boolean"]).filter(Boolean).forEach((function(e){n.bools[e]=true}))}var r={};Object.keys(t.alias||{}).forEach((function(e){r[e]=[].concat(t.alias[e]);r[e].forEach((function(t){r[t]=[e].concat(r[e].filter((function(e){return t!==e})))}))}));[].concat(t.string).filter(Boolean).forEach((function(e){n.strings[e]=true;if(r[e]){n.strings[r[e]]=true}}));var i=t["default"]||{};var s={_:[]};Object.keys(n.bools).forEach((function(e){setArg(e,i[e]===undefined?false:i[e])}));var a=[];if(e.indexOf("--")!==-1){a=e.slice(e.indexOf("--")+1);e=e.slice(0,e.indexOf("--"))}function argDefined(e,t){return n.allBools&&/^--[^=]+$/.test(t)||n.strings[e]||n.bools[e]||r[e]}function setArg(e,t,i){if(i&&n.unknownFn&&!argDefined(e,i)){if(n.unknownFn(i)===false)return}var a=!n.strings[e]&&isNumber(t)?Number(t):t;setKey(s,e.split("."),a);(r[e]||[]).forEach((function(e){setKey(s,e.split("."),a)}))}function setKey(e,t,r){var i=e;for(var s=0;s=t&&e[a]>=r){a--}if(s>a){break}swap(e,i,s++,a--)}return s}function swap(e,t,n,r){var i=e[n];e[n]=e[r];e[r]=i;var s=t[n];t[n]=t[r];t[r]=s}function quickSort(e,t,n,r){if(t===n){return}var i=t;while(++i<=n&&e[t]===e[i]){var s=i-1;if(r[s]>r[i]){var a=r[s];r[s]=r[i];r[i]=a}}if(i>n){return}var c=e[t]>e[i]?t:i;i=partition(e,t,n,e[c],r);quickSort(e,t,i-1,r);quickSort(e,i,n,r)}function makeConcatResult(e){var n=[];arrayEachSync(e,(function(e){if(e===t){return}if(c(e)){l.apply(n,e)}else{n.push(e)}}));return n}function arrayEach(e,t,n){var r=-1;var i=e.length;if(t.length===3){while(++rh?h:i,k);function arrayIterator(){m=S++;if(ml?l:r,b);function arrayIterator(){if(kl?l:r,x);function arrayIterator(){h=E++;if(hl?l:r,b);function arrayIterator(){h=E++;if(hh?h:i,k);function arrayIterator(){m=w++;if(mh?h:i,k);function arrayIterator(){m=S++;if(ml?l:n,b);function arrayIterator(){h=E++;if(hl?l:r,E);function arrayIterator(){if(S=2){l.apply(x,slice(arguments,1))}if(e){i(e,x)}else if(++k===a){_=n;i(null,x)}else if(b){p(_)}else{b=true;_()}b=false}}function concatLimit(e,r,i,a){a=a||t;var l,h,m,g,y,_;var b=false;var x=0;var k=0;if(c(e)){l=e.length;y=i.length===3?arrayIteratorWithIndex:arrayIterator}else if(!e){}else if(d&&e[d]){l=Infinity;_=[];m=e[d]();y=i.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof e===s){var E=u(e);l=E.length;y=i.length===3?objectIteratorWithKey:objectIterator}if(!l||isNaN(r)||r<1){return a(null,[])}_=_||Array(l);timesSync(r>l?l:r,y);function arrayIterator(){if(xl?l:r,x);function arrayIterator(){if(Ea?a:r,g);function arrayIterator(){l=_++;if(l1){var r=slice(arguments,1);return go.apply(this,r)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(e){var t=e.prev;var n=e.next;if(t){t.next=n}else{this.head=n}if(n){n.prev=t}else{this.tail=t}e.prev=null;e.next=null;this.length--;return e};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(e){this.length=1;this.head=this.tail=e};DLL.prototype.insertBefore=function(e,t){t.prev=e.prev;t.next=e;if(e.prev){e.prev.next=t}else{this.head=t}e.prev=t;this.length++};DLL.prototype.unshift=function(e){if(this.head){this.insertBefore(this.head,e)}else{this._setInitial(e)}};DLL.prototype.push=function(e){var t=this.tail;if(t){e.prev=t;e.next=t.next;this.tail=e;t.next=e;this.length++}else{this._setInitial(e)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(e){var t;var n=[];while(e--&&(t=this.shift())){n.push(t)}return n};DLL.prototype.remove=function(e){var t=this.head;while(t){if(e(t)){this._removeLink(t)}t=t.next}return this};function baseQueue(e,r,i,s){if(i===undefined){i=1}else if(isNaN(i)||i<1){throw new Error("Concurrency must not be zero")}var a=0;var u=[];var d,h;var m={_tasks:new DLL,concurrency:i,payload:s,saturated:t,unsaturated:t,buffer:i/4,empty:t,drain:t,error:t,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:e?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:r};return m;function push(e,t){_insert(e,t)}function unshift(e,t){_insert(e,t,true)}function _exec(e){var t={data:e,callback:d};if(h){m._tasks.unshift(t)}else{m._tasks.push(t)}p(m.process)}function _insert(e,n,r){if(n==null){n=t}else if(typeof n!=="function"){throw new Error("task callback must be a function")}m.started=true;var i=c(e)?e:[e];if(e===undefined||!i.length){if(m.idle()){p(m.drain)}return}h=r;d=n;arrayEachSync(i,_exec);d=undefined}function kill(){m.drain=t;m._tasks.empty()}function _next(e,t){var r=false;return function done(i,s){if(r){n()}r=true;a--;var c;var l=-1;var d=u.length;var p=-1;var h=t.length;var m=arguments.length>2;var g=m&&createArray(arguments);while(++p=l.priority){l=l.next}while(u--){var d={data:s[u],priority:n,callback:i};if(l){r._tasks.insertBefore(l,d)}else{r._tasks.push(d)}p(r.process)}}}function cargo(e,t){return baseQueue(false,e,1,t)}function auto(e,r,i){if(typeof r===a){i=r;r=null}var s=u(e);var l=s.length;var d={};if(l===0){return i(null,d)}var p=0;var h=new DLL;var m=Object.create(null);i=onlyOnce(i||t);r=r||l;baseEachSync(e,iterator,s);proceedQueue();function iterator(e,r){var a,u;if(!c(e)){a=e;u=0;h.push([a,u,done]);return}var g=e.length-1;a=e[g];u=g;if(g===0){h.push([a,u,done]);return}var y=-1;while(++y=e){i(null,s);i=n}else if(a){p(iterate)}else{a=true;iterate()}a=false}}function timesLimit(e,r,i,s){s=s||t;e=+e;if(isNaN(e)||e<1||isNaN(r)||r<1){return s(null,[])}var a=Array(e);var c=false;var u=0;var l=0;timesSync(r>e?e:r,iterate);function iterate(){var t=u++;if(t=e){s(null,a);s=n}else if(c){p(iterate)}else{c=true;iterate()}c=false}}}function race(e,n){n=once(n||t);var r,i;var a=-1;if(c(e)){r=e.length;while(++a2){n=slice(arguments,1)}t(null,{value:n})}}}function reflectAll(e){var t,n;if(c(e)){t=Array(e.length);arrayEachSync(e,iterate)}else if(e&&typeof e===s){n=u(e);t={};baseEachSync(e,iterate,n)}return t;function iterate(e,n){t[n]=reflect(e)}}function createLogger(e){return function(e){var t=slice(arguments,1);t.push(done);e.apply(null,t)};function done(t){if(typeof console===s){if(t){if(console.error){console.error(t)}return}if(console[e]){var n=slice(arguments,1);arrayEachSync(n,(function(t){console[e](t)}))}}}}function safe(){createImmediate();return e}function fast(){createImmediate(false);return e}}))},75522:e=>{"use strict";var t=process.platform==="win32";var n=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;var i={};function win32SplitPath(e){var t=n.exec(e),i=(t[1]||"")+(t[2]||""),s=t[3]||"";var a=r.exec(s),c=a[1],u=a[2],l=a[3];return[i,c,u,l]}i.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};var s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var a={};function posixSplitPath(e){return s.exec(e).slice(1)}a.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}t[1]=t[1]||"";t[2]=t[2]||"";t[3]=t[3]||"";return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};if(t)e.exports=i.parse;else e.exports=a.parse;e.exports.posix=a.parse;e.exports.win32=i.parse},50411:e=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,n,r){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var i=arguments.length;var s,a;switch(i){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function afterTickOne(){e.call(null,t)}));case 3:return process.nextTick((function afterTickTwo(){e.call(null,t,n)}));case 4:return process.nextTick((function afterTickThree(){e.call(null,t,n,r)}));default:s=new Array(i-1);a=0;while(a - * https://github.com/rvagg/prr - * License: MIT - */ -(function(t,n,r){if(true&&e.exports)e.exports=r();else n[t]=r()})("prr",this,(function(){var e=typeof Object.defineProperty=="function"?function(e,t,n){Object.defineProperty(e,t,n);return e}:function(e,t,n){e[t]=n.value;return e},makeOptions=function(e,t){var n=typeof t=="object",r=!n&&typeof t=="string",op=function(e){return n?!!t[e]:r?t.indexOf(e[0])>-1:false};return{enumerable:op("enumerable"),configurable:op("configurable"),writable:op("writable"),value:e}},prr=function(t,n,r,i){var s;i=makeOptions(r,i);if(typeof n=="object"){for(s in n){if(Object.hasOwnProperty.call(n,s)){i.value=n[s];e(t,s,i)}}return t}return e(t,n,i)};return prr}))},31998:(e,t,n)=>{e.exports=n(76417).randomBytes},81959:(e,t,n)=>{"use strict";var r=n(50411);var i=Object.keys||function(e){var t=[];for(var n in e){t.push(n)}return t};e.exports=Duplex;var s=Object.create(n(93349));s.inherits=n(28309);var a=n(97469);var c=n(97867);s.inherits(Duplex,a);{var u=i(c.prototype);for(var l=0;l{"use strict";e.exports=PassThrough;var r=n(77837);var i=Object.create(n(93349));i.inherits=n(28309);i.inherits(PassThrough,r);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);r.call(this,e)}PassThrough.prototype._transform=function(e,t,n){n(null,e)}},97469:(e,t,n)=>{"use strict";var r=n(50411);e.exports=Readable;var i=n(27523);var s;Readable.ReadableState=ReadableState;var a=n(28614).EventEmitter;var EElistenerCount=function(e,t){return e.listeners(t).length};var c=n(99837);var u=n(22560).Buffer;var l=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return u.from(e)}function _isUint8Array(e){return u.isBuffer(e)||e instanceof l}var d=Object.create(n(93349));d.inherits=n(28309);var p=n(31669);var h=void 0;if(p&&p.debuglog){h=p.debuglog("stream")}else{h=function(){}}var m=n(24220);var g=n(22535);var y;d.inherits(Readable,c);var _=["error","close","destroy","pause","resume"];function prependListener(e,t,n){if(typeof e.prependListener==="function")return e.prependListener(t,n);if(!e._events||!e._events[t])e.on(t,n);else if(i(e._events[t]))e._events[t].unshift(n);else e._events[t]=[n,e._events[t]]}function ReadableState(e,t){s=s||n(81959);e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode;if(r)this.objectMode=this.objectMode||!!e.readableObjectMode;var i=e.highWaterMark;var a=e.readableHighWaterMark;var c=this.objectMode?16:16*1024;if(i||i===0)this.highWaterMark=i;else if(r&&(a||a===0))this.highWaterMark=a;else this.highWaterMark=c;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new m;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!y)y=n(80147).s;this.decoder=new y(e.encoding);this.encoding=e.encoding}}function Readable(e){s=s||n(81959);if(!(this instanceof Readable))return new Readable(e);this._readableState=new ReadableState(e,this);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}c.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=g.destroy;Readable.prototype._undestroy=g.undestroy;Readable.prototype._destroy=function(e,t){this.push(null);t(e)};Readable.prototype.push=function(e,t){var n=this._readableState;var r;if(!n.objectMode){if(typeof e==="string"){t=t||n.defaultEncoding;if(t!==n.encoding){e=u.from(e,t);t=""}r=true}}else{r=true}return readableAddChunk(this,e,t,false,r)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,n,r,i){var s=e._readableState;if(t===null){s.reading=false;onEofChunk(e,s)}else{var a;if(!i)a=chunkInvalid(s,t);if(a){e.emit("error",a)}else if(s.objectMode||t&&t.length>0){if(typeof t!=="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==u.prototype){t=_uint8ArrayToBuffer(t)}if(r){if(s.endEmitted)e.emit("error",new Error("stream.unshift() after end event"));else addChunk(e,s,t,true)}else if(s.ended){e.emit("error",new Error("stream.push() after EOF"))}else{s.reading=false;if(s.decoder&&!n){t=s.decoder.write(t);if(s.objectMode||t.length!==0)addChunk(e,s,t,false);else maybeReadMore(e,s)}else{addChunk(e,s,t,false)}}}else if(!r){s.reading=false}}return needMoreData(s)}function addChunk(e,t,n,r){if(t.flowing&&t.length===0&&!t.sync){e.emit("data",n);e.read(0)}else{t.length+=t.objectMode?1:n.length;if(r)t.buffer.unshift(n);else t.buffer.push(n);if(t.needReadable)emitReadable(e)}maybeReadMore(e,t)}function chunkInvalid(e,t){var n;if(!_isUint8Array(t)&&typeof t!=="string"&&t!==undefined&&!e.objectMode){n=new TypeError("Invalid non-string/buffer chunk")}return n}function needMoreData(e){return!e.ended&&(e.needReadable||e.length=b){e=b}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){h("read",e);e=parseInt(e,10);var t=this._readableState;var n=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){h("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var r=t.needReadable;h("need readable",r);if(t.length===0||t.length-e0)i=fromList(e,t);else i=null;if(i===null){t.needReadable=true;e=0}else{t.length-=e}if(t.length===0){if(!t.ended)t.needReadable=true;if(n!==e&&t.ended)endReadable(this)}if(i!==null)this.emit("data",i);return i};function onEofChunk(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();if(n&&n.length){t.buffer.push(n);t.length+=t.objectMode?1:n.length}}t.ended=true;emitReadable(e)}function emitReadable(e){var t=e._readableState;t.needReadable=false;if(!t.emittedReadable){h("emitReadable",t.flowing);t.emittedReadable=true;if(t.sync)r.nextTick(emitReadable_,e);else emitReadable_(e)}}function emitReadable_(e){h("emit readable");e.emit("readable");flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;r.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length1&&indexOf(i.pipes,e)!==-1)&&!u){h("false write response, pause",n._readableState.awaitDrain);n._readableState.awaitDrain++;l=true}n.pause()}}function onerror(t){h("onerror",t);unpipe();e.removeListener("error",onerror);if(EElistenerCount(e,"error")===0)e.emit("error",t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){h("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){h("unpipe");n.unpipe(e)}e.emit("pipe",n);if(!i.flowing){h("pipe resume");n.resume()}return e};function pipeOnDrain(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&EElistenerCount(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var n={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,n);return this}if(!e){var r=t.pipes;var i=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var s=0;s=t.length){if(t.decoder)n=t.buffer.join("");else if(t.buffer.length===1)n=t.buffer.head.data;else n=t.buffer.concat(t.length);t.buffer.clear()}else{n=fromListPartial(e,t.buffer,t.decoder)}return n}function fromListPartial(e,t,n){var r;if(es.length?s.length:e;if(a===s.length)i+=s;else i+=s.slice(0,e);e-=a;if(e===0){if(a===s.length){++r;if(n.next)t.head=n.next;else t.head=t.tail=null}else{t.head=n;n.data=s.slice(a)}break}++r}t.length-=r;return i}function copyFromBuffer(e,t){var n=u.allocUnsafe(e);var r=t.head;var i=1;r.data.copy(n);e-=r.data.length;while(r=r.next){var s=r.data;var a=e>s.length?s.length:e;s.copy(n,n.length-e,0,a);e-=a;if(e===0){if(a===s.length){++i;if(r.next)t.head=r.next;else t.head=t.tail=null}else{t.head=r;r.data=s.slice(a)}break}++i}t.length-=i;return n}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!t.endEmitted){t.ended=true;r.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end")}}function indexOf(e,t){for(var n=0,r=e.length;n{"use strict";e.exports=Transform;var r=n(81959);var i=Object.create(n(93349));i.inherits=n(28309);i.inherits(Transform,r);function afterTransform(e,t){var n=this._transformState;n.transforming=false;var r=n.writecb;if(!r){return this.emit("error",new Error("write callback called multiple times"))}n.writechunk=null;n.writecb=null;if(t!=null)this.push(t);r(e);var i=this._readableState;i.reading=false;if(i.needReadable||i.length{"use strict";var r=n(50411);e.exports=Writable;function WriteReq(e,t,n){this.chunk=e;this.encoding=t;this.callback=n;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var i=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:r.nextTick;var s;Writable.WritableState=WritableState;var a=Object.create(n(93349));a.inherits=n(28309);var c={deprecate:n(95791)};var u=n(99837);var l=n(22560).Buffer;var d=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return l.from(e)}function _isUint8Array(e){return l.isBuffer(e)||e instanceof d}var p=n(22535);a.inherits(Writable,u);function nop(){}function WritableState(e,t){s=s||n(81959);e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode;if(r)this.objectMode=this.objectMode||!!e.writableObjectMode;var i=e.highWaterMark;var a=e.writableHighWaterMark;var c=this.objectMode?16:16*1024;if(i||i===0)this.highWaterMark=i;else if(r&&(a||a===0))this.highWaterMark=a;else this.highWaterMark=c;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var u=e.decodeStrings===false;this.decodeStrings=!u;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var h;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){h=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(e){if(h.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{h=function(e){return e instanceof this}}function Writable(e){s=s||n(81959);if(!h.call(Writable,this)&&!(this instanceof s)){return new Writable(e)}this._writableState=new WritableState(e,this);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}u.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(e,t){var n=new Error("write after end");e.emit("error",n);r.nextTick(t,n)}function validChunk(e,t,n,i){var s=true;var a=false;if(n===null){a=new TypeError("May not write null values to stream")}else if(typeof n!=="string"&&n!==undefined&&!t.objectMode){a=new TypeError("Invalid non-string/buffer chunk")}if(a){e.emit("error",a);r.nextTick(i,a);s=false}return s}Writable.prototype.write=function(e,t,n){var r=this._writableState;var i=false;var s=!r.objectMode&&_isUint8Array(e);if(s&&!l.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){n=t;t=null}if(s)t="buffer";else if(!t)t=r.defaultEncoding;if(typeof n!=="function")n=nop;if(r.ended)writeAfterEnd(this,n);else if(s||validChunk(this,r,e,n)){r.pendingcb++;i=writeOrBuffer(this,r,s,e,t,n)}return i};Writable.prototype.cork=function(){var e=this._writableState;e.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e;return this};function decodeChunk(e,t,n){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=l.from(t,n)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,n,r,i,s){if(!n){var a=decodeChunk(t,r,i);if(r!==a){n=true;i="buffer";r=a}}var c=t.objectMode?1:r.length;t.length+=c;var u=t.length{"use strict";function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var r=n(22560).Buffer;var i=n(31669);function copyBuffer(e,t,n){e.copy(t,n)}e.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(e){var t={data:e,next:null};if(this.length>0)this.tail.next=t;else this.head=t;this.tail=t;++this.length};BufferList.prototype.unshift=function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(e){if(this.length===0)return"";var t=this.head;var n=""+t.data;while(t=t.next){n+=e+t.data}return n};BufferList.prototype.concat=function concat(e){if(this.length===0)return r.alloc(0);if(this.length===1)return this.head.data;var t=r.allocUnsafe(e>>>0);var n=this.head;var i=0;while(n){copyBuffer(n.data,t,i);i+=n.data.length;n=n.next}return t};return BufferList}();if(i&&i.inspect&&i.inspect.custom){e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e}}},22535:(e,t,n)=>{"use strict";var r=n(50411);function destroy(e,t){var n=this;var i=this._readableState&&this._readableState.destroyed;var s=this._writableState&&this._writableState.destroyed;if(i||s){if(t){t(e)}else if(e&&(!this._writableState||!this._writableState.errorEmitted)){r.nextTick(emitErrorNT,this,e)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,(function(e){if(!t&&e){r.nextTick(emitErrorNT,n,e);if(n._writableState){n._writableState.errorEmitted=true}}else if(t){t(e)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy}},99837:(e,t,n)=>{e.exports=n(92413)},22560:(e,t,n)=>{var r=n(64293);var i=r.Buffer;function copyProps(e,t){for(var n in e){t[n]=e[n]}}if(i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,n){return i(e,t,n)}copyProps(i,SafeBuffer);SafeBuffer.from=function(e,t,n){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return i(e,t,n)};SafeBuffer.alloc=function(e,t,n){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=i(e);if(t!==undefined){if(typeof n==="string"){r.fill(t,n)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return i(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},80147:(e,t,n)=>{"use strict";var r=n(22560).Buffer;var i=r.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=r.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var n;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";n=this.lastNeed;this.lastNeed=0}else{n=0}if(n>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,n){var r=t.length-1;if(r=0){if(i>0)e.lastNeed=i-1;return i}if(--r=0){if(i>0)e.lastNeed=i-2;return i}if(--r=0){if(i>0){if(i===2)i=0;else e.lastNeed=i-3}return i}return 0}function utf8CheckExtraBytes(e,t,n){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var n=utf8CheckExtraBytes(this,e,t);if(n!==undefined)return n;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var n=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);e.copy(this.lastChar,0,r);return e.toString("utf8",t,r)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return n.slice(0,-1)}}return n}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function base64Text(e,t){var n=(e.length-t)%3;if(n===0)return e.toString("base64",t);this.lastNeed=3-n;this.lastTotal=3;if(n===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-n)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},32453:(e,t,n)=>{var r=n(92413);if(process.env.READABLE_STREAM==="disable"&&r){e.exports=r;t=e.exports=r.Readable;t.Readable=r.Readable;t.Writable=r.Writable;t.Duplex=r.Duplex;t.Transform=r.Transform;t.PassThrough=r.PassThrough;t.Stream=r}else{t=e.exports=n(97469);t.Stream=r||t;t.Readable=t;t.Writable=n(97867);t.Duplex=n(81959);t.Transform=n(77837);t.PassThrough=n(54021)}},47030:(e,t,n)=>{var r=n(42911);r.core=n(54800);r.isCore=n(80280);r.sync=n(4893);e.exports=r},42911:(e,t,n)=>{var r=n(35747);var i=n(85622);var s=n(25297);var a=n(1680);var c=n(83034);var u=n(13747);var l=r.realpath&&typeof r.realpath.native==="function"?r.realpath.native:r.realpath;var d=function isFile(e,t){r.stat(e,(function(e,n){if(!e){return t(null,n.isFile()||n.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var p=function isDirectory(e,t){r.stat(e,(function(e,n){if(!e){return t(null,n.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var h=function realpath(e,t){l(e,(function(n,r){if(n&&n.code!=="ENOENT")t(n);else t(null,n?e:r)}))};var m=function maybeRealpath(e,t,n,r){if(n&&n.preserveSymlinks===false){e(t,r)}else{r(null,t)}};var g=function defaultReadPackage(e,t,n){e(t,(function(e,t){if(e)n(e);else{try{var r=JSON.parse(t);n(null,r)}catch(e){n(null)}}}))};var y=function getPackageCandidates(e,t,n){var r=a(t,n,e);for(var s=0;s{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},54800:(e,t,n)=>{var r=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var n=t.length>1?t[0]:"=";var i=(t.length>1?t[1]:t[0]).split(".");for(var s=0;s<3;++s){var a=parseInt(r[s]||0,10);var c=parseInt(i[s]||0,10);if(a===c){continue}if(n==="<"){return a="){return a>=c}else{return false}}return n===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var n=0;n{var r=n(13747);e.exports=function isCore(e){return r(e)}},1680:(e,t,n)=>{var r=n(85622);var i=r.parse||n(75522);var s=function getNodeModulesDirs(e,t){var n="/";if(/^([A-Za-z]:)/.test(e)){n=""}else if(/^\\\\/.test(e)){n="\\\\"}var s=[e];var a=i(e);while(a.dir!==s[s.length-1]){s.push(a.dir);a=i(a.dir)}return s.reduce((function(e,i){return e.concat(t.map((function(e){return r.resolve(n,i,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,n){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(n,e,(function(){return s(e,r)}),t)}var i=s(e,r);return t&&t.paths?i.concat(t.paths):i}},83034:e=>{e.exports=function(e,t){return t||{}}},4893:(e,t,n)=>{var r=n(13747);var i=n(35747);var s=n(85622);var a=n(25297);var c=n(1680);var u=n(83034);var l=i.realpathSync&&typeof i.realpathSync.native==="function"?i.realpathSync.native:i.realpathSync;var d=function isFile(e){try{var t=i.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};var p=function isDirectory(e){try{var t=i.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isDirectory()};var h=function realpathSync(e){try{return l(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var m=function maybeRealpathSync(e,t,n){if(n&&n.preserveSymlinks===false){return e(t)}return t};var g=function defaultReadPackageSync(e,t){var n=e(t);try{var r=JSON.parse(n);return r}catch(e){}};var y=function getPackageCandidates(e,t,n){var r=c(t,n,e);for(var i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;const{stringHints:r,numberHints:i}=n(47961);const s={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(e,t){const n=e.reduce(((e,n)=>Math.max(e,t(n))),0);return e.filter((e=>t(e)===n))}function filterChildren(e){let t=e;t=filterMax(t,(e=>e.dataPath?e.dataPath.length:0));t=filterMax(t,(e=>s[e.keyword]||2));return t}function findAllChildren(e,t){let n=e.length-1;const predicate=t=>e[n].schemaPath.indexOf(t)!==0;while(n>-1&&!t.every(predicate)){if(e[n].keyword==="anyOf"||e[n].keyword==="oneOf"){const t=extractRefs(e[n]);const r=findAllChildren(e.slice(0,n),t.concat(e[n].schemaPath));n=r-1}else{n-=1}}return n+1}function extractRefs(e){const{schema:t}=e;if(!Array.isArray(t)){return[]}return t.map((({$ref:e})=>e)).filter((e=>e))}function groupChildrenByFirstChild(e){const t=[];let n=e.length-1;while(n>0){const r=e[n];if(r.keyword==="anyOf"||r.keyword==="oneOf"){const i=extractRefs(r);const s=findAllChildren(e.slice(0,n),i.concat(r.schemaPath));if(s!==n){t.push(Object.assign({},r,{children:e.slice(s,n)}));n=s}else{t.push(r)}}else{t.push(r)}n-=1}if(n===0){t.push(e[n])}return t.reverse()}function indent(e,t){return e.replace(/\n(?!$)/g,`\n${t}`)}function hasNotInSchema(e){return!!e.not}function findFirstTypedSchema(e){if(hasNotInSchema(e)){return findFirstTypedSchema(e.not)}return e}function canApplyNot(e){const t=findFirstTypedSchema(e);return likeNumber(t)||likeInteger(t)||likeString(t)||likeNull(t)||likeBoolean(t)}function isObject(e){return typeof e==="object"&&e!==null}function likeNumber(e){return e.type==="number"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeInteger(e){return e.type==="integer"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeString(e){return e.type==="string"||typeof e.minLength!=="undefined"||typeof e.maxLength!=="undefined"||typeof e.pattern!=="undefined"||typeof e.format!=="undefined"||typeof e.formatMinimum!=="undefined"||typeof e.formatMaximum!=="undefined"}function likeBoolean(e){return e.type==="boolean"}function likeArray(e){return e.type==="array"||typeof e.minItems==="number"||typeof e.maxItems==="number"||typeof e.uniqueItems!=="undefined"||typeof e.items!=="undefined"||typeof e.additionalItems!=="undefined"||typeof e.contains!=="undefined"}function likeObject(e){return e.type==="object"||typeof e.minProperties!=="undefined"||typeof e.maxProperties!=="undefined"||typeof e.required!=="undefined"||typeof e.properties!=="undefined"||typeof e.patternProperties!=="undefined"||typeof e.additionalProperties!=="undefined"||typeof e.dependencies!=="undefined"||typeof e.propertyNames!=="undefined"||typeof e.patternRequired!=="undefined"}function likeNull(e){return e.type==="null"}function getArticle(e){if(/^[aeiou]/i.test(e)){return"an"}return"a"}function getSchemaNonTypes(e){if(!e){return""}if(!e.type){if(likeNumber(e)||likeInteger(e)){return" | should be any non-number"}if(likeString(e)){return" | should be any non-string"}if(likeArray(e)){return" | should be any non-array"}if(likeObject(e)){return" | should be any non-object"}}return""}function formatHints(e){return e.length>0?`(${e.join(", ")})`:""}function getHints(e,t){if(likeNumber(e)||likeInteger(e)){return i(e,t)}else if(likeString(e)){return r(e,t)}return[]}class ValidationError extends Error{constructor(e,t,n={}){super();this.name="ValidationError";this.errors=e;this.schema=t;let r;let i;if(t.title&&(!n.name||!n.baseDataPath)){const e=t.title.match(/^(.+) (.+)$/);if(e){if(!n.name){[,r]=e}if(!n.baseDataPath){[,,i]=e}}}this.headerName=n.name||r||"Object";this.baseDataPath=n.baseDataPath||i||"configuration";this.postFormatter=n.postFormatter||null;const s=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${s}${this.formatValidationErrors(e)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(e){const t=e.split("/");let n=this.schema;for(let e=1;e{if(!i){return this.formatSchema(t,r,n)}if(n.includes(t)){return"(recursive)"}return this.formatSchema(t,r,n.concat(e))};if(hasNotInSchema(e)&&!likeObject(e)){if(canApplyNot(e.not)){r=!t;return formatInnerSchema(e.not)}const n=!e.not.not;const i=t?"":"non ";r=!t;return n?i+formatInnerSchema(e.not):formatInnerSchema(e.not)}if(e.instanceof){const{instanceof:t}=e;const n=!Array.isArray(t)?[t]:t;return n.map((e=>e==="Function"?"function":e)).join(" | ")}if(e.enum){return e.enum.map((e=>JSON.stringify(e))).join(" | ")}if(typeof e.const!=="undefined"){return JSON.stringify(e.const)}if(e.oneOf){return e.oneOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.anyOf){return e.anyOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.allOf){return e.allOf.map((e=>formatInnerSchema(e,true))).join(" & ")}if(e.if){const{if:t,then:n,else:r}=e;return`${t?`if ${formatInnerSchema(t)}`:""}${n?` then ${formatInnerSchema(n)}`:""}${r?` else ${formatInnerSchema(r)}`:""}`}if(e.$ref){return formatInnerSchema(this.getSchemaPart(e.$ref),true)}if(likeNumber(e)||likeInteger(e)){const[n,...r]=getHints(e,t);const i=`${n}${r.length>0?` ${formatHints(r)}`:""}`;return t?i:r.length>0?`non-${n} | ${i}`:`non-${n}`}if(likeString(e)){const[n,...r]=getHints(e,t);const i=`${n}${r.length>0?` ${formatHints(r)}`:""}`;return t?i:i==="string"?"non-string":`non-string | ${i}`}if(likeBoolean(e)){return`${t?"":"non-"}boolean`}if(likeArray(e)){r=true;const t=[];if(typeof e.minItems==="number"){t.push(`should not have fewer than ${e.minItems} item${e.minItems>1?"s":""}`)}if(typeof e.maxItems==="number"){t.push(`should not have more than ${e.maxItems} item${e.maxItems>1?"s":""}`)}if(e.uniqueItems){t.push("should not have duplicate items")}const n=typeof e.additionalItems==="undefined"||Boolean(e.additionalItems);let i="";if(e.items){if(Array.isArray(e.items)&&e.items.length>0){i=`${e.items.map((e=>formatInnerSchema(e))).join(", ")}`;if(n){if(e.additionalItems&&isObject(e.additionalItems)&&Object.keys(e.additionalItems).length>0){t.push(`additional items should be ${formatInnerSchema(e.additionalItems)}`)}}}else if(e.items&&Object.keys(e.items).length>0){i=`${formatInnerSchema(e.items)}`}else{i="any"}}else{i="any"}if(e.contains&&Object.keys(e.contains).length>0){t.push(`should contains at least one ${this.formatSchema(e.contains)} item`)}return`[${i}${n?", ...":""}]${t.length>0?` (${t.join(", ")})`:""}`}if(likeObject(e)){r=true;const t=[];if(typeof e.minProperties==="number"){t.push(`should not have fewer than ${e.minProperties} ${e.minProperties>1?"properties":"property"}`)}if(typeof e.maxProperties==="number"){t.push(`should not have more than ${e.maxProperties} ${e.minProperties&&e.minProperties>1?"properties":"property"}`)}if(e.patternProperties&&Object.keys(e.patternProperties).length>0){const n=Object.keys(e.patternProperties);t.push(`additional property names should match pattern${n.length>1?"s":""} ${n.map((e=>JSON.stringify(e))).join(" | ")}`)}const n=e.properties?Object.keys(e.properties):[];const i=e.required?e.required:[];const s=[...new Set([].concat(i).concat(n))];const a=s.map((e=>{const t=i.includes(e);return`${e}${t?"":"?"}`})).concat(typeof e.additionalProperties==="undefined"||Boolean(e.additionalProperties)?e.additionalProperties&&isObject(e.additionalProperties)?[`: ${formatInnerSchema(e.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:c,propertyNames:u,patternRequired:l}=e;if(c){Object.keys(c).forEach((e=>{const n=c[e];if(Array.isArray(n)){t.push(`should have ${n.length>1?"properties":"property"} ${n.map((e=>`'${e}'`)).join(", ")} when property '${e}' is present`)}else{t.push(`should be valid according to the schema ${formatInnerSchema(n)} when property '${e}' is present`)}}))}if(u&&Object.keys(u).length>0){t.push(`each property name should match format ${JSON.stringify(e.propertyNames.format)}`)}if(l&&l.length>0){t.push(`should have property matching pattern ${l.map((e=>JSON.stringify(e)))}`)}return`object {${a?` ${a} `:""}}${t.length>0?` (${t.join(", ")})`:""}`}if(likeNull(e)){return`${t?"":"non-"}null`}if(Array.isArray(e.type)){return`${e.type.join(" | ")}`}return JSON.stringify(e,null,2)}getSchemaPartText(e,t,n=false,r=true){if(!e){return""}if(Array.isArray(t)){for(let n=0;n ${e.description}`}return i}getSchemaPartDescription(e){if(!e){return""}while(e.$ref){e=this.getSchemaPart(e.$ref)}if(e.description){return`\n-> ${e.description}`}return""}formatValidationError(e){const{keyword:t,dataPath:n}=e;const r=`${this.baseDataPath}${n}`;switch(t){case"type":{const{parentSchema:t,params:n}=e;switch(n.type){case"number":return`${r} should be a ${this.getSchemaPartText(t,false,true)}`;case"integer":return`${r} should be a ${this.getSchemaPartText(t,false,true)}`;case"string":return`${r} should be a ${this.getSchemaPartText(t,false,true)}`;case"boolean":return`${r} should be a ${this.getSchemaPartText(t,false,true)}`;case"array":return`${r} should be an array:\n${this.getSchemaPartText(t)}`;case"object":return`${r} should be an object:\n${this.getSchemaPartText(t)}`;case"null":return`${r} should be a ${this.getSchemaPartText(t,false,true)}`;default:return`${r} should be:\n${this.getSchemaPartText(t)}`}}case"instanceof":{const{parentSchema:t}=e;return`${r} should be an instance of ${this.getSchemaPartText(t,false,true)}`}case"pattern":{const{params:t,parentSchema:n}=e;const{pattern:i}=t;return`${r} should match pattern ${JSON.stringify(i)}${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"format":{const{params:t,parentSchema:n}=e;const{format:i}=t;return`${r} should match format ${JSON.stringify(i)}${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"formatMinimum":case"formatMaximum":{const{params:t,parentSchema:n}=e;const{comparison:i,limit:s}=t;return`${r} should be ${i} ${JSON.stringify(s)}${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:t,params:n}=e;const{comparison:i,limit:s}=n;const[,...a]=getHints(t,true);if(a.length===0){a.push(`should be ${i} ${s}`)}return`${r} ${a.join(" ")}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"multipleOf":{const{params:t,parentSchema:n}=e;const{multipleOf:i}=t;return`${r} should be multiple of ${i}${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"patternRequired":{const{params:t,parentSchema:n}=e;const{missingPattern:i}=t;return`${r} should have property matching pattern ${JSON.stringify(i)}${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"minLength":{const{params:t,parentSchema:n}=e;const{limit:i}=t;if(i===1){return`${r} should be an non-empty string${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}const s=i-1;return`${r} should be longer than ${s} character${s>1?"s":""}${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"minItems":{const{params:t,parentSchema:n}=e;const{limit:i}=t;if(i===1){return`${r} should be an non-empty array${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}return`${r} should not have fewer than ${i} items${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"minProperties":{const{params:t,parentSchema:n}=e;const{limit:i}=t;if(i===1){return`${r} should be an non-empty object${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}return`${r} should not have fewer than ${i} properties${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"maxLength":{const{params:t,parentSchema:n}=e;const{limit:i}=t;const s=i+1;return`${r} should be shorter than ${s} character${s>1?"s":""}${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"maxItems":{const{params:t,parentSchema:n}=e;const{limit:i}=t;return`${r} should not have more than ${i} items${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"maxProperties":{const{params:t,parentSchema:n}=e;const{limit:i}=t;return`${r} should not have more than ${i} properties${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"uniqueItems":{const{params:t,parentSchema:n}=e;const{i:i}=t;return`${r} should not contain the item '${e.data[i]}' twice${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"additionalItems":{const{params:t,parentSchema:n}=e;const{limit:i}=t;return`${r} should not have more than ${i} items${getSchemaNonTypes(n)}. These items are valid:\n${this.getSchemaPartText(n)}`}case"contains":{const{parentSchema:t}=e;return`${r} should contains at least one ${this.getSchemaPartText(t,["contains"])} item${getSchemaNonTypes(t)}.`}case"required":{const{parentSchema:t,params:n}=e;const i=n.missingProperty.replace(/^\./,"");const s=t&&Boolean(t.properties&&t.properties[i]);return`${r} misses the property '${i}'${getSchemaNonTypes(t)}.${s?` Should be:\n${this.getSchemaPartText(t,["properties",i])}`:this.getSchemaPartDescription(t)}`}case"additionalProperties":{const{params:t,parentSchema:n}=e;const{additionalProperty:i}=t;return`${r} has an unknown property '${i}'${getSchemaNonTypes(n)}. These properties are valid:\n${this.getSchemaPartText(n)}`}case"dependencies":{const{params:t,parentSchema:n}=e;const{property:i,deps:s}=t;const a=s.split(",").map((e=>`'${e.trim()}'`)).join(", ");return`${r} should have properties ${a} when property '${i}' is present${getSchemaNonTypes(n)}.${this.getSchemaPartDescription(n)}`}case"propertyNames":{const{params:t,parentSchema:n,schema:i}=e;const{propertyName:s}=t;return`${r} property name '${s}' is invalid${getSchemaNonTypes(n)}. Property names should be match format ${JSON.stringify(i.format)}.${this.getSchemaPartDescription(n)}`}case"enum":{const{parentSchema:t}=e;if(t&&t.enum&&t.enum.length===1){return`${r} should be ${this.getSchemaPartText(t,false,true)}`}return`${r} should be one of these:\n${this.getSchemaPartText(t)}`}case"const":{const{parentSchema:t}=e;return`${r} should be equal to constant ${this.getSchemaPartText(t,false,true)}`}case"not":{const t=likeObject(e.parentSchema)?`\n${this.getSchemaPartText(e.parentSchema)}`:"";const n=this.getSchemaPartText(e.schema,false,false,false);if(canApplyNot(e.schema)){return`${r} should be any ${n}${t}.`}const{schema:i,parentSchema:s}=e;return`${r} should not be ${this.getSchemaPartText(i,false,true)}${s&&likeObject(s)?`\n${this.getSchemaPartText(s)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:t,children:n}=e;if(n&&n.length>0){if(e.schema.length===1){const e=n[n.length-1];const r=n.slice(0,n.length-1);return this.formatValidationError(Object.assign({},e,{children:r,parentSchema:Object.assign({},t,e.parentSchema)}))}let i=filterChildren(n);if(i.length===1){return this.formatValidationError(i[0])}i=groupChildrenByFirstChild(i);return`${r} should be one of these:\n${this.getSchemaPartText(t)}\nDetails:\n${i.map((e=>` * ${indent(this.formatValidationError(e)," ")}`)).join("\n")}`}return`${r} should be one of these:\n${this.getSchemaPartText(t)}`}case"if":{const{params:t,parentSchema:n}=e;const{failingKeyword:i}=t;return`${r} should match "${i}" schema:\n${this.getSchemaPartText(n,[i])}`}case"absolutePath":{const{message:t,parentSchema:n}=e;return`${r}: ${t}${this.getSchemaPartDescription(n)}`}default:{const{message:t,parentSchema:n}=e;const i=JSON.stringify(e,null,2);return`${r} ${t} (${i}).\n${this.getSchemaPartText(n,false)}`}}}formatValidationErrors(e){return e.map((e=>{let t=this.formatValidationError(e);if(this.postFormatter){t=this.postFormatter(t,e)}return` - ${indent(t," ")}`})).join("\n")}}var a=ValidationError;t.default=a},15235:(e,t,n)=>{"use strict";const{validate:r,ValidationError:i}=n(18110);e.exports={validate:r,ValidationError:i}},77102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;function errorMessage(e,t,n){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:n},message:e,parentSchema:t}}function getErrorFor(e,t,n){const r=e?`The provided value ${JSON.stringify(n)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(n)} is an absolute path!`;return errorMessage(r,t,n)}function addAbsolutePathKeyword(e){e.addKeyword("absolutePath",{errors:true,type:"string",compile(e,t){const callback=n=>{let r=true;const i=n.includes("!");if(i){callback.errors=[errorMessage(`The provided value ${JSON.stringify(n)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,t,n)];r=false}const s=e===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(n);if(!s){callback.errors=[getErrorFor(e,t,n)];r=false}return r};callback.errors=[];return callback}});return e}var n=addAbsolutePathKeyword;t.default=n},95855:e=>{"use strict";class Range{static getOperator(e,t){if(e==="left"){return t?">":">="}return t?"<":"<="}static formatRight(e,t,n){if(t===false){return Range.formatLeft(e,!t,!n)}return`should be ${Range.getOperator("right",n)} ${e}`}static formatLeft(e,t,n){if(t===false){return Range.formatRight(e,!t,!n)}return`should be ${Range.getOperator("left",n)} ${e}`}static formatRange(e,t,n,r,i){let s="should be";s+=` ${Range.getOperator(i?"left":"right",i?n:!n)} ${e} `;s+=i?"and":"or";s+=` ${Range.getOperator(i?"right":"left",i?r:!r)} ${t}`;return s}static getRangeValue(e,t){let n=t?Infinity:-Infinity;let r=-1;const i=t?([e])=>e<=n:([e])=>e>=n;for(let t=0;t-1){return e[r]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(e,t=false){this._left.push([e,t])}right(e,t=false){this._right.push([e,t])}format(e=true){const[t,n]=Range.getRangeValue(this._left,e);const[r,i]=Range.getRangeValue(this._right,!e);if(!Number.isFinite(t)&&!Number.isFinite(r)){return""}const s=n?t+1:t;const a=i?r-1:r;if(s===a){return`should be ${e?"":"!"}= ${s}`}if(Number.isFinite(t)&&!Number.isFinite(r)){return Range.formatLeft(t,e,n)}if(!Number.isFinite(t)&&Number.isFinite(r)){return Range.formatRight(r,e,i)}return Range.formatRange(t,r,n,i,e)}}e.exports=Range},47961:(e,t,n)=>{"use strict";const r=n(95855);e.exports.stringHints=function stringHints(e,t){const n=[];let r="string";const i={...e};if(!t){const e=i.minLength;const t=i.formatMinimum;const n=i.formatExclusiveMaximum;i.minLength=i.maxLength;i.maxLength=e;i.formatMinimum=i.formatMaximum;i.formatMaximum=t;i.formatExclusiveMaximum=!i.formatExclusiveMinimum;i.formatExclusiveMinimum=!n}if(typeof i.minLength==="number"){if(i.minLength===1){r="non-empty string"}else{const e=Math.max(i.minLength-1,0);n.push(`should be longer than ${e} character${e>1?"s":""}`)}}if(typeof i.maxLength==="number"){if(i.maxLength===0){r="empty string"}else{const e=i.maxLength+1;n.push(`should be shorter than ${e} character${e>1?"s":""}`)}}if(i.pattern){n.push(`should${t?"":" not"} match pattern ${JSON.stringify(i.pattern)}`)}if(i.format){n.push(`should${t?"":" not"} match format ${JSON.stringify(i.format)}`)}if(i.formatMinimum){n.push(`should be ${i.formatExclusiveMinimum?">":">="} ${JSON.stringify(i.formatMinimum)}`)}if(i.formatMaximum){n.push(`should be ${i.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(i.formatMaximum)}`)}return[r].concat(n)};e.exports.numberHints=function numberHints(e,t){const n=[e.type==="integer"?"integer":"number"];const i=new r;if(typeof e.minimum==="number"){i.left(e.minimum)}if(typeof e.exclusiveMinimum==="number"){i.left(e.exclusiveMinimum,true)}if(typeof e.maximum==="number"){i.right(e.maximum)}if(typeof e.exclusiveMaximum==="number"){i.right(e.exclusiveMaximum,true)}const s=i.format(t);if(s){n.push(s)}if(typeof e.multipleOf==="number"){n.push(`should${t?"":" not"} be multiple of ${e.multipleOf}`)}return n}},18110:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validate=validate;Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return i.default}});var r=_interopRequireDefault(n(77102));var i=_interopRequireDefault(n(24672));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=n(33866);const a=n(35525);const c=new s({allErrors:true,verbose:true,$data:true});a(c,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,r.default)(c);function validate(e,t,n){let r=[];if(Array.isArray(t)){r=Array.from(t,(t=>validateObject(e,t)));r.forEach(((e,t)=>{const applyPrefix=e=>{e.dataPath=`[${t}]${e.dataPath}`;if(e.children){e.children.forEach(applyPrefix)}};e.forEach(applyPrefix)}));r=r.reduce(((e,t)=>{e.push(...t);return e}),[])}else{r=validateObject(e,t)}if(r.length>0){throw new i.default(r,e,n)}}function validateObject(e,t){const n=c.compile(e);const r=n(t);if(r)return[];return n.errors?filterErrors(n.errors):[]}function filterErrors(e){let t=[];for(const n of e){const{dataPath:e}=n;let r=[];t=t.filter((t=>{if(t.dataPath.includes(e)){if(t.children){r=r.concat(t.children.slice(0))}t.children=undefined;r.push(t);return false}return true}));if(r.length){n.children=r}t.push(n)}return t}},27746:(e,t,n)=>{"use strict";const r=n(1226).y;const i=n(1226).P;class CodeNode{constructor(e){this.generatedCode=e}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(e){const t=r(this.generatedCode);const n=Array(t+1).join(";");if(t>0){e.unfinishedGeneratedLine=i(this.generatedCode);if(e.unfinishedGeneratedLine>0){return n+"A"}else{return n}}else{const t=e.unfinishedGeneratedLine;e.unfinishedGeneratedLine+=i(this.generatedCode);if(t===0&&e.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(e){this.generatedCode+=e}mapGeneratedCode(e){const t=e(this.generatedCode);return new CodeNode(t)}getNormalizedNodes(){return[this]}merge(e){if(e instanceof CodeNode){this.generatedCode+=e.generatedCode;return this}return false}}e.exports=CodeNode},30047:e=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(e,t){let n=this.sourcesIndices.get(e);if(typeof n==="number"){return n}n=this.sourcesIndices.size;this.sourcesIndices.set(e,n);this.sourcesContent.set(e,t);if(typeof t==="string")this.hasSourceContent=true;return n}getArrays(){const e=[];const t=[];for(const n of this.sourcesContent){e.push(n[0]);t.push(n[1])}return{sources:e,sourcesContent:t}}}e.exports=MappingsContext},86979:(e,t,n)=>{"use strict";const r=n(37788);const i=n(1226).y;const s=n(1226).P;const a=";AAAA";class SingleLineNode{constructor(e,t,n,r){this.generatedCode=e;this.originalSource=n;this.source=t;this.line=r||1;this._numberOfLines=i(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let i="A";if(e.unfinishedGeneratedLine)i=","+r.encode(e.unfinishedGeneratedLine);i+=r.encode(n-e.currentSource);i+=r.encode(this.line-e.currentOriginalLine);i+="A";e.currentSource=n;e.currentOriginalLine=this.line;const c=e.unfinishedGeneratedLine=s(this.generatedCode);i+=Array(t).join(a);if(c===0){i+=";"}else{if(t!==0)i+=a}return i}getNormalizedNodes(){return[this]}mapGeneratedCode(e){const t=e(this.generatedCode);return new SingleLineNode(t,this.source,this.originalSource,this.line)}merge(e){if(e instanceof SingleLineNode){return this.mergeSingleLineNode(e)}return false}mergeSingleLineNode(e){if(this.source===e.source&&this.originalSource===e.originalSource){if(this.line===e.line){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}else if(this.line+1===e.line&&this._endsWithNewLine&&this._numberOfLines===1&&e._numberOfLines<=1){return new c(this.generatedCode+e.generatedCode,this.source,this.originalSource,this.line)}}return false}}e.exports=SingleLineNode;const c=n(49043)},53273:(e,t,n)=>{"use strict";const r=n(27746);const i=n(49043);const s=n(30047);const a=n(1226).y;class SourceListMap{constructor(e,t,n){if(Array.isArray(e)){this.children=e}else{this.children=[];if(e||t)this.add(e,t,n)}}add(e,t,n){if(typeof e==="string"){if(t){this.children.push(new i(e,t,n))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof r){this.children[this.children.length-1].addGeneratedCode(e)}else{this.children.push(new r(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.push(e)}else if(e.children){e.children.forEach((function(e){this.children.push(e)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(e,t,n){if(typeof e==="string"){if(t){this.children.unshift(new i(e,t,n))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(e)}else{this.children.unshift(new r(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.unshift(e)}else if(e.children){e.children.slice().reverse().forEach((function(e){this.children.unshift(e)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(e){const t=[];this.children.forEach((function(e){e.getNormalizedNodes().forEach((function(e){t.push(e)}))}));const n=[];t.forEach((function(t){t=t.mapGeneratedCode(e);if(n.length===0){n.push(t)}else{const e=n[n.length-1];const r=e.merge(t);if(r){n[n.length-1]=r}else{n.push(t)}}}));return new SourceListMap(n)}toString(){return this.children.map((function(e){return e.getGeneratedCode()})).join("")}toStringWithSourceMap(e){const t=new s;const n=this.children.map((function(e){return e.getGeneratedCode()})).join("");const r=this.children.map((function(e){return e.getMappings(t)})).join("");const i=t.getArrays();return{source:n,map:{version:3,file:e&&e.file,sources:i.sources,sourcesContent:t.hasSourceContent?i.sourcesContent:undefined,mappings:r}}}}e.exports=SourceListMap},49043:(e,t,n)=>{"use strict";const r=n(37788);const i=n(1226).y;const s=n(1226).P;const a=";AACA";class SourceNode{constructor(e,t,n,r){this.generatedCode=e;this.originalSource=n;this.source=t;this.startingLine=r||1;this._numberOfLines=i(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(e){this.generatedCode+=e;this._numberOfLines+=i(e);this._endsWithNewLine=e[e.length-1]==="\n"}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let i="A";if(e.unfinishedGeneratedLine)i=","+r.encode(e.unfinishedGeneratedLine);i+=r.encode(n-e.currentSource);i+=r.encode(this.startingLine-e.currentOriginalLine);i+="A";e.currentSource=n;e.currentOriginalLine=this.startingLine+t-1;const c=e.unfinishedGeneratedLine=s(this.generatedCode);i+=Array(t).join(a);if(c===0){i+=";"}else{if(t!==0){i+=a}e.currentOriginalLine++}return i}mapGeneratedCode(e){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var e=[];var t=this.startingLine;var n=this.generatedCode;var r=0;var i=n.length;while(r{var n={};var r={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach((function(e,t){n[e]=t;r[t]=e}));var i={};i.encode=function base64_encode(e){if(e in r){return r[e]}throw new TypeError("Must be between 0 and 63: "+e)};i.decode=function base64_decode(e){if(e in n){return n[e]}throw new TypeError("Not a valid base 64 digit: "+e)};var s=5;var a=1<>1;return t?-n:n}t.encode=function base64VLQ_encode(e){var t="";var n;var r=toVLQSigned(e);do{n=r&c;r>>>=s;if(r>0){n|=u}t+=i.encode(n)}while(r>0);return t};t.decode=function base64VLQ_decode(e,t){var n=0;var r=e.length;var a=0;var l=0;var d,p;do{if(n>=r){throw new Error("Expected more digits in base 64 VLQ value.")}p=i.decode(e.charAt(n++));d=!!(p&u);p&=c;a=a+(p<{"use strict";const r=n(37788);const i=n(49043);const s=n(27746);const a=n(53273);e.exports=function fromStringWithSourceMap(e,t){const n=t.sources;const c=t.sourcesContent;const u=t.mappings.split(";");const l=e.split("\n");const d=[];let p=null;let h=1;let m=0;let g;function addCode(e){if(p&&p instanceof s){p.addGeneratedCode(e)}else if(p&&p instanceof i&&!e.trim()){p.addGeneratedCode(e);g++}else{p=new s(e);d.push(p)}}function addSource(e,t,n,r){if(p&&p instanceof i&&p.source===t&&g===r){p.addGeneratedCode(e);g++}else{p=new i(e,t,n,r);g=r+1;d.push(p)}}u.forEach((function(e,t){let n=l[t];if(typeof n==="undefined")return;if(t!==l.length-1)n+="\n";if(!e)return addCode(n);e={value:0,rest:e};let r=false;while(e.rest)r=processMapping(e,n,r)||r;if(!r)addCode(n)}));if(u.length{"use strict";t.y=function getNumberOfLines(e){let t=-1;let n=-1;do{t++;n=e.indexOf("\n",n+1)}while(n>=0);return t};t.P=function getUnfinishedLine(e){const t=e.lastIndexOf("\n");if(t===-1)return e.length;else return e.length-t-1}},6900:(e,t,n)=>{t.SourceListMap=n(53273);t.SourceNode=n(49043);t.SingleLineNode=n(86979);t.CodeNode=n(27746);t.MappingsContext=n(30047);t.fromStringWithSourceMap=n(88494)},26837:(e,t,n)=>{var r=n(31983);var i=Object.prototype.hasOwnProperty;var s=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=s?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,t){var n=new ArraySet;for(var r=0,i=e.length;r=0){return t}}else{var n=r.toSetString(e);if(i.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var r=n(96537);var i=5;var s=1<>1;return t?-n:n}t.encode=function base64VLQ_encode(e){var t="";var n;var s=toVLQSigned(e);do{n=s&a;s>>>=i;if(s>0){n|=c}t+=r.encode(n)}while(s>0);return t};t.decode=function base64VLQ_decode(e,t,n){var s=e.length;var u=0;var l=0;var d,p;do{if(t>=s){throw new Error("Expected more digits in base 64 VLQ value.")}p=r.decode(e.charCodeAt(t++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(t-1))}d=!!(p&c);p&=a;u=u+(p<{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e{t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,r,i,s,a){var c=Math.floor((n-e)/2)+e;var u=s(r,i[c],true);if(u===0){return c}else if(u>0){if(n-c>1){return recursiveSearch(c,n,r,i,s,a)}if(a==t.LEAST_UPPER_BOUND){return n1){return recursiveSearch(e,c,r,i,s,a)}if(a==t.LEAST_UPPER_BOUND){return c}else{return e<0?-1:e}}}t.search=function search(e,n,r,i){if(n.length===0){return-1}var s=recursiveSearch(-1,n.length,e,n,r,i||t.GREATEST_LOWER_BOUND);if(s<0){return-1}while(s-1>=0){if(r(n[s],n[s-1],true)!==0){break}--s}return s}},91740:(e,t,n)=>{var r=n(31983);function generatedPositionAfter(e,t){var n=e.generatedLine;var i=t.generatedLine;var s=e.generatedColumn;var a=t.generatedColumn;return i>n||i==n&&a>=s||r.compareByGeneratedPositionsInflated(e,t)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,t){this._array.forEach(e,t)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(r.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};t.H=MappingList},68226:(e,t)=>{function swap(e,t,n){var r=e[t];e[t]=e[n];e[n]=r}function randomIntInRange(e,t){return Math.round(e+Math.random()*(t-e))}function doQuickSort(e,t,n,r){if(n{var r;var i=n(31983);var s=n(53164);var a=n(26837).I;var c=n(4215);var u=n(68226).U;function SourceMapConsumer(e,t){var n=e;if(typeof e==="string"){n=i.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,t):new BasicSourceMapConsumer(n,t)}SourceMapConsumer.fromSourceMap=function(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,t){var n=e.charAt(t);return n===";"||n===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,t,n){var r=t||null;var s=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(s){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;a.map((function(e){var t=e.source===null?null:this._sources.at(e.source);t=i.computeSourceURL(c,t,this._sourceMapURL);return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,r)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var t=i.getArg(e,"line");var n={source:i.getArg(e,"source"),originalLine:t,originalColumn:i.getArg(e,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var r=[];var a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,s.LEAST_UPPER_BOUND);if(a>=0){var c=this._originalMappings[a];if(e.column===undefined){var u=c.originalLine;while(c&&c.originalLine===u){r.push({line:i.getArg(c,"generatedLine",null),column:i.getArg(c,"generatedColumn",null),lastColumn:i.getArg(c,"lastGeneratedColumn",null)});c=this._originalMappings[++a]}}else{var l=c.originalColumn;while(c&&c.originalLine===t&&c.originalColumn==l){r.push({line:i.getArg(c,"generatedLine",null),column:i.getArg(c,"generatedColumn",null),lastColumn:i.getArg(c,"lastGeneratedColumn",null)});c=this._originalMappings[++a]}}}return r};t.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,t){var n=e;if(typeof e==="string"){n=i.parseSourceMapInput(e)}var r=i.getArg(n,"version");var s=i.getArg(n,"sources");var c=i.getArg(n,"names",[]);var u=i.getArg(n,"sourceRoot",null);var l=i.getArg(n,"sourcesContent",null);var d=i.getArg(n,"mappings");var p=i.getArg(n,"file",null);if(r!=this._version){throw new Error("Unsupported version: "+r)}if(u){u=i.normalize(u)}s=s.map(String).map(i.normalize).map((function(e){return u&&i.isAbsolute(u)&&i.isAbsolute(e)?i.relative(u,e):e}));this._names=a.fromArray(c.map(String),true);this._sources=a.fromArray(s,true);this._absoluteSources=this._sources.toArray().map((function(e){return i.computeSourceURL(u,e,t)}));this.sourceRoot=u;this.sourcesContent=l;this._mappings=d;this._sourceMapURL=t;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null){t=i.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}var n;for(n=0;n1){b.source=l+k[1];l+=k[1];b.originalLine=s+k[2];s=b.originalLine;b.originalLine+=1;b.originalColumn=a+k[3];a=b.originalColumn;if(k.length>4){b.name=d+k[4];d+=k[4]}}_.push(b);if(typeof b.originalLine==="number"){y.push(b)}}}u(_,i.compareByGeneratedPositionsDeflated);this.__generatedMappings=_;u(y,i.compareByOriginalPositions);this.__originalMappings=y};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,t,n,r,i,a){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[r]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[r])}return s.search(e,t,i,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var r=this._generatedMappings[n];if(r.generatedLine===t.generatedLine){var s=i.getArg(r,"source",null);if(s!==null){s=this._sources.at(s);s=i.computeSourceURL(this.sourceRoot,s,this._sourceMapURL)}var a=i.getArg(r,"name",null);if(a!==null){a=this._names.at(a)}return{source:s,line:i.getArg(r,"originalLine",null),column:i.getArg(r,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,t){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var r=e;if(this.sourceRoot!=null){r=i.relative(this.sourceRoot,r)}var s;if(this.sourceRoot!=null&&(s=i.urlParse(this.sourceRoot))){var a=r.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!s.path||s.path=="/")&&this._sources.has("/"+r)){return this.sourcesContent[this._sources.indexOf("/"+r)]}}if(t){return null}else{throw new Error('"'+r+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var t=i.getArg(e,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}var n={source:t,originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};var r=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,i.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(r>=0){var s=this._originalMappings[r];if(s.source===n.source){return{line:i.getArg(s,"generatedLine",null),column:i.getArg(s,"generatedColumn",null),lastColumn:i.getArg(s,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};r=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,t){var n=e;if(typeof e==="string"){n=i.parseSourceMapInput(e)}var r=i.getArg(n,"version");var s=i.getArg(n,"sections");if(r!=this._version){throw new Error("Unsupported version: "+r)}this._sources=new a;this._names=new a;var c={line:-1,column:0};this._sections=s.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=i.getArg(e,"offset");var r=i.getArg(n,"line");var s=i.getArg(n,"column");if(r{var r=n(4215);var i=n(31983);var s=n(26837).I;var a=n(91740).H;function SourceMapGenerator(e){if(!e){e={}}this._file=i.getArg(e,"file",null);this._sourceRoot=i.getArg(e,"sourceRoot",null);this._skipValidation=i.getArg(e,"skipValidation",false);this._sources=new s;this._names=new s;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var t=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:t});e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){r.source=e.source;if(t!=null){r.source=i.relative(t,r.source)}r.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){r.name=e.name}}n.addMapping(r)}));e.sources.forEach((function(r){var s=r;if(t!==null){s=i.relative(t,r)}if(!n._sources.has(s)){n._sources.add(s)}var a=e.sourceContentFor(r);if(a!=null){n.setSourceContent(r,a)}}));return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var t=i.getArg(e,"generated");var n=i.getArg(e,"original",null);var r=i.getArg(e,"source",null);var s=i.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,n,r,s)}if(r!=null){r=String(r);if(!this._sources.has(r)){this._sources.add(r)}}if(s!=null){s=String(s);if(!this._names.has(s)){this._names.add(s)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:r,name:s})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,t){var n=e;if(this._sourceRoot!=null){n=i.relative(this._sourceRoot,n)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[i.toSetString(n)]=t}else if(this._sourcesContents){delete this._sourcesContents[i.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,t,n){var r=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}r=e.file}var a=this._sourceRoot;if(a!=null){r=i.relative(a,r)}var c=new s;var u=new s;this._mappings.unsortedForEach((function(t){if(t.source===r&&t.originalLine!=null){var s=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(s.source!=null){t.source=s.source;if(n!=null){t.source=i.join(n,t.source)}if(a!=null){t.source=i.relative(a,t.source)}t.originalLine=s.line;t.originalColumn=s.column;if(s.name!=null){t.name=s.name}}}var l=t.source;if(l!=null&&!c.has(l)){c.add(l)}var d=t.name;if(d!=null&&!u.has(d)){u.add(d)}}),this);this._sources=c;this._names=u;e.sources.forEach((function(t){var r=e.sourceContentFor(t);if(r!=null){if(n!=null){t=i.join(n,t)}if(a!=null){t=i.relative(a,t)}this.setSourceContent(t,r)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,t,n,r){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var t=1;var n=0;var s=0;var a=0;var c=0;var u="";var l;var d;var p;var h;var m=this._mappings.toArray();for(var g=0,y=m.length;g0){if(!i.compareByGeneratedPositionsInflated(d,m[g-1])){continue}l+=","}}l+=r.encode(d.generatedColumn-e);e=d.generatedColumn;if(d.source!=null){h=this._sources.indexOf(d.source);l+=r.encode(h-c);c=h;l+=r.encode(d.originalLine-1-s);s=d.originalLine-1;l+=r.encode(d.originalColumn-n);n=d.originalColumn;if(d.name!=null){p=this._names.indexOf(d.name);l+=r.encode(p-a);a=p}}u+=l}return u};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents){return null}if(t!=null){e=i.relative(t,e)}var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};t.SourceMapGenerator=SourceMapGenerator},9990:(e,t,n)=>{var r=n(11341).SourceMapGenerator;var i=n(31983);var s=/(\r?\n)/;var a=10;var c="$$$isSourceNode$$$";function SourceNode(e,t,n,r,i){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=n==null?null:n;this.name=i==null?null:i;this[c]=true;if(r!=null)this.add(r)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,t,n){var r=new SourceNode;var a=e.split(s);var c=0;var shiftNextLine=function(){var e=getNextLine();var t=getNextLine()||"";return e+t;function getNextLine(){return c=0;t--){this.prepend(e[t])}}else if(e[c]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var t;for(var n=0,r=this.children.length;n0){t=[];for(n=0;n{function getArg(e,t,n){if(t in e){return e[t]}else if(arguments.length===3){return n}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=getArg;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var r=/^data:.+\,.+$/;function urlParse(e){var t=e.match(n);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=urlGenerate;function normalize(e){var n=e;var r=urlParse(e);if(r){if(!r.path){return e}n=r.path}var i=t.isAbsolute(n);var s=n.split(/\/+/);for(var a,c=0,u=s.length-1;u>=0;u--){a=s[u];if(a==="."){s.splice(u,1)}else if(a===".."){c++}else if(c>0){if(a===""){s.splice(u+1,c);c=0}else{s.splice(u,2);c--}}}n=s.join("/");if(n===""){n=i?"/":"."}if(r){r.path=n;return urlGenerate(r)}return n}t.normalize=normalize;function join(e,t){if(e===""){e="."}if(t===""){t="."}var n=urlParse(t);var i=urlParse(e);if(i){e=i.path||"/"}if(n&&!n.scheme){if(i){n.scheme=i.scheme}return urlGenerate(n)}if(n||t.match(r)){return t}if(i&&!i.host&&!i.path){i.host=t;return urlGenerate(i)}var s=t.charAt(0)==="/"?t:normalize(e.replace(/\/+$/,"")+"/"+t);if(i){i.path=s;return urlGenerate(i)}return s}t.join=join;t.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var n=0;while(t.indexOf(e+"/")!==0){var r=e.lastIndexOf("/");if(r<0){return t}e=e.slice(0,r);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++n}return Array(n+1).join("../")+t.substr(e.length+1)}t.relative=relative;var i=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}t.toSetString=i?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}t.fromSetString=i?identity:fromSetString;function isProtoString(e){if(!e){return false}var t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(var n=t-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,t,n){var r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0||n){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=e.generatedLine-t.generatedLine;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,t,n){var r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0||n){return r}r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function compareByGeneratedPositionsInflated(e,t){var n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,t,n){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(n){var r=urlParse(n);if(!r){throw new Error("sourceMapURL could not be parsed")}if(r.path){var i=r.path.lastIndexOf("/");if(i>=0){r.path=r.path.substring(0,i+1)}}t=join(urlGenerate(r),t)}return normalize(t)}t.computeSourceURL=computeSourceURL},99596:(e,t,n)=>{t.SourceMapGenerator=n(11341).SourceMapGenerator;t.SourceMapConsumer=n(86327).SourceMapConsumer;t.SourceNode=n(9990).SourceNode},72679:e=>{"use strict";e.exports=e=>{if(typeof e!=="string"){throw new TypeError("Expected a string, got "+typeof e)}if(e.charCodeAt(0)===65279){return e.slice(1)}return e}},96204:(e,t,n)=>{"use strict";const r=n(12087);const i=n(33867);const s=n(86811);const{env:a}=process;let c;if(s("no-color")||s("no-colors")||s("color=false")||s("color=never")){c=0}else if(s("color")||s("colors")||s("color=true")||s("color=always")){c=1}if("FORCE_COLOR"in a){if(a.FORCE_COLOR==="true"){c=1}else if(a.FORCE_COLOR==="false"){c=0}else{c=a.FORCE_COLOR.length===0?1:Math.min(parseInt(a.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(c===0){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!t&&c===undefined){return 0}const n=c||0;if(a.TERM==="dumb"){return n}if(process.platform==="win32"){const e=r.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in a){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in a))||a.CI_NAME==="codeship"){return 1}return n}if("TEAMCITY_VERSION"in a){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0}if(a.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(a.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)){return 1}if("COLORTERM"in a){return 1}return n}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,i.isatty(1))),stderr:translateLevel(supportsColor(true,i.isatty(2)))}},78802:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class AsyncParallelBailHookCodeFactory extends i{content({onError:e,onResult:t,onDone:n}){let r="";r+=`var _results = new Array(${this.options.taps.length});\n`;r+="var _checkDone = function() {\n";r+="for(var i = 0; i < _results.length; i++) {\n";r+="var item = _results[i];\n";r+="if(item === undefined) return false;\n";r+="if(item.result !== undefined) {\n";r+=t("item.result");r+="return true;\n";r+="}\n";r+="if(item.error) {\n";r+=e("item.error");r+="return true;\n";r+="}\n";r+="}\n";r+="return false;\n";r+="}\n";r+=this.callTapsParallel({onError:(e,t,n,r)=>{let i="";i+=`if(${e} < _results.length && ((_results.length = ${e+1}), (_results[${e}] = { error: ${t} }), _checkDone())) {\n`;i+=r(true);i+="} else {\n";i+=n();i+="}\n";return i},onResult:(e,t,n,r)=>{let i="";i+=`if(${e} < _results.length && (${t} !== undefined && (_results.length = ${e+1}), (_results[${e}] = { result: ${t} }), _checkDone())) {\n`;i+=r(true);i+="} else {\n";i+=n();i+="}\n";return i},onTap:(e,t,n,r)=>{let i="";if(e>0){i+=`if(${e} >= _results.length) {\n`;i+=n();i+="} else {\n"}i+=t();if(e>0)i+="}\n";return i},onDone:n});return r}}const s=new AsyncParallelBailHookCodeFactory;const COMPILE=function(e){s.setup(this,e);return s.create(e)};function AsyncParallelBailHook(e=[],t=undefined){const n=new r(e,t);n.constructor=AsyncParallelBailHook;n.compile=COMPILE;n._call=undefined;n.call=undefined;return n}AsyncParallelBailHook.prototype=null;e.exports=AsyncParallelBailHook},3350:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class AsyncParallelHookCodeFactory extends i{content({onError:e,onDone:t}){return this.callTapsParallel({onError:(t,n,r,i)=>e(n)+i(true),onDone:t})}}const s=new AsyncParallelHookCodeFactory;const COMPILE=function(e){s.setup(this,e);return s.create(e)};function AsyncParallelHook(e=[],t=undefined){const n=new r(e,t);n.constructor=AsyncParallelHook;n.compile=COMPILE;n._call=undefined;n.call=undefined;return n}AsyncParallelHook.prototype=null;e.exports=AsyncParallelHook},4953:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class AsyncSeriesBailHookCodeFactory extends i{content({onError:e,onResult:t,resultReturns:n,onDone:r}){return this.callTapsSeries({onError:(t,n,r,i)=>e(n)+i(true),onResult:(e,n,r)=>`if(${n} !== undefined) {\n${t(n)}\n} else {\n${r()}}\n`,resultReturns:n,onDone:r})}}const s=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(e){s.setup(this,e);return s.create(e)};function AsyncSeriesBailHook(e=[],t=undefined){const n=new r(e,t);n.constructor=AsyncSeriesBailHook;n.compile=COMPILE;n._call=undefined;n.call=undefined;return n}AsyncSeriesBailHook.prototype=null;e.exports=AsyncSeriesBailHook},68152:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class AsyncSeriesHookCodeFactory extends i{content({onError:e,onDone:t}){return this.callTapsSeries({onError:(t,n,r,i)=>e(n)+i(true),onDone:t})}}const s=new AsyncSeriesHookCodeFactory;const COMPILE=function(e){s.setup(this,e);return s.create(e)};function AsyncSeriesHook(e=[],t=undefined){const n=new r(e,t);n.constructor=AsyncSeriesHook;n.compile=COMPILE;n._call=undefined;n.call=undefined;return n}AsyncSeriesHook.prototype=null;e.exports=AsyncSeriesHook},25810:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class AsyncSeriesLoopHookCodeFactory extends i{content({onError:e,onDone:t}){return this.callTapsLooping({onError:(t,n,r,i)=>e(n)+i(true),onDone:t})}}const s=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(e){s.setup(this,e);return s.create(e)};function AsyncSeriesLoopHook(e=[],t=undefined){const n=new r(e,t);n.constructor=AsyncSeriesLoopHook;n.compile=COMPILE;n._call=undefined;n.call=undefined;return n}AsyncSeriesLoopHook.prototype=null;e.exports=AsyncSeriesLoopHook},66760:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class AsyncSeriesWaterfallHookCodeFactory extends i{content({onError:e,onResult:t,onDone:n}){return this.callTapsSeries({onError:(t,n,r,i)=>e(n)+i(true),onResult:(e,t,n)=>{let r="";r+=`if(${t} !== undefined) {\n`;r+=`${this._args[0]} = ${t};\n`;r+=`}\n`;r+=n();return r},onDone:()=>t(this._args[0])})}}const s=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(e){s.setup(this,e);return s.create(e)};function AsyncSeriesWaterfallHook(e=[],t=undefined){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const n=new r(e,t);n.constructor=AsyncSeriesWaterfallHook;n.compile=COMPILE;n._call=undefined;n.call=undefined;return n}AsyncSeriesWaterfallHook.prototype=null;e.exports=AsyncSeriesWaterfallHook},67332:(e,t,n)=>{"use strict";const r=n(31669);const i=r.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...e){this.call=this._createCall("sync");return this.call(...e)};const CALL_ASYNC_DELEGATE=function(...e){this.callAsync=this._createCall("async");return this.callAsync(...e)};const PROMISE_DELEGATE=function(...e){this.promise=this._createCall("promise");return this.promise(...e)};class Hook{constructor(e=[],t=undefined){this._args=e;this.name=t;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(e){throw new Error("Abstract: should be overridden")}_createCall(e){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:e})}_tap(e,t,n){if(typeof t==="string"){t={name:t.trim()}}else if(typeof t!=="object"||t===null){throw new Error("Invalid tap options")}if(typeof t.name!=="string"||t.name===""){throw new Error("Missing name for tap")}if(typeof t.context!=="undefined"){i()}t=Object.assign({type:e,fn:n},t);t=this._runRegisterInterceptors(t);this._insert(t)}tap(e,t){this._tap("sync",e,t)}tapAsync(e,t){this._tap("async",e,t)}tapPromise(e,t){this._tap("promise",e,t)}_runRegisterInterceptors(e){for(const t of this.interceptors){if(t.register){const n=t.register(e);if(n!==undefined){e=n}}}return e}withOptions(e){const mergeOptions=t=>Object.assign({},e,typeof t==="string"?{name:t}:t);return{name:this.name,tap:(e,t)=>this.tap(mergeOptions(e),t),tapAsync:(e,t)=>this.tapAsync(mergeOptions(e),t),tapPromise:(e,t)=>this.tapPromise(mergeOptions(e),t),intercept:e=>this.intercept(e),isUsed:()=>this.isUsed(),withOptions:e=>this.withOptions(mergeOptions(e))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(e){this._resetCompilation();this.interceptors.push(Object.assign({},e));if(e.register){for(let t=0;t0){r--;const e=this.taps[r];this.taps[r+1]=e;const i=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0){continue}}if(i>n){continue}r++;break}this.taps[r]=e}}Object.setPrototypeOf(Hook.prototype,null);e.exports=Hook},91165:e=>{"use strict";class HookCodeFactory{constructor(e){this.config=e;this.options=undefined;this._args=undefined}create(e){this.init(e);let t;switch(this.options.type){case"sync":t=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`throw ${e};\n`,onResult:e=>`return ${e};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":t=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`_callback(${e});\n`,onResult:e=>`_callback(null, ${e});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let e=false;const n=this.contentWithInterceptors({onError:t=>{e=true;return`_error(${t});\n`},onResult:e=>`_resolve(${e});\n`,onDone:()=>"_resolve();\n"});let r="";r+='"use strict";\n';r+=this.header();r+="return new Promise((function(_resolve, _reject) {\n";if(e){r+="var _sync = true;\n";r+="function _error(_err) {\n";r+="if(_sync)\n";r+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";r+="else\n";r+="_reject(_err);\n";r+="};\n"}r+=n;if(e){r+="_sync = false;\n"}r+="}));\n";t=new Function(this.args(),r);break}this.deinit();return t}setup(e,t){e._x=t.taps.map((e=>e.fn))}init(e){this.options=e;this._args=e.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(e){if(this.options.interceptors.length>0){const t=e.onError;const n=e.onResult;const r=e.onDone;let i="";for(let e=0;e{let n="";for(let t=0;t{let t="";for(let n=0;n{let e="";for(let t=0;t0){e+="var _taps = this.taps;\n";e+="var _interceptors = this.interceptors;\n"}return e}needContext(){for(const e of this.options.taps)if(e.context)return true;return false}callTap(e,{onError:t,onResult:n,onDone:r,rethrowIfPossible:i}){let s="";let a=false;for(let t=0;te.type!=="sync"));const c=n||i;let u="";let l=r;let d=0;for(let n=this.options.taps.length-1;n>=0;n--){const i=n;const p=l!==r&&(this.options.taps[i].type!=="sync"||d++>20);if(p){d=0;u+=`function _next${i}() {\n`;u+=l();u+=`}\n`;l=()=>`${c?"return ":""}_next${i}();\n`}const h=l;const doneBreak=e=>{if(e)return"";return r()};const m=this.callTap(i,{onError:t=>e(i,t,h,doneBreak),onResult:t&&(e=>t(i,e,h,doneBreak)),onDone:!t&&h,rethrowIfPossible:s&&(a<0||im}u+=l();return u}callTapsLooping({onError:e,onDone:t,rethrowIfPossible:n}){if(this.options.taps.length===0)return t();const r=this.options.taps.every((e=>e.type==="sync"));let i="";if(!r){i+="var _looper = (function() {\n";i+="var _loopAsync = false;\n"}i+="var _loop;\n";i+="do {\n";i+="_loop = false;\n";for(let e=0;e{let s="";s+=`if(${t} !== undefined) {\n`;s+="_loop = true;\n";if(!r)s+="if(_loopAsync) _looper();\n";s+=i(true);s+=`} else {\n`;s+=n();s+=`}\n`;return s},onDone:t&&(()=>{let e="";e+="if(!_loop) {\n";e+=t();e+="}\n";return e}),rethrowIfPossible:n&&r});i+="} while(_loop);\n";if(!r){i+="_loopAsync = true;\n";i+="});\n";i+="_looper();\n"}return i}callTapsParallel({onError:e,onResult:t,onDone:n,rethrowIfPossible:r,onTap:i=((e,t)=>t())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:e,onResult:t,onDone:n,rethrowIfPossible:r})}let s="";s+="do {\n";s+=`var _counter = ${this.options.taps.length};\n`;if(n){s+="var _done = (function() {\n";s+=n();s+="});\n"}for(let a=0;a{if(n)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=e=>{if(e||!n)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};s+="if(_counter <= 0) break;\n";s+=i(a,(()=>this.callTap(a,{onError:t=>{let n="";n+="if(_counter > 0) {\n";n+=e(a,t,done,doneBreak);n+="}\n";return n},onResult:t&&(e=>{let n="";n+="if(_counter > 0) {\n";n+=t(a,e,done,doneBreak);n+="}\n";return n}),onDone:!t&&(()=>done()),rethrowIfPossible:r})),done,doneBreak)}s+="} while(false);\n";return s}args({before:e,after:t}={}){let n=this._args;if(e)n=[e].concat(n);if(t)n=n.concat(t);if(n.length===0){return""}else{return n.join(", ")}}getTapFn(e){return`_x[${e}]`}getTap(e){return`_taps[${e}]`}getInterceptor(e){return`_interceptors[${e}]`}}e.exports=HookCodeFactory},28636:(e,t,n)=>{"use strict";const r=n(31669);const defaultFactory=(e,t)=>t;class HookMap{constructor(e,t=undefined){this._map=new Map;this.name=t;this._factory=e;this._interceptors=[]}get(e){return this._map.get(e)}for(e){const t=this.get(e);if(t!==undefined){return t}let n=this._factory(e);const r=this._interceptors;for(let t=0;t{"use strict";const r=n(67332);class MultiHook{constructor(e,t=undefined){this.hooks=e;this.name=t}tap(e,t){for(const n of this.hooks){n.tap(e,t)}}tapAsync(e,t){for(const n of this.hooks){n.tapAsync(e,t)}}tapPromise(e,t){for(const n of this.hooks){n.tapPromise(e,t)}}isUsed(){for(const e of this.hooks){if(e.isUsed())return true}return false}intercept(e){for(const t of this.hooks){t.intercept(e)}}withOptions(e){return new MultiHook(this.hooks.map((t=>t.withOptions(e))),this.name)}}e.exports=MultiHook},3334:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class SyncBailHookCodeFactory extends i{content({onError:e,onResult:t,resultReturns:n,onDone:r,rethrowIfPossible:i}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,n,r)=>`if(${n} !== undefined) {\n${t(n)};\n} else {\n${r()}}\n`,resultReturns:n,onDone:r,rethrowIfPossible:i})}}const s=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(e){s.setup(this,e);return s.create(e)};function SyncBailHook(e=[],t=undefined){const n=new r(e,t);n.constructor=SyncBailHook;n.tapAsync=TAP_ASYNC;n.tapPromise=TAP_PROMISE;n.compile=COMPILE;return n}SyncBailHook.prototype=null;e.exports=SyncBailHook},6728:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class SyncHookCodeFactory extends i{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsSeries({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}}const s=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(e){s.setup(this,e);return s.create(e)};function SyncHook(e=[],t=undefined){const n=new r(e,t);n.constructor=SyncHook;n.tapAsync=TAP_ASYNC;n.tapPromise=TAP_PROMISE;n.compile=COMPILE;return n}SyncHook.prototype=null;e.exports=SyncHook},52332:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class SyncLoopHookCodeFactory extends i{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsLooping({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}}const s=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(e){s.setup(this,e);return s.create(e)};function SyncLoopHook(e=[],t=undefined){const n=new r(e,t);n.constructor=SyncLoopHook;n.tapAsync=TAP_ASYNC;n.tapPromise=TAP_PROMISE;n.compile=COMPILE;return n}SyncLoopHook.prototype=null;e.exports=SyncLoopHook},81934:(e,t,n)=>{"use strict";const r=n(67332);const i=n(91165);class SyncWaterfallHookCodeFactory extends i{content({onError:e,onResult:t,resultReturns:n,rethrowIfPossible:r}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,t,n)=>{let r="";r+=`if(${t} !== undefined) {\n`;r+=`${this._args[0]} = ${t};\n`;r+=`}\n`;r+=n();return r},onDone:()=>t(this._args[0]),doneReturns:n,rethrowIfPossible:r})}}const s=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(e){s.setup(this,e);return s.create(e)};function SyncWaterfallHook(e=[],t=undefined){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const n=new r(e,t);n.constructor=SyncWaterfallHook;n.tapAsync=TAP_ASYNC;n.tapPromise=TAP_PROMISE;n.compile=COMPILE;return n}SyncWaterfallHook.prototype=null;e.exports=SyncWaterfallHook},92960:(e,t,n)=>{"use strict";t.__esModule=true;t.SyncHook=n(6728);t.SyncBailHook=n(3334);t.SyncWaterfallHook=n(81934);t.SyncLoopHook=n(52332);t.AsyncParallelHook=n(3350);t.AsyncParallelBailHook=n(78802);t.AsyncSeriesHook=n(68152);t.AsyncSeriesBailHook=n(4953);t.AsyncSeriesLoopHook=n(25810);t.AsyncSeriesWaterfallHook=n(66760);t.HookMap=n(28636);t.MultiHook=n(20937)},96013:(e,t,n)=>{"use strict";const r=n(98225);e.exports=r.default},98225:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=_interopRequireWildcard(n(85622));var i=_interopRequireWildcard(n(12087));var s=n(99596);var a=n(15235);var c=_interopRequireDefault(n(35764));var u=_interopRequireWildcard(n(2382));var l=_interopRequireDefault(n(97909));var d=_interopRequireDefault(n(69419));var p=_interopRequireWildcard(n(26068));var h=n(6218);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;if(s&&(s.get||s.set)){Object.defineProperty(n,i,s)}else{n[i]=e[i]}}}n.default=e;if(t){t.set(e,n)}return n}class TerserPlugin{constructor(e={}){(0,a.validate)(p,e,{name:"Terser Plugin",baseDataPath:"options"});const{minify:t,terserOptions:n={},test:r=/\.[cm]?js(\?.*)?$/i,extractComments:i=true,parallel:s=true,include:c,exclude:u}=e;this.options={test:r,extractComments:i,parallel:s,include:c,exclude:u,minify:t,terserOptions:n}}static isSourceMap(e){return Boolean(e&&e.version&&e.sources&&Array.isArray(e.sources)&&typeof e.mappings==="string")}static buildError(e,t,n,r){if(e.line){const i=r&&r.originalPositionFor({line:e.line,column:e.col});if(i&&i.source&&n){return new Error(`${t} from Terser\n${e.message} [${n.shorten(i.source)}:${i.line},${i.column}][${t}:${e.line},${e.col}]${e.stack?`\n${e.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${t} from Terser\n${e.message} [${t}:${e.line},${e.col}]${e.stack?`\n${e.stack.split("\n").slice(1).join("\n")}`:""}`)}if(e.stack){return new Error(`${t} from Terser\n${e.stack}`)}return new Error(`${t} from Terser\n${e.message}`)}static getAvailableNumberOfCores(e){const t=i.cpus()||{length:1};return e===true?t.length-1:Math.min(Number(e)||0,t.length-1)}async optimize(e,t,i,a){const u=t.getCache("TerserWebpackPlugin");let p=0;const m=await Promise.all(Object.keys(i).filter((n=>{const{info:r}=t.getAsset(n);if(r.minimized||r.extractedComments){return false}if(!e.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(n)){return false}return true})).map((async e=>{const{info:n,source:r}=t.getAsset(e);const i=u.getLazyHashedEtag(r);const s=u.getItemCache(e,i);const a=await s.getPromise();if(!a){p+=1}return{name:e,info:n,inputSource:r,output:a,cacheItem:s}})));let g;let y;let _;if(a.availableNumberOfCores>0){_=Math.min(p,a.availableNumberOfCores);g=()=>{if(y){return y}y=new d.default(n.ab+"minify.js",{numWorkers:_,enableWorkerThreads:true});const e=y.getStdout();if(e){e.on("data",(e=>process.stdout.write(e)))}const t=y.getStderr();if(t){t.on("data",(e=>process.stderr.write(e)))}return y}}const b=(0,l.default)(g&&p>0?_:Infinity);const{SourceMapSource:x,ConcatSource:k,RawSource:E}=e.webpack.sources;const w=new Map;const S=[];for(const e of m){S.push(b((async()=>{const{name:n,inputSource:i,info:a,cacheItem:u}=e;let{output:l}=e;if(!l){let e;let d;const{source:p,map:m}=i.sourceAndMap();e=p;if(m){if(TerserPlugin.isSourceMap(m)){d=m}else{d=m;t.warnings.push(new Error(`${n} contains invalid source map`))}}if(Buffer.isBuffer(e)){e=e.toString()}const y={name:n,input:e,inputSourceMap:d,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof y.minifyOptions.module==="undefined"){if(typeof a.javascriptModule!=="undefined"){y.minifyOptions.module=a.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(n)){y.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(n)){y.minifyOptions.module=false}}try{l=await(g?g().transform((0,c.default)(y)):(0,h.minify)(y))}catch(e){const r=d&&TerserPlugin.isSourceMap(d);t.errors.push(TerserPlugin.buildError(e,n,r?t.requestShortener:undefined,r?new s.SourceMapConsumer(d):undefined));return}let _;if(this.options.extractComments.banner!==false&&l.extractedComments&&l.extractedComments.length>0&&l.code.startsWith("#!")){const e=l.code.indexOf("\n");_=l.code.substring(0,e);l.code=l.code.substring(e+1)}if(l.map){l.source=new x(l.code,n,l.map,e,d,true)}else{l.source=new E(l.code)}if(l.extractedComments&&l.extractedComments.length>0){const e=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let i="";let s=n;const a=s.indexOf("?");if(a>=0){i=s.substr(a);s=s.substr(0,a)}const c=s.lastIndexOf("/");const u=c===-1?s:s.substr(c+1);const d={filename:s,basename:u,query:i};l.commentsFilename=t.getPath(e,d);let p;if(this.options.extractComments.banner!==false){p=this.options.extractComments.banner||`For license information please see ${r.relative(r.dirname(n),l.commentsFilename).replace(/\\/g,"/")}`;if(typeof p==="function"){p=p(l.commentsFilename)}if(p){l.source=new k(_?`${_}\n`:"",`/*! ${p} */\n`,l.source)}}const h=l.extractedComments.sort().join("\n\n");l.extractedCommentsSource=new E(`${h}\n`)}await u.storePromise({source:l.source,commentsFilename:l.commentsFilename,extractedCommentsSource:l.extractedCommentsSource})}const d={minimized:true};const{source:p,extractedCommentsSource:m}=l;if(m){const{commentsFilename:e}=l;d.related={license:e};w.set(n,{extractedCommentsSource:m,commentsFilename:e})}t.updateAsset(n,p,d)})))}await Promise.all(S);if(y){await y.end()}await Array.from(w).sort().reduce((async(e,[n,r])=>{const i=await e;const{commentsFilename:s,extractedCommentsSource:a}=r;if(i&&i.commentsFilename===s){const{from:e,source:r}=i;const c=`${e}|${n}`;const l=`${s}|${c}`;const d=[r,a].map((e=>u.getLazyHashedEtag(e))).reduce(((e,t)=>u.mergeEtags(e,t)));let p=await u.getPromise(l,d);if(!p){p=new k(Array.from(new Set([...r.source().split("\n\n"),...a.source().split("\n\n")])).join("\n\n"));await u.storePromise(l,d,p)}t.updateAsset(s,p);return{commentsFilename:s,from:c,source:p}}const c=t.getAsset(s);if(c){return{commentsFilename:s,from:s,source:c.source}}t.emitAsset(s,a,{extractedComments:true});return{commentsFilename:s,from:n,source:a}}),Promise.resolve())}static getEcmaVersion(e){if(e.arrowFunction||e.const||e.destructuring||e.forOf||e.module){return 2015}if(e.bigIntLiteral||e.dynamicImport){return 2020}return 5}apply(e){const{output:t}=e.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(t.environment||{})}const n=this.constructor.name;const r=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);e.hooks.compilation.tap(n,(t=>{const i=e.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(t);const s=(0,c.default)({terser:u.version,terserOptions:this.options.terserOptions});i.chunkHash.tap(n,((e,t)=>{t.update("TerserPlugin");t.update(s)}));t.hooks.processAssets.tapPromise({name:n,stage:e.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(n=>this.optimize(e,t,n,{availableNumberOfCores:r})));t.hooks.statsPrinter.tap(n,(e=>{e.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((e,{green:t,formatFlag:n})=>e?t(n("minimized")):undefined))}))}))}}var m=TerserPlugin;t.default=m},6218:(e,t,n)=>{"use strict";e=n.nmd(e);const{minify:r}=n(57217);function buildTerserOptions(e={}){return{...e,mangle:e.mangle==null?true:typeof e.mangle==="boolean"?e.mangle:{...e.mangle},sourceMap:undefined,...e.format?{format:{beautify:false,...e.format}}:{output:{beautify:false,...e.output}}}}function isObject(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")}function buildComments(e,t,n){const r={};let i;if(t.format){({comments:i}=t.format)}else if(t.output){({comments:i}=t.output)}r.preserve=typeof i!=="undefined"?i:false;if(typeof e==="boolean"&&e){r.extract="some"}else if(typeof e==="string"||e instanceof RegExp){r.extract=e}else if(typeof e==="function"){r.extract=e}else if(e&&isObject(e)){r.extract=typeof e.condition==="boolean"&&e.condition?"some":typeof e.condition!=="undefined"?e.condition:"some"}else{r.preserve=typeof i!=="undefined"?i:"some";r.extract=false}["preserve","extract"].forEach((e=>{let t;let n;switch(typeof r[e]){case"boolean":r[e]=r[e]?()=>true:()=>false;break;case"function":break;case"string":if(r[e]==="all"){r[e]=()=>true;break}if(r[e]==="some"){r[e]=(e,t)=>(t.type==="comment2"||t.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(t.value);break}t=r[e];r[e]=(e,n)=>new RegExp(t).test(n.value);break;default:n=r[e];r[e]=(e,t)=>n.test(t.value)}}));return(e,t)=>{if(r.extract(e,t)){const e=t.type==="comment2"?`/*${t.value}*/`:`//${t.value}`;if(!n.includes(e)){n.push(e)}}return r.preserve(e,t)}}async function minify(e){const{name:t,input:n,inputSourceMap:i,minify:s,minifyOptions:a}=e;if(s){return s({[t]:n},i,a)}const c=buildTerserOptions(a);if(i){c.sourceMap={asObject:true}}const u=[];const{extractComments:l}=e;if(c.output){c.output.comments=buildComments(l,c,u)}else if(c.format){c.format.comments=buildComments(l,c,u)}const d=await r({[t]:n},c);return{...d,extractedComments:u}}function transform(n){const r=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${n}`)(t,require,e,__filename,__dirname);return minify(r)}e.exports.minify=minify;e.exports.transform=transform},97909:(e,t,n)=>{"use strict";const r=n(74395);const pLimit=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const t=new r;let n=0;const next=()=>{n--;if(t.size>0){t.dequeue()()}};const run=async(e,t,...r)=>{n++;const i=(async()=>e(...r))();t(i);try{await i}catch{}next()};const enqueue=(r,i,...s)=>{t.enqueue(run.bind(null,r,i,...s));(async()=>{await Promise.resolve();if(n0){t.dequeue()()}})()};const generator=(e,...t)=>new Promise((n=>{enqueue(e,n,...t)}));Object.defineProperties(generator,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}});return generator};e.exports=pLimit},35764:(e,t,n)=>{"use strict";var r=n(31998);var i=16;var s=generateUID();var a=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B)-'+s+'-(\\d+)__@"',"g");var c=/\{\s*\[native code\]\s*\}/g;var u=/function.*?\(/;var l=/.*?=>.*?/;var d=/[<>\/\u2028\u2029]/g;var p=["*","async"];var h={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(e){return h[e]}function generateUID(){var e=r(i);var t="";for(var n=0;n0}));var i=r.filter((function(e){return p.indexOf(e)===-1}));if(i.length>0){return(r.indexOf("async")>-1?"async ":"")+"function"+(r.join("").indexOf("*")>-1?"*":"")+t.substr(n)}return t}if(t.ignoreFunction&&typeof e==="function"){e=undefined}if(e===undefined){return String(e)}var x;if(t.isJSON&&!t.space){x=JSON.stringify(e)}else{x=JSON.stringify(e,t.isJSON?null:replacer,t.space)}if(typeof x!=="string"){return String(x)}if(t.unsafe!==true){x=x.replace(d,escapeUnsafeChars)}if(n.length===0&&r.length===0&&i.length===0&&h.length===0&&m.length===0&&g.length===0&&y.length===0&&_.length===0&&b.length===0){return x}return x.replace(a,(function(e,s,a,c){if(s){return e}if(a==="D"){return'new Date("'+i[c].toISOString()+'")'}if(a==="R"){return"new RegExp("+serialize(r[c].source)+', "'+r[c].flags+'")'}if(a==="M"){return"new Map("+serialize(Array.from(h[c].entries()),t)+")"}if(a==="S"){return"new Set("+serialize(Array.from(m[c].values()),t)+")"}if(a==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:g[c].length},g[c]),t)+")"}if(a==="U"){return"undefined"}if(a==="I"){return _[c]}if(a==="B"){return'BigInt("'+b[c]+'")'}var u=n[c];return serializeFunc(u)}))}},57217:function(e,t,n){(function(e,r){true?r(t,n(37362)):0})(this,(function(e,t){"use strict";function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var r=_interopDefaultLegacy(t);function characters(e){return e.split("")}function member(e,t){return t.includes(e)}class DefaultsError extends Error{constructor(e,t){super();this.name="DefaultsError";this.message=e;this.defs=t}}function defaults(e,t,n){if(e===true){e={}}if(e!=null&&typeof e==="object"){e=Object.assign({},e)}const r=e||{};if(n)for(const e in r)if(HOP(r,e)&&!HOP(t,e)){throw new DefaultsError("`"+e+"` is not a supported option",t)}for(const n in t)if(HOP(t,n)){if(!e||!HOP(e,n)){r[n]=t[n]}else if(n==="ecma"){let t=e[n]|0;if(t>5&&t<2015)t+=2009;r[n]=t}else{r[n]=e&&HOP(e,n)?e[n]:t[n]}}return r}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var i=function(){function MAP(t,n,r){var i=[],s=[],a;function doit(){var c=n(t[a],a);var u=c instanceof Last;if(u)c=c.v;if(c instanceof AtTop){c=c.v;if(c instanceof Splice){s.push.apply(s,r?c.v.slice().reverse():c.v)}else{s.push(c)}}else if(c!==e){if(c instanceof Splice){i.push.apply(i,r?c.v.slice().reverse():c.v)}else{i.push(c)}}return u}if(Array.isArray(t)){if(r){for(a=t.length;--a>=0;)if(doit())break;i.reverse();s.reverse()}else{for(a=0;a=0;){if(e[n]===t)e.splice(n,1)}}function mergeSort(e,t){if(e.length<2)return e.slice();function merge(e,n){var r=[],i=0,s=0,a=0;while(i{n+=e}))}return n}function has_annotation(e,t){return e._annotations&t}function set_annotation(e,t){e._annotations|=t}var c="";var u=true;var l="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var d="false null true";var p="enum implements import interface package private protected public static super this "+d+" "+l;var h="return new delete throw else case yield await";l=makePredicate(l);p=makePredicate(p);h=makePredicate(h);d=makePredicate(d);var m=makePredicate(characters("+-*&%=<>!?|~^"));var g=/[0-9a-f]/i;var y=/^0x[0-9a-f]+$/i;var _=/^0[0-7]+$/;var b=/^0o[0-7]+$/i;var x=/^0b[01]+$/i;var k=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var E=/^(0[xob])?[0-9a-f]+n$/i;var w=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var S=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var C=makePredicate(characters("\n\r\u2028\u2029"));var M=makePredicate(characters(";]),:"));var I=makePredicate(characters("[{(,;:"));var P=makePredicate(characters("[]{}(),;:"));var T={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(e,t){if(is_surrogate_pair_head(e.charCodeAt(t))){if(is_surrogate_pair_tail(e.charCodeAt(t+1))){return e.charAt(t)+e.charAt(t+1)}}else if(is_surrogate_pair_tail(e.charCodeAt(t))){if(is_surrogate_pair_head(e.charCodeAt(t-1))){return e.charAt(t-1)+e.charAt(t)}}return e.charAt(t)}function get_full_char_code(e,t){if(is_surrogate_pair_head(e.charCodeAt(t))){return 65536+(e.charCodeAt(t)-55296<<10)+e.charCodeAt(t+1)-56320}return e.charCodeAt(t)}function get_full_char_length(e){var t=0;for(var n=0;n65535){e-=65536;return String.fromCharCode((e>>10)+55296)+String.fromCharCode(e%1024+56320)}return String.fromCharCode(e)}function is_surrogate_pair_head(e){return e>=55296&&e<=56319}function is_surrogate_pair_tail(e){return e>=56320&&e<=57343}function is_digit(e){return e>=48&&e<=57}function is_identifier_start(e){return T.ID_Start.test(e)}function is_identifier_char(e){return T.ID_Continue.test(e)}const O=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(e){return O.test(e)}function is_identifier_string(e,t){if(O.test(e)){return true}if(!t&&/[\ud800-\udfff]/.test(e)){return false}var n=T.ID_Start.exec(e);if(!n||n.index!==0){return false}e=e.slice(n[0].length);if(!e){return true}n=T.ID_Continue.exec(e);return!!n&&n[0].length===e.length}function parse_js_number(e,t=true){if(!t&&e.includes("e")){return NaN}if(y.test(e)){return parseInt(e.substr(2),16)}else if(_.test(e)){return parseInt(e.substr(1),8)}else if(b.test(e)){return parseInt(e.substr(2),8)}else if(x.test(e)){return parseInt(e.substr(2),2)}else if(k.test(e)){return parseFloat(e)}else{var n=parseFloat(e);if(n==e)return n}}class JS_Parse_Error extends Error{constructor(e,t,n,r,i){super();this.name="SyntaxError";this.message=e;this.filename=t;this.line=n;this.col=r;this.pos=i}}function js_error(e,t,n,r,i){throw new JS_Parse_Error(e,t,n,r,i)}function is_token(e,t,n){return e.type==t&&(n==null||e.value==n)}var R={};function tokenizer(e,t,n,r){var i={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char(i.text,i.pos)}function is_option_chain_op(){const e=i.text.charCodeAt(i.pos+1)===46;if(!e)return false;const t=i.text.charCodeAt(i.pos+2);return t<48||t>57}function next(e,t){var n=get_full_char(i.text,i.pos++);if(e&&!n)throw R;if(C.has(n)){i.newline_before=i.newline_before||!t;++i.line;i.col=0;if(n=="\r"&&peek()=="\n"){++i.pos;n="\n"}}else{if(n.length>1){++i.pos;++i.col}++i.col}return n}function forward(e){while(e--)next()}function looking_at(e){return i.text.substr(i.pos,e.length)==e}function find_eol(){var e=i.text;for(var t=i.pos,n=i.text.length;t="0"&&e<="7"}function read_escaped_char(e,t,n){var r=next(true,e);switch(r.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,t));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var s,a=find("}",true)-i.pos;if(a>6||(s=hex_bytes(a,t))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(s)}return String.fromCharCode(hex_bytes(4,t));case 10:return"";case 13:if(peek()=="\n"){next(true,e);return""}}if(is_octal(r)){if(n&&t){const e=r==="0"&&!is_octal(peek());if(!e){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(r,t)}return r}function read_octal_escape_sequence(e,t){var n=peek();if(n>="0"&&n<="7"){e+=next(true);if(e[0]<="3"&&(n=peek())>="0"&&n<="7")e+=next(true)}if(e==="0")return"\0";if(e.length>0&&next_token.has_directive("use strict")&&t)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(e,8))}function hex_bytes(e,t){var n=0;for(;e>0;--e){if(!t&&isNaN(parseInt(peek(),16))){return parseInt(n,16)||""}var r=next(true);if(isNaN(parseInt(r,16)))parse_error("Invalid hex-character pattern in string");n+=r}return parseInt(n,16)}var b=with_eof_error("Unterminated string constant",(function(){const e=i.pos;var t=next(),n=[];for(;;){var r=next(true,true);if(r=="\\")r=read_escaped_char(true,true);else if(r=="\r"||r=="\n")parse_error("Unterminated string constant");else if(r==t)break;n.push(r)}var s=token("string",n.join(""));c=i.text.slice(e,i.pos);s.quote=t;return s}));var x=with_eof_error("Unterminated template",(function(e){if(e){i.template_braces.push(i.brace_counter)}var t="",n="",r,s;next(true,true);while((r=next(true,true))!="`"){if(r=="\r"){if(peek()=="\n")++i.pos;r="\n"}else if(r=="$"&&peek()=="{"){next(true,true);i.brace_counter++;s=token(e?"template_head":"template_substitution",t);c=n;u=false;return s}n+=r;if(r=="\\"){var l=i.pos;var d=a&&(a.type==="name"||a.type==="punc"&&(a.value===")"||a.value==="]"));r=read_escaped_char(true,!d,true);n+=i.text.substr(l,i.pos-l)}t+=r}i.template_braces.pop();s=token(e?"template_head":"template_substitution",t);c=n;u=true;return s}));function skip_line_comment(e){var t=i.regex_allowed;var n=find_eol(),r;if(n==-1){r=i.text.substr(i.pos);i.pos=i.text.length}else{r=i.text.substring(i.pos,n);i.pos=n}i.col=i.tokcol+(i.pos-i.tokpos);i.comments_before.push(token(e,r,true));i.regex_allowed=t;return next_token}var k=with_eof_error("Unterminated multiline comment",(function(){var e=i.regex_allowed;var t=find("*/",true);var n=i.text.substring(i.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(n)+2);i.comments_before.push(token("comment2",n,true));i.newline_before=i.newline_before||n.includes("\n");i.regex_allowed=e;return next_token}));var M=with_eof_error("Unterminated identifier name",(function(){var e=[],t,n=false;var read_escaped_identifier_char=function(){n=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((t=peek())==="\\"){t=read_escaped_identifier_char();if(!is_identifier_start(t)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(t)){next()}else{return""}e.push(t);while((t=peek())!=null){if((t=peek())==="\\"){t=read_escaped_identifier_char();if(!is_identifier_char(t)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(t)){break}next()}e.push(t)}const r=e.join("");if(p.has(r)&&n){parse_error("Escaped characters are not allowed in keywords")}return r}));var T=with_eof_error("Unterminated regular expression",(function(e){var t=false,n,r=false;while(n=next(true))if(C.has(n)){parse_error("Unexpected line terminator")}else if(t){e+="\\"+n;t=false}else if(n=="["){r=true;e+=n}else if(n=="]"&&r){r=false;e+=n}else if(n=="/"&&!r){break}else if(n=="\\"){t=true}else{e+=n}const i=M();return token("regexp","/"+e+"/"+i)}));function read_operator(e){function grow(e){if(!peek())return e;var t=e+peek();if(w.has(t)){next();return grow(t)}else{return e}}return token("operator",grow(e||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return k()}return i.regex_allowed?T(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var e=M();if(s)return token("name",e);return d.has(e)?token("atom",e):!l.has(e)?token("name",e):w.has(e)?token("operator",e):token("keyword",e)}function read_private_word(){next();return token("privatename",M())}function with_eof_error(e,t){return function(n){try{return t(n)}catch(t){if(t===R)parse_error(e);else throw t}}}function next_token(e){if(e!=null)return T(e);if(r&&i.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(n){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&i.newline_before){forward(3);skip_line_comment("comment4");continue}}var t=peek();if(!t)return token("eof");var s=t.charCodeAt(0);switch(s){case 34:case 39:return b();case 46:return handle_dot();case 47:{var a=handle_slash();if(a===next_token)continue;return a}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return x(true);case 123:i.brace_counter++;break;case 125:i.brace_counter--;if(i.template_braces.length>0&&i.template_braces[i.template_braces.length-1]===i.brace_counter)return x(false);break}if(is_digit(s))return read_num();if(P.has(t))return token("punc",next());if(m.has(t))return read_operator();if(s==92||is_identifier_start(t))return read_word();if(s==35)return read_private_word();break}parse_error("Unexpected character '"+t+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(e){if(e)i=e;return i};next_token.add_directive=function(e){i.directive_stack[i.directive_stack.length-1].push(e);if(i.directives[e]===undefined){i.directives[e]=1}else{i.directives[e]++}};next_token.push_directives_stack=function(){i.directive_stack.push([])};next_token.pop_directives_stack=function(){var e=i.directive_stack[i.directive_stack.length-1];for(var t=0;t0};return next_token}var N=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var L=makePredicate(["--","++"]);var $=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var j=makePredicate(["??=","&&=","||="]);var z=function(e,t){for(var n=0;n","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var U=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(e,t){const n=new WeakMap;t=defaults(t,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var r={input:typeof e=="string"?tokenizer(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};r.token=next();function is(e,t){return is_token(r.token,e,t)}function peek(){return r.peeked||(r.peeked=r.input())}function next(){r.prev=r.token;if(!r.peeked)peek();r.token=r.peeked;r.peeked=null;r.in_directives=r.in_directives&&(r.token.type=="string"||is("punc",";"));return r.token}function prev(){return r.prev}function croak(e,t,n,i){var s=r.input.context();js_error(e,s.filename,t!=null?t:s.tokline,n!=null?n:s.tokcol,i!=null?i:s.tokpos)}function token_error(e,t){croak(t,e.line,e.col)}function unexpected(e){if(e==null)e=r.token;token_error(e,"Unexpected token: "+e.type+" ("+e.value+")")}function expect_token(e,t){if(is(e,t)){return next()}token_error(r.token,"Unexpected token "+r.token.type+" «"+r.token.value+"»"+", expected "+e+" «"+t+"»")}function expect(e){return expect_token("punc",e)}function has_newline_before(e){return e.nlb||!e.comments_before.every((e=>!e.nlb))}function can_insert_semicolon(){return!t.strict&&(is("eof")||is("punc","}")||has_newline_before(r.token))}function is_in_generator(){return r.in_generator===r.in_function}function is_in_async(){return r.in_async===r.in_function}function can_await(){return r.in_async===r.in_function||r.in_function===0&&r.input.has_directive("use strict")}function semicolon(e){if(is("punc",";"))next();else if(!e&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var e=expression(true);expect(")");return e}function embed_tokens(e){return function _embed_tokens_wrapper(...t){const n=r.token;const i=e(...t);i.start=n;i.end=prev();return i}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){r.peeked=null;r.token=r.input(r.token.value.substr(1))}}var i=embed_tokens((function statement(e,n,i){handle_regexp();switch(r.token.type){case"string":if(r.in_directives){var s=peek();if(!c.includes("\\")&&(is_token(s,"punc",";")||is_token(s,"punc","}")||has_newline_before(s)||is_token(s,"eof"))){r.input.add_directive(r.token.value)}else{r.in_directives=false}}var a=r.in_directives,u=simple_statement();return a&&u.body instanceof Yt?new X(u.body):u;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(r.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(n){croak("functions are not allowed as the body of a loop")}return function_(_e,false,true,e)}if(r.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var l=import_();semicolon();return l}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(r.token.value){case"{":return new Z({start:r.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":r.in_directives=false;next();return new ee;default:unexpected()}case"keyword":switch(r.token.value){case"break":next();return break_cont(Me);case"continue":next();return break_cont(Ie);case"debugger":next();semicolon();return new K;case"do":next();var d=in_loop(statement);expect_token("keyword","while");var p=parenthesised();semicolon(true);return new se({body:d,condition:p});case"while":next();return new oe({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(n){croak("classes are not allowed as the body of a loop")}if(i){croak("classes are not allowed as the body of an if")}return class_(St);case"function":next();if(n){croak("functions are not allowed as the body of a loop")}return function_(_e,false,false,e);case"if":next();return if_();case"return":if(r.in_function==0&&!t.bare_returns)croak("'return' outside of function");next();var h=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){h=expression(true);semicolon()}return new Ce({value:h});case"switch":next();return new Re({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(r.token))croak("Illegal newline after 'throw'");var h=expression(true);semicolon();return new Ae({value:h});case"try":next();return try_();case"var":next();var l=var_();semicolon();return l;case"let":next();var l=let_();semicolon();return l;case"const":next();var l=const_();semicolon();return l;case"with":if(r.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new de({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var l=export_();if(is("punc",";"))semicolon();return l}}}unexpected()}));function labeled_statement(){var e=as_symbol(Gt);if(e.name==="await"&&is_in_async()){token_error(r.prev,"await cannot be used as label inside async function")}if(r.labels.some((t=>t.name===e.name))){croak("Label "+e.name+" defined twice")}expect(":");r.labels.push(e);var t=i();r.labels.pop();if(!(t instanceof re)){e.references.forEach((function(t){if(t instanceof Ie){t=t.label.start;croak("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos)}}))}return new ne({body:t,label:e})}function simple_statement(e){return new J({body:(e=expression(true),semicolon(),e)})}function break_cont(e){var t=null,n;if(!can_insert_semicolon()){t=as_symbol(Kt,true)}if(t!=null){n=r.labels.find((e=>e.name===t.name));if(!n)croak("Undefined label "+t.name);t.thedef=n}else if(r.in_loop==0)croak(e.TYPE+" not inside a loop or switch");semicolon();var i=new e({label:t});if(n)n.references.push(i);return i}function for_(){var e="`for await` invalid in this context";var t=r.token;if(t.type=="name"&&t.value=="await"){if(!can_await()){token_error(t,e)}next()}else{t=false}expect("(");var n=null;if(!is("punc",";")){n=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var i=is("operator","in");var s=is("name","of");if(t&&!s){token_error(t,e)}if(i||s){if(n instanceof ze){if(n.definitions.length>1)token_error(n.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(n)||(n=to_destructuring(n))instanceof be)){token_error(n.start,"Invalid left-hand side in for..in loop")}next();if(i){return for_in(n)}else{return for_of(n,!!t)}}}else if(t){token_error(t,e)}return regular_for(n)}function regular_for(e){expect(";");var t=is("punc",";")?null:expression(true);expect(";");var n=is("punc",")")?null:expression(true);expect(")");return new ae({init:e,condition:t,step:n,body:in_loop((function(){return i(false,true)}))})}function for_of(e,t){var n=e instanceof ze?e.definitions[0].name:null;var r=expression(true);expect(")");return new le({await:t,init:e,name:n,object:r,body:in_loop((function(){return i(false,true)}))})}function for_in(e){var t=expression(true);expect(")");return new ue({init:e,object:t,body:in_loop((function(){return i(false,true)}))})}var arrow_function=function(e,t,n){if(has_newline_before(r.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var i=_function_body(is("punc","{"),false,n);var s=i instanceof Array&&i.length?i[i.length-1].end:i instanceof Array?e:i.end;return new ve({start:e,end:s,async:n,argnames:t,body:i})};var function_=function(e,t,n,r){var i=e===_e;var s=is("operator","*");if(s){next()}var a=is("name")?as_symbol(i?Ft:Lt):null;if(i&&!a){if(r){e=ye}else{unexpected()}}if(a&&e!==ge&&!(a instanceof Mt))unexpected(prev());var c=[];var u=_function_body(true,s||t,n,a,c);return new e({start:c.start,end:u.end,is_generator:s,async:n,name:a,argnames:c,body:u})};function track_used_binding_identifiers(e,t){var n=new Set;var r=false;var i=false;var s=false;var a=!!t;var c={add_parameter:function(t){if(n.has(t.value)){if(r===false){r=t}c.check_strict()}else{n.add(t.value);if(e){switch(t.value){case"arguments":case"eval":case"yield":if(a){token_error(t,"Unexpected "+t.value+" identifier as parameter inside strict mode")}break;default:if(p.has(t.value)){unexpected()}}}}},mark_default_assignment:function(e){if(i===false){i=e}},mark_spread:function(e){if(s===false){s=e}},mark_strict_mode:function(){a=true},is_strict:function(){return i!==false||s!==false||a},check_strict:function(){if(c.is_strict()&&r!==false){token_error(r,"Parameter "+r.value+" was used already")}}};return c}function parameters(e){var t=track_used_binding_identifiers(true,r.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var n=parameter(t);e.push(n);if(!is("punc",")")){expect(",")}if(n instanceof he){break}}next()}function parameter(e,t){var n;var i=false;if(e===undefined){e=track_used_binding_identifiers(true,r.input.has_directive("use strict"))}if(is("expand","...")){i=r.token;e.mark_spread(r.token);next()}n=binding_element(e,t);if(is("operator","=")&&i===false){e.mark_default_assignment(r.token);next();n=new dt({start:n.start,left:n,operator:"=",right:expression(false),end:r.token})}if(i!==false){if(!is("punc",")")){unexpected()}n=new he({start:i,expression:n,end:i})}e.check_strict();return n}function binding_element(e,t){var n=[];var i=true;var s=false;var a;var c=r.token;if(e===undefined){e=track_used_binding_identifiers(false,r.input.has_directive("use strict"))}t=t===undefined?Rt:t;if(is("punc","[")){next();while(!is("punc","]")){if(i){i=false}else{expect(",")}if(is("expand","...")){s=true;a=r.token;e.mark_spread(r.token);next()}if(is("punc")){switch(r.token.value){case",":n.push(new an({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":n.push(binding_element(e,t));break;default:unexpected()}}else if(is("name")){e.add_parameter(r.token);n.push(as_symbol(t))}else{croak("Invalid function parameter")}if(is("operator","=")&&s===false){e.mark_default_assignment(r.token);next();n[n.length-1]=new dt({start:n[n.length-1].start,left:n[n.length-1],operator:"=",right:expression(false),end:r.token})}if(s){if(!is("punc","]")){croak("Rest element must be last element")}n[n.length-1]=new he({start:a,expression:n[n.length-1],end:a})}}expect("]");e.check_strict();return new be({start:c,names:n,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if(i){i=false}else{expect(",")}if(is("expand","...")){s=true;a=r.token;e.mark_spread(r.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){e.add_parameter(r.token);var u=prev();var l=as_symbol(t);if(s){n.push(new he({start:a,expression:l,end:l.end}))}else{n.push(new mt({start:u,key:l.name,value:l,end:l.end}))}}else if(is("punc","}")){continue}else{var d=r.token;var p=as_property_name();if(p===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){n.push(new mt({start:prev(),key:p,value:new t({start:prev(),name:p,end:prev()}),end:prev()}))}else{expect(":");n.push(new mt({start:d,quote:d.quote,key:p,value:binding_element(e,t),end:prev()}))}}if(s){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){e.mark_default_assignment(r.token);next();n[n.length-1].value=new dt({start:n[n.length-1].value.start,left:n[n.length-1].value,operator:"=",right:expression(false),end:r.token})}}expect("}");e.check_strict();return new be({start:c,names:n,is_array:false,end:prev()})}else if(is("name")){e.add_parameter(r.token);return as_symbol(t)}else{croak("Invalid function parameter")}}function params_or_seq_(e,t){var n;var i;var s;var a=[];expect("(");while(!is("punc",")")){if(n)unexpected(n);if(is("expand","...")){n=r.token;if(t)i=r.token;next();a.push(new he({start:prev(),expression:expression(),end:r.token}))}else{a.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){s=prev();if(t)i=s}}}expect(")");if(e&&is("arrow","=>")){if(n&&s)unexpected(s)}else if(i){unexpected(i)}return a}function _function_body(e,t,n,i,s){var a=r.in_loop;var c=r.labels;var u=r.in_generator;var l=r.in_async;++r.in_function;if(t)r.in_generator=r.in_function;if(n)r.in_async=r.in_function;if(s)parameters(s);if(e)r.in_directives=true;r.in_loop=0;r.labels=[];if(e){r.input.push_directives_stack();var d=block_();if(i)_verify_symbol(i);if(s)s.forEach(_verify_symbol);r.input.pop_directives_stack()}else{var d=[new Ce({start:r.token,value:expression(false),end:r.token})]}--r.in_function;r.in_loop=a;r.labels=c;r.in_generator=u;r.in_async=l;return d}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos)}return new Pe({start:prev(),end:r.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",r.prev.line,r.prev.col,r.prev.pos)}var e=r.token;var t=false;var n=true;if(can_insert_semicolon()||is("punc")&&M.has(r.token.value)){n=false}else if(is("operator","*")){t=true;next()}return new Te({start:e,is_star:t,expression:n?expression():null,end:prev()})}function if_(){var e=parenthesised(),t=i(false,false,true),n=null;if(is("keyword","else")){next();n=i(false,false,true)}return new Oe({condition:e,body:t,alternative:n})}function block_(){expect("{");var e=[];while(!is("punc","}")){if(is("eof"))unexpected();e.push(i())}next();return e}function switch_body_(){expect("{");var e=[],t=null,n=null,s;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(n)n.end=prev();t=[];n=new Be({start:(s=r.token,next(),s),expression:expression(true),body:t});e.push(n);expect(":")}else if(is("keyword","default")){if(n)n.end=prev();t=[];n=new Ne({start:(s=r.token,next(),expect(":"),s),body:t});e.push(n)}else{if(!t)unexpected();t.push(i())}}if(n)n.end=prev();next();return e}function try_(){var e=block_(),t=null,n=null;if(is("keyword","catch")){var i=r.token;next();if(is("punc","{")){var s=null}else{expect("(");var s=parameter(undefined,zt);expect(")")}t=new $e({start:i,argname:s,body:block_(),end:prev()})}if(is("keyword","finally")){var i=r.token;next();n=new je({start:i,body:block_(),end:prev()})}if(!t&&!n)croak("Missing catch/finally blocks");return new Le({body:e,bcatch:t,bfinally:n})}function vardefs(e,t){var n=[];var i;for(;;){var s=t==="var"?It:t==="const"?Tt:t==="let"?Ot:null;if(is("punc","{")||is("punc","[")){i=new He({start:r.token,name:binding_element(undefined,s),value:is("operator","=")?(expect_token("operator","="),expression(false,e)):null,end:prev()})}else{i=new He({start:r.token,name:as_symbol(s),value:is("operator","=")?(next(),expression(false,e)):!e&&t==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if(i.name.name=="import")croak("Unexpected token: import")}n.push(i);if(!is("punc",","))break;next()}return n}var var_=function(e){return new Ue({start:prev(),definitions:vardefs(e,"var"),end:prev()})};var let_=function(e){return new qe({start:prev(),definitions:vardefs(e,"let"),end:prev()})};var const_=function(e){return new Ge({start:prev(),definitions:vardefs(e,"const"),end:prev()})};var new_=function(e){var t=r.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Dt({start:t,end:prev()}),e)}var n=expr_atom(false),i;if(is("punc","(")){next();i=expr_list(")",true)}else{i=[]}var s=new Je({start:t,expression:n,args:i,end:prev()});annotate(s);return subscripts(s,e)};function as_atom_node(){var e=r.token,t;switch(e.type){case"name":t=_make_symbol(Ht);break;case"num":t=new Zt({start:e,end:e,value:e.value,raw:c});break;case"big_int":t=new en({start:e,end:e,value:e.value});break;case"string":t=new Yt({start:e,end:e,value:e.value,quote:e.quote});break;case"regexp":const[n,r,i]=e.value.match(/^\/(.*)\/(\w*)$/);t=new tn({start:e,end:e,value:{source:r,flags:i}});break;case"atom":switch(e.value){case"false":t=new ln({start:e,end:e});break;case"true":t=new dn({start:e,end:e});break;case"null":t=new rn({start:e,end:e});break}break}next();return t}function to_fun_args(e,t){var insert_default=function(e,t){if(t){return new dt({start:e.start,left:e,operator:"=",right:t,end:t.end})}return e};if(e instanceof ft){return insert_default(new be({start:e.start,end:e.end,is_array:false,names:e.properties.map((e=>to_fun_args(e)))}),t)}else if(e instanceof mt){e.value=to_fun_args(e.value);return insert_default(e,t)}else if(e instanceof an){return e}else if(e instanceof be){e.names=e.names.map((e=>to_fun_args(e)));return insert_default(e,t)}else if(e instanceof Ht){return insert_default(new Rt({name:e.name,start:e.start,end:e.end}),t)}else if(e instanceof he){e.expression=to_fun_args(e.expression);return insert_default(e,t)}else if(e instanceof pt){return insert_default(new be({start:e.start,end:e.end,is_array:true,names:e.elements.map((e=>to_fun_args(e)))}),t)}else if(e instanceof lt){return insert_default(to_fun_args(e.left,e.right),t)}else if(e instanceof dt){e.left=to_fun_args(e.left);return e}else{croak("Invalid function parameter",e.start.line,e.start.col)}}var expr_atom=function(e,t){if(is("operator","new")){return new_(e)}if(is("operator","import")){return import_meta()}var i=r.token;var a;var c=is("name","async")&&(a=peek()).value!="["&&a.type!="arrow"&&as_atom_node();if(is("punc")){switch(r.token.value){case"(":if(c&&!e)break;var u=params_or_seq_(t,!c);if(t&&is("arrow","=>")){return arrow_function(i,u.map((e=>to_fun_args(e))),!!c)}var d=c?new Xe({expression:c,args:u}):u.length==1?u[0]:new Ye({expressions:u});if(d.start){const e=i.comments_before.length;n.set(i,e);d.start.comments_before.unshift(...i.comments_before);i.comments_before=d.start.comments_before;if(e==0&&i.comments_before.length>0){var p=i.comments_before[0];if(!p.nlb){p.nlb=i.nlb;i.nlb=false}}i.comments_after=d.start.comments_after}d.start=i;var h=prev();if(d.end){h.comments_before=d.end.comments_before;d.end.comments_after.push(...h.comments_after);h.comments_after=d.end.comments_after}d.end=h;if(d instanceof Xe)annotate(d);return subscripts(d,e);case"[":return subscripts(s(),e);case"{":return subscripts(l(),e)}if(!c)unexpected()}if(t&&is("name")&&is_token(peek(),"arrow")){var m=new Rt({name:r.token.value,start:i,end:i});next();return arrow_function(i,[m],!!c)}if(is("keyword","function")){next();var g=function_(ye,false,!!c);g.start=i;g.end=prev();return subscripts(g,e)}if(c)return subscripts(c,e);if(is("keyword","class")){next();var y=class_(Ct);y.start=i;y.end=prev();return subscripts(y,e)}if(is("template_head")){return subscripts(template_string(),e)}if(U.has(r.token.type)){return subscripts(as_atom_node(),e)}unexpected()};function template_string(){var e=[],t=r.token;e.push(new Ee({start:r.token,raw:c,value:r.token.value,end:r.token}));while(!u){next();handle_regexp();e.push(expression(true));e.push(new Ee({start:r.token,raw:c,value:r.token.value,end:r.token}))}next();return new ke({start:t,segments:e,end:r.token})}function expr_list(e,t,n){var i=true,s=[];while(!is("punc",e)){if(i)i=false;else expect(",");if(t&&is("punc",e))break;if(is("punc",",")&&n){s.push(new an({start:r.token,end:r.token}))}else if(is("expand","...")){next();s.push(new he({start:prev(),expression:expression(),end:r.token}))}else{s.push(expression(false))}}next();return s}var s=embed_tokens((function(){expect("[");return new pt({elements:expr_list("]",!t.strict,true)})}));var a=embed_tokens(((e,t)=>function_(ge,e,t)));var l=embed_tokens((function object_or_destructuring_(){var e=r.token,n=true,i=[];expect("{");while(!is("punc","}")){if(n)n=false;else expect(",");if(!t.strict&&is("punc","}"))break;e=r.token;if(e.type=="expand"){next();i.push(new he({start:e,expression:expression(false),end:prev()}));continue}var s=as_property_name();var a;if(!is("punc",":")){var c=concise_method_or_getset(s,e);if(c){i.push(c);continue}a=new Ht({start:prev(),name:s,end:prev()})}else if(s===null){unexpected(prev())}else{next();a=expression(false)}if(is("operator","=")){next();a=new lt({start:e,left:a,operator:"=",right:expression(false),logical:false,end:prev()})}i.push(new mt({start:e,quote:e.quote,key:s instanceof W?s:""+s,value:a,end:prev()}))}next();return new ft({properties:i})}));function class_(e){var t,n,i,s,a=[];r.input.push_directives_stack();r.input.add_directive("use strict");if(r.token.type=="name"&&r.token.value!="extends"){i=as_symbol(e===St?$t:jt)}if(e===St&&!i){unexpected()}if(r.token.value=="extends"){next();s=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){t=r.token;n=concise_method_or_getset(as_property_name(),t,true);if(!n){unexpected()}a.push(n);while(is("punc",";")){next()}}r.input.pop_directives_stack();next();return new e({start:t,name:i,extends:s,properties:a,end:prev()})}function concise_method_or_getset(e,t,n){var get_method_name_ast=function(e,t){if(typeof e==="string"||typeof e==="number"){return new Nt({start:t,name:""+e,end:prev()})}else if(e===null){unexpected()}return e};const get_class_property_key_ast=e=>{if(typeof e==="string"||typeof e==="number"){return new Bt({start:l,end:l,name:""+e})}else if(e===null){unexpected()}return e};var i=t.type=="privatename";var s=false;var c=false;var u=false;var l=t;if(n&&e==="static"&&!is("punc","(")){c=true;l=r.token;i=l.type=="privatename";e=as_property_name()}if(e==="async"&&!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=")){s=true;l=r.token;i=l.type=="privatename";e=as_property_name()}if(e===null){u=true;l=r.token;i=l.type=="privatename";e=as_property_name();if(e===null){unexpected()}}if(is("punc","(")){e=get_method_name_ast(e,t);const n=i?xt:bt;var d=new n({start:t,static:c,is_generator:u,async:s,key:e,quote:e instanceof Nt?l.quote:undefined,value:a(u,s),end:prev()});return d}const p=r.token;if((e==="get"||e==="set")&&p.type==="privatename"){next();const n=e==="get"?yt:gt;return new n({start:t,static:c,key:get_method_name_ast(p.value,t),value:a(),end:prev()})}if(e=="get"){if(!is("punc")||is("punc","[")){e=get_method_name_ast(as_property_name(),t);return new _t({start:t,static:c,key:e,quote:e instanceof Nt?p.quote:undefined,value:a(),end:prev()})}}else if(e=="set"){if(!is("punc")||is("punc","[")){e=get_method_name_ast(as_property_name(),t);return new vt({start:t,static:c,key:e,quote:e instanceof Nt?p.quote:undefined,value:a(),end:prev()})}}if(n){const n=get_class_property_key_ast(e);const r=n instanceof Bt?l.quote:undefined;const s=i?wt:Et;if(is("operator","=")){next();return new s({start:t,static:c,quote:r,key:n,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new s({start:t,static:c,quote:r,key:n,end:prev()})}}}function import_(){var e=prev();var t;var n;if(is("name")){t=as_symbol(Ut)}if(is("punc",",")){next()}n=map_names(true);if(n||t){expect_token("name","from")}var i=r.token;if(i.type!=="string"){unexpected()}next();return new Ve({start:e,imported_name:t,imported_names:n,module_name:new Yt({start:i,value:i.value,quote:i.quote,end:i}),end:r.token})}function import_meta(){var e=r.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new Ke({start:e,end:prev()}),false)}function map_name(e){function make_symbol(e){return new e({name:as_property_name(),start:prev(),end:prev()})}var t=e?qt:Vt;var n=e?Ut:Wt;var i=r.token;var s;var a;if(e){s=make_symbol(t)}else{a=make_symbol(n)}if(is("name","as")){next();if(e){a=make_symbol(n)}else{s=make_symbol(t)}}else if(e){a=new n(s)}else{s=new t(a)}return new We({start:i,foreign_name:s,name:a,end:prev()})}function map_nameAsterisk(e,t){var n=e?qt:Vt;var i=e?Ut:Wt;var s=r.token;var a;var c=prev();t=t||new i({name:"*",start:s,end:c});a=new n({name:"*",start:s,end:c});return new We({start:s,foreign_name:a,name:t,end:c})}function map_names(e){var t;if(is("punc","{")){next();t=[];while(!is("punc","}")){t.push(map_name(e));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var n;next();if(e&&is("name","as")){next();n=as_symbol(e?Ut:Vt)}t=[map_nameAsterisk(e,n)]}return t}function export_(){var e=r.token;var t;var n;if(is("keyword","default")){t=true;next()}else if(n=map_names(false)){if(is("name","from")){next();var s=r.token;if(s.type!=="string"){unexpected()}next();return new Qe({start:e,is_default:t,exported_names:n,module_name:new Yt({start:s,value:s.value,quote:s.quote,end:s}),end:prev()})}else{return new Qe({start:e,is_default:t,exported_names:n,end:prev()})}}var a;var c;var u;if(is("punc","{")||t&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){c=expression(false);semicolon()}else if((a=i(t))instanceof ze&&t){unexpected(a.start)}else if(a instanceof ze||a instanceof me||a instanceof St){u=a}else if(a instanceof J){c=a.body}else{unexpected(a.start)}return new Qe({start:e,is_default:t,exported_value:c,exported_definition:u,end:prev()})}function as_property_name(){var e=r.token;switch(e.type){case"punc":if(e.value==="["){next();var t=expression(false);expect("]");return t}else unexpected(e);case"operator":if(e.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(e.value)){unexpected(e)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return e.value;default:unexpected(e)}}function as_name(){var e=r.token;if(e.type!="name"&&e.type!="privatename")unexpected();next();return e.value}function _make_symbol(e){var t=r.token.value;return new(t=="this"?Qt:t=="super"?Xt:e)({name:String(t),start:r.token,end:r.token})}function _verify_symbol(e){var t=e.name;if(is_in_generator()&&t=="yield"){token_error(e.start,"Yield cannot be used as identifier inside generators")}if(r.input.has_directive("use strict")){if(t=="yield"){token_error(e.start,"Unexpected yield identifier inside strict mode")}if(e instanceof Mt&&(t=="arguments"||t=="eval")){token_error(e.start,"Unexpected "+t+" in strict mode")}}}function as_symbol(e,t){if(!is("name")){if(!t)croak("Name expected");return null}var n=_make_symbol(e);_verify_symbol(n);next();return n}function annotate(e){var t=e.start;var r=t.comments_before;const i=n.get(t);var s=i!=null?i:r.length;while(--s>=0){var a=r[s];if(/[@#]__/.test(a.value)){if(/[@#]__PURE__/.test(a.value)){set_annotation(e,hn);break}if(/[@#]__INLINE__/.test(a.value)){set_annotation(e,mn);break}if(/[@#]__NOINLINE__/.test(a.value)){set_annotation(e,gn);break}}}}var subscripts=function(e,t,n){var r=e.start;if(is("punc",".")){next();const i=is("privatename")?tt:et;return subscripts(new i({start:r,expression:e,optional:false,property:as_name(),end:prev()}),t,n)}if(is("punc","[")){next();var i=expression(true);expect("]");return subscripts(new nt({start:r,expression:e,optional:false,property:i,end:prev()}),t,n)}if(t&&is("punc","(")){next();var s=new Xe({start:r,expression:e,optional:false,args:call_args(),end:prev()});annotate(s);return subscripts(s,true,n)}if(is("punc","?.")){next();let n;if(t&&is("punc","(")){next();const t=new Xe({start:r,optional:true,expression:e,args:call_args(),end:prev()});annotate(t);n=subscripts(t,true,true)}else if(is("name")||is("privatename")){const i=is("privatename")?tt:et;n=subscripts(new i({start:r,expression:e,optional:true,property:as_name(),end:prev()}),t,true)}else if(is("punc","[")){next();const i=expression(true);expect("]");n=subscripts(new nt({start:r,expression:e,optional:true,property:i,end:prev()}),t,true)}if(!n)unexpected();if(n instanceof rt)return n;return new rt({start:r,expression:n,end:prev()})}if(is("template_head")){if(n){unexpected()}return subscripts(new xe({start:r,prefix:e,template_string:template_string(),end:prev()}),t)}return e};function call_args(){var e=[];while(!is("punc",")")){if(is("expand","...")){next();e.push(new he({start:prev(),expression:expression(false),end:prev()}))}else{e.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return e}var maybe_unary=function(e,t){var n=r.token;if(n.type=="name"&&n.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&N.has(n.value)){next();handle_regexp();var i=make_unary(st,n,maybe_unary(e));i.start=n;i.end=prev();return i}var s=expr_atom(e,t);while(is("operator")&&L.has(r.token.value)&&!has_newline_before(r.token)){if(s instanceof ve)unexpected();s=make_unary(ot,r.token,s);s.start=n;s.end=r.token;next()}return s};function make_unary(e,t,n){var i=t.value;switch(i){case"++":case"--":if(!is_assignable(n))croak("Invalid use of "+i+" operator",t.line,t.col,t.pos);break;case"delete":if(n instanceof Ht&&r.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",n.start.line,n.start.col,n.start.pos);break}return new e({operator:i,expression:n})}var expr_op=function(e,t,n){var i=is("operator")?r.token.value:null;if(i=="in"&&n)i=null;if(i=="**"&&e instanceof st&&!is_token(e.start,"punc","(")&&e.operator!=="--"&&e.operator!=="++")unexpected(e.start);var s=i!=null?z[i]:null;if(s!=null&&(s>t||i==="**"&&t===s)){next();var a=expr_op(maybe_unary(true),s,n);return expr_op(new ct({start:e.start,left:e,operator:i,right:a,end:a.end}),t,n)}return e};function expr_ops(e){return expr_op(maybe_unary(true,true),0,e)}var maybe_conditional=function(e){var t=r.token;var n=expr_ops(e);if(is("operator","?")){next();var i=expression(false);expect(":");return new ut({start:t,condition:n,consequent:i,alternative:expression(false,e),end:prev()})}return n};function is_assignable(e){return e instanceof Ze||e instanceof Ht}function to_destructuring(e){if(e instanceof ft){e=new be({start:e.start,names:e.properties.map(to_destructuring),is_array:false,end:e.end})}else if(e instanceof pt){var t=[];for(var n=0;n=0;){s+="this."+t[a]+" = props."+t[a]+";"}const c=r&&Object.create(r.prototype);if(c&&c.initialize||n&&n.initialize)s+="this.initialize();";s+="}";s+="this.flags = 0;";s+="}";var u=new Function(s)();if(c){u.prototype=c;u.BASE=r}if(r)r.SUBCLASSES.push(u);u.prototype.CTOR=u;u.prototype.constructor=u;u.PROPS=t||null;u.SELF_PROPS=i;u.SUBCLASSES=[];if(e){u.prototype.TYPE=u.TYPE=e}if(n)for(a in n)if(HOP(n,a)){if(a[0]==="$"){u[a.substr(1)]=n[a]}else{u.prototype[a]=n[a]}}u.DEFMETHOD=function(e,t){this.prototype[e]=t};return u}const has_tok_flag=(e,t)=>Boolean(e.flags&t);const set_tok_flag=(e,t,n)=>{if(n){e.flags|=t}else{e.flags&=~t}};const q=1;const G=2;const H=4;class AST_Token{constructor(e,t,n,r,i,s,a,c,u){this.flags=s?1:0;this.type=e;this.value=t;this.line=n;this.col=r;this.pos=i;this.comments_before=a;this.comments_after=c;this.file=u;Object.seal(this)}get nlb(){return has_tok_flag(this,q)}set nlb(e){set_tok_flag(this,q,e)}get quote(){return!has_tok_flag(this,H)?"":has_tok_flag(this,G)?"'":'"'}set quote(e){set_tok_flag(this,G,e==="'");set_tok_flag(this,H,!!e)}}var W=DEFNODE("Node","start end",{_clone:function(e){if(e){var t=this.clone();return t.transform(new TreeTransformer((function(e){if(e!==t){return e.clone(true)}})))}return new this.CTOR(this)},clone:function(e){return this._clone(e)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)},_children_backwards:()=>{}},null);var V=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var K=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},V);var X=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},V);var J=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(e){return e._visit(this,(function(){this.body._walk(e)}))},_children_backwards(e){e(this.body)}},V);function walk_body(e,t){const n=e.body;for(var r=0,i=n.length;r SymbolDef for all variables/functions defined in this scope",functions:"[Map/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var e=this;while(e.is_block_scope()){e=e.parent_scope}return e},clone:function(e,t){var n=this._clone(e);if(e&&this.variables&&t&&!this._block_scope){n.figure_out_scope({},{toplevel:t,parent_scope:this.parent_scope})}else{if(this.variables)n.variables=new Map(this.variables);if(this.functions)n.functions=new Map(this.functions);if(this.enclosed)n.enclosed=this.enclosed.slice();if(this._block_scope)n._block_scope=this._block_scope}return n},pinned:function(){return this.uses_eval||this.uses_with}},Y);var fe=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body;var n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";n=parse(n);n=n.transform(new TreeTransformer((function(e){if(e instanceof X&&e.value=="$ORIG"){return i.splice(t)}})));return n},wrap_enclose:function(e){if(typeof e!="string")e="";var t=e.indexOf(":");if(t<0)t=e.length;var n=this.body;return parse(["(function(",e.slice(0,t),'){"$ORIG"})(',e.slice(t+1),")"].join("")).transform(new TreeTransformer((function(e){if(e instanceof X&&e.value=="$ORIG"){return i.splice(n)}})))}},pe);var he=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(e){return e._visit(this,(function(){this.expression.walk(e)}))},_children_backwards(e){e(this.expression)}});var me=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var e=[];for(var t=0;t b)"},me);var _e=DEFNODE("Defun",null,{$documentation:"A function definition"},me);var be=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(e){return e._visit(this,(function(){this.names.forEach((function(t){t._walk(e)}))}))},_children_backwards(e){let t=this.names.length;while(t--)e(this.names[t])},all_symbols:function(){var e=[];this.walk(new TreeWalker((function(t){if(t instanceof At){e.push(t)}})));return e}});var xe=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(e){return e._visit(this,(function(){this.prefix._walk(e);this.template_string._walk(e)}))},_children_backwards(e){e(this.template_string);e(this.prefix)}});var ke=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(e){return e._visit(this,(function(){this.segments.forEach((function(t){t._walk(e)}))}))},_children_backwards(e){let t=this.segments.length;while(t--)e(this.segments[t])}});var Ee=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var we=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},V);var Se=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(e){return e._visit(this,this.value&&function(){this.value._walk(e)})},_children_backwards(e){if(this.value)e(this.value)}},we);var Ce=DEFNODE("Return",null,{$documentation:"A `return` statement"},Se);var Ae=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},Se);var De=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})},_children_backwards(e){if(this.label)e(this.label)}},we);var Me=DEFNODE("Break",null,{$documentation:"A `break` statement"},De);var Ie=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},De);var Pe=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(e){return e._visit(this,(function(){this.expression._walk(e)}))},_children_backwards(e){e(this.expression)}});var Te=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(e){return e._visit(this,this.expression&&function(){this.expression._walk(e)})},_children_backwards(e){if(this.expression)e(this.expression)}});var Oe=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(e){return e._visit(this,(function(){this.condition._walk(e);this.body._walk(e);if(this.alternative)this.alternative._walk(e)}))},_children_backwards(e){if(this.alternative){e(this.alternative)}e(this.body);e(this.condition)}},te);var Re=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(e){return e._visit(this,(function(){this.expression._walk(e);walk_body(this,e)}))},_children_backwards(e){let t=this.body.length;while(t--)e(this.body[t]);e(this.expression)}},Y);var Fe=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},Y);var Ne=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},Fe);var Be=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,(function(){this.expression._walk(e);walk_body(this,e)}))},_children_backwards(e){let t=this.body.length;while(t--)e(this.body[t]);e(this.expression)}},Fe);var Le=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(e){return e._visit(this,(function(){walk_body(this,e);if(this.bcatch)this.bcatch._walk(e);if(this.bfinally)this.bfinally._walk(e)}))},_children_backwards(e){if(this.bfinally)e(this.bfinally);if(this.bcatch)e(this.bcatch);let t=this.body.length;while(t--)e(this.body[t])}},Y);var $e=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(e){return e._visit(this,(function(){if(this.argname)this.argname._walk(e);walk_body(this,e)}))},_children_backwards(e){let t=this.body.length;while(t--)e(this.body[t]);if(this.argname)e(this.argname)}},Y);var je=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},Y);var ze=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(e){return e._visit(this,(function(){var t=this.definitions;for(var n=0,r=t.length;n a`"},ct);var pt=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,(function(){var t=this.elements;for(var n=0,r=t.length;nt._walk(e)))}))},_children_backwards(e){let t=this.properties.length;while(t--)e(this.properties[t]);if(this.extends)e(this.extends);if(this.name)e(this.name)}},pe);var Et=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(e){return e._visit(this,(function(){if(this.key instanceof W)this.key._walk(e);if(this.value instanceof W)this.value._walk(e)}))},_children_backwards(e){if(this.value instanceof W)e(this.value);if(this.key instanceof W)e(this.key)},computed_key(){return!(this.key instanceof Bt)}},ht);var wt=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Et);var St=DEFNODE("DefClass",null,{$documentation:"A class definition"},kt);var Ct=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},kt);var At=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Dt=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var Mt=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},At);var It=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},Mt);var Pt=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},Mt);var Tt=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Pt);var Ot=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Pt);var Rt=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},It);var Ft=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},Mt);var Nt=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},At);var Bt=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},At);var Lt=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},Mt);var $t=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Pt);var jt=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},Mt);var zt=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Pt);var Ut=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Pt);var qt=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},At);var Gt=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},At);var Ht=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},At);var Wt=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},Ht);var Vt=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},At);var Kt=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},At);var Qt=DEFNODE("This",null,{$documentation:"The `this` symbol"},At);var Xt=DEFNODE("Super",null,{$documentation:"The `super` symbol"},Qt);var Jt=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var Yt=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},Jt);var Zt=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},Jt);var en=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},Jt);var tn=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},Jt);var nn=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},Jt);var rn=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},nn);var sn=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},nn);var on=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},nn);var an=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},nn);var cn=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},nn);var un=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},nn);var ln=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},un);var dn=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},un);function walk(e,t,n=[e]){const r=n.push.bind(n);while(n.length){const e=n.pop();const i=t(e,n);if(i){if(i===pn)return true;continue}e._children_backwards(r)}return false}function walk_parent(e,t,n){const r=[e];const i=r.push.bind(r);const s=n?n.slice():[];const a=[];let c;const u={parent:(e=0)=>{if(e===-1){return c}if(n&&e>=s.length){e-=s.length;return n[n.length-(e+1)]}return s[s.length-(1+e)]}};while(r.length){c=r.pop();while(a.length&&r.length==a[a.length-1]){s.pop();a.pop()}const e=t(c,u);if(e){if(e===pn)return true;continue}const n=r.length;c._children_backwards(i);if(r.length>n){s.push(c);a.push(n-1)}}return false}const pn=Symbol("abort walk");class TreeWalker{constructor(e){this.visit=e;this.stack=[];this.directives=Object.create(null)}_visit(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:noop);if(!n&&t){t.call(e)}this.pop();return n}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){if(e instanceof me){this.directives=Object.create(this.directives)}else if(e instanceof X&&!this.directives[e.value]){this.directives[e.value]=e}else if(e instanceof kt){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=e}}this.stack.push(e)}pop(){var e=this.stack.pop();if(e instanceof me||e instanceof kt){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(e){var t=this.stack;for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof e)return r}}has_directive(e){var t=this.directives[e];if(t)return t;var n=this.stack[this.stack.length-1];if(n instanceof pe&&n.body){for(var r=0;r=0;){var r=t[n];if(r instanceof ne&&r.label.name==e.label.name)return r.body}else for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof re||e instanceof Me&&r instanceof Re)return r}}}class TreeTransformer extends TreeWalker{constructor(e,t){super();this.before=e;this.after=t}}const hn=1;const mn=2;const gn=4;var yn=Object.freeze({__proto__:null,AST_Accessor:ge,AST_Array:pt,AST_Arrow:ve,AST_Assign:lt,AST_Atom:nn,AST_Await:Pe,AST_BigInt:en,AST_Binary:ct,AST_Block:Y,AST_BlockStatement:Z,AST_Boolean:un,AST_Break:Me,AST_Call:Xe,AST_Case:Be,AST_Catch:$e,AST_Chain:rt,AST_Class:kt,AST_ClassExpression:Ct,AST_ClassPrivateProperty:wt,AST_ClassProperty:Et,AST_ConciseMethod:bt,AST_Conditional:ut,AST_Const:Ge,AST_Constant:Jt,AST_Continue:Ie,AST_Debugger:K,AST_Default:Ne,AST_DefaultAssign:dt,AST_DefClass:St,AST_Definitions:ze,AST_Defun:_e,AST_Destructuring:be,AST_Directive:X,AST_Do:se,AST_Dot:et,AST_DotHash:tt,AST_DWLoop:ie,AST_EmptyStatement:ee,AST_Exit:Se,AST_Expansion:he,AST_Export:Qe,AST_False:ln,AST_Finally:je,AST_For:ae,AST_ForIn:ue,AST_ForOf:le,AST_Function:ye,AST_Hole:an,AST_If:Oe,AST_Import:Ve,AST_ImportMeta:Ke,AST_Infinity:cn,AST_IterationStatement:re,AST_Jump:we,AST_Label:Gt,AST_LabeledStatement:ne,AST_LabelRef:Kt,AST_Lambda:me,AST_Let:qe,AST_LoopControl:De,AST_NameMapping:We,AST_NaN:sn,AST_New:Je,AST_NewTarget:Dt,AST_Node:W,AST_Null:rn,AST_Number:Zt,AST_Object:ft,AST_ObjectGetter:_t,AST_ObjectKeyVal:mt,AST_ObjectProperty:ht,AST_ObjectSetter:vt,AST_PrefixedTemplateString:xe,AST_PrivateGetter:yt,AST_PrivateMethod:xt,AST_PrivateSetter:gt,AST_PropAccess:Ze,AST_RegExp:tn,AST_Return:Ce,AST_Scope:pe,AST_Sequence:Ye,AST_SimpleStatement:J,AST_Statement:V,AST_StatementWithBody:te,AST_String:Yt,AST_Sub:nt,AST_Super:Xt,AST_Switch:Re,AST_SwitchBranch:Fe,AST_Symbol:At,AST_SymbolBlockDeclaration:Pt,AST_SymbolCatch:zt,AST_SymbolClass:jt,AST_SymbolClassProperty:Bt,AST_SymbolConst:Tt,AST_SymbolDeclaration:Mt,AST_SymbolDefClass:$t,AST_SymbolDefun:Ft,AST_SymbolExport:Wt,AST_SymbolExportForeign:Vt,AST_SymbolFunarg:Rt,AST_SymbolImport:Ut,AST_SymbolImportForeign:qt,AST_SymbolLambda:Lt,AST_SymbolLet:Ot,AST_SymbolMethod:Nt,AST_SymbolRef:Ht,AST_SymbolVar:It,AST_TemplateSegment:Ee,AST_TemplateString:ke,AST_This:Qt,AST_Throw:Ae,AST_Token:AST_Token,AST_Toplevel:fe,AST_True:dn,AST_Try:Le,AST_Unary:it,AST_UnaryPostfix:ot,AST_UnaryPrefix:st,AST_Undefined:on,AST_Var:Ue,AST_VarDef:He,AST_While:oe,AST_With:de,AST_Yield:Te,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:pn,walk_body:walk_body,walk_parent:walk_parent,_INLINE:mn,_NOINLINE:gn,_PURE:hn});function def_transform(e,t){e.DEFMETHOD("transform",(function(e,n){let r=undefined;e.push(this);if(e.before)r=e.before(this,t,n);if(r===undefined){r=this;t(r,e);if(e.after){const t=e.after(r,n);if(t!==undefined)r=t}}e.pop();return r}))}function do_list(e,t){return i(e,(function(e){return e.transform(t,true)}))}def_transform(W,noop);def_transform(ne,(function(e,t){e.label=e.label.transform(t);e.body=e.body.transform(t)}));def_transform(J,(function(e,t){e.body=e.body.transform(t)}));def_transform(Y,(function(e,t){e.body=do_list(e.body,t)}));def_transform(se,(function(e,t){e.body=e.body.transform(t);e.condition=e.condition.transform(t)}));def_transform(oe,(function(e,t){e.condition=e.condition.transform(t);e.body=e.body.transform(t)}));def_transform(ae,(function(e,t){if(e.init)e.init=e.init.transform(t);if(e.condition)e.condition=e.condition.transform(t);if(e.step)e.step=e.step.transform(t);e.body=e.body.transform(t)}));def_transform(ue,(function(e,t){e.init=e.init.transform(t);e.object=e.object.transform(t);e.body=e.body.transform(t)}));def_transform(de,(function(e,t){e.expression=e.expression.transform(t);e.body=e.body.transform(t)}));def_transform(Se,(function(e,t){if(e.value)e.value=e.value.transform(t)}));def_transform(De,(function(e,t){if(e.label)e.label=e.label.transform(t)}));def_transform(Oe,(function(e,t){e.condition=e.condition.transform(t);e.body=e.body.transform(t);if(e.alternative)e.alternative=e.alternative.transform(t)}));def_transform(Re,(function(e,t){e.expression=e.expression.transform(t);e.body=do_list(e.body,t)}));def_transform(Be,(function(e,t){e.expression=e.expression.transform(t);e.body=do_list(e.body,t)}));def_transform(Le,(function(e,t){e.body=do_list(e.body,t);if(e.bcatch)e.bcatch=e.bcatch.transform(t);if(e.bfinally)e.bfinally=e.bfinally.transform(t)}));def_transform($e,(function(e,t){if(e.argname)e.argname=e.argname.transform(t);e.body=do_list(e.body,t)}));def_transform(ze,(function(e,t){e.definitions=do_list(e.definitions,t)}));def_transform(He,(function(e,t){e.name=e.name.transform(t);if(e.value)e.value=e.value.transform(t)}));def_transform(be,(function(e,t){e.names=do_list(e.names,t)}));def_transform(me,(function(e,t){if(e.name)e.name=e.name.transform(t);e.argnames=do_list(e.argnames,t);if(e.body instanceof W){e.body=e.body.transform(t)}else{e.body=do_list(e.body,t)}}));def_transform(Xe,(function(e,t){e.expression=e.expression.transform(t);e.args=do_list(e.args,t)}));def_transform(Ye,(function(e,t){const n=do_list(e.expressions,t);e.expressions=n.length?n:[new Zt({value:0})]}));def_transform(et,(function(e,t){e.expression=e.expression.transform(t)}));def_transform(nt,(function(e,t){e.expression=e.expression.transform(t);e.property=e.property.transform(t)}));def_transform(rt,(function(e,t){e.expression=e.expression.transform(t)}));def_transform(Te,(function(e,t){if(e.expression)e.expression=e.expression.transform(t)}));def_transform(Pe,(function(e,t){e.expression=e.expression.transform(t)}));def_transform(it,(function(e,t){e.expression=e.expression.transform(t)}));def_transform(ct,(function(e,t){e.left=e.left.transform(t);e.right=e.right.transform(t)}));def_transform(ut,(function(e,t){e.condition=e.condition.transform(t);e.consequent=e.consequent.transform(t);e.alternative=e.alternative.transform(t)}));def_transform(pt,(function(e,t){e.elements=do_list(e.elements,t)}));def_transform(ft,(function(e,t){e.properties=do_list(e.properties,t)}));def_transform(ht,(function(e,t){if(e.key instanceof W){e.key=e.key.transform(t)}if(e.value)e.value=e.value.transform(t)}));def_transform(kt,(function(e,t){if(e.name)e.name=e.name.transform(t);if(e.extends)e.extends=e.extends.transform(t);e.properties=do_list(e.properties,t)}));def_transform(he,(function(e,t){e.expression=e.expression.transform(t)}));def_transform(We,(function(e,t){e.foreign_name=e.foreign_name.transform(t);e.name=e.name.transform(t)}));def_transform(Ve,(function(e,t){if(e.imported_name)e.imported_name=e.imported_name.transform(t);if(e.imported_names)do_list(e.imported_names,t);e.module_name=e.module_name.transform(t)}));def_transform(Qe,(function(e,t){if(e.exported_definition)e.exported_definition=e.exported_definition.transform(t);if(e.exported_value)e.exported_value=e.exported_value.transform(t);if(e.exported_names)do_list(e.exported_names,t);if(e.module_name)e.module_name=e.module_name.transform(t)}));def_transform(ke,(function(e,t){e.segments=do_list(e.segments,t)}));def_transform(xe,(function(e,t){e.prefix=e.prefix.transform(t);e.template_string=e.template_string.transform(t)}));(function(){var normalize_directives=function(e){var t=true;for(var n=0;n1||e.guardedHandlers&&e.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Le({start:my_start_token(e),end:my_end_token(e),body:from_moz(e.block).body,bcatch:from_moz(t[0]),bfinally:e.finalizer?new je(from_moz(e.finalizer)):null})},Property:function(e){var t=e.key;var n={start:my_start_token(t||e.value),end:my_end_token(e.value),key:t.type=="Identifier"?t.name:t.value,value:from_moz(e.value)};if(e.computed){n.key=from_moz(e.key)}if(e.method){n.is_generator=e.value.generator;n.async=e.value.async;if(!e.computed){n.key=new Nt({name:n.key})}else{n.key=from_moz(e.key)}return new bt(n)}if(e.kind=="init"){if(t.type!="Identifier"&&t.type!="Literal"){n.key=from_moz(t)}return new mt(n)}if(typeof n.key==="string"||typeof n.key==="number"){n.key=new Nt({name:n.key})}n.value=new ge(n.value);if(e.kind=="get")return new _t(n);if(e.kind=="set")return new vt(n);if(e.kind=="method"){n.async=e.value.async;n.is_generator=e.value.generator;n.quote=e.computed?'"':null;return new bt(n)}},MethodDefinition:function(e){var t={start:my_start_token(e),end:my_end_token(e),key:e.computed?from_moz(e.key):new Nt({name:e.key.name||e.key.value}),value:from_moz(e.value),static:e.static};if(e.kind=="get"){return new _t(t)}if(e.kind=="set"){return new vt(t)}t.is_generator=e.value.generator;t.async=e.value.async;return new bt(t)},FieldDefinition:function(e){let t;if(e.computed){t=from_moz(e.key)}else{if(e.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");t=from_moz(e.key)}return new Et({start:my_start_token(e),end:my_end_token(e),key:t,value:from_moz(e.value),static:e.static})},PropertyDefinition:function(e){let t;if(e.computed){t=from_moz(e.key)}else{if(e.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");t=from_moz(e.key)}return new Et({start:my_start_token(e),end:my_end_token(e),key:t,value:from_moz(e.value),static:e.static})},ArrayExpression:function(e){return new pt({start:my_start_token(e),end:my_end_token(e),elements:e.elements.map((function(e){return e===null?new an:from_moz(e)}))})},ObjectExpression:function(e){return new ft({start:my_start_token(e),end:my_end_token(e),properties:e.properties.map((function(e){if(e.type==="SpreadElement"){return from_moz(e)}e.type="Property";return from_moz(e)}))})},SequenceExpression:function(e){return new Ye({start:my_start_token(e),end:my_end_token(e),expressions:e.expressions.map(from_moz)})},MemberExpression:function(e){return new(e.computed?nt:et)({start:my_start_token(e),end:my_end_token(e),property:e.computed?from_moz(e.property):e.property.name,expression:from_moz(e.object),optional:e.optional||false})},ChainExpression:function(e){return new rt({start:my_start_token(e),end:my_end_token(e),expression:from_moz(e.expression)})},SwitchCase:function(e){return new(e.test?Be:Ne)({start:my_start_token(e),end:my_end_token(e),expression:from_moz(e.test),body:e.consequent.map(from_moz)})},VariableDeclaration:function(e){return new(e.kind==="const"?Ge:e.kind==="let"?qe:Ue)({start:my_start_token(e),end:my_end_token(e),definitions:e.declarations.map(from_moz)})},ImportDeclaration:function(e){var t=null;var n=null;e.specifiers.forEach((function(e){if(e.type==="ImportSpecifier"){if(!n){n=[]}n.push(new We({start:my_start_token(e),end:my_end_token(e),foreign_name:from_moz(e.imported),name:from_moz(e.local)}))}else if(e.type==="ImportDefaultSpecifier"){t=from_moz(e.local)}else if(e.type==="ImportNamespaceSpecifier"){if(!n){n=[]}n.push(new We({start:my_start_token(e),end:my_end_token(e),foreign_name:new qt({name:"*"}),name:from_moz(e.local)}))}}));return new Ve({start:my_start_token(e),end:my_end_token(e),imported_name:t,imported_names:n,module_name:from_moz(e.source)})},ExportAllDeclaration:function(e){return new Qe({start:my_start_token(e),end:my_end_token(e),exported_names:[new We({name:new Vt({name:"*"}),foreign_name:new Vt({name:"*"})})],module_name:from_moz(e.source)})},ExportNamedDeclaration:function(e){return new Qe({start:my_start_token(e),end:my_end_token(e),exported_definition:from_moz(e.declaration),exported_names:e.specifiers&&e.specifiers.length?e.specifiers.map((function(e){return new We({foreign_name:from_moz(e.exported),name:from_moz(e.local)})})):null,module_name:from_moz(e.source)})},ExportDefaultDeclaration:function(e){return new Qe({start:my_start_token(e),end:my_end_token(e),exported_value:from_moz(e.declaration),is_default:true})},Literal:function(e){var t=e.value,n={start:my_start_token(e),end:my_end_token(e)};var r=e.regex;if(r&&r.pattern){n.value={source:r.pattern,flags:r.flags};return new tn(n)}else if(r){const r=e.raw||t;const i=r.match(/^\/(.*)\/(\w*)$/);if(!i)throw new Error("Invalid regex source "+r);const[s,a,c]=i;n.value={source:a,flags:c};return new tn(n)}if(t===null)return new rn(n);switch(typeof t){case"string":n.value=t;return new Yt(n);case"number":n.value=t;n.raw=e.raw||t.toString();return new Zt(n);case"boolean":return new(t?dn:ln)(n)}},MetaProperty:function(e){if(e.meta.name==="new"&&e.property.name==="target"){return new Dt({start:my_start_token(e),end:my_end_token(e)})}else if(e.meta.name==="import"&&e.property.name==="meta"){return new Ke({start:my_start_token(e),end:my_end_token(e)})}},Identifier:function(e){var n=t[t.length-2];return new(n.type=="LabeledStatement"?Gt:n.type=="VariableDeclarator"&&n.id===e?n.kind=="const"?Tt:n.kind=="let"?Ot:It:/Import.*Specifier/.test(n.type)?n.local===e?Ut:qt:n.type=="ExportSpecifier"?n.local===e?Wt:Vt:n.type=="FunctionExpression"?n.id===e?Lt:Rt:n.type=="FunctionDeclaration"?n.id===e?Ft:Rt:n.type=="ArrowFunctionExpression"?n.params.includes(e)?Rt:Ht:n.type=="ClassExpression"?n.id===e?jt:Ht:n.type=="Property"?n.key===e&&n.computed||n.value===e?Ht:Nt:n.type=="PropertyDefinition"||n.type==="FieldDefinition"?n.key===e&&n.computed||n.value===e?Ht:Bt:n.type=="ClassDeclaration"?n.id===e?$t:Ht:n.type=="MethodDefinition"?n.computed?Ht:Nt:n.type=="CatchClause"?zt:n.type=="BreakStatement"||n.type=="ContinueStatement"?Kt:Ht)({start:my_start_token(e),end:my_end_token(e),name:e.name})},BigIntLiteral(e){return new en({start:my_start_token(e),end:my_end_token(e),value:e.value})}};e.UpdateExpression=e.UnaryExpression=function To_Moz_Unary(e){var t="prefix"in e?e.prefix:e.type=="UnaryExpression"?true:false;return new(t?st:ot)({start:my_start_token(e),end:my_end_token(e),operator:e.operator,expression:from_moz(e.argument)})};e.ClassDeclaration=e.ClassExpression=function From_Moz_Class(e){return new(e.type==="ClassDeclaration"?St:Ct)({start:my_start_token(e),end:my_end_token(e),name:from_moz(e.id),extends:from_moz(e.superClass),properties:e.body.body.map(from_moz)})};map("EmptyStatement",ee);map("BlockStatement",Z,"body@body");map("IfStatement",Oe,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",ne,"label>label, body>body");map("BreakStatement",Me,"label>label");map("ContinueStatement",Ie,"label>label");map("WithStatement",de,"object>expression, body>body");map("SwitchStatement",Re,"discriminant>expression, cases@body");map("ReturnStatement",Ce,"argument>value");map("ThrowStatement",Ae,"argument>value");map("WhileStatement",oe,"test>condition, body>body");map("DoWhileStatement",se,"test>condition, body>body");map("ForStatement",ae,"init>init, test>condition, update>step, body>body");map("ForInStatement",ue,"left>init, right>object, body>body");map("ForOfStatement",le,"left>init, right>object, body>body, await=await");map("AwaitExpression",Pe,"argument>expression");map("YieldExpression",Te,"argument>expression, delegate=is_star");map("DebuggerStatement",K);map("VariableDeclarator",He,"id>name, init>value");map("CatchClause",$e,"param>argname, body%body");map("ThisExpression",Qt);map("Super",Xt);map("BinaryExpression",ct,"operator=operator, left>left, right>right");map("LogicalExpression",ct,"operator=operator, left>left, right>right");map("AssignmentExpression",lt,"operator=operator, left>left, right>right");map("ConditionalExpression",ut,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",Je,"callee>expression, arguments@args");map("CallExpression",Xe,"callee>expression, optional=optional, arguments@args");def_to_moz(fe,(function To_Moz_Program(e){return to_moz_scope("Program",e)}));def_to_moz(he,(function To_Moz_Spread(e){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(e.expression)}}));def_to_moz(xe,(function To_Moz_TaggedTemplateExpression(e){return{type:"TaggedTemplateExpression",tag:to_moz(e.prefix),quasi:to_moz(e.template_string)}}));def_to_moz(ke,(function To_Moz_TemplateLiteral(e){var t=[];var n=[];for(var r=0;r({type:"BigIntLiteral",value:e.value})));un.DEFMETHOD("to_mozilla_ast",Jt.prototype.to_mozilla_ast);rn.DEFMETHOD("to_mozilla_ast",Jt.prototype.to_mozilla_ast);an.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));Y.DEFMETHOD("to_mozilla_ast",Z.prototype.to_mozilla_ast);me.DEFMETHOD("to_mozilla_ast",ye.prototype.to_mozilla_ast);function my_start_token(e){var t=e.loc,n=t&&t.start;var r=e.range;return new AST_Token("","",n&&n.line||0,n&&n.column||0,r?r[0]:e.start,false,[],[],t&&t.source)}function my_end_token(e){var t=e.loc,n=t&&t.end;var r=e.range;return new AST_Token("","",n&&n.line||0,n&&n.column||0,r?r[0]:e.end,false,[],[],t&&t.source)}function map(t,n,r){var i="function From_Moz_"+t+"(M){\n";i+="return new U2."+n.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var s="function To_Moz_"+t+"(M){\n";s+="return {\n"+"type: "+JSON.stringify(t);if(r)r.split(/\s*,\s*/).forEach((function(e){var t=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],r=t[2],a=t[3];i+=",\n"+a+": ";s+=",\n"+n+": ";switch(r){case"@":i+="M."+n+".map(from_moz)";s+="M."+a+".map(to_moz)";break;case">":i+="from_moz(M."+n+")";s+="to_moz(M."+a+")";break;case"=":i+="M."+n;s+="M."+a;break;case"%":i+="from_moz(M."+n+").body";s+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}));i+="\n})\n}";s+="\n}\n}";i=new Function("U2","my_start_token","my_end_token","from_moz","return("+i+")")(yn,my_start_token,my_end_token,from_moz);s=new Function("to_moz","to_moz_block","to_moz_scope","return("+s+")")(to_moz,to_moz_block,to_moz_scope);e[t]=i;def_to_moz(n,s)}var t=null;function from_moz(n){t.push(n);var r=n!=null?e[n.type](n):null;t.pop();return r}W.from_mozilla_ast=function(e){var n=t;t=[];var r=from_moz(e);t=n;return r};function set_moz_loc(e,t){var n=e.start;var r=e.end;if(!(n&&r)){return t}if(n.pos!=null&&r.endpos!=null){t.range=[n.pos,r.endpos]}if(n.line){t.loc={start:{line:n.line,column:n.col},end:r.endline?{line:r.endline,column:r.endcol}:null};if(n.file){t.loc.source=n.file}}return t}function def_to_moz(e,t){e.DEFMETHOD("to_mozilla_ast",(function(e){return set_moz_loc(this,t(this,e))}))}var n=null;function to_moz(e){if(n===null){n=[]}n.push(e);var t=e!=null?e.to_mozilla_ast(n[n.length-2]):null;n.pop();if(n.length===0){n=null}return t}function to_moz_in_destructuring(){var e=n.length;while(e--){if(n[e]instanceof be){return true}}return false}function to_moz_block(e){return{type:"BlockStatement",body:e.body.map(to_moz)}}function to_moz_scope(e,t){var n=t.body.map(to_moz);if(t.body[0]instanceof J&&t.body[0].body instanceof Yt){n.unshift(to_moz(new ee(t.body[0])))}return{type:e,body:n}}})();function first_in_statement(e){let t=e.parent(-1);for(let n=0,r;r=e.parent(n);n++){if(r instanceof V&&r.body===t)return true;if(r instanceof Ye&&r.expressions[0]===t||r.TYPE==="Call"&&r.expression===t||r instanceof xe&&r.prefix===t||r instanceof et&&r.expression===t||r instanceof nt&&r.expression===t||r instanceof ut&&r.condition===t||r instanceof ct&&r.left===t||r instanceof ot&&r.expression===t){t=r}else{return false}}}function left_is_object(e){if(e instanceof ft)return true;if(e instanceof Ye)return left_is_object(e.expressions[0]);if(e.TYPE==="Call")return left_is_object(e.expression);if(e instanceof xe)return left_is_object(e.prefix);if(e instanceof et||e instanceof nt)return left_is_object(e.expression);if(e instanceof ut)return left_is_object(e.condition);if(e instanceof ct)return left_is_object(e.left);if(e instanceof ot)return left_is_object(e.expression);return false}const vn=/^$|[;{][\s\n]*$/;const _n=10;const bn=32;const xn=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(e){return(e.type==="comment2"||e.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(e.value)}function OutputStream(e){var t=!e;e=defaults(e,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(e.shorthand===undefined)e.shorthand=e.ecma>5;var n=return_false;if(e.comments){let t=e.comments;if(typeof e.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var r=e.comments.lastIndexOf("/");t=new RegExp(e.comments.substr(1,r-1),e.comments.substr(r+1))}if(t instanceof RegExp){n=function(e){return e.type!="comment5"&&t.test(e.value)}}else if(typeof t==="function"){n=function(e){return e.type!="comment5"&&t(this,e)}}else if(t==="some"){n=is_some_comments}else{n=return_true}}var i=0;var s=0;var a=1;var c=0;var u="";let l=new Set;var d=e.ascii_only?function(t,n){if(e.ecma>=2015&&!e.safari10){t=t.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(e){var t=get_full_char_code(e,0).toString(16);return"\\u{"+t+"}"}))}return t.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(e){var t=e.charCodeAt(0).toString(16);if(t.length<=2&&!n){while(t.length<2)t="0"+t;return"\\x"+t}else{while(t.length<4)t="0"+t;return"\\u"+t}}))}:function(e){return e.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(e,t){if(t){return"\\u"+t.charCodeAt(0).toString(16)}return e}))};function make_string(t,n){var r=0,i=0;t=t.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(n,s){switch(n){case'"':++r;return'"';case"'":++i;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return e.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(t,s+1))?"\\x00":"\\0"}return n}));function quote_single(){return"'"+t.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+t.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+t.replace(/`/g,"\\`")+"`"}t=d(t);if(n==="`")return quote_template();switch(e.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return n=="'"?quote_single():quote_double();default:return r>i?quote_single():quote_double()}}function encode_string(t,n){var r=make_string(t,n);if(e.inline_script){r=r.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");r=r.replace(/\x3c!--/g,"\\x3c!--");r=r.replace(/--\x3e/g,"--\\x3e")}return r}function make_name(e){e=e.toString();e=d(e,true);return e}function make_indent(t){return" ".repeat(e.indent_start+i-t*e.indent_level)}var p=false;var h=false;var m=false;var g=0;var y=false;var _=false;var b=-1;var x="";var k,E,w=e.source_map&&[];var S=w?function(){w.forEach((function(t){try{e.source_map.add(t.token.file,t.line,t.col,t.token.line,t.token.col,!t.name&&t.token.type=="name"?t.token.value:t.name)}catch(e){}}));w=[]}:noop;var C=e.max_line_len?function(){if(s>e.max_line_len){if(g){var t=u.slice(0,g);var n=u.slice(g);if(w){var r=n.length-s;w.forEach((function(e){e.line++;e.col+=r}))}u=t+"\n"+n;a++;c++;s=n.length}}if(g){g=0;S()}}:noop;var M=makePredicate("( [ + * / - , . `");function print(t){t=String(t);var n=get_full_char(t,0);if(y&&n){y=false;if(n!=="\n"){print("\n");P()}}if(_&&n){_=false;if(!/[\s;})]/.test(n)){I()}}b=-1;var r=x.charAt(x.length-1);if(m){m=false;if(r===":"&&n==="}"||(!n||!";}".includes(n))&&r!==";"){if(e.semicolons||M.has(n)){u+=";";s++;c++}else{C();if(s>0){u+="\n";c++;a++;s=0}if(/^\s+$/.test(t)){m=true}}if(!e.beautify)h=false}}if(h){if(is_identifier_char(r)&&(is_identifier_char(n)||n=="\\")||n=="/"&&n==r||(n=="+"||n=="-")&&n==x){u+=" ";s++;c++}h=false}if(k){w.push({token:k,name:E,line:a,col:s});k=false;if(!g)S()}u+=t;p=t[t.length-1]=="(";c+=t.length;var i=t.split(/\r?\n/),l=i.length-1;a+=l;s+=i[0].length;if(l>0){C();s=i[l].length}x=t}var star=function(){print("*")};var I=e.beautify?function(){print(" ")}:function(){h=true};var P=e.beautify?function(t){if(e.beautify){print(make_indent(t?.5:0))}}:noop;var T=e.beautify?function(e,t){if(e===true)e=next_indent();var n=i;i=e;var r=t();i=n;return r}:function(e,t){return t()};var O=e.beautify?function(){if(b<0)return print("\n");if(u[b]!="\n"){u=u.slice(0,b)+"\n"+u.slice(b);c++;a++}b++}:e.max_line_len?function(){C();g=u.length}:noop;var R=e.beautify?function(){print(";")}:function(){m=true};function force_semicolon(){m=false;print(";")}function next_indent(){return i+e.indent_level}function with_block(e){var t;print("{");O();T(next_indent(),(function(){t=e()}));P();print("}");return t}function with_parens(e){print("(");var t=e();print(")");return t}function with_square(e){print("[");var t=e();print("]");return t}function comma(){print(",");I()}function colon(){print(":");I()}var N=w?function(e,t){k=e;E=t}:noop;function get(){if(g){C()}return u}function has_nlb(){let e=u.length-1;while(e>=0){const t=u.charCodeAt(e);if(t===_n){return true}if(t!==bn){return false}e--}return true}function filter_comment(t){if(!e.preserve_annotations){t=t.replace(xn," ")}if(/^\s*$/.test(t)){return""}return t.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(t){var r=this;var i=t.start;if(!i)return;var s=r.printed_comments;const a=t instanceof Se&&t.value;if(i.comments_before&&s.has(i.comments_before)){if(a){i.comments_before=[]}else{return}}var u=i.comments_before;if(!u){u=i.comments_before=[]}s.add(u);if(a){var l=new TreeWalker((function(e){var t=l.parent();if(t instanceof Se||t instanceof ct&&t.left===e||t.TYPE=="Call"&&t.expression===e||t instanceof ut&&t.condition===e||t instanceof et&&t.expression===e||t instanceof Ye&&t.expressions[0]===e||t instanceof nt&&t.expression===e||t instanceof ot){if(!e.start)return;var n=e.start.comments_before;if(n&&!s.has(n)){s.add(n);u=u.concat(n)}}else{return true}}));l.push(t);t.value.walk(l)}if(c==0){if(u.length>0&&e.shebang&&u[0].type==="comment5"&&!s.has(u[0])){print("#!"+u.shift().value+"\n");P()}var d=e.preamble;if(d){print(d.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}u=u.filter(n,t).filter((e=>!s.has(e)));if(u.length==0)return;var p=has_nlb();u.forEach((function(e,t){s.add(e);if(!p){if(e.nlb){print("\n");P();p=true}else if(t>0){I()}}if(/comment[134]/.test(e.type)){var n=filter_comment(e.value);if(n){print("//"+n+"\n");P()}p=true}else if(e.type=="comment2"){var n=filter_comment(e.value);if(n){print("/*"+n+"*/")}p=false}}));if(!p){if(i.nlb){print("\n");P()}else{I()}}}function append_comments(e,t){var r=this;var i=e.end;if(!i)return;var s=r.printed_comments;var a=i[t?"comments_before":"comments_after"];if(!a||s.has(a))return;if(!(e instanceof V||a.every((e=>!/comment[134]/.test(e.type)))))return;s.add(a);var c=u.length;a.filter(n,e).forEach((function(e,n){if(s.has(e))return;s.add(e);_=false;if(y){print("\n");P();y=false}else if(e.nlb&&(n>0||!has_nlb())){print("\n");P()}else if(n>0||!t){I()}if(/comment[134]/.test(e.type)){const t=filter_comment(e.value);if(t){print("//"+t)}y=true}else if(e.type=="comment2"){const t=filter_comment(e.value);if(t){print("/*"+t+"*/")}_=true}}));if(u.length>c)b=c}var L=[];return{get:get,toString:get,indent:P,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return i},current_width:function(){return s-i},should_break:function(){return e.width&&this.current_width()>=e.width},has_parens:function(){return p},newline:O,print:print,star:star,space:I,comma:comma,colon:colon,last:function(){return x},semicolon:R,force_semicolon:force_semicolon,to_utf8:d,print_name:function(e){print(make_name(e))},print_string:function(e,t,n){var r=encode_string(e,t);if(n===true&&!r.includes("\\")){if(!vn.test(u)){force_semicolon()}force_semicolon()}print(r)},print_template_string_chars:function(e){var t=encode_string(e,"`").replace(/\${/g,"\\${");return print(t.substr(1,t.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:T,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:N,option:function(t){return e[t]},printed_comments:l,prepend_comments:t?noop:prepend_comments,append_comments:t||n===return_false?noop:append_comments,line:function(){return a},col:function(){return s},pos:function(){return c},push_node:function(e){L.push(e)},pop_node:function(){return L.pop()},parent:function(e){return L[L.length-2-(e||0)]}}}(function(){function DEFPRINT(e,t){e.DEFMETHOD("_codegen",t)}W.DEFMETHOD("print",(function(e,t){var n=this,r=n._codegen;if(n instanceof pe){e.active_scope=n}else if(!e.use_asm&&n instanceof X&&n.value=="use asm"){e.use_asm=e.active_scope}function doit(){e.prepend_comments(n);n.add_source_map(e);r(n,e);e.append_comments(n)}e.push_node(n);if(t||n.needs_parens(e)){e.with_parens(doit)}else{doit()}e.pop_node();if(n===e.use_asm){e.use_asm=null}}));W.DEFMETHOD("_print",W.prototype.print);W.DEFMETHOD("print_to_string",(function(e){var t=OutputStream(e);this.print(t);return t.get()}));function PARENS(e,t){if(Array.isArray(e)){e.forEach((function(e){PARENS(e,t)}))}else{e.DEFMETHOD("needs_parens",t)}}PARENS(W,return_false);PARENS(ye,(function(e){if(!e.has_parens()&&first_in_statement(e)){return true}if(e.option("webkit")){var t=e.parent();if(t instanceof Ze&&t.expression===this){return true}}if(e.option("wrap_iife")){var t=e.parent();if(t instanceof Xe&&t.expression===this){return true}}if(e.option("wrap_func_args")){var t=e.parent();if(t instanceof Xe&&t.args.includes(this)){return true}}return false}));PARENS(ve,(function(e){var t=e.parent();if(e.option("wrap_func_args")&&t instanceof Xe&&t.args.includes(this)){return true}return t instanceof Ze&&t.expression===this}));PARENS(ft,(function(e){return!e.has_parens()&&first_in_statement(e)}));PARENS(Ct,first_in_statement);PARENS(it,(function(e){var t=e.parent();return t instanceof Ze&&t.expression===this||t instanceof Xe&&t.expression===this||t instanceof ct&&t.operator==="**"&&this instanceof st&&t.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Pe,(function(e){var t=e.parent();return t instanceof Ze&&t.expression===this||t instanceof Xe&&t.expression===this||t instanceof ct&&t.operator==="**"&&t.left===this||e.option("safari10")&&t instanceof st}));PARENS(Ye,(function(e){var t=e.parent();return t instanceof Xe||t instanceof it||t instanceof ct||t instanceof He||t instanceof Ze||t instanceof pt||t instanceof ht||t instanceof ut||t instanceof ve||t instanceof dt||t instanceof he||t instanceof le&&this===t.object||t instanceof Te||t instanceof Qe}));PARENS(ct,(function(e){var t=e.parent();if(t instanceof Xe&&t.expression===this)return true;if(t instanceof it)return true;if(t instanceof Ze&&t.expression===this)return true;if(t instanceof ct){const e=t.operator;const n=this.operator;if(n==="??"&&(e==="||"||e==="&&")){return true}if(e==="??"&&(n==="||"||n==="&&")){return true}const r=z[e];const i=z[n];if(r>i||r==i&&(this===t.right||e=="**")){return true}}}));PARENS(Te,(function(e){var t=e.parent();if(t instanceof ct&&t.operator!=="=")return true;if(t instanceof Xe&&t.expression===this)return true;if(t instanceof ut&&t.condition===this)return true;if(t instanceof it)return true;if(t instanceof Ze&&t.expression===this)return true}));PARENS(Ze,(function(e){var t=e.parent();if(t instanceof Je&&t.expression===this){return walk(this,(e=>{if(e instanceof pe)return true;if(e instanceof Xe){return pn}}))}}));PARENS(Xe,(function(e){var t=e.parent(),n;if(t instanceof Je&&t.expression===this||t instanceof Qe&&t.is_default&&this.expression instanceof ye)return true;return this.expression instanceof ye&&t instanceof Ze&&t.expression===this&&(n=e.parent(1))instanceof lt&&n.left===t}));PARENS(Je,(function(e){var t=e.parent();if(this.args.length===0&&(t instanceof Ze||t instanceof Xe&&t.expression===this))return true}));PARENS(Zt,(function(e){var t=e.parent();if(t instanceof Ze&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(make_num(n))){return true}}}));PARENS(en,(function(e){var t=e.parent();if(t instanceof Ze&&t.expression===this){var n=this.getValue();if(n.startsWith("-")){return true}}}));PARENS([lt,ut],(function(e){var t=e.parent();if(t instanceof it)return true;if(t instanceof ct&&!(t instanceof lt))return true;if(t instanceof Xe&&t.expression===this)return true;if(t instanceof ut&&t.condition===this)return true;if(t instanceof Ze&&t.expression===this)return true;if(this instanceof lt&&this.left instanceof be&&this.left.is_array===false)return true}));DEFPRINT(X,(function(e,t){t.print_string(e.value,e.quote);t.semicolon()}));DEFPRINT(he,(function(e,t){t.print("...");e.expression.print(t)}));DEFPRINT(be,(function(e,t){t.print(e.is_array?"[":"{");var n=e.names.length;e.names.forEach((function(e,r){if(r>0)t.comma();e.print(t);if(r==n-1&&e instanceof an)t.comma()}));t.print(e.is_array?"]":"}")}));DEFPRINT(K,(function(e,t){t.print("debugger");t.semicolon()}));function display_body(e,t,n,r){var i=e.length-1;n.in_directive=r;e.forEach((function(e,r){if(n.in_directive===true&&!(e instanceof X||e instanceof ee||e instanceof J&&e.body instanceof Yt)){n.in_directive=false}if(!(e instanceof ee)){n.indent();e.print(n);if(!(r==i&&t)){n.newline();if(t)n.newline()}}if(n.in_directive===true&&e instanceof J&&e.body instanceof Yt){n.in_directive=false}}));n.in_directive=false}te.DEFMETHOD("_do_print_body",(function(e){force_statement(this.body,e)}));DEFPRINT(V,(function(e,t){e.body.print(t);t.semicolon()}));DEFPRINT(fe,(function(e,t){display_body(e.body,true,t,true);t.print("")}));DEFPRINT(ne,(function(e,t){e.label.print(t);t.colon();e.body.print(t)}));DEFPRINT(J,(function(e,t){e.body.print(t);t.semicolon()}));function print_braced_empty(e,t){t.print("{");t.with_indent(t.next_indent(),(function(){t.append_comments(e,true)}));t.print("}")}function print_braced(e,t,n){if(e.body.length>0){t.with_block((function(){display_body(e.body,false,t,n)}))}else print_braced_empty(e,t)}DEFPRINT(Z,(function(e,t){print_braced(e,t)}));DEFPRINT(ee,(function(e,t){t.semicolon()}));DEFPRINT(se,(function(e,t){t.print("do");t.space();make_block(e.body,t);t.space();t.print("while");t.space();t.with_parens((function(){e.condition.print(t)}));t.semicolon()}));DEFPRINT(oe,(function(e,t){t.print("while");t.space();t.with_parens((function(){e.condition.print(t)}));t.space();e._do_print_body(t)}));DEFPRINT(ae,(function(e,t){t.print("for");t.space();t.with_parens((function(){if(e.init){if(e.init instanceof ze){e.init.print(t)}else{parenthesize_for_noin(e.init,t,true)}t.print(";");t.space()}else{t.print(";")}if(e.condition){e.condition.print(t);t.print(";");t.space()}else{t.print(";")}if(e.step){e.step.print(t)}}));t.space();e._do_print_body(t)}));DEFPRINT(ue,(function(e,t){t.print("for");if(e.await){t.space();t.print("await")}t.space();t.with_parens((function(){e.init.print(t);t.space();t.print(e instanceof le?"of":"in");t.space();e.object.print(t)}));t.space();e._do_print_body(t)}));DEFPRINT(de,(function(e,t){t.print("with");t.space();t.with_parens((function(){e.expression.print(t)}));t.space();e._do_print_body(t)}));me.DEFMETHOD("_do_print",(function(e,t){var n=this;if(!t){if(n.async){e.print("async");e.space()}e.print("function");if(n.is_generator){e.star()}if(n.name){e.space()}}if(n.name instanceof At){n.name.print(e)}else if(t&&n.name instanceof W){e.with_square((function(){n.name.print(e)}))}e.with_parens((function(){n.argnames.forEach((function(t,n){if(n)e.comma();t.print(e)}))}));e.space();print_braced(n,e,true)}));DEFPRINT(me,(function(e,t){e._do_print(t)}));DEFPRINT(xe,(function(e,t){var n=e.prefix;var r=n instanceof me||n instanceof ct||n instanceof ut||n instanceof Ye||n instanceof it||n instanceof et&&n.expression instanceof ft;if(r)t.print("(");e.prefix.print(t);if(r)t.print(")");e.template_string.print(t)}));DEFPRINT(ke,(function(e,t){var n=t.parent()instanceof xe;t.print("`");for(var r=0;r");e.space();const i=t.body[0];if(t.body.length===1&&i instanceof Ce){const t=i.value;if(!t){e.print("{}")}else if(left_is_object(t)){e.print("(");t.print(e);e.print(")")}else{t.print(e)}}else{print_braced(t,e)}if(r){e.print(")")}}));Se.DEFMETHOD("_do_print",(function(e,t){e.print(t);if(this.value){e.space();const t=this.value.start.comments_before;if(t&&t.length&&!e.printed_comments.has(t)){e.print("(");this.value.print(e);e.print(")")}else{this.value.print(e)}}e.semicolon()}));DEFPRINT(Ce,(function(e,t){e._do_print(t,"return")}));DEFPRINT(Ae,(function(e,t){e._do_print(t,"throw")}));DEFPRINT(Te,(function(e,t){var n=e.is_star?"*":"";t.print("yield"+n);if(e.expression){t.space();e.expression.print(t)}}));DEFPRINT(Pe,(function(e,t){t.print("await");t.space();var n=e.expression;var r=!(n instanceof Xe||n instanceof Ht||n instanceof Ze||n instanceof it||n instanceof Jt||n instanceof Pe||n instanceof ft);if(r)t.print("(");e.expression.print(t);if(r)t.print(")")}));De.DEFMETHOD("_do_print",(function(e,t){e.print(t);if(this.label){e.space();this.label.print(e)}e.semicolon()}));DEFPRINT(Me,(function(e,t){e._do_print(t,"break")}));DEFPRINT(Ie,(function(e,t){e._do_print(t,"continue")}));function make_then(e,t){var n=e.body;if(t.option("braces")||t.option("ie8")&&n instanceof se)return make_block(n,t);if(!n)return t.force_semicolon();while(true){if(n instanceof Oe){if(!n.alternative){make_block(e.body,t);return}n=n.alternative}else if(n instanceof te){n=n.body}else break}force_statement(e.body,t)}DEFPRINT(Oe,(function(e,t){t.print("if");t.space();t.with_parens((function(){e.condition.print(t)}));t.space();if(e.alternative){make_then(e,t);t.space();t.print("else");t.space();if(e.alternative instanceof Oe)e.alternative.print(t);else force_statement(e.alternative,t)}else{e._do_print_body(t)}}));DEFPRINT(Re,(function(e,t){t.print("switch");t.space();t.with_parens((function(){e.expression.print(t)}));t.space();var n=e.body.length-1;if(n<0)print_braced_empty(e,t);else t.with_block((function(){e.body.forEach((function(e,r){t.indent(true);e.print(t);if(r0)t.newline()}))}))}));Fe.DEFMETHOD("_do_print_body",(function(e){e.newline();this.body.forEach((function(t){e.indent();t.print(e);e.newline()}))}));DEFPRINT(Ne,(function(e,t){t.print("default:");e._do_print_body(t)}));DEFPRINT(Be,(function(e,t){t.print("case");t.space();e.expression.print(t);t.print(":");e._do_print_body(t)}));DEFPRINT(Le,(function(e,t){t.print("try");t.space();print_braced(e,t);if(e.bcatch){t.space();e.bcatch.print(t)}if(e.bfinally){t.space();e.bfinally.print(t)}}));DEFPRINT($e,(function(e,t){t.print("catch");if(e.argname){t.space();t.with_parens((function(){e.argname.print(t)}))}t.space();print_braced(e,t)}));DEFPRINT(je,(function(e,t){t.print("finally");t.space();print_braced(e,t)}));ze.DEFMETHOD("_do_print",(function(e,t){e.print(t);e.space();this.definitions.forEach((function(t,n){if(n)e.comma();t.print(e)}));var n=e.parent();var r=n instanceof ae||n instanceof ue;var i=!r||n&&n.init!==this;if(i)e.semicolon()}));DEFPRINT(qe,(function(e,t){e._do_print(t,"let")}));DEFPRINT(Ue,(function(e,t){e._do_print(t,"var")}));DEFPRINT(Ge,(function(e,t){e._do_print(t,"const")}));DEFPRINT(Ve,(function(e,t){t.print("import");t.space();if(e.imported_name){e.imported_name.print(t)}if(e.imported_name&&e.imported_names){t.print(",");t.space()}if(e.imported_names){if(e.imported_names.length===1&&e.imported_names[0].foreign_name.name==="*"){e.imported_names[0].print(t)}else{t.print("{");e.imported_names.forEach((function(n,r){t.space();n.print(t);if(r{if(e instanceof pe)return true;if(e instanceof ct&&e.operator=="in"){return pn}}))}e.print(t,r)}DEFPRINT(He,(function(e,t){e.name.print(t);if(e.value){t.space();t.print("=");t.space();var n=t.parent(1);var r=n instanceof ae||n instanceof ue;parenthesize_for_noin(e.value,t,r)}}));DEFPRINT(Xe,(function(e,t){e.expression.print(t);if(e instanceof Je&&e.args.length===0)return;if(e.expression instanceof Xe||e.expression instanceof me){t.add_mapping(e.start)}if(e.optional)t.print("?.");t.with_parens((function(){e.args.forEach((function(e,n){if(n)t.comma();e.print(t)}))}))}));DEFPRINT(Je,(function(e,t){t.print("new");t.space();Xe.prototype._codegen(e,t)}));Ye.DEFMETHOD("_do_print",(function(e){this.expressions.forEach((function(t,n){if(n>0){e.comma();if(e.should_break()){e.newline();e.indent()}}t.print(e)}))}));DEFPRINT(Ye,(function(e,t){e._do_print(t)}));DEFPRINT(et,(function(e,t){var n=e.expression;n.print(t);var r=e.property;var i=p.has(r)?t.option("ie8"):!is_identifier_string(r,t.option("ecma")>=2015||t.option("safari10"));if(e.optional)t.print("?.");if(i){t.print("[");t.add_mapping(e.end);t.print_string(r);t.print("]")}else{if(n instanceof Zt&&n.getValue()>=0){if(!/[xa-f.)]/i.test(t.last())){t.print(".")}}if(!e.optional)t.print(".");t.add_mapping(e.end);t.print_name(r)}}));DEFPRINT(tt,(function(e,t){var n=e.expression;n.print(t);var r=e.property;if(e.optional)t.print("?");t.print(".#");t.print_name(r)}));DEFPRINT(nt,(function(e,t){e.expression.print(t);if(e.optional)t.print("?.");t.print("[");e.property.print(t);t.print("]")}));DEFPRINT(rt,(function(e,t){e.expression.print(t)}));DEFPRINT(st,(function(e,t){var n=e.operator;t.print(n);if(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof st&&/^[+-]/.test(e.expression.operator)){t.space()}e.expression.print(t)}));DEFPRINT(ot,(function(e,t){e.expression.print(t);t.print(e.operator)}));DEFPRINT(ct,(function(e,t){var n=e.operator;e.left.print(t);if(n[0]==">"&&e.left instanceof ot&&e.left.operator=="--"){t.print(" ")}else{t.space()}t.print(n);if((n=="<"||n=="<<")&&e.right instanceof st&&e.right.operator=="!"&&e.right.expression instanceof st&&e.right.expression.operator=="--"){t.print(" ")}else{t.space()}e.right.print(t)}));DEFPRINT(ut,(function(e,t){e.condition.print(t);t.space();t.print("?");t.space();e.consequent.print(t);t.space();t.colon();e.alternative.print(t)}));DEFPRINT(pt,(function(e,t){t.with_square((function(){var n=e.elements,r=n.length;if(r>0)t.space();n.forEach((function(e,n){if(n)t.comma();e.print(t);if(n===r-1&&e instanceof an)t.comma()}));if(r>0)t.space()}))}));DEFPRINT(ft,(function(e,t){if(e.properties.length>0)t.with_block((function(){e.properties.forEach((function(e,n){if(n){t.print(",");t.newline()}t.indent();e.print(t)}));t.newline()}));else print_braced_empty(e,t)}));DEFPRINT(kt,(function(e,t){t.print("class");t.space();if(e.name){e.name.print(t);t.space()}if(e.extends){var n=!(e.extends instanceof Ht)&&!(e.extends instanceof Ze)&&!(e.extends instanceof Ct)&&!(e.extends instanceof ye);t.print("extends");if(n){t.print("(")}else{t.space()}e.extends.print(t);if(n){t.print(")")}else{t.space()}}if(e.properties.length>0)t.with_block((function(){e.properties.forEach((function(e,n){if(n){t.newline()}t.indent();e.print(t)}));t.newline()}));else t.print("{}")}));DEFPRINT(Dt,(function(e,t){t.print("new.target")}));function print_property_name(e,t,n){if(n.option("quote_keys")){return n.print_string(e)}if(""+ +e==e&&e>=0){if(n.option("keep_numbers")){return n.print(e)}return n.print(make_num(e))}var r=p.has(e)?n.option("ie8"):n.option("ecma")<2015||n.option("safari10")?!is_basic_identifier_string(e):!is_identifier_string(e,true);if(r||t&&n.option("keep_quoted_props")){return n.print_string(e,t)}return n.print_name(e)}DEFPRINT(mt,(function(e,t){function get_name(e){var t=e.definition();return t?t.mangled_name||t.name:e.name}var n=t.option("shorthand");if(n&&e.value instanceof At&&is_identifier_string(e.key,t.option("ecma")>=2015||t.option("safari10"))&&get_name(e.value)===e.key&&!p.has(e.key)){print_property_name(e.key,e.quote,t)}else if(n&&e.value instanceof dt&&e.value.left instanceof At&&is_identifier_string(e.key,t.option("ecma")>=2015||t.option("safari10"))&&get_name(e.value.left)===e.key){print_property_name(e.key,e.quote,t);t.space();t.print("=");t.space();e.value.right.print(t)}else{if(!(e.key instanceof W)){print_property_name(e.key,e.quote,t)}else{t.with_square((function(){e.key.print(t)}))}t.colon();e.value.print(t)}}));DEFPRINT(wt,((e,t)=>{if(e.static){t.print("static");t.space()}t.print("#");print_property_name(e.key.name,e.quote,t);if(e.value){t.print("=");e.value.print(t)}t.semicolon()}));DEFPRINT(Et,((e,t)=>{if(e.static){t.print("static");t.space()}if(e.key instanceof Bt){print_property_name(e.key.name,e.quote,t)}else{t.print("[");e.key.print(t);t.print("]")}if(e.value){t.print("=");e.value.print(t)}t.semicolon()}));ht.DEFMETHOD("_print_getter_setter",(function(e,t,n){var r=this;if(r.static){n.print("static");n.space()}if(e){n.print(e);n.space()}if(r.key instanceof Nt){if(t)n.print("#");print_property_name(r.key.name,r.quote,n)}else{n.with_square((function(){r.key.print(n)}))}r.value._do_print(n,true)}));DEFPRINT(vt,(function(e,t){e._print_getter_setter("set",false,t)}));DEFPRINT(_t,(function(e,t){e._print_getter_setter("get",false,t)}));DEFPRINT(gt,(function(e,t){e._print_getter_setter("set",true,t)}));DEFPRINT(yt,(function(e,t){e._print_getter_setter("get",true,t)}));DEFPRINT(xt,(function(e,t){var n;if(e.is_generator&&e.async){n="async*"}else if(e.is_generator){n="*"}else if(e.async){n="async"}e._print_getter_setter(n,true,t)}));DEFPRINT(bt,(function(e,t){var n;if(e.is_generator&&e.async){n="async*"}else if(e.is_generator){n="*"}else if(e.async){n="async"}e._print_getter_setter(n,false,t)}));At.DEFMETHOD("_do_print",(function(e){var t=this.definition();e.print_name(t?t.mangled_name||t.name:this.name)}));DEFPRINT(At,(function(e,t){e._do_print(t)}));DEFPRINT(an,noop);DEFPRINT(Qt,(function(e,t){t.print("this")}));DEFPRINT(Xt,(function(e,t){t.print("super")}));DEFPRINT(Jt,(function(e,t){t.print(e.getValue())}));DEFPRINT(Yt,(function(e,t){t.print_string(e.getValue(),e.quote,t.in_directive)}));DEFPRINT(Zt,(function(e,t){if((t.option("keep_numbers")||t.use_asm)&&e.raw){t.print(e.raw)}else{t.print(make_num(e.getValue()))}}));DEFPRINT(en,(function(e,t){t.print(e.getValue()+"n")}));const e=/(<\s*\/\s*script)/i;const slash_script_replace=(e,t)=>t.replace("/","\\/");DEFPRINT(tn,(function(t,n){let{source:r,flags:i}=t.getValue();r=regexp_source_fix(r);i=i?sort_regexp_flags(i):"";r=r.replace(e,slash_script_replace);n.print(n.to_utf8(`/${r}/${i}`));const s=n.parent();if(s instanceof ct&&/^\w/.test(s.operator)&&s.left===t){n.print(" ")}}));function force_statement(e,t){if(t.option("braces")){make_block(e,t)}else{if(!e||e instanceof ee)t.force_semicolon();else e.print(t)}}function best_of(e){var t=e[0],n=t.length;for(var r=1;re===null&&t===null||e.TYPE===t.TYPE&&e.shallow_cmp(t);const equivalent_to=(e,t)=>{if(!shallow_cmp(e,t))return false;const n=[e];const r=[t];const i=n.push.bind(n);const s=r.push.bind(r);while(n.length&&r.length){const e=n.pop();const t=r.pop();if(!shallow_cmp(e,t))return false;e._children_backwards(i);t._children_backwards(s);if(n.length!==r.length){return false}}return n.length==0&&r.length==0};const mkshallow=e=>{const t=Object.keys(e).map((t=>{if(e[t]==="eq"){return`this.${t} === other.${t}`}else if(e[t]==="exist"){return`(this.${t} == null ? other.${t} == null : this.${t} === other.${t})`}else{throw new Error(`mkshallow: Unexpected instruction: ${e[t]}`)}})).join(" && ");return new Function("other","return "+t)};const pass_through=()=>true;W.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};K.prototype.shallow_cmp=pass_through;X.prototype.shallow_cmp=mkshallow({value:"eq"});J.prototype.shallow_cmp=pass_through;Y.prototype.shallow_cmp=pass_through;ee.prototype.shallow_cmp=pass_through;ne.prototype.shallow_cmp=mkshallow({"label.name":"eq"});se.prototype.shallow_cmp=pass_through;oe.prototype.shallow_cmp=pass_through;ae.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});ue.prototype.shallow_cmp=pass_through;le.prototype.shallow_cmp=pass_through;de.prototype.shallow_cmp=pass_through;fe.prototype.shallow_cmp=pass_through;he.prototype.shallow_cmp=pass_through;me.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});be.prototype.shallow_cmp=mkshallow({is_array:"eq"});xe.prototype.shallow_cmp=pass_through;ke.prototype.shallow_cmp=pass_through;Ee.prototype.shallow_cmp=mkshallow({value:"eq"});we.prototype.shallow_cmp=pass_through;De.prototype.shallow_cmp=pass_through;Pe.prototype.shallow_cmp=pass_through;Te.prototype.shallow_cmp=mkshallow({is_star:"eq"});Oe.prototype.shallow_cmp=mkshallow({alternative:"exist"});Re.prototype.shallow_cmp=pass_through;Fe.prototype.shallow_cmp=pass_through;Le.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});$e.prototype.shallow_cmp=mkshallow({argname:"exist"});je.prototype.shallow_cmp=pass_through;ze.prototype.shallow_cmp=pass_through;He.prototype.shallow_cmp=mkshallow({value:"exist"});We.prototype.shallow_cmp=pass_through;Ve.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});Ke.prototype.shallow_cmp=pass_through;Qe.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});Xe.prototype.shallow_cmp=pass_through;Ye.prototype.shallow_cmp=pass_through;Ze.prototype.shallow_cmp=pass_through;rt.prototype.shallow_cmp=pass_through;et.prototype.shallow_cmp=mkshallow({property:"eq"});it.prototype.shallow_cmp=mkshallow({operator:"eq"});ct.prototype.shallow_cmp=mkshallow({operator:"eq"});ut.prototype.shallow_cmp=pass_through;pt.prototype.shallow_cmp=pass_through;ft.prototype.shallow_cmp=pass_through;ht.prototype.shallow_cmp=pass_through;mt.prototype.shallow_cmp=mkshallow({key:"eq"});vt.prototype.shallow_cmp=mkshallow({static:"eq"});_t.prototype.shallow_cmp=mkshallow({static:"eq"});bt.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});kt.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Et.prototype.shallow_cmp=mkshallow({static:"eq"});At.prototype.shallow_cmp=mkshallow({name:"eq"});Dt.prototype.shallow_cmp=pass_through;Qt.prototype.shallow_cmp=pass_through;Xt.prototype.shallow_cmp=pass_through;Yt.prototype.shallow_cmp=mkshallow({value:"eq"});Zt.prototype.shallow_cmp=mkshallow({value:"eq"});en.prototype.shallow_cmp=mkshallow({value:"eq"});tn.prototype.shallow_cmp=function(e){return this.value.flags===e.value.flags&&this.value.source===e.value.source};nn.prototype.shallow_cmp=pass_through;const kn=1<<0;const En=1<<1;let wn=null;let Sn=null;class SymbolDef{constructor(e,t,n){this.name=t.name;this.orig=[t];this.init=n;this.eliminated=0;this.assignments=0;this.scope=e;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof W)return this.fixed;return this.fixed()}unmangleable(e){if(!e)e={};if(wn&&wn.has(this.id)&&keep_name(e.keep_fnames,this.orig[0].name))return true;return this.global&&!e.toplevel||this.export&kn||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof Lt||this.orig[0]instanceof Ft)&&keep_name(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Nt||(this.orig[0]instanceof jt||this.orig[0]instanceof $t)&&keep_name(e.keep_classnames,this.orig[0].name)}mangle(e){const t=e.cache&&e.cache.props;if(this.global&&t&&t.has(this.name)){this.mangled_name=t.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(e)){var n=this.scope;var r=this.orig[0];if(e.ie8&&r instanceof Lt)n=n.parent_scope;const i=redefined_catch_def(this);this.mangled_name=i?i.mangled_name||i.name:n.next_mangled(e,this);if(this.global&&t){t.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(e){if(e.orig[0]instanceof zt&&e.scope.is_block_scope()){return e.scope.get_defun_scope().variables.get(e.name)}}pe.DEFMETHOD("figure_out_scope",(function(e,{parent_scope:t=null,toplevel:n=this}={}){e=defaults(e,{cache:null,ie8:false,safari10:false});if(!(n instanceof fe)){throw new Error("Invalid toplevel scope")}var r=this.parent_scope=t;var i=new Map;var s=null;var a=null;var c=[];var u=new TreeWalker(((t,n)=>{if(t.is_block_scope()){const i=r;t.block_scope=r=new pe(t);r._block_scope=true;const s=t instanceof $e?i.parent_scope:i;r.init_scope_vars(s);r.uses_with=i.uses_with;r.uses_eval=i.uses_eval;if(e.safari10){if(t instanceof ae||t instanceof ue){c.push(r)}}if(t instanceof Re){const e=r;r=i;t.expression.walk(u);r=e;for(let e=0;e{if(e===t)return true;if(t instanceof Pt){return e instanceof Lt}return!(e instanceof Ot||e instanceof Tt)}))){js_error(`"${t.name}" is redeclared`,t.start.file,t.start.line,t.start.col,t.start.pos)}if(!(t instanceof Rt))mark_export(g,2);if(s!==r){t.mark_enclosed();var g=r.find_variable(t);if(t.thedef!==g){t.thedef=g;t.reference()}}}else if(t instanceof Kt){var y=i.get(t.name);if(!y)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=y}if(!(r instanceof fe)&&(t instanceof Qe||t instanceof Ve)){js_error(`"${t.TYPE}" statement may only appear at the top level`,t.start.file,t.start.line,t.start.col,t.start.pos)}}));this.walk(u);function mark_export(e,t){if(a){var n=0;do{t++}while(u.parent(n++)!==a)}var r=u.parent(t);if(e.export=r instanceof Qe?kn:0){var i=r.exported_definition;if((i instanceof _e||i instanceof St)&&r.is_default){e.export=En}}}const l=this instanceof fe;if(l){this.globals=new Map}var u=new TreeWalker((e=>{if(e instanceof De&&e.label){e.label.thedef.references.push(e);return true}if(e instanceof Ht){var t=e.name;if(t=="eval"&&u.parent()instanceof Xe){for(var r=e.scope;r&&!r.uses_eval;r=r.parent_scope){r.uses_eval=true}}var i;if(u.parent()instanceof We&&u.parent(1).module_name||!(i=e.scope.find_variable(t))){i=n.def_global(e);if(e instanceof Wt)i.export=kn}else if(i.scope instanceof me&&t=="arguments"){i.scope.uses_arguments=true}e.thedef=i;e.reference();if(e.scope.is_block_scope()&&!(i.orig[0]instanceof Pt)){e.scope=e.scope.get_defun_scope()}return true}var s;if(e instanceof zt&&(s=redefined_catch_def(e.definition()))){var r=e.scope;while(r){push_uniq(r.enclosed,s);if(r===s.scope)break;r=r.parent_scope}}}));this.walk(u);if(e.ie8||e.safari10){walk(this,(e=>{if(e instanceof zt){var t=e.name;var r=e.thedef.references;var i=e.scope.get_defun_scope();var s=i.find_variable(t)||n.globals.get(t)||i.def_variable(e);r.forEach((function(e){e.thedef=s;e.reference()}));e.thedef=s;e.reference();return true}}))}if(e.safari10){for(const e of c){e.parent_scope.variables.forEach((function(t){push_uniq(e.enclosed,t)}))}}}));fe.DEFMETHOD("def_global",(function(e){var t=this.globals,n=e.name;if(t.has(n)){return t.get(n)}else{var r=new SymbolDef(this,e);r.undeclared=true;r.global=true;t.set(n,r);return r}}));pe.DEFMETHOD("init_scope_vars",(function(e){this.variables=new Map;this.functions=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=e;this.enclosed=[];this.cname=-1}));pe.DEFMETHOD("conflicting_def",(function(e){return this.enclosed.find((t=>t.name===e))||this.variables.has(e)||this.parent_scope&&this.parent_scope.conflicting_def(e)}));pe.DEFMETHOD("conflicting_def_shallow",(function(e){return this.enclosed.find((t=>t.name===e))||this.variables.has(e)}));pe.DEFMETHOD("add_child_scope",(function(e){if(e.parent_scope===this)return;e.parent_scope=this;const t=(()=>{const e=[];let t=this;do{e.push(t)}while(t=t.parent_scope);e.reverse();return e})();const n=new Set(e.enclosed);const r=[];for(const e of t){r.forEach((t=>push_uniq(e.enclosed,t)));for(const t of e.variables.values()){if(n.has(t)){push_uniq(r,t);push_uniq(e.enclosed,t)}}}}));function find_scopes_visible_from(e){const t=new Set;for(const n of new Set(e)){(function bubble_up(e){if(e==null||t.has(e))return;t.add(e);bubble_up(e.parent_scope)})(n)}return[...t]}pe.DEFMETHOD("create_symbol",(function(e,{source:t,tentative_name:n,scope:r,conflict_scopes:i=[r],init:s=null}={}){let a;i=find_scopes_visible_from(i);if(n){n=a=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let e=0;while(i.find((e=>e.conflicting_def_shallow(a)))){a=n+"$"+e++}}if(!a){throw new Error("No symbol name could be generated in create_symbol()")}const c=make_node(e,t,{name:a,scope:r});this.def_variable(c,s||null);c.mark_enclosed();return c}));W.DEFMETHOD("is_block_scope",return_false);kt.DEFMETHOD("is_block_scope",return_false);me.DEFMETHOD("is_block_scope",return_false);fe.DEFMETHOD("is_block_scope",return_false);Fe.DEFMETHOD("is_block_scope",return_false);Y.DEFMETHOD("is_block_scope",return_true);pe.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));re.DEFMETHOD("is_block_scope",return_true);me.DEFMETHOD("init_scope_vars",(function(){pe.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Rt({name:"arguments",start:this.start,end:this.end}))}));ve.DEFMETHOD("init_scope_vars",(function(){pe.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));At.DEFMETHOD("mark_enclosed",(function(){var e=this.definition();var t=this.scope;while(t){push_uniq(t.enclosed,e);if(t===e.scope)break;t=t.parent_scope}}));At.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));pe.DEFMETHOD("find_variable",(function(e){if(e instanceof At)e=e.name;return this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}));pe.DEFMETHOD("def_function",(function(e,t){var n=this.def_variable(e,t);if(!n.init||n.init instanceof _e)n.init=t;this.functions.set(e.name,n);return n}));pe.DEFMETHOD("def_variable",(function(e,t){var n=this.variables.get(e.name);if(n){n.orig.push(e);if(n.init&&(n.scope!==e.scope||n.init instanceof ye)){n.init=t}}else{n=new SymbolDef(this,e,t);this.variables.set(e.name,n);n.global=!this.parent_scope}return e.thedef=n}));function next_mangled(e,t){var n=e.enclosed;e:while(true){var r=Cn(++e.cname);if(p.has(r))continue;if(t.reserved.has(r))continue;if(Sn&&Sn.has(r))continue e;for(let e=n.length;--e>=0;){const i=n[e];const s=i.mangled_name||i.unmangleable(t)&&i.name;if(r==s)continue e}return r}}pe.DEFMETHOD("next_mangled",(function(e){return next_mangled(this,e)}));fe.DEFMETHOD("next_mangled",(function(e){let t;const n=this.mangled_names;do{t=next_mangled(this,e)}while(n.has(t));return t}));ye.DEFMETHOD("next_mangled",(function(e,t){var n=t.orig[0]instanceof Rt&&this.name&&this.name.definition();var r=n?n.mangled_name||n.name:null;while(true){var i=next_mangled(this,e);if(!r||r!=i)return i}}));At.DEFMETHOD("unmangleable",(function(e){var t=this.definition();return!t||t.unmangleable(e)}));Gt.DEFMETHOD("unmangleable",return_false);At.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));At.DEFMETHOD("definition",(function(){return this.thedef}));At.DEFMETHOD("global",(function(){return this.thedef.global}));fe.DEFMETHOD("_default_mangler_options",(function(e){e=defaults(e,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(e.module)e.toplevel=true;if(!Array.isArray(e.reserved)&&!(e.reserved instanceof Set)){e.reserved=[]}e.reserved=new Set(e.reserved);e.reserved.add("arguments");return e}));fe.DEFMETHOD("mangle_names",(function(e){e=this._default_mangler_options(e);var t=-1;var n=[];if(e.keep_fnames){wn=new Set}const r=this.mangled_names=new Set;if(e.cache){this.globals.forEach(collect);if(e.cache.props){e.cache.props.forEach((function(e){r.add(e)}))}}var i=new TreeWalker((function(r,i){if(r instanceof ne){var s=t;i();t=s;return true}if(r instanceof pe){r.variables.forEach(collect);return}if(r.is_block_scope()){r.block_scope.variables.forEach(collect);return}if(wn&&r instanceof He&&r.value instanceof me&&!r.value.name&&keep_name(e.keep_fnames,r.name.name)){wn.add(r.name.definition().id);return}if(r instanceof Gt){let e;do{e=Cn(++t)}while(p.has(e));r.mangled_name=e;return true}if(!(e.ie8||e.safari10)&&r instanceof zt){n.push(r.definition());return}}));this.walk(i);if(e.keep_fnames||e.keep_classnames){Sn=new Set;n.forEach((t=>{if(t.name.length<6&&t.unmangleable(e)){Sn.add(t.name)}}))}n.forEach((t=>{t.mangle(e)}));wn=null;Sn=null;function collect(t){const r=!e.reserved.has(t.name)&&!(t.export&kn);if(r){n.push(t)}}}));fe.DEFMETHOD("find_colliding_names",(function(e){const t=e.cache&&e.cache.props;const n=new Set;e.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(e){if(e instanceof pe)e.variables.forEach(add_def);if(e instanceof zt)add_def(e.definition())})));return n;function to_avoid(e){n.add(e)}function add_def(n){var r=n.name;if(n.global&&t&&t.has(r))r=t.get(r);else if(!n.unmangleable(e))return;to_avoid(r)}}));fe.DEFMETHOD("expand_names",(function(e){Cn.reset();Cn.sort();e=this._default_mangler_options(e);var t=this.find_colliding_names(e);var n=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(e){if(e instanceof pe)e.variables.forEach(rename);if(e instanceof zt)rename(e.definition())})));function next_name(){var e;do{e=Cn(n++)}while(t.has(e)||p.has(e));return e}function rename(t){if(t.global&&e.cache)return;if(t.unmangleable(e))return;if(e.reserved.has(t.name))return;const n=redefined_catch_def(t);const r=t.name=n?n.name:next_name();t.orig.forEach((function(e){e.name=r}));t.references.forEach((function(e){e.name=r}))}}));W.DEFMETHOD("tail_node",return_this);Ye.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));fe.DEFMETHOD("compute_char_frequency",(function(e){e=this._default_mangler_options(e);try{W.prototype.print=function(t,n){this._print(t,n);if(this instanceof At&&!this.unmangleable(e)){Cn.consider(this.name,-1)}else if(e.properties){if(this instanceof tt){Cn.consider("#"+this.property,-1)}else if(this instanceof et){Cn.consider(this.property,-1)}else if(this instanceof nt){skip_string(this.property)}}};Cn.consider(this.print_to_string(),1)}finally{W.prototype.print=W.prototype._print}Cn.sort();function skip_string(e){if(e instanceof Yt){Cn.consider(e.value,-1)}else if(e instanceof ut){skip_string(e.consequent);skip_string(e.alternative)}else if(e instanceof Ye){skip_string(e.tail_node())}}}));const Cn=(()=>{const e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const t="0123456789".split("");let n;let r;function reset(){r=new Map;e.forEach((function(e){r.set(e,0)}));t.forEach((function(e){r.set(e,0)}))}base54.consider=function(e,t){for(var n=e.length;--n>=0;){r.set(e[n],r.get(e[n])+t)}};function compare(e,t){return r.get(t)-r.get(e)}base54.sort=function(){n=mergeSort(e,compare).concat(mergeSort(t,compare))};base54.reset=reset;reset();function base54(e){var t="",r=54;e++;do{e--;t+=n[e%r];e=Math.floor(e/r);r=64}while(e>0);return t}return base54})();let An=undefined;W.prototype.size=function(e,t){An=e&&e.mangle_options;let n=0;walk_parent(this,((e,t)=>{n+=e._size(t);if(e instanceof ve&&e.is_braceless()){n+=e.body[0].value._size(t);return true}}),t||e&&e.stack);An=undefined;return n};W.prototype._size=()=>0;K.prototype._size=()=>8;X.prototype._size=function(){return 2+this.value.length};const list_overhead=e=>e.length&&e.length-1;Y.prototype._size=function(){return 2+list_overhead(this.body)};fe.prototype._size=function(){return list_overhead(this.body)};ee.prototype._size=()=>1;ne.prototype._size=()=>2;se.prototype._size=()=>9;oe.prototype._size=()=>7;ae.prototype._size=()=>8;ue.prototype._size=()=>8;de.prototype._size=()=>6;he.prototype._size=()=>3;const lambda_modifiers=e=>(e.is_generator?1:0)+(e.async?6:0);ge.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};ye.prototype._size=function(e){const t=!!first_in_statement(e);return t*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};_e.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};ve.prototype._size=function(){let e=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof At)){e+=2}const t=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+e+t};be.prototype._size=()=>2;ke.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Ee.prototype._size=function(){return this.value.length};Ce.prototype._size=function(){return this.value?7:6};Ae.prototype._size=()=>6;Me.prototype._size=function(){return this.label?6:5};Ie.prototype._size=function(){return this.label?9:8};Oe.prototype._size=()=>4;Re.prototype._size=function(){return 8+list_overhead(this.body)};Be.prototype._size=function(){return 5+list_overhead(this.body)};Ne.prototype._size=function(){return 8+list_overhead(this.body)};Le.prototype._size=function(){return 3+list_overhead(this.body)};$e.prototype._size=function(){let e=7+list_overhead(this.body);if(this.argname){e+=2}return e};je.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(e,t)=>e+list_overhead(t.definitions);Ue.prototype._size=function(){return def_size(4,this)};qe.prototype._size=function(){return def_size(4,this)};Ge.prototype._size=function(){return def_size(6,this)};He.prototype._size=function(){return this.value?1:0};We.prototype._size=function(){return this.name?4:0};Ve.prototype._size=function(){let e=6;if(this.imported_name)e+=1;if(this.imported_name||this.imported_names)e+=5;if(this.imported_names){e+=2+list_overhead(this.imported_names)}return e};Ke.prototype._size=()=>11;Qe.prototype._size=function(){let e=7+(this.is_default?8:0);if(this.exported_value){e+=this.exported_value._size()}if(this.exported_names){e+=2+list_overhead(this.exported_names)}if(this.module_name){e+=5}return e};Xe.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};Je.prototype._size=function(){return 6+list_overhead(this.args)};Ye.prototype._size=function(){return list_overhead(this.expressions)};et.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};tt.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};nt.prototype._size=function(){return this.optional?4:2};it.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};ct.prototype._size=function(e){if(this.operator==="in")return 4;let t=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof it&&this.right.operator===this.operator){t+=1}if(this.needs_parens(e)){t+=2}return t};ut.prototype._size=()=>3;pt.prototype._size=function(){return 2+list_overhead(this.elements)};ft.prototype._size=function(e){let t=2;if(first_in_statement(e)){t+=2}return t+list_overhead(this.properties)};const key_size=e=>typeof e==="string"?e.length:0;mt.prototype._size=function(){return key_size(this.key)+1};const static_size=e=>e?7:0;_t.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};vt.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};bt.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};xt.prototype._size=function(){return bt.prototype._size.call(this)+1};yt.prototype._size=gt.prototype._size=function(){return bt.prototype._size.call(this)+4};kt.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Et.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};wt.prototype._size=function(){return Et.prototype._size.call(this)+1};At.prototype._size=function(){return!An||this.definition().unmangleable(An)?this.name.length:1};Bt.prototype._size=function(){return this.name.length};Ht.prototype._size=Mt.prototype._size=function(){const{name:e,thedef:t}=this;if(t&&t.global)return e.length;if(e==="arguments")return 9;return At.prototype._size.call(this)};Dt.prototype._size=()=>10;qt.prototype._size=function(){return this.name.length};Vt.prototype._size=function(){return this.name.length};Qt.prototype._size=()=>4;Xt.prototype._size=()=>5;Yt.prototype._size=function(){return this.value.length+2};Zt.prototype._size=function(){const{value:e}=this;if(e===0)return 1;if(e>0&&Math.floor(e)===e){return Math.floor(Math.log10(e)+1)}return e.toString().length};en.prototype._size=function(){return this.value.length};tn.prototype._size=function(){return this.value.toString().length};rn.prototype._size=()=>4;sn.prototype._size=()=>3;on.prototype._size=()=>6;an.prototype._size=()=>0;cn.prototype._size=()=>8;dn.prototype._size=()=>4;ln.prototype._size=()=>5;Pe.prototype._size=()=>6;Te.prototype._size=()=>6;const Dn=1;const Mn=2;const In=4;const Pn=8;const Tn=16;const On=32;const Rn=256;const Fn=512;const Nn=1024;const Bn=Rn|Fn|Nn;const has_flag=(e,t)=>e.flags&t;const set_flag=(e,t)=>{e.flags|=t};const clear_flag=(e,t)=>{e.flags&=~t};class Compressor extends TreeWalker{constructor(e,{false_by_default:t=false,mangle_options:n=false}){super();if(e.defaults!==undefined&&!e.defaults)t=true;this.options=defaults(e,{arguments:false,arrows:!t,booleans:!t,booleans_as_integers:false,collapse_vars:!t,comparisons:!t,computed_props:!t,conditionals:!t,dead_code:!t,defaults:true,directives:!t,drop_console:false,drop_debugger:!t,ecma:5,evaluate:!t,expression:false,global_defs:false,hoist_funs:false,hoist_props:!t,hoist_vars:false,ie8:false,if_return:!t,inline:!t,join_vars:!t,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!t,module:false,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,reduce_funcs:null,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!!(e&&e["top_retain"]),typeofs:!t,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!t,warnings:false},true);var r=this.options["global_defs"];if(typeof r=="object")for(var i in r){if(i[0]==="@"&&HOP(r,i)){r[i.slice(1)]=parse(r[i],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var s=this.options["pure_funcs"];if(typeof s=="function"){this.pure_funcs=s}else{this.pure_funcs=s?function(e){return!s.includes(e.expression.print_to_string())}:return_true}var a=this.options["top_retain"];if(a instanceof RegExp){this.top_retain=function(e){return a.test(e.name)}}else if(typeof a=="function"){this.top_retain=a}else if(a){if(typeof a=="string"){a=a.split(/,/)}this.top_retain=function(e){return a.includes(e.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var c=this.options["toplevel"];this.toplevel=typeof c=="string"?{funcs:/funcs/.test(c),vars:/vars/.test(c)}:{funcs:c,vars:c};var u=this.options["sequences"];this.sequences_limit=u==1?800:u|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=n}option(e){return this.options[e]}exposed(e){if(e.export)return true;if(e.global)for(var t=0,n=e.orig.length;t0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(t>1){let e=0;walk(this._toplevel,(()=>{e++}));if(e=0){i.body[a]=i.body[a].transform(r)}}else if(i instanceof Oe){i.body=i.body.transform(r);if(i.alternative){i.alternative=i.alternative.transform(r)}}else if(i instanceof de){i.body=i.body.transform(r)}return i}));n.transform(r)}));function read_property(e,t){t=get_value(t);if(t instanceof W)return;var n;if(e instanceof pt){var r=e.elements;if(t=="length")return make_node_from_constant(r.length,e);if(typeof t=="number"&&t in r)n=r[t]}else if(e instanceof ft){t=""+t;var i=e.properties;for(var s=i.length;--s>=0;){var a=i[s];if(!(a instanceof mt))return;if(!n&&i[s].key===t)n=i[s].value}}return n instanceof Ht&&n.fixed_value()||n}function is_modified(e,t,n,r,i,s){var a=t.parent(i);var c=is_lhs(n,a);if(c)return c;if(!s&&a instanceof Xe&&a.expression===n&&!(r instanceof ve)&&!(r instanceof kt)&&!a.is_expr_pure(e)&&(!(r instanceof ye)||!(a instanceof Je)&&r.contains_this())){return true}if(a instanceof pt){return is_modified(e,t,a,a,i+1)}if(a instanceof mt&&n===a.value){var u=t.parent(i+1);return is_modified(e,t,u,u,i+2)}if(a instanceof Ze&&a.expression===n){var l=read_property(r,a.property);return!s&&is_modified(e,t,a,l,i+1)}}(function(e){e(W,noop);function reset_def(e,t){t.assignments=0;t.chained=false;t.direct_access=false;t.escaped=0;t.recursive_refs=0;t.references=[];t.single_use=undefined;if(t.scope.pinned()){t.fixed=false}else if(t.orig[0]instanceof Tt||!e.exposed(t)){t.fixed=t.init}else{t.fixed=false}}function reset_variables(e,t,n){n.variables.forEach((function(n){reset_def(t,n);if(n.fixed===null){e.defs_to_safe_ids.set(n.id,e.safe_ids);mark(e,n,true)}else if(n.fixed){e.loop_ids.set(n.id,e.in_loop);mark(e,n,true)}}))}function reset_block_variables(e,t){if(t.block_scope)t.block_scope.variables.forEach((t=>{reset_def(e,t)}))}function push(e){e.safe_ids=Object.create(e.safe_ids)}function pop(e){e.safe_ids=Object.getPrototypeOf(e.safe_ids)}function mark(e,t,n){e.safe_ids[t.id]=n}function safe_to_read(e,t){if(t.single_use=="m")return false;if(e.safe_ids[t.id]){if(t.fixed==null){var n=t.orig[0];if(n instanceof Rt||n.name=="arguments")return false;t.fixed=make_node(on,n)}return true}return t.fixed instanceof _e}function safe_to_assign(e,t,n,r){if(t.fixed===undefined)return true;let i;if(t.fixed===null&&(i=e.defs_to_safe_ids.get(t.id))){i[t.id]=false;e.defs_to_safe_ids.delete(t.id);return true}if(!HOP(e.safe_ids,t.id))return false;if(!safe_to_read(e,t))return false;if(t.fixed===false)return false;if(t.fixed!=null&&(!r||t.references.length>t.assignments))return false;if(t.fixed instanceof _e){return r instanceof W&&t.fixed.parent_scope===n}return t.orig.every((e=>!(e instanceof Tt||e instanceof Ft||e instanceof Lt)))}function ref_once(e,t,n){return t.option("unused")&&!n.scope.pinned()&&n.references.length-n.recursive_refs==1&&e.loop_ids.get(n.id)===e.in_loop}function is_immutable(e){if(!e)return false;return e.is_constant()||e instanceof me||e instanceof Qt}function mark_escaped(e,t,n,r,i,s=0,a=1){var c=e.parent(s);if(i){if(i.is_constant())return;if(i instanceof Ct)return}if(c instanceof lt&&(c.operator==="="||c.logical)&&r===c.right||c instanceof Xe&&(r!==c.expression||c instanceof Je)||c instanceof Se&&r===c.value&&r.scope!==t.scope||c instanceof He&&r===c.value||c instanceof Te&&r===c.value&&r.scope!==t.scope){if(a>1&&!(i&&i.is_constant_expression(n)))a=1;if(!t.escaped||t.escaped>a)t.escaped=a;return}else if(c instanceof pt||c instanceof Pe||c instanceof ct&&jn.has(c.operator)||c instanceof ut&&r!==c.condition||c instanceof he||c instanceof Ye&&r===c.tail_node()){mark_escaped(e,t,n,c,c,s+1,a)}else if(c instanceof mt&&r===c.value){var u=e.parent(s+1);mark_escaped(e,t,n,u,u,s+2,a)}else if(c instanceof Ze&&r===c.expression){i=read_property(i,c.property);mark_escaped(e,t,n,c,i,s+1,a+1);if(i)return}if(s>0)return;if(c instanceof Ye&&r!==c.tail_node())return;if(c instanceof J)return;t.direct_access=true}const suppress=e=>walk(e,(e=>{if(!(e instanceof At))return;var t=e.definition();if(!t)return;if(e instanceof Ht)t.references.push(e);t.fixed=false}));e(ge,(function(e,t,n){push(e);reset_variables(e,n,this);t();pop(e);return true}));e(lt,(function(e,t,n){var r=this;if(r.left instanceof be){suppress(r.left);return}const finish_walk=()=>{if(r.logical){r.left.walk(e);push(e);r.right.walk(e);pop(e);return true}};var i=r.left;if(!(i instanceof Ht))return finish_walk();var s=i.definition();var a=safe_to_assign(e,s,i.scope,r.right);s.assignments++;if(!a)return finish_walk();var c=s.fixed;if(!c&&r.operator!="="&&!r.logical)return finish_walk();var u=r.operator=="=";var l=u?r.right:r;if(is_modified(n,e,r,l,0))return finish_walk();s.references.push(i);if(!r.logical){if(!u)s.chained=true;s.fixed=u?function(){return r.right}:function(){return make_node(ct,r,{operator:r.operator.slice(0,-1),left:c instanceof W?c:c(),right:r.right})}}if(r.logical){mark(e,s,false);push(e);r.right.walk(e);pop(e);return true}mark(e,s,false);r.right.walk(e);mark(e,s,true);mark_escaped(e,s,i.scope,r,l,0,1);return true}));e(ct,(function(e){if(!jn.has(this.operator))return;this.left.walk(e);push(e);this.right.walk(e);pop(e);return true}));e(Y,(function(e,t,n){reset_block_variables(n,this)}));e(Be,(function(e){push(e);this.expression.walk(e);pop(e);push(e);walk_body(this,e);pop(e);return true}));e(kt,(function(e,t){clear_flag(this,Tn);push(e);t();pop(e);return true}));e(ut,(function(e){this.condition.walk(e);push(e);this.consequent.walk(e);pop(e);push(e);this.alternative.walk(e);pop(e);return true}));e(rt,(function(e,t){const n=e.safe_ids;t();e.safe_ids=n;return true}));e(Xe,(function(e){this.expression.walk(e);if(this.optional){push(e)}for(const t of this.args)t.walk(e);return true}));e(Ze,(function(e){if(!this.optional)return;this.expression.walk(e);push(e);if(this.property instanceof W)this.property.walk(e);return true}));e(Ne,(function(e,t){push(e);t();pop(e);return true}));function mark_lambda(e,t,n){clear_flag(this,Tn);push(e);reset_variables(e,n,this);if(this.uses_arguments){t();pop(e);return}var r;if(!this.name&&(r=e.parent())instanceof Xe&&r.expression===this&&!r.args.some((e=>e instanceof he))&&this.argnames.every((e=>e instanceof At))){this.argnames.forEach(((t,n)=>{if(!t.definition)return;var i=t.definition();if(i.orig.length>1)return;if(i.fixed===undefined&&(!this.uses_arguments||e.has_directive("use strict"))){i.fixed=function(){return r.args[n]||make_node(on,r)};e.loop_ids.set(i.id,e.in_loop);mark(e,i,true)}else{i.fixed=false}}))}t();pop(e);return true}e(me,mark_lambda);e(se,(function(e,t,n){reset_block_variables(n,this);const r=e.in_loop;e.in_loop=this;push(e);this.body.walk(e);if(has_break_or_continue(this)){pop(e);push(e)}this.condition.walk(e);pop(e);e.in_loop=r;return true}));e(ae,(function(e,t,n){reset_block_variables(n,this);if(this.init)this.init.walk(e);const r=e.in_loop;e.in_loop=this;push(e);if(this.condition)this.condition.walk(e);this.body.walk(e);if(this.step){if(has_break_or_continue(this)){pop(e);push(e)}this.step.walk(e)}pop(e);e.in_loop=r;return true}));e(ue,(function(e,t,n){reset_block_variables(n,this);suppress(this.init);this.object.walk(e);const r=e.in_loop;e.in_loop=this;push(e);this.body.walk(e);pop(e);e.in_loop=r;return true}));e(Oe,(function(e){this.condition.walk(e);push(e);this.body.walk(e);pop(e);if(this.alternative){push(e);this.alternative.walk(e);pop(e)}return true}));e(ne,(function(e){push(e);this.body.walk(e);pop(e);return true}));e(zt,(function(){this.definition().fixed=false}));e(Ht,(function(e,t,n){var r=this.definition();r.references.push(this);if(r.references.length==1&&!r.fixed&&r.orig[0]instanceof Ft){e.loop_ids.set(r.id,e.in_loop)}var i;if(r.fixed===undefined||!safe_to_read(e,r)){r.fixed=false}else if(r.fixed){i=this.fixed_value();if(i instanceof me&&recursive_ref(e,r)){r.recursive_refs++}else if(i&&!n.exposed(r)&&ref_once(e,n,r)){r.single_use=i instanceof me&&!i.pinned()||i instanceof kt||r.scope===this.scope&&i.is_constant_expression()}else{r.single_use=false}if(is_modified(n,e,this,i,0,is_immutable(i))){if(r.single_use){r.single_use="m"}else{r.fixed=false}}}mark_escaped(e,r,this.scope,this,i,0,1)}));e(fe,(function(e,t,n){this.globals.forEach((function(e){reset_def(n,e)}));reset_variables(e,n,this)}));e(Le,(function(e,t,n){reset_block_variables(n,this);push(e);walk_body(this,e);pop(e);if(this.bcatch){push(e);this.bcatch.walk(e);pop(e)}if(this.bfinally)this.bfinally.walk(e);return true}));e(it,(function(e){var t=this;if(t.operator!=="++"&&t.operator!=="--")return;var n=t.expression;if(!(n instanceof Ht))return;var r=n.definition();var i=safe_to_assign(e,r,n.scope,true);r.assignments++;if(!i)return;var s=r.fixed;if(!s)return;r.references.push(n);r.chained=true;r.fixed=function(){return make_node(ct,t,{operator:t.operator.slice(0,-1),left:make_node(st,t,{operator:"+",expression:s instanceof W?s:s()}),right:make_node(Zt,t,{value:1})})};mark(e,r,true);return true}));e(He,(function(e,t){var n=this;if(n.name instanceof be){suppress(n.name);return}var r=n.name.definition();if(n.value){if(safe_to_assign(e,r,n.name.scope,n.value)){r.fixed=function(){return n.value};e.loop_ids.set(r.id,e.in_loop);mark(e,r,false);t();mark(e,r,true);return true}else{r.fixed=false}}}));e(oe,(function(e,t,n){reset_block_variables(n,this);const r=e.in_loop;e.in_loop=this;push(e);t();pop(e);e.in_loop=r;return true}))})((function(e,t){e.DEFMETHOD("reduce_vars",t)}));fe.DEFMETHOD("reset_opt_flags",(function(e){const t=this;const n=e.option("reduce_vars");const r=new TreeWalker((function(i,s){clear_flag(i,Bn);if(n){if(e.top_retain&&i instanceof _e&&r.parent()===t){set_flag(i,Nn)}return i.reduce_vars(r,s,e)}}));r.safe_ids=Object.create(null);r.in_loop=null;r.loop_ids=new Map;r.defs_to_safe_ids=new Map;t.walk(r)}));At.DEFMETHOD("fixed_value",(function(){var e=this.thedef.fixed;if(!e||e instanceof W)return e;return e()}));Ht.DEFMETHOD("is_immutable",(function(){var e=this.definition().orig;return e.length==1&&e[0]instanceof Lt}));function is_func_expr(e){return e instanceof ve||e instanceof ye}function is_lhs_read_only(e){if(e instanceof Qt)return true;if(e instanceof Ht)return e.definition().orig[0]instanceof Lt;if(e instanceof Ze){e=e.expression;if(e instanceof Ht){if(e.is_immutable())return false;e=e.fixed_value()}if(!e)return true;if(e instanceof tn)return false;if(e instanceof Jt)return true;return is_lhs_read_only(e)}return false}function is_ref_of(e,t){if(!(e instanceof Ht))return false;var n=e.definition().orig;for(var r=n.length;--r>=0;){if(n[r]instanceof t)return true}}function find_scope(e){for(let t=0;;t++){const n=e.parent(t);if(n instanceof fe)return n;if(n instanceof me)return n;if(n.block_scope)return n.block_scope}}function find_variable(e,t){var n,r=0;while(n=e.parent(r++)){if(n instanceof pe)break;if(n instanceof $e&&n.argname){n=n.argname.definition().scope;break}}return n.find_variable(t)}function make_sequence(e,t){if(t.length==1)return t[0];if(t.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(Ye,e,{expressions:t.reduce(merge_sequence,[])})}function make_node_from_constant(e,t){switch(typeof e){case"string":return make_node(Yt,t,{value:e});case"number":if(isNaN(e))return make_node(sn,t);if(isFinite(e)){return 1/e<0?make_node(st,t,{operator:"-",expression:make_node(Zt,t,{value:-e})}):make_node(Zt,t,{value:e})}return e<0?make_node(st,t,{operator:"-",expression:make_node(cn,t)}):make_node(cn,t);case"boolean":return make_node(e?dn:ln,t);case"undefined":return make_node(on,t);default:if(e===null){return make_node(rn,t,{value:null})}if(e instanceof RegExp){return make_node(tn,t,{value:{source:regexp_source_fix(e.source),flags:e.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof e}))}}function maintain_this_binding(e,t,n){if(e instanceof st&&e.operator=="delete"||e instanceof Xe&&e.expression===t&&(n instanceof Ze||n instanceof Ht&&n.name=="eval")){return make_sequence(t,[make_node(Zt,t,{value:0}),n])}return n}function merge_sequence(e,t){if(t instanceof Ye){e.push(...t.expressions)}else{e.push(t)}return e}function as_statement_array(e){if(e===null)return[];if(e instanceof Z)return e.body;if(e instanceof ee)return[];if(e instanceof V)return[e];throw new Error("Can't convert thing to statement array")}function is_empty(e){if(e===null)return true;if(e instanceof ee)return true;if(e instanceof Z)return e.body.length==0;return false}function can_be_evicted_from_block(e){return!(e instanceof St||e instanceof _e||e instanceof qe||e instanceof Ge||e instanceof Qe||e instanceof Ve)}function loop_body(e){if(e instanceof re){return e.body instanceof Z?e.body:e}return e}function is_iife_call(e){if(e.TYPE!="Call")return false;return e.expression instanceof ye||is_iife_call(e.expression)}function is_undeclared_ref(e){return e instanceof Ht&&e.definition().undeclared}var Ln=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");Ht.DEFMETHOD("is_declared",(function(e){return!this.definition().undeclared||e.option("unsafe")&&Ln.has(this.name)}));var $n=makePredicate("Infinity NaN undefined");function is_identifier_atom(e){return e instanceof cn||e instanceof sn||e instanceof on}function tighten_body(e,t){var n,r;var s=t.find_parent(pe).get_defun_scope();find_loop_scope_try();var a,c=10;do{a=false;eliminate_spurious_blocks(e);if(t.option("dead_code")){eliminate_dead_code(e,t)}if(t.option("if_return")){handle_if_return(e,t)}if(t.sequences_limit>0){sequencesize(e,t);sequencesize_2(e,t)}if(t.option("join_vars")){join_consecutive_vars(e)}if(t.option("collapse_vars")){collapse(e,t)}}while(a&&c-- >0);function find_loop_scope_try(){var e=t.self(),i=0;do{if(e instanceof $e||e instanceof je){i++}else if(e instanceof re){n=true}else if(e instanceof pe){s=e;break}else if(e instanceof Le){r=true}}while(e=t.parent(i++))}function collapse(e,t){if(s.pinned())return e;var c;var u=[];var l=e.length;var d=new TreeTransformer((function(e){if(P)return e;if(!I){if(e!==h[m])return e;m++;if(m1)||e instanceof re&&!(e instanceof ae)||e instanceof De||e instanceof Le||e instanceof de||e instanceof Te||e instanceof Qe||e instanceof kt||n instanceof ae&&e!==n.init||!S&&(e instanceof Ht&&!e.is_declared(t)&&!Wn.has(e))||e instanceof Ht&&n instanceof Xe&&has_annotation(n,gn)){P=true;return e}if(!b&&(!E||!S)&&(n instanceof ct&&jn.has(n.operator)&&n.left!==e||n instanceof ut&&n.condition!==e||n instanceof Oe&&n.condition!==e)){b=n}if(O&&!(e instanceof Mt)&&x.equivalent_to(e)){if(b){P=true;return e}if(is_lhs(e,n)){if(y)T++;return e}else{T++;if(y&&g instanceof He)return e}a=P=true;if(g instanceof ot){return make_node(st,g,g)}if(g instanceof He){var i=g.name.definition();var s=g.value;if(i.references.length-i.replaced==1&&!t.exposed(i)){i.replaced++;if(M&&is_identifier_atom(s)){return s.transform(t)}else{return maintain_this_binding(n,e,s)}}return make_node(lt,g,{operator:"=",logical:false,left:make_node(Ht,g.name,g.name),right:s})}clear_flag(g,On);return g}var c;if(e instanceof Xe||e instanceof Se&&(w||x instanceof Ze||may_modify(x))||e instanceof Ze&&(w||e.expression.may_throw_on_access(t))||e instanceof Ht&&(k.get(e.name)||w&&may_modify(e))||e instanceof He&&e.value&&(k.has(e.name.name)||w&&may_modify(e.name))||(c=is_lhs(e.left,e))&&(c instanceof Ze||k.has(c.name))||C&&(r?e.has_side_effects(t):side_effects_external(e))){_=e;if(e instanceof pe)P=true}return handle_custom_scan_order(e)}),(function(e){if(P)return;if(_===e)P=true;if(b===e)b=null}));var p=new TreeTransformer((function(e){if(P)return e;if(!I){if(e!==h[m])return e;m++;if(m=0){if(l==0&&t.option("unused"))extract_args();var h=[];extract_candidates(e[l]);while(u.length>0){h=u.pop();var m=0;var g=h[h.length-1];var y=null;var _=null;var b=null;var x=get_lhs(g);if(!x||is_lhs_read_only(x)||x.has_side_effects(t))continue;var k=get_lvalues(g);var E=is_lhs_local(x);if(x instanceof Ht)k.set(x.name,false);var w=value_has_side_effects(g);var S=replace_all_symbols();var C=g.may_throw(t);var M=g.name instanceof Rt;var I=M;var P=false,T=0,O=!c||!I;if(!O){for(var R=t.self().argnames.lastIndexOf(g.name)+1;!P&&RT)T=false;else{P=false;m=0;I=M;for(var N=l;!P&&N!(e instanceof he)))){var r=t.has_directive("use strict");if(r&&!member(r,n.body))r=false;var i=n.argnames.length;c=e.args.slice(i);var s=new Set;for(var a=i;--a>=0;){var l=n.argnames[a];var d=e.args[a];const i=l.definition&&l.definition();const h=i&&i.orig.length>1;if(h)continue;c.unshift(make_node(He,l,{name:l,value:d}));if(s.has(l.name))continue;s.add(l.name);if(l instanceof he){var p=e.args.slice(a);if(p.every((e=>!has_overlapping_symbol(n,e,r)))){u.unshift([make_node(He,l,{name:l.expression,value:make_node(pt,e,{elements:p})})])}}else{if(!d){d=make_node(on,l).transform(t)}else if(d instanceof me&&d.pinned()||has_overlapping_symbol(n,d,r)){d=null}if(d)u.unshift([make_node(He,l,{name:l,value:d})])}}}}function extract_candidates(e){h.push(e);if(e instanceof lt){if(!e.left.has_side_effects(t)){u.push(h.slice())}extract_candidates(e.right)}else if(e instanceof ct){extract_candidates(e.left);extract_candidates(e.right)}else if(e instanceof Xe&&!has_annotation(e,gn)){extract_candidates(e.expression);e.args.forEach(extract_candidates)}else if(e instanceof Be){extract_candidates(e.expression)}else if(e instanceof ut){extract_candidates(e.condition);extract_candidates(e.consequent);extract_candidates(e.alternative)}else if(e instanceof ze){var n=e.definitions.length;var r=n-200;if(r<0)r=0;for(;r1&&!(e.name instanceof Rt)||(r>1?mangleable_var(e):!t.exposed(n))){return make_node(Ht,e.name,e.name)}}else{const t=e instanceof lt?e.left:e.expression;return!is_ref_of(t,Tt)&&!is_ref_of(t,Ot)&&t}}function get_rvalue(e){if(e instanceof lt){return e.right}else{return e.value}}function get_lvalues(e){var n=new Map;if(e instanceof it)return n;var r=new TreeWalker((function(e){var i=e;while(i instanceof Ze)i=i.expression;if(i instanceof Ht||i instanceof Qt){n.set(i.name,n.get(i.name)||is_modified(t,r,e,e,0))}}));get_rvalue(e).walk(r);return n}function remove_candidate(n){if(n.name instanceof Rt){var r=t.parent(),s=t.self().argnames;var a=s.indexOf(n.name);if(a<0){r.args.length=Math.min(r.args.length,s.length-1)}else{var c=r.args;if(c[a])c[a]=make_node(Zt,c[a],{value:0})}return true}var u=false;return e[l].transform(new TreeTransformer((function(e,t,r){if(u)return e;if(e===n||e.body===n){u=true;if(e instanceof He){e.value=e.name instanceof Tt?make_node(on,e.value):null;return e}return r?i.skip:null}}),(function(e){if(e instanceof Ye)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}})))}function is_lhs_local(e){while(e instanceof Ze)e=e.expression;return e instanceof Ht&&e.definition().scope===s&&!(n&&(k.has(e.name)||g instanceof it||g instanceof lt&&!g.logical&&g.operator!="="))}function value_has_side_effects(e){if(e instanceof it)return zn.has(e.operator);return get_rvalue(e).has_side_effects(t)}function replace_all_symbols(){if(w)return false;if(y)return true;if(x instanceof Ht){var e=x.definition();if(e.references.length-e.replaced==(g instanceof He?1:2)){return true}}return false}function may_modify(e){if(!e.definition)return true;var t=e.definition();if(t.orig.length==1&&t.orig[0]instanceof Ft)return false;if(t.scope.get_defun_scope()!==s)return true;return!t.references.every((e=>{var t=e.scope.get_defun_scope();if(t.TYPE=="Scope")t=t.parent_scope;return t===s}))}function side_effects_external(e,t){if(e instanceof lt)return side_effects_external(e.left,true);if(e instanceof it)return side_effects_external(e.expression,true);if(e instanceof He)return e.value&&side_effects_external(e.value);if(t){if(e instanceof et)return side_effects_external(e.expression,true);if(e instanceof nt)return side_effects_external(e.expression,true);if(e instanceof Ht)return e.definition().scope!==s}return false}}function eliminate_spurious_blocks(e){var t=[];for(var n=0;n=0;){var c=e[s];var u=next_index(s);var l=e[u];if(i&&!l&&c instanceof Ce){if(!c.value){a=true;e.splice(s,1);continue}if(c.value instanceof st&&c.value.operator=="void"){a=true;e[s]=make_node(J,c,{body:c.value.expression});continue}}if(c instanceof Oe){var d=aborts(c.body);if(can_merge_flow(d)){if(d.label){remove(d.label.thedef.references,d)}a=true;c=c.clone();c.condition=c.condition.negate(t);var p=as_statement_array_with_return(c.body,d);c.body=make_node(Z,c,{body:as_statement_array(c.alternative).concat(extract_functions())});c.alternative=make_node(Z,c,{body:p});e[s]=c.transform(t);continue}var d=aborts(c.alternative);if(can_merge_flow(d)){if(d.label){remove(d.label.thedef.references,d)}a=true;c=c.clone();c.body=make_node(Z,c.body,{body:as_statement_array(c.body).concat(extract_functions())});var p=as_statement_array_with_return(c.alternative,d);c.alternative=make_node(Z,c.alternative,{body:p});e[s]=c.transform(t);continue}}if(c instanceof Oe&&c.body instanceof Ce){var h=c.body.value;if(!h&&!c.alternative&&(i&&!l||l instanceof Ce&&!l.value)){a=true;e[s]=make_node(J,c.condition,{body:c.condition});continue}if(h&&!c.alternative&&l instanceof Ce&&l.value){a=true;c=c.clone();c.alternative=l;e[s]=c.transform(t);e.splice(u,1);continue}if(h&&!c.alternative&&(!l&&i&&r||l instanceof Ce)){a=true;c=c.clone();c.alternative=l||make_node(Ce,c,{value:null});e[s]=c.transform(t);if(l)e.splice(u,1);continue}var m=e[prev_index(s)];if(t.option("sequences")&&i&&!c.alternative&&m instanceof Oe&&m.body instanceof Ce&&next_index(u)==e.length&&l instanceof J){a=true;c=c.clone();c.alternative=make_node(Z,l,{body:[l,make_node(Ce,l,{value:null})]});e[s]=c.transform(t);e.splice(u,1);continue}}}function has_multiple_if_returns(e){var t=0;for(var n=e.length;--n>=0;){var r=e[n];if(r instanceof Oe&&r.body instanceof Ce){if(++t>1)return true}}return false}function is_return_void(e){return!e||e instanceof st&&e.operator=="void"}function can_merge_flow(r){if(!r)return false;for(var a=s+1,c=e.length;a=0;){var r=e[n];if(!(r instanceof Ue&&declarations_only(r))){break}}return n}}function eliminate_dead_code(e,t){var n;var r=t.self();for(var i=0,s=0,c=e.length;i!e.value))}function sequencesize(e,t){if(e.length<2)return;var n=[],r=0;function push_seq(){if(!n.length)return;var t=make_sequence(n[0],n);e[r++]=make_node(J,t,{body:t});n=[]}for(var i=0,s=e.length;i=t.sequences_limit)push_seq();var u=c.body;if(n.length>0)u=u.drop_side_effect_free(t);if(u)merge_sequence(n,u)}else if(c instanceof ze&&declarations_only(c)||c instanceof _e){e[r++]=c}else{push_seq();e[r++]=c}}push_seq();e.length=r;if(r!=s)a=true}function to_simple_statement(e,t){if(!(e instanceof Z))return e;var n=null;for(var r=0,i=e.body.length;r{if(e instanceof pe)return true;if(e instanceof ct&&e.operator==="in"){return pn}}));if(!e){if(s.init)s.init=cons_seq(s.init);else{s.init=r.body;n--;a=true}}}}else if(s instanceof ue){if(!(s.init instanceof Ge)&&!(s.init instanceof qe)){s.object=cons_seq(s.object)}}else if(s instanceof Oe){s.condition=cons_seq(s.condition)}else if(s instanceof Re){s.expression=cons_seq(s.expression)}else if(s instanceof de){s.expression=cons_seq(s.expression)}}if(t.option("conditionals")&&s instanceof Oe){var c=[];var u=to_simple_statement(s.body,c);var l=to_simple_statement(s.alternative,c);if(u!==false&&l!==false&&c.length>0){var d=c.length;c.push(make_node(Oe,s,{condition:s.condition,body:u||make_node(ee,s.body),alternative:l}));c.unshift(n,1);[].splice.apply(e,c);i+=d;n+=d+1;r=null;a=true;continue}}e[n++]=s;r=s instanceof J?s:null}e.length=n}function join_object_assignments(e,n){if(!(e instanceof ze))return;var r=e.definitions[e.definitions.length-1];if(!(r.value instanceof ft))return;var i;if(n instanceof lt&&!n.logical){i=[n]}else if(n instanceof Ye){i=n.expressions.slice()}if(!i)return;var a=false;do{var c=i[0];if(!(c instanceof lt))break;if(c.operator!="=")break;if(!(c.left instanceof Ze))break;var u=c.left.expression;if(!(u instanceof Ht))break;if(r.name.name!=u.name)break;if(!c.right.is_constant_expression(s))break;var l=c.left.property;if(l instanceof W){l=l.evaluate(t)}if(l instanceof W)break;l=""+l;var d=t.option("ecma")<2015&&t.has_directive("use strict")?function(e){return e.key!=l&&(e.key&&e.key.name!=l)}:function(e){return e.key&&e.key.name!=l};if(!r.value.properties.every(d))break;var p=r.value.properties.filter((function(e){return e.key===l}))[0];if(!p){r.value.properties.push(make_node(mt,c,{key:l,value:c.right}))}else{p.value=new Ye({start:p.start,expressions:[p.value.clone(),c.right.clone()],end:p.end})}i.shift();a=true}while(i.length);return a&&i}function join_consecutive_vars(e){var t;for(var n=0,r=-1,i=e.length;n{if(r instanceof Ue){r.remove_initializers();n.push(r);return true}if(r instanceof _e&&(r===t||!e.has_directive("use strict"))){n.push(r===t?r:make_node(Ue,r,{definitions:[make_node(He,r,{name:make_node(It,r.name,r.name),value:null})]}));return true}if(r instanceof Qe||r instanceof Ve){n.push(r);return true}if(r instanceof pe){return true}}))}function get_value(e){if(e instanceof Jt){return e.getValue()}if(e instanceof st&&e.operator=="void"&&e.expression instanceof Jt){return}return e}function is_undefined(e,t){return has_flag(e,Pn)||e instanceof on||e instanceof st&&e.operator=="void"&&!e.expression.has_side_effects(t)}(function(e){W.DEFMETHOD("may_throw_on_access",(function(e){return!e.option("pure_getters")||this._dot_throw(e)}));function is_strict(e){return/strict/.test(e.option("pure_getters"))}e(W,is_strict);e(rn,return_true);e(on,return_true);e(Jt,return_false);e(pt,return_false);e(ft,(function(e){if(!is_strict(e))return false;for(var t=this.properties.length;--t>=0;)if(this.properties[t]._dot_throw(e))return true;return false}));e(kt,return_false);e(ht,return_false);e(_t,return_true);e(he,(function(e){return this.expression._dot_throw(e)}));e(ye,return_false);e(ve,return_false);e(ot,return_false);e(st,(function(){return this.operator=="void"}));e(ct,(function(e){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(e)||this.right._dot_throw(e))}));e(lt,(function(e){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(e)}));e(ut,(function(e){return this.consequent._dot_throw(e)||this.alternative._dot_throw(e)}));e(et,(function(e){if(!is_strict(e))return false;if(this.property=="prototype"){return!(this.expression instanceof ye||this.expression instanceof kt)}return true}));e(rt,(function(e){return this.expression._dot_throw(e)}));e(Ye,(function(e){return this.tail_node()._dot_throw(e)}));e(Ht,(function(e){if(this.name==="arguments")return false;if(has_flag(this,Pn))return true;if(!is_strict(e))return false;if(is_undeclared_ref(this)&&this.is_declared(e))return false;if(this.is_immutable())return false;var t=this.fixed_value();return!t||t._dot_throw(e)}))})((function(e,t){e.DEFMETHOD("_dot_throw",t)}));(function(e){const t=makePredicate("! delete");const n=makePredicate("in instanceof == != === !== < <= >= >");e(W,return_false);e(st,(function(){return t.has(this.operator)}));e(ct,(function(){return n.has(this.operator)||jn.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));e(ut,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));e(lt,(function(){return this.operator=="="&&this.right.is_boolean()}));e(Ye,(function(){return this.tail_node().is_boolean()}));e(dn,return_true);e(ln,return_true)})((function(e,t){e.DEFMETHOD("is_boolean",t)}));(function(e){e(W,return_false);e(Zt,return_true);var t=makePredicate("+ - ~ ++ --");e(it,(function(){return t.has(this.operator)}));var n=makePredicate("- * / % & | ^ << >> >>>");e(ct,(function(e){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(e)&&this.right.is_number(e)}));e(lt,(function(e){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(e)}));e(Ye,(function(e){return this.tail_node().is_number(e)}));e(ut,(function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)}))})((function(e,t){e.DEFMETHOD("is_number",t)}));(function(e){e(W,return_false);e(Yt,return_true);e(ke,return_true);e(st,(function(){return this.operator=="typeof"}));e(ct,(function(e){return this.operator=="+"&&(this.left.is_string(e)||this.right.is_string(e))}));e(lt,(function(e){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(e)}));e(Ye,(function(e){return this.tail_node().is_string(e)}));e(ut,(function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)}))})((function(e,t){e.DEFMETHOD("is_string",t)}));var jn=makePredicate("&& || ??");var zn=makePredicate("delete ++ --");function is_lhs(e,t){if(t instanceof it&&zn.has(t.operator))return t.expression;if(t instanceof lt&&t.left===e)return e}(function(e){function to_node(e,t){if(e instanceof W)return make_node(e.CTOR,t,e);if(Array.isArray(e))return make_node(pt,t,{elements:e.map((function(e){return to_node(e,t)}))});if(e&&typeof e=="object"){var n=[];for(var r in e)if(HOP(e,r)){n.push(make_node(mt,t,{key:r,value:to_node(e[r],t)}))}return make_node(ft,t,{properties:n})}return make_node_from_constant(e,t)}fe.DEFMETHOD("resolve_defines",(function(e){if(!e.option("global_defs"))return this;this.figure_out_scope({ie8:e.option("ie8")});return this.transform(new TreeTransformer((function(t){var n=t._find_defs(e,"");if(!n)return;var r=0,i=t,s;while(s=this.parent(r++)){if(!(s instanceof Ze))break;if(s.expression!==i)break;i=s}if(is_lhs(i,s)){return}return n})))}));e(W,noop);e(rt,(function(e,t){return this.expression._find_defs(e,t)}));e(et,(function(e,t){return this.expression._find_defs(e,"."+this.property+t)}));e(Mt,(function(){if(!this.global())return}));e(Ht,(function(e,t){if(!this.global())return;var n=e.option("global_defs");var r=this.name+t;if(HOP(n,r))return to_node(n[r],this)}))})((function(e,t){e.DEFMETHOD("_find_defs",t)}));function best_of_expression(e,t){return e.size()>t.size()?t:e}function best_of_statement(e,t){return best_of_expression(make_node(J,e,{body:e}),make_node(J,t,{body:t})).body}function best_of(e,t,n){return(first_in_statement(e)?best_of_statement:best_of_expression)(t,n)}function convert_to_predicate(e){const t=new Map;for(var n of Object.keys(e)){t.set(n,makePredicate(e[n]))}return t}var Un=["constructor","toString","valueOf"];var qn=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(Un),Boolean:Un,Function:Un,Number:["toExponential","toFixed","toPrecision"].concat(Un),Object:Un,RegExp:["test"].concat(Un),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(Un)});var Gn=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(e){W.DEFMETHOD("evaluate",(function(e){if(!e.option("evaluate"))return this;var t=this._eval(e,1);if(!t||t instanceof RegExp)return t;if(typeof t=="function"||typeof t=="object")return this;return t}));var t=makePredicate("! ~ - + void");W.DEFMETHOD("is_constant",(function(){if(this instanceof Jt){return!(this instanceof tn)}else{return this instanceof st&&this.expression instanceof Jt&&t.has(this.operator)}}));e(V,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));e(me,return_this);e(kt,return_this);e(W,return_this);e(Jt,(function(){return this.getValue()}));e(en,return_this);e(tn,(function(e){let t=e.evaluated_regexps.get(this);if(t===undefined){try{t=(0,eval)(this.print_to_string())}catch(e){t=null}e.evaluated_regexps.set(this,t)}return t||this}));e(ke,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));e(ye,(function(e){if(e.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=function(){return this.node.print_to_string()};return fn}return this}));e(pt,(function(e,t){if(e.option("unsafe")){var n=[];for(var r=0,i=this.elements.length;rtypeof e==="object"||typeof e==="function"||typeof e==="symbol";e(ct,(function(e,t){if(!r.has(this.operator))t++;var n=this.left._eval(e,t);if(n===this.left)return this;var s=this.right._eval(e,t);if(s===this.right)return this;var a;if(n!=null&&s!=null&&i.has(this.operator)&&has_identity(n)&&has_identity(s)&&typeof n===typeof s){return this}switch(this.operator){case"&&":a=n&&s;break;case"||":a=n||s;break;case"??":a=n!=null?n:s;break;case"|":a=n|s;break;case"&":a=n&s;break;case"^":a=n^s;break;case"+":a=n+s;break;case"*":a=n*s;break;case"**":a=Math.pow(n,s);break;case"/":a=n/s;break;case"%":a=n%s;break;case"-":a=n-s;break;case"<<":a=n<>":a=n>>s;break;case">>>":a=n>>>s;break;case"==":a=n==s;break;case"===":a=n===s;break;case"!=":a=n!=s;break;case"!==":a=n!==s;break;case"<":a=n":a=n>s;break;case">=":a=n>=s;break;default:return this}if(isNaN(a)&&e.find_parent(de)){return this}return a}));e(ut,(function(e,t){var n=this.condition._eval(e,t);if(n===this.condition)return this;var r=n?this.consequent:this.alternative;var i=r._eval(e,t);return i===r?this:i}));const s=new Set;e(Ht,(function(e,t){if(s.has(this))return this;var n=this.fixed_value();if(!n)return this;s.add(this);const r=n._eval(e,t);s.delete(this);if(r===n)return this;if(r&&typeof r=="object"){var i=this.definition().escaped;if(i&&t>i)return this}return r}));var a={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var c=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});e(Ze,(function(e,t){if(this.optional){const n=this.expression._eval(e,t);if(n==null)return undefined}if(e.option("unsafe")){var n=this.property;if(n instanceof W){n=n._eval(e,t);if(n===this.property)return this}var r=this.expression;var i;if(is_undeclared_ref(r)){var s;var u=r.name==="hasOwnProperty"&&n==="call"&&(s=e.parent()&&e.parent().args)&&(s&&s[0]&&s[0].evaluate(e));u=u instanceof et?u.expression:u;if(u==null||u.thedef&&u.thedef.undeclared){return this.clone()}var l=c.get(r.name);if(!l||!l.has(n))return this;i=a[r.name]}else{i=r._eval(e,t+1);if(!i||i===r||!HOP(i,n))return this;if(typeof i=="function")switch(n){case"name":return i.node.name?i.node.name.name:"";case"length":return i.node.argnames.length;default:return this}}return i[n]}return this}));e(rt,(function(e,t){const n=this.expression._eval(e,t);return n===this.expression?this:n}));e(Xe,(function(e,t){var n=this.expression;if(this.optional){const n=this.expression._eval(e,t);if(n==null)return undefined}if(e.option("unsafe")&&n instanceof Ze){var r=n.property;if(r instanceof W){r=r._eval(e,t);if(r===n.property)return this}var i;var s=n.expression;if(is_undeclared_ref(s)){var c=s.name==="hasOwnProperty"&&r==="call"&&(this.args[0]&&this.args[0].evaluate(e));c=c instanceof et?c.expression:c;if(c==null||c.thedef&&c.thedef.undeclared){return this.clone()}var u=Gn.get(s.name);if(!u||!u.has(r))return this;i=a[s.name]}else{i=s._eval(e,t+1);if(i===s||!i)return this;var l=qn.get(i.constructor.name);if(!l||!l.has(r))return this}var d=[];for(var p=0,h=this.args.length;p";return n;case"<":n.operator=">=";return n;case">=":n.operator="<";return n;case">":n.operator="<=";return n}}switch(r){case"==":n.operator="!=";return n;case"!=":n.operator="==";return n;case"===":n.operator="!==";return n;case"!==":n.operator="===";return n;case"&&":n.operator="||";n.left=n.left.negate(e,t);n.right=n.right.negate(e);return best(this,n,t);case"||":n.operator="&&";n.left=n.left.negate(e,t);n.right=n.right.negate(e);return best(this,n,t);case"??":n.right=n.right.negate(e);return best(this,n,t)}return basic_negation(this)}))})((function(e,t){e.DEFMETHOD("negate",(function(e,n){return t.call(this,e,n)}))}));var Hn=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");Xe.DEFMETHOD("is_expr_pure",(function(e){if(e.option("unsafe")){var t=this.expression;var n=this.args&&this.args[0]&&this.args[0].evaluate(e);if(t.expression&&t.expression.name==="hasOwnProperty"&&(n==null||n.thedef&&n.thedef.undeclared)){return false}if(is_undeclared_ref(t)&&Hn.has(t.name))return true;let r;if(t instanceof et&&is_undeclared_ref(t.expression)&&(r=Gn.get(t.expression.name))&&r.has(t.property)){return true}}return!!has_annotation(this,hn)||!e.pure_funcs(this)}));W.DEFMETHOD("is_call_pure",return_false);et.DEFMETHOD("is_call_pure",(function(e){if(!e.option("unsafe"))return;const t=this.expression;let n;if(t instanceof pt){n=qn.get("Array")}else if(t.is_boolean()){n=qn.get("Boolean")}else if(t.is_number(e)){n=qn.get("Number")}else if(t instanceof tn){n=qn.get("RegExp")}else if(t.is_string(e)){n=qn.get("String")}else if(!this.may_throw_on_access(e)){n=qn.get("Object")}return n&&n.has(this.property)}));const Wn=new Set(["Number","String","Array","Object","Function","Promise"]);(function(e){e(W,return_true);e(ee,return_false);e(Jt,return_false);e(Qt,return_false);function any(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return true;return false}e(Y,(function(e){return any(this.body,e)}));e(Xe,(function(e){if(!this.is_expr_pure(e)&&(!this.expression.is_call_pure(e)||this.expression.has_side_effects(e))){return true}return any(this.args,e)}));e(Re,(function(e){return this.expression.has_side_effects(e)||any(this.body,e)}));e(Be,(function(e){return this.expression.has_side_effects(e)||any(this.body,e)}));e(Le,(function(e){return any(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}));e(Oe,(function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}));e(ne,(function(e){return this.body.has_side_effects(e)}));e(J,(function(e){return this.body.has_side_effects(e)}));e(me,return_false);e(kt,(function(e){if(this.extends&&this.extends.has_side_effects(e)){return true}return any(this.properties,e)}));e(ct,(function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}));e(lt,return_true);e(ut,(function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}));e(it,(function(e){return zn.has(this.operator)||this.expression.has_side_effects(e)}));e(Ht,(function(e){return!this.is_declared(e)&&!Wn.has(this.name)}));e(Bt,return_false);e(Mt,return_false);e(ft,(function(e){return any(this.properties,e)}));e(ht,(function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.value&&this.value.has_side_effects(e)}));e(Et,(function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.static&&this.value&&this.value.has_side_effects(e)}));e(bt,(function(e){return this.computed_key()&&this.key.has_side_effects(e)}));e(_t,(function(e){return this.computed_key()&&this.key.has_side_effects(e)}));e(vt,(function(e){return this.computed_key()&&this.key.has_side_effects(e)}));e(pt,(function(e){return any(this.elements,e)}));e(et,(function(e){return!this.optional&&this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)}));e(nt,(function(e){if(this.optional&&is_nullish(this.expression)){return false}return!this.optional&&this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}));e(rt,(function(e){return this.expression.has_side_effects(e)}));e(Ye,(function(e){return any(this.expressions,e)}));e(ze,(function(e){return any(this.definitions,e)}));e(He,(function(){return this.value}));e(Ee,return_false);e(ke,(function(e){return any(this.segments,e)}))})((function(e,t){e.DEFMETHOD("has_side_effects",t)}));(function(e){e(W,return_true);e(Jt,return_false);e(ee,return_false);e(me,return_false);e(Mt,return_false);e(Qt,return_false);function any(e,t){for(var n=e.length;--n>=0;)if(e[n].may_throw(t))return true;return false}e(kt,(function(e){if(this.extends&&this.extends.may_throw(e))return true;return any(this.properties,e)}));e(pt,(function(e){return any(this.elements,e)}));e(lt,(function(e){if(this.right.may_throw(e))return true;if(!e.has_directive("use strict")&&this.operator=="="&&this.left instanceof Ht){return false}return this.left.may_throw(e)}));e(ct,(function(e){return this.left.may_throw(e)||this.right.may_throw(e)}));e(Y,(function(e){return any(this.body,e)}));e(Xe,(function(e){if(this.optional&&is_nullish(this.expression))return false;if(any(this.args,e))return true;if(this.is_expr_pure(e))return false;if(this.expression.may_throw(e))return true;return!(this.expression instanceof me)||any(this.expression.body,e)}));e(Be,(function(e){return this.expression.may_throw(e)||any(this.body,e)}));e(ut,(function(e){return this.condition.may_throw(e)||this.consequent.may_throw(e)||this.alternative.may_throw(e)}));e(ze,(function(e){return any(this.definitions,e)}));e(Oe,(function(e){return this.condition.may_throw(e)||this.body&&this.body.may_throw(e)||this.alternative&&this.alternative.may_throw(e)}));e(ne,(function(e){return this.body.may_throw(e)}));e(ft,(function(e){return any(this.properties,e)}));e(ht,(function(e){return this.value?this.value.may_throw(e):false}));e(Et,(function(e){return this.computed_key()&&this.key.may_throw(e)||this.static&&this.value&&this.value.may_throw(e)}));e(bt,(function(e){return this.computed_key()&&this.key.may_throw(e)}));e(_t,(function(e){return this.computed_key()&&this.key.may_throw(e)}));e(vt,(function(e){return this.computed_key()&&this.key.may_throw(e)}));e(Ce,(function(e){return this.value&&this.value.may_throw(e)}));e(Ye,(function(e){return any(this.expressions,e)}));e(J,(function(e){return this.body.may_throw(e)}));e(et,(function(e){return!this.optional&&this.expression.may_throw_on_access(e)||this.expression.may_throw(e)}));e(nt,(function(e){if(this.optional&&is_nullish(this.expression))return false;return!this.optional&&this.expression.may_throw_on_access(e)||this.expression.may_throw(e)||this.property.may_throw(e)}));e(rt,(function(e){return this.expression.may_throw(e)}));e(Re,(function(e){return this.expression.may_throw(e)||any(this.body,e)}));e(Ht,(function(e){return!this.is_declared(e)&&!Wn.has(this.name)}));e(Bt,return_false);e(Le,(function(e){return this.bcatch?this.bcatch.may_throw(e):any(this.body,e)||this.bfinally&&this.bfinally.may_throw(e)}));e(it,(function(e){if(this.operator=="typeof"&&this.expression instanceof Ht)return false;return this.expression.may_throw(e)}));e(He,(function(e){if(!this.value)return false;return this.value.may_throw(e)}))})((function(e,t){e.DEFMETHOD("may_throw",t)}));(function(e){function all_refs_local(e){let t=true;walk(this,(n=>{if(n instanceof Ht){if(has_flag(this,Tn)){t=false;return pn}var r=n.definition();if(member(r,this.enclosed)&&!this.variables.has(r.name)){if(e){var i=e.find_variable(n);if(r.undeclared?!i:i===r){t="f";return true}}t=false;return pn}return true}if(n instanceof Qt&&this instanceof ve){t=false;return pn}}));return t}e(W,return_false);e(Jt,return_true);e(kt,(function(e){if(this.extends&&!this.extends.is_constant_expression(e)){return false}for(const t of this.properties){if(t.computed_key()&&!t.key.is_constant_expression(e)){return false}if(t.static&&t.value&&!t.value.is_constant_expression(e)){return false}}return all_refs_local.call(this,e)}));e(me,all_refs_local);e(it,(function(){return this.expression.is_constant_expression()}));e(ct,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));e(pt,(function(){return this.elements.every((e=>e.is_constant_expression()))}));e(ft,(function(){return this.properties.every((e=>e.is_constant_expression()))}));e(ht,(function(){return!!(!(this.key instanceof W)&&this.value&&this.value.is_constant_expression())}))})((function(e,t){e.DEFMETHOD("is_constant_expression",t)}));function aborts(e){return e&&e.aborts()}(function(e){e(V,return_null);e(we,return_this);function block_aborts(){for(var e=0;e{if(e instanceof Mt){const n=e.definition();if((t||n.global)&&!a.has(n.id)){a.set(n.id,n)}}}))}if(n.value){if(n.name instanceof be){n.walk(p)}else{var i=n.name.definition();map_add(l,i.id,n.value);if(!i.chained&&n.name.fixed_value()===n.value){c.set(i.id,n)}}if(n.value.has_side_effects(e)){n.value.walk(p)}}}));return true}return scan_ref_scoped(i,s)}));t.walk(p);p=new TreeWalker(scan_ref_scoped);a.forEach((function(e){var t=l.get(e.id);if(t)t.forEach((function(e){e.walk(p)}))}));var h=new TreeTransformer((function before(l,p,m){var g=h.parent();if(r){const e=s(l);if(e instanceof Ht){var y=e.definition();var _=a.has(y.id);if(l instanceof lt){if(!_||c.has(y.id)&&c.get(y.id)!==l){return maintain_this_binding(g,l,l.right.transform(h))}}else if(!_)return m?i.skip:make_node(Zt,l,{value:0})}}if(d!==t)return;var y;if(l.name&&(l instanceof Ct&&!keep_name(e.option("keep_classnames"),(y=l.name.definition()).name)||l instanceof ye&&!keep_name(e.option("keep_fnames"),(y=l.name.definition()).name))){if(!a.has(y.id)||y.orig.length>1)l.name=null}if(l instanceof me&&!(l instanceof ge)){var b=!e.option("keep_fargs");for(var x=l.argnames,k=x.length;--k>=0;){var E=x[k];if(E instanceof he){E=E.expression}if(E instanceof dt){E=E.left}if(!(E instanceof be)&&!a.has(E.definition().id)){set_flag(E,Dn);if(b){x.pop()}}else{b=false}}}if((l instanceof _e||l instanceof St)&&l!==t){const t=l.name.definition();let r=t.global&&!n||a.has(t.id);if(!r){t.eliminated++;if(l instanceof St){const t=l.drop_side_effect_free(e);if(t){return make_node(J,l,{body:t})}}return m?i.skip:make_node(ee,l)}}if(l instanceof ze&&!(g instanceof ue&&g.init===l)){var w=!(g instanceof fe)&&!(l instanceof Ue);var S=[],C=[],M=[];var I=[];l.definitions.forEach((function(t){if(t.value)t.value=t.value.transform(h);var n=t.name instanceof be;var i=n?new SymbolDef(null,{name:""}):t.name.definition();if(w&&i.global)return M.push(t);if(!(r||w)||n&&(t.name.names.length||t.name.is_array||e.option("pure_getters")!=true)||a.has(i.id)){if(t.value&&c.has(i.id)&&c.get(i.id)!==t){t.value=t.value.drop_side_effect_free(e)}if(t.name instanceof It){var s=u.get(i.id);if(s.length>1&&(!t.value||i.orig.indexOf(t.name)>i.eliminated)){if(t.value){var d=make_node(Ht,t.name,t.name);i.references.push(d);var p=make_node(lt,t,{operator:"=",logical:false,left:d,right:t.value});if(c.get(i.id)===t){c.set(i.id,p)}I.push(p.transform(h))}remove(s,t);i.eliminated++;return}}if(t.value){if(I.length>0){if(M.length>0){I.push(t.value);t.value=make_sequence(t.value,I)}else{S.push(make_node(J,l,{body:make_sequence(l,I)}))}I=[]}M.push(t)}else{C.push(t)}}else if(i.orig[0]instanceof zt){var m=t.value&&t.value.drop_side_effect_free(e);if(m)I.push(m);t.value=null;C.push(t)}else{var m=t.value&&t.value.drop_side_effect_free(e);if(m){I.push(m)}i.eliminated++}}));if(C.length>0||M.length>0){l.definitions=C.concat(M);S.push(l)}if(I.length>0){S.push(make_node(J,l,{body:make_sequence(l,I)}))}switch(S.length){case 0:return m?i.skip:make_node(ee,l);case 1:return S[0];default:return m?i.splice(S):make_node(Z,l,{body:S})}}if(l instanceof ae){p(l,this);var P;if(l.init instanceof Z){P=l.init;l.init=P.body.pop();P.body.push(l)}if(l.init instanceof J){l.init=l.init.body}else if(is_empty(l.init)){l.init=null}return!P?l:m?i.splice(P.body):P}if(l instanceof ne&&l.body instanceof ae){p(l,this);if(l.body instanceof Z){var P=l.body;l.body=P.body.pop();P.body.push(l);return m?i.splice(P.body):P}return l}if(l instanceof Z){p(l,this);if(m&&l.body.every(can_be_evicted_from_block)){return i.splice(l.body)}return l}if(l instanceof pe){const e=d;d=l;p(l,this);d=e;return l}}));t.transform(h);function scan_ref_scoped(e,n){var r;const i=s(e);if(i instanceof Ht&&!is_ref_of(e.left,Pt)&&t.variables.get(i.name)===(r=i.definition())){if(e instanceof lt){e.right.walk(p);if(!r.chained&&e.left.fixed_value()===e.right){c.set(r.id,e)}}return true}if(e instanceof Ht){r=e.definition();if(!a.has(r.id)){a.set(r.id,r);if(r.orig[0]instanceof zt){const e=r.scope.is_block_scope()&&r.scope.get_defun_scope().variables.get(r.name);if(e)a.set(e.id,e)}}return true}if(e instanceof pe){var u=d;d=e;n();d=u;return true}}}));pe.DEFMETHOD("hoist_declarations",(function(e){var t=this;if(e.has_directive("use asm"))return t;if(!Array.isArray(t.body))return t;var n=e.option("hoist_funs");var r=e.option("hoist_vars");if(n||r){var i=[];var s=[];var a=new Map,c=0,u=0;walk(t,(e=>{if(e instanceof pe&&e!==t)return true;if(e instanceof Ue){++u;return true}}));r=r&&u>1;var l=new TreeTransformer((function before(u){if(u!==t){if(u instanceof X){i.push(u);return make_node(ee,u)}if(n&&u instanceof _e&&!(l.parent()instanceof Qe)&&l.parent()===t){s.push(u);return make_node(ee,u)}if(r&&u instanceof Ue&&!u.definitions.some((e=>e.name instanceof be))){u.definitions.forEach((function(e){a.set(e.name.name,e);++c}));var d=u.to_assignments(e);var p=l.parent();if(p instanceof ue&&p.init===u){if(d==null){var h=u.definitions[0].name;return make_node(Ht,h,h)}return d}if(p instanceof ae&&p.init===u){return d}if(!d)return make_node(ee,u);return make_node(J,u,{body:d})}if(u instanceof pe)return u}}));t=t.transform(l);if(c>0){var d=[];const e=t instanceof me;const n=e?t.args_as_names():null;a.forEach(((t,r)=>{if(e&&n.some((e=>e.name===t.name.name))){a.delete(r)}else{t=t.clone();t.value=null;d.push(t);a.set(r,t)}}));if(d.length>0){for(var p=0;pe instanceof he||e.computed_key()))){c(a,this);const e=new Map;const n=[];d.properties.forEach((({key:r,value:i})=>{const c=find_scope(s);const l=t.create_symbol(u.CTOR,{source:u,scope:c,conflict_scopes:new Set([c,...u.definition().references.map((e=>e.scope))]),tentative_name:u.name+"_"+r});e.set(String(r),l.definition());n.push(make_node(He,a,{name:l,value:i}))}));r.set(l.id,e);return i.splice(n)}}else if(a instanceof Ze&&a.expression instanceof Ht){const e=r.get(a.expression.definition().id);if(e){const t=e.get(String(get_value(a.property)));const n=make_node(Ht,a,{name:t.name,scope:a.expression.scope,thedef:t});n.reference({});return n}}}));return t.transform(s)}));(function(e){function trim(e,t,n){var r=e.length;if(!r)return null;var i=[],s=false;for(var a=0;a0){a[0].body=s.concat(a[0].body)}e.body=a;while(n=a[a.length-1]){var g=n.body[n.body.length-1];if(g instanceof Me&&t.loopcontrol_target(g)===e)n.body.pop();if(n.body.length||n instanceof Be&&(c||n.expression.has_side_effects(t)))break;if(a.pop()===c)c=null}if(a.length==0){return make_node(Z,e,{body:s.concat(make_node(J,e.expression,{body:e.expression}))}).optimize(t)}if(a.length==1&&(a[0]===u||a[0]===c)){var y=false;var _=new TreeWalker((function(t){if(y||t instanceof me||t instanceof J)return true;if(t instanceof Me&&_.loopcontrol_target(t)===e)y=true}));e.walk(_);if(!y){var b=a[0].body.slice();var p=a[0].expression;if(p)b.unshift(make_node(J,p,{body:p}));b.unshift(make_node(J,e.expression,{body:e.expression}));return make_node(Z,e,{body:b}).optimize(t)}}return e;function eliminate_branch(e,n){if(n&&!aborts(n)){n.body=n.body.concat(e.body)}else{trim_unreachable_code(t,e,s)}}}));def_optimize(Le,(function(e,t){tighten_body(e.body,t);if(e.bcatch&&e.bfinally&&e.bfinally.body.every(is_empty))e.bfinally=null;if(t.option("dead_code")&&e.body.every(is_empty)){var n=[];if(e.bcatch){trim_unreachable_code(t,e.bcatch,n)}if(e.bfinally)n.push(...e.bfinally.body);return make_node(Z,e,{body:n}).optimize(t)}return e}));ze.DEFMETHOD("remove_initializers",(function(){var e=[];this.definitions.forEach((function(t){if(t.name instanceof Mt){t.value=null;e.push(t)}else{walk(t.name,(n=>{if(n instanceof Mt){e.push(make_node(He,t,{name:n,value:null}))}}))}}));this.definitions=e}));ze.DEFMETHOD("to_assignments",(function(e){var t=e.option("reduce_vars");var n=[];for(const e of this.definitions){if(e.value){var r=make_node(Ht,e.name,e.name);n.push(make_node(lt,e,{operator:"=",logical:false,left:r,right:e.value}));if(t)r.definition().fixed=false}else if(e.value){var i=make_node(He,e,{name:e.name,value:e.value});var s=make_node(Ue,e,{definitions:[i]});n.push(s)}const a=e.name.definition();a.eliminated++;a.replaced--}if(n.length==0)return null;return make_sequence(this,n)}));def_optimize(ze,(function(e){if(e.definitions.length==0)return make_node(ee,e);return e}));def_optimize(He,(function(e){if(e.name instanceof Ot&&e.value!=null&&is_undefined(e.value)){e.value=null}return e}));def_optimize(Ve,(function(e){return e}));function retain_top_func(e,t){return t.top_retain&&e instanceof _e&&has_flag(e,Nn)&&e.name&&t.top_retain(e.name)}def_optimize(Xe,(function(e,t){var n=e.expression;var r=n;inline_array_like_spread(e.args);var i=e.args.every((e=>!(e instanceof he)));if(t.option("reduce_vars")&&r instanceof Ht&&!has_annotation(e,gn)){const e=r.fixed_value();if(!retain_top_func(e,t)){r=e}}if(e.optional&&is_nullish(r)){return make_node(on,e)}var s=r instanceof me;if(s&&r.pinned())return e;if(t.option("unused")&&i&&s&&!r.uses_arguments){var a=0,c=0;for(var u=0,l=e.args.length;u=r.argnames.length;if(p||has_flag(r.argnames[u],Dn)){var d=e.args[u].drop_side_effect_free(t);if(d){e.args[a++]=d}else if(!p){e.args[a++]=make_node(Zt,e.args[u],{value:0});continue}}else{e.args[a++]=e.args[u]}c=a}e.args.length=c}if(t.option("unsafe")){if(is_undeclared_ref(n))switch(n.name){case"Array":if(e.args.length!=1){return make_node(pt,e,{elements:e.args}).optimize(t)}else if(e.args[0]instanceof Zt&&e.args[0].value<=11){const t=[];for(let n=0;n=1&&e.args.length<=2&&e.args.every((e=>{var n=e.evaluate(t);h.push(n);return e!==n}))){let[n,r]=h;n=regexp_source_fix(new RegExp(n).source);const i=make_node(tn,e,{value:{source:n,flags:r}});if(i._eval(t)!==i){return i}}break}else if(n instanceof et)switch(n.property){case"toString":if(e.args.length==0&&!n.expression.may_throw_on_access(t)){return make_node(ct,e,{left:make_node(Yt,e,{value:""}),operator:"+",right:n.expression}).optimize(t)}break;case"join":if(n.expression instanceof pt)e:{var m;if(e.args.length>0){m=e.args[0].evaluate(t);if(m===e.args[0])break e}var g=[];var y=[];for(var u=0,l=n.expression.elements.length;u0){g.push(make_node(Yt,e,{value:y.join(m)}));y.length=0}g.push(_)}}if(y.length>0){g.push(make_node(Yt,e,{value:y.join(m)}))}if(g.length==0)return make_node(Yt,e,{value:""});if(g.length==1){if(g[0].is_string(t)){return g[0]}return make_node(ct,g[0],{operator:"+",left:make_node(Yt,e,{value:""}),right:g[0]})}if(m==""){var x;if(g[0].is_string(t)||g[1].is_string(t)){x=g.shift()}else{x=make_node(Yt,e,{value:""})}return g.reduce((function(e,t){return make_node(ct,t,{operator:"+",left:e,right:t})}),x).optimize(t)}var d=e.clone();d.expression=d.expression.clone();d.expression.expression=d.expression.expression.clone();d.expression.expression.elements=g;return best_of(t,e,d)}break;case"charAt":if(n.expression.is_string(t)){var k=e.args[0];var E=k?k.evaluate(t):0;if(E!==k){return make_node(nt,n,{expression:n.expression,property:make_node_from_constant(E|0,k||n)}).optimize(t)}}break;case"apply":if(e.args.length==2&&e.args[1]instanceof pt){var w=e.args[1].elements.slice();w.unshift(e.args[0]);return make_node(Xe,e,{expression:make_node(et,n,{expression:n.expression,optional:false,property:"call"}),args:w}).optimize(t)}break;case"call":var S=n.expression;if(S instanceof Ht){S=S.fixed_value()}if(S instanceof me&&!S.contains_this()){return(e.args.length?make_sequence(this,[e.args[0],make_node(Xe,e,{expression:n.expression,args:e.args.slice(1)})]):make_node(Xe,e,{expression:n.expression,args:[]})).optimize(t)}break}}if(t.option("unsafe_Function")&&is_undeclared_ref(n)&&n.name=="Function"){if(e.args.length==0)return make_node(ye,e,{argnames:[],body:[]}).optimize(t);if(e.args.every((e=>e instanceof Yt))){try{var C="n(function("+e.args.slice(0,-1).map((function(e){return e.value})).join(",")+"){"+e.args[e.args.length-1].value+"})";var M=parse(C);var I={ie8:t.option("ie8")};M.figure_out_scope(I);var P=new Compressor(t.options,{mangle_options:t.mangle_options});M=M.transform(P);M.figure_out_scope(I);Cn.reset();M.compute_char_frequency(I);M.mangle_names(I);var T;walk(M,(e=>{if(is_func_expr(e)){T=e;return pn}}));var C=OutputStream();Z.prototype._codegen.call(T,T,C);e.args=[make_node(Yt,e,{value:T.argnames.map((function(e){return e.print_to_string()})).join(",")}),make_node(Yt,e.args[e.args.length-1],{value:C.get().replace(/^{|}$/g,"")})];return e}catch(e){if(!(e instanceof JS_Parse_Error)){throw e}}}}var O=s&&r.body[0];var R=s&&!r.is_generator&&!r.async;var N=R&&t.option("inline")&&!e.is_expr_pure(t);if(N&&O instanceof Ce){let n=O.value;if(!n||n.is_constant_expression()){if(n){n=n.clone(true)}else{n=make_node(on,e)}const r=e.args.concat(n);return make_sequence(e,r).optimize(t)}if(r.argnames.length===1&&r.argnames[0]instanceof Rt&&e.args.length<2&&n instanceof Ht&&n.name===r.argnames[0].name){const n=(e.args[0]||make_node(on)).optimize(t);let r;if(n instanceof Ze&&(r=t.parent())instanceof Xe&&r.expression===e){return make_sequence(e,[make_node(Zt,e,{value:0}),n])}return n}}if(N){var L,$,j=-1;let s;let a;let c;if(i&&!r.uses_arguments&&!(t.parent()instanceof kt)&&!(r.name&&r instanceof ye)&&(a=can_flatten_body(O))&&(n===r||has_annotation(e,mn)||t.option("unused")&&(s=n.definition()).references.length==1&&!recursive_ref(t,s)&&r.is_constant_expression(n.scope))&&!has_annotation(e,hn|gn)&&!r.contains_this()&&can_inject_symbols()&&(c=find_scope(t))&&!scope_encloses_variables_in_this_scope(c,r)&&!function in_default_assign(){let e=0;let n;while(n=t.parent(e++)){if(n instanceof dt)return true;if(n instanceof Y)break}return false}()&&!(L instanceof kt)){set_flag(r,Rn);c.add_child_scope(r);return make_sequence(e,flatten_fn(a)).optimize(t)}}if(N&&has_annotation(e,mn)){set_flag(r,Rn);r=make_node(r.CTOR===_e?ye:r.CTOR,r,r);r.figure_out_scope({},{parent_scope:find_scope(t),toplevel:t.get_toplevel()});return make_node(Xe,e,{expression:r,args:e.args}).optimize(t)}const z=R&&t.option("side_effects")&&r.body.every(is_empty);if(z){var w=e.args.concat(make_node(on,e));return make_sequence(e,w).optimize(t)}if(t.option("negate_iife")&&t.parent()instanceof J&&is_iife_call(e)){return e.negate(t,true)}var U=e.evaluate(t);if(U!==e){U=make_node_from_constant(U,e).optimize(t);return best_of(t,U,e)}return e;function return_value(t){if(!t)return make_node(on,e);if(t instanceof Ce){if(!t.value)return make_node(on,e);return t.value.clone(true)}if(t instanceof J){return make_node(st,t,{operator:"void",expression:t.body.clone(true)})}}function can_flatten_body(e){var n=r.body;var i=n.length;if(t.option("inline")<3){return i==1&&return_value(e)}e=null;for(var s=0;s!e.value))){return false}}else if(e){return false}else if(!(a instanceof ee)){e=a}}return return_value(e)}function can_inject_args(e,t){for(var n=0,i=r.argnames.length;n=0;){var c=s.definitions[a].name;if(c instanceof be||e.has(c.name)||$n.has(c.name)||L.conflicting_def(c.name)){return false}if($)$.push(c.definition())}}return true}function can_inject_symbols(){var e=new Set;do{L=t.parent(++j);if(L.is_block_scope()&&L.block_scope){L.block_scope.variables.forEach((function(t){e.add(t.name)}))}if(L instanceof $e){if(L.argname){e.add(L.argname.name)}}else if(L instanceof re){$=[]}else if(L instanceof Ht){if(L.fixed_value()instanceof pe)return false}}while(!(L instanceof pe));var n=!(L instanceof fe)||t.toplevel.vars;var i=t.option("inline");if(!can_inject_vars(e,i>=3&&n))return false;if(!can_inject_args(e,i>=2&&n))return false;return!$||$.length==0||!is_reachable(r,$)}function append_var(t,n,r,i){var s=r.definition();const a=L.variables.has(r.name);if(!a){L.variables.set(r.name,s);L.enclosed.push(s);t.push(make_node(He,r,{name:r,value:null}))}var c=make_node(Ht,r,r);s.references.push(c);if(i)n.push(make_node(lt,e,{operator:"=",logical:false,left:c,right:i.clone()}))}function flatten_args(t,n){var i=r.argnames.length;for(var s=e.args.length;--s>=i;){n.push(e.args[s])}for(s=i;--s>=0;){var a=r.argnames[s];var c=e.args[s];if(has_flag(a,Dn)||!a.name||L.conflicting_def(a.name)){if(c)n.push(c)}else{var u=make_node(It,a,a);a.definition().orig.push(u);if(!c&&$)c=make_node(on,e);append_var(t,n,u,c)}}t.reverse();n.reverse()}function flatten_vars(e,t){var n=t.length;for(var i=0,s=r.body.length;ie.name!=d.name))){var p=r.variables.get(d.name);var h=make_node(Ht,d,d);p.references.push(h);t.splice(n++,0,make_node(lt,l,{operator:"=",logical:false,left:h,right:make_node(on,d)}))}}}}function flatten_fn(e){var n=[];var i=[];flatten_args(n,i);flatten_vars(n,i);i.push(e);if(n.length){const e=L.body.indexOf(t.parent(j-1))+1;L.body.splice(e,0,make_node(Ue,r,{definitions:n}))}return i.map((e=>e.clone(true)))}}));def_optimize(Je,(function(e,t){if(t.option("unsafe")&&is_undeclared_ref(e.expression)&&["Object","RegExp","Function","Error","Array"].includes(e.expression.name))return make_node(Xe,e,e).transform(t);return e}));def_optimize(Ye,(function(e,t){if(!t.option("side_effects"))return e;var n=[];filter_for_side_effects();var r=n.length-1;trim_right_for_undefined();if(r==0){e=maintain_this_binding(t.parent(),t.self(),n[0]);if(!(e instanceof Ye))e=e.optimize(t);return e}e.expressions=n;return e;function filter_for_side_effects(){var r=first_in_statement(t);var i=e.expressions.length-1;e.expressions.forEach((function(e,s){if(s0&&is_undefined(n[r],t))r--;if(r0){var n=this.clone();n.right=make_sequence(this.right,t.slice(s));t=t.slice(0,s);t.push(n);return make_sequence(this,t).optimize(e)}}}return this}));var Qn=makePredicate("== === != !== * & | ^");function is_object(e){return e instanceof pt||e instanceof me||e instanceof ft||e instanceof kt}def_optimize(ct,(function(e,t){function reversible(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function reverse(t){if(reversible()){if(t)e.operator=t;var n=e.left;e.left=e.right;e.right=n}}if(Qn.has(e.operator)){if(e.right.is_constant()&&!e.left.is_constant()){if(!(e.left instanceof ct&&z[e.left.operator]>=z[e.operator])){reverse()}}}e=e.lift_sequences(t);if(t.option("comparisons"))switch(e.operator){case"===":case"!==":var n=true;if(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_boolean()&&e.right.is_boolean()||e.left.equivalent_to(e.right)){e.operator=e.operator.substr(0,2)}case"==":case"!=":if(!n&&is_undefined(e.left,t)){e.left=make_node(rn,e.left)}else if(t.option("typeofs")&&e.left instanceof Yt&&e.left.value=="undefined"&&e.right instanceof st&&e.right.operator=="typeof"){var r=e.right.expression;if(r instanceof Ht?r.is_declared(t):!(r instanceof Ze&&t.option("ie8"))){e.right=r;e.left=make_node(on,e.left).optimize(t);if(e.operator.length==2)e.operator+="="}}else if(e.left instanceof Ht&&e.right instanceof Ht&&e.left.definition()===e.right.definition()&&is_object(e.left.fixed_value())){return make_node(e.operator[0]=="="?dn:ln,e)}break;case"&&":case"||":var i=e.left;if(i.operator==e.operator){i=i.right}if(i instanceof ct&&i.operator==(e.operator=="&&"?"!==":"===")&&e.right instanceof ct&&i.operator==e.right.operator&&(is_undefined(i.left,t)&&e.right.left instanceof rn||i.left instanceof rn&&is_undefined(e.right.left,t))&&!i.right.has_side_effects(t)&&i.right.equivalent_to(e.right.right)){var s=make_node(ct,e,{operator:i.operator.slice(0,-1),left:make_node(rn,e),right:i.right});if(i!==e.left){s=make_node(ct,e,{operator:e.operator,left:e.left.left,right:s})}return s}break}if(e.operator=="+"&&t.in_boolean_context()){var a=e.left.evaluate(t);var c=e.right.evaluate(t);if(a&&typeof a=="string"){return make_sequence(e,[e.right,make_node(dn,e)]).optimize(t)}if(c&&typeof c=="string"){return make_sequence(e,[e.left,make_node(dn,e)]).optimize(t)}}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof ct)||t.parent()instanceof lt){var u=make_node(st,e,{operator:"!",expression:e.negate(t,first_in_statement(t))});e=best_of(t,e,u)}if(t.option("unsafe_comps")){switch(e.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(e.operator=="+"){if(e.right instanceof Yt&&e.right.getValue()==""&&e.left.is_string(t)){return e.left}if(e.left instanceof Yt&&e.left.getValue()==""&&e.right.is_string(t)){return e.right}if(e.left instanceof ct&&e.left.operator=="+"&&e.left.left instanceof Yt&&e.left.left.getValue()==""&&e.right.is_string(t)){e.left=e.left.right;return e}}if(t.option("evaluate")){switch(e.operator){case"&&":var a=has_flag(e.left,Mn)?true:has_flag(e.left,In)?false:e.left.evaluate(t);if(!a){return maintain_this_binding(t.parent(),t.self(),e.left).optimize(t)}else if(!(a instanceof W)){return make_sequence(e,[e.left,e.right]).optimize(t)}var c=e.right.evaluate(t);if(!c){if(t.in_boolean_context()){return make_sequence(e,[e.left,make_node(ln,e)]).optimize(t)}else{set_flag(e,In)}}else if(!(c instanceof W)){var l=t.parent();if(l.operator=="&&"&&l.left===t.self()||t.in_boolean_context()){return e.left.optimize(t)}}if(e.left.operator=="||"){var d=e.left.right.evaluate(t);if(!d)return make_node(ut,e,{condition:e.left.left,consequent:e.right,alternative:e.left.right}).optimize(t)}break;case"||":var a=has_flag(e.left,Mn)?true:has_flag(e.left,In)?false:e.left.evaluate(t);if(!a){return make_sequence(e,[e.left,e.right]).optimize(t)}else if(!(a instanceof W)){return maintain_this_binding(t.parent(),t.self(),e.left).optimize(t)}var c=e.right.evaluate(t);if(!c){var l=t.parent();if(l.operator=="||"&&l.left===t.self()||t.in_boolean_context()){return e.left.optimize(t)}}else if(!(c instanceof W)){if(t.in_boolean_context()){return make_sequence(e,[e.left,make_node(dn,e)]).optimize(t)}else{set_flag(e,Mn)}}if(e.left.operator=="&&"){var d=e.left.right.evaluate(t);if(d&&!(d instanceof W))return make_node(ut,e,{condition:e.left.left,consequent:e.left.right,alternative:e.right}).optimize(t)}break;case"??":if(is_nullish(e.left)){return e.right}var a=e.left.evaluate(t);if(!(a instanceof W)){return a==null?e.right:e.left}if(t.in_boolean_context()){const n=e.right.evaluate(t);if(!(n instanceof W)&&!n){return e.left}}}var p=true;switch(e.operator){case"+":if(e.right instanceof Jt&&e.left instanceof ct&&e.left.operator=="+"&&e.left.is_string(t)){var h=make_node(ct,e,{operator:"+",left:e.left.right,right:e.right});var m=h.optimize(t);if(h!==m){e=make_node(ct,e,{operator:"+",left:e.left.left,right:m})}}if(e.left instanceof ct&&e.left.operator=="+"&&e.left.is_string(t)&&e.right instanceof ct&&e.right.operator=="+"&&e.right.is_string(t)){var h=make_node(ct,e,{operator:"+",left:e.left.right,right:e.right.left});var g=h.optimize(t);if(h!==g){e=make_node(ct,e,{operator:"+",left:make_node(ct,e.left,{operator:"+",left:e.left.left,right:g}),right:e.right.right})}}if(e.right instanceof st&&e.right.operator=="-"&&e.left.is_number(t)){e=make_node(ct,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof st&&e.left.operator=="-"&&reversible()&&e.right.is_number(t)){e=make_node(ct,e,{operator:"-",left:e.right,right:e.left.expression});break}if(e.left instanceof ke){var y=e.left;var m=e.right.evaluate(t);if(m!=e.right){y.segments[y.segments.length-1].value+=String(m);return y}}if(e.right instanceof ke){var m=e.right;var y=e.left.evaluate(t);if(y!=e.left){m.segments[0].value=String(y)+m.segments[0].value;return m}}if(e.left instanceof ke&&e.right instanceof ke){var y=e.left;var _=y.segments;var m=e.right;_[_.length-1].value+=m.segments[0].value;for(var b=1;b=z[e.operator])){var x=make_node(ct,e,{operator:e.operator,left:e.right,right:e.left});if(e.right instanceof Jt&&!(e.left instanceof Jt)){e=best_of(t,x,e)}else{e=best_of(t,e,x)}}if(p&&e.is_number(t)){if(e.right instanceof ct&&e.right.operator==e.operator){e=make_node(ct,e,{operator:e.operator,left:make_node(ct,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})}if(e.right instanceof Jt&&e.left instanceof ct&&e.left.operator==e.operator){if(e.left.left instanceof Jt){e=make_node(ct,e,{operator:e.operator,left:make_node(ct,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right})}else if(e.left.right instanceof Jt){e=make_node(ct,e,{operator:e.operator,left:make_node(ct,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left})}}if(e.left instanceof ct&&e.left.operator==e.operator&&e.left.right instanceof Jt&&e.right instanceof ct&&e.right.operator==e.operator&&e.right.left instanceof Jt){e=make_node(ct,e,{operator:e.operator,left:make_node(ct,e.left,{operator:e.operator,left:make_node(ct,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})}}}}if(e.right instanceof ct&&e.right.operator==e.operator&&(jn.has(e.operator)||e.operator=="+"&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t)))){e.left=make_node(ct,e.left,{operator:e.operator,left:e.left.transform(t),right:e.right.left.transform(t)});e.right=e.right.right.transform(t);return e.transform(t)}var k=e.evaluate(t);if(k!==e){k=make_node_from_constant(k,e).optimize(t);return best_of(t,k,e)}return e}));def_optimize(Wt,(function(e){return e}));function recursive_ref(e,t){var n;for(var r=0;n=e.parent(r);r++){if(n instanceof me||n instanceof kt){var i=n.name;if(i&&i.definition()===t)break}}return n}function within_array_or_object_literal(e){var t,n=0;while(t=e.parent(n++)){if(t instanceof V)return false;if(t instanceof pt||t instanceof mt||t instanceof ft){return true}}return false}def_optimize(Ht,(function(e,t){if(!t.option("ie8")&&is_undeclared_ref(e)&&!t.find_parent(de)){switch(e.name){case"undefined":return make_node(on,e).optimize(t);case"NaN":return make_node(sn,e).optimize(t);case"Infinity":return make_node(cn,e).optimize(t)}}const n=t.parent();if(t.option("reduce_vars")&&is_lhs(e,n)!==e){const s=e.definition();const a=find_scope(t);if(t.top_retain&&s.global&&t.top_retain(s)){s.fixed=false;s.single_use=false;return e}let c=e.fixed_value();let u=s.single_use&&!(n instanceof Xe&&n.is_expr_pure(t)||has_annotation(n,gn))&&!(n instanceof Qe&&c instanceof me&&c.name);if(u&&(c instanceof me||c instanceof kt)){if(retain_top_func(c,t)){u=false}else if(s.scope!==e.scope&&(s.escaped==1||has_flag(c,Tn)||within_array_or_object_literal(t))){u=false}else if(recursive_ref(t,s)){u=false}else if(s.scope!==e.scope||s.orig[0]instanceof Rt){u=c.is_constant_expression(e.scope);if(u=="f"){var r=e.scope;do{if(r instanceof _e||is_func_expr(r)){set_flag(r,Tn)}}while(r=r.parent_scope)}}}if(u&&c instanceof me){u=s.scope===e.scope&&!scope_encloses_variables_in_this_scope(a,c)||n instanceof Xe&&n.expression===e&&!scope_encloses_variables_in_this_scope(a,c)&&!(c.name&&c.name.definition().recursive_refs>0)}if(u&&c instanceof kt){const e=!c.extends||!c.extends.may_throw(t)&&!c.extends.has_side_effects(t);u=e&&!c.properties.some((e=>e.may_throw(t)||e.has_side_effects(t)))}if(u&&c){if(c instanceof St){set_flag(c,Rn);c=make_node(Ct,c,c)}if(c instanceof _e){set_flag(c,Rn);c=make_node(ye,c,c)}if(s.recursive_refs>0&&c.name instanceof Ft){const e=c.name.definition();let t=c.variables.get(c.name.name);let n=t&&t.orig[0];if(!(n instanceof Lt)){n=make_node(Lt,c.name,c.name);n.scope=c;c.name=n;t=c.def_function(n)}walk(c,(n=>{if(n instanceof Ht&&n.definition()===e){n.thedef=t;t.references.push(n)}}))}if((c instanceof me||c instanceof kt)&&c.parent_scope!==a){c=c.clone(true,t.get_toplevel());a.add_child_scope(c)}return c.optimize(t)}if(c){let n;if(c instanceof Qt){if(!(s.orig[0]instanceof Rt)&&s.references.every((e=>s.scope===e.scope))){n=c}}else{var i=c.evaluate(t);if(i!==c&&(t.option("unsafe_regexp")||!(i instanceof RegExp))){n=make_node_from_constant(i,c)}}if(n){const r=e.size(t);const i=n.size(t);let a=0;if(t.option("unused")&&!t.exposed(s)){a=(r+2+i)/(s.references.length-s.assignments)}if(i<=r+a){return n}}}}return e}));function scope_encloses_variables_in_this_scope(e,t){for(const n of t.enclosed){if(t.variables.has(n.name)){continue}const r=e.find_variable(n.name);if(r){if(r===n)continue;return true}}return false}function is_atomic(e,t){return e instanceof Ht||e.TYPE===t.TYPE}def_optimize(on,(function(e,t){if(t.option("unsafe_undefined")){var n=find_variable(t,"undefined");if(n){var r=make_node(Ht,e,{name:"undefined",scope:n.scope,thedef:n});set_flag(r,Pn);return r}}var i=is_lhs(t.self(),t.parent());if(i&&is_atomic(i,e))return e;return make_node(st,e,{operator:"void",expression:make_node(Zt,e,{value:0})})}));def_optimize(cn,(function(e,t){var n=is_lhs(t.self(),t.parent());if(n&&is_atomic(n,e))return e;if(t.option("keep_infinity")&&!(n&&!is_atomic(n,e))&&!find_variable(t,"Infinity")){return e}return make_node(ct,e,{operator:"/",left:make_node(Zt,e,{value:1}),right:make_node(Zt,e,{value:0})})}));def_optimize(sn,(function(e,t){var n=is_lhs(t.self(),t.parent());if(n&&!is_atomic(n,e)||find_variable(t,"NaN")){return make_node(ct,e,{operator:"/",left:make_node(Zt,e,{value:0}),right:make_node(Zt,e,{value:0})})}return e}));function is_reachable(e,t){const find_ref=e=>{if(e instanceof Ht&&member(e.definition(),t)){return pn}};return walk_parent(e,((t,n)=>{if(t instanceof pe&&t!==e){var r=n.parent();if(r instanceof Xe&&r.expression===t)return;if(walk(t,find_ref))return pn;return true}}))}const Xn=makePredicate("+ - / * % >> << >>> | ^ &");const Jn=makePredicate("* | ^ &");def_optimize(lt,(function(e,t){if(e.logical){return e.lift_sequences(t)}var n;if(t.option("dead_code")&&e.left instanceof Ht&&(n=e.left.definition()).scope===t.find_parent(me)){var r=0,i,s=e;do{i=s;s=t.parent(r++);if(s instanceof Se){if(in_try(r,s))break;if(is_reachable(n.scope,[n]))break;if(e.operator=="=")return e.right;n.fixed=false;return make_node(ct,e,{operator:e.operator.slice(0,-1),left:e.left,right:e.right}).optimize(t)}}while(s instanceof ct&&s.right===i||s instanceof Ye&&s.tail_node()===i)}e=e.lift_sequences(t);if(e.operator=="="&&e.left instanceof Ht&&e.right instanceof ct){if(e.right.left instanceof Ht&&e.right.left.name==e.left.name&&Xn.has(e.right.operator)){e.operator=e.right.operator+"=";e.right=e.right.right}else if(e.right.right instanceof Ht&&e.right.right.name==e.left.name&&Jn.has(e.right.operator)&&!e.right.left.has_side_effects(t)){e.operator=e.right.operator+"=";e.right=e.right.left}}return e;function in_try(n,r){var i=e.right;e.right=make_node(rn,i);var s=r.may_throw(t);e.right=i;var a=e.left.definition().scope;var c;while((c=t.parent(n++))!==a){if(c instanceof Le){if(c.bfinally)return true;if(s&&c.bcatch)return true}}}}));def_optimize(dt,(function(e,t){if(!t.option("evaluate")){return e}var n=e.right.evaluate(t);if(n===undefined){e=e.left}else if(n!==e.right){n=make_node_from_constant(n,e.right);e.right=best_of_expression(n,e.right)}return e}));function is_nullish(e){let t;return e instanceof rn||is_undefined(e)||e instanceof Ht&&(t=e.definition().fixed)instanceof W&&is_nullish(t)||e instanceof Ze&&e.optional&&is_nullish(e.expression)||e instanceof Xe&&e.optional&&is_nullish(e.expression)||e instanceof rt&&is_nullish(e.expression)}function is_nullish_check(e,t,n){if(t.may_throw(n))return false;let r;if(e instanceof ct&&e.operator==="=="&&((r=is_nullish(e.left)&&e.left)||(r=is_nullish(e.right)&&e.right))&&(r===e.left?e.right:e.left).equivalent_to(t)){return true}if(e instanceof ct&&e.operator==="||"){let n;let r;const find_comparison=e=>{if(!(e instanceof ct&&(e.operator==="==="||e.operator==="=="))){return false}let i=0;let s;if(e.left instanceof rn){i++;n=e;s=e.right}if(e.right instanceof rn){i++;n=e;s=e.left}if(is_undefined(e.left)){i++;r=e;s=e.right}if(is_undefined(e.right)){i++;r=e;s=e.left}if(i!==1){return false}if(!s.equivalent_to(t)){return false}return true};if(!find_comparison(e.left))return false;if(!find_comparison(e.right))return false;if(n&&r&&n!==r){return true}}return false}def_optimize(ut,(function(e,t){if(!t.option("conditionals"))return e;if(e.condition instanceof Ye){var n=e.condition.expressions.slice();e.condition=n.pop();n.push(e);return make_sequence(e,n)}var r=e.condition.evaluate(t);if(r!==e.condition){if(r){return maintain_this_binding(t.parent(),t.self(),e.consequent)}else{return maintain_this_binding(t.parent(),t.self(),e.alternative)}}var i=r.negate(t,first_in_statement(t));if(best_of(t,r,i)===i){e=make_node(ut,e,{condition:i,consequent:e.alternative,alternative:e.consequent})}var s=e.condition;var a=e.consequent;var c=e.alternative;if(s instanceof Ht&&a instanceof Ht&&s.definition()===a.definition()){return make_node(ct,e,{operator:"||",left:s,right:c})}if(a instanceof lt&&c instanceof lt&&a.operator===c.operator&&a.logical===c.logical&&a.left.equivalent_to(c.left)&&(!e.condition.has_side_effects(t)||a.operator=="="&&!a.left.has_side_effects(t))){return make_node(lt,e,{operator:a.operator,left:a.left,logical:a.logical,right:make_node(ut,e,{condition:e.condition,consequent:a.right,alternative:c.right})})}var u;if(a instanceof Xe&&c.TYPE===a.TYPE&&a.args.length>0&&a.args.length==c.args.length&&a.expression.equivalent_to(c.expression)&&!e.condition.has_side_effects(t)&&!a.expression.has_side_effects(t)&&typeof(u=single_arg_diff())=="number"){var l=a.clone();l.args[u]=make_node(ut,e,{condition:e.condition,consequent:a.args[u],alternative:c.args[u]});return l}if(c instanceof ut&&a.equivalent_to(c.consequent)){return make_node(ut,e,{condition:make_node(ct,e,{operator:"||",left:s,right:c.condition}),consequent:a,alternative:c.alternative}).optimize(t)}if(t.option("ecma")>=2020&&is_nullish_check(s,c,t)){return make_node(ct,e,{operator:"??",left:c,right:a}).optimize(t)}if(c instanceof Ye&&a.equivalent_to(c.expressions[c.expressions.length-1])){return make_sequence(e,[make_node(ct,e,{operator:"||",left:s,right:make_sequence(e,c.expressions.slice(0,-1))}),a]).optimize(t)}if(c instanceof ct&&c.operator=="&&"&&a.equivalent_to(c.right)){return make_node(ct,e,{operator:"&&",left:make_node(ct,e,{operator:"||",left:s,right:c.left}),right:a}).optimize(t)}if(a instanceof ut&&a.alternative.equivalent_to(c)){return make_node(ut,e,{condition:make_node(ct,e,{left:e.condition,operator:"&&",right:a.condition}),consequent:a.consequent,alternative:c})}if(a.equivalent_to(c)){return make_sequence(e,[e.condition,a]).optimize(t)}if(a instanceof ct&&a.operator=="||"&&a.right.equivalent_to(c)){return make_node(ct,e,{operator:"||",left:make_node(ct,e,{operator:"&&",left:e.condition,right:a.left}),right:c}).optimize(t)}var d=t.in_boolean_context();if(is_true(e.consequent)){if(is_false(e.alternative)){return booleanize(e.condition)}return make_node(ct,e,{operator:"||",left:booleanize(e.condition),right:e.alternative})}if(is_false(e.consequent)){if(is_true(e.alternative)){return booleanize(e.condition.negate(t))}return make_node(ct,e,{operator:"&&",left:booleanize(e.condition.negate(t)),right:e.alternative})}if(is_true(e.alternative)){return make_node(ct,e,{operator:"||",left:booleanize(e.condition.negate(t)),right:e.consequent})}if(is_false(e.alternative)){return make_node(ct,e,{operator:"&&",left:booleanize(e.condition),right:e.consequent})}return e;function booleanize(e){if(e.is_boolean())return e;return make_node(st,e,{operator:"!",expression:e.negate(t)})}function is_true(e){return e instanceof dn||d&&e instanceof Jt&&e.getValue()||e instanceof st&&e.operator=="!"&&e.expression instanceof Jt&&!e.expression.getValue()}function is_false(e){return e instanceof ln||d&&e instanceof Jt&&!e.getValue()||e instanceof st&&e.operator=="!"&&e.expression instanceof Jt&&e.expression.getValue()}function single_arg_diff(){var e=a.args;var t=c.args;for(var n=0,r=e.length;n=2015;var r=this.expression;if(r instanceof ft){var i=r.properties;for(var s=i.length;--s>=0;){var a=i[s];if(""+(a instanceof bt?a.key.name:a.key)==e){if(!i.every((e=>e instanceof mt||n&&e instanceof bt&&!e.is_generator)))break;if(!safe_to_flatten(a.value,t))break;return make_node(nt,this,{expression:make_node(pt,r,{elements:i.map((function(e){var t=e.value;if(t instanceof ge)t=make_node(ye,t,t);var n=e.key;if(n instanceof W&&!(n instanceof Nt)){return make_sequence(e,[n,t])}return t}))}),property:make_node(Zt,this,{value:s})})}}}}));def_optimize(nt,(function(e,t){var n=e.expression;var r=e.property;if(t.option("properties")){var i=r.evaluate(t);if(i!==r){if(typeof i=="string"){if(i=="undefined"){i=undefined}else{var s=parseFloat(i);if(s.toString()==i){i=s}}}r=e.property=best_of_expression(r,make_node_from_constant(i,r).transform(t));var a=""+i;if(is_basic_identifier_string(a)&&a.length<=r.size()+1){return make_node(et,e,{expression:n,optional:e.optional,property:a,quote:r.quote}).optimize(t)}}}var c;e:if(t.option("arguments")&&n instanceof Ht&&n.name=="arguments"&&n.definition().orig.length==1&&(c=n.scope)instanceof me&&c.uses_arguments&&!(c instanceof ve)&&r instanceof Zt){var u=r.getValue();var l=new Set;var d=c.argnames;for(var p=0;p1){m=null}}else if(!m&&!t.option("keep_fargs")&&u=c.argnames.length){m=c.create_symbol(Rt,{source:c,scope:c,tentative_name:"argument_"+c.argnames.length});c.argnames.push(m)}}if(m){var y=make_node(Ht,e,m);y.reference({});clear_flag(m,Dn);return y}}if(is_lhs(e,t.parent()))return e;if(i!==r){var _=e.flatten_object(a,t);if(_){n=e.expression=_.expression;r=e.property=_.property}}if(t.option("properties")&&t.option("side_effects")&&r instanceof Zt&&n instanceof pt){var u=r.getValue();var b=n.elements;var x=b[u];e:if(safe_to_flatten(x,t)){var k=true;var E=[];for(var w=b.length;--w>u;){var s=b[w].drop_side_effect_free(t);if(s){E.unshift(s);if(k&&s.has_side_effects(t))k=false}}if(x instanceof he)break e;x=x instanceof an?make_node(on,x):x;if(!k)E.unshift(x);while(--w>=0){var s=b[w];if(s instanceof he)break e;s=s.drop_side_effect_free(t);if(s)E.unshift(s);else u--}if(k){E.push(x);return make_sequence(e,E).optimize(t)}else return make_node(nt,e,{expression:make_node(pt,n,{elements:E}),property:make_node(Zt,r,{value:u})})}}var S=e.evaluate(t);if(S!==e){S=make_node_from_constant(S,e).optimize(t);return best_of(t,S,e)}if(e.optional&&is_nullish(e.expression)){return make_node(on,e)}return e}));def_optimize(rt,(function(e,t){e.expression=e.expression.optimize(t);return e}));me.DEFMETHOD("contains_this",(function(){return walk(this,(e=>{if(e instanceof Qt)return pn;if(e!==this&&e instanceof pe&&!(e instanceof ve)){return true}}))}));def_optimize(et,(function(e,t){const n=t.parent();if(is_lhs(e,n))return e;if(t.option("unsafe_proto")&&e.expression instanceof et&&e.expression.property=="prototype"){var r=e.expression.expression;if(is_undeclared_ref(r))switch(r.name){case"Array":e.expression=make_node(pt,e.expression,{elements:[]});break;case"Function":e.expression=make_node(ye,e.expression,{argnames:[],body:[]});break;case"Number":e.expression=make_node(Zt,e.expression,{value:0});break;case"Object":e.expression=make_node(ft,e.expression,{properties:[]});break;case"RegExp":e.expression=make_node(tn,e.expression,{value:{source:"t",flags:""}});break;case"String":e.expression=make_node(Yt,e.expression,{value:""});break}}if(!(n instanceof Xe)||!has_annotation(n,gn)){const n=e.flatten_object(e.property,t);if(n)return n.optimize(t)}let i=e.evaluate(t);if(i!==e){i=make_node_from_constant(i,e).optimize(t);return best_of(t,i,e)}if(e.optional&&is_nullish(e.expression)){return make_node(on,e)}return e}));function literals_in_boolean_context(e,t){if(t.in_boolean_context()){return best_of(t,e,make_sequence(e,[e,make_node(dn,e)]).optimize(t))}return e}function inline_array_like_spread(e){for(var t=0;te instanceof an))){e.splice(t,1,...r.elements);t--}}}}def_optimize(pt,(function(e,t){var n=literals_in_boolean_context(e,t);if(n!==e){return n}inline_array_like_spread(e.elements);return e}));function inline_object_prop_spread(e){for(var t=0;te instanceof mt))){e.splice(t,1,...r.properties);t--}else if(r instanceof Jt&&!(r instanceof Yt)){e.splice(t,1)}}}}def_optimize(ft,(function(e,t){var n=literals_in_boolean_context(e,t);if(n!==e){return n}inline_object_prop_spread(e.properties);return e}));def_optimize(tn,literals_in_boolean_context);def_optimize(Ce,(function(e,t){if(e.value&&is_undefined(e.value,t)){e.value=null}return e}));def_optimize(ve,opt_AST_Lambda);def_optimize(ye,(function(e,t){e=opt_AST_Lambda(e,t);if(t.option("unsafe_arrows")&&t.option("ecma")>=2015&&!e.name&&!e.is_generator&&!e.uses_arguments&&!e.pinned()){const n=walk(e,(e=>{if(e instanceof Qt)return pn}));if(!n)return make_node(ve,e,e).optimize(t)}return e}));def_optimize(kt,(function(e){return e}));def_optimize(Te,(function(e,t){if(e.expression&&!e.is_star&&is_undefined(e.expression,t)){e.expression=null}return e}));def_optimize(ke,(function(e,t){if(!t.option("evaluate")||t.parent()instanceof xe){return e}var n=[];for(var r=0;r=2015&&(!(n instanceof RegExp)||n.test(e.key+""))){var r=e.key;var i=e.value;var s=i instanceof ve&&Array.isArray(i.body)&&!i.contains_this();if((s||i instanceof ye)&&!i.name){return make_node(bt,e,{async:i.async,is_generator:i.is_generator,key:r instanceof W?r:make_node(Nt,e,{name:r}),value:make_node(ge,i,i),quote:e.quote})}}return e}));def_optimize(be,(function(e,t){if(t.option("pure_getters")==true&&t.option("unused")&&!e.is_array&&Array.isArray(e.names)&&!is_destructuring_export_decl(t)&&!(e.names[e.names.length-1]instanceof he)){var n=[];for(var r=0;r1)throw new Error("inline source map only works with singular input");t.sourceMap.content=read_source_map(e[s])}}i=t.parse.toplevel}if(r&&t.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys(i,r)}if(t.wrap){i=i.wrap_commonjs(t.wrap)}if(t.enclose){i=i.wrap_enclose(t.enclose)}if(n)n.rename=Date.now();if(n)n.compress=Date.now();if(t.compress){i=new Compressor(t.compress,{mangle_options:t.mangle}).compress(i)}if(n)n.scope=Date.now();if(t.mangle)i.figure_out_scope(t.mangle);if(n)n.mangle=Date.now();if(t.mangle){Cn.reset();i.compute_char_frequency(t.mangle);i.mangle_names(t.mangle)}if(n)n.properties=Date.now();if(t.mangle&&t.mangle.properties){i=mangle_properties(i,t.mangle.properties)}if(n)n.format=Date.now();var a={};if(t.format.ast){a.ast=i}if(!HOP(t.format,"code")||t.format.code){if(t.sourceMap){t.format.source_map=await SourceMap({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root});if(t.sourceMap.includeSources){if(e instanceof fe){throw new Error("original source content unavailable")}else for(var s in e)if(HOP(e,s)){t.format.source_map.get().setSourceContent(s,e[s])}}}delete t.format.ast;delete t.format.code;var c=OutputStream(t.format);i.print(c);a.code=c.get();if(t.sourceMap){if(t.sourceMap.asObject){a.map=t.format.source_map.get().toJSON()}else{a.map=t.format.source_map.toString()}if(t.sourceMap.url=="inline"){var u=typeof a.map==="object"?JSON.stringify(a.map):a.map;a.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+er(u)}else if(t.sourceMap.url){a.code+="\n//# sourceMappingURL="+t.sourceMap.url}}}if(t.nameCache&&t.mangle){if(t.mangle.cache)t.nameCache.vars=cache_to_json(t.mangle.cache);if(t.mangle.properties&&t.mangle.properties.cache){t.nameCache.props=cache_to_json(t.mangle.properties.cache)}}if(t.format&&t.format.source_map){t.format.source_map.destroy()}if(n){n.end=Date.now();a.timings={parse:.001*(n.rename-n.parse),rename:.001*(n.compress-n.rename),compress:.001*(n.scope-n.compress),scope:.001*(n.mangle-n.scope),mangle:.001*(n.properties-n.mangle),properties:.001*(n.format-n.properties),format:.001*(n.end-n.format),total:.001*(n.end-n.start)}}return a}async function run_cli({program:e,packageJson:t,fs:r,path:i}){const s=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var a={};var c={compress:false,mangle:false};const u=await _default_options();e.version(t.name+" "+t.version);e.parseArgv=e.parse;e.parse=undefined;if(process.argv.includes("ast"))e.helpInformation=describe_ast;else if(process.argv.includes("options"))e.helpInformation=function(){var e=[];for(var t in u){e.push("--"+(t==="sourceMap"?"source-map":t)+" options:");e.push(format_object(u[t]));e.push("")}return e.join("\n")};e.option("-p, --parse ","Specify parser options.",parse_js());e.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());e.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());e.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());e.option("-f, --format [options]","Format options.",parse_js());e.option("-b, --beautify [options]","Alias for --format.",parse_js());e.option("-o, --output ","Output file (default STDOUT).");e.option("--comments [filter]","Preserve copyright comments in the output.");e.option("--config-file ","Read minify() options from JSON file.");e.option("-d, --define [=value]","Global definitions.",parse_js("define"));e.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");e.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");e.option("--ie8","Support non-standard Internet Explorer 8.");e.option("--keep-classnames","Do not mangle/drop class names.");e.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");e.option("--module","Input is an ES6 module");e.option("--name-cache ","File to hold mangled name mappings.");e.option("--rename","Force symbol expansion.");e.option("--no-rename","Disable symbol expansion.");e.option("--safari10","Support non-standard Safari 10.");e.option("--source-map [options]","Enable source map/specify source map options.",parse_js());e.option("--timings","Display operations run time on STDERR.");e.option("--toplevel","Compress and/or mangle variables in toplevel scope.");e.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");e.arguments("[files...]").parseArgv(process.argv);if(e.configFile){c=JSON.parse(read_file(e.configFile))}if(!e.output&&e.sourceMap&&e.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(t){if(t in e){c[t]=e[t]}}));if("ecma"in e){if(e.ecma!=(e.ecma|0))fatal("ERROR: ecma must be an integer");const t=e.ecma|0;if(t>5&&t<2015)c.ecma=t+2009;else c.ecma=t}if(e.format||e.beautify){const t=e.format||e.beautify;c.format=typeof t==="object"?t:{}}if(e.comments){if(typeof c.format!="object")c.format={};c.format.comments=typeof e.comments=="string"?e.comments=="false"?false:e.comments:"some"}if(e.define){if(typeof c.compress!="object")c.compress={};if(typeof c.compress.global_defs!="object")c.compress.global_defs={};for(var l in e.define){c.compress.global_defs[l]=e.define[l]}}if(e.keepClassnames){c.keep_classnames=true}if(e.keepFnames){c.keep_fnames=true}if(e.mangleProps){if(e.mangleProps.domprops){delete e.mangleProps.domprops}else{if(typeof e.mangleProps!="object")e.mangleProps={};if(!Array.isArray(e.mangleProps.reserved))e.mangleProps.reserved=[]}if(typeof c.mangle!="object")c.mangle={};c.mangle.properties=e.mangleProps}if(e.nameCache){c.nameCache=JSON.parse(read_file(e.nameCache,"{}"))}if(e.output=="ast"){c.format={ast:true,code:false}}if(e.parse){if(!e.parse.acorn&&!e.parse.spidermonkey){c.parse=e.parse}else if(e.sourceMap&&e.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~e.rawArgs.indexOf("--rename")){c.rename=true}else if(!e.rename){c.rename=false}let convert_path=e=>e;if(typeof e.sourceMap=="object"&&"base"in e.sourceMap){convert_path=function(){var t=e.sourceMap.base;delete c.sourceMap.base;return function(e){return i.relative(t,e)}}()}let d;if(c.files&&c.files.length){d=c.files;delete c.files}else if(e.args.length){d=e.args}if(d){simple_glob(d).forEach((function(e){a[convert_path(e)]=read_file(e)}))}else{await new Promise((e=>{var t=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(e){t.push(e)})).on("end",(function(){a=[t.join("")];e()}));process.stdin.resume()}))}await run_cli();function convert_ast(e){return W.from_mozilla_ast(Object.keys(a).reduce(e,null))}async function run_cli(){var t=e.sourceMap&&e.sourceMap.content;if(t&&t!=="inline"){c.sourceMap.content=read_file(t,t)}if(e.timings)c.timings=true;try{if(e.parse){if(e.parse.acorn){a=convert_ast((function(t,r){return n(20976).parse(a[r],{ecmaVersion:2018,locations:true,program:t,sourceFile:r,sourceType:c.module||e.parse.module?"module":"script"})}))}else if(e.parse.spidermonkey){a=convert_ast((function(e,t){var n=JSON.parse(a[t]);if(!e)return n;e.body=e.body.concat(n.body);return e}))}}}catch(e){fatal(e)}let i;try{i=await minify(a,c)}catch(e){if(e.name=="SyntaxError"){print_error("Parse error at "+e.filename+":"+e.line+","+e.col);var u=e.col;var l=a[e.filename].split(/\r?\n/);var d=l[e.line-1];if(!d&&!u){d=l[e.line-2];u=d.length}if(d){var p=70;if(u>p){d=d.slice(u-p);u=p}print_error(d.slice(0,80));print_error(d.slice(0,u).replace(/\S/g," ")+"^")}}if(e.defs){print_error("Supported options:");print_error(format_object(e.defs))}fatal(e);return}if(e.output=="ast"){if(!c.compress&&!c.mangle){i.ast.figure_out_scope({})}console.log(JSON.stringify(i.ast,(function(e,t){if(t)switch(e){case"thedef":return symdef(t);case"enclosed":return t.length?t.map(symdef):undefined;case"variables":case"functions":case"globals":return t.size?collect_from_map(t,symdef):undefined}if(s.has(e))return;if(t instanceof AST_Token)return;if(t instanceof Map)return;if(t instanceof W){var n={_class:"AST_"+t.TYPE};if(t.block_scope){n.variables=t.block_scope.variables;n.functions=t.block_scope.functions;n.enclosed=t.block_scope.enclosed}t.CTOR.PROPS.forEach((function(e){n[e]=t[e]}));return n}return t}),2))}else if(e.output=="spidermonkey"){try{const e=await minify(i.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(e.ast.to_mozilla_ast(),null,2))}catch(e){fatal(e);return}}else if(e.output){r.writeFileSync(e.output,i.code);if(c.sourceMap&&c.sourceMap.url!=="inline"&&i.map){r.writeFileSync(e.output+".map",i.map)}}else{console.log(i.code)}if(e.nameCache){r.writeFileSync(e.nameCache,JSON.stringify(c.nameCache))}if(i.timings)for(var h in i.timings){print_error("- "+h+": "+i.timings[h].toFixed(3)+"s")}}function fatal(e){if(e instanceof Error)e=e.stack.replace(/^\S*?Error:/,"ERROR:");print_error(e);process.exit(1)}function simple_glob(e){if(Array.isArray(e)){return[].concat.apply([],e.map(simple_glob))}if(e&&e.match(/[*?]/)){var t=i.dirname(e);try{var n=r.readdirSync(t)}catch(e){}if(n){var s="^"+i.basename(e).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var a=process.platform==="win32"?"i":"";var c=new RegExp(s,a);var u=n.filter((function(e){return c.test(e)})).map((function(e){return i.join(t,e)}));if(u.length)return u}}return[e]}function read_file(e,t){try{return r.readFileSync(e,"utf8")}catch(e){if((e.code=="ENOENT"||e.code=="ENAMETOOLONG")&&t!=null)return t;fatal(e)}}function parse_js(e){return function(t,n){n=n||{};try{walk(parse(t,{expression:true}),(t=>{if(t instanceof lt){var r=t.left.print_to_string();var i=t.right;if(e){n[r]=i}else if(i instanceof pt){n[r]=i.elements.map(to_string)}else if(i instanceof tn){i=i.value;n[r]=new RegExp(i.source,i.flags)}else{n[r]=to_string(i)}return true}if(t instanceof At||t instanceof Ze){var r=t.print_to_string();n[r]=true;return true}if(!(t instanceof Ye))throw t;function to_string(e){return e instanceof Jt?e.getValue():e.print_to_string({quote_keys:true})}}))}catch(r){if(e){fatal("Error parsing arguments for '"+e+"': "+t)}else{n[t]=null}}return n}}function symdef(e){var t=1e6+e.id+" "+e.name;if(e.mangled_name)t+=" "+e.mangled_name;return t}function collect_from_map(e,t){var n=[];e.forEach((function(e){n.push(t(e))}));return n}function format_object(e){var t=[];var n="";Object.keys(e).map((function(t){if(n.length!/^\$/.test(e)));if(n.length>0){e.space();e.with_parens((function(){n.forEach((function(t,n){if(n)e.space();e.print(t)}))}))}if(t.documentation){e.space();e.print_string(t.documentation)}if(t.SUBCLASSES.length>0){e.space();e.with_block((function(){t.SUBCLASSES.forEach((function(t){e.indent();doitem(t);e.newline()}))}))}}doitem(W);return e+"\n"}}async function _default_options(){const e={};Object.keys(infer_options({0:0})).forEach((t=>{const n=infer_options({[t]:{0:0}});if(n)e[t]=n}));return e}async function infer_options(e){try{await minify("",e)}catch(e){return e.defs}}e._default_options=_default_options;e._run_cli=run_cli;e.minify=minify}))},85431:(e,t)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(e,t){const n=new ArraySet;for(let r=0,i=e.length;r=0){return t}throw new Error('"'+e+'" is not in the set.')}at(e){if(e>=0&&e{const r=n(45210);const i=5;const s=1<>1;return t?-n:n}t.encode=function base64VLQ_encode(e){let t="";let n;let s=toVLQSigned(e);do{n=s&a;s>>>=i;if(s>0){n|=c}t+=r.encode(n)}while(s>0);return t}},45210:(e,t)=>{const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e{t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,r,i,s,a){const c=Math.floor((n-e)/2)+e;const u=s(r,i[c],true);if(u===0){return c}else if(u>0){if(n-c>1){return recursiveSearch(c,n,r,i,s,a)}if(a==t.LEAST_UPPER_BOUND){return n1){return recursiveSearch(e,c,r,i,s,a)}if(a==t.LEAST_UPPER_BOUND){return c}return e<0?-1:e}t.search=function search(e,n,r,i){if(n.length===0){return-1}let s=recursiveSearch(-1,n.length,e,n,r,i||t.GREATEST_LOWER_BOUND);if(s<0){return-1}while(s-1>=0){if(r(n[s],n[s-1],true)!==0){break}--s}return s}},48935:(e,t,n)=>{const r=n(53033);function generatedPositionAfter(e,t){const n=e.generatedLine;const i=t.generatedLine;const s=e.generatedColumn;const a=t.generatedColumn;return i>n||i==n&&a>=s||r.compareByGeneratedPositionsInflated(e,t)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(e,t){this._array.forEach(e,t)}add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}}toArray(){if(!this._sorted){this._array.sort(r.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}t.H=MappingList},92256:(e,t,n)=>{if(typeof fetch==="function"){let t=null;e.exports=function readWasm(){if(typeof t!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(t).then((e=>e.arrayBuffer()))};e.exports.initialize=e=>t=e}else{const t=n(35747);const r=n(85622);e.exports=function readWasm(){return new Promise(((e,r)=>{const i=n.ab+"mappings.wasm";t.readFile(n.ab+"mappings.wasm",null,((t,n)=>{if(t){r(t);return}e(n.buffer)}))}))};e.exports.initialize=e=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(e,t,n)=>{var r;const i=n(53033);const s=n(31850);const a=n(85431).I;const c=n(2635);const u=n(92256);const l=n(7059);const d=Symbol("smcInternal");class SourceMapConsumer{constructor(e,t){if(e==d){return Promise.resolve(this)}return _factory(e,t)}static initialize(e){u.initialize(e["lib/mappings.wasm"])}static fromSourceMap(e,t){return _factoryBSM(e,t)}static with(e,t,n){let r=null;const i=new SourceMapConsumer(e,t);return i.then((e=>{r=e;return n(e)})).then((e=>{if(r){r.destroy()}return e}),(e=>{if(r){r.destroy()}throw e}))}_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")}eachMapping(e,t,n){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(e){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;t.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(e,t){return super(d).then((n=>{let r=e;if(typeof e==="string"){r=i.parseSourceMapInput(e)}const s=i.getArg(r,"version");let c=i.getArg(r,"sources");const u=i.getArg(r,"names",[]);let d=i.getArg(r,"sourceRoot",null);const p=i.getArg(r,"sourcesContent",null);const h=i.getArg(r,"mappings");const m=i.getArg(r,"file",null);if(s!=n._version){throw new Error("Unsupported version: "+s)}if(d){d=i.normalize(d)}c=c.map(String).map(i.normalize).map((function(e){return d&&i.isAbsolute(d)&&i.isAbsolute(e)?i.relative(d,e):e}));n._names=a.fromArray(u.map(String),true);n._sources=a.fromArray(c,true);n._absoluteSources=n._sources.toArray().map((function(e){return i.computeSourceURL(d,e,t)}));n.sourceRoot=d;n.sourcesContent=p;n._mappings=h;n._sourceMapURL=t;n.file=m;n._computedColumnSpans=false;n._mappingsPtr=0;n._wasm=null;return l().then((e=>{n._wasm=e;return n}))}))}_findSourceIndex(e){let t=e;if(this.sourceRoot!=null){t=i.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}for(let t=0;t{if(t.source!==null){t.source=this._sources.at(t.source);t.source=i.computeSourceURL(a,t.source,this._sourceMapURL);if(t.name!==null){t.name=this._names.at(t.name)}}e.call(r,t)}),(()=>{switch(s){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(e){let t=i.getArg(e,"source");const n=i.getArg(e,"line");const r=e.column||0;t=this._findSourceIndex(t);if(t<0){return[]}if(n<1){throw new Error("Line numbers must be >= 1")}if(r<0){throw new Error("Column numbers must be >= 0")}const s=[];this._wasm.withMappingCallback((e=>{let t=e.lastGeneratedColumn;if(this._computedColumnSpans&&t===null){t=Infinity}s.push({line:e.generatedLine,column:e.generatedColumn,lastColumn:t})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),t,n-1,"column"in e,r)}));return s}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(e){const t={generatedLine:i.getArg(e,"line"),generatedColumn:i.getArg(e,"column")};if(t.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(t.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let n=i.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(n==null){n=SourceMapConsumer.GREATEST_LOWER_BOUND}let r;this._wasm.withMappingCallback((e=>r=e),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),t.generatedLine-1,t.generatedColumn,n)}));if(r){if(r.generatedLine===t.generatedLine){let e=i.getArg(r,"source",null);if(e!==null){e=this._sources.at(e);e=i.computeSourceURL(this.sourceRoot,e,this._sourceMapURL)}let t=i.getArg(r,"name",null);if(t!==null){t=this._names.at(t)}return{source:e,line:i.getArg(r,"originalLine",null),column:i.getArg(r,"originalColumn",null),name:t}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))}sourceContentFor(e,t){if(!this.sourcesContent){return null}const n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}let r=e;if(this.sourceRoot!=null){r=i.relative(this.sourceRoot,r)}let s;if(this.sourceRoot!=null&&(s=i.urlParse(this.sourceRoot))){const e=r.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(e)){return this.sourcesContent[this._sources.indexOf(e)]}if((!s.path||s.path=="/")&&this._sources.has("/"+r)){return this.sourcesContent[this._sources.indexOf("/"+r)]}}if(t){return null}throw new Error('"'+r+'" is not in the SourceMap.')}generatedPositionFor(e){let t=i.getArg(e,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}const n={source:t,originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};if(n.originalLine<1){throw new Error("Line numbers must be >= 1")}if(n.originalColumn<0){throw new Error("Column numbers must be >= 0")}let r=i.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(r==null){r=SourceMapConsumer.GREATEST_LOWER_BOUND}let s;this._wasm.withMappingCallback((e=>s=e),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),n.source,n.originalLine-1,n.originalColumn,r)}));if(s){if(s.source===n.source){let e=s.lastGeneratedColumn;if(this._computedColumnSpans&&e===null){e=Infinity}return{line:i.getArg(s,"generatedLine",null),column:i.getArg(s,"generatedColumn",null),lastColumn:e}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;r=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(e,t){return super(d).then((n=>{let r=e;if(typeof e==="string"){r=i.parseSourceMapInput(e)}const s=i.getArg(r,"version");const c=i.getArg(r,"sections");if(s!=n._version){throw new Error("Unsupported version: "+s)}n._sources=new a;n._names=new a;n.__generatedMappings=null;n.__originalMappings=null;n.__generatedMappingsUnsorted=null;n.__originalMappingsUnsorted=null;let u={line:-1,column:0};return Promise.all(c.map((e=>{if(e.url){throw new Error("Support for url field in sections not implemented.")}const n=i.getArg(e,"offset");const r=i.getArg(n,"line");const s=i.getArg(n,"column");if(r({generatedOffset:{generatedLine:r+1,generatedColumn:s+1},consumer:e})))}))).then((e=>{n._sections=e;return n}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const e=this._generatedMappingsUnsorted;e.sort(i.compareByGeneratedPositionsDeflated);this.__generatedMappings=e}_sortOriginalMappings(){const e=this._originalMappingsUnsorted;e.sort(i.compareByOriginalPositions);this.__originalMappings=e}get sources(){const e=[];for(let t=0;ts.push(e)));for(let e=0;e= 1")}if(n.originalColumn<0){throw new Error("Column numbers must be >= 0")}const r=[];let a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,s.LEAST_UPPER_BOUND);if(a>=0){let n=this._originalMappings[a];if(e.column===undefined){const e=n.originalLine;while(n&&n.originalLine===e){let e=n.lastGeneratedColumn;if(this._computedColumnSpans&&e===null){e=Infinity}r.push({line:i.getArg(n,"generatedLine",null),column:i.getArg(n,"generatedColumn",null),lastColumn:e});n=this._originalMappings[++a]}}else{const e=n.originalColumn;while(n&&n.originalLine===t&&n.originalColumn==e){let e=n.lastGeneratedColumn;if(this._computedColumnSpans&&e===null){e=Infinity}r.push({line:i.getArg(n,"generatedLine",null),column:i.getArg(n,"generatedColumn",null),lastColumn:e});n=this._originalMappings[++a]}}}return r}destroy(){for(let e=0;e{const r=n(2635);const i=n(53033);const s=n(85431).I;const a=n(48935).H;class SourceMapGenerator{constructor(e){if(!e){e={}}this._file=i.getArg(e,"file",null);this._sourceRoot=i.getArg(e,"sourceRoot",null);this._skipValidation=i.getArg(e,"skipValidation",false);this._sources=new s;this._names=new s;this._mappings=new a;this._sourcesContents=null}static fromSourceMap(e){const t=e.sourceRoot;const n=new SourceMapGenerator({file:e.file,sourceRoot:t});e.eachMapping((function(e){const r={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){r.source=e.source;if(t!=null){r.source=i.relative(t,r.source)}r.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){r.name=e.name}}n.addMapping(r)}));e.sources.forEach((function(r){let s=r;if(t!==null){s=i.relative(t,r)}if(!n._sources.has(s)){n._sources.add(s)}const a=e.sourceContentFor(r);if(a!=null){n.setSourceContent(r,a)}}));return n}addMapping(e){const t=i.getArg(e,"generated");const n=i.getArg(e,"original",null);let r=i.getArg(e,"source",null);let s=i.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,n,r,s)}if(r!=null){r=String(r);if(!this._sources.has(r)){this._sources.add(r)}}if(s!=null){s=String(s);if(!this._names.has(s)){this._names.add(s)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:r,name:s})}setSourceContent(e,t){let n=e;if(this._sourceRoot!=null){n=i.relative(this._sourceRoot,n)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[i.toSetString(n)]=t}else if(this._sourcesContents){delete this._sourcesContents[i.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(e,t,n){let r=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}r=e.file}const a=this._sourceRoot;if(a!=null){r=i.relative(a,r)}const c=this._mappings.toArray().length>0?new s:this._sources;const u=new s;this._mappings.unsortedForEach((function(t){if(t.source===r&&t.originalLine!=null){const r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(r.source!=null){t.source=r.source;if(n!=null){t.source=i.join(n,t.source)}if(a!=null){t.source=i.relative(a,t.source)}t.originalLine=r.line;t.originalColumn=r.column;if(r.name!=null){t.name=r.name}}}const s=t.source;if(s!=null&&!c.has(s)){c.add(s)}const l=t.name;if(l!=null&&!u.has(l)){u.add(l)}}),this);this._sources=c;this._names=u;e.sources.forEach((function(t){const r=e.sourceContentFor(t);if(r!=null){if(n!=null){t=i.join(n,t)}if(a!=null){t=i.relative(a,t)}this.setSourceContent(t,r)}}),this)}_validateMapping(e,t,n,r){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r){}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}}_serializeMappings(){let e=0;let t=1;let n=0;let s=0;let a=0;let c=0;let u="";let l;let d;let p;let h;const m=this._mappings.toArray();for(let g=0,y=m.length;g0){if(!i.compareByGeneratedPositionsInflated(d,m[g-1])){continue}l+=","}l+=r.encode(d.generatedColumn-e);e=d.generatedColumn;if(d.source!=null){h=this._sources.indexOf(d.source);l+=r.encode(h-c);c=h;l+=r.encode(d.originalLine-1-s);s=d.originalLine-1;l+=r.encode(d.originalColumn-n);n=d.originalColumn;if(d.name!=null){p=this._names.indexOf(d.name);l+=r.encode(p-a);a=p}}u+=l}return u}_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents){return null}if(t!=null){e=i.relative(t,e)}const n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)}toJSON(){const e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;t.SourceMapGenerator=SourceMapGenerator},98160:(e,t,n)=>{const r=n(69010).SourceMapGenerator;const i=n(53033);const s=/(\r?\n)/;const a=10;const c="$$$isSourceNode$$$";class SourceNode{constructor(e,t,n,r,i){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=n==null?null:n;this.name=i==null?null:i;this[c]=true;if(r!=null)this.add(r)}static fromStringWithSourceMap(e,t,n){const r=new SourceNode;const a=e.split(s);let c=0;const shiftNextLine=function(){const e=getNextLine();const t=getNextLine()||"";return e+t;function getNextLine(){return c=0;t--){this.prepend(e[t])}}else if(e[c]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this}walk(e){let t;for(let n=0,r=this.children.length;n0){t=[];for(n=0;n{function getArg(e,t,n){if(t in e){return e[t]}else if(arguments.length===3){return n}throw new Error('"'+t+'" is a required argument.')}t.getArg=getArg;const n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const r=/^data:.+\,.+$/;function urlParse(e){const t=e.match(n);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(e){let t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=urlGenerate;const i=32;function lruMemoize(e){const t=[];return function(n){for(let e=0;ei){t.pop()}return r}}const s=lruMemoize((function normalize(e){let n=e;const r=urlParse(e);if(r){if(!r.path){return e}n=r.path}const i=t.isAbsolute(n);const s=[];let a=0;let c=0;while(true){a=c;c=n.indexOf("/",a);if(c===-1){s.push(n.slice(a));break}else{s.push(n.slice(a,c));while(c=0;c--){const e=s[c];if(e==="."){s.splice(c,1)}else if(e===".."){u++}else if(u>0){if(e===""){s.splice(c+1,u);u=0}else{s.splice(c,2);u--}}}n=s.join("/");if(n===""){n=i?"/":"."}if(r){r.path=n;return urlGenerate(r)}return n}));t.normalize=s;function join(e,t){if(e===""){e="."}if(t===""){t="."}const n=urlParse(t);const i=urlParse(e);if(i){e=i.path||"/"}if(n&&!n.scheme){if(i){n.scheme=i.scheme}return urlGenerate(n)}if(n||t.match(r)){return t}if(i&&!i.host&&!i.path){i.host=t;return urlGenerate(i)}const a=t.charAt(0)==="/"?t:s(e.replace(/\/+$/,"")+"/"+t);if(i){i.path=a;return urlGenerate(i)}return a}t.join=join;t.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");let n=0;while(t.indexOf(e+"/")!==0){const r=e.lastIndexOf("/");if(r<0){return t}e=e.slice(0,r);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++n}return Array(n+1).join("../")+t.substr(e.length+1)}t.relative=relative;const a=function(){const e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}t.toSetString=a?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}t.fromSetString=a?identity:fromSetString;function isProtoString(e){if(!e){return false}const t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(let n=t-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,t,n){let r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0||n){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=e.generatedLine-t.generatedLine;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,t,n){let r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0||n){return r}r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function compareByGeneratedPositionsInflated(e,t){let n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,t,n){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(n){const e=urlParse(n);if(!e){throw new Error("sourceMapURL could not be parsed")}if(e.path){const t=e.path.lastIndexOf("/");if(t>=0){e.path=e.path.substring(0,t+1)}}t=join(urlGenerate(e),t)}return s(t)}t.computeSourceURL=computeSourceURL},7059:(e,t,n)=>{const r=n(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let i=null;e.exports=function wasm(){if(i){return i}const e=[];i=r().then((t=>WebAssembly.instantiate(t,{env:{mapping_callback(t,n,r,i,s,a,c,u,l,d){const p=new Mapping;p.generatedLine=t+1;p.generatedColumn=n;if(r){p.lastGeneratedColumn=i-1}if(s){p.source=a;p.originalLine=c+1;p.originalColumn=u;if(l){p.name=d}}e[e.length-1](p)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((t=>({exports:t.instance.exports,withMappingCallback:(t,n)=>{e.push(t);try{n()}finally{e.pop()}}}))).then(null,(e=>{i=null;throw e}));return i}},37362:(e,t,n)=>{t.SourceMapGenerator=n(69010).SourceMapGenerator;t.SourceMapConsumer=n(47532).SourceMapConsumer;t.SourceNode=n(98160).SourceNode},96217:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TsconfigPathsPlugin=void 0;var r=n(2895);Object.defineProperty(t,"TsconfigPathsPlugin",{enumerable:true,get:function(){return r.TsconfigPathsPlugin}});const i=n(2895);t.default=i.TsconfigPathsPlugin;const s=n(2895).TsconfigPathsPlugin;s.TsconfigPathsPlugin=i.TsconfigPathsPlugin;s.default=i.TsconfigPathsPlugin;e.exports=s},96028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeLogger=void 0;const r=n(57082);var i;(function(e){e[e["INFO"]=1]="INFO";e[e["WARN"]=2]="WARN";e[e["ERROR"]=3]="ERROR"})(i||(i={}));const s=new r.Console(process.stderr);const a=new r.Console(process.stdout);const doNothingLogger=e=>{};const makeLoggerFunc=e=>e.silent?(e,t)=>{}:(e,t)=>e.log(t);const makeExternalLogger=(e,t)=>n=>t(e.logInfoToStdOut?a:s,n);const makeLogInfo=(e,t,n)=>i[e.logLevel]<=i.INFO?r=>t(e.logInfoToStdOut?a:s,n(r)):doNothingLogger;const makeLogError=(e,t,n)=>i[e.logLevel]<=i.ERROR?e=>t(s,n(e)):doNothingLogger;const makeLogWarning=(e,t,n)=>i[e.logLevel]<=i.WARN?e=>t(s,n(e)):doNothingLogger;function makeLogger(e,t){const n=makeLoggerFunc(e);return{log:makeExternalLogger(e,n),logInfo:makeLogInfo(e,n,t.green),logWarning:makeLogWarning(e,n,t.yellow),logError:makeLogError(e,n,t.red)}}t.makeLogger=makeLogger},59929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOptions=void 0;const n=["configFile","extensions","baseUrl","silent","logLevel","logInfoToStdOut","context","mainFields"];function getOptions(e){validateOptions(e);const t=makeOptions(e);return t}t.getOptions=getOptions;function validateOptions(e){const t=Object.keys(e);for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TsconfigPathsPlugin=void 0;const r=n(57347);const i=n(46543);const s=n(85622);const a=n(59929);const c=n(96028);const u=n(22471);class TsconfigPathsPlugin{constructor(e={}){this.source="described-resolve";this.target="resolve";const t=a.getOptions(e);this.extensions=t.extensions;this.log=c.makeLogger(t,new r.Instance({level:t.colors?undefined:0}));const n=t.context||process.cwd();const u=t.configFile||n;const l=i.loadConfig(u);if(l.resultType==="failed"){this.log.logError(`Failed to load ${u}: ${l.message}`)}else{this.log.logInfo(`tsconfig-paths-webpack-plugin: Using config file at ${l.configFileAbsolutePath}`);this.baseUrl=t.baseUrl||l.baseUrl;this.absoluteBaseUrl=t.baseUrl?s.resolve(t.baseUrl):l.absoluteBaseUrl;this.matchPath=i.createMatchPathAsync(this.absoluteBaseUrl,l.paths,t.mainFields)}}apply(e){if(!e){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no resolver, not applying tsconfig-paths-webpack-plugin");return}const{baseUrl:t}=this;if(!t){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no baseUrl in tsconfig.json, not applying tsconfig-paths-webpack-plugin");return}if(!("fileSystem"in e)){this.log.logWarning("tsconfig-paths-webpack-plugin: No file system found on resolver."+" Please make sure you've placed the plugin in the correct part of the configuration."+" This plugin is a resolver plugin and should be placed in the resolve part of the Webpack configuration.");return}if("getHook"in e&&typeof e.getHook==="function"){e.getHook(this.source).tapAsync({name:"TsconfigPathsPlugin"},createPluginCallback(this.matchPath,e,this.absoluteBaseUrl,e.getHook(this.target),this.extensions))}else if("plugin"in e){const t=e;t.plugin(this.source,createPluginLegacy(this.matchPath,e,this.absoluteBaseUrl,this.target,this.extensions))}}}t.TsconfigPathsPlugin=TsconfigPathsPlugin;function createPluginCallback(e,t,r,i,s){const a=createFileExistAsync(t.fileSystem);const c=createReadJsonAsync(t.fileSystem);return(l,d,p)=>{const h=u(t,l);if(!h||h.startsWith(".")||h.startsWith("..")){return p()}e(h,c,a,s,((e,s)=>{if(e){return p(e)}if(!s){return p()}const a=Object.assign(Object.assign({},l),{request:s,path:r});const c=n(52227);return t.doResolve(i,a,`Resolved request '${h}' to '${s}' using tsconfig.json paths mapping`,c(Object.assign({},d)),((e,t)=>{if(e){return p(e)}if(t===undefined){return p(undefined,undefined)}p(undefined,t)}))}))}}function createPluginLegacy(e,t,r,i,s){const a=createFileExistAsync(t.fileSystem);const c=createReadJsonAsync(t.fileSystem);return(l,d)=>{const p=u(t,l);if(!p||p.startsWith(".")||p.startsWith("..")){return d()}e(p,c,a,s,((e,s)=>{if(e){return d(e)}if(!s){return d()}const a=Object.assign(Object.assign({},l),{request:s,path:r});const c=n(92915);return t.doResolve(i,a,`Resolved request '${p}' to '${s}' using tsconfig.json paths mapping`,c((function(e,t){if(arguments.length>0){return d(e,t)}d(undefined,undefined)}),d))}))}}function readJson(e,t,n){if("readJson"in e&&e.readJson){return e.readJson(t,n)}e.readFile(t,((e,t)=>{if(e){return n(e)}let r;try{r=JSON.parse(t.toString("utf-8"))}catch(e){return n(e)}return n(undefined,r)}))}function createReadJsonAsync(e){return(t,n)=>{readJson(e,t,((e,t)=>{if(e||!t){n();return}n(undefined,t)}))}}function createFileExistAsync(e){return(t,n)=>{e.stat(t,((e,t)=>{if(e){n(undefined,false);return}n(undefined,t?t.isFile():false)}))}}},36674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(9492);var i=n(85622);var s=n(26872);function loadConfig(e){if(e===void 0){e=s.options.cwd}return configLoader({cwd:e})}t.loadConfig=loadConfig;function configLoader(e){var t=e.cwd,n=e.explicitParams,s=e.tsConfigLoader,a=s===void 0?r.tsConfigLoader:s;if(n){var c=i.isAbsolute(n.baseUrl)?n.baseUrl:i.join(t,n.baseUrl);return{resultType:"success",configFileAbsolutePath:"",baseUrl:n.baseUrl,absoluteBaseUrl:c,paths:n.paths,mainFields:n.mainFields,addMatchAll:n.addMatchAll}}var u=a({cwd:t,getEnv:function(e){return process.env[e]}});if(!u.tsConfigPath){return{resultType:"failed",message:"Couldn't find tsconfig.json"}}if(!u.baseUrl){return{resultType:"failed",message:"Missing baseUrl in compilerOptions"}}var l=i.dirname(u.tsConfigPath);var d=i.join(l,u.baseUrl);return{resultType:"success",configFileAbsolutePath:u.tsConfigPath,baseUrl:u.baseUrl,absoluteBaseUrl:d,paths:u.paths||{}}}t.configLoader=configLoader},89711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(35747);function fileExistsSync(e){try{var t=r.statSync(e);return t.isFile()}catch(e){return false}}t.fileExistsSync=fileExistsSync;function readJsonFromDiskSync(e){if(!r.existsSync(e)){return undefined}return require(e)}t.readJsonFromDiskSync=readJsonFromDiskSync;function readJsonFromDiskAsync(e,t){r.readFile(e,"utf8",(function(e,n){if(e||!n){return t()}var r=JSON.parse(n);return t(undefined,r)}))}t.readJsonFromDiskAsync=readJsonFromDiskAsync;function fileExistsAsync(e,t){r.stat(e,(function(e,n){if(e){return t(undefined,false)}t(undefined,n?n.isFile():false)}))}t.fileExistsAsync=fileExistsAsync;function removeExtension(e){return e.substring(0,e.lastIndexOf("."))||e}t.removeExtension=removeExtension},46543:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(12317);t.createMatchPath=r.createMatchPath;t.matchFromAbsolutePaths=r.matchFromAbsolutePaths;var i=n(5339);t.createMatchPathAsync=i.createMatchPathAsync;t.matchFromAbsolutePathsAsync=i.matchFromAbsolutePathsAsync;var s=n(7897);t.register=s.register;var a=n(36674);t.loadConfig=a.loadConfig},98191:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(85622);function getAbsoluteMappingEntries(e,t,n){var i=sortByLongestPrefix(Object.keys(t));var s=[];for(var a=0,c=i;a{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(85622);var i=n(58455);var s=n(98191);var a=n(89711);function createMatchPathAsync(e,t,n,r){if(n===void 0){n=["main"]}if(r===void 0){r=true}var i=s.getAbsoluteMappingEntries(e,t,r);return function(e,t,r,s,a){return matchFromAbsolutePathsAsync(i,e,t,r,s,a,n)}}t.createMatchPathAsync=createMatchPathAsync;function matchFromAbsolutePathsAsync(e,t,n,r,s,c,u){if(n===void 0){n=a.readJsonFromDiskAsync}if(r===void 0){r=a.fileExistsAsync}if(s===void 0){s=Object.keys(require.extensions)}if(u===void 0){u=["main"]}var l=i.getPathsToTry(s,e,t);if(!l){return c()}findFirstExistingPath(l,n,r,c,0,u)}t.matchFromAbsolutePathsAsync=matchFromAbsolutePathsAsync;function findFirstExistingMainFieldMappedFile(e,t,n,i,s,a){if(a===void 0){a=0}if(a>=t.length){return s(undefined,undefined)}var tryNext=function(){return findFirstExistingMainFieldMappedFile(e,t,n,i,s,a+1)};var c=e[t[a]];if(typeof c!=="string"){return tryNext()}var u=r.join(r.dirname(n),c);i(u,(function(e,t){if(e){return s(e)}if(t){return s(undefined,u)}return tryNext()}))}function findFirstExistingPath(e,t,n,r,s,c){if(s===void 0){s=0}if(c===void 0){c=["main"]}var u=e[s];if(u.type==="file"||u.type==="extension"||u.type==="index"){n(u.path,(function(a,l){if(a){return r(a)}if(l){return r(undefined,i.getStrippedPath(u))}if(s===e.length-1){return r()}return findFirstExistingPath(e,t,n,r,s+1,c)}))}else if(u.type==="package"){t(u.path,(function(i,l){if(i){return r(i)}if(l){return findFirstExistingMainFieldMappedFile(l,c,u.path,n,(function(i,u){if(i){return r(i)}if(u){return r(undefined,a.removeExtension(u))}return findFirstExistingPath(e,t,n,r,s+1,c)}))}return findFirstExistingPath(e,t,n,r,s+1,c)}))}else{i.exhaustiveTypeException(u.type)}}},12317:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(85622);var i=n(89711);var s=n(98191);var a=n(58455);function createMatchPath(e,t,n,r){if(n===void 0){n=["main"]}if(r===void 0){r=true}var i=s.getAbsoluteMappingEntries(e,t,r);return function(e,t,r,s){return matchFromAbsolutePaths(i,e,t,r,s,n)}}t.createMatchPath=createMatchPath;function matchFromAbsolutePaths(e,t,n,r,s,c){if(n===void 0){n=i.readJsonFromDiskSync}if(r===void 0){r=i.fileExistsSync}if(s===void 0){s=Object.keys(require.extensions)}if(c===void 0){c=["main"]}var u=a.getPathsToTry(s,e,t);if(!u){return undefined}return findFirstExistingPath(u,n,r,c)}t.matchFromAbsolutePaths=matchFromAbsolutePaths;function findFirstExistingMainFieldMappedFile(e,t,n,i){for(var s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(40535);var i=r(process.argv.slice(2),{string:["project"],alias:{project:["P"]}});var s=i&&i.project;t.options={cwd:s||process.cwd()}},7897:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(12317);var i=n(36674);var s=n(26872);var noOp=function(){return void 0};function getCoreModules(e){e=e||["assert","buffer","child_process","cluster","crypto","dgram","dns","domain","events","fs","http","https","net","os","path","punycode","querystring","readline","stream","string_decoder","tls","tty","url","util","v8","vm","zlib"];var t={};for(var n=0,r=e;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(85622);var i=n(85622);var s=n(89711);function getPathsToTry(e,t,n){if(!t||!n||n[0]==="."||n[0]===r.sep){return undefined}var i=[];for(var s=0,a=t;s{ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -var t;var n;var r;var i;var s;var a;var c;var u;var l;var d;var p;var h;var m;var g;var y;var _;var b;var x;var k;var E;var w;var S;var C;(function(t){var n=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(n,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(n,createExporter(e.exports)))}else{t(createExporter(n))}function createExporter(e,t){if(e!==n){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(n,r){return e[n]=t?t(n,r):r}}})((function(e){var M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(t.hasOwnProperty(n))e[n]=t[n]};t=function(e,t){M(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;c--)if(a=e[c])s=(i<3?a(s):i>3?a(t,n,s):a(t,n))||s;return i>3&&s&&Object.defineProperty(t,n,s),s};s=function(e,t){return function(n,r){t(n,r,e)}};a=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};c=function(e,t,n,r){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(r.next(e))}catch(e){i(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};u=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,a;return a={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function verb(e){return function(t){return step([e,t])}}function step(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(s=a[0]&2?i["return"]:a[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,a[1])).done)return s;if(i=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]=e.length)e=void 0;return{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};p=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],a;try{while((t===void 0||t-- >0)&&!(i=r.next()).done)s.push(i.value)}catch(e){a={error:e}}finally{try{if(i&&!i.done&&(n=r["return"]))n.call(r)}finally{if(a)throw a.error}}return s};h=function(){for(var e=[],t=0;t1||resume(e,t)}))}}function resume(e,t){try{step(r[e](t))}catch(e){settle(s[0][3],e)}}function step(e){e.value instanceof g?Promise.resolve(e.value.v).then(fulfill,reject):settle(s[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),s.shift(),s.length)resume(s[0][0],s[0][1])}};_=function(e){var t,n;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:g(e[r](t)),done:r==="return"}:i?i(t):t}:i}};b=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof d==="function"?d(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(r,i){n=e[t](n),settle(r,i,n.done,n.value)}))}}function settle(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}};x=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};k=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))t[n]=e[n];t["default"]=e;return t};E=function(e){return e&&e.__esModule?e:{default:e}};w=function(e,t){if(!t.has(e)){throw new TypeError("attempted to get private field on non-instance")}return t.get(e)};S=function(e,t,n){if(!t.has(e)){throw new TypeError("attempted to set private field on non-instance")}t.set(e,n);return n};e("__extends",t);e("__assign",n);e("__rest",r);e("__decorate",i);e("__param",s);e("__metadata",a);e("__awaiter",c);e("__generator",u);e("__exportStar",l);e("__createBinding",C);e("__values",d);e("__read",p);e("__spread",h);e("__spreadArrays",m);e("__await",g);e("__asyncGenerator",y);e("__asyncDelegator",_);e("__asyncValues",b);e("__makeTemplateObject",x);e("__importStar",k);e("__importDefault",E);e("__classPrivateFieldGet",w);e("__classPrivateFieldSet",S)}))},30823:function(e,t){ -/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ -(function(e,n){true?n(t):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),n=0;n1){t[0]=t[0].slice(0,-1);var r=t.length-1;for(var i=1;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var b=s-a;var x=Math.floor;var k=String.fromCharCode;function error$1(e){throw new RangeError(_[e])}function map(e,t){var n=[];var r=e.length;while(r--){n[r]=t(e[r])}return n}function mapDomain(e,t){var n=e.split("@");var r="";if(n.length>1){r=n[0]+"@";e=n[1]}e=e.replace(y,".");var i=e.split(".");var s=map(i,t).join(".");return r+s}function ucs2decode(e){var t=[];var n=0;var r=e.length;while(n=55296&&i<=56319&&n>1;e+=x(e/t);for(;e>b*c>>1;r+=s){e=x(e/b)}return x(r+(b+1)*e/(e+u))};var M=function decode(e){var t=[];var n=e.length;var r=0;var u=p;var l=d;var m=e.lastIndexOf(h);if(m<0){m=0}for(var g=0;g=128){error$1("not-basic")}t.push(e.charCodeAt(g))}for(var y=m>0?m+1:0;y=n){error$1("invalid-input")}var E=w(e.charCodeAt(y++));if(E>=s||E>x((i-r)/b)){error$1("overflow")}r+=E*b;var S=k<=l?a:k>=l+c?c:k-l;if(Ex(i/M)){error$1("overflow")}b*=M}var I=t.length+1;l=C(r-_,I,_==0);if(x(r/I)>i-u){error$1("overflow")}u+=x(r/I);r%=I;t.splice(r++,0,u)}return String.fromCodePoint.apply(String,t)};var I=function encode(e){var t=[];e=ucs2decode(e);var n=e.length;var r=p;var u=0;var l=d;var m=true;var g=false;var y=undefined;try{for(var _=e[Symbol.iterator](),b;!(m=(b=_.next()).done);m=true){var E=b.value;if(E<128){t.push(k(E))}}}catch(e){g=true;y=e}finally{try{if(!m&&_.return){_.return()}}finally{if(g){throw y}}}var w=t.length;var M=w;if(w){t.push(h)}while(M=r&&Lx((i-u)/$)){error$1("overflow")}u+=(I-r)*$;r=I;var j=true;var z=false;var U=undefined;try{for(var q=e[Symbol.iterator](),G;!(j=(G=q.next()).done);j=true){var H=G.value;if(Hi){error$1("overflow")}if(H==r){var W=u;for(var V=s;;V+=s){var K=V<=l?a:V>=l+c?c:V-l;if(W>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else n="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return n}function pctDecChars(e){var t="";var n=0;var r=e.length;while(n=194&&i<224){if(r-n>=6){var s=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((i&31)<<6|s&63)}else{t+=e.substr(n,6)}n+=6}else if(i>=224){if(r-n>=9){var a=parseInt(e.substr(n+4,2),16);var c=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((i&15)<<12|(a&63)<<6|c&63)}else{t+=e.substr(n,9)}n+=9}else{t+=e.substr(n,3);n+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var n=pctDecChars(e);return!n.match(t.UNRESERVED)?e:n}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var n=e.match(t.IPV4ADDRESS)||[];var i=r(n,2),s=i[1];if(s){return s.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var n=e.match(t.IPV6ADDRESS)||[];var i=r(n,3),s=i[1],a=i[2];if(s){var c=s.toLowerCase().split("::").reverse(),u=r(c,2),l=u[0],d=u[1];var p=d?d.split(":").map(_stripLeadingZeros):[];var h=l.split(":").map(_stripLeadingZeros);var m=t.IPV4ADDRESS.test(h[h.length-1]);var g=m?7:8;var y=h.length-g;var _=Array(g);for(var b=0;b1){var w=_.slice(0,k.index);var S=_.slice(k.index+k.length);E=w.join(":")+"::"+S.join(":")}else{E=_.join(":")}if(a){E+="%"+a}return E}else{return e}}var N=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var L="".match(/(){0}/)[1]===undefined;function parse(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i={};var s=r.iri!==false?n:t;if(r.reference==="suffix")e=(r.scheme?r.scheme+":":"")+"//"+e;var a=e.match(N);if(a){if(L){i.scheme=a[1];i.userinfo=a[3];i.host=a[4];i.port=parseInt(a[5],10);i.path=a[6]||"";i.query=a[7];i.fragment=a[8];if(isNaN(i.port)){i.port=a[5]}}else{i.scheme=a[1]||undefined;i.userinfo=e.indexOf("@")!==-1?a[3]:undefined;i.host=e.indexOf("//")!==-1?a[4]:undefined;i.port=parseInt(a[5],10);i.path=a[6]||"";i.query=e.indexOf("?")!==-1?a[7]:undefined;i.fragment=e.indexOf("#")!==-1?a[8]:undefined;if(isNaN(i.port)){i.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?a[4]:undefined}}if(i.host){i.host=_normalizeIPv6(_normalizeIPv4(i.host,s),s)}if(i.scheme===undefined&&i.userinfo===undefined&&i.host===undefined&&i.port===undefined&&!i.path&&i.query===undefined){i.reference="same-document"}else if(i.scheme===undefined){i.reference="relative"}else if(i.fragment===undefined){i.reference="absolute"}else{i.reference="uri"}if(r.reference&&r.reference!=="suffix"&&r.reference!==i.reference){i.error=i.error||"URI is not a "+r.reference+" reference."}var c=R[(r.scheme||i.scheme||"").toLowerCase()];if(!r.unicodeSupport&&(!c||!c.unicodeSupport)){if(i.host&&(r.domainHost||c&&c.domainHost)){try{i.host=O.toASCII(i.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){i.error=i.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(i,t)}else{_normalizeComponentEncoding(i,s)}if(c&&c.parse){c.parse(i,r)}}else{i.error=i.error||"URI can not be parsed."}return i}function _recomposeAuthority(e,r){var i=r.iri!==false?n:t;var s=[];if(e.userinfo!==undefined){s.push(e.userinfo);s.push("@")}if(e.host!==undefined){s.push(_normalizeIPv6(_normalizeIPv4(String(e.host),i),i).replace(i.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){s.push(":");s.push(String(e.port))}return s.length?s.join(""):undefined}var $=/^\.\.?\//;var j=/^\/\.(\/|$)/;var z=/^\/\.\.(\/|$)/;var U=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match($)){e=e.replace($,"")}else if(e.match(j)){e=e.replace(j,"/")}else if(e.match(z)){e=e.replace(z,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var n=e.match(U);if(n){var r=n[0];e=e.slice(r.length);t.push(r)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i=r.iri?n:t;var s=[];var a=R[(r.scheme||e.scheme||"").toLowerCase()];if(a&&a.serialize)a.serialize(e,r);if(e.host){if(i.IPV6ADDRESS.test(e.host)){}else if(r.domainHost||a&&a.domainHost){try{e.host=!r.iri?O.toASCII(e.host.replace(i.PCT_ENCODED,pctDecChars).toLowerCase()):O.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!r.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,i);if(r.reference!=="suffix"&&e.scheme){s.push(e.scheme);s.push(":")}var c=_recomposeAuthority(e,r);if(c!==undefined){if(r.reference!=="suffix"){s.push("//")}s.push(c);if(e.path&&e.path.charAt(0)!=="/"){s.push("/")}}if(e.path!==undefined){var u=e.path;if(!r.absolutePath&&(!a||!a.absolutePath)){u=removeDotSegments(u)}if(c===undefined){u=u.replace(/^\/\//,"/%2F")}s.push(u)}if(e.query!==undefined){s.push("?");s.push(e.query)}if(e.fragment!==undefined){s.push("#");s.push(e.fragment)}return s.join("")}function resolveComponents(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var r=arguments[3];var i={};if(!r){e=parse(serialize(e,n),n);t=parse(serialize(t,n),n)}n=n||{};if(!n.tolerant&&t.scheme){i.scheme=t.scheme;i.userinfo=t.userinfo;i.host=t.host;i.port=t.port;i.path=removeDotSegments(t.path||"");i.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){i.userinfo=t.userinfo;i.host=t.host;i.port=t.port;i.path=removeDotSegments(t.path||"");i.query=t.query}else{if(!t.path){i.path=e.path;if(t.query!==undefined){i.query=t.query}else{i.query=e.query}}else{if(t.path.charAt(0)==="/"){i.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){i.path="/"+t.path}else if(!e.path){i.path=t.path}else{i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}i.path=removeDotSegments(i.path)}i.query=t.query}i.userinfo=e.userinfo;i.host=e.host;i.port=e.port}i.scheme=e.scheme}i.fragment=t.fragment;return i}function resolve(e,t,n){var r=assign({scheme:"null"},n);return serialize(resolveComponents(parse(e,r),parse(t,r),r,true),r)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,n){if(typeof e==="string"){e=serialize(parse(e,n),n)}else if(typeOf(e)==="object"){e=serialize(e,n)}if(typeof t==="string"){t=serialize(parse(t,n),n)}else if(typeOf(t)==="object"){t=serialize(t,n)}return e===t}function escapeComponent(e,r){return e&&e.toString().replace(!r||!r.iri?t.ESCAPE:n.ESCAPE,pctEncChar)}function unescapeComponent(e,r){return e&&e.toString().replace(!r||!r.iri?t.PCT_ENCODED:n.PCT_ENCODED,pctDecChars)}var q={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var n=String(e.scheme).toLowerCase()==="https";if(e.port===(n?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var G={scheme:"https",domainHost:q.domainHost,parse:q.parse,serialize:q.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var H={scheme:"ws",domainHost:true,parse:function parse(e,t){var n=e;n.secure=isSecure(n);n.resourceName=(n.path||"/")+(n.query?"?"+n.query:"");n.path=undefined;n.query=undefined;return n},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var n=e.resourceName.split("?"),i=r(n,2),s=i[0],a=i[1];e.path=s&&s!=="/"?s:undefined;e.query=a;e.resourceName=undefined}e.fragment=undefined;return e}};var W={scheme:"wss",domainHost:H.domainHost,parse:H.parse,serialize:H.serialize};var V={};var K=true;var X="[A-Za-z0-9\\-\\.\\_\\~"+(K?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var J="[0-9A-Fa-f]";var Y=subexp(subexp("%[EFef]"+J+"%"+J+J+"%"+J+J)+"|"+subexp("%[89A-Fa-f]"+J+"%"+J+J)+"|"+subexp("%"+J+J));var Z="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var ee="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var te=merge(ee,'[\\"\\\\]');var ne="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var re=new RegExp(X,"g");var ie=new RegExp(Y,"g");var se=new RegExp(merge("[^]",Z,"[\\.]",'[\\"]',te),"g");var oe=new RegExp(merge("[^]",X,ne),"g");var ae=oe;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(re)?e:t}var ue={scheme:"mailto",parse:function parse$$1(e,t){var n=e;var r=n.to=n.path?n.path.split(","):[];n.path=undefined;if(n.query){var i=false;var s={};var a=n.query.split("&");for(var c=0,u=a.length;c{e.exports=n(31669).deprecate},56755:(e,t,n)=>{"use strict";const r=n(28614).EventEmitter;const i=n(15808);const s=n(85622);const a=n(68862);const c=Object.freeze({});let u=1e3;const l=n(12087).platform()==="darwin";const d=process.env.WATCHPACK_POLLING;const p=`${+d}`===d?+d:!!d&&d!=="false";function withoutCase(e){return e.toLowerCase()}function needCalls(e,t){return function(){if(--e===0){return t()}}}class Watcher extends r{constructor(e,t,n){super();this.directoryWatcher=e;this.path=t;this.startTime=n&&+n;this._cachedTimeInfoEntries=undefined}checkStartTime(e,t){const n=this.startTime;if(typeof n!=="number")return!t;return n<=e}close(){this.emit("closed")}}class DirectoryWatcher extends r{constructor(e,t,n){super();if(p){n.poll=p}this.watcherManager=e;this.options=n;this.path=t;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=n.ignored;this.nestedWatching=false;this.polledWatching=typeof n.poll==="number"?n.poll:n.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(e){if(!this.ignored)return false;e=e.replace(/\\/g,"/");return this.ignored.test(e)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(l){this.watchInParentDirectory()}this.watcher=a.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(e){this.onWatcherError(e)}}forEachWatcher(e,t){const n=this.watchers.get(withoutCase(e));if(n!==undefined){for(const e of n){t(e)}}}setMissing(e,t,n){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(e)}const r=this.directories.get(e);if(r){if(this.nestedWatching)r.close();this.directories.delete(e);this.forEachWatcher(e,(e=>e.emit("remove",n)));if(!t){this.forEachWatcher(this.path,(r=>r.emit("change",e,null,n,t)))}}const i=this.files.get(e);if(i){this.files.delete(e);const r=withoutCase(e);const i=this.filesWithoutCase.get(r)-1;if(i<=0){this.filesWithoutCase.delete(r);this.forEachWatcher(e,(e=>e.emit("remove",n)))}else{this.filesWithoutCase.set(r,i)}if(!t){this.forEachWatcher(this.path,(r=>r.emit("change",e,null,n,t)))}}}setFileTime(e,t,n,r,i){const s=Date.now();if(this.checkIgnore(e))return;const a=this.files.get(e);let c,l;if(n){c=Math.min(s,t)+u;l=u}else{c=s;l=0;if(a&&a.timestamp===t&&t+u{if(!n||e.checkStartTime(c,n)){e.emit("change",t,i)}}))}else if(!n){this.forEachWatcher(e,(e=>e.emit("change",t,i)))}this.forEachWatcher(this.path,(t=>{if(!n||t.checkStartTime(c,n)){t.emit("change",e,c,i,n)}}))}setDirectory(e,t,n,r){if(this.checkIgnore(e))return;if(e===this.path){if(!n){this.forEachWatcher(this.path,(i=>i.emit("change",e,t,r,n)))}}else{const i=this.directories.get(e);if(!i){const i=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(e)}else{this.directories.set(e,true)}let s;if(n){s=Math.min(i,t)+u}else{s=i}this.forEachWatcher(e,(e=>{if(!n||e.checkStartTime(s,false)){e.emit("change",t,r)}}));this.forEachWatcher(this.path,(t=>{if(!n||t.checkStartTime(s,n)){t.emit("change",e,s,r,n)}}))}}}createNestedWatcher(e){const t=this.watcherManager.watchDirectory(e,1);t.on("change",((e,t,n,r)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,(i=>{if(!r||i.checkStartTime(t,r)){i.emit("change",e,t,n,r)}}))}));this.directories.set(e,t)}setNestedWatching(e){if(this.nestedWatching!==!!e){this.nestedWatching=!!e;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const e of this.directories.keys()){this.createNestedWatcher(e)}}else{for(const[e,t]of this.directories){t.close();this.directories.set(e,true)}}}}watch(e,t){const n=withoutCase(e);let r=this.watchers.get(n);if(r===undefined){r=new Set;this.watchers.set(n,r)}this.refs++;const i=new Watcher(this,e,t);i.on("closed",(()=>{if(--this.refs<=0){this.close();return}r.delete(i);if(r.size===0){this.watchers.delete(n);if(this.path===e)this.setNestedWatching(false)}}));r.add(i);let s;if(e===this.path){this.setNestedWatching(true);s=this.lastWatchEvent;for(const e of this.files.values()){fixupEntryAccuracy(e);s=Math.max(s,e.safeTime)}}else{const t=this.files.get(e);if(t){fixupEntryAccuracy(t);s=t.safeTime}else{s=0}}if(s){if(s>=t){process.nextTick((()=>{if(this.closed)return;if(e===this.path){i.emit("change",e,s,"watch (outdated on attach)",true)}else{i.emit("change",s,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(e)){process.nextTick((()=>{if(this.closed)return;i.emit("remove")}))}}else if(!this.directories.has(e)&&i.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;i.emit("initial-missing","watch (missing on attach)")}))}return i}onWatchEvent(e,t){if(this.closed)return;if(!t){this.doScan(false);return}const n=s.join(this.path,t);if(this.checkIgnore(n))return;if(this._activeEvents.get(t)===undefined){this._activeEvents.set(t,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(t,false);i.lstat(n,((r,a)=>{if(this.closed)return;if(this._activeEvents.get(t)===true){process.nextTick(checkStats);return}this._activeEvents.delete(t);if(r){if(r.code!=="ENOENT"&&r.code!=="EPERM"&&r.code!=="EBUSY"){this.onStatsError(r)}else{if(t===s.basename(this.path)){if(!i.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!a){this.setMissing(n,false,e)}else if(a.isDirectory()){this.setDirectory(n,+a.birthtime||1,false,e)}else if(a.isFile()||a.isSymbolicLink()){if(a.mtime){ensureFsAccuracy(a.mtime)}this.setFileTime(n,+a.mtime||+a.ctime||1,false,false,e)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(t,true)}}onWatcherError(e){if(this.closed)return;if(e){if(e.code!=="EPERM"&&e.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+e)}this.onDirectoryRemoved("watch error")}}onStatsError(e){if(e){console.error("Watchpack Error (stats): "+e)}}onScanError(e){if(e){console.error("Watchpack Error (initial scan): "+e)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(e){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const t=`directory-removed (${e})`;for(const e of this.directories.keys()){this.setMissing(e,null,t)}for(const e of this.files.keys()){this.setMissing(e,null,t)}}watchInParentDirectory(){if(!this.parentWatcher){const e=s.dirname(this.path);if(s.dirname(e)===e)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((e,t)=>{if(this.closed)return;if((!l||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(n=>n.emit("change",this.path,e,t,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(e){if(this.scanning){if(this.scanAgain){if(!e)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=e}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;i.readdir(this.path,((t,n)=>{if(this.closed)return;if(t){if(t.code==="ENOENT"||t.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(t)}this.initialScan=false;this.initialScanFinished=Date.now();if(e){for(const e of this.watchers.values()){for(const t of e){if(t.checkStartTime(this.initialScanFinished,false)){t.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const r=new Set(n.map((e=>s.join(this.path,e.normalize("NFC")))));for(const t of this.files.keys()){if(!r.has(t)){this.setMissing(t,e,"scan (missing)")}}for(const t of this.directories.keys()){if(!r.has(t)){this.setMissing(t,e,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(e);return}const a=needCalls(r.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(e){const e=new Map(this.watchers);e.delete(withoutCase(this.path));for(const t of r){e.delete(withoutCase(t))}for(const t of e.values()){for(const e of t){if(e.checkStartTime(this.initialScanFinished,false)){e.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const t of r){i.lstat(t,((n,r)=>{if(this.closed)return;if(n){if(n.code==="ENOENT"||n.code==="EPERM"||n.code==="EBUSY"){this.setMissing(t,e,"scan ("+n.code+")")}else{this.onScanError(n)}a();return}if(r.isFile()||r.isSymbolicLink()){if(r.mtime){ensureFsAccuracy(r.mtime)}this.setFileTime(t,+r.mtime||+r.ctime||1,e,true,"scan (file)")}else if(r.isDirectory()){if(!e||!this.directories.has(t))this.setDirectory(t,+r.birthtime||1,e,"scan (dir)")}a()}))}a()}))}))}getTimes(){const e=Object.create(null);let t=this.lastWatchEvent;for(const[n,r]of this.files){fixupEntryAccuracy(r);t=Math.max(t,r.safeTime);e[n]=Math.max(r.safeTime,r.timestamp)}if(this.nestedWatching){for(const n of this.directories.values()){const r=n.directoryWatcher.getTimes();for(const n of Object.keys(r)){const i=r[n];t=Math.max(t,i);e[n]=i}}e[this.path]=t}if(!this.initialScan){for(const t of this.watchers.values()){for(const n of t){const t=n.path;if(!Object.prototype.hasOwnProperty.call(e,t)){e[t]=null}}}}return e}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const e=new Map;let t=this.lastWatchEvent;for(const[n,r]of this.files){fixupEntryAccuracy(r);t=Math.max(t,r.safeTime);e.set(n,r)}if(this.nestedWatching){for(const n of this.directories.values()){const r=n.directoryWatcher.getTimeInfoEntries();for(const[n,i]of r){if(i){t=Math.max(t,i.safeTime)}e.set(n,i)}}e.set(this.path,{safeTime:t})}else{for(const t of this.directories.keys()){e.set(t,c)}e.set(this.path,c)}if(!this.initialScan){for(const t of this.watchers.values()){for(const n of t){const t=n.path;if(!e.has(t)){e.set(t,null)}}}this._cachedTimeInfoEntries=e}return e}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const e of this.directories.values()){e.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}e.exports=DirectoryWatcher;e.exports.EXISTANCE_ONLY_TIME_ENTRY=c;function fixupEntryAccuracy(e){if(e.accuracy>u){e.safeTime=e.safeTime-e.accuracy+u;e.accuracy=u}}function ensureFsAccuracy(e){if(!e)return;if(u>1&&e%1!==0)u=1;else if(u>10&&e%10!==0)u=10;else if(u>100&&e%100!==0)u=100}},99181:(e,t,n)=>{"use strict";const r=n(35747);const i=n(85622);const s=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")s.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(e){const t=this.cache.get(e);if(t!==undefined){return t}const n=i.dirname(e);if(n===e){const t=Object.freeze([e]);this.cache.set(e,t);return t}const a=this.resolve(n);let c=e;if(a[0]!==n){const t=i.basename(e);c=i.resolve(a[0],t)}try{const t=r.readlinkSync(c);const n=i.resolve(a[0],t);const s=this.resolve(n);let u;if(s.length>1&&a.length>1){const e=new Set(s);e.add(c);for(let t=1;t1){u=a.slice();u[0]=s[0];u.push(c);Object.freeze(u)}else if(s.length>1){u=s.slice();u.push(c);Object.freeze(u)}else{u=Object.freeze([s[0],c])}this.cache.set(e,u);return u}catch(t){if(!s.has(t.code)){throw t}const n=a.slice();n[0]=c;Object.freeze(n);this.cache.set(e,n);return n}}}e.exports=LinkResolver},53982:(e,t,n)=>{"use strict";const r=n(85622);const i=n(56755);class WatcherManager{constructor(e){this.options=e;this.directoryWatchers=new Map}getDirectoryWatcher(e){const t=this.directoryWatchers.get(e);if(t===undefined){const t=new i(this,e,this.options);this.directoryWatchers.set(e,t);t.on("closed",(()=>{this.directoryWatchers.delete(e)}));return t}return t}watchFile(e,t){const n=r.dirname(e);if(n===e)return null;return this.getDirectoryWatcher(n).watch(e,t)}watchDirectory(e,t){return this.getDirectoryWatcher(e).watch(e,t)}}const s=new WeakMap;e.exports=e=>{const t=s.get(e);if(t!==undefined)return t;const n=new WatcherManager(e);s.set(e,n);return n};e.exports.WatcherManager=WatcherManager},27601:(e,t,n)=>{"use strict";const r=n(85622);e.exports=(e,t)=>{const n=new Map;for(const[t,r]of e){n.set(t,{filePath:t,parent:undefined,children:undefined,entries:1,active:true,value:r})}let i=n.size;for(const e of n.values()){const t=r.dirname(e.filePath);if(t!==e.filePath){let r=n.get(t);if(r===undefined){r={filePath:t,parent:undefined,children:[e],entries:e.entries,active:false,value:undefined};n.set(t,r);e.parent=r}else{e.parent=r;if(r.children===undefined){r.children=[e]}else{r.children.push(e)}do{r.entries+=e.entries;r=r.parent}while(r)}}}while(i>t){const e=i-t;let r=undefined;let s=Infinity;for(const i of n.values()){if(i.entries<=1||!i.children||!i.parent)continue;if(i.children.length===0)continue;if(i.children.length===1&&!i.value)continue;const n=i.entries-1>=e?i.entries-1-e:e-i.entries+1+t*.3;if(n{"use strict";const r=n(35747);const i=n(85622);const{EventEmitter:s}=n(28614);const a=n(27601);const c=n(12087).platform()==="darwin";const u=n(12087).platform()==="win32";const l=c||u;const d=+process.env.WATCHPACK_WATCHER_LIMIT||(c?2e3:1e4);const p=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let h=false;let m=0;const g=new Map;const y=new Map;const _=new Map;const b=new Map;class DirectWatcher{constructor(e){this.filePath=e;this.watchers=new Set;this.watcher=undefined;try{const t=r.watch(e);this.watcher=t;t.on("change",((e,t)=>{for(const n of this.watchers){n.emit("change",e,t)}}));t.on("error",(e=>{for(const t of this.watchers){t.emit("error",e)}}))}catch(e){process.nextTick((()=>{for(const t of this.watchers){t.emit("error",e)}}))}m++}add(e){b.set(e,this);this.watchers.add(e)}remove(e){this.watchers.delete(e);if(this.watchers.size===0){_.delete(this.filePath);m--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(e){this.rootPath=e;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const t=r.watch(e,{recursive:true});this.watcher=t;t.on("change",((e,t)=>{if(!t){if(p){process.stderr.write(`[watchpack] dispatch ${e} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const t of this.mapWatcherToPath.keys()){t.emit("change",e)}}else{const n=i.dirname(t);const r=this.mapPathToWatchers.get(n);if(p){process.stderr.write(`[watchpack] dispatch ${e} event in recursive watcher (${this.rootPath}) for '${t}' to ${r?r.size:0} watchers\n`)}if(r===undefined)return;for(const n of r){n.emit("change",e,i.basename(t))}}}));t.on("error",(e=>{for(const t of this.mapWatcherToPath.keys()){t.emit("error",e)}}))}catch(e){process.nextTick((()=>{for(const t of this.mapWatcherToPath.keys()){t.emit("error",e)}}))}m++;if(p){process.stderr.write(`[watchpack] created recursive watcher at ${e}\n`)}}add(e,t){b.set(t,this);const n=e.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(t,n);const r=this.mapPathToWatchers.get(n);if(r===undefined){const e=new Set;e.add(t);this.mapPathToWatchers.set(n,e)}else{r.add(t)}}remove(e){const t=this.mapWatcherToPath.get(e);if(!t)return;this.mapWatcherToPath.delete(e);const n=this.mapPathToWatchers.get(t);n.delete(e);if(n.size===0){this.mapPathToWatchers.delete(t)}if(this.mapWatcherToPath.size===0){y.delete(this.rootPath);m--;if(this.watcher)this.watcher.close();if(p){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends s{close(){if(g.has(this)){g.delete(this);return}const e=b.get(this);e.remove(this);b.delete(this)}}const createDirectWatcher=e=>{const t=_.get(e);if(t!==undefined)return t;const n=new DirectWatcher(e);_.set(e,n);return n};const createRecursiveWatcher=e=>{const t=y.get(e);if(t!==undefined)return t;const n=new RecursiveWatcher(e);y.set(e,n);return n};const execute=()=>{const e=new Map;const addWatcher=(t,n)=>{const r=e.get(n);if(r===undefined){e.set(n,t)}else if(Array.isArray(r)){r.push(t)}else{e.set(n,[r,t])}};for(const[e,t]of g){addWatcher(e,t)}g.clear();if(!l||d-m>=e.size){for(const[t,n]of e){const e=createDirectWatcher(t);if(Array.isArray(n)){for(const t of n)e.add(t)}else{e.add(n)}}return}for(const e of y.values()){for(const[t,n]of e.getWatchers()){addWatcher(t,i.join(e.rootPath,n))}}for(const e of _.values()){for(const t of e.getWatchers()){addWatcher(t,e.filePath)}}const t=a(e,d*.9);for(const[e,n]of t){if(n.size===1){for(const[e,t]of n){const n=createDirectWatcher(t);const r=b.get(e);if(r===n)continue;n.add(e);if(r!==undefined)r.remove(e)}}else{const t=new Set(n.values());if(t.size>1){const t=createRecursiveWatcher(e);for(const[e,r]of n){const n=b.get(e);if(n===t)continue;t.add(r,e);if(n!==undefined)n.remove(e)}}else{for(const e of t){const t=createDirectWatcher(e);for(const e of n.keys()){const n=b.get(e);if(n===t)continue;t.add(e);if(n!==undefined)n.remove(e)}}}}}};t.watch=e=>{const t=new Watcher;const n=_.get(e);if(n!==undefined){n.add(t);return t}let r=e;for(;;){const n=y.get(r);if(n!==undefined){n.add(e,t);return t}const s=i.dirname(r);if(s===r)break;r=s}g.set(t,e);if(!h)execute();return t};t.batch=e=>{h=true;try{e()}finally{h=false;execute()}};t.getNumberOfWatchers=()=>m},92512:(e,t,n)=>{"use strict";const r=n(53982);const i=n(99181);const s=n(28614).EventEmitter;const a=n(70554);const c=n(68862);let u;const l=[];const d={};function addWatchersToSet(e,t){for(const n of e){if(n!==true&&!t.has(n.directoryWatcher)){t.add(n.directoryWatcher);addWatchersToSet(n.directoryWatcher.directories.values(),t)}}}const stringToRegexp=e=>{const t=a(e,{globstar:true,extended:true}).source;const n=t.slice(0,t.length-1)+"(?:$|\\/)";return n};const ignoredToRegexp=e=>{if(Array.isArray(e)){return new RegExp(e.map((e=>stringToRegexp(e))).join("|"))}else if(typeof e==="string"){return new RegExp(stringToRegexp(e))}else if(e instanceof RegExp){return e}else if(e){throw new Error(`Invalid option for 'ignored': ${e}`)}else{return undefined}};const normalizeOptions=e=>({followSymlinks:!!e.followSymlinks,ignored:ignoredToRegexp(e.ignored),poll:e.poll});const p=new WeakMap;const cachedNormalizeOptions=e=>{const t=p.get(e);if(t!==undefined)return t;const n=normalizeOptions(e);p.set(e,n);return n};class Watchpack extends s{constructor(e){super();if(!e)e=d;this.options=e;this.aggregateTimeout=typeof e.aggregateTimeout==="number"?e.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(e);this.watcherManager=r(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(e,t,n){let r,s,a,u;if(!t){({files:r=l,directories:s=l,missing:a=l,startTime:u}=e)}else{r=e;s=t;a=l;u=n}this.paused=false;const d=this.fileWatchers;const p=this.directoryWatchers;const h=this.watcherOptions.ignored;const m=h?e=>!h.test(e.replace(/\\/g,"/")):()=>true;const addToMap=(e,t,n)=>{const r=e.get(t);if(r===undefined){e.set(t,[n])}else{r.push(n)}};const g=new Map;const y=new Map;const _=new Set;if(this.watcherOptions.followSymlinks){const e=new i;for(const t of r){if(m(t)){for(const n of e.resolve(t)){if(t===n||m(n)){addToMap(g,n,t)}}}}for(const t of a){if(m(t)){for(const n of e.resolve(t)){if(t===n||m(n)){_.add(t);addToMap(g,n,t)}}}}for(const t of s){if(m(t)){let n=true;for(const r of e.resolve(t)){if(m(r)){addToMap(n?y:g,r,t)}n=false}}}}else{for(const e of r){if(m(e)){addToMap(g,e,e)}}for(const e of a){if(m(e)){_.add(e);addToMap(g,e,e)}}for(const e of s){if(m(e)){addToMap(y,e,e)}}}const b=new Map;const x=new Map;const setupFileWatcher=(e,t,n)=>{e.on("initial-missing",(e=>{for(const t of n){if(!_.has(t))this._onRemove(t,t,e)}}));e.on("change",((e,t)=>{for(const r of n){this._onChange(r,e,r,t)}}));e.on("remove",(e=>{for(const t of n){this._onRemove(t,t,e)}}));b.set(t,e)};const setupDirectoryWatcher=(e,t,n)=>{e.on("initial-missing",(e=>{for(const t of n){this._onRemove(t,t,e)}}));e.on("change",((e,t,r)=>{for(const i of n){this._onChange(i,t,e,r)}}));e.on("remove",(e=>{for(const t of n){this._onRemove(t,t,e)}}));x.set(t,e)};const k=[];const E=[];for(const[e,t]of d){if(!g.has(e)){t.close()}else{k.push(t)}}for(const[e,t]of p){if(!y.has(e)){t.close()}else{E.push(t)}}c.batch((()=>{for(const[e,t]of g){const n=this.watcherManager.watchFile(e,u);if(n){setupFileWatcher(n,e,t)}}for(const[e,t]of y){const n=this.watcherManager.watchDirectory(e,u);if(n){setupDirectoryWatcher(n,e,t)}}}));for(const e of k)e.close();for(const e of E)e.close();this.fileWatchers=b;this.directoryWatchers=x;this.startTime=u}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const e of this.fileWatchers.values())e.close();for(const e of this.directoryWatchers.values())e.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const e=new Set;addWatchersToSet(this.fileWatchers.values(),e);addWatchersToSet(this.directoryWatchers.values(),e);const t=Object.create(null);for(const n of e){const e=n.getTimes();for(const n of Object.keys(e))t[n]=e[n]}return t}getTimeInfoEntries(){if(u===undefined){u=n(56755).EXISTANCE_ONLY_TIME_ENTRY}const e=new Set;addWatchersToSet(this.fileWatchers.values(),e);addWatchersToSet(this.directoryWatchers.values(),e);const t=new Map;for(const n of e){const e=n.getTimeInfoEntries();for(const[n,r]of e){if(t.has(n)){if(r===u)continue;const e=t.get(n);if(e===r)continue;if(e!==u){t.set(n,Object.assign({},e,r));continue}}t.set(n,r)}}return t}_onChange(e,t,n,r){n=n||e;if(this.paused)return;this.emit("change",n,t,r);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregatedRemovals.delete(e);this.aggregatedChanges.add(e);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}_onRemove(e,t,n){t=t||e;if(this.paused)return;this.emit("remove",t,n);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregatedChanges.delete(e);this.aggregatedRemovals.add(e);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}_onTimeout(){this.aggregateTimer=undefined;const e=this.aggregatedChanges;const t=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",e,t)}}e.exports=Watchpack},70417:(e,t,n)=>{"use strict";const r=n(12112);class CachedSource extends r{constructor(e){super();this._source=e;this._cachedSource=undefined;this._cachedSize=undefined;this._cachedMaps={};if(e.node)this.node=function(e){return this._source.node(e)};if(e.listMap)this.listMap=function(e){return this._source.listMap(e)}}source(){if(typeof this._cachedSource!=="undefined")return this._cachedSource;return this._cachedSource=this._source.source()}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){if(Buffer.from.length===1)return new Buffer(this._cachedSource).length;return this._cachedSize=Buffer.byteLength(this._cachedSource)}return this._cachedSize=this._source.size()}sourceAndMap(e){const t=JSON.stringify(e);if(typeof this._cachedSource!=="undefined"&&t in this._cachedMaps)return{source:this._cachedSource,map:this._cachedMaps[t]};else if(typeof this._cachedSource!=="undefined"){return{source:this._cachedSource,map:this._cachedMaps[t]=this._source.map(e)}}else if(t in this._cachedMaps){return{source:this._cachedSource=this._source.source(),map:this._cachedMaps[t]}}const n=this._source.sourceAndMap(e);this._cachedSource=n.source;this._cachedMaps[t]=n.map;return{source:this._cachedSource,map:this._cachedMaps[t]}}map(e){if(!e)e={};const t=JSON.stringify(e);if(t in this._cachedMaps)return this._cachedMaps[t];return this._cachedMaps[t]=this._source.map()}updateHash(e){this._source.updateHash(e)}}e.exports=CachedSource},52388:(e,t,n)=>{"use strict";const r=n(99596).SourceNode;const i=n(6900).SourceListMap;const s=n(12112);class ConcatSource extends s{constructor(){super();this.children=[];for(var e=0;e{"use strict";var r=n(99596).SourceNode;var i=n(99596).SourceMapConsumer;var s=n(6900).SourceListMap;var a=n(12112);class LineToLineMappedSource extends a{constructor(e,t,n){super();this._value=e;this._name=t;this._originalSource=n}source(){return this._value}node(e){var t=this._value;var n=this._name;var i=t.split("\n");var s=new r(null,null,null,i.map((function(e,t){return new r(t+1,0,n,e+(t!=i.length-1?"\n":""))})));s.setSourceContent(n,this._originalSource);return s}listMap(e){return new s(this._value,this._name,this._originalSource)}updateHash(e){e.update(this._value);e.update(this._originalSource)}}n(93020)(LineToLineMappedSource.prototype);e.exports=LineToLineMappedSource},57579:(e,t,n)=>{"use strict";var r=n(99596).SourceNode;var i=n(99596).SourceMapConsumer;var s=n(6900).SourceListMap;var a=n(12112);var c=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(e){return e.match(c)||[]}class OriginalSource extends a{constructor(e,t){super();this._value=e;this._name=t}source(){return this._value}node(e){e=e||{};var t=this._sourceMap;var n=this._value;var i=this._name;var s=n.split("\n");var a=new r(null,null,null,s.map((function(t,n){var a=0;if(e.columns===false){var c=t+(n!=s.length-1?"\n":"");return new r(n+1,0,i,c)}return new r(null,null,null,_splitCode(t+(n!=s.length-1?"\n":"")).map((function(e){if(/^\s*$/.test(e)){a+=e.length;return e}var t=new r(n+1,a,i,e);a+=e.length;return t})))})));a.setSourceContent(i,n);return a}listMap(e){return new s(this._value,this._name,this._value)}updateHash(e){e.update(this._value)}}n(93020)(OriginalSource.prototype);e.exports=OriginalSource},69852:(e,t,n)=>{"use strict";var r=n(12112);var i=n(99596).SourceNode;var s=/\n(?=.|\s)/g;function cloneAndPrefix(e,t,n){if(typeof e==="string"){var r=e.replace(s,"\n"+t);if(n.length>0)r=n.pop()+r;if(/\n$/.test(e))n.push(t);return r}else{var a=new i(e.line,e.column,e.source,e.children.map((function(e){return cloneAndPrefix(e,t,n)})),e.name);a.sourceContents=e.sourceContents;return a}}class PrefixSource extends r{constructor(e,t){super();this._source=t;this._prefix=e}source(){var e=typeof this._source==="string"?this._source:this._source.source();var t=this._prefix;return t+e.replace(s,"\n"+t)}node(e){var t=this._source.node(e);var n=this._prefix;var r=[];var s=new i;t.walkSourceContents((function(e,t){s.setSourceContent(e,t)}));var a=true;t.walk((function(e,t){var s=e.split(/(\n)/);for(var c=0;c{"use strict";var r=n(12112);var i=n(99596).SourceNode;var s=n(6900).SourceListMap;class RawSource extends r{constructor(e){super();this._value=e}source(){return this._value}map(e){return null}node(e){return new i(null,null,null,this._value)}listMap(e){return new s(this._value)}updateHash(e){e.update(this._value)}}e.exports=RawSource},1324:(e,t,n)=>{"use strict";var r=n(12112);var i=n(99596).SourceNode;class Replacement{constructor(e,t,n,r,i){this.start=e;this.end=t;this.content=n;this.insertIndex=r;this.name=i}}class ReplaceSource extends r{constructor(e,t){super();this._source=e;this._name=t;this.replacements=[]}replace(e,t,n,r){if(typeof n!=="string")throw new Error("insertion must be a string, but is a "+typeof n);this.replacements.push(new Replacement(e,t,n,this.replacements.length,r))}insert(e,t,n){if(typeof t!=="string")throw new Error("insertion must be a string, but is a "+typeof t+": "+t);this.replacements.push(new Replacement(e,e-1,t,this.replacements.length,n))}source(e){return this._replaceString(this._source.source())}original(){return this._source}_sortReplacements(){this.replacements.sort((function(e,t){var n=t.end-e.end;if(n!==0)return n;n=t.start-e.start;if(n!==0)return n;return t.insertIndex-e.insertIndex}))}_replaceString(e){if(typeof e!=="string")throw new Error("str must be a string, but is a "+typeof e+": "+e);this._sortReplacements();var t=[e];this.replacements.forEach((function(e){var n=t.pop();var r=this._splitString(n,Math.floor(e.end+1));var i=this._splitString(r[0],Math.floor(e.start));t.push(r[1],e.content,i[0])}),this);let n="";for(let e=t.length-1;e>=0;--e){n+=t[e]}return n}node(e){var t=this._source.node(e);if(this.replacements.length===0){return t}this._sortReplacements();var n=new ReplacementEnumerator(this.replacements);var r=[];var s=0;var a=Object.create(null);var c=Object.create(null);var u=new i;t.walkSourceContents((function(e,t){u.setSourceContent(e,t);a["$"+e]=t}));var l=this._replaceInStringNode.bind(this,r,n,(function getOriginalSource(e){var t="$"+e.source;var n=c[t];if(!n){var r=a[t];if(!r)return null;n=r.split("\n").map((function(e){return e+"\n"}));c[t]=n}if(e.line>n.length)return null;var i=n[e.line-1];return i.substr(e.column)}));t.walk((function(e,t){s=l(e,s,t)}));var d=n.footer();if(d){r.push(d)}u.add(r);return u}listMap(e){this._sortReplacements();var t=this._source.listMap(e);var n=0;var r=this.replacements;var i=r.length-1;var s=0;t=t.mapGeneratedCode((function(e){var t=n+e.length;if(s>e.length){s-=e.length;e=""}else{if(s>0){e=e.substr(s);n+=s;s=0}var a="";while(i>=0&&r[i].start=0){a+=r[i].content;i--}if(a){t.add(a)}return t}_splitString(e,t){return t<=0?["",e]:[e.substr(0,t),e.substr(t)]}_replaceInStringNode(e,t,n,r,s,a){var c=undefined;do{var u=t.position-s;if(u<0){u=0}if(u>=r.length||t.done){if(t.emit){var l=new i(a.line,a.column,a.source,r,a.name);e.push(l)}return s+r.length}var d=a.column;var p;if(u>0){p=r.slice(0,u);if(c===undefined){c=n(a)}if(c&&c.length>=u&&c.startsWith(p)){a.column+=u;c=c.substr(u)}}var h=t.next();if(!h){if(u>0){var m=new i(a.line,d,a.source,p,a.name);e.push(m)}if(t.value){e.push(new i(a.line,a.column,a.source,t.value,a.name||t.name))}}r=r.substr(u);s+=u}while(true)}}class ReplacementEnumerator{constructor(e){this.replacements=e||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){var e=this.replacements[this.index];var t=Math.floor(e.end+1);this.position=t;this.value=e.content;this.name=e.name}else{this.index--;if(this.index<0){this.done=true}else{var n=this.replacements[this.index];var r=Math.floor(n.start);this.position=r}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{var e="";for(var t=this.index;t>=0;t--){var n=this.replacements[t];e+=n.content}return e}}}n(93020)(ReplaceSource.prototype);e.exports=ReplaceSource},12112:(e,t,n)=>{"use strict";var r=n(99596).SourceNode;var i=n(99596).SourceMapConsumer;class Source{source(){throw new Error("Abstract")}size(){if(Buffer.from.length===1)return new Buffer(this.source()).length;return Buffer.byteLength(this.source())}map(e){return null}sourceAndMap(e){return{source:this.source(),map:this.map()}}node(){throw new Error("Abstract")}listNode(){throw new Error("Abstract")}updateHash(e){var t=this.source();e.update(t||"")}}e.exports=Source},93020:e=>{"use strict";e.exports=function mixinSourceAndMap(e){e.map=function(e){e=e||{};if(e.columns===false){return this.listMap(e).toStringWithSourceMap({file:"x"}).map}return this.node(e).toStringWithSourceMap({file:"x"}).map.toJSON()};e.sourceAndMap=function(e){e=e||{};if(e.columns===false){return this.listMap(e).toStringWithSourceMap({file:"x"})}var t=this.node(e).toStringWithSourceMap({file:"x"});return{source:t.code,map:t.map.toJSON()}}}},84172:(e,t,n)=>{"use strict";var r=n(99596).SourceNode;var i=n(99596).SourceMapConsumer;var s=n(99596).SourceMapGenerator;var a=n(6900).SourceListMap;var c=n(6900).fromStringWithSourceMap;var u=n(12112);var l=n(22368);class SourceMapSource extends u{constructor(e,t,n,r,i,s){super();this._value=e;this._name=t;this._sourceMap=n;this._originalSource=r;this._innerSourceMap=i;this._removeOriginalSource=s}source(){return this._value}node(e){var t=this._sourceMap;var n=r.fromStringWithSourceMap(this._value,new i(t));n.setSourceContent(this._name,this._originalSource);var s=this._innerSourceMap;if(s){n=l(n,new i(s),this._name,this._removeOriginalSource)}return n}listMap(e){e=e||{};if(e.module===false)return new a(this._value,this._name,this._value);return c(this._value,typeof this._sourceMap==="string"?JSON.parse(this._sourceMap):this._sourceMap)}updateHash(e){e.update(this._value);if(this._originalSource)e.update(this._originalSource)}}n(93020)(SourceMapSource.prototype);e.exports=SourceMapSource},22368:(e,t,n)=>{"use strict";var r=n(99596).SourceNode;var i=n(99596).SourceMapConsumer;var applySourceMap=function(e,t,n,s){var a=new r;var c=[];var u={};var l={};var d={};var p={};t.eachMapping((function(e){(l[e.generatedLine]=l[e.generatedLine]||[]).push(e)}),null,i.GENERATED_ORDER);e.walkSourceContents((function(e,t){u["$"+e]=t}));var h=u["$"+n];var m=h?h.split("\n"):undefined;e.walk((function(e,i){var h;if(i.source===n&&i.line&&l[i.line]){var g;var y=l[i.line];for(var _=0;_0){var M=x.slice(g.generatedColumn,i.column);var I=S.slice(g.originalColumn,g.originalColumn+C);if(M===I){g=Object.assign({},g,{originalColumn:g.originalColumn+C,generatedColumn:i.column})}}if(!g.name&&i.name){b=S.slice(g.originalColumn,g.originalColumn+i.name.length)===i.name}}}h=g.source;c.push(new r(g.originalLine,g.originalColumn,h,e,b?i.name:g.name));if(!("$"+h in d)){d["$"+h]=true;var P=t.sourceContentFor(h,true);if(P){a.setSourceContent(h,P)}}return}}if(s&&i.source===n||!i.source){c.push(e);return}h=i.source;c.push(new r(i.line,i.column,h,e,i.name));if("$"+h in u){if(!("$"+h in d)){a.setSourceContent(h,u["$"+h]);delete u["$"+h]}}}));a.add(c);return a};e.exports=applySourceMap},2991:(e,t,n)=>{t.Source=n(12112);t.RawSource=n(57902);t.OriginalSource=n(57579);t.SourceMapSource=n(84172);t.LineToLineMappedSource=n(32631);t.CachedSource=n(70417);t.ConcatSource=n(52388);t.ReplaceSource=n(1324);t.PrefixSource=n(69852)},32323:(e,t,n)=>{"use strict";const r=n(76150);const i=n(81627);const s=n(66298);const a=n(87250);const{toConstantDependency:c,evaluateToString:u}=n(48472);const l=n(64255);const d=n(75948);const p={__webpack_require__:{expr:r.require,req:[r.require],type:"function",assign:false},__webpack_public_path__:{expr:r.publicPath,req:[r.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:r.baseURI,req:[r.baseURI],type:"string",assign:true},__webpack_modules__:{expr:r.moduleFactories,req:[r.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:r.ensureChunk,req:[r.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:r.scriptNonce,req:[r.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${r.getFullHash}()`,req:[r.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:r.chunkName,req:[r.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:r.getChunkScriptFilename,req:[r.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:r.runtimeId,req:[r.runtimeId],assign:false},"require.onError":{expr:r.uncaughtErrorHandler,req:[r.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:r.systemContext,req:[r.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:r.shareScopeMap,req:[r.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:r.initializeSharing,req:[r.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(e){e.hooks.compilation.tap("APIPlugin",((e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(s,new s.Template);e.hooks.runtimeRequirementInTree.for(r.chunkName).tap("APIPlugin",(t=>{e.addRuntimeModule(t,new l(t.name));return true}));e.hooks.runtimeRequirementInTree.for(r.getFullHash).tap("APIPlugin",((t,n)=>{e.addRuntimeModule(t,new d);return true}));const handler=e=>{Object.keys(p).forEach((t=>{const n=p[t];e.hooks.expression.for(t).tap("APIPlugin",c(e,n.expr,n.req));if(n.assign===false){e.hooks.assign.for(t).tap("APIPlugin",(e=>{const n=new i(`${t} must not be assigned`);n.loc=e.loc;throw n}))}if(n.type){e.hooks.evaluateTypeof.for(t).tap("APIPlugin",u(n.type))}}));e.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(t=>{const n=new s(JSON.stringify(e.state.module.layer),t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true}));e.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(t=>(e.state.module.layer===null?(new a).setNull():(new a).setString(e.state.module.layer)).setRange(t.range)));e.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(t=>(new a).setString(e.state.module.layer===null?"object":"string").setRange(t.range)))};t.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);t.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}e.exports=APIPlugin},75884:(e,t,n)=>{"use strict";const r=n(81627);const i=/at ([a-zA-Z0-9_.]*)/;function createMessage(e){return`Abstract method${e?" "+e:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const e=this.stack.split("\n")[3].match(i);this.message=e&&e[1]?createMessage(e[1]):createMessage()}class AbstractMethodError extends r{constructor(){super((new Message).message);this.name="AbstractMethodError"}}e.exports=AbstractMethodError},98221:(e,t,n)=>{"use strict";const r=n(32448);const i=n(56202);class AsyncDependenciesBlock extends r{constructor(e,t,n){super();if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupOptions=e;this.loc=t;this.request=n;this.parent=undefined}get chunkName(){return this.groupOptions.name}set chunkName(e){this.groupOptions.name=e}updateHash(e,t){const{chunkGraph:n}=t;e.update(JSON.stringify(this.groupOptions));const r=n.getBlockChunkGroup(this);e.update(r?r.id:"");super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.groupOptions);t(this.loc);t(this.request);super.serialize(e)}deserialize(e){const{read:t}=e;this.groupOptions=t();this.loc=t();this.request=t();super.deserialize(e)}}i(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});e.exports=AsyncDependenciesBlock},21357:(e,t,n)=>{"use strict";const r=n(81627);class AsyncDependencyToInitialChunkError extends r{constructor(e,t,n){super(`It's not allowed to load an initial chunk on demand. The chunk name "${e}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=t;this.loc=n;Error.captureStackTrace(this,this.constructor)}}e.exports=AsyncDependencyToInitialChunkError},20383:(e,t,n)=>{"use strict";const r=n(62355);const i=n(53520);const s=n(88281);class AutomaticPrefetchPlugin{apply(e){e.hooks.compilation.tap("AutomaticPrefetchPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t)}));let t=null;e.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(e=>{t=[];for(const n of e.modules){if(n instanceof i){t.push({context:n.context,request:n.request})}}}));e.hooks.make.tapAsync("AutomaticPrefetchPlugin",((n,i)=>{if(!t)return i();r.forEach(t,((t,r)=>{n.addModuleChain(t.context||e.context,new s(`!!${t.request}`),r)}),(e=>{t=null;i(e)}))}))}}e.exports=AutomaticPrefetchPlugin},58779:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const{ConcatSource:i}=n(48135);const s=n(3080);const a=n(70354);const c=n(58159);const u=n(4837);const wrapComment=e=>{if(!e.includes("\n")){return c.toComment(e)}return`/*!\n * ${e.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(e){if(typeof e==="string"||typeof e==="function"){e={banner:e}}r(u,e,{name:"Banner Plugin",baseDataPath:"options"});this.options=e;const t=e.banner;if(typeof t==="function"){const e=t;this.banner=this.options.raw?e:t=>wrapComment(e(t))}else{const e=this.options.raw?t:wrapComment(t);this.banner=()=>e}}apply(e){const t=this.options;const n=this.banner;const r=a.matchObject.bind(undefined,t);e.hooks.compilation.tap("BannerPlugin",(e=>{e.hooks.processAssets.tap({name:"BannerPlugin",stage:s.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const s of e.chunks){if(t.entryOnly&&!s.canBeInitial()){continue}for(const t of s.files){if(!r(t)){continue}const a={chunk:s,filename:t};const c=e.getPath(n,a);e.updateAsset(t,(e=>new i(c,"\n",e)))}}}))}))}}e.exports=BannerPlugin},54725:(e,t,n)=>{"use strict";const{AsyncParallelHook:r,AsyncSeriesBailHook:i,SyncHook:s}=n(92960);const{makeWebpackError:a,makeWebpackErrorCallback:c}=n(3728);const needCalls=(e,t)=>n=>{if(--e===0){return t(n)}if(n&&e>0){e=0;return t(n)}};class Cache{constructor(){this.hooks={get:new i(["identifier","etag","gotHandlers"]),store:new r(["identifier","etag","data"]),storeBuildDependencies:new r(["dependencies"]),beginIdle:new s([]),endIdle:new r([]),shutdown:new r([])}}get(e,t,n){const r=[];this.hooks.get.callAsync(e,t,r,((e,t)=>{if(e){n(a(e,"Cache.hooks.get"));return}if(t===null){t=undefined}if(r.length>1){const e=needCalls(r.length,(()=>n(null,t)));for(const n of r){n(t,e)}}else if(r.length===1){r[0](t,(()=>n(null,t)))}else{n(null,t)}}))}store(e,t,n,r){this.hooks.store.callAsync(e,t,n,c(r,"Cache.hooks.store"))}storeBuildDependencies(e,t){this.hooks.storeBuildDependencies.callAsync(e,c(t,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(e){this.hooks.endIdle.callAsync(c(e,"Cache.hooks.endIdle"))}shutdown(e){this.hooks.shutdown.callAsync(c(e,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;e.exports=Cache},6503:(e,t,n)=>{"use strict";const r=n(62355);const i=n(77034);const s=n(10168);class MultiItemCache{constructor(e){this._items=e;if(e.length===1)return e[0]}get(e){const next=t=>{this._items[t].get(((n,r)=>{if(n)return e(n);if(r!==undefined)return e(null,r);if(++t>=this._items.length)return e();next(t)}))};next(0)}getPromise(){const next=e=>this._items[e].getPromise().then((t=>{if(t!==undefined)return t;if(++et.store(e,n)),t)}storePromise(e){return Promise.all(this._items.map((t=>t.storePromise(e)))).then((()=>{}))}}class ItemCacheFacade{constructor(e,t,n){this._cache=e;this._name=t;this._etag=n}get(e){this._cache.get(this._name,this._etag,e)}getPromise(){return new Promise(((e,t)=>{this._cache.get(this._name,this._etag,((n,r)=>{if(n){t(n)}else{e(r)}}))}))}store(e,t){this._cache.store(this._name,this._etag,e,t)}storePromise(e){return new Promise(((t,n)=>{this._cache.store(this._name,this._etag,e,(e=>{if(e){n(e)}else{t()}}))}))}provide(e,t){this.get(((n,r)=>{if(n)return t(n);if(r!==undefined)return r;e(((e,n)=>{if(e)return t(e);this.store(n,(e=>{if(e)return t(e);t(null,n)}))}))}))}async providePromise(e){const t=await this.getPromise();if(t!==undefined)return t;const n=await e();await this.storePromise(n);return n}}class CacheFacade{constructor(e,t){this._cache=e;this._name=t}getChildCache(e){return new CacheFacade(this._cache,`${this._name}|${e}`)}getItemCache(e,t){return new ItemCacheFacade(this._cache,`${this._name}|${e}`,t)}getLazyHashedEtag(e){return i(e)}mergeEtags(e,t){return s(e,t)}get(e,t,n){this._cache.get(`${this._name}|${e}`,t,n)}getPromise(e,t){return new Promise(((n,r)=>{this._cache.get(`${this._name}|${e}`,t,((e,t)=>{if(e){r(e)}else{n(t)}}))}))}store(e,t,n,r){this._cache.store(`${this._name}|${e}`,t,n,r)}storePromise(e,t,n){return new Promise(((r,i)=>{this._cache.store(`${this._name}|${e}`,t,n,(e=>{if(e){i(e)}else{r()}}))}))}provide(e,t,n,r){this.get(e,t,((i,s)=>{if(i)return r(i);if(s!==undefined)return s;n(((n,i)=>{if(n)return r(n);this.store(e,t,i,(e=>{if(e)return r(e);r(null,i)}))}))}))}async providePromise(e,t,n){const r=await this.getPromise(e,t);if(r!==undefined)return r;const i=await n();await this.storePromise(e,t,i);return i}}e.exports=CacheFacade;e.exports.ItemCacheFacade=ItemCacheFacade;e.exports.MultiItemCache=MultiItemCache},41673:(e,t,n)=>{"use strict";const r=n(81627);const sortModules=e=>e.slice().sort(((e,t)=>{const n=e.identifier();const r=t.identifier();if(nr)return 1;return 0}));const createModulesListMessage=(e,t)=>e.map((e=>{let n=`* ${e.identifier()}`;const r=Array.from(t.getIncomingConnectionsByOriginModule(e).keys()).filter((e=>e));if(r.length>0){n+=`\n Used by ${r.length} module(s), i. e.`;n+=`\n ${r[0].identifier()}`}return n})).join("\n");class CaseSensitiveModulesWarning extends r{constructor(e,t){const n=sortModules(e);const r=createModulesListMessage(n,t);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${r}`);this.name="CaseSensitiveModulesWarning";this.module=n[0];Error.captureStackTrace(this,this.constructor)}}e.exports=CaseSensitiveModulesWarning},62433:(e,t,n)=>{"use strict";const r=n(45137);const i=n(71452);const{intersect:s}=n(26221);const a=n(16102);const c=n(14146);const{compareModulesByIdentifier:u,compareChunkGroupsByIndex:l,compareModulesById:d}=n(68673);const{createArrayToSetDeprecationSet:p}=n(16595);const{mergeRuntime:h}=n(37416);const m=p("chunk.files");let g=1e3;class Chunk{constructor(e){this.id=null;this.ids=null;this.debugId=g++;this.name=e;this.idNameHints=new a;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new a(undefined,l);this.runtime=undefined;this.files=new m;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const e=Array.from(r.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(e.length===0){return undefined}else if(e.length===1){return e[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return r.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(e){const t=r.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(t.isModuleInChunk(e,this))return false;t.connectChunkAndModule(this,e);return true}removeModule(e){r.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,e)}getNumberOfModules(){return r.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const e=r.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return e.getOrderedChunkModulesIterable(this,u)}compareTo(e){const t=r.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return t.compareChunks(this,e)}containsModule(e){return r.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(e,this)}getModules(){return r.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const e=r.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");e.disconnectChunk(this);this.disconnectFromGroups()}moveModule(e,t){const n=r.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");n.disconnectChunkAndModule(this,e);n.connectChunkAndModule(t,e)}integrate(e){const t=r.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(t.canChunksBeIntegrated(this,e)){t.integrateChunks(this,e);return true}else{return false}}canBeIntegrated(e){const t=r.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return t.canChunksBeIntegrated(this,e)}isEmpty(){const e=r.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return e.getNumberOfChunkModules(this)===0}modulesSize(){const e=r.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return e.getChunkModulesSize(this)}size(e={}){const t=r.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return t.getChunkSize(this,e)}integratedSize(e,t){const n=r.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return n.getIntegratedChunksSize(this,e,t)}getChunkModuleMaps(e){const t=r.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const n=Object.create(null);const i=Object.create(null);for(const r of this.getAllAsyncChunks()){let s;for(const a of t.getOrderedChunkModulesIterable(r,d(t))){if(e(a)){if(s===undefined){s=[];n[r.id]=s}const e=t.getModuleId(a);s.push(e);i[e]=t.getRenderedModuleHash(a,undefined)}}}return{id:n,hash:i}}hasModuleInGraph(e,t){const n=r.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return n.hasModuleInGraph(this,e,t)}getChunkMaps(e){const t=Object.create(null);const n=Object.create(null);const r=Object.create(null);for(const i of this.getAllAsyncChunks()){t[i.id]=e?i.hash:i.renderedHash;for(const e of Object.keys(i.contentHash)){if(!n[e]){n[e]=Object.create(null)}n[e][i.id]=i.contentHash[e]}if(i.name){r[i.id]=i.name}}return{hash:t,contentHash:n,name:r}}hasRuntime(){for(const e of this._groups){if(e instanceof i&&e.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const e of this._groups){if(e.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const e of this._groups){if(!e.isInitial())return false}return true}getEntryOptions(){for(const e of this._groups){if(e instanceof i){return e.options}}return undefined}addGroup(e){this._groups.add(e)}removeGroup(e){this._groups.delete(e)}isInGroup(e){return this._groups.has(e)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const e of this._groups){e.removeChunk(this)}}split(e){for(const t of this._groups){t.insertChunk(e,this);e.addGroup(t)}for(const t of this.idNameHints){e.idNameHints.add(t)}e.runtime=h(e.runtime,this.runtime)}updateHash(e,t){e.update(`${this.id} `);e.update(this.ids?this.ids.join(","):"");e.update(`${this.name||""} `);const n=new c;for(const e of t.getChunkModulesIterable(this)){n.add(t.getModuleHash(e,this.runtime))}n.updateHash(e);const r=t.getChunkEntryModulesWithChunkGroupIterable(this);for(const[n,i]of r){e.update("entry");e.update(`${t.getModuleId(n)}`);e.update(i.id)}}getAllAsyncChunks(){const e=new Set;const t=new Set;const n=s(Array.from(this.groupsIterable,(e=>new Set(e.chunks))));for(const t of this.groupsIterable){for(const n of t.childrenIterable){e.add(n)}}for(const r of e){for(const e of r.chunks){if(!n.has(e)){t.add(e)}}for(const t of r.childrenIterable){e.add(t)}}return t}getAllInitialChunks(){const e=new Set;for(const t of this.groupsIterable){for(const n of t.chunks)e.add(n)}return e}getAllReferencedChunks(){const e=new Set(this.groupsIterable);const t=new Set;for(const n of e){for(const e of n.chunks){t.add(e)}for(const t of n.childrenIterable){e.add(t)}}return t}getAllReferencedAsyncEntrypoints(){const e=new Set(this.groupsIterable);const t=new Set;for(const n of e){for(const e of n.asyncEntrypointsIterable){t.add(e)}for(const t of n.childrenIterable){e.add(t)}}return t}hasAsyncChunks(){const e=new Set;const t=s(Array.from(this.groupsIterable,(e=>new Set(e.chunks))));for(const t of this.groupsIterable){for(const n of t.childrenIterable){e.add(n)}}for(const n of e){for(const e of n.chunks){if(!t.has(e)){return true}}for(const t of n.childrenIterable){e.add(t)}}return false}getChildIdsByOrders(e,t){const n=new Map;for(const e of this.groupsIterable){if(e.chunks[e.chunks.length-1]===this){for(const t of e.childrenIterable){for(const e of Object.keys(t.options)){if(e.endsWith("Order")){const r=e.substr(0,e.length-"Order".length);let i=n.get(r);if(i===undefined){i=[];n.set(r,i)}i.push({order:t.options[e],group:t})}}}}}const r=Object.create(null);for(const[i,s]of n){s.sort(((t,n)=>{const r=n.order-t.order;if(r!==0)return r;return t.group.compareTo(e,n.group)}));const n=new Set;for(const r of s){for(const i of r.group.chunks){if(t&&!t(i,e))continue;n.add(i.id)}}if(n.size>0){r[i]=Array.from(n)}}return r}getChildrenOfTypeInOrder(e,t){const n=[];for(const e of this.groupsIterable){for(const r of e.childrenIterable){const i=r.options[t];if(i===undefined)continue;n.push({order:i,group:e,childGroup:r})}}if(n.length===0)return undefined;n.sort(((t,n)=>{const r=n.order-t.order;if(r!==0)return r;return t.group.compareTo(e,n.group)}));const r=[];let i;for(const{group:e,childGroup:t}of n){if(i&&i.onChunks===e.chunks){for(const e of t.chunks){i.chunks.add(e)}}else{r.push(i={onChunks:e.chunks,chunks:new Set(t.chunks)})}}return r}getChildIdsByOrdersMap(e,t,n){const r=Object.create(null);const addChildIdsByOrdersToMap=t=>{const i=t.getChildIdsByOrders(e,n);for(const e of Object.keys(i)){let n=r[e];if(n===undefined){r[e]=n=Object.create(null)}n[t.id]=i[e]}};if(t){const e=new Set;for(const t of this.groupsIterable){for(const n of t.chunks){e.add(n)}}for(const t of e){addChildIdsByOrdersToMap(t)}}for(const e of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(e)}return r}}e.exports=Chunk},45137:(e,t,n)=>{"use strict";const r=n(31669);const i=n(79900);const{first:s}=n(26221);const a=n(16102);const c=n(14146);const{compareModulesById:u,compareIterables:l,compareModulesByIdentifier:d,concatComparators:p,compareSelect:h,compareIds:m}=n(68673);const g=n(35891);const y=n(62598);const{RuntimeSpecMap:_,RuntimeSpecSet:b,runtimeToString:x,mergeRuntime:k,forEachRuntime:E}=n(37416);const w=new Set;const S=l(d);class ModuleHashInfo{constructor(e,t){this.hash=e;this.renderedHash=t}}const getArray=e=>Array.from(e);const getModuleRuntimes=e=>{const t=new b;for(const n of e){t.add(n.runtime)}return t};const modulesBySourceType=e=>{const t=new Map;for(const n of e){for(const e of n.getSourceTypes()){let r=t.get(e);if(r===undefined){r=new a;t.set(e,r)}r.add(n)}}for(const[n,r]of t){if(r.size===e.size){t.set(n,e)}}return t};const C=new WeakMap;const createOrderedArrayFunction=e=>{let t=C.get(e);if(t!==undefined)return t;t=t=>{t.sortWith(e);return Array.from(t)};C.set(e,t);return t};const getModulesSize=e=>{let t=0;for(const n of e){for(const e of n.getSourceTypes()){t+=n.size(e)}}return t};const getModulesSizes=e=>{let t=Object.create(null);for(const n of e){for(const e of n.getSourceTypes()){t[e]=(t[e]||0)+n.size(e)}}return t};const isAvailableChunk=(e,t)=>{const n=new Set(t.groupsIterable);for(const t of n){if(e.isInGroup(t))continue;if(t.isInitial())return false;for(const e of t.parentsIterable){n.add(e)}}return true};class ChunkGraphModule{constructor(){this.chunks=new a;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new a;this.entryModules=new Map;this.runtimeModules=new a;this.fullHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(e){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=e;this._getGraphRoots=this._getGraphRoots.bind(this);this._cacheChunkGraphModuleKey1=undefined;this._cacheChunkGraphModuleValue1=undefined;this._cacheChunkGraphModuleKey2=undefined;this._cacheChunkGraphModuleValue2=undefined;this._cacheChunkGraphChunkKey1=undefined;this._cacheChunkGraphChunkValue1=undefined;this._cacheChunkGraphChunkKey2=undefined;this._cacheChunkGraphChunkValue2=undefined}_getChunkGraphModule(e){if(this._cacheChunkGraphModuleKey1===e)return this._cacheChunkGraphModuleValue1;if(this._cacheChunkGraphModuleKey2===e)return this._cacheChunkGraphModuleValue2;let t=this._modules.get(e);if(t===undefined){t=new ChunkGraphModule;this._modules.set(e,t)}this._cacheChunkGraphModuleKey2=this._cacheChunkGraphModuleKey1;this._cacheChunkGraphModuleValue2=this._cacheChunkGraphModuleValue1;this._cacheChunkGraphModuleKey1=e;this._cacheChunkGraphModuleValue1=t;return t}_getChunkGraphChunk(e){if(this._cacheChunkGraphChunkKey1===e)return this._cacheChunkGraphChunkValue1;if(this._cacheChunkGraphChunkKey2===e)return this._cacheChunkGraphChunkValue2;let t=this._chunks.get(e);if(t===undefined){t=new ChunkGraphChunk;this._chunks.set(e,t)}this._cacheChunkGraphChunkKey2=this._cacheChunkGraphChunkKey1;this._cacheChunkGraphChunkValue2=this._cacheChunkGraphChunkValue1;this._cacheChunkGraphChunkKey1=e;this._cacheChunkGraphChunkValue1=t;return t}_getGraphRoots(e){const{moduleGraph:t}=this;return Array.from(y(e,(e=>{const n=new Set;const addDependencies=e=>{for(const r of t.getOutgoingConnections(e)){if(!r.module)continue;const e=r.getActiveState(undefined);if(e===false)continue;if(e===i.TRANSITIVE_ONLY){addDependencies(r.module);continue}n.add(r.module)}};addDependencies(e);return n}))).sort(d)}connectChunkAndModule(e,t){const n=this._getChunkGraphModule(t);const r=this._getChunkGraphChunk(e);n.chunks.add(e);r.modules.add(t)}disconnectChunkAndModule(e,t){const n=this._getChunkGraphModule(t);const r=this._getChunkGraphChunk(e);r.modules.delete(t);n.chunks.delete(e)}disconnectChunk(e){const t=this._getChunkGraphChunk(e);for(const n of t.modules){const t=this._getChunkGraphModule(n);t.chunks.delete(e)}t.modules.clear();e.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(e)}attachModules(e,t){const n=this._getChunkGraphChunk(e);for(const e of t){n.modules.add(e)}}attachRuntimeModules(e,t){const n=this._getChunkGraphChunk(e);for(const e of t){n.runtimeModules.add(e)}}attachFullHashModules(e,t){const n=this._getChunkGraphChunk(e);if(n.fullHashModules===undefined)n.fullHashModules=new Set;for(const e of t){n.fullHashModules.add(e)}}replaceModule(e,t){const n=this._getChunkGraphModule(e);const r=this._getChunkGraphModule(t);for(const i of n.chunks){const n=this._getChunkGraphChunk(i);n.modules.delete(e);n.modules.add(t);r.chunks.add(i)}n.chunks.clear();if(n.entryInChunks!==undefined){if(r.entryInChunks===undefined){r.entryInChunks=new Set}for(const i of n.entryInChunks){const n=this._getChunkGraphChunk(i);const s=n.entryModules.get(e);const a=new Map;for(const[r,i]of n.entryModules){if(r===e){a.set(t,s)}else{a.set(r,i)}}n.entryModules=a;r.entryInChunks.add(i)}n.entryInChunks=undefined}if(n.runtimeInChunks!==undefined){if(r.runtimeInChunks===undefined){r.runtimeInChunks=new Set}for(const i of n.runtimeInChunks){const n=this._getChunkGraphChunk(i);n.runtimeModules.delete(e);n.runtimeModules.add(t);r.runtimeInChunks.add(i);if(n.fullHashModules!==undefined&&n.fullHashModules.has(e)){n.fullHashModules.delete(e);n.fullHashModules.add(t)}}n.runtimeInChunks=undefined}}isModuleInChunk(e,t){const n=this._getChunkGraphChunk(t);return n.modules.has(e)}isModuleInChunkGroup(e,t){for(const n of t.chunks){if(this.isModuleInChunk(e,n))return true}return false}isEntryModule(e){const t=this._getChunkGraphModule(e);return t.entryInChunks!==undefined}getModuleChunksIterable(e){const t=this._getChunkGraphModule(e);return t.chunks}getOrderedModuleChunksIterable(e,t){const n=this._getChunkGraphModule(e);n.chunks.sortWith(t);return n.chunks}getModuleChunks(e){const t=this._getChunkGraphModule(e);return t.chunks.getFromCache(getArray)}getNumberOfModuleChunks(e){const t=this._getChunkGraphModule(e);return t.chunks.size}getModuleRuntimes(e){const t=this._getChunkGraphModule(e);return t.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(e){const t=this._getChunkGraphChunk(e);return t.modules.size}getChunkModulesIterable(e){const t=this._getChunkGraphChunk(e);return t.modules}getChunkModulesIterableBySourceType(e,t){const n=this._getChunkGraphChunk(e);const r=n.modules.getFromUnorderedCache(modulesBySourceType).get(t);return r}getOrderedChunkModulesIterable(e,t){const n=this._getChunkGraphChunk(e);n.modules.sortWith(t);return n.modules}getOrderedChunkModulesIterableBySourceType(e,t,n){const r=this._getChunkGraphChunk(e);const i=r.modules.getFromUnorderedCache(modulesBySourceType).get(t);if(i===undefined)return undefined;i.sortWith(n);return i}getChunkModules(e){const t=this._getChunkGraphChunk(e);return t.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(e,t){const n=this._getChunkGraphChunk(e);const r=createOrderedArrayFunction(t);return n.modules.getFromUnorderedCache(r)}getChunkModuleIdMap(e,t,n=false){const r=Object.create(null);for(const i of n?e.getAllReferencedChunks():e.getAllAsyncChunks()){let e;for(const n of this.getOrderedChunkModulesIterable(i,u(this))){if(t(n)){if(e===undefined){e=[];r[i.id]=e}const t=this.getModuleId(n);e.push(t)}}}return r}getChunkModuleRenderedHashMap(e,t,n=0,r=false){const i=Object.create(null);for(const s of r?e.getAllReferencedChunks():e.getAllAsyncChunks()){let e;for(const r of this.getOrderedChunkModulesIterable(s,u(this))){if(t(r)){if(e===undefined){e=Object.create(null);i[s.id]=e}const t=this.getModuleId(r);const a=this.getRenderedModuleHash(r,s.runtime);e[t]=n?a.slice(0,n):a}}}return i}getChunkConditionMap(e,t){const n=Object.create(null);for(const r of e.getAllReferencedChunks()){n[r.id]=t(r,this)}return n}hasModuleInGraph(e,t,n){const r=new Set(e.groupsIterable);const i=new Set;for(const e of r){for(const r of e.chunks){if(!i.has(r)){i.add(r);if(!n||n(r,this)){for(const e of this.getChunkModulesIterable(r)){if(t(e)){return true}}}}}for(const t of e.childrenIterable){r.add(t)}}return false}compareChunks(e,t){const n=this._getChunkGraphChunk(e);const r=this._getChunkGraphChunk(t);if(n.modules.size>r.modules.size)return-1;if(n.modules.size0||this.getNumberOfEntryModules(t)>0){return false}return true}integrateChunks(e,t){if(e.name&&t.name){if(this.getNumberOfEntryModules(e)>0===this.getNumberOfEntryModules(t)>0){if(e.name.length!==t.name.length){e.name=e.name.length0){e.name=t.name}}else if(t.name){e.name=t.name}for(const n of t.idNameHints){e.idNameHints.add(n)}e.runtime=k(e.runtime,t.runtime);for(const n of this.getChunkModules(t)){this.disconnectChunkAndModule(t,n);this.connectChunkAndModule(e,n)}for(const[n,r]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(t))){this.disconnectChunkAndEntryModule(t,n);this.connectChunkAndEntryModule(e,n,r)}for(const n of t.groupsIterable){n.replaceChunk(t,e);e.addGroup(n);t.removeGroup(n)}ChunkGraph.clearChunkGraphForChunk(t)}isEntryModuleInChunk(e,t){const n=this._getChunkGraphChunk(t);return n.entryModules.has(e)}connectChunkAndEntryModule(e,t,n){const r=this._getChunkGraphModule(t);const i=this._getChunkGraphChunk(e);if(r.entryInChunks===undefined){r.entryInChunks=new Set}r.entryInChunks.add(e);i.entryModules.set(t,n)}connectChunkAndRuntimeModule(e,t){const n=this._getChunkGraphModule(t);const r=this._getChunkGraphChunk(e);if(n.runtimeInChunks===undefined){n.runtimeInChunks=new Set}n.runtimeInChunks.add(e);r.runtimeModules.add(t)}addFullHashModuleToChunk(e,t){const n=this._getChunkGraphChunk(e);if(n.fullHashModules===undefined)n.fullHashModules=new Set;n.fullHashModules.add(t)}disconnectChunkAndEntryModule(e,t){const n=this._getChunkGraphModule(t);const r=this._getChunkGraphChunk(e);n.entryInChunks.delete(e);if(n.entryInChunks.size===0){n.entryInChunks=undefined}r.entryModules.delete(t)}disconnectChunkAndRuntimeModule(e,t){const n=this._getChunkGraphModule(t);const r=this._getChunkGraphChunk(e);n.runtimeInChunks.delete(e);if(n.runtimeInChunks.size===0){n.runtimeInChunks=undefined}r.runtimeModules.delete(t)}disconnectEntryModule(e){const t=this._getChunkGraphModule(e);for(const n of t.entryInChunks){const t=this._getChunkGraphChunk(n);t.entryModules.delete(e)}t.entryInChunks=undefined}disconnectEntries(e){const t=this._getChunkGraphChunk(e);for(const n of t.entryModules.keys()){const t=this._getChunkGraphModule(n);t.entryInChunks.delete(e);if(t.entryInChunks.size===0){t.entryInChunks=undefined}}t.entryModules.clear()}getNumberOfEntryModules(e){const t=this._getChunkGraphChunk(e);return t.entryModules.size}getNumberOfRuntimeModules(e){const t=this._getChunkGraphChunk(e);return t.runtimeModules.size}getChunkEntryModulesIterable(e){const t=this._getChunkGraphChunk(e);return t.entryModules.keys()}getChunkEntryDependentChunksIterable(e){const t=this._getChunkGraphChunk(e);const n=new Set;for(const r of t.entryModules.values()){for(const t of r.chunks){if(t!==e&&!t.hasRuntime()){n.add(t)}}}return n}hasChunkEntryDependentChunks(e){const t=this._getChunkGraphChunk(e);for(const n of t.entryModules.values()){for(const t of n.chunks){if(t!==e){return true}}}return false}getChunkRuntimeModulesIterable(e){const t=this._getChunkGraphChunk(e);return t.runtimeModules}getChunkRuntimeModulesInOrder(e){const t=this._getChunkGraphChunk(e);const n=Array.from(t.runtimeModules);n.sort(p(h((e=>e.stage),m),d));return n}getChunkFullHashModulesIterable(e){const t=this._getChunkGraphChunk(e);return t.fullHashModules}getChunkFullHashModulesSet(e){const t=this._getChunkGraphChunk(e);return t.fullHashModules}getChunkEntryModulesWithChunkGroupIterable(e){const t=this._getChunkGraphChunk(e);return t.entryModules}getBlockChunkGroup(e){return this._blockChunkGroups.get(e)}connectBlockAndChunkGroup(e,t){this._blockChunkGroups.set(e,t);t.addBlock(e)}disconnectChunkGroup(e){for(const t of e.blocksIterable){this._blockChunkGroups.delete(t)}e._blocks.clear()}getModuleId(e){const t=this._getChunkGraphModule(e);return t.id}setModuleId(e,t){const n=this._getChunkGraphModule(e);n.id=t}getRuntimeId(e){return this._runtimeIds.get(e)}setRuntimeId(e,t){this._runtimeIds.set(e,t)}_getModuleHashInfo(e,t,n){if(!t){throw new Error(`Module ${e.identifier()} has no hash info for runtime ${x(n)} (hashes not set at all)`)}else if(n===undefined){const n=new Set(t.values());if(n.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${e.identifier()} (existing runtimes: ${Array.from(t.keys(),(e=>x(e))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return s(n)}else{const r=t.get(n);if(!r){throw new Error(`Module ${e.identifier()} has no hash info for runtime ${x(n)} (available runtimes ${Array.from(t.keys(),x).join(", ")})`)}return r}}hasModuleHashes(e,t){const n=this._getChunkGraphModule(e);const r=n.hashes;return r&&r.has(t)}getModuleHash(e,t){const n=this._getChunkGraphModule(e);const r=n.hashes;return this._getModuleHashInfo(e,r,t).hash}getRenderedModuleHash(e,t){const n=this._getChunkGraphModule(e);const r=n.hashes;return this._getModuleHashInfo(e,r,t).renderedHash}setModuleHashes(e,t,n,r){const i=this._getChunkGraphModule(e);if(i.hashes===undefined){i.hashes=new _}i.hashes.set(t,new ModuleHashInfo(n,r))}addModuleRuntimeRequirements(e,t,n){const r=this._getChunkGraphModule(e);const i=r.runtimeRequirements;if(i===undefined){const e=new _;e.set(t,n);r.runtimeRequirements=e;return}i.update(t,(e=>{if(e===undefined){return n}else if(e.size>=n.size){for(const t of n)e.add(t);return e}else{for(const t of e)n.add(t);return n}}))}addChunkRuntimeRequirements(e,t){const n=this._getChunkGraphChunk(e);const r=n.runtimeRequirements;if(r===undefined){n.runtimeRequirements=t}else if(r.size>=t.size){for(const e of t)r.add(e)}else{for(const e of r)t.add(e);n.runtimeRequirements=t}}addTreeRuntimeRequirements(e,t){const n=this._getChunkGraphChunk(e);const r=n.runtimeRequirementsInTree;for(const e of t)r.add(e)}getModuleRuntimeRequirements(e,t){const n=this._getChunkGraphModule(e);const r=n.runtimeRequirements&&n.runtimeRequirements.get(t);return r===undefined?w:r}getChunkRuntimeRequirements(e){const t=this._getChunkGraphChunk(e);const n=t.runtimeRequirements;return n===undefined?w:n}getModuleGraphHash(e,t,n=true){const r=this._getChunkGraphModule(e);if(r.graphHashes===undefined){r.graphHashes=new _}const a=r.graphHashes.provide(t,(()=>{const n=g("md4");n.update(`${r.id}`);n.update(`${this.moduleGraph.isAsync(e)}`);this.moduleGraph.getExportsInfo(e).updateHash(n,t);return n.digest("hex")}));if(!n)return a;if(r.graphHashesWithConnections===undefined){r.graphHashesWithConnections=new _}const activeStateToString=e=>{if(e===false)return"false";if(e===true)return"true";if(e===i.TRANSITIVE_ONLY)return"transitive";throw new Error("Not implemented active state")};const u=e.buildMeta&&e.buildMeta.strictHarmonyModule;return r.graphHashesWithConnections.provide(t,(()=>{const n=this.moduleGraph.getOutgoingConnections(e);const r=new Map;for(const e of n){let n;if(typeof t==="string"){const r=e.getActiveState(t);if(r===false)continue;n=activeStateToString(r)}else{const r=new Set;n="";E(t,(t=>{const i=e.getActiveState(t);r.add(i);n+=t+activeStateToString(i)}),true);if(r.size===1){const e=s(r);if(e===false)continue;n=activeStateToString(e)}}const i=e.module;n+=i.getExportsType(this.moduleGraph,u);const a=r.get(n);if(a===undefined){r.set(n,i)}else if(a instanceof Set){a.add(i)}else if(a!==i){r.set(n,new Set([a,i]))}}if(r.size===0)return a;const i=r.size>1?Array.from(r).sort((([e],[t])=>e{const n=M.get(e);if(!n)throw new Error(t+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return n}),t+": Use new ChunkGraph API",n);P.set(t,s);return s(e)}static setChunkGraphForModule(e,t){M.set(e,t)}static clearChunkGraphForModule(e){M.delete(e)}static getChunkGraphForChunk(e,t,n){const i=T.get(t);if(i)return i(e);const s=r.deprecate((e=>{const n=I.get(e);if(!n)throw new Error(t+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return n}),t+": Use new ChunkGraph API",n);T.set(t,s);return s(e)}static setChunkGraphForChunk(e,t){I.set(e,t)}static clearChunkGraphForChunk(e){I.delete(e)}}const M=new WeakMap;const I=new WeakMap;const P=new Map;const T=new Map;e.exports=ChunkGraph},84558:(e,t,n)=>{"use strict";const r=n(31669);const i=n(16102);const{compareLocations:s,compareChunks:a,compareIterables:c}=n(68673);let u=5e3;const getArray=e=>Array.from(e);const sortById=(e,t)=>{if(e.id{const n=e.module?e.module.identifier():"";const r=t.module?t.module.identifier():"";if(nr)return 1;return s(e.loc,t.loc)};class ChunkGroup{constructor(e){if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupDebugId=u++;this.options=e;this._children=new i(undefined,sortById);this._parents=new i(undefined,sortById);this._asyncEntrypoints=new i(undefined,sortById);this._blocks=new i;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(e){for(const t of Object.keys(e)){if(this.options[t]===undefined){this.options[t]=e[t]}else if(this.options[t]!==e[t]){if(t.endsWith("Order")){this.options[t]=Math.max(this.options[t],e[t])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${t}`)}}}}get name(){return this.options.name}set name(e){this.options.name=e}get debugId(){return Array.from(this.chunks,(e=>e.debugId)).join("+")}get id(){return Array.from(this.chunks,(e=>e.id)).join("+")}unshiftChunk(e){const t=this.chunks.indexOf(e);if(t>0){this.chunks.splice(t,1);this.chunks.unshift(e)}else if(t<0){this.chunks.unshift(e);return true}return false}insertChunk(e,t){const n=this.chunks.indexOf(e);const r=this.chunks.indexOf(t);if(r<0){throw new Error("before chunk not found")}if(n>=0&&n>r){this.chunks.splice(n,1);this.chunks.splice(r,0,e)}else if(n<0){this.chunks.splice(r,0,e);return true}return false}pushChunk(e){const t=this.chunks.indexOf(e);if(t>=0){return false}this.chunks.push(e);return true}replaceChunk(e,t){const n=this.chunks.indexOf(e);if(n<0)return false;const r=this.chunks.indexOf(t);if(r<0){this.chunks[n]=t;return true}if(r=0){this.chunks.splice(t,1);return true}return false}isInitial(){return false}addChild(e){const t=this._children.size;this._children.add(e);return t!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(e){if(!this._children.has(e)){return false}this._children.delete(e);e.removeParent(this);return true}addParent(e){if(!this._parents.has(e)){this._parents.add(e);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(e){return this._parents.has(e)}get parentsIterable(){return this._parents}removeParent(e){if(this._parents.delete(e)){e.removeChild(this);return true}return false}addAsyncEntrypoint(e){const t=this._asyncEntrypoints.size;this._asyncEntrypoints.add(e);return t!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(e){return this._blocks.has(e)}get blocksIterable(){return this._blocks}addBlock(e){if(!this._blocks.has(e)){this._blocks.add(e);return true}return false}addOrigin(e,t,n){this.origins.push({module:e,loc:t,request:n})}getFiles(){const e=new Set;for(const t of this.chunks){for(const n of t.files){e.add(n)}}return Array.from(e)}remove(){for(const e of this._parents){e._children.delete(this);for(const t of this._children){t.addParent(e);e.addChild(t)}}for(const e of this._children){e._parents.delete(this)}for(const e of this.chunks){e.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(e,t){if(this.chunks.length>t.chunks.length)return-1;if(this.chunks.length{const r=n.order-e.order;if(r!==0)return r;return e.group.compareTo(t,n.group)}));r[e]=i.map((e=>e.group))}return r}setModulePreOrderIndex(e,t){this._modulePreOrderIndices.set(e,t)}getModulePreOrderIndex(e){return this._modulePreOrderIndices.get(e)}setModulePostOrderIndex(e,t){this._modulePostOrderIndices.set(e,t)}getModulePostOrderIndex(e){return this._modulePostOrderIndices.get(e)}checkConstraints(){const e=this;for(const t of e._children){if(!t._parents.has(e)){throw new Error(`checkConstraints: child missing parent ${e.debugId} -> ${t.debugId}`)}}for(const t of e._parents){if(!t._children.has(e)){throw new Error(`checkConstraints: parent missing child ${t.debugId} <- ${e.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=r.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=r.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");e.exports=ChunkGroup},44445:(e,t,n)=>{"use strict";const r=n(81627);class ChunkRenderError extends r{constructor(e,t,n){super();this.name="ChunkRenderError";this.error=n;this.message=n.message;this.details=n.stack;this.file=t;this.chunk=e;Error.captureStackTrace(this,this.constructor)}}e.exports=ChunkRenderError},13454:(e,t,n)=>{"use strict";const r=n(31669);const i=n(91671);const s=i((()=>n(18161)));class ChunkTemplate{constructor(e,t){this._outputOptions=e||{};this.hooks=Object.freeze({renderManifest:{tap:r.deprecate(((e,n)=>{t.hooks.renderManifest.tap(e,((e,t)=>{if(t.chunk.hasRuntime())return e;return n(e,t)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:r.deprecate(((e,n)=>{s().getCompilationHooks(t).renderChunk.tap(e,((e,r)=>n(e,t.moduleTemplates.javascript,r)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:r.deprecate(((e,n)=>{s().getCompilationHooks(t).renderChunk.tap(e,((e,r)=>n(e,t.moduleTemplates.javascript,r)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:r.deprecate(((e,n)=>{s().getCompilationHooks(t).render.tap(e,((e,t)=>{if(t.chunkGraph.getNumberOfEntryModules(t.chunk)===0||t.chunk.hasRuntime()){return e}return n(e,t.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:r.deprecate(((e,n)=>{t.hooks.fullHash.tap(e,n)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:r.deprecate(((e,n)=>{s().getCompilationHooks(t).chunkHash.tap(e,((e,t,r)=>{if(e.hasRuntime())return;n(t,e,r)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:r.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});e.exports=ChunkTemplate},61666:(e,t,n)=>{"use strict";const r=n(62355);const{validate:i}=n(15235);const{SyncBailHook:s}=n(92960);const a=n(3080);const{join:c}=n(95396);const u=n(91671);const l=n(2117);const d=u((()=>{const{definitions:e}=n(76518);return{definitions:e,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}));const getDiffToFs=(e,t,n,i)=>{const s=new Set;for(const e of n){s.add(e.replace(/(^|\/)[^/]*$/,""))}for(const e of s){s.add(e.replace(/(^|\/)[^/]*$/,""))}const a=new Set;r.forEachLimit(s,10,((r,i)=>{e.readdir(c(e,t,r),((e,t)=>{if(e){if(e.code==="ENOENT")return i();if(e.code==="ENOTDIR"){a.add(r);return i()}return i(e)}for(const e of t){const t=e;const i=r?`${r}/${t}`:t;if(!s.has(i)&&!n.has(i)){a.add(i)}}i()}))}),(e=>{if(e)return i(e);i(null,a)}))};const getDiffToOldAssets=(e,t)=>{const n=new Set;for(const r of t){if(!e.has(r))n.add(r)}return n};const applyDiff=(e,t,n,r,i,s,a)=>{const log=e=>{if(n){r.info(e)}else{r.log(e)}};const u=Array.from(i,(e=>({type:"check",filename:e,parent:undefined})));l(u,10,(({type:i,filename:a,parent:u},l,d)=>{const handleError=e=>{if(e.code==="ENOENT"){log(`${a} was removed during cleaning by something else`);handleParent();return d()}return d(e)};const handleParent=()=>{if(u&&--u.remaining===0)l(u.job)};const p=c(e,t,a);switch(i){case"check":if(s(a)){log(`${a} will be kept`);return process.nextTick(d)}e.stat(p,((t,n)=>{if(t)return handleError(t);if(!n.isDirectory()){l({type:"unlink",filename:a,parent:u});return d()}e.readdir(p,((e,t)=>{if(e)return handleError(e);const n={type:"rmdir",filename:a,parent:u};if(t.length===0){l(n)}else{const e={remaining:t.length,job:n};for(const n of t){const t=n;if(t.startsWith(".")){log(`${a} will be kept (dot-files will never be removed)`);continue}l({type:"check",filename:`${a}/${t}`,parent:e})}}return d()}))}));break;case"rmdir":log(`${a} will be removed`);if(n){handleParent();return process.nextTick(d)}if(!e.rmdir){r.warn(`${a} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(d)}e.rmdir(p,(e=>{if(e)return handleError(e);handleParent();d()}));break;case"unlink":log(`${a} will be removed`);if(n){handleParent();return process.nextTick(d)}if(!e.unlink){r.warn(`${a} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(d)}e.unlink(p,(e=>{if(e)return handleError(e);handleParent();d()}));break}}),a)};const p=new WeakMap;class CleanPlugin{static getCompilationHooks(e){if(!(e instanceof a)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=p.get(e);if(t===undefined){t={keep:new s(["ignore"])};p.set(e,t)}return t}constructor(e={}){i(d(),e,{name:"Clean Plugin",baseDataPath:"options"});this.options={dry:false,...e}}apply(e){const{dry:t,keep:n}=this.options;const r=typeof n==="function"?n:typeof n==="string"?e=>e.startsWith(n):typeof n==="object"&&n.test?e=>n.test(e):()=>false;let i;e.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((n,s)=>{const a=CleanPlugin.getCompilationHooks(n);const c=n.getLogger("webpack.CleanPlugin");const u=e.outputFileSystem;if(!u.readdir){return s(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const l=new Set;for(const e of Object.keys(n.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(e))continue;let t;let n=e.replace(/\\/g,"/");do{t=n;n=t.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(n!==t);if(t.startsWith("../"))continue;l.add(t)}const d=n.getPath(e.outputPath,{});const isKept=e=>{const t=a.keep.call(e);if(t!==undefined)return t;return r(e)};const diffCallback=(e,n)=>{if(e){i=undefined;return s(e)}applyDiff(u,d,t,c,n,isKept,(e=>{if(e){i=undefined}else{i=l}s(e)}))};if(i){diffCallback(null,getDiffToOldAssets(l,i))}else{getDiffToFs(u,d,l,diffCallback)}}))}}e.exports=CleanPlugin},93010:(e,t,n)=>{"use strict";const r=n(81627);class CodeGenerationError extends r{constructor(e,t){super();this.name="CodeGenerationError";this.error=t;this.message=t.message;this.details=t.stack;this.module=e;Error.captureStackTrace(this,this.constructor)}}e.exports=CodeGenerationError},53840:(e,t,n)=>{"use strict";const{provide:r}=n(67585);const{first:i}=n(26221);const s=n(35891);const{runtimeToString:a,RuntimeSpecMap:c}=n(37416);class CodeGenerationResults{constructor(){this.map=new Map}get(e,t){const n=this.map.get(e);if(n===undefined){throw new Error(`No code generation entry for ${e.identifier()} (existing entries: ${Array.from(this.map.keys(),(e=>e.identifier())).join(", ")})`)}if(t===undefined){if(n.size>1){const t=new Set(n.values());if(t.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${e.identifier()} (existing runtimes: ${Array.from(n.keys(),(e=>a(e))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return i(t)}return n.values().next().value}const r=n.get(t);if(r===undefined){throw new Error(`No code generation entry for runtime ${a(t)} for ${e.identifier()} (existing runtimes: ${Array.from(n.keys(),(e=>a(e))).join(", ")})`)}return r}has(e,t){const n=this.map.get(e);if(n===undefined){return false}if(t!==undefined){return n.has(t)}else if(n.size>1){const e=new Set(n.values());return e.size===1}else{return n.size===1}}getSource(e,t,n){return this.get(e,t).sources.get(n)}getRuntimeRequirements(e,t){return this.get(e,t).runtimeRequirements}getData(e,t,n){const r=this.get(e,t).data;return r===undefined?undefined:r.get(n)}getHash(e,t){const n=this.get(e,t);if(n.hash!==undefined)return n.hash;const r=s("md4");for(const[e,t]of n.sources){r.update(e);t.updateHash(r)}if(n.runtimeRequirements){for(const e of n.runtimeRequirements)r.update(e)}return n.hash=r.digest("hex")}add(e,t,n){const i=r(this.map,e,(()=>new c));i.set(t,n)}}e.exports=CodeGenerationResults},47207:(e,t,n)=>{"use strict";const r=n(81627);const i=n(56202);class CommentCompilationWarning extends r{constructor(e,t){super(e);this.name="CommentCompilationWarning";this.loc=t;Error.captureStackTrace(this,this.constructor)}}i(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");e.exports=CommentCompilationWarning},97489:(e,t,n)=>{"use strict";const r=n(66298);const i=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(e){e.hooks.compilation.tap("CompatibilityPlugin",((e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(r,new r.Template);t.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((e,t)=>{if(t.browserify!==undefined&&!t.browserify)return;e.hooks.call.for("require").tap("CompatibilityPlugin",(t=>{if(t.arguments.length!==2)return;const n=e.evaluateExpression(t.arguments[1]);if(!n.isBoolean())return;if(n.asBool()!==true)return;const i=new r("require",t.callee.range);i.loc=t.loc;if(e.state.current.dependencies.length>0){const t=e.state.current.dependencies[e.state.current.dependencies.length-1];if(t.critical&&t.options&&t.options.request==="."&&t.userRequest==="."&&t.options.recursive)e.state.current.dependencies.pop()}e.state.module.addPresentationalDependency(i);return true}))}));const nestedWebpackRequireHandler=e=>{e.hooks.preStatement.tap("CompatibilityPlugin",(t=>{if(t.type==="FunctionDeclaration"&&t.id&&t.id.name==="__webpack_require__"){const n=`__nested_webpack_require_${t.range[0]}__`;e.tagVariable(t.id.name,i,{name:n,declaration:{updated:false,loc:t.id.loc,range:t.id.range}});return true}}));e.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(t=>{const n=`__nested_webpack_require_${t.range[0]}__`;e.tagVariable(t.name,i,{name:n,declaration:{updated:false,loc:t.loc,range:t.range}});return true}));e.hooks.expression.for(i).tap("CompatibilityPlugin",(t=>{const{name:n,declaration:i}=e.currentTagData;if(!i.updated){const t=new r(n,i.range);t.loc=i.loc;e.state.module.addPresentationalDependency(t);i.updated=true}const s=new r(n,t.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s);return true}))};t.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",nestedWebpackRequireHandler);t.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",nestedWebpackRequireHandler);t.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",nestedWebpackRequireHandler)}))}}e.exports=CompatibilityPlugin},3080:(e,t,n)=>{"use strict";const r=n(62355);const{HookMap:i,SyncHook:s,SyncBailHook:a,SyncWaterfallHook:c,AsyncSeriesHook:u,AsyncSeriesBailHook:l}=n(92960);const d=n(31669);const{CachedSource:p}=n(48135);const{MultiItemCache:h}=n(6503);const m=n(62433);const g=n(45137);const y=n(84558);const _=n(44445);const b=n(13454);const x=n(93010);const k=n(53840);const E=n(46828);const w=n(71452);const S=n(50717);const C=n(22996);const{connectChunkGroupAndChunk:M,connectChunkGroupParentAndChild:I}=n(4642);const{makeWebpackError:P}=n(3728);const T=n(73694);const O=n(53453);const R=n(82811);const N=n(23280);const L=n(75412);const $=n(54032);const j=n(99869);const z=n(2210);const U=n(31467);const q=n(68661);const G=n(76150);const H=n(37130);const W=n(10140);const V=n(81627);const K=n(25457);const X=n(44547);const{Logger:J,LogType:Y}=n(78539);const Z=n(87279);const ee=n(30533);const{equals:te}=n(73910);const ne=n(9738);const re=n(83379);const{provide:ie}=n(67585);const{cachedCleverMerge:se}=n(90149);const{compareLocations:oe,concatComparators:ae,compareSelect:ue,compareIds:le,compareStringsNumeric:de,compareModulesByIdentifier:pe}=n(68673);const fe=n(35891);const{arrayToSetDeprecation:he,soonFrozenObjectDeprecation:me,createFakeHook:ge}=n(16595);const{getRuntimeKey:ye}=n(37416);const{isSourceEqual:ve}=n(13559);const _e=Object.freeze({});const be="esm";const xe=d.deprecate((e=>n(53520).getCompilationHooks(e).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const ke=ue((e=>e.id),le);const Ee=ae(ue((e=>e.name),le),ue((e=>e.fullHash),le));const we=ue((e=>`${e.message}`),de);const Se=ue((e=>e.module&&e.module.identifier()||""),de);const Ce=ue((e=>e.loc),oe);const Ae=ae(Se,Ce,we);class Compilation{constructor(e){const getNormalModuleLoader=()=>xe(this);const t=new u(["assets"]);let n=new Set;const popNewAssets=e=>{let t=undefined;for(const r of Object.keys(e)){if(n.has(r))continue;if(t===undefined){t=Object.create(null)}t[r]=e[r];n.add(r)}return t};t.intercept({name:"Compilation",call:()=>{n=new Set(Object.keys(this.assets))},register:e=>{const{type:t,name:n}=e;const{fn:r,additionalAssets:i,...s}=e;const a=i===true?r:i;let c=undefined;switch(t){case"sync":if(a){this.hooks.processAdditionalAssets.tap(n,(e=>{if(c===this.assets)a(e)}))}return{...s,type:"async",fn:(e,t)=>{try{r(e)}catch(e){return t(e)}c=this.assets;const n=popNewAssets(e);if(n!==undefined){this.hooks.processAdditionalAssets.callAsync(n,t);return}t()}};case"async":if(a){this.hooks.processAdditionalAssets.tapAsync(n,((e,t)=>{if(c===this.assets)return a(e,t);t()}))}return{...s,fn:(e,t)=>{r(e,(n=>{if(n)return t(n);c=this.assets;const r=popNewAssets(e);if(r!==undefined){this.hooks.processAdditionalAssets.callAsync(r,t);return}t()}))}};case"promise":if(a){this.hooks.processAdditionalAssets.tapPromise(n,(e=>{if(c===this.assets)return a(e);return Promise.resolve()}))}return{...s,fn:e=>{const t=r(e);if(!t||!t.then)return t;return t.then((()=>{c=this.assets;const t=popNewAssets(e);if(t!==undefined){return this.hooks.processAdditionalAssets.promise(t)}}))}}}}});const r=new s(["assets"]);const createProcessAssetsHook=(e,n,r,i)=>{const errorMessage=t=>`Can't automatically convert plugin using Compilation.hooks.${e} to Compilation.hooks.processAssets because ${t}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=e=>{if(typeof e==="string")e={name:e};if(e.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...e,stage:n}};return ge({name:e,intercept(e){throw new Error(errorMessage("it's using 'intercept'"))},tap:(e,n)=>{t.tap(getOptions(e),(()=>n(...r())))},tapAsync:(e,n)=>{t.tapAsync(getOptions(e),((e,t)=>n(...r(),t)))},tapPromise:(e,n)=>{t.tapPromise(getOptions(e),(()=>n(...r())))}},`${e} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,i)};this.hooks=Object.freeze({buildModule:new s(["module"]),rebuildModule:new s(["module"]),failedModule:new s(["module","error"]),succeedModule:new s(["module"]),stillValidModule:new s(["module"]),addEntry:new s(["entry","options"]),failedEntry:new s(["entry","options","error"]),succeedEntry:new s(["entry","options","module"]),dependencyReferencedExports:new c(["referencedExports","dependency","runtime"]),finishModules:new u(["modules"]),finishRebuildingModule:new u(["module"]),unseal:new s([]),seal:new s([]),beforeChunks:new s([]),afterChunks:new s(["chunks"]),optimizeDependencies:new a(["modules"]),afterOptimizeDependencies:new s(["modules"]),optimize:new s([]),optimizeModules:new a(["modules"]),afterOptimizeModules:new s(["modules"]),optimizeChunks:new a(["chunks","chunkGroups"]),afterOptimizeChunks:new s(["chunks","chunkGroups"]),optimizeTree:new u(["chunks","modules"]),afterOptimizeTree:new s(["chunks","modules"]),optimizeChunkModules:new l(["chunks","modules"]),afterOptimizeChunkModules:new s(["chunks","modules"]),shouldRecord:new a([]),additionalChunkRuntimeRequirements:new s(["chunk","runtimeRequirements"]),runtimeRequirementInChunk:new i((()=>new a(["chunk","runtimeRequirements"]))),additionalModuleRuntimeRequirements:new s(["module","runtimeRequirements"]),runtimeRequirementInModule:new i((()=>new a(["module","runtimeRequirements"]))),additionalTreeRuntimeRequirements:new s(["chunk","runtimeRequirements"]),runtimeRequirementInTree:new i((()=>new a(["chunk","runtimeRequirements"]))),runtimeModule:new s(["module","chunk"]),reviveModules:new s(["modules","records"]),beforeModuleIds:new s(["modules"]),moduleIds:new s(["modules"]),optimizeModuleIds:new s(["modules"]),afterOptimizeModuleIds:new s(["modules"]),reviveChunks:new s(["chunks","records"]),beforeChunkIds:new s(["chunks"]),chunkIds:new s(["chunks"]),optimizeChunkIds:new s(["chunks"]),afterOptimizeChunkIds:new s(["chunks"]),recordModules:new s(["modules","records"]),recordChunks:new s(["chunks","records"]),optimizeCodeGeneration:new s(["modules"]),beforeModuleHash:new s([]),afterModuleHash:new s([]),beforeCodeGeneration:new s([]),afterCodeGeneration:new s([]),beforeRuntimeRequirements:new s([]),afterRuntimeRequirements:new s([]),beforeHash:new s([]),contentHash:new s(["chunk"]),afterHash:new s([]),recordHash:new s(["records"]),record:new s(["compilation","records"]),beforeModuleAssets:new s([]),shouldGenerateChunkAssets:new a([]),beforeChunkAssets:new s([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:t,afterOptimizeAssets:r,processAssets:t,afterProcessAssets:r,processAdditionalAssets:new u(["assets"]),needAdditionalSeal:new a([]),afterSeal:new u([]),renderManifest:new c(["result","options"]),fullHash:new s(["hash"]),chunkHash:new s(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new s(["module","filename"]),chunkAsset:new s(["chunk","filename"]),assetPath:new c(["path","options","assetInfo"]),needAdditionalPass:new a([]),childCompiler:new s(["childCompiler","compilerName","compilerIndex"]),log:new a(["origin","logEntry"]),processWarnings:new c(["warnings"]),processErrors:new c(["errors"]),statsPreset:new i((()=>new s(["options","context"]))),statsNormalize:new s(["options","context"]),statsFactory:new s(["statsFactory","options"]),statsPrinter:new s(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=e;this.resolverFactory=e.resolverFactory;this.inputFileSystem=e.inputFileSystem;this.fileSystemInfo=new C(this.inputFileSystem,{managedPaths:e.managedPaths,immutablePaths:e.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo")});if(e.fileTimestamps){this.fileSystemInfo.addFileTimestamps(e.fileTimestamps)}if(e.contextTimestamps){this.fileSystemInfo.addContextTimestamps(e.contextTimestamps)}this.valueCacheVersions=new Map;this.requestShortener=e.requestShortener;this.compilerPath=e.compilerPath;this.logger=this.getLogger("webpack.Compilation");const p=e.options;this.options=p;this.outputOptions=p&&p.output;this.bail=p&&p.bail||false;this.profile=p&&p.profile||false;this.mainTemplate=new T(this.outputOptions,this);this.chunkTemplate=new b(this.outputOptions,this);this.runtimeTemplate=new H(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new q(this.runtimeTemplate,this)};Object.defineProperties(this.moduleTemplates,{asset:{enumerable:false,configurable:false,get(){throw new V("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get(){throw new V("Compilation.moduleTemplates.webassembly has been removed")}}});this.moduleGraph=new L;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new ne({name:"processDependencies",parallelism:p.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new ne({name:"addModule",parent:this.processDependenciesQueue,getKey:e=>e.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new ne({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new ne({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new ne({name:"rebuild",parallelism:p.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;he(this.chunks,"Compilation.chunks");this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;he(this.modules,"Compilation.modules");this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new E;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new re;this.contextDependencies=new re;this.missingDependencies=new re;this.buildDependencies=new re;this.compilationDependencies={add:d.deprecate((e=>this.fileDependencies.add(e)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration")}getStats(){return new W(this)}createStatsOptions(e,t={}){if(typeof e==="boolean"||typeof e==="string"){e={preset:e}}if(typeof e==="object"&&e!==null){const n={};for(const t in e){n[t]=e[t]}if(n.preset!==undefined){this.hooks.statsPreset.for(n.preset).call(n,t)}this.hooks.statsNormalize.call(n,t);return n}else{const e={};this.hooks.statsNormalize.call(e,t);return e}}createStatsFactory(e){const t=new Z;this.hooks.statsFactory.call(t,e);return t}createStatsPrinter(e){const t=new ee;this.hooks.statsPrinter.call(t,e);return t}getCache(e){return this.compiler.getCache(e)}getLogger(e){if(!e){throw new TypeError("Compilation.getLogger(name) called without a name")}let t;return new J(((n,r)=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let i;switch(n){case Y.warn:case Y.error:case Y.trace:i=S.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const s={time:Date.now(),type:n,args:r,trace:i};if(this.hooks.log.call(e,s)===undefined){if(s.type===Y.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${e}] ${s.args[0]}`)}}if(t===undefined){t=this.logging.get(e);if(t===undefined){t=[];this.logging.set(e,t)}}t.push(s);if(s.type===Y.profile){if(typeof console.profile==="function"){console.profile(`[${e}] ${s.args[0]}`)}}}}),(t=>{if(typeof e==="function"){if(typeof t==="function"){return this.getLogger((()=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof t==="function"){t=t();if(!t){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${e}/${t}`}))}else{return this.getLogger((()=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${e}/${t}`}))}}else{if(typeof t==="function"){return this.getLogger((()=>{if(typeof t==="function"){t=t();if(!t){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${e}/${t}`}))}else{return this.getLogger(`${e}/${t}`)}}}))}addModule(e,t){this.addModuleQueue.add(e,t)}_addModule(e,t){const n=e.identifier();const r=this._modules.get(n);if(r){return t(null,r)}const i=this.profile?this.moduleGraph.getProfile(e):undefined;if(i!==undefined){i.markRestoringStart()}this._modulesCache.get(n,null,((r,s)=>{if(r)return t(new z(e,r));if(i!==undefined){i.markRestoringEnd();i.markIntegrationStart()}if(s){s.updateCacheModule(e);e=s}this._modules.set(n,e);this.modules.add(e);L.setModuleGraphForModule(e,this.moduleGraph);if(i!==undefined){i.markIntegrationEnd()}t(null,e)}))}getModule(e){const t=e.identifier();return this._modules.get(t)}findModule(e){return this._modules.get(e)}buildModule(e,t){this.buildQueue.add(e,t)}_buildModule(e,t){const n=this.profile?this.moduleGraph.getProfile(e):undefined;if(n!==undefined){n.markBuildingStart()}e.needBuild({fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((r,i)=>{if(r)return t(r);if(!i){if(n!==undefined){n.markBuildingEnd()}this.hooks.stillValidModule.call(e);return t()}this.hooks.buildModule.call(e);this.builtModules.add(e);e.build(this.options,this,this.resolverFactory.get("normal",e.resolveOptions),this.inputFileSystem,(r=>{if(n!==undefined){n.markBuildingEnd()}if(r){this.hooks.failedModule.call(e,r);return t(r)}if(n!==undefined){n.markStoringStart()}this._modulesCache.store(e.identifier(),null,e,(r=>{if(n!==undefined){n.markStoringEnd()}if(r){this.hooks.failedModule.call(e,r);return t(new U(e,r))}this.hooks.succeedModule.call(e);return t()}))}))}))}processModuleDependencies(e,t){this.processDependenciesQueue.add(e,t)}processModuleDependenciesNonRecursive(e){const processDependenciesBlock=t=>{if(t.dependencies){for(const n of t.dependencies){this.moduleGraph.setParents(n,t,e)}}if(t.blocks){for(const e of t.blocks)processDependenciesBlock(e)}};processDependenciesBlock(e)}_processModuleDependencies(e,t){const n=new Map;const i=[];let s=e;let a;let c;let u;let l;let d;const processDependency=t=>{this.moduleGraph.setParents(t,s,e);const r=t.getResourceIdentifier();if(r){const s=t.category;const p=s===be?r:`${s}${r}`;const h=t.constructor;let m;let g;if(a===h){m=c;if(l===p){d.push(t);return}}else{g=this.dependencyFactories.get(t.constructor);if(g===undefined){throw new Error(`No module factory available for dependency type: ${t.constructor.name}`)}m=n.get(g);if(m===undefined){n.set(g,m=new Map)}a=h;c=m;u=g}let y=m.get(p);if(y===undefined){m.set(p,y=[]);i.push({factory:u,dependencies:y,originModule:e})}y.push(t);l=p;d=y}};const processDependenciesBlock=e=>{if(e.dependencies){s=e;for(const t of e.dependencies)processDependency(t)}if(e.blocks){for(const t of e.blocks)processDependenciesBlock(t)}};try{processDependenciesBlock(e)}catch(e){return t(e)}if(i.length===0){t();return}this.processDependenciesQueue.increaseParallelism();r.forEach(i,((e,t)=>{this.handleModuleCreation(e,(e=>{if(e&&this.bail){e.stack=e.stack;return t(e)}t()}))}),(e=>{this.processDependenciesQueue.decreaseParallelism();return t(e)}))}handleModuleCreation({factory:e,dependencies:t,originModule:n,contextInfo:r,context:i,recursive:s=true},a){const c=this.moduleGraph;const u=this.profile?new j:undefined;this.factorizeModule({currentProfile:u,factory:e,dependencies:t,originModule:n,contextInfo:r,context:i},((e,r)=>{if(e){if(t.every((e=>e.optional))){this.warnings.push(e)}else{this.errors.push(e)}return a(e)}if(!r){return a()}if(u!==undefined){c.setProfile(r,u)}this.addModule(r,((e,i)=>{if(e){if(!e.module){e.module=i}this.errors.push(e);return a(e)}for(let e=0;e{if(l!==undefined){l.delete(i)}if(e){if(!e.module){e.module=i}this.errors.push(e);return a(e)}if(!s){this.processModuleDependenciesNonRecursive(i);a(null,i);return}if(this.processDependenciesQueue.isProcessing(i)){return a()}this.processModuleDependencies(i,(e=>{if(e){return a(e)}a(null,i)}))}))}))}))}factorizeModule(e,t){this.factorizeQueue.add(e,t)}_factorizeModule({currentProfile:e,factory:t,dependencies:n,originModule:r,contextInfo:i,context:s},a){if(e!==undefined){e.markFactoryStart()}t.create({contextInfo:{issuer:r?r.nameForCondition():"",issuerLayer:r?r.layer:null,compiler:this.compiler.name,...i},resolveOptions:r?r.resolveOptions:undefined,context:s?s:r?r.context:this.compiler.context,dependencies:n},((t,i)=>{if(i){if(i.module===undefined&&i instanceof O){i={module:i}}const{fileDependencies:e,contextDependencies:t,missingDependencies:n}=i;if(e){this.fileDependencies.addAll(e)}if(t){this.contextDependencies.addAll(t)}if(n){this.missingDependencies.addAll(n)}}if(t){const e=new $(r,t,n.map((e=>e.loc)).filter(Boolean)[0]);return a(e)}if(!i){return a()}const s=i.module;if(!s){return a()}if(e!==undefined){e.markFactoryEnd()}a(null,s)}))}addModuleChain(e,t,n){return this.addModuleTree({context:e,dependency:t},n)}addModuleTree({context:e,dependency:t,contextInfo:n},r){if(typeof t!=="object"||t===null||!t.constructor){return r(new V("Parameter 'dependency' must be a Dependency"))}const i=t.constructor;const s=this.dependencyFactories.get(i);if(!s){return r(new V(`No dependency factory available for this dependency type: ${t.constructor.name}`))}this.handleModuleCreation({factory:s,dependencies:[t],originModule:null,contextInfo:n,context:e},(e=>{if(e&&this.bail){r(e);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else{r()}}))}addEntry(e,t,n,r){const i=typeof n==="object"?n:{name:n};this._addEntryItem(e,t,"dependencies",i,r)}addInclude(e,t,n,r){this._addEntryItem(e,t,"includeDependencies",n,r)}_addEntryItem(e,t,n,r,i){const{name:s}=r;let a=s!==undefined?this.entries.get(s):this.globalEntry;if(a===undefined){a={dependencies:[],includeDependencies:[],options:{name:undefined,...r}};a[n].push(t);this.entries.set(s,a)}else{a[n].push(t);for(const e of Object.keys(r)){if(r[e]===undefined)continue;if(a.options[e]===r[e])continue;if(Array.isArray(a.options[e])&&Array.isArray(r[e])&&te(a.options[e],r[e])){continue}if(a.options[e]===undefined){a.options[e]=r[e]}else{return i(new V(`Conflicting entry option ${e} = ${a.options[e]} vs ${r[e]}`))}}}this.hooks.addEntry.call(t,r);this.addModuleTree({context:e,dependency:t,contextInfo:a.options.layer?{issuerLayer:a.options.layer}:undefined},((e,n)=>{if(e){this.hooks.failedEntry.call(t,r,e);return i(e)}this.hooks.succeedEntry.call(t,r,n);return i(null,n)}))}rebuildModule(e,t){this.rebuildQueue.add(e,t)}_rebuildModule(e,t){this.hooks.rebuildModule.call(e);const n=e.dependencies.slice();const r=e.blocks.slice();e.invalidateBuild();this.buildQueue.invalidate(e);this.buildModule(e,(i=>{if(i){return this.hooks.finishRebuildingModule.callAsync(e,(e=>{if(e){t(P(e,"Compilation.hooks.finishRebuildingModule"));return}t(i)}))}this.processDependenciesQueue.invalidate(e);this.processModuleDependencies(e,(i=>{if(i)return t(i);this.removeReasonsOfDependencyBlock(e,{dependencies:n,blocks:r});this.hooks.finishRebuildingModule.callAsync(e,(n=>{if(n){t(P(n,"Compilation.hooks.finishRebuildingModule"));return}t(null,e)}))}))}))}finish(e){if(this.profile){this.logger.time("finish module profiles");const e=n(382);const t=new e;const r=this.moduleGraph;const i=new Map;for(const e of this.modules){const n=r.getProfile(e);if(!n)continue;i.set(e,n);t.range(n.buildingStartTime,n.buildingEndTime,(e=>n.buildingParallelismFactor=e));t.range(n.factoryStartTime,n.factoryEndTime,(e=>n.factoryParallelismFactor=e));t.range(n.integrationStartTime,n.integrationEndTime,(e=>n.integrationParallelismFactor=e));t.range(n.storingStartTime,n.storingEndTime,(e=>n.storingParallelismFactor=e));t.range(n.restoringStartTime,n.restoringEndTime,(e=>n.restoringParallelismFactor=e));if(n.additionalFactoryTimes){for(const{start:e,end:r}of n.additionalFactoryTimes){const i=(r-e)/n.additionalFactories;t.range(e,r,(e=>n.additionalFactoriesParallelismFactor+=e*i))}}}t.calculate();const s=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(e,t)=>{if(e>1e3){s.error(t)}else if(e>500){s.warn(t)}else if(e>200){s.info(t)}else if(e>30){s.log(t)}else{s.debug(t)}};const logNormalSummary=(e,t,n)=>{let r=0;let s=0;for(const[a,c]of i){const i=n(c);const u=t(c);if(u===0||i===0)continue;const l=u/i;r+=l;if(l<=10)continue;logByValue(l,` | ${Math.round(l)} ms${i>=1.1?` (parallelism ${Math.round(i*10)/10})`:""} ${e} > ${a.readableIdentifier(this.requestShortener)}`);s=Math.max(s,l)}if(r<=10)return;logByValue(Math.max(r/10,s),`${Math.round(r)} ms ${e}`)};const logByLoadersSummary=(e,t,n)=>{const r=new Map;for(const[e,t]of i){const n=ie(r,e.type+"!"+e.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));n.push({module:e,profile:t})}let s=0;let a=0;for(const[i,c]of r){let r=0;let u=0;for(const{module:i,profile:s}of c){const a=n(s);const c=t(s);if(c===0||a===0)continue;const l=c/a;r+=l;if(l<=10)continue;logByValue(l,` | | ${Math.round(l)} ms${a>=1.1?` (parallelism ${Math.round(a*10)/10})`:""} ${e} > ${i.readableIdentifier(this.requestShortener)}`);u=Math.max(u,l)}s+=r;if(r<=10)continue;const l=i.indexOf("!");const d=i.slice(l+1);const p=i.slice(0,l);const h=Math.max(r/10,u);logByValue(h,` | ${Math.round(r)} ms ${e} > ${d?`${c.length} x ${p} with ${this.requestShortener.shorten(d)}`:`${c.length} x ${p}`}`);a=Math.max(a,h)}if(s<=10)return;logByValue(Math.max(s/10,a),`${Math.round(s)} ms ${e}`)};logNormalSummary("resolve to new modules",(e=>e.factory),(e=>e.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(e=>e.additionalFactories),(e=>e.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(e=>e.restoring),(e=>e.restoringParallelismFactor));logByLoadersSummary("build modules",(e=>e.building),(e=>e.buildingParallelismFactor));logNormalSummary("store modules",(e=>e.storing),(e=>e.storingParallelismFactor));logNormalSummary("restore modules",(e=>e.restoring),(e=>e.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("finish modules");const{modules:t}=this;this.hooks.finishModules.callAsync(t,(n=>{this.logger.timeEnd("finish modules");if(n)return e(n);this.logger.time("report dependency errors and warnings");for(const e of t){this.reportDependencyErrorsAndWarnings(e,[e]);const t=e.getErrors();if(t!==undefined){for(const n of t){if(!n.module){n.module=e}this.errors.push(n)}}const n=e.getWarnings();if(n!==undefined){for(const t of n){if(!t.module){t.module=e}this.warnings.push(t)}}}this.logger.timeEnd("report dependency errors and warnings");e()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes()}seal(e){const t=new g(this.moduleGraph);this.chunkGraph=t;for(const e of this.modules){g.setChunkGraphForModule(e,t)}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();const n=new Map;for(const[e,{dependencies:r,includeDependencies:i,options:s}]of this.entries){const a=this.addChunk(e);if(s.filename){a.filenameTemplate=s.filename}const c=new w(s);if(!s.dependOn&&!s.runtime){c.setRuntimeChunk(a)}c.setEntrypointChunk(a);this.namedChunkGroups.set(e,c);this.entrypoints.set(e,c);this.chunkGroups.push(c);M(c,a);for(const i of[...this.globalEntry.dependencies,...r]){c.addOrigin(null,{name:e},i.request);const r=this.moduleGraph.getModule(i);if(r){t.connectChunkAndEntryModule(a,r,c);this.assignDepth(r);const e=n.get(c);if(e===undefined){n.set(c,[r])}else{e.push(r)}}}const mapAndSort=e=>e.map((e=>this.moduleGraph.getModule(e))).filter(Boolean).sort(pe);const u=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(i)];let l=n.get(c);if(l===undefined){n.set(c,l=[])}for(const e of u){this.assignDepth(e);l.push(e)}}const r=new Set;e:for(const[e,{options:{dependOn:t,runtime:n}}]of this.entries){if(t&&n){const t=new V(`Entrypoint '${e}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const n=this.entrypoints.get(e);t.chunk=n.getEntrypointChunk();this.errors.push(t)}if(t){const n=this.entrypoints.get(e);const r=n.getEntrypointChunk().getAllReferencedChunks();const i=[];for(const s of t){const t=this.entrypoints.get(s);if(!t){throw new Error(`Entry ${e} depends on ${s}, but this entry was not found`)}if(r.has(t.getEntrypointChunk())){const t=new V(`Entrypoints '${e}' and '${s}' use 'dependOn' to depend on each other in a circular way.`);const r=n.getEntrypointChunk();t.chunk=r;this.errors.push(t);n.setRuntimeChunk(r);continue e}i.push(t)}for(const e of i){I(e,n)}}else if(n){const t=this.entrypoints.get(e);let i=this.namedChunks.get(n);if(i){if(!r.has(i)){const r=new V(`Entrypoint '${e}' has a 'runtime' option which points to another entrypoint named '${n}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(n)}' instead to allow using entrypoint '${e}' within the runtime of entrypoint '${n}'? For this '${n}' must always be loaded when '${e}' is used.\nOr do you want to use the entrypoints '${e}' and '${n}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const i=t.getEntrypointChunk();r.chunk=i;this.errors.push(r);t.setRuntimeChunk(i);continue}}else{i=this.addChunk(n);i.preventIntegration=true;r.add(i)}t.unshiftChunk(i);i.addGroup(t);t.setRuntimeChunk(i)}}K(this,n);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(t=>{if(t){return e(P(t,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(t=>{if(t){return e(P(t,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const n=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.sortItemsWithChunkIds();if(n){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((t=>{if(t){return e(t)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const r=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(r,(t=>{if(t){return e(t)}if(n){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(t=>{if(t){return e(P(t,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=me(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`);this.summarizeDependencies();if(n){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(e)}return this.hooks.afterSeal.callAsync((t=>{if(t){return e(P(t,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();e()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((t=>{this.logger.timeEnd("create chunk assets");if(t){return e(t)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(e,t){for(let n=0;n1){const i=new Map;for(const s of r){const r=t.getModuleHash(e,s);const a=i.get(r);if(a===undefined){const t={module:e,hash:r,runtime:s,runtimes:[s]};n.push(t);i.set(r,t)}else{a.runtimes.push(s)}}}}this._runCodeGenerationJobs(n,e)}_runCodeGenerationJobs(e,t){let n=0;let i=0;const{chunkGraph:s,moduleGraph:a,dependencyTemplates:c,runtimeTemplate:u}=this;const l=this.codeGenerationResults;const d=[];r.eachLimit(e,this.options.parallelism,(({module:e,hash:t,runtime:r,runtimes:p},h)=>{this._codeGenerationModule(e,r,p,t,c,s,a,u,d,l,((e,t)=>{if(t)i++;else n++;h(e)}))}),(e=>{if(e)return t(e);if(d.length>0){d.sort(ue((e=>e.module),pe));for(const e of d){this.errors.push(e)}}this.logger.log(`${Math.round(100*i/(i+n))}% code generated (${i} generated, ${n} from cache)`);t()}))}_codeGenerationModule(e,t,n,r,i,s,a,c,u,l,d){let p=false;const m=new h(n.map((t=>this._codeGenerationCache.getItemCache(`${e.identifier()}|${ye(t)}`,`${r}|${i.getHash()}`))));m.get(((r,h)=>{if(r)return d(r);let g;if(!h){try{p=true;this.codeGeneratedModules.add(e);g=e.codeGeneration({chunkGraph:s,moduleGraph:a,dependencyTemplates:i,runtimeTemplate:c,runtime:t})}catch(r){u.push(new x(e,r));g=h={sources:new Map,runtimeRequirements:null}}}else{g=h}for(const t of n){l.add(e,t,g)}if(!h){m.store(g,(e=>d(e,p)))}else{d(null,p)}}))}processRuntimeRequirements(){const{chunkGraph:e}=this;const t=this.hooks.additionalModuleRuntimeRequirements;const n=this.hooks.runtimeRequirementInModule;for(const r of this.modules){if(e.getNumberOfModuleChunks(r)>0){for(const i of e.getModuleRuntimes(r)){let s;const a=this.codeGenerationResults.getRuntimeRequirements(r,i);if(a&&a.size>0){s=new Set(a)}else if(t.isUsed()){s=new Set}else{continue}t.call(r,s);for(const e of s){const t=n.get(e);if(t!==undefined)t.call(r,s)}e.addModuleRuntimeRequirements(r,i,s)}}}for(const t of this.chunks){const n=new Set;for(const r of e.getChunkModulesIterable(t)){const i=e.getModuleRuntimeRequirements(r,t.runtime);for(const e of i)n.add(e)}this.hooks.additionalChunkRuntimeRequirements.call(t,n);for(const e of n){this.hooks.runtimeRequirementInChunk.for(e).call(t,n)}e.addChunkRuntimeRequirements(t,n)}const r=new Set;for(const e of this.entrypoints.values()){const t=e.getRuntimeChunk();if(t)r.add(t)}for(const e of this.asyncEntrypoints){const t=e.getRuntimeChunk();if(t)r.add(t)}for(const t of r){const n=new Set;for(const r of t.getAllReferencedChunks()){const t=e.getChunkRuntimeRequirements(r);for(const e of t)n.add(e)}this.hooks.additionalTreeRuntimeRequirements.call(t,n);for(const e of n){this.hooks.runtimeRequirementInTree.for(e).call(t,n)}e.addTreeRuntimeRequirements(t,n)}}addRuntimeModule(e,t){L.setModuleGraphForModule(t,this.moduleGraph);this.modules.add(t);this._modules.set(t.identifier(),t);this.chunkGraph.connectChunkAndModule(e,t);this.chunkGraph.connectChunkAndRuntimeModule(e,t);if(t.fullHash){this.chunkGraph.addFullHashModuleToChunk(e,t)}t.attach(this,e);const n=this.moduleGraph.getExportsInfo(t);n.setHasProvideInfo();if(typeof e.runtime==="string"){n.setUsedForSideEffectsOnly(e.runtime)}else if(e.runtime===undefined){n.setUsedForSideEffectsOnly(undefined)}else{for(const t of e.runtime){n.setUsedForSideEffectsOnly(t)}}this.chunkGraph.addModuleRuntimeRequirements(t,e.runtime,new Set([G.requireScope]));this.chunkGraph.setModuleId(t,"");this.hooks.runtimeModule.call(t,e)}addChunkInGroup(e,t,n,r){if(typeof e==="string"){e={name:e}}const i=e.name;if(i){const s=this.namedChunkGroups.get(i);if(s!==undefined){s.addOptions(e);if(t){s.addOrigin(t,n,r)}return s}}const s=new y(e);if(t)s.addOrigin(t,n,r);const a=this.addChunk(i);M(s,a);this.chunkGroups.push(s);if(i){this.namedChunkGroups.set(i,s)}return s}addAsyncEntrypoint(e,t,n,r){const i=e.name;if(i){const e=this.namedChunkGroups.get(i);if(e instanceof w){if(e!==undefined){if(t){e.addOrigin(t,n,r)}return e}}else if(e){throw new Error(`Cannot add an async entrypoint with the name '${i}', because there is already an chunk group with this name`)}}const s=this.addChunk(i);if(e.filename){s.filenameTemplate=e.filename}const a=new w(e,false);a.setRuntimeChunk(s);a.setEntrypointChunk(s);if(i){this.namedChunkGroups.set(i,a)}this.chunkGroups.push(a);this.asyncEntrypoints.push(a);M(a,s);if(t){a.addOrigin(t,n,r)}return a}addChunk(e){if(e){const t=this.namedChunks.get(e);if(t!==undefined){return t}}const t=new m(e);this.chunks.add(t);g.setChunkGraphForChunk(t,this.chunkGraph);if(e){this.namedChunks.set(e,t)}return t}assignDepth(e){const t=this.moduleGraph;const n=new Set([e]);let r;t.setDepth(e,0);const processModule=e=>{if(!t.setDepthIfLower(e,r))return;n.add(e)};for(e of n){n.delete(e);r=t.getDepth(e)+1;for(const n of t.getOutgoingConnections(e)){const e=n.module;if(e){processModule(e)}}}}getDependencyReferencedExports(e,t){const n=e.getReferencedExports(this.moduleGraph,t);return this.hooks.dependencyReferencedExports.call(n,e,t)}removeReasonsOfDependencyBlock(e,t){if(t.blocks){for(const n of t.blocks){this.removeReasonsOfDependencyBlock(e,n)}}if(t.dependencies){for(const e of t.dependencies){const t=this.moduleGraph.getModule(e);if(t){this.moduleGraph.removeConnection(e);if(this.chunkGraph){for(const e of this.chunkGraph.getModuleChunks(t)){this.patchChunksAfterReasonRemoval(t,e)}}}}}}patchChunksAfterReasonRemoval(e,t){if(!e.hasReasons(this.moduleGraph,t.runtime)){this.removeReasonsOfDependencyBlock(e,e)}if(!e.hasReasonForChunk(t,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(e,t)){this.chunkGraph.disconnectChunkAndModule(t,e);this.removeChunkFromDependencies(e,t)}}}removeChunkFromDependencies(e,t){const iteratorDependency=e=>{const n=this.moduleGraph.getModule(e);if(!n){return}this.patchChunksAfterReasonRemoval(n,t)};const n=e.blocks;for(let t=0;t{const n=t.options.runtime||t.name;const r=t.getRuntimeChunk();e.setRuntimeId(n,r.id)};for(const e of this.entrypoints.values()){processEntrypoint(e)}for(const e of this.asyncEntrypoints){processEntrypoint(e)}}sortItemsWithChunkIds(){for(const e of this.chunkGroups){e.sortItems()}this.errors.sort(Ae);this.warnings.sort(Ae);this.children.sort(Ee)}summarizeDependencies(){for(let e=0;e0){this.logger.time("hashing: hash child compilations");for(const e of this.children){a.update(e.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const e of this.warnings){a.update(`${e.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const e of this.errors){a.update(`${e.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const c=[];const u=[];for(const e of this.chunks){if(e.hasRuntime()){c.push(e)}else{u.push(e)}}c.sort(ke);u.sort(ke);const l=new Map;for(const e of c){l.set(e,{chunk:e,referencedBy:[],remaining:0})}let d=0;for(const e of l.values()){for(const t of new Set(Array.from(e.chunk.getAllReferencedAsyncEntrypoints()).map((e=>e.chunks[e.chunks.length-1])))){const n=l.get(t);n.referencedBy.push(e);e.remaining++;d++}}const p=[];for(const e of l.values()){if(e.remaining===0){p.push(e.chunk)}}if(d>0){const e=[];for(const t of p){const n=l.get(t);for(const t of n.referencedBy){d--;if(--t.remaining===0){e.push(t.chunk)}}if(e.length>0){e.sort(ke);for(const t of e)p.push(t);e.length=0}}}if(d>0){let e=[];for(const t of l.values()){if(t.remaining!==0){e.push(t)}}e.sort(ue((e=>e.chunk),ke));const t=new V(`Circular dependency between chunks with runtime (${Array.from(e,(e=>e.chunk.name||e.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);t.chunk=e[0].chunk;this.warnings.push(t);for(const t of e)p.push(t.chunk)}this.logger.timeEnd("hashing: sort chunks");const h=new Set;const m=[];const g=new Map;const processChunk=c=>{this.logger.time("hashing: hash runtime modules");const u=c.runtime;for(const n of e.getChunkModulesIterable(c)){if(!e.hasModuleHashes(n,u)){const a=this._createModuleHash(n,e,u,r,t,i,s);let c=g.get(a);if(c){const e=c.get(n);if(e){e.runtimes.push(u);continue}}else{c=new Map;g.set(a,c)}const l={module:n,hash:a,runtime:u,runtimes:[u]};c.set(n,l);m.push(l)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const l=fe(r);try{if(n.hashSalt){l.update(n.hashSalt)}c.updateHash(l,e);this.hooks.chunkHash.call(c,l,{chunkGraph:e,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const t=l.digest(i);a.update(t);c.hash=t;c.renderedHash=c.hash.substr(0,s);const r=e.getChunkFullHashModulesIterable(c);if(r){h.add(c)}else{this.hooks.contentHash.call(c)}}catch(e){this.errors.push(new _(c,"",e))}this.logger.timeAggregate("hashing: hash chunks")};u.forEach(processChunk);for(const e of p)processChunk(e);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(a);this.fullHash=a.digest(i);this.hash=this.fullHash.substr(0,s);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const n of h){for(const a of e.getChunkFullHashModulesIterable(n)){const c=fe(r);a.updateHash(c,{chunkGraph:e,runtime:n.runtime,runtimeTemplate:t});const u=c.digest(i);const l=e.getModuleHash(a,n.runtime);e.setModuleHashes(a,n.runtime,u,u.substr(0,s));g.get(l).get(a).hash=u}const a=fe(r);a.update(n.hash);a.update(this.hash);const c=a.digest(i);n.hash=c;n.renderedHash=n.hash.substr(0,s);this.hooks.contentHash.call(n)}this.logger.timeEnd("hashing: process full hash modules");return m}emitAsset(e,t,n={}){if(this.assets[e]){if(!ve(this.assets[e],t)){this.errors.push(new V(`Conflict: Multiple assets emit different content to the same filename ${e}`));this.assets[e]=t;this._setAssetInfo(e,n);return}const r=this.assetsInfo.get(e);const i=Object.assign({},r,n);this._setAssetInfo(e,i,r);return}this.assets[e]=t;this._setAssetInfo(e,n,undefined)}_setAssetInfo(e,t,n=this.assetsInfo.get(e)){if(t===undefined){this.assetsInfo.delete(e)}else{this.assetsInfo.set(e,t)}const r=n&&n.related;const i=t&&t.related;if(r){for(const t of Object.keys(r)){const remove=n=>{const r=this._assetsRelatedIn.get(n);if(r===undefined)return;const i=r.get(t);if(i===undefined)return;i.delete(e);if(i.size!==0)return;r.delete(t);if(r.size===0)this._assetsRelatedIn.delete(n)};const n=r[t];if(Array.isArray(n)){n.forEach(remove)}else if(n){remove(n)}}}if(i){for(const t of Object.keys(i)){const add=n=>{let r=this._assetsRelatedIn.get(n);if(r===undefined){this._assetsRelatedIn.set(n,r=new Map)}let i=r.get(t);if(i===undefined){r.set(t,i=new Set)}i.add(e)};const n=i[t];if(Array.isArray(n)){n.forEach(add)}else if(n){add(n)}}}}updateAsset(e,t,n=undefined){if(!this.assets[e]){throw new Error(`Called Compilation.updateAsset for not existing filename ${e}`)}if(typeof t==="function"){this.assets[e]=t(this.assets[e])}else{this.assets[e]=t}if(n!==undefined){const t=this.assetsInfo.get(e)||_e;if(typeof n==="function"){this._setAssetInfo(e,n(t),t)}else{this._setAssetInfo(e,se(t,n),t)}}}renameAsset(e,t){const n=this.assets[e];if(!n){throw new Error(`Called Compilation.renameAsset for not existing filename ${e}`)}if(this.assets[t]){if(!ve(this.assets[e],n)){this.errors.push(new V(`Conflict: Called Compilation.renameAsset for already existing filename ${t} with different content`))}}const r=this.assetsInfo.get(e);const i=this._assetsRelatedIn.get(e);if(i){for(const[n,r]of i){for(const i of r){const r=this.assetsInfo.get(i);if(!r)continue;const s=r.related;if(!s)continue;const a=s[n];let c;if(Array.isArray(a)){c=a.map((n=>n===e?t:n))}else if(a===e){c=t}else continue;this.assetsInfo.set(i,{...r,related:{...s,[n]:c}})}}}this._setAssetInfo(e,undefined,r);this._setAssetInfo(t,r);delete this.assets[e];this.assets[t]=n;for(const n of this.chunks){{const r=n.files.size;n.files.delete(e);if(r!==n.files.size){n.files.add(t)}}{const r=n.auxiliaryFiles.size;n.auxiliaryFiles.delete(e);if(r!==n.auxiliaryFiles.size){n.auxiliaryFiles.add(t)}}}}deleteAsset(e){if(!this.assets[e]){return}delete this.assets[e];const t=this.assetsInfo.get(e);this._setAssetInfo(e,undefined,t);const n=t&&t.related;if(n){for(const e of Object.keys(n)){const checkUsedAndDelete=e=>{if(!this._assetsRelatedIn.has(e)){this.deleteAsset(e)}};const t=n[e];if(Array.isArray(t)){t.forEach(checkUsedAndDelete)}else if(t){checkUsedAndDelete(t)}}}for(const t of this.chunks){t.files.delete(e);t.auxiliaryFiles.delete(e)}}getAssets(){const e=[];for(const t of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,t)){e.push({name:t,source:this.assets[t],info:this.assetsInfo.get(t)||_e})}}return e}getAsset(e){if(!Object.prototype.hasOwnProperty.call(this.assets,e))return undefined;return{name:e,source:this.assets[e],info:this.assetsInfo.get(e)||_e}}clearAssets(){for(const e of this.chunks){e.files.clear();e.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:e}=this;for(const t of this.modules){if(t.buildInfo.assets){const n=t.buildInfo.assetsInfo;for(const r of Object.keys(t.buildInfo.assets)){const i=this.getPath(r,{chunkGraph:this.chunkGraph,module:t});for(const n of e.getModuleChunksIterable(t)){n.auxiliaryFiles.add(i)}this.emitAsset(i,t.buildInfo.assets[r],n?n.get(r):undefined);this.hooks.moduleAsset.call(t,i)}}}}getRenderManifest(e){return this.hooks.renderManifest.call([],e)}createChunkAssets(e){const t=this.outputOptions;const n=new WeakMap;const i=new Map;r.forEach(this.chunks,((e,s)=>{let a;try{a=this.getRenderManifest({chunk:e,hash:this.hash,fullHash:this.fullHash,outputOptions:t,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(t){this.errors.push(new _(e,"",t));return s()}r.forEach(a,((t,r)=>{const s=t.identifier;const a=t.hash;const c=this._assetsCache.getItemCache(s,a);c.get(((s,u)=>{let l;let d;let h;let m=true;const errorAndCallback=t=>{const n=d||(typeof d==="string"?d:typeof l==="string"?l:"");this.errors.push(new _(e,n,t));m=false;return r()};try{if("filename"in t){d=t.filename;h=t.info}else{l=t.filenameTemplate;const e=this.getPathWithInfo(l,t.pathOptions);d=e.path;h=t.info?{...e.info,...t.info}:e.info}if(s){return errorAndCallback(s)}let g=u;const y=i.get(d);if(y!==undefined){if(y.hash!==a){m=false;return r(new V(`Conflict: Multiple chunks emit assets to the same filename ${d}`+` (chunks ${y.chunk.id} and ${e.id})`))}else{g=y.source}}else if(!g){g=t.render();if(!(g instanceof p)){const e=n.get(g);if(e){g=e}else{const e=new p(g);n.set(g,e);g=e}}}this.emitAsset(d,g,h);if(t.auxiliary){e.auxiliaryFiles.add(d)}else{e.files.add(d)}this.hooks.chunkAsset.call(e,d);i.set(d,{hash:a,source:g,chunk:e});if(g!==u){c.store(g,(e=>{if(e)return errorAndCallback(e);m=false;return r()}))}else{m=false;r()}}catch(s){if(!m)throw s;errorAndCallback(s)}}))}),s)}),e)}getPath(e,t={}){if(!t.hash){t={hash:this.hash,...t}}return this.getAssetPath(e,t)}getPathWithInfo(e,t={}){if(!t.hash){t={hash:this.hash,...t}}return this.getAssetPathWithInfo(e,t)}getAssetPath(e,t){return this.hooks.assetPath.call(typeof e==="function"?e(t):e,t,undefined)}getAssetPathWithInfo(e,t){const n={};const r=this.hooks.assetPath.call(typeof e==="function"?e(t,n):e,t,n);return{path:r,info:n}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(e,t,n){const r=this.childrenCounters[e]||0;this.childrenCounters[e]=r+1;return this.compiler.createChildCompiler(this,e,r,t,n)}checkConstraints(){const e=this.chunkGraph;const t=new Set;for(const n of this.modules){if(n.type==="runtime")continue;const r=e.getModuleId(n);if(r===null)continue;if(t.has(r)){throw new Error(`checkConstraints: duplicate module id ${r}`)}t.add(r)}for(const t of this.chunks){for(const n of e.getChunkModulesIterable(t)){if(!this.modules.has(n)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${t.debugId} ${n.debugId}`)}}for(const n of e.getChunkEntryModulesIterable(t)){if(!this.modules.has(n)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${t.debugId} ${n.debugId}`)}}}for(const e of this.chunkGroups){e.checkConstraints()}}}const De=Compilation.prototype;Object.defineProperty(De,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(De,"cache",{enumerable:false,configurable:false,get:d.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:d.deprecate((e=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;e.exports=Compilation},63076:(e,t,n)=>{"use strict";const r=n(78688);const i=n(62355);const{SyncHook:s,SyncBailHook:a,AsyncParallelHook:c,AsyncSeriesHook:u}=n(92960);const{SizeOnlySource:l}=n(48135);const d=n(86443);const p=n(54725);const h=n(6503);const m=n(45137);const g=n(3080);const y=n(27310);const _=n(89869);const b=n(75412);const x=n(43229);const k=n(80910);const E=n(1819);const w=n(10140);const S=n(84693);const C=n(81627);const{Logger:M}=n(78539);const{join:I,dirname:P,mkdirp:T}=n(95396);const{makePathsRelative:O}=n(49197);const{isSourceEqual:R}=n(13559);const isSorted=e=>{for(let t=1;te[t])return false}return true};const sortObject=(e,t)=>{const n={};for(const r of t.sort()){n[r]=e[r]}return n};const includesHash=(e,t)=>{if(!t)return false;if(Array.isArray(t)){return t.some((t=>e.includes(t)))}else{return e.includes(t)}};class Compiler{constructor(e){this.hooks=Object.freeze({initialize:new s([]),shouldEmit:new a(["compilation"]),done:new u(["stats"]),afterDone:new s(["stats"]),additionalPass:new u([]),beforeRun:new u(["compiler"]),run:new u(["compiler"]),emit:new u(["compilation"]),assetEmitted:new u(["file","info"]),afterEmit:new u(["compilation"]),thisCompilation:new s(["compilation","params"]),compilation:new s(["compilation","params"]),normalModuleFactory:new s(["normalModuleFactory"]),contextModuleFactory:new s(["contextModuleFactory"]),beforeCompile:new u(["params"]),compile:new s(["params"]),make:new c(["compilation"]),finishMake:new u(["compilation"]),afterCompile:new u(["compilation"]),watchRun:new u(["compiler"]),failed:new s(["error"]),invalid:new s(["filename","changeTime"]),watchClose:new s([]),shutdown:new u([]),infrastructureLog:new a(["origin","type","args"]),environment:new s([]),afterEnvironment:new s([]),afterPlugins:new s(["compiler"]),afterResolvers:new s(["compiler"]),entryOption:new a(["context","entry"])});this.webpack=d;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.resolverFactory=new E;this.infrastructureLogger=undefined;this.options={};this.context=e;this.requestShortener=new k(e,this.root);this.cache=new p;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._lastCompilation=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map}getCache(e){return new h(this.cache,`${this.compilerPath}${e}`)}getInfrastructureLogger(e){if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new M(((t,n)=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(e,t,n)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(e,t,n)}}}),(t=>{if(typeof e==="function"){if(typeof t==="function"){return this.getInfrastructureLogger((()=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof t==="function"){t=t();if(!t){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${e}/${t}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${e}/${t}`}))}}else{if(typeof t==="function"){return this.getInfrastructureLogger((()=>{if(typeof t==="function"){t=t();if(!t){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${e}/${t}`}))}else{return this.getInfrastructureLogger(`${e}/${t}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const e of this._lastCompilation.modules){m.clearChunkGraphForModule(e);b.clearModuleGraphForModule(e);e.cleanupForCache()}for(const e of this._lastCompilation.chunks){m.clearChunkGraphForChunk(e)}this._lastCompilation=undefined}}watch(e,t){if(this.running){return t(new y)}this.running=true;this.watchMode=true;this.watching=new S(this,e,t);return this.watching}run(e){if(this.running){return e(new y)}let t;const finalCallback=(n,r)=>{if(t)t.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(t)t.timeEnd("beginIdle");this.running=false;if(n){this.hooks.failed.call(n)}if(e!==undefined)e(n,r);this.hooks.afterDone.call(r)};const n=Date.now();this.running=true;const onCompiled=(e,r)=>{if(e)return finalCallback(e);if(this.hooks.shouldEmit.call(r)===false){r.startTime=n;r.endTime=Date.now();const e=new w(r);this.hooks.done.callAsync(e,(t=>{if(t)return finalCallback(t);return finalCallback(null,e)}));return}process.nextTick((()=>{t=r.getLogger("webpack.Compiler");t.time("emitAssets");this.emitAssets(r,(e=>{t.timeEnd("emitAssets");if(e)return finalCallback(e);if(r.hooks.needAdditionalPass.call()){r.needAdditionalPass=true;r.startTime=n;r.endTime=Date.now();t.time("done hook");const e=new w(r);this.hooks.done.callAsync(e,(e=>{t.timeEnd("done hook");if(e)return finalCallback(e);this.hooks.additionalPass.callAsync((e=>{if(e)return finalCallback(e);this.compile(onCompiled)}))}));return}t.time("emitRecords");this.emitRecords((e=>{t.timeEnd("emitRecords");if(e)return finalCallback(e);r.startTime=n;r.endTime=Date.now();t.time("done hook");const i=new w(r);this.hooks.done.callAsync(i,(e=>{t.timeEnd("done hook");if(e)return finalCallback(e);this.cache.storeBuildDependencies(r.buildDependencies,(e=>{if(e)return finalCallback(e);return finalCallback(null,i)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(e=>{if(e)return finalCallback(e);this.hooks.run.callAsync(this,(e=>{if(e)return finalCallback(e);this.readRecords((e=>{if(e)return finalCallback(e);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((e=>{if(e)return finalCallback(e);this.idle=false;run()}))}else{run()}}runAsChild(e){const t=Date.now();this.compile(((n,r)=>{if(n)return e(n);this.parentCompilation.children.push(r);for(const{name:e,source:t,info:n}of r.getAssets()){this.parentCompilation.emitAsset(e,t,n)}const i=[];for(const e of r.entrypoints.values()){i.push(...e.chunks)}r.startTime=t;r.endTime=Date.now();return e(null,i,r)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(e,t){let n;const emitFiles=r=>{if(r)return t(r);const s=e.getAssets();e.assets={...e.assets};const a=new Map;i.forEachLimit(s,15,(({name:t,source:r,info:i},s)=>{let c=t;let u=i.immutable;const d=c.indexOf("?");if(d>=0){c=c.substr(0,d);u=u&&(includesHash(c,i.contenthash)||includesHash(c,i.chunkhash)||includesHash(c,i.modulehash)||includesHash(c,i.fullhash))}const writeOut=i=>{if(i)return s(i);const d=I(this.outputFileSystem,n,c);const p=this._assetEmittingWrittenFiles.get(d);let h=this._assetEmittingSourceCache.get(r);if(h===undefined){h={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(r,h)}let m;const checkSimilarFile=()=>{const e=d.toLowerCase();m=a.get(e);if(m!==undefined){const{path:e,source:n}=m;if(R(n,r)){if(m.size!==undefined){updateWithReplacementSource(m.size)}else{if(!m.waiting)m.waiting=[];m.waiting.push({file:t,cacheEntry:h})}alreadyWritten()}else{const n=new C(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${d}\n${e}`);n.file=t;s(n)}return true}else{a.set(e,m={path:d,source:r,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof r.buffer==="function"){return r.buffer()}else{const e=r.source();if(Buffer.isBuffer(e)){return e}else{return Buffer.from(e,"utf8")}}};const alreadyWritten=()=>{if(p===undefined){const e=1;this._assetEmittingWrittenFiles.set(d,e);h.writtenTo.set(d,e)}else{h.writtenTo.set(d,p)}s()};const doWrite=i=>{this.outputFileSystem.writeFile(d,i,(a=>{if(a)return s(a);e.emittedAssets.add(t);const c=p===undefined?1:p+1;h.writtenTo.set(d,c);this._assetEmittingWrittenFiles.set(d,c);this.hooks.assetEmitted.callAsync(t,{content:i,source:r,outputPath:n,compilation:e,targetPath:d},s)}))};const updateWithReplacementSource=e=>{updateFileWithReplacementSource(t,h,e);m.size=e;if(m.waiting!==undefined){for(const{file:t,cacheEntry:n}of m.waiting){updateFileWithReplacementSource(t,n,e)}}};const updateFileWithReplacementSource=(t,n,r)=>{if(!n.sizeOnlySource){n.sizeOnlySource=new l(r)}e.updateAsset(t,n.sizeOnlySource,{size:r})};const processExistingFile=n=>{if(u){updateWithReplacementSource(n.size);return alreadyWritten()}const r=getContent();updateWithReplacementSource(r.length);if(r.length===n.size){e.comparedForEmitAssets.add(t);return this.outputFileSystem.readFile(d,((e,t)=>{if(e||!r.equals(t)){return doWrite(r)}else{return alreadyWritten()}}))}return doWrite(r)};const processMissingFile=()=>{const e=getContent();updateWithReplacementSource(e.length);return doWrite(e)};if(p!==undefined){const n=h.writtenTo.get(d);if(n===p){e.updateAsset(t,h.sizeOnlySource,{size:h.sizeOnlySource.size()});return s()}if(!u){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(d,((e,t)=>{const n=!e&&t.isFile();if(n){processExistingFile(t)}else{processMissingFile()}}))}else{processMissingFile()}};if(c.match(/\/|\\/)){const e=this.outputFileSystem;const t=P(e,I(e,n,c));T(e,t,writeOut)}else{writeOut()}}),(n=>{if(n)return t(n);this.hooks.afterEmit.callAsync(e,(e=>{if(e)return t(e);return t()}))}))};this.hooks.emit.callAsync(e,(r=>{if(r)return t(r);n=e.getPath(this.outputPath,{});T(this.outputFileSystem,n,emitFiles)}))}emitRecords(e){if(!this.recordsOutputPath)return e();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((e,t)=>{if(typeof t==="object"&&t!==null&&!Array.isArray(t)){const e=Object.keys(t);if(!isSorted(e)){return sortObject(t,e)}}return t}),2),e)};const t=P(this.outputFileSystem,this.recordsOutputPath);if(!t){return writeFile()}T(this.outputFileSystem,t,(t=>{if(t)return e(t);writeFile()}))}readRecords(e){if(!this.recordsInputPath){this.records={};return e()}this.inputFileSystem.stat(this.recordsInputPath,(t=>{if(t)return e();this.inputFileSystem.readFile(this.recordsInputPath,((t,n)=>{if(t)return e(t);try{this.records=r(n.toString("utf-8"))}catch(t){t.message="Cannot parse records: "+t.message;return e(t)}return e()}))}))}createChildCompiler(e,t,n,r,i){const s=new Compiler(this.context);s.name=t;s.outputPath=this.outputPath;s.inputFileSystem=this.inputFileSystem;s.outputFileSystem=null;s.resolverFactory=this.resolverFactory;s.modifiedFiles=this.modifiedFiles;s.removedFiles=this.removedFiles;s.fileTimestamps=this.fileTimestamps;s.contextTimestamps=this.contextTimestamps;s.cache=this.cache;s.compilerPath=`${this.compilerPath}${t}|${n}|`;const a=O(this.context,t,this.root);if(!this.records[a]){this.records[a]=[]}if(this.records[a][n]){s.records=this.records[a][n]}else{this.records[a].push(s.records={})}s.options={...this.options,output:{...this.options.output,...r}};s.parentCompilation=e;s.root=this.root;if(Array.isArray(i)){for(const e of i){e.apply(s)}}for(const e in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(e)){if(s.hooks[e]){s.hooks[e].taps=this.hooks[e].taps.slice()}}}e.hooks.childCompiler.call(s,t,n);return s}isChild(){return!!this.parentCompilation}createCompilation(){this._cleanupLastCompilation();return this._lastCompilation=new g(this)}newCompilation(e){const t=this.createCompilation();t.name=this.name;t.records=this.records;this.hooks.thisCompilation.call(t,e);this.hooks.compilation.call(t,e);return t}createNormalModuleFactory(){const e=new x({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this.hooks.normalModuleFactory.call(e);return e}createContextModuleFactory(){const e=new _(this.resolverFactory);this.hooks.contextModuleFactory.call(e);return e}newCompilationParams(){const e={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return e}compile(e){const t=this.newCompilationParams();this.hooks.beforeCompile.callAsync(t,(n=>{if(n)return e(n);this.hooks.compile.call(t);const r=this.newCompilation(t);const i=r.getLogger("webpack.Compiler");i.time("make hook");this.hooks.make.callAsync(r,(t=>{i.timeEnd("make hook");if(t)return e(t);i.time("finish make hook");this.hooks.finishMake.callAsync(r,(t=>{i.timeEnd("finish make hook");if(t)return e(t);process.nextTick((()=>{i.time("finish compilation");r.finish((t=>{i.timeEnd("finish compilation");if(t)return e(t);i.time("seal compilation");r.seal((t=>{i.timeEnd("seal compilation");if(t)return e(t);i.time("afterCompile hook");this.hooks.afterCompile.callAsync(r,(t=>{i.timeEnd("afterCompile hook");if(t)return e(t);return e(null,r)}))}))}))}))}))}))}))}close(e){this.hooks.shutdown.callAsync((t=>{if(t)return e(t);this._lastCompilation=undefined;this.cache.shutdown(e)}))}}e.exports=Compiler},77294:e=>{"use strict";const t=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const n="__WEBPACK_DEFAULT_EXPORT__";const r="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(e,t){this._currentModule=t;if(Array.isArray(e)){const t=new Map;for(const n of e){t.set(n.module,n)}e=t}this._modulesMap=e}isModuleInScope(e){return this._modulesMap.has(e)}registerExport(e,t){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(e)){this._currentModule.exportMap.set(e,t)}}registerRawExport(e,t){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(e)){this._currentModule.rawExportMap.set(e,t)}}registerNamespaceExport(e){this._currentModule.namespaceExportSymbol=e}createModuleReference(e,{ids:t=undefined,call:n=false,directImport:r=false,asiSafe:i=false}){const s=this._modulesMap.get(e);const a=n?"_call":"";const c=r?"_directImport":"";const u=i?"_asiSafe1":i===false?"_asiSafe0":"";const l=t?Buffer.from(JSON.stringify(t),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${s.index}_${l}${a}${c}${u}__._`}static isModuleReference(e){return t.test(e)}static matchModuleReference(e){const n=t.exec(e);if(!n)return null;const r=+n[1];const i=n[5];return{index:r,ids:n[2]==="ns"?[]:JSON.parse(Buffer.from(n[2],"hex").toString("utf-8")),call:!!n[3],directImport:!!n[4],asiSafe:i?i==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=n;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=r;e.exports=ConcatenationScope},27310:(e,t,n)=>{"use strict";const r=n(81627);e.exports=class ConcurrentCompilationError extends r{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.";Error.captureStackTrace(this,this.constructor)}}},11518:(e,t,n)=>{"use strict";const{ConcatSource:r,PrefixSource:i}=n(48135);const s=n(63272);const a=n(58159);const{mergeRuntime:c}=n(37416);const wrapInCondition=(e,t)=>{if(typeof t==="string"){return a.asString([`if (${e}) {`,a.indent(t),"}",""])}else{return new r(`if (${e}) {\n`,new i("\t",t),"}\n")}};class ConditionalInitFragment extends s{constructor(e,t,n,r,i=true,s){super(e,t,n,r,s);this.runtimeCondition=i}getContent(e){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const t=e.runtimeTemplate.runtimeConditionExpression({chunkGraph:e.chunkGraph,runtimeRequirements:e.runtimeRequirements,runtime:e.runtime,runtimeCondition:this.runtimeCondition});if(t==="true")return this.content;return wrapInCondition(t,this.content)}getEndContent(e){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const t=e.runtimeTemplate.runtimeConditionExpression({chunkGraph:e.chunkGraph,runtimeRequirements:e.runtimeRequirements,runtime:e.runtime,runtimeCondition:this.runtimeCondition});if(t==="true")return this.endContent;return wrapInCondition(t,this.endContent)}merge(e){if(this.runtimeCondition===true)return this;if(e.runtimeCondition===true)return e;if(this.runtimeCondition===false)return e;if(e.runtimeCondition===false)return this;const t=c(this.runtimeCondition,e.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,t,this.endContent)}}e.exports=ConditionalInitFragment},40552:(e,t,n)=>{"use strict";const r=n(59455);const i=n(66298);const{evaluateToString:s}=n(48472);const{parseResource:a}=n(49197);const collectDeclaration=(e,t)=>{const n=[t];while(n.length>0){const t=n.pop();switch(t.type){case"Identifier":e.add(t.name);break;case"ArrayPattern":for(const e of t.elements){if(e){n.push(e)}}break;case"AssignmentPattern":n.push(t.left);break;case"ObjectPattern":for(const e of t.properties){n.push(e.value)}break;case"RestElement":n.push(t.argument);break}}};const getHoistedDeclarations=(e,t)=>{const n=new Set;const r=[e];while(r.length>0){const e=r.pop();if(!e)continue;switch(e.type){case"BlockStatement":for(const t of e.body){r.push(t)}break;case"IfStatement":r.push(e.consequent);r.push(e.alternate);break;case"ForStatement":r.push(e.init);r.push(e.body);break;case"ForInStatement":case"ForOfStatement":r.push(e.left);r.push(e.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":r.push(e.body);break;case"SwitchStatement":for(const t of e.cases){for(const e of t.consequent){r.push(e)}}break;case"TryStatement":r.push(e.block);if(e.handler){r.push(e.handler.body)}r.push(e.finalizer);break;case"FunctionDeclaration":if(t){collectDeclaration(n,e.id)}break;case"VariableDeclaration":if(e.kind==="var"){for(const t of e.declarations){collectDeclaration(n,t.id)}}break}}return Array.from(n)};class ConstPlugin{apply(e){const t=a.bindCache(e.root);e.hooks.compilation.tap("ConstPlugin",((e,{normalModuleFactory:n})=>{e.dependencyTemplates.set(i,new i.Template);e.dependencyTemplates.set(r,new r.Template);const handler=e=>{e.hooks.statementIf.tap("ConstPlugin",(t=>{if(e.scope.isAsmJs)return;const n=e.evaluateExpression(t.test);const r=n.asBool();if(typeof r==="boolean"){if(!n.couldHaveSideEffects()){const s=new i(`${r}`,n.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s)}else{e.walkExpression(t.test)}const s=r?t.alternate:t.consequent;if(s){let t;if(e.scope.isStrict){t=getHoistedDeclarations(s,false)}else{t=getHoistedDeclarations(s,true)}let n;if(t.length>0){n=`{ var ${t.join(", ")}; }`}else{n="{}"}const r=new i(n,s.range);r.loc=s.loc;e.state.module.addPresentationalDependency(r)}return r}}));e.hooks.expressionConditionalOperator.tap("ConstPlugin",(t=>{if(e.scope.isAsmJs)return;const n=e.evaluateExpression(t.test);const r=n.asBool();if(typeof r==="boolean"){if(!n.couldHaveSideEffects()){const s=new i(` ${r}`,n.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s)}else{e.walkExpression(t.test)}const s=r?t.alternate:t.consequent;const a=new i("0",s.range);a.loc=s.loc;e.state.module.addPresentationalDependency(a);return r}}));e.hooks.expressionLogicalOperator.tap("ConstPlugin",(t=>{if(e.scope.isAsmJs)return;if(t.operator==="&&"||t.operator==="||"){const n=e.evaluateExpression(t.left);const r=n.asBool();if(typeof r==="boolean"){const s=t.operator==="&&"&&r||t.operator==="||"&&!r;if(!n.couldHaveSideEffects()&&(n.isBoolean()||s)){const s=new i(` ${r}`,n.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s)}else{e.walkExpression(t.left)}if(!s){const n=new i("0",t.right.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n)}return s}}else if(t.operator==="??"){const n=e.evaluateExpression(t.left);const r=n&&n.asNullish();if(typeof r==="boolean"){if(!n.couldHaveSideEffects()&&r){const r=new i(" null",n.range);r.loc=t.loc;e.state.module.addPresentationalDependency(r)}else{const n=new i("0",t.right.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);e.walkExpression(t.left)}return r}}}));e.hooks.optionalChaining.tap("ConstPlugin",(t=>{const n=[];let r=t.expression;while(r.type==="MemberExpression"||r.type==="CallExpression"){if(r.type==="MemberExpression"){if(r.optional){n.push(r.object)}r=r.object}else{if(r.optional){n.push(r.callee)}r=r.callee}}while(n.length){const r=n.pop();const s=e.evaluateExpression(r);if(s&&s.asNullish()){const n=new i(" undefined",t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true}}}));e.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(n=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;return s(t(e.state.module.resource).query)(n)}));e.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(n=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;const i=new r(JSON.stringify(t(e.state.module.resource).query),n.range,"__resourceQuery");i.loc=n.loc;e.state.module.addPresentationalDependency(i);return true}));e.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(n=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;return s(t(e.state.module.resource).fragment)(n)}));e.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(n=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;const i=new r(JSON.stringify(t(e.state.module.resource).fragment),n.range,"__resourceFragment");i.loc=n.loc;e.state.module.addPresentationalDependency(i);return true}))};n.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);n.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);n.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}e.exports=ConstPlugin},51709:e=>{"use strict";class ContextExclusionPlugin{constructor(e){this.negativeMatcher=e}apply(e){e.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(e=>{e.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(e=>e.filter((e=>!this.negativeMatcher.test(e)))))}))}}e.exports=ContextExclusionPlugin},58126:(e,t,n)=>{"use strict";const{OriginalSource:r,RawSource:i}=n(48135);const s=n(98221);const{makeWebpackError:a}=n(3728);const c=n(53453);const u=n(76150);const l=n(58159);const d=n(81627);const{compareLocations:p,concatComparators:h,compareSelect:m,keepOriginalOrder:g,compareModulesById:y}=n(68673);const{contextify:_,parseResource:b}=n(49197);const x=n(56202);const k={timestamp:true};const E=new Set(["javascript"]);class ContextModule extends c{constructor(e,t){const n=b(t?t.resource:"");const r=n.path;const i=t&&t.resourceQuery||n.query;const s=t&&t.resourceFragment||n.fragment;super("javascript/dynamic",r);this.resolveDependencies=e;this.options={...t,resource:r,resourceQuery:i,resourceFragment:s};if(t&&t.resolveOptions!==undefined){this.resolveOptions=t.resolveOptions}if(t&&typeof t.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return E}updateCacheModule(e){const t=e;this.resolveDependencies=t.resolveDependencies;this.options=t.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(e){return e.substring(1,e.length-1).replace(/!/g,"%21")}_createIdentifier(){let e=this.context;if(this.options.resourceQuery){e+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){e+=`|${this.options.resourceFragment}`}if(this.options.mode){e+=`|${this.options.mode}`}if(!this.options.recursive){e+="|nonrecursive"}if(this.options.addon){e+=`|${this.options.addon}`}if(this.options.regExp){e+=`|${this.options.regExp}`}if(this.options.include){e+=`|include: ${this.options.include}`}if(this.options.exclude){e+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){e+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){e+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){e+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){e+="|strict namespace object"}else if(this.options.namespaceObject){e+="|namespace object"}return e}identifier(){return this._identifier}readableIdentifier(e){let t=e.shorten(this.context)+"/";if(this.options.resourceQuery){t+=` ${this.options.resourceQuery}`}if(this.options.mode){t+=` ${this.options.mode}`}if(!this.options.recursive){t+=" nonrecursive"}if(this.options.addon){t+=` ${e.shorten(this.options.addon)}`}if(this.options.regExp){t+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){t+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){t+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){t+=` referencedExports: ${this.options.referencedExports.map((e=>e.join("."))).join(", ")}`}if(this.options.chunkName){t+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const e=this.options.groupOptions;for(const n of Object.keys(e)){t+=` ${n}: ${e[n]}`}}if(this.options.namespaceObject==="strict"){t+=" strict namespace object"}else if(this.options.namespaceObject){t+=" namespace object"}return t}libIdent(e){let t=_(e.context,this.context,e.associatedObjectForCache);if(this.options.mode){t+=` ${this.options.mode}`}if(this.options.recursive){t+=" recursive"}if(this.options.addon){t+=` ${_(e.context,this.options.addon,e.associatedObjectForCache)}`}if(this.options.regExp){t+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){t+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){t+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){t+=` referencedExports: ${this.options.referencedExports.map((e=>e.join("."))).join(", ")}`}return t}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:e},t){if(this._forceBuild)return t(null,true);if(!this.buildInfo.snapshot)return t(null,true);e.checkSnapshotValid(this.buildInfo.snapshot,((e,n)=>{t(e,!n)}))}build(e,t,n,r,i){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const c=Date.now();this.resolveDependencies(r,this.options,((e,n)=>{if(e){return i(a(e,"ContextModule.resolveDependencies"))}if(!n){i();return}for(const e of n){e.loc={name:e.userRequest};e.request=this.options.addon+e.request}n.sort(h(m((e=>e.loc),p),g(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=n}else if(this.options.mode==="lazy-once"){if(n.length>0){const e=new s({...this.options.groupOptions,name:this.options.chunkName});for(const t of n){e.addDependency(t)}this.addBlock(e)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const e of n){e.weak=true}this.dependencies=n}else if(this.options.mode==="lazy"){let e=0;for(const t of n){let n=this.options.chunkName;if(n){if(!/\[(index|request)\]/.test(n)){n+="[index]"}n=n.replace(/\[index\]/g,`${e++}`);n=n.replace(/\[request\]/g,l.toPath(t.userRequest))}const r=new s({...this.options.groupOptions,name:n},t.loc,t.userRequest);r.addDependency(t);this.addBlock(r)}}else{i(new d(`Unsupported mode "${this.options.mode}" in context`));return}t.fileSystemInfo.createSnapshot(c,null,[this.context],null,k,((e,t)=>{if(e)return i(e);this.buildInfo.snapshot=t;i()}))}))}addCacheDependencies(e,t,n,r){t.add(this.context)}getUserRequestMap(e,t){const n=t.moduleGraph;const r=e.filter((e=>n.getModule(e))).sort(((e,t)=>{if(e.userRequest===t.userRequest){return 0}return e.userRequestn.getModule(e))).filter(Boolean).sort(i);const a=Object.create(null);for(const e of s){const i=e.getExportsType(n,this.options.namespaceObject==="strict");const s=t.getModuleId(e);switch(i){case"namespace":a[s]=9;r|=1;break;case"dynamic":a[s]=7;r|=2;break;case"default-only":a[s]=1;r|=4;break;case"default-with-named":a[s]=3;r|=8;break;default:throw new Error(`Unexpected exports type ${i}`)}}if(r===1){return 9}if(r===2){return 7}if(r===4){return 1}if(r===8){return 3}if(r===0){return 9}return a}getFakeMapInitStatement(e){return typeof e==="object"?`var fakeMap = ${JSON.stringify(e,null,"\t")};`:""}getReturn(e,t){if(e===9){return"__webpack_require__(id)"}return`${u.createFakeNamespaceObject}(id, ${e}${t?" | 16":""})`}getReturnModuleObjectSource(e,t,n="fakeMap[id]"){if(typeof e==="number"){return`return ${this.getReturn(e)};`}return`return ${u.createFakeNamespaceObject}(id, ${n}${t?" | 16":""})`}getSyncSource(e,t,n){const r=this.getUserRequestMap(e,n);const i=this.getFakeMap(e,n);const s=this.getReturnModuleObjectSource(i);return`var map = ${JSON.stringify(r,null,"\t")};\n${this.getFakeMapInitStatement(i)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${s}\n}\nfunction webpackContextResolve(req) {\n\tif(!${u.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(t)};`}getWeakSyncSource(e,t,n){const r=this.getUserRequestMap(e,n);const i=this.getFakeMap(e,n);const s=this.getReturnModuleObjectSource(i);return`var map = ${JSON.stringify(r,null,"\t")};\n${this.getFakeMapInitStatement(i)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${u.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${s}\n}\nfunction webpackContextResolve(req) {\n\tif(!${u.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(e,t,{chunkGraph:n,runtimeTemplate:r}){const i=r.supportsArrowFunction();const s=this.getUserRequestMap(e,n);const a=this.getFakeMap(e,n);const c=this.getReturnModuleObjectSource(a,true);return`var map = ${JSON.stringify(s,null,"\t")};\n${this.getFakeMapInitStatement(a)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${i?"id =>":"function(id)"} {\n\t\tif(!${u.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${c}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${i?"() =>":"function()"} {\n\t\tif(!${u.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${r.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(e,t,{chunkGraph:n,runtimeTemplate:r}){const i=r.supportsArrowFunction();const s=this.getUserRequestMap(e,n);const a=this.getFakeMap(e,n);const c=a!==9?`${i?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(a)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(s,null,"\t")};\n${this.getFakeMapInitStatement(a)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${c});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${i?"() =>":"function()"} {\n\t\tif(!${u.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${r.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(e,t,n,{runtimeTemplate:r,chunkGraph:i}){const s=r.blockPromise({chunkGraph:i,block:e,message:"lazy-once context",runtimeRequirements:new Set});const a=r.supportsArrowFunction();const c=this.getUserRequestMap(t,i);const l=this.getFakeMap(t,i);const d=l!==9?`${a?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(l,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(c,null,"\t")};\n${this.getFakeMapInitStatement(l)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${d});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${s}.then(${a?"() =>":"function()"} {\n\t\tif(!${u.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${r.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(n)};\nmodule.exports = webpackAsyncContext;`}getLazySource(e,t,{chunkGraph:n,runtimeTemplate:r}){const i=n.moduleGraph;const s=r.supportsArrowFunction();let a=false;let c=true;const l=this.getFakeMap(e.map((e=>e.dependencies[0])),n);const d=typeof l==="object";const p=e.map((e=>{const t=e.dependencies[0];return{dependency:t,module:i.getModule(t),block:e,userRequest:t.userRequest,chunks:undefined}})).filter((e=>e.module));for(const e of p){const t=n.getBlockChunkGroup(e.block);const r=t&&t.chunks||[];e.chunks=r;if(r.length>0){c=false}if(r.length!==1){a=true}}const h=c&&!d;const m=p.sort(((e,t)=>{if(e.userRequest===t.userRequest)return 0;return e.userRequeste.id)))}}const y=d?2:1;const _=c?"Promise.resolve()":a?`Promise.all(ids.slice(${y}).map(${u.ensureChunk}))`:`${u.ensureChunk}(ids[${y}])`;const b=this.getReturnModuleObjectSource(l,true,h?"invalid":"ids[1]");const x=_==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${s?"() =>":"function()"} {\n\t\tif(!${u.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${h?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${b}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${u.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${s?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${_}.then(${s?"() =>":"function()"} {\n\t\t${b}\n\t});\n}`;return`var map = ${JSON.stringify(g,null,"\t")};\n${x}\nwebpackAsyncContext.keys = ${r.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(e,t){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${t.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(e)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(e,t){const n=t.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${n?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${t.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(e)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(e,{runtimeTemplate:t,chunkGraph:n}){const r=n.getModuleId(this);if(e==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,r,{runtimeTemplate:t,chunkGraph:n})}return this.getSourceForEmptyAsyncContext(r,t)}if(e==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,r,{chunkGraph:n,runtimeTemplate:t})}return this.getSourceForEmptyAsyncContext(r,t)}if(e==="lazy-once"){const e=this.blocks[0];if(e){return this.getLazyOnceSource(e,e.dependencies,r,{runtimeTemplate:t,chunkGraph:n})}return this.getSourceForEmptyAsyncContext(r,t)}if(e==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,r,{chunkGraph:n,runtimeTemplate:t})}return this.getSourceForEmptyAsyncContext(r,t)}if(e==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,r,n)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,r,n)}return this.getSourceForEmptyContext(r,t)}getSource(e){if(this.useSourceMap||this.useSimpleSourceMap){return new r(e,this.identifier())}return new i(e)}codeGeneration(e){const{chunkGraph:t}=e;const n=new Map;n.set("javascript",this.getSource(this.getSourceString(this.options.mode,e)));const r=new Set;const i=this.dependencies.concat(this.blocks.map((e=>e.dependencies[0])));r.add(u.module);r.add(u.hasOwnProperty);if(i.length>0){const e=this.options.mode;r.add(u.require);if(e==="weak"){r.add(u.moduleFactories)}else if(e==="async-weak"){r.add(u.moduleFactories);r.add(u.ensureChunk)}else if(e==="lazy"||e==="lazy-once"){r.add(u.ensureChunk)}if(this.getFakeMap(i,t)!==9){r.add(u.createFakeNamespaceObject)}}return{sources:n,runtimeRequirements:r}}size(e){let t=160;for(const e of this.dependencies){const n=e;t+=5+n.userRequest.length}return t}serialize(e){const{write:t}=e;t(this._identifier);t(this._forceBuild);super.serialize(e)}deserialize(e){const{read:t}=e;this._identifier=t();this._forceBuild=t();super.deserialize(e)}}x(ContextModule,"webpack/lib/ContextModule");e.exports=ContextModule},89869:(e,t,n)=>{"use strict";const r=n(62355);const{AsyncSeriesWaterfallHook:i,SyncWaterfallHook:s}=n(92960);const a=n(58126);const c=n(40674);const u=n(90872);const{cachedSetProperty:l}=n(90149);const{createFakeHook:d}=n(16595);const{join:p}=n(95396);const h={};e.exports=class ContextModuleFactory extends c{constructor(e){super();const t=new i(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new i(["data"]),afterResolve:new i(["data"]),contextModuleFiles:new s(["files"]),alternatives:d({name:"alternatives",intercept:e=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(e,n)=>{t.tap(e,n)},tapAsync:(e,n)=>{t.tapAsync(e,((e,t,r)=>n(e,r)))},tapPromise:(e,n)=>{t.tapPromise(e,n)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:t});this.resolverFactory=e}create(e,t){const n=e.context;const i=e.dependencies;const s=e.resolveOptions;const c=i[0];const u=new Set;const d=new Set;const p=new Set;this.hooks.beforeResolve.callAsync({context:n,dependencies:i,resolveOptions:s,fileDependencies:u,missingDependencies:d,contextDependencies:p,...c.options},((e,n)=>{if(e){return t(e,{fileDependencies:u,missingDependencies:d,contextDependencies:p})}if(!n){return t(null,{fileDependencies:u,missingDependencies:d,contextDependencies:p})}const s=n.context;const c=n.request;const m=n.resolveOptions;let g,y,_="";const b=c.lastIndexOf("!");if(b>=0){let e=c.substr(0,b+1);let t;for(t=0;t0?l(m||h,"dependencyType",i[0].category):m);const k=this.resolverFactory.get("loader");r.parallel([e=>{x.resolve({},s,y,{fileDependencies:u,missingDependencies:d,contextDependencies:p},((t,n)=>{if(t)return e(t);e(null,n)}))},e=>{r.map(g,((e,t)=>{k.resolve({},s,e,{fileDependencies:u,missingDependencies:d,contextDependencies:p},((e,n)=>{if(e)return t(e);t(null,n)}))}),e)}],((e,r)=>{if(e){return t(e,{fileDependencies:u,missingDependencies:d,contextDependencies:p})}this.hooks.afterResolve.callAsync({addon:_+r[1].join("!")+(r[1].length>0?"!":""),resource:r[0],resolveDependencies:this.resolveDependencies.bind(this),...n},((e,n)=>{if(e){return t(e,{fileDependencies:u,missingDependencies:d,contextDependencies:p})}if(!n){return t(null,{fileDependencies:u,missingDependencies:d,contextDependencies:p})}return t(null,{module:new a(n.resolveDependencies,n),fileDependencies:u,missingDependencies:d,contextDependencies:p})}))}))}))}resolveDependencies(e,t,n){const i=this;const{resource:s,resourceQuery:a,resourceFragment:c,recursive:l,regExp:d,include:h,exclude:m,referencedExports:g,category:y}=t;if(!d||!s)return n(null,[]);const addDirectoryChecked=(t,n,r)=>{e.realpath(t,((e,i)=>{if(e)return r(e);if(n.has(i))return r(null,[]);let s;addDirectory(t,((e,t)=>{if(s===undefined){s=new Set(n);s.add(i)}addDirectoryChecked(e,s,t)}),r)}))};const addDirectory=(n,_,b)=>{e.readdir(n,((x,k)=>{if(x)return b(x);const E=i.hooks.contextModuleFiles.call(k.map((e=>e.normalize("NFC"))));if(!E||E.length===0)return b(null,[]);r.map(E.filter((e=>e.indexOf(".")!==0)),((r,i)=>{const b=p(e,n,r);if(!m||!b.match(m)){e.stat(b,((e,n)=>{if(e){if(e.code==="ENOENT"){return i()}else{return i(e)}}if(n.isDirectory()){if(!l)return i();_(b,i)}else if(n.isFile()&&(!h||b.match(h))){const e={context:s,request:"."+b.substr(s.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([e],t,((e,t)=>{if(e)return i(e);t=t.filter((e=>d.test(e.request))).map((e=>{const t=new u(e.request+a+c,e.request,y,g);t.optional=true;return t}));i(null,t)}))}else{i()}}))}else{i()}}),((e,t)=>{if(e)return b(e);if(!t)return b(null,[]);const n=[];for(const e of t){if(e)n.push(...e)}b(null,n)}))}))};if(typeof e.realpath==="function"){addDirectoryChecked(s,new Set,n)}else{const addSubDirectory=(e,t)=>addDirectory(e,addSubDirectory,t);addDirectory(s,addSubDirectory,n)}}}},26552:(e,t,n)=>{"use strict";const r=n(90872);const{join:i}=n(95396);class ContextReplacementPlugin{constructor(e,t,n,r){this.resourceRegExp=e;if(typeof t==="function"){this.newContentCallback=t}else if(typeof t==="string"&&typeof n==="object"){this.newContentResource=t;this.newContentCreateContextMap=(e,t)=>{t(null,n)}}else if(typeof t==="string"&&typeof n==="function"){this.newContentResource=t;this.newContentCreateContextMap=n}else{if(typeof t!=="string"){r=n;n=t;t=undefined}if(typeof n!=="boolean"){r=n;n=undefined}this.newContentResource=t;this.newContentRecursive=n;this.newContentRegExp=r}}apply(e){const t=this.resourceRegExp;const n=this.newContentCallback;const r=this.newContentResource;const s=this.newContentRecursive;const a=this.newContentRegExp;const c=this.newContentCreateContextMap;e.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(u=>{u.hooks.beforeResolve.tap("ContextReplacementPlugin",(e=>{if(!e)return;if(t.test(e.request)){if(r!==undefined){e.request=r}if(s!==undefined){e.recursive=s}if(a!==undefined){e.regExp=a}if(typeof n==="function"){n(e)}else{for(const t of e.dependencies){if(t.critical)t.critical=false}}}return e}));u.hooks.afterResolve.tap("ContextReplacementPlugin",(u=>{if(!u)return;if(t.test(u.resource)){if(r!==undefined){if(r.startsWith("/")||r.length>1&&r[1]===":"){u.resource=r}else{u.resource=i(e.inputFileSystem,u.resource,r)}}if(s!==undefined){u.recursive=s}if(a!==undefined){u.regExp=a}if(typeof c==="function"){u.resolveDependencies=createResolveDependenciesFromContextMap(c)}if(typeof n==="function"){const t=u.resource;n(u);if(u.resource!==t&&!u.resource.startsWith("/")&&(u.resource.length<=1||u.resource[1]!==":")){u.resource=i(e.inputFileSystem,t,u.resource)}}else{for(const e of u.dependencies){if(e.critical)e.critical=false}}}return u}))}))}}const createResolveDependenciesFromContextMap=e=>{const resolveDependenciesFromContextMap=(t,n,i)=>{e(t,((e,t)=>{if(e)return i(e);const s=Object.keys(t).map((e=>new r(t[e]+n.resourceQuery+n.resourceFragment,e,n.category,n.referencedExports)));i(null,s)}))};return resolveDependenciesFromContextMap};e.exports=ContextReplacementPlugin},24820:(e,t,n)=>{"use strict";const r=n(76150);const i=n(81627);const s=n(66298);const a=n(87250);const{evaluateToString:c,toConstantDependency:u}=n(48472);class RuntimeValue{constructor(e,t){this.fn=e;if(Array.isArray(t)){t={fileDependencies:t}}this.options=t||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(e,t,n){const r=e.state.module.buildInfo;if(this.options===true){r.cacheable=false}else{if(this.options.fileDependencies){for(const e of this.options.fileDependencies){r.fileDependencies.add(e)}}if(this.options.contextDependencies){for(const e of this.options.contextDependencies){r.contextDependencies.add(e)}}if(this.options.missingDependencies){for(const e of this.options.missingDependencies){r.missingDependencies.add(e)}}if(this.options.buildDependencies){for(const e of this.options.buildDependencies){r.buildDependencies.add(e)}}}return this.fn({module:e.state.module,key:n,get version(){return t.get(l+n)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(e,t,n,r,i,s)=>{let a;let c=Array.isArray(e);if(c){a=`[${e.map((e=>toCode(e,t,n,r,i,null))).join(",")}]`}else{a=`{${Object.keys(e).map((r=>{const s=e[r];return JSON.stringify(r)+":"+toCode(s,t,n,r,i,null)})).join(",")}}`}switch(s){case null:return a;case true:return c?a:`(${a})`;case false:return c?`;${a}`:`;(${a})`;default:return`Object(${a})`}};const toCode=(e,t,n,r,i,s)=>{if(e===null){return"null"}if(e===undefined){return"undefined"}if(Object.is(e,-0)){return"-0"}if(e instanceof RuntimeValue){return toCode(e.exec(t,n,r),t,n,r,i,s)}if(e instanceof RegExp&&e.toString){return e.toString()}if(typeof e==="function"&&e.toString){return"("+e.toString()+")"}if(typeof e==="object"){return stringifyObj(e,t,n,r,i,s)}if(typeof e==="bigint"){return i.supportsBigIntLiteral()?`${e}n`:`BigInt("${e}")`}return e+""};const toCacheVersion=e=>{if(e===null){return"null"}if(e===undefined){return"undefined"}if(Object.is(e,-0)){return"-0"}if(e instanceof RuntimeValue){return e.getCacheVersion()}if(e instanceof RegExp&&e.toString){return e.toString()}if(typeof e==="function"&&e.toString){return"("+e.toString()+")"}if(typeof e==="object"){const t=Object.keys(e).map((t=>({key:t,value:toCacheVersion(e[t])})));if(t.some((({value:e})=>e===undefined)))return undefined;return`{${t.map((({key:e,value:t})=>`${e}: ${t}`)).join(", ")}}`}if(typeof e==="bigint"){return`${e}n`}return e+""};const l="webpack/DefinePlugin ";class DefinePlugin{constructor(e){this.definitions=e}static runtimeValue(e,t){return new RuntimeValue(e,t)}apply(e){const t=this.definitions;e.hooks.compilation.tap("DefinePlugin",((e,{normalModuleFactory:n})=>{e.dependencyTemplates.set(s,new s.Template);const{runtimeTemplate:d}=e;const handler=n=>{const addValueDependency=t=>{const{buildInfo:r}=n.state.module;if(!r.valueDependencies)r.valueDependencies=new Map;r.valueDependencies.set(l+t,e.valueCacheVersions.get(l+t))};const withValueDependency=(e,t)=>(...n)=>{addValueDependency(e);return t(...n)};const walkDefinitions=(e,t)=>{Object.keys(e).forEach((n=>{const r=e[n];if(r&&typeof r==="object"&&!(r instanceof RuntimeValue)&&!(r instanceof RegExp)){walkDefinitions(r,t+n+".");applyObjectDefine(t+n,r);return}applyDefineKey(t,n);applyDefine(t+n,r)}))};const applyDefineKey=(e,t)=>{const r=t.split(".");r.slice(1).forEach(((i,s)=>{const a=e+r.slice(0,s+1).join(".");n.hooks.canRename.for(a).tap("DefinePlugin",(()=>{addValueDependency(t);return true}))}))};const applyDefine=(t,i)=>{const s=t;const a=/^typeof\s+/.test(t);if(a)t=t.replace(/^typeof\s+/,"");let c=false;let l=false;if(!a){n.hooks.canRename.for(t).tap("DefinePlugin",(()=>{addValueDependency(s);return true}));n.hooks.evaluateIdentifier.for(t).tap("DefinePlugin",(r=>{if(c)return;addValueDependency(s);c=true;const a=n.evaluate(toCode(i,n,e.valueCacheVersions,t,d,null));c=false;a.setRange(r.range);return a}));n.hooks.expression.for(t).tap("DefinePlugin",(t=>{addValueDependency(s);const a=toCode(i,n,e.valueCacheVersions,s,d,!n.isAsiPosition(t.range[0]));if(/__webpack_require__\s*(!?\.)/.test(a)){return u(n,a,[r.require])(t)}else if(/__webpack_require__/.test(a)){return u(n,a,[r.requireScope])(t)}else{return u(n,a)(t)}}))}n.hooks.evaluateTypeof.for(t).tap("DefinePlugin",(t=>{if(l)return;l=true;addValueDependency(s);const r=toCode(i,n,e.valueCacheVersions,s,d,null);const c=a?r:"typeof ("+r+")";const u=n.evaluate(c);l=false;u.setRange(t.range);return u}));n.hooks.typeof.for(t).tap("DefinePlugin",(t=>{addValueDependency(s);const r=toCode(i,n,e.valueCacheVersions,s,d,null);const c=a?r:"typeof ("+r+")";const l=n.evaluate(c);if(!l.isString())return;return u(n,JSON.stringify(l.string)).bind(n)(t)}))};const applyObjectDefine=(t,i)=>{n.hooks.canRename.for(t).tap("DefinePlugin",(()=>{addValueDependency(t);return true}));n.hooks.evaluateIdentifier.for(t).tap("DefinePlugin",(e=>{addValueDependency(t);return(new a).setTruthy().setSideEffects(false).setRange(e.range)}));n.hooks.evaluateTypeof.for(t).tap("DefinePlugin",withValueDependency(t,c("object")));n.hooks.expression.for(t).tap("DefinePlugin",(s=>{addValueDependency(t);const a=stringifyObj(i,n,e.valueCacheVersions,t,d,!n.isAsiPosition(s.range[0]));if(/__webpack_require__\s*(!?\.)/.test(a)){return u(n,a,[r.require])(s)}else if(/__webpack_require__/.test(a)){return u(n,a,[r.requireScope])(s)}else{return u(n,a)(s)}}));n.hooks.typeof.for(t).tap("DefinePlugin",withValueDependency(t,u(n,JSON.stringify("object"))))};walkDefinitions(t,"")};n.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);n.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);n.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(t,n)=>{Object.keys(t).forEach((r=>{const s=t[r];const a=toCacheVersion(s);const c=l+n+r;const u=e.valueCacheVersions.get(c);if(u===undefined){e.valueCacheVersions.set(c,a)}else if(u!==a){const t=new i(`DefinePlugin\nConflicting values for '${n+r}'`);t.details=`'${u}' !== '${a}'`;t.hideStack=true;e.warnings.push(t)}if(s&&typeof s==="object"&&!(s instanceof RuntimeValue)&&!(s instanceof RegExp)){walkDefinitionsForValues(s,n+r+".")}}))};walkDefinitionsForValues(t,"")}))}}e.exports=DefinePlugin},3955:(e,t,n)=>{"use strict";const{OriginalSource:r,RawSource:i}=n(48135);const s=n(53453);const a=n(76150);const c=n(49422);const u=n(96076);const l=n(56202);const d=new Set(["javascript"]);const p=new Set([a.module,a.require]);class DelegatedModule extends s{constructor(e,t,n,r,i){super("javascript/dynamic",null);this.sourceRequest=e;this.request=t.id;this.delegationType=n;this.userRequest=r;this.originalRequest=i;this.delegateData=t;this.delegatedSourceDependency=undefined}getSourceTypes(){return d}libIdent(e){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(e)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(e){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(e,t){return t(null,!this.buildMeta)}build(e,t,n,r,i){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new c(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new u(this.delegateData.exports||true,false));i()}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n}){const s=this.dependencies[0];const a=t.getModule(s);let c;if(!a){c=e.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{c=`module.exports = (${e.moduleExports({module:a,chunkGraph:n,request:s.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":c+=`(${JSON.stringify(this.request)})`;break;case"object":c+=`[${JSON.stringify(this.request)}]`;break}c+=";"}const u=new Map;if(this.useSourceMap||this.useSimpleSourceMap){u.set("javascript",new r(c,this.identifier()))}else{u.set("javascript",new i(c))}return{sources:u,runtimeRequirements:p}}size(e){return 42}updateHash(e,t){e.update(this.delegationType);e.update(JSON.stringify(this.request));super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.sourceRequest);t(this.delegateData);t(this.delegationType);t(this.userRequest);t(this.originalRequest);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new DelegatedModule(t(),t(),t(),t(),t());n.deserialize(e);return n}updateCacheModule(e){super.updateCacheModule(e);const t=e;this.delegationType=t.delegationType;this.userRequest=t.userRequest;this.originalRequest=t.originalRequest;this.delegateData=t.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}l(DelegatedModule,"webpack/lib/DelegatedModule");e.exports=DelegatedModule},56396:(e,t,n)=>{"use strict";const r=n(3955);class DelegatedModuleFactoryPlugin{constructor(e){this.options=e;e.type=e.type||"require";e.extensions=e.extensions||["",".js",".json",".wasm"]}apply(e){const t=this.options.scope;if(t){e.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((e,n)=>{const[i]=e.dependencies;const{request:s}=i;if(s&&s.startsWith(`${t}/`)){const e="."+s.substr(t.length);let i;if(e in this.options.content){i=this.options.content[e];return n(null,new r(this.options.source,i,this.options.type,e,s))}for(let t=0;t{const t=e.libIdent(this.options);if(t){if(t in this.options.content){const n=this.options.content[t];return new r(this.options.source,n,this.options.type,t,e)}}return e}))}}}e.exports=DelegatedModuleFactoryPlugin},82354:(e,t,n)=>{"use strict";const r=n(56396);const i=n(49422);class DelegatedPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("DelegatedPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(i,t)}));e.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:t})=>{new r({associatedObjectForCache:e.root,...this.options}).apply(t)}))}}e.exports=DelegatedPlugin},32448:(e,t,n)=>{"use strict";const r=n(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[]}addBlock(e){this.blocks.push(e);e.parent=this}addDependency(e){this.dependencies.push(e)}removeDependency(e){const t=this.dependencies.indexOf(e);if(t>=0){this.dependencies.splice(t,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(e,t){for(const n of this.dependencies){n.updateHash(e,t)}for(const n of this.blocks){n.updateHash(e,t)}}serialize({write:e}){e(this.dependencies);e(this.blocks)}deserialize({read:e}){this.dependencies=e();this.blocks=e();for(const e of this.blocks){e.parent=this}}}r(DependenciesBlock,"webpack/lib/DependenciesBlock");e.exports=DependenciesBlock},28706:(e,t,n)=>{"use strict";const r=n(91671);const i=r((()=>{const e=n(22804);return new e("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this.weak=false;this.optional=false;this.loc=undefined}get type(){return"unknown"}get category(){return"unknown"}getResourceIdentifier(){return null}getReference(e){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(e,t){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(e){return null}getExports(e){return undefined}getWarnings(e){return null}getErrors(e){return null}updateHash(e,t){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(e){return true}createIgnoredModule(e){return i()}serialize({write:e}){e(this.weak);e(this.optional);e(this.loc)}deserialize({read:e}){this.weak=e();this.optional=e();this.loc=e()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});e.exports=Dependency},84304:(e,t,n)=>{"use strict";class DependencyTemplate{apply(e,t,r){const i=n(75884);throw new i}}e.exports=DependencyTemplate},46828:(e,t,n)=>{"use strict";const r=n(35891);class DependencyTemplates{constructor(){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0"}get(e){return this._map.get(e)}set(e,t){this._map.set(e,t)}updateHash(e){const t=r("md4");t.update(this._hash);t.update(e);this._hash=t.digest("hex")}getHash(){return this._hash}clone(){const e=new DependencyTemplates;e._map=new Map(this._map);e._hash=this._hash;return e}}e.exports=DependencyTemplates},9013:(e,t,n)=>{"use strict";const r=n(80419);const i=n(95189);const s=n(66583);class DllEntryPlugin{constructor(e,t,n){this.context=e;this.entries=t;this.options=n}apply(e){e.hooks.compilation.tap("DllEntryPlugin",((e,{normalModuleFactory:t})=>{const n=new r;e.dependencyFactories.set(i,n);e.dependencyFactories.set(s,t)}));e.hooks.make.tapAsync("DllEntryPlugin",((e,t)=>{e.addEntry(this.context,new i(this.entries.map(((e,t)=>{const n=new s(e);n.loc={name:this.options.name,index:t};return n})),this.options.name),this.options,t)}))}}e.exports=DllEntryPlugin},44593:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(53453);const s=n(76150);const a=n(56202);const c=new Set(["javascript"]);const u=new Set([s.require,s.module]);class DllModule extends i{constructor(e,t,n){super("javascript/dynamic",e);this.dependencies=t;this.name=n}getSourceTypes(){return c}identifier(){return`dll ${this.name}`}readableIdentifier(e){return`dll ${this.name}`}build(e,t,n,r,i){this.buildMeta={};this.buildInfo={};return i()}codeGeneration(e){const t=new Map;t.set("javascript",new r("module.exports = __webpack_require__;"));return{sources:t,runtimeRequirements:u}}needBuild(e,t){return t(null,!this.buildMeta)}size(e){return 12}updateHash(e,t){e.update("dll module");e.update(this.name||"");super.updateHash(e,t)}serialize(e){e.write(this.name);super.serialize(e)}deserialize(e){this.name=e.read();super.deserialize(e)}updateCacheModule(e){super.updateCacheModule(e);this.dependencies=e.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}a(DllModule,"webpack/lib/DllModule");e.exports=DllModule},80419:(e,t,n)=>{"use strict";const r=n(44593);const i=n(40674);class DllModuleFactory extends i{constructor(){super();this.hooks=Object.freeze({})}create(e,t){const n=e.dependencies[0];t(null,{module:new r(e.context,n.dependencies,n.name)})}}e.exports=DllModuleFactory},73887:(e,t,n)=>{"use strict";const r=n(9013);const i=n(6283);const s=n(77750);const{validate:a}=n(15235);const c=n(39670);class DllPlugin{constructor(e){a(c,e,{name:"Dll Plugin",baseDataPath:"options"});this.options={...e,entryOnly:e.entryOnly!==false}}apply(e){e.hooks.entryOption.tap("DllPlugin",((t,n)=>{if(typeof n!=="function"){for(const i of Object.keys(n)){const s={name:i,filename:n.filename};new r(t,n[i].import,s).apply(e)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new s(this.options).apply(e);if(!this.options.entryOnly){new i("DllPlugin").apply(e)}}}e.exports=DllPlugin},83515:(e,t,n)=>{"use strict";const r=n(78688);const i=n(56396);const s=n(59084);const a=n(81627);const c=n(49422);const u=n(49197).makePathsRelative;const{validate:l}=n(15235);const d=n(53670);class DllReferencePlugin{constructor(e){l(d,e,{name:"Dll Reference Plugin",baseDataPath:"options"});this.options=e;this._compilationData=new WeakMap}apply(e){e.hooks.compilation.tap("DllReferencePlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(c,t)}));e.hooks.beforeCompile.tapAsync("DllReferencePlugin",((t,n)=>{if("manifest"in this.options){const i=this.options.manifest;if(typeof i==="string"){e.inputFileSystem.readFile(i,((s,a)=>{if(s)return n(s);const c={path:i,data:undefined,error:undefined};try{c.data=r(a.toString("utf-8"))}catch(t){const n=u(e.options.context,i,e.root);c.error=new DllManifestError(n,t.message)}this._compilationData.set(t,c);return n()}));return}}return n()}));e.hooks.compile.tap("DllReferencePlugin",(t=>{let n=this.options.name;let r=this.options.sourceType;let a="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let e=this.options.manifest;let i;if(typeof e==="string"){const e=this._compilationData.get(t);if(e.error){return}i=e.data}else{i=e}if(i){if(!n)n=i.name;if(!r)r=i.type;if(!a)a=i.content}}const c={};const u="dll-reference "+n;c[u]=n;const l=t.normalModuleFactory;new s(r||"var",c).apply(l);new i({source:u,type:this.options.type,scope:this.options.scope,context:this.options.context||e.options.context,content:a,extensions:this.options.extensions,associatedObjectForCache:e.root}).apply(l)}));e.hooks.compilation.tap("DllReferencePlugin",((e,t)=>{if("manifest"in this.options){let n=this.options.manifest;if(typeof n==="string"){const r=this._compilationData.get(t);if(r.error){e.errors.push(r.error)}e.fileDependencies.add(n)}}}))}}class DllManifestError extends a{constructor(e,t){super();this.name="DllManifestError";this.message=`Dll manifest ${e}\n${t}`;Error.captureStackTrace(this,this.constructor)}}e.exports=DllReferencePlugin},85227:(e,t,n)=>{"use strict";const r=n(64699);const i=n(59674);const s=n(66583);class DynamicEntryPlugin{constructor(e,t){this.context=e;this.entry=t}apply(e){e.hooks.compilation.tap("DynamicEntryPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t)}));e.hooks.make.tapPromise("DynamicEntryPlugin",((t,n)=>Promise.resolve(this.entry()).then((n=>{const s=[];for(const a of Object.keys(n)){const c=n[a];const u=r.entryDescriptionToOptions(e,a,c);for(const e of c.import){s.push(new Promise(((n,r)=>{t.addEntry(this.context,i.createDependency(e,u),u,(e=>{if(e)return r(e);n()}))})))}}return Promise.all(s)})).then((e=>{}))))}}e.exports=DynamicEntryPlugin},64699:(e,t,n)=>{"use strict";class EntryOptionPlugin{apply(e){e.hooks.entryOption.tap("EntryOptionPlugin",((t,n)=>{EntryOptionPlugin.applyEntryOption(e,t,n);return true}))}static applyEntryOption(e,t,r){if(typeof r==="function"){const i=n(85227);new i(t,r).apply(e)}else{const i=n(59674);for(const n of Object.keys(r)){const s=r[n];const a=EntryOptionPlugin.entryDescriptionToOptions(e,n,s);for(const n of s.import){new i(t,n,a).apply(e)}}}}static entryDescriptionToOptions(e,t,r){const i={name:t,filename:r.filename,runtime:r.runtime,layer:r.layer,dependOn:r.dependOn,chunkLoading:r.chunkLoading,wasmLoading:r.wasmLoading,library:r.library};if(r.layer!==undefined&&!e.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(r.chunkLoading){const t=n(50369);t.checkEnabled(e,r.chunkLoading)}if(r.wasmLoading){const t=n(69085);t.checkEnabled(e,r.wasmLoading)}if(r.library){const t=n(13984);t.checkEnabled(e,r.library.type)}return i}}e.exports=EntryOptionPlugin},59674:(e,t,n)=>{"use strict";const r=n(66583);class EntryPlugin{constructor(e,t,n){this.context=e;this.entry=t;this.options=n||""}apply(e){e.hooks.compilation.tap("EntryPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,t)}));e.hooks.make.tapAsync("EntryPlugin",((e,t)=>{const{entry:n,options:r,context:i}=this;const s=EntryPlugin.createDependency(n,r);e.addEntry(i,s,r,(e=>{t(e)}))}))}static createDependency(e,t){const n=new r(e);n.loc={name:typeof t==="object"?t.name:t};return n}}e.exports=EntryPlugin},71452:(e,t,n)=>{"use strict";const r=n(84558);class Entrypoint extends r{constructor(e,t=true){if(typeof e==="string"){e={name:e}}super({name:e.name});this.options=e;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=t}isInitial(){return this._initial}setRuntimeChunk(e){this._runtimeChunk=e}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const e of this.parentsIterable){if(e instanceof Entrypoint)return e.getRuntimeChunk()}return null}setEntrypointChunk(e){this._entrypointChunk=e}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(e,t){if(this._runtimeChunk===e)this._runtimeChunk=t;if(this._entrypointChunk===e)this._entrypointChunk=t;return super.replaceChunk(e,t)}}e.exports=Entrypoint},64856:(e,t,n)=>{"use strict";const r=n(24820);const i=n(81627);class EnvironmentPlugin{constructor(...e){if(e.length===1&&Array.isArray(e[0])){this.keys=e[0];this.defaultValues={}}else if(e.length===1&&e[0]&&typeof e[0]==="object"){this.keys=Object.keys(e[0]);this.defaultValues=e[0]}else{this.keys=e;this.defaultValues={}}}apply(e){const t={};for(const n of this.keys){const r=process.env[n]!==undefined?process.env[n]:this.defaultValues[n];if(r===undefined){e.hooks.thisCompilation.tap("EnvironmentPlugin",(e=>{const t=new i(`EnvironmentPlugin - ${n} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");t.name="EnvVariableNotDefinedError";e.errors.push(t)}))}t[`process.env.${n}`]=r===undefined?"undefined":JSON.stringify(r)}new r(t).apply(e)}}e.exports=EnvironmentPlugin},50717:(e,t)=>{"use strict";const n="LOADER_EXECUTION";const r="WEBPACK_OPTIONS";t.cutOffByFlag=(e,t)=>{e=e.split("\n");for(let n=0;nt.cutOffByFlag(e,n);t.cutOffWebpackOptions=e=>t.cutOffByFlag(e,r);t.cutOffMultilineMessage=(e,t)=>{e=e.split("\n");t=t.split("\n");const n=[];e.forEach(((e,r)=>{if(!e.includes(t[r]))n.push(e)}));return n.join("\n")};t.cutOffMessage=(e,t)=>{const n=e.indexOf("\n");if(n===-1){return e===t?"":e}else{const r=e.substr(0,n);return r===t?e.substr(n+1):e}};t.cleanUp=(e,n)=>{e=t.cutOffLoaderExecution(e);e=t.cutOffMessage(e,n);return e};t.cleanUpWebpackOptions=(e,n)=>{e=t.cutOffWebpackOptions(e);e=t.cutOffMultilineMessage(e,n);return e}},91331:(e,t,n)=>{"use strict";const{ConcatSource:r,RawSource:i}=n(48135);const s=n(16734);const a=n(70354);const c=n(18161);const u=new WeakMap;const l=new i(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(e){this.namespace=e.namespace||"";this.sourceUrlComment=e.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=e.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(e){e.hooks.compilation.tap("EvalDevToolModulePlugin",(e=>{const t=c.getCompilationHooks(e);t.renderModuleContent.tap("EvalDevToolModulePlugin",((e,t,{runtimeTemplate:n,chunkGraph:r})=>{const c=u.get(e);if(c!==undefined)return c;if(t instanceof s){u.set(e,e);return e}const l=e.source();const d=a.createFilename(t,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:n.requestShortener,chunkGraph:r});const p="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(d).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const h=new i(`eval(${JSON.stringify(l+p)});`);u.set(e,h);return h}));t.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));t.render.tap("EvalDevToolModulePlugin",(e=>new r(l,e)));t.chunkHash.tap("EvalDevToolModulePlugin",((e,t)=>{t.update("EvalDevToolModulePlugin");t.update("2")}))}))}}e.exports=EvalDevToolModulePlugin},23641:(e,t,n)=>{"use strict";const{ConcatSource:r,RawSource:i}=n(48135);const s=n(70354);const a=n(53520);const c=n(26867);const u=n(18161);const l=n(95734);const{absolutify:d}=n(49197);const p=new WeakMap;const h=new i(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(e){let t;if(typeof e==="string"){t={append:e}}else{t=e}this.sourceMapComment=t.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=t.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=t.namespace||"";this.options=t}apply(e){const t=this.options;e.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(n=>{const m=u.getCompilationHooks(n);new c(t).apply(n);const g=s.matchObject.bind(s,t);m.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((r,c,{runtimeTemplate:u,chunkGraph:h})=>{const m=p.get(r);if(m!==undefined){return m}const result=e=>{p.set(r,e);return e};if(c instanceof a){const e=c;if(!g(e.resource)){return result(r)}}else if(c instanceof l){const e=c;if(e.rootModule instanceof a){const t=e.rootModule;if(!g(t.resource)){return result(r)}}else{return result(r)}}else{return result(r)}let y;let _;if(r.sourceAndMap){const e=r.sourceAndMap(t);y=e.map;_=e.source}else{y=r.map(t);_=r.source()}if(!y){return result(r)}y={...y};const b=e.options.context;const x=e.root;const k=y.sources.map((e=>{if(!e.startsWith("webpack://"))return e;e=d(b,e.slice(10),x);const t=n.findModule(e);return t||e}));let E=k.map((e=>s.createFilename(e,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:u.requestShortener,chunkGraph:h})));E=s.replaceDuplicates(E,((e,t,n)=>{for(let t=0;t"the eval-source-map devtool is used."));m.render.tap("EvalSourceMapDevToolPlugin",(e=>new r(h,e)));m.chunkHash.tap("EvalSourceMapDevToolPlugin",((e,t)=>{t.update("EvalSourceMapDevToolPlugin");t.update("2")}))}))}}e.exports=EvalSourceMapDevToolPlugin},76632:(e,t,n)=>{"use strict";const{equals:r}=n(73910);const i=n(16102);const s=n(56202);const{forEachRuntime:a}=n(37416);const c=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const u=Symbol("circular target");class RestoreProvidedData{constructor(e,t,n,r){this.exports=e;this.otherProvided=t;this.otherCanMangleProvide=n;this.otherTerminalBinding=r}serialize({write:e}){e(this.exports);e(this.otherProvided);e(this.otherCanMangleProvide);e(this.otherTerminalBinding)}static deserialize({read:e}){return new RestoreProvidedData(e(),e(),e(),e())}}s(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const e=new Map(this._redirectTo._exports);for(const[t,n]of this._exports){e.set(t,n)}return e.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const e=new Map(Array.from(this._redirectTo.orderedExports,(e=>[e.name,e])));for(const[t,n]of this._exports){e.set(t,n)}this._sortExportsMap(e);return e.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(e){if(e.size>1){const t=Array.from(e.values());if(t.length!==2||t[0].name>t[1].name){t.sort(((e,t)=>e.name0){const t=this.getReadOnlyExportInfo(e[0]);if(!t.exportsInfo)return undefined;return t.exportsInfo.getNestedExportsInfo(e.slice(1))}return this}setUnknownExportsProvided(e,t,n,r){let i=false;if(t){for(const e of t){this.getExportInfo(e)}}for(const s of this._exports.values()){if(t&&t.has(s.name))continue;if(s.provided!==true&&s.provided!==null){s.provided=null;i=true}if(!e&&s.canMangleProvide!==false){s.canMangleProvide=false;i=true}if(n){s.setTarget(n,r,[s.name])}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(e,t,n,r)){i=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;i=true}if(!e&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;i=true}if(n){this._otherExportsInfo.setTarget(n,r,undefined)}}return i}setUsedInUnknownWay(e){let t=false;for(const n of this._exports.values()){if(n.setUsedInUnknownWay(e)){t=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(e)){t=true}}else{if(this._otherExportsInfo.setUsedConditionally((e=>ee===c.Unused),c.Used,e)}isUsed(e){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(e)){return true}}else{if(this._otherExportsInfo.getUsed(e)!==c.Unused){return true}}for(const t of this._exports.values()){if(t.getUsed(e)!==c.Unused){return true}}return false}isModuleUsed(e){if(this.isUsed(e))return true;if(this._sideEffectsOnlyInfo.getUsed(e)!==c.Unused)return true;return false}getUsedExports(e){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(e)){case c.NoInfo:return null;case c.Unknown:case c.OnlyPropertiesUsed:case c.Used:return true}}const t=[];if(!this._exportsAreOrdered)this._sortExports();for(const n of this._exports.values()){switch(n.getUsed(e)){case c.NoInfo:return null;case c.Unknown:return true;case c.OnlyPropertiesUsed:case c.Used:t.push(n.name)}}if(this._redirectTo!==undefined){const n=this._redirectTo.getUsedExports(e);if(n===null)return null;if(n===true)return true;if(n!==false){for(const e of n){t.push(e)}}}if(t.length===0){switch(this._sideEffectsOnlyInfo.getUsed(e)){case c.NoInfo:return null;case c.Unused:return false}}return new i(t)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const e=[];if(!this._exportsAreOrdered)this._sortExports();for(const t of this._exports.values()){switch(t.provided){case undefined:return null;case null:return true;case true:e.push(t.name)}}if(this._redirectTo!==undefined){const t=this._redirectTo.getProvidedExports();if(t===null)return null;if(t===true)return true;for(const n of t){if(!e.includes(n)){e.push(n)}}}return e}getRelevantExports(e){const t=[];for(const n of this._exports.values()){const r=n.getUsed(e);if(r===c.Unused)continue;if(n.provided===false)continue;t.push(n)}if(this._redirectTo!==undefined){for(const n of this._redirectTo.getRelevantExports(e)){if(!this._exports.has(n.name))t.push(n)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(e)!==c.Unused){t.push(this._otherExportsInfo)}return t}isExportProvided(e){if(Array.isArray(e)){const t=this.getReadOnlyExportInfo(e[0]);if(t.exportsInfo&&e.length>1){return t.exportsInfo.isExportProvided(e.slice(1))}return t.provided}const t=this.getReadOnlyExportInfo(e);return t.provided}getUsageKey(e){const t=[];if(this._redirectTo!==undefined){t.push(this._redirectTo.getUsageKey(e))}else{t.push(this._otherExportsInfo.getUsed(e))}t.push(this._sideEffectsOnlyInfo.getUsed(e));for(const n of this.orderedOwnedExports){t.push(n.getUsed(e))}return t.join("|")}isEquallyUsed(e,t){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(e,t))return false}else{if(this._otherExportsInfo.getUsed(e)!==this._otherExportsInfo.getUsed(t)){return false}}if(this._sideEffectsOnlyInfo.getUsed(e)!==this._sideEffectsOnlyInfo.getUsed(t)){return false}for(const n of this.ownedExports){if(n.getUsed(e)!==n.getUsed(t))return false}return true}getUsed(e,t){if(Array.isArray(e)){if(e.length===0)return this.otherExportsInfo.getUsed(t);let n=this.getReadOnlyExportInfo(e[0]);if(n.exportsInfo&&e.length>1){return n.exportsInfo.getUsed(e.slice(1),t)}return n.getUsed(t)}let n=this.getReadOnlyExportInfo(e);return n.getUsed(t)}getUsedName(e,t){if(Array.isArray(e)){if(e.length===0){if(!this.isUsed(t))return false;return e}let n=this.getReadOnlyExportInfo(e[0]);const r=n.getUsedName(e[0],t);if(r===false)return false;const i=r===e[0]&&e.length===1?e:[r];if(e.length===1){return i}if(n.exportsInfo&&n.getUsed(t)===c.OnlyPropertiesUsed){const r=n.exportsInfo.getUsedName(e.slice(1),t);if(!r)return false;return i.concat(r)}else{return i.concat(e.slice(1))}}else{let n=this.getReadOnlyExportInfo(e);const r=n.getUsedName(e,t);return r}}updateHash(e,t){this._updateHash(e,t,new Set)}_updateHash(e,t,n){const r=new Set(n);r.add(this);for(const n of this.orderedExports){if(n.hasInfo(this._otherExportsInfo,t)){n._updateHash(e,t,r)}}this._sideEffectsOnlyInfo._updateHash(e,t,r);this._otherExportsInfo._updateHash(e,t,r);if(this._redirectTo!==undefined){this._redirectTo._updateHash(e,t,r)}}getRestoreProvidedData(){const e=this._otherExportsInfo.provided;const t=this._otherExportsInfo.canMangleProvide;const n=this._otherExportsInfo.terminalBinding;const r=[];for(const i of this._exports.values()){if(i.provided!==e||i.canMangleProvide!==t||i.terminalBinding!==n||i.exportsInfoOwned){r.push({name:i.name,provided:i.provided,canMangleProvide:i.canMangleProvide,terminalBinding:i.terminalBinding,exportsInfo:i.exportsInfoOwned?i.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(r,e,t,n)}restoreProvided({otherProvided:e,otherCanMangleProvide:t,otherTerminalBinding:n,exports:r}){for(const r of this._exports.values()){r.provided=e;r.canMangleProvide=t;r.terminalBinding=n}this._otherExportsInfo.provided=e;this._otherExportsInfo.canMangleProvide=t;this._otherExportsInfo.terminalBinding=n;for(const e of r){const t=this.getExportInfo(e.name);t.provided=e.provided;t.canMangleProvide=e.canMangleProvide;t.terminalBinding=e.terminalBinding;if(e.exportsInfo){const n=t.createNestedExportsInfo();n.restoreProvided(e.exportsInfo)}}}}class ExportInfo{constructor(e,t){this.name=e;this._usedName=t?t._usedName:null;this._globalUsed=t?t._globalUsed:undefined;this._usedInRuntime=t&&t._usedInRuntime?new Map(t._usedInRuntime):undefined;this._hasUseInRuntimeInfo=t?t._hasUseInRuntimeInfo:false;this.provided=t?t.provided:undefined;this.terminalBinding=t?t.terminalBinding:false;this.canMangleProvide=t?t.canMangleProvide:undefined;this.canMangleUse=t?t.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(t&&t._target){this._target=new Map;for(const[n,r]of t._target){this._target.set(n,r?{connection:r.connection,export:[e]}:null)}}}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(e){throw new Error("REMOVED")}set usedName(e){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(e){let t=false;if(this.setUsedConditionally((e=>ethis._usedInRuntime.set(e,t)));return true}}else{let r=false;a(n,(n=>{let i=this._usedInRuntime.get(n);if(i===undefined)i=c.Unused;if(t!==i&&e(i)){if(t===c.Unused){this._usedInRuntime.delete(n)}else{this._usedInRuntime.set(n,t)}r=true}}));if(r){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(e,t){if(t===undefined){if(this._globalUsed!==e){this._globalUsed=e;return true}}else if(this._usedInRuntime===undefined){if(e!==c.Unused){this._usedInRuntime=new Map;a(t,(t=>this._usedInRuntime.set(t,e)));return true}}else{let n=false;a(t,(t=>{let r=this._usedInRuntime.get(t);if(r===undefined)r=c.Unused;if(e!==r){if(e===c.Unused){this._usedInRuntime.delete(t)}else{this._usedInRuntime.set(t,e)}n=true}}));if(n){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(e){if(!this._target)return false;return this._target.delete(e)}setTarget(e,t,n){if(n)n=[...n];if(!this._target){this._target=new Map;this._target.set(e,t?{connection:t,export:n}:null);return true}const i=this._target.get(e);if(!i){if(i===null&&!t)return false;this._target.set(e,t?{connection:t,export:n}:null);return true}if(!t){this._target.set(e,null);return true}if(i.connection!==t||(n?!i.export||!r(i.export,n):i.export)){i.connection=t;i.export=n;return true}return false}getUsed(e){if(!this._hasUseInRuntimeInfo)return c.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return c.Unused}else if(typeof e==="string"){const t=this._usedInRuntime.get(e);return t===undefined?c.Unused:t}else if(e===undefined){let e=c.Unused;for(const t of this._usedInRuntime.values()){if(t===c.Used){return c.Used}if(e!this._usedInRuntime.has(e)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||e}hasUsedName(){return this._usedName!==null}setUsedName(e){this._usedName=e}getTerminalBinding(e,t=RETURNS_TRUE){if(this.terminalBinding)return this;const n=this.getTarget(e,t);if(!n)return undefined;const r=e.getExportsInfo(n.module);if(!n.export)return r;return r.getReadOnlyExportInfoRecursive(n.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}findTarget(e,t){return this._findTarget(e,t,new Set)}_findTarget(e,t,n){if(!this._target||this._target.size===0)return undefined;let r=this._target.values().next().value;if(!r)return undefined;let i={module:r.connection.module,export:r.export};for(;;){if(t(i.module))return i;const r=e.getExportsInfo(i.module);const s=r.getExportInfo(i.export[0]);if(n.has(s))return null;const a=s._findTarget(e,t,n);if(!a)return false;if(i.export.length===1){i=a}else{i={module:a.module,export:a.export?a.export.concat(i.export.slice(1)):i.export.slice(1)}}}}getTarget(e,t=RETURNS_TRUE){const n=this._getTarget(e,t,undefined);if(n===u)return undefined;return n}_getTarget(e,t,n){const resolveTarget=(n,r)=>{if(!n)return null;if(!n.export){return{module:n.connection.module,connection:n.connection,export:undefined}}let i={module:n.connection.module,connection:n.connection,export:n.export};if(!t(i))return i;let s=false;for(;;){const n=e.getExportsInfo(i.module);const a=n.getExportInfo(i.export[0]);if(!a)return i;if(r.has(a))return u;const c=a._getTarget(e,t,r);if(c===u)return u;if(!c)return i;if(i.export.length===1){i=c;if(!i.export)return i}else{i={module:c.module,connection:c.connection,export:c.export?c.export.concat(i.export.slice(1)):i.export.slice(1)}}if(!t(i))return i;if(!s){r=new Set(r);s=true}r.add(a)}};if(!this._target||this._target.size===0)return undefined;if(n&&n.has(this))return u;const i=new Set(n);i.add(this);const s=this._target.values();const a=resolveTarget(s.next().value,i);if(a===u)return u;if(a===null)return undefined;let c=s.next();while(!c.done){const e=resolveTarget(c.value,i);if(e===u)return u;if(e===null)return undefined;if(e.module!==a.module)return undefined;if(!e.export!==!a.export)return undefined;if(a.export&&!r(e.export,a.export))return undefined;c=s.next()}return a}moveTarget(e,t,n){const r=this._getTarget(e,t,undefined);if(r===u)return undefined;if(!r)return undefined;const i=this._target.values().next().value;if(i.connection===r.connection&&i.export===r.export){return undefined}this._target.clear();this._target.set(undefined,{connection:n?n(r):r.connection,export:r.export});return r}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const e=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(e){this.exportsInfo.setRedirectNamedTo(e)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(e,t){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(t)!==e.getUsed(t)}updateHash(e,t){this._updateHash(e,t,new Set)}_updateHash(e,t,n){e.update(`${this._usedName||this.name}`);e.update(`${this.getUsed(t)}`);e.update(`${this.provided}`);e.update(`${this.terminalBinding}`);if(this.exportsInfo&&!n.has(this.exportsInfo)){this.exportsInfo._updateHash(e,t,n)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case c.Unused:return"unused";case c.NoInfo:return"no usage info";case c.Unknown:return"maybe used (runtime-defined)";case c.Used:return"used";case c.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const e=new Map;for(const[t,n]of this._usedInRuntime){const r=e.get(n);if(r!==undefined)r.push(t);else e.set(n,[t])}const t=Array.from(e,(([e,t])=>{switch(e){case c.NoInfo:return`no usage info in ${t.join(", ")}`;case c.Unknown:return`maybe used in ${t.join(", ")} (runtime-defined)`;case c.Used:return`used in ${t.join(", ")}`;case c.OnlyPropertiesUsed:return`only properties used in ${t.join(", ")}`}}));if(t.length>0){return t.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}e.exports=ExportsInfo;e.exports.ExportInfo=ExportInfo;e.exports.UsageState=c},29672:(e,t,n)=>{"use strict";const r=n(66298);const i=n(51420);class ExportsInfoApiPlugin{apply(e){e.hooks.compilation.tap("ExportsInfoApiPlugin",((e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(i,new i.Template);const handler=e=>{e.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((t,n)=>{const r=n.length>=2?new i(t.range,n.slice(0,-1),n[n.length-1]):new i(t.range,null,n[0]);r.loc=t.loc;e.state.module.addDependency(r);return true}));e.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(t=>{const n=new r("true",t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true}))};t.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);t.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}e.exports=ExportsInfoApiPlugin},16734:(e,t,n)=>{"use strict";const{OriginalSource:r,RawSource:i}=n(48135);const s=n(77294);const a=n(53453);const c=n(76150);const u=n(58159);const l=n(96076);const d=n(10004);const p=n(56202);const h=n(68038);const getSourceForGlobalVariableExternal=(e,t)=>{if(!Array.isArray(e)){e=[e]}const n=e.map((e=>`[${JSON.stringify(e)}]`)).join("");return{iife:t==="this",expression:`${t}${n}`}};const getSourceForCommonJsExternal=e=>{if(!Array.isArray(e)){return{expression:`require(${JSON.stringify(e)});`}}const t=e[0];return{expression:`require(${JSON.stringify(t)})${h(e,1)};`}};const getSourceForImportExternal=(e,t)=>{const n=t.outputOptions.importFunctionName;if(!t.supportsDynamicImport()&&n==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(e)){return{expression:`${n}(${JSON.stringify(e)});`}}if(e.length===1){return{expression:`${n}(${JSON.stringify(e[0])});`}}const r=e[0];return{expression:`${n}(${JSON.stringify(r)}).then(${t.returningFunction(`module${h(e,1)}`,"module")});`}};const getSourceForScriptExternal=(e,t)=>{if(typeof e==="string"){e=d(e)}const n=e[0];const r=e[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${t.basicFunction("resolve, reject",[`if(typeof ${r} !== "undefined") return resolve();`,`${c.loadScript}(${JSON.stringify(n)}, ${t.basicFunction("event",[`if(typeof ${r} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(r)});`])}).then(${t.returningFunction(`${r}${h(e,2)}`)})`}};const checkExternalVariable=(e,t,n)=>`if(typeof ${e} === 'undefined') { ${n.throwMissingModuleErrorBlock({request:t})} }\n`;const getSourceForAmdOrUmdExternal=(e,t,n,r)=>{const i=`__WEBPACK_EXTERNAL_MODULE_${u.toIdentifier(`${e}`)}__`;return{init:t?checkExternalVariable(i,Array.isArray(n)?n.join("."):n,r):undefined,expression:i}};const getSourceForDefaultCase=(e,t,n)=>{if(!Array.isArray(t)){t=[t]}const r=t[0];const i=h(t,1);return{init:e?checkExternalVariable(r,t.join("."),n):undefined,expression:`${r}${i}`}};const m=new Set(["javascript"]);const g=new Set([c.module]);const y=new Set([c.module,c.loadScript]);const _=new Set([]);class ExternalModule extends a{constructor(e,t,n){super("javascript/dynamic",null);this.request=e;this.externalType=t;this.userRequest=n}getSourceTypes(){return m}libIdent(e){return this.userRequest}chunkCondition(e,{chunkGraph:t}){return t.getNumberOfEntryModules(e)>0}identifier(){return"external "+JSON.stringify(this.request)}readableIdentifier(e){return"external "+JSON.stringify(this.request)}needBuild(e,t){return t(null,!this.buildMeta)}build(e,t,n,r,i){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:this.externalType!=="this",topLevelDeclarations:new Set};this.buildMeta.exportsType="dynamic";let s=false;this.clearDependenciesAndBlocks();switch(this.externalType){case"system":if(!Array.isArray(this.request)||this.request.length===1){this.buildMeta.exportsType="namespace";s=true}break;case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(this.request)||this.request.length===1){this.buildMeta.exportsType="namespace";s=false}break;case"script":this.buildMeta.async=true;break}this.addDependency(new l(true,s));i()}getConcatenationBailoutReason({moduleGraph:e}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}getSourceData(e,t,n){const r=typeof this.request==="object"&&!Array.isArray(this.request)?this.request[this.externalType]:this.request;switch(this.externalType){case"this":case"window":case"self":return getSourceForGlobalVariableExternal(r,this.externalType);case"global":return getSourceForGlobalVariableExternal(r,e.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal(r);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return getSourceForAmdOrUmdExternal(n.getModuleId(this),this.isOptional(t),r,e);case"import":return getSourceForImportExternal(r,e);case"script":return getSourceForScriptExternal(r,e);case"module":if(!e.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}throw new Error("Module external type is not implemented yet");case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(t),r,e)}}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n,concatenationScope:a}){const c=this.getSourceData(e,t,n);let u=c.expression;if(c.iife)u=`(function() { return ${u}; }())`;if(a){u=`${e.supportsConst()?"const":"var"} ${s.NAMESPACE_OBJECT_EXPORT} = ${u};`;a.registerNamespaceExport(s.NAMESPACE_OBJECT_EXPORT)}else{u=`module.exports = ${u};`}if(c.init)u=`${c.init}\n${u}`;const l=new Map;if(this.useSourceMap||this.useSimpleSourceMap){l.set("javascript",new r(u,this.identifier()))}else{l.set("javascript",new i(u))}return{sources:l,runtimeRequirements:a?_:this.externalType==="script"?y:g}}size(e){return 42}updateHash(e,t){const{chunkGraph:n}=t;e.update(this.externalType);e.update(JSON.stringify(this.request));e.update(JSON.stringify(Boolean(this.isOptional(n.moduleGraph))));super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.request);t(this.externalType);t(this.userRequest);super.serialize(e)}deserialize(e){const{read:t}=e;this.request=t();this.externalType=t();this.userRequest=t();super.deserialize(e)}}p(ExternalModule,"webpack/lib/ExternalModule");e.exports=ExternalModule},59084:(e,t,n)=>{"use strict";const r=n(31669);const i=n(16734);const{resolveByProperty:s,cachedSetProperty:a}=n(90149);const c=/^[a-z0-9]+ /;const u={};const l=r.deprecate(((e,t,n,r)=>{e.call(null,t,n,r)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const d=new WeakMap;const resolveLayer=(e,t)=>{let n=d.get(e);if(n===undefined){n=new Map;d.set(e,n)}else{const e=n.get(t);if(e!==undefined)return e}const r=s(e,"byLayer",t);n.set(t,r);return r};class ExternalModuleFactoryPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){const t=this.type;e.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((n,r)=>{const s=n.context;const d=n.contextInfo;const p=n.dependencies[0];const handleExternal=(e,n,r)=>{if(e===false){return r()}let s;if(e===true){s=p.request}else{s=e}if(n===undefined){if(typeof s==="string"&&c.test(s)){const e=s.indexOf(" ");n=s.substr(0,e);s=s.substr(e+1)}else if(Array.isArray(s)&&s.length>0&&c.test(s[0])){const e=s[0];const t=e.indexOf(" ");n=e.substr(0,t);s=[e.substr(t+1),...s.slice(1)]}}r(null,new i(s,n||t,p.request))};const handleExternals=(t,r)=>{if(typeof t==="string"){if(t===p.request){return handleExternal(p.request,undefined,r)}}else if(Array.isArray(t)){let e=0;const next=()=>{let n;const handleExternalsAndCallback=(e,t)=>{if(e)return r(e);if(!t){if(n){n=false;return}return next()}r(null,t)};do{n=true;if(e>=t.length)return r();handleExternals(t[e++],handleExternalsAndCallback)}while(!n);n=false};next();return}else if(t instanceof RegExp){if(t.test(p.request)){return handleExternal(p.request,undefined,r)}}else if(typeof t==="function"){const cb=(e,t,n)=>{if(e)return r(e);if(t!==undefined){handleExternal(t,n,r)}else{r()}};if(t.length===3){l(t,s,p.request,cb)}else{const r=t({context:s,request:p.request,contextInfo:d,getResolve:t=>(r,i,s)=>{const c=p.category||"";const l={fileDependencies:n.fileDependencies,missingDependencies:n.missingDependencies,contextDependencies:n.contextDependencies};let d=e.getResolver("normal",c?a(n.resolveOptions||u,"dependencyType",c):n.resolveOptions);if(t)d=d.withOptions(t);if(s){d.resolve({},r,i,l,s)}else{return new Promise(((e,t)=>{d.resolve({},r,i,l,((n,r)=>{if(n)t(n);else e(r)}))}))}}},cb);if(r&&r.then)r.then((e=>cb(null,e)),cb)}return}else if(typeof t==="object"){const e=resolveLayer(t,d.issuerLayer);if(Object.prototype.hasOwnProperty.call(e,p.request)){return handleExternal(e[p.request],undefined,r)}}r()};handleExternals(this.externals,r)}))}}e.exports=ExternalModuleFactoryPlugin},61050:(e,t,n)=>{"use strict";const r=n(59084);class ExternalsPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){e.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:e})=>{new r(this.type,this.externals).apply(e)}))}}e.exports=ExternalsPlugin},22996:(e,t,n)=>{"use strict";const{create:r}=n(17583);const i=n(62355);const s=n(9738);const a=n(35891);const{join:c,dirname:u,relative:l}=n(95396);const d=n(56202);const p=n(2117);const h=+process.versions.modules>=83;let m=2e3;const g=new Set;const y=0;const _=1;const b=2;const x=3;const k=4;const E=5;const w=6;const S=7;const C=8;const M=Symbol("invalid");const I=(new Set).keys().next();class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(e){this._flags=this._flags|1;this.startTime=e}setMergedStartTime(e,t){if(e){if(t.hasStartTime()){this.setStartTime(Math.min(e,t.startTime))}else{this.setStartTime(e)}}else{if(t.hasStartTime())this.setStartTime(t.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(e){this._flags=this._flags|2;this.fileTimestamps=e}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(e){this._flags=this._flags|4;this.fileHashes=e}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(e){this._flags=this._flags|8;this.fileTshs=e}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(e){this._flags=this._flags|16;this.contextTimestamps=e}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(e){this._flags=this._flags|32;this.contextHashes=e}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(e){this._flags=this._flags|64;this.contextTshs=e}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(e){this._flags=this._flags|128;this.missingExistence=e}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(e){this._flags=this._flags|256;this.managedItemInfo=e}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(e){this._flags=this._flags|512;this.managedFiles=e}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(e){this._flags=this._flags|1024;this.managedContexts=e}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(e){this._flags=this._flags|2048;this.managedMissing=e}hasChildren(){return(this._flags&4096)!==0}setChildren(e){this._flags=this._flags|4096;this.children=e}addChild(e){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(e)}serialize({write:e}){e(this._flags);if(this.hasStartTime())e(this.startTime);if(this.hasFileTimestamps())e(this.fileTimestamps);if(this.hasFileHashes())e(this.fileHashes);if(this.hasFileTshs())e(this.fileTshs);if(this.hasContextTimestamps())e(this.contextTimestamps);if(this.hasContextHashes())e(this.contextHashes);if(this.hasContextTshs())e(this.contextTshs);if(this.hasMissingExistence())e(this.missingExistence);if(this.hasManagedItemInfo())e(this.managedItemInfo);if(this.hasManagedFiles())e(this.managedFiles);if(this.hasManagedContexts())e(this.managedContexts);if(this.hasManagedMissing())e(this.managedMissing);if(this.hasChildren())e(this.children)}deserialize({read:e}){this._flags=e();if(this.hasStartTime())this.startTime=e();if(this.hasFileTimestamps())this.fileTimestamps=e();if(this.hasFileHashes())this.fileHashes=e();if(this.hasFileTshs())this.fileTshs=e();if(this.hasContextTimestamps())this.contextTimestamps=e();if(this.hasContextHashes())this.contextHashes=e();if(this.hasContextTshs())this.contextTshs=e();if(this.hasMissingExistence())this.missingExistence=e();if(this.hasManagedItemInfo())this.managedItemInfo=e();if(this.hasManagedFiles())this.managedFiles=e();if(this.hasManagedContexts())this.managedContexts=e();if(this.hasManagedMissing())this.managedMissing=e();if(this.hasChildren())this.children=e()}_createIterable(e){let t=this;return{[Symbol.iterator](){let n=0;let r;let i=e(t);const s=[];return{next(){for(;;){switch(n){case 0:if(i.length>0){const e=i.pop();if(e!==undefined){r=e.keys();n=1}else{break}}else{n=2;break}case 1:{const e=r.next();if(!e.done)return e;n=0;break}case 2:{const r=t.children;if(r!==undefined){for(const e of r){s.push(e)}}if(s.length>0){t=s.pop();i=e(t);n=0;break}else{n=3}}case 3:return I}}}}}}}getFileIterable(){return this._createIterable((e=>[e.fileTimestamps,e.fileHashes,e.fileTshs,e.managedFiles]))}getContextIterable(){return this._createIterable((e=>[e.contextTimestamps,e.contextHashes,e.contextTshs,e.managedContexts]))}getMissingIterable(){return this._createIterable((e=>[e.missingExistence,e.managedMissing]))}}d(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const P=3;class SnapshotOptimization{constructor(e,t,n,r=false){this._has=e;this._get=t;this._set=n;this._isSet=r;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const e=this._statItemsShared+this._statItemsUnshared;if(e===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/e)}% (${this._statItemsShared}/${e}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}storeUnsharedSnapshot(e,t){if(t===undefined)return;const n={snapshot:e,shared:0,snapshotContent:undefined,children:undefined};for(const e of t){this._map.set(e,n)}}optimize(e,t,n){const r=new Set;const i=new Set;const increaseSharedAndStoreOptimizationEntry=e=>{if(e.children!==undefined){e.children.forEach(increaseSharedAndStoreOptimizationEntry)}e.shared++;storeOptimizationEntry(e)};const storeOptimizationEntry=t=>{for(const n of t.snapshotContent){const r=this._map.get(n);if(r.shared0){if(t&&(!c.startTime||c.startTime>t)){continue}const r=new Set;const s=a.snapshotContent;const u=this._get(c);for(const t of s){if(!e.has(t)){if(!u.has(t)){i.add(a);continue e}r.add(t);continue}}if(r.size===0){n.add(c);increaseSharedAndStoreOptimizationEntry(a);this._statReusedSharedSnapshots++}else{const e=s.size-r.size;if(e{if(m>1&&e%2!==0)m=1;else if(m>10&&e%20!==0)m=10;else if(m>100&&e%200!==0)m=100;else if(m>1e3&&e%2e3!==0)m=1e3};const mergeMaps=(e,t)=>{if(!t||t.size===0)return e;if(!e||e.size===0)return t;const n=new Map(e);for(const[e,r]of t){n.set(e,r)}return n};const mergeSets=(e,t)=>{if(!t||t.size===0)return e;if(!e||e.size===0)return t;const n=new Set(e);for(const e of t){n.add(e)}return n};const getManagedItem=(e,t)=>{let n=e.length;let r=1;let i=true;e:while(n=n+13&&t.charCodeAt(n+1)===110&&t.charCodeAt(n+2)===111&&t.charCodeAt(n+3)===100&&t.charCodeAt(n+4)===101&&t.charCodeAt(n+5)===95&&t.charCodeAt(n+6)===109&&t.charCodeAt(n+7)===111&&t.charCodeAt(n+8)===100&&t.charCodeAt(n+9)===117&&t.charCodeAt(n+10)===108&&t.charCodeAt(n+11)===101&&t.charCodeAt(n+12)===115){if(t.length===n+13){return t}const e=t.charCodeAt(n+13);if(e===47||e===92){return getManagedItem(t.slice(0,n+14),t)}}return t.slice(0,n)};const toExistence=e=>Boolean(e);class FileSystemInfo{constructor(e,{managedPaths:t=[],immutablePaths:n=[],logger:r}={}){this.fs=e;this.logger=r;this._remainingLogs=r?40:0;this._loggedPaths=r?new Set:undefined;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((e=>e.hasFileTimestamps()),(e=>e.fileTimestamps),((e,t)=>e.setFileTimestamps(t)));this._fileHashesOptimization=new SnapshotOptimization((e=>e.hasFileHashes()),(e=>e.fileHashes),((e,t)=>e.setFileHashes(t)));this._fileTshsOptimization=new SnapshotOptimization((e=>e.hasFileTshs()),(e=>e.fileTshs),((e,t)=>e.setFileTshs(t)));this._contextTimestampsOptimization=new SnapshotOptimization((e=>e.hasContextTimestamps()),(e=>e.contextTimestamps),((e,t)=>e.setContextTimestamps(t)));this._contextHashesOptimization=new SnapshotOptimization((e=>e.hasContextHashes()),(e=>e.contextHashes),((e,t)=>e.setContextHashes(t)));this._contextTshsOptimization=new SnapshotOptimization((e=>e.hasContextTshs()),(e=>e.contextTshs),((e,t)=>e.setContextTshs(t)));this._missingExistenceOptimization=new SnapshotOptimization((e=>e.hasMissingExistence()),(e=>e.missingExistence),((e,t)=>e.setMissingExistence(t)));this._managedItemInfoOptimization=new SnapshotOptimization((e=>e.hasManagedItemInfo()),(e=>e.managedItemInfo),((e,t)=>e.setManagedItemInfo(t)));this._managedFilesOptimization=new SnapshotOptimization((e=>e.hasManagedFiles()),(e=>e.managedFiles),((e,t)=>e.setManagedFiles(t)),true);this._managedContextsOptimization=new SnapshotOptimization((e=>e.hasManagedContexts()),(e=>e.managedContexts),((e,t)=>e.setManagedContexts(t)),true);this._managedMissingOptimization=new SnapshotOptimization((e=>e.hasManagedMissing()),(e=>e.managedMissing),((e,t)=>e.setManagedMissing(t)),true);this._fileTimestamps=new Map;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new Map;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new s({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new s({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new s({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new s({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.managedItemQueue=new s({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new s({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(t);this.managedPathsWithSlash=this.managedPaths.map((t=>c(e,t,"_").slice(0,-1)));this.immutablePaths=Array.from(n);this.immutablePathsWithSlash=this.immutablePaths.map((t=>c(e,t,"_").slice(0,-1)));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(e,t)=>{if(t){this.logger.log(`${e}: ${t}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(e,t,...n){const r=e+t;if(this._loggedPaths.has(r))return;this._loggedPaths.add(r);this.logger.debug(`${e} invalidated because ${t}`,...n);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(e){for(const[t,n]of e){this._fileTimestamps.set(t,n)}this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(e){for(const[t,n]of e){this._contextTimestamps.set(t,n)}this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(e,t){const n=this._fileTimestamps.get(e);if(n!==undefined)return t(null,n);this.fileTimestampQueue.add(e,t)}getContextTimestamp(e,t){const n=this._contextTimestamps.get(e);if(n!==undefined)return t(null,n);this.contextTimestampQueue.add(e,t)}getFileHash(e,t){const n=this._fileHashes.get(e);if(n!==undefined)return t(null,n);this.fileHashQueue.add(e,t)}getContextHash(e,t){const n=this._contextHashes.get(e);if(n!==undefined)return t(null,n);this.contextHashQueue.add(e,t)}_createBuildDependenciesResolvers(){const e=r({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const t=r({extensions:[".js",".json",".node"],conditionNames:["require","node"],fileSystem:this.fs});const n=r({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],fileSystem:this.fs});return{resolveContext:e,resolveEsm:n,resolveCjs:t}}resolveBuildDependencies(e,t,r){const{resolveContext:i,resolveEsm:s,resolveCjs:a}=this._createBuildDependenciesResolvers();const d=new Set;const m=new Set;const g=new Set;const M=new Set;const I=new Set;const P=new Set;const T=new Set;const O=new Set;const R=new Map;const N=new Set;const L={fileDependencies:P,contextDependencies:T,missingDependencies:O};const expectedToString=e=>e?` (expected ${e})`:"";const jobToString=e=>{switch(e.type){case y:return`resolve commonjs ${e.path}${expectedToString(e.expected)}`;case _:return`resolve esm ${e.path}${expectedToString(e.expected)}`;case b:return`resolve directory ${e.path}`;case x:return`resolve commonjs file ${e.path}${expectedToString(e.expected)}`;case k:return`resolve esm file ${e.path}${expectedToString(e.expected)}`;case E:return`directory ${e.path}`;case w:return`file ${e.path}`;case S:return`directory dependencies ${e.path}`;case C:return`file dependencies ${e.path}`}return`unknown ${e.type} ${e.path}`};const pathToString=e=>{let t=` at ${jobToString(e)}`;e=e.issuer;while(e!==undefined){t+=`\n at ${jobToString(e)}`;e=e.issuer}return t};p(Array.from(t,(t=>({type:y,context:e,path:t,expected:undefined,issuer:undefined}))),20,((e,t,r)=>{const{type:p,context:I,path:T,expected:$}=e;const resolveDirectory=n=>{const s=`d\n${I}\n${n}`;if(R.has(s)){return r()}R.set(s,undefined);i(I,n,L,((i,a)=>{if(i){N.add(s);if(i.code==="ENOENT"||i.code==="UNDECLARED_DEPENDENCY"){return r()}i.message+=`\nwhile resolving '${n}' in ${I} to a directory`;return r(i)}R.set(s,a);t({type:E,context:undefined,path:a,expected:undefined,issuer:e});r()}))};const resolveFile=(n,i,s)=>{const a=`${i}\n${I}\n${n}`;if(R.has(a)){return r()}R.set(a,undefined);s(I,n,L,((i,s)=>{if($){if(s===$){R.set(a,s)}else{N.add(a);this.logger.debug(`Resolving '${n}' in ${I} for build dependencies doesn't lead to expected result '${$}', but to '${s}' instead. Resolving dependencies are ignored for this path.\n${pathToString(e)}`)}}else{if(i){N.add(a);if(i.code==="ENOENT"||i.code==="UNDECLARED_DEPENDENCY"){return r()}i.message+=`\nwhile resolving '${n}' in ${I} as file\n${pathToString(e)}`;return r(i)}R.set(a,s);t({type:w,context:undefined,path:s,expected:undefined,issuer:e})}r()}))};switch(p){case y:{const e=/[\\/]$/.test(T);if(e){resolveDirectory(T.slice(0,T.length-1))}else{resolveFile(T,"f",a)}break}case _:{const e=/[\\/]$/.test(T);if(e){resolveDirectory(T.slice(0,T.length-1))}else{resolveFile(T)}break}case b:{resolveDirectory(T);break}case x:{resolveFile(T,"f",a);break}case k:{resolveFile(T,"e",s);break}case w:{if(d.has(T)){r();break}d.add(T);this.fs.realpath(T,((n,i)=>{if(n)return r(n);const s=i;if(s!==T){m.add(T);P.add(T);if(d.has(s))return r();d.add(s)}t({type:C,context:undefined,path:s,expected:undefined,issuer:e});r()}));break}case E:{if(g.has(T)){r();break}g.add(T);this.fs.realpath(T,((n,i)=>{if(n)return r(n);const s=i;if(s!==T){M.add(T);P.add(T);if(g.has(s))return r();g.add(s)}t({type:S,context:undefined,path:s,expected:undefined,issuer:e});r()}));break}case C:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(T)){process.nextTick(r);break}const i=require.cache[T];if(i&&Array.isArray(i.children)){e:for(const n of i.children){let r=n.filename;if(r){t({type:w,context:undefined,path:r,expected:undefined,issuer:e});const s=u(this.fs,T);for(const a of i.paths){if(r.startsWith(a)){let i=r.slice(a.length+1);if(i.endsWith(".js"))i=i.slice(0,-3);t({type:x,context:s,path:i,expected:n.filename,issuer:e});continue e}}let a=l(this.fs,s,r);if(a.endsWith(".js"))a=a.slice(0,-3);a=a.replace(/\\/g,"/");if(!a.startsWith("../"))a=`./${a}`;t({type:x,context:s,path:a,expected:n.filename,issuer:e})}}}else if(h&&/\.m?js$/.test(T)){if(!this._warnAboutExperimentalEsmTracking){this.logger.info("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const i=n(30247);i.init.then((()=>{this.fs.readFile(T,((n,s)=>{if(n)return r(n);try{const n=u(this.fs,T);const r=s.toString();const[a]=i.parse(r);for(const i of a){try{let s;if(i.d===-1){s=JSON.parse(r.substring(i.s-1,i.e+1))}else if(i.d>-1){let e=r.substring(i.s,i.e).trim();if(e[0]==="'")e=`"${e.slice(1,-1).replace(/"/g,'\\"')}"`;s=JSON.parse(e)}else{continue}t({type:k,context:n,path:s,expected:undefined,issuer:e})}catch(t){this.logger.warn(`Parsing of ${T} for build dependencies failed at 'import(${r.substring(i.s,i.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(e));this.logger.debug(t.stack)}}}catch(t){this.logger.warn(`Parsing of ${T} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(e));this.logger.debug(t.stack)}process.nextTick(r)}))}),r);break}else{this.logger.log(`Assuming ${T} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(e))}process.nextTick(r);break}case S:{const n=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(T);const i=n?n[1]:T;const s=c(this.fs,i,"package.json");this.fs.readFile(s,((n,a)=>{if(n){if(n.code==="ENOENT"){O.add(s);const n=u(this.fs,i);if(n!==i){t({type:S,context:undefined,path:n,expected:undefined,issuer:e})}r();return}return r(n)}P.add(s);let c;try{c=JSON.parse(a.toString("utf-8"))}catch(e){return r(e)}const l=c.dependencies;if(typeof l==="object"&&l){for(const n of Object.keys(l)){t({type:b,context:i,path:n,expected:undefined,issuer:e})}}r()}));break}}}),(e=>{if(e)return r(e);for(const e of m)d.delete(e);for(const e of M)g.delete(e);for(const e of N)R.delete(e);r(null,{files:d,directories:g,missing:I,resolveResults:R,resolveDependencies:{files:P,directories:T,missing:O}})}))}checkResolveResultsValid(e,t){const{resolveCjs:n,resolveEsm:r,resolveContext:s}=this._createBuildDependenciesResolvers();i.eachLimit(e,20,(([e,t],i)=>{const[a,c,u]=e.split("\n");switch(a){case"d":s(c,u,{},((e,n)=>{if(e)return i(e);if(n!==t)return i(M);i()}));break;case"f":n(c,u,{},((e,n)=>{if(e)return i(e);if(n!==t)return i(M);i()}));break;case"e":r(c,u,{},((e,n)=>{if(e)return i(e);if(n!==t)return i(M);i()}));break;default:i(new Error("Unexpected type in resolve result key"));break}}),(e=>{if(e===M){return t(null,false)}if(e){return t(e)}return t(null,true)}))}createSnapshot(e,t,n,r,i,s){const a=new Map;const c=new Map;const u=new Map;const l=new Map;const d=new Map;const p=new Map;const h=new Map;const m=new Map;const g=new Set;const y=new Set;const _=new Set;const b=new Set;let x;let k;let E;let w;let S;let C;let M;let I;const P=new Set;const T=i&&i.hash?i.timestamp?3:2:1;let O=1;const jobDone=()=>{if(--O===0){const t=new Snapshot;if(e)t.setStartTime(e);if(a.size!==0){t.setFileTimestamps(a);this._fileTimestampsOptimization.storeUnsharedSnapshot(t,x)}if(c.size!==0){t.setFileHashes(c);this._fileHashesOptimization.storeUnsharedSnapshot(t,k)}if(u.size!==0){t.setFileTshs(u);this._fileTshsOptimization.storeUnsharedSnapshot(t,E)}if(l.size!==0){t.setContextTimestamps(l);this._contextTimestampsOptimization.storeUnsharedSnapshot(t,w)}if(d.size!==0){t.setContextHashes(d);this._contextHashesOptimization.storeUnsharedSnapshot(t,S)}if(p.size!==0){t.setContextTshs(p);this._contextTshsOptimization.storeUnsharedSnapshot(t,C)}if(h.size!==0){t.setMissingExistence(h);this._missingExistenceOptimization.storeUnsharedSnapshot(t,M)}if(m.size!==0){t.setManagedItemInfo(m);this._managedItemInfoOptimization.storeUnsharedSnapshot(t,I)}const n=this._managedFilesOptimization.optimize(g,undefined,b);if(g.size!==0){t.setManagedFiles(g);this._managedFilesOptimization.storeUnsharedSnapshot(t,n)}const r=this._managedContextsOptimization.optimize(y,undefined,b);if(y.size!==0){t.setManagedContexts(y);this._managedContextsOptimization.storeUnsharedSnapshot(t,r)}const i=this._managedMissingOptimization.optimize(_,undefined,b);if(_.size!==0){t.setManagedMissing(_);this._managedMissingOptimization.storeUnsharedSnapshot(t,i)}if(b.size!==0){t.setChildren(b)}this._snapshotCache.set(t,true);this._statCreatedSnapshots++;s(null,t)}};const jobError=()=>{if(O>0){O=-1e8;s(null,null)}};const checkManaged=(e,t)=>{for(const n of this.immutablePathsWithSlash){if(e.startsWith(n)){t.add(e);return true}}for(const n of this.managedPathsWithSlash){if(e.startsWith(n)){const r=getManagedItem(n,e);if(r){P.add(r);t.add(e);return true}}}return false};const captureNonManaged=(e,t)=>{const n=new Set;for(const r of e){if(!checkManaged(r,t))n.add(r)}return n};if(t){const n=captureNonManaged(t,g);switch(T){case 3:E=this._fileTshsOptimization.optimize(n,undefined,b);for(const e of n){const t=this._fileTshs.get(e);if(t!==undefined){u.set(e,t)}else{O++;this._getFileTimestampAndHash(e,((t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${e}: ${t.stack}`)}jobError()}else{u.set(e,n);jobDone()}}))}}break;case 2:k=this._fileHashesOptimization.optimize(n,undefined,b);for(const e of n){const t=this._fileHashes.get(e);if(t!==undefined){c.set(e,t)}else{O++;this.fileHashQueue.add(e,((t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${e}: ${t.stack}`)}jobError()}else{c.set(e,n);jobDone()}}))}}break;case 1:x=this._fileTimestampsOptimization.optimize(n,e,b);for(const e of n){const t=this._fileTimestamps.get(e);if(t!==undefined){if(t!=="ignore"){a.set(e,t)}}else{O++;this.fileTimestampQueue.add(e,((t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${e}: ${t.stack}`)}jobError()}else{a.set(e,n);jobDone()}}))}}break}}if(n){const t=captureNonManaged(n,y);switch(T){case 3:C=this._contextTshsOptimization.optimize(t,undefined,b);for(const e of t){const t=this._contextTshs.get(e);if(t!==undefined){p.set(e,t)}else{O++;this._getContextTimestampAndHash(e,((t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${e}: ${t.stack}`)}jobError()}else{p.set(e,n);jobDone()}}))}}break;case 2:S=this._contextHashesOptimization.optimize(t,undefined,b);for(const e of t){const t=this._contextHashes.get(e);if(t!==undefined){d.set(e,t)}else{O++;this.contextHashQueue.add(e,((t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${e}: ${t.stack}`)}jobError()}else{d.set(e,n);jobDone()}}))}}break;case 1:w=this._contextTimestampsOptimization.optimize(t,e,b);for(const e of t){const t=this._contextTimestamps.get(e);if(t!==undefined){if(t!=="ignore"){l.set(e,t)}}else{O++;this.contextTimestampQueue.add(e,((t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${e}: ${t.stack}`)}jobError()}else{l.set(e,n);jobDone()}}))}}break}}if(r){const t=captureNonManaged(r,_);M=this._missingExistenceOptimization.optimize(t,e,b);for(const e of t){const t=this._fileTimestamps.get(e);if(t!==undefined){if(t!=="ignore"){h.set(e,toExistence(t))}}else{O++;this.fileTimestampQueue.add(e,((t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${e}: ${t.stack}`)}jobError()}else{h.set(e,toExistence(n));jobDone()}}))}}}I=this._managedItemInfoOptimization.optimize(P,undefined,b);for(const e of P){const t=this._managedItems.get(e);if(t!==undefined){m.set(e,t)}else{O++;this.managedItemQueue.add(e,((t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting managed item ${e}: ${t.stack}`)}jobError()}else{m.set(e,n);jobDone()}}))}}jobDone()}mergeSnapshots(e,t){const n=new Snapshot;if(e.hasStartTime()&&t.hasStartTime())n.setStartTime(Math.min(e.startTime,t.startTime));else if(t.hasStartTime())n.startTime=t.startTime;else if(e.hasStartTime())n.startTime=e.startTime;if(e.hasFileTimestamps()||t.hasFileTimestamps()){n.setFileTimestamps(mergeMaps(e.fileTimestamps,t.fileTimestamps))}if(e.hasFileHashes()||t.hasFileHashes()){n.setFileHashes(mergeMaps(e.fileHashes,t.fileHashes))}if(e.hasFileTshs()||t.hasFileTshs()){n.setFileTshs(mergeMaps(e.fileTshs,t.fileTshs))}if(e.hasContextTimestamps()||t.hasContextTimestamps()){n.setContextTimestamps(mergeMaps(e.contextTimestamps,t.contextTimestamps))}if(e.hasContextHashes()||t.hasContextHashes()){n.setContextHashes(mergeMaps(e.contextHashes,t.contextHashes))}if(e.hasContextTshs()||t.hasContextTshs()){n.setContextTshs(mergeMaps(e.contextTshs,t.contextTshs))}if(e.hasMissingExistence()||t.hasMissingExistence()){n.setMissingExistence(mergeMaps(e.missingExistence,t.missingExistence))}if(e.hasManagedItemInfo()||t.hasManagedItemInfo()){n.setManagedItemInfo(mergeMaps(e.managedItemInfo,t.managedItemInfo))}if(e.hasManagedFiles()||t.hasManagedFiles()){n.setManagedFiles(mergeSets(e.managedFiles,t.managedFiles))}if(e.hasManagedContexts()||t.hasManagedContexts()){n.setManagedContexts(mergeSets(e.managedContexts,t.managedContexts))}if(e.hasManagedMissing()||t.hasManagedMissing()){n.setManagedMissing(mergeSets(e.managedMissing,t.managedMissing))}if(e.hasChildren()||t.hasChildren()){n.setChildren(mergeSets(e.children,t.children))}if(this._snapshotCache.get(e)===true&&this._snapshotCache.get(t)===true){this._snapshotCache.set(n,true)}return n}checkSnapshotValid(e,t){const n=this._snapshotCache.get(e);if(n!==undefined){this._statTestedSnapshotsCached++;if(typeof n==="boolean"){t(null,n)}else{n.push(t)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(e,t)}_checkSnapshotValidNoCache(e,t){let n=undefined;if(e.hasStartTime()){n=e.startTime}let r=1;const jobDone=()=>{if(--r===0){this._snapshotCache.set(e,true);t(null,true)}};const invalid=()=>{if(r>0){r=-1e8;this._snapshotCache.set(e,false);t(null,false)}};const invalidWithError=(e,t)=>{if(this._remainingLogs>0){this._log(e,`error occurred: %s`,t)}invalid()};const checkHash=(e,t,n)=>{if(t!==n){if(this._remainingLogs>0){this._log(e,`hashes differ (%s != %s)`,t,n)}return false}return true};const checkExistence=(e,t,n)=>{if(!t!==!n){if(this._remainingLogs>0){this._log(e,t?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(e,t,r,i=true)=>{if(t===r)return true;if(!t!==!r){if(i&&this._remainingLogs>0){this._log(e,t?"it didn't exist before":"it does no longer exist")}return false}if(t){if(typeof n==="number"&&t.safeTime>n){if(i&&this._remainingLogs>0){this._log(e,`it may have changed (%d) after the start time of the snapshot (%d)`,t.safeTime,n)}return false}if(r.timestamp!==undefined&&t.timestamp!==r.timestamp){if(i&&this._remainingLogs>0){this._log(e,`timestamps differ (%d != %d)`,t.timestamp,r.timestamp)}return false}if(r.timestampHash!==undefined&&t.timestampHash!==r.timestampHash){if(i&&this._remainingLogs>0){this._log(e,`timestamps hashes differ (%s != %s)`,t.timestampHash,r.timestampHash)}return false}}return true};if(e.hasChildren()){const childCallback=(e,t)=>{if(e||!t)return invalid();else jobDone()};for(const t of e.children){const e=this._snapshotCache.get(t);if(e!==undefined){this._statTestedChildrenCached++;if(typeof e==="boolean"){if(e===false){invalid();return}}else{r++;e.push(childCallback)}}else{this._statTestedChildrenNotCached++;r++;this._checkSnapshotValidNoCache(t,childCallback)}}}if(e.hasFileTimestamps()){const{fileTimestamps:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){const t=this._fileTimestamps.get(e);if(t!==undefined){if(t!=="ignore"&&!checkFile(e,t,n)){invalid();return}}else{r++;this.fileTimestampQueue.add(e,((t,r)=>{if(t)return invalidWithError(e,t);if(!checkFile(e,r,n)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(e,t)=>{const n=this._fileHashes.get(e);if(n!==undefined){if(n!=="ignore"&&!checkHash(e,n,t)){invalid();return}}else{r++;this.fileHashQueue.add(e,((n,r)=>{if(n)return invalidWithError(e,n);if(!checkHash(e,r,t)){invalid()}else{jobDone()}}))}};if(e.hasFileHashes()){const{fileHashes:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){processFileHashSnapshot(e,n)}}if(e.hasFileTshs()){const{fileTshs:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){if(typeof n==="string"){processFileHashSnapshot(e,n)}else{const t=this._fileTimestamps.get(e);if(t!==undefined){if(t==="ignore"||!checkFile(e,t,n,false)){processFileHashSnapshot(e,n.hash)}}else{r++;this.fileTimestampQueue.add(e,((t,r)=>{if(t)return invalidWithError(e,t);if(!checkFile(e,r,n,false)){processFileHashSnapshot(e,n.hash)}jobDone()}))}}}}if(e.hasContextTimestamps()){const{contextTimestamps:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){const t=this._contextTimestamps.get(e);if(t!==undefined){if(t!=="ignore"&&!checkFile(e,t,n)){invalid();return}}else{r++;this.contextTimestampQueue.add(e,((t,r)=>{if(t)return invalidWithError(e,t);if(!checkFile(e,r,n)){invalid()}else{jobDone()}}))}}}const processContextHashSnapshot=(e,t)=>{const n=this._contextHashes.get(e);if(n!==undefined){if(n!=="ignore"&&!checkHash(e,n,t)){invalid();return}}else{r++;this.contextHashQueue.add(e,((n,r)=>{if(n)return invalidWithError(e,n);if(!checkHash(e,r,t)){invalid()}else{jobDone()}}))}};if(e.hasContextHashes()){const{contextHashes:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){processContextHashSnapshot(e,n)}}if(e.hasContextTshs()){const{contextTshs:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){if(typeof n==="string"){processContextHashSnapshot(e,n)}else{const t=this._contextTimestamps.get(e);if(t!==undefined){if(t==="ignore"||!checkFile(e,t,n,false)){processContextHashSnapshot(e,n.hash)}}else{r++;this.contextTimestampQueue.add(e,((t,r)=>{if(t)return invalidWithError(e,t);if(!checkFile(e,r,n,false)){processContextHashSnapshot(e,n.hash)}jobDone()}))}}}}if(e.hasMissingExistence()){const{missingExistence:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){const t=this._fileTimestamps.get(e);if(t!==undefined){if(t!=="ignore"&&!checkExistence(e,toExistence(t),n)){invalid();return}}else{r++;this.fileTimestampQueue.add(e,((t,r)=>{if(t)return invalidWithError(e,t);if(!checkExistence(e,toExistence(r),n)){invalid()}else{jobDone()}}))}}}if(e.hasManagedItemInfo()){const{managedItemInfo:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){const t=this._managedItems.get(e);if(t!==undefined){if(!checkHash(e,t,n)){invalid();return}}else{r++;this.managedItemQueue.add(e,((t,r)=>{if(t)return invalidWithError(e,t);if(!checkHash(e,r,n)){invalid()}else{jobDone()}}))}}}jobDone();if(r>0){const n=[t];t=(e,t)=>{for(const r of n)r(e,t)};this._snapshotCache.set(e,n)}}_readFileTimestamp(e,t){this.fs.stat(e,((n,r)=>{if(n){if(n.code==="ENOENT"){this._fileTimestamps.set(e,null);this._cachedDeprecatedFileTimestamps=undefined;return t(null,null)}return t(n)}let i;if(r.isDirectory()){i={safeTime:0,timestamp:undefined}}else{const e=+r.mtime;if(e)applyMtime(e);i={safeTime:e?e+m:Infinity,timestamp:e}}this._fileTimestamps.set(e,i);this._cachedDeprecatedFileTimestamps=undefined;t(null,i)}))}_readFileHash(e,t){this.fs.readFile(e,((n,r)=>{if(n){if(n.code==="EISDIR"){this._fileHashes.set(e,"directory");return t(null,"directory")}if(n.code==="ENOENT"){this._fileHashes.set(e,null);return t(null,null)}if(n.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${e} for hashing as it's very large`);this._fileHashes.set(e,"too large");return t(null,"too large")}return t(n)}const i=a("md4");i.update(r);const s=i.digest("hex");this._fileHashes.set(e,s);t(null,s)}))}_getFileTimestampAndHash(e,t){const continueWithHash=n=>{const r=this._fileTimestamps.get(e);if(r!==undefined){if(r!=="ignore"){const i={...r,hash:n};this._fileTshs.set(e,i);return t(null,i)}else{this._fileTshs.set(e,n);return t(null,n)}}else{this.fileTimestampQueue.add(e,((r,i)=>{if(r){return t(r)}const s={...i,hash:n};this._fileTshs.set(e,s);return t(null,s)}))}};const n=this._fileHashes.get(e);if(n!==undefined){continueWithHash(n)}else{this.fileHashQueue.add(e,((e,n)=>{if(e){return t(e)}continueWithHash(n)}))}}_readContextTimestamp(e,t){this.fs.readdir(e,((n,r)=>{if(n){if(n.code==="ENOENT"){this._contextTimestamps.set(e,null);this._cachedDeprecatedContextTimestamps=undefined;return t(null,null)}return t(n)}const s=r.map((e=>e.normalize("NFC"))).filter((e=>!/^\./.test(e))).sort();i.map(s,((t,n)=>{const r=c(this.fs,e,t);this.fs.stat(r,((t,i)=>{if(t)return n(t);for(const t of this.immutablePathsWithSlash){if(e.startsWith(t)){return n(null,null)}}for(const t of this.managedPathsWithSlash){if(e.startsWith(t)){const e=getManagedItem(t,r);if(e){return this.managedItemQueue.add(e,((e,t)=>{if(e)return n(e);return n(null,{safeTime:0,timestampHash:t})}))}}}if(i.isFile()){return this.getFileTimestamp(r,n)}if(i.isDirectory()){this.contextTimestampQueue.increaseParallelism();this.getContextTimestamp(r,((e,t)=>{this.contextTimestampQueue.decreaseParallelism();n(e,t)}));return}n(null,null)}))}),((n,r)=>{if(n)return t(n);const i=a("md4");for(const e of s)i.update(e);let c=0;for(const e of r){if(!e){i.update("n");continue}if(e.timestamp){i.update("f");i.update(`${e.timestamp}`)}else if(e.timestampHash){i.update("d");i.update(`${e.timestampHash}`)}if(e.safeTime){c=Math.max(c,e.safeTime)}}const u=i.digest("hex");const l={safeTime:c,timestampHash:u};this._contextTimestamps.set(e,l);this._cachedDeprecatedContextTimestamps=undefined;t(null,l)}))}))}_readContextHash(e,t){this.fs.readdir(e,((n,r)=>{if(n){if(n.code==="ENOENT"){this._contextHashes.set(e,null);return t(null,null)}return t(n)}const s=r.map((e=>e.normalize("NFC"))).filter((e=>!/^\./.test(e))).sort();i.map(s,((t,n)=>{const r=c(this.fs,e,t);this.fs.stat(r,((t,i)=>{if(t)return n(t);for(const t of this.immutablePathsWithSlash){if(e.startsWith(t)){return n(null,"")}}for(const t of this.managedPathsWithSlash){if(e.startsWith(t)){const e=getManagedItem(t,r);if(e){return this.managedItemQueue.add(e,((e,t)=>{if(e)return n(e);n(null,t||"")}))}}}if(i.isFile()){return this.getFileHash(r,((e,t)=>{n(e,t||"")}))}if(i.isDirectory()){this.contextHashQueue.increaseParallelism();this.getContextHash(r,((e,t)=>{this.contextHashQueue.decreaseParallelism();n(e,t||"")}));return}n(null,"")}))}),((n,r)=>{if(n)return t(n);const i=a("md4");for(const e of s)i.update(e);for(const e of r)i.update(e);const c=i.digest("hex");this._contextHashes.set(e,c);t(null,c)}))}))}_getContextTimestampAndHash(e,t){const continueWithHash=n=>{const r=this._contextTimestamps.get(e);if(r!==undefined){if(r!=="ignore"){const i={...r,hash:n};this._contextTshs.set(e,i);return t(null,i)}else{this._contextTshs.set(e,n);return t(null,n)}}else{this.contextTimestampQueue.add(e,((r,i)=>{if(r){return t(r)}const s={...i,hash:n};this._contextTshs.set(e,s);return t(null,s)}))}};const n=this._contextHashes.get(e);if(n!==undefined){continueWithHash(n)}else{this.contextHashQueue.add(e,((e,n)=>{if(e){return t(e)}continueWithHash(n)}))}}_getManagedItemDirectoryInfo(e,t){this.fs.readdir(e,((n,r)=>{if(n){if(n.code==="ENOENT"||n.code==="ENOTDIR"){return t(null,g)}return t(n)}const i=new Set(r.map((t=>c(this.fs,e,t))));t(null,i)}))}_getManagedItemInfo(e,t){const n=u(this.fs,e);this.managedItemDirectoryQueue.add(n,((n,r)=>{if(n){return t(n)}if(!r.has(e)){this._managedItems.set(e,"missing");return t(null,"missing")}if(e.endsWith("node_modules")&&(e.endsWith("/node_modules")||e.endsWith("\\node_modules"))){this._managedItems.set(e,"exists");return t(null,"exists")}const i=c(this.fs,e,"package.json");this.fs.readFile(i,((n,r)=>{if(n){if(n.code==="ENOENT"||n.code==="ENOTDIR"){this.fs.readdir(e,((n,r)=>{if(!n&&r.length===1&&r[0]==="node_modules"){this._managedItems.set(e,"nested");return t(null,"nested")}const i=`Managed item ${e} isn't a directory or doesn't contain a package.json`;this.logger.warn(i);return t(new Error(i))}));return}return t(n)}let i;try{i=JSON.parse(r.toString("utf-8"))}catch(e){return t(e)}const s=`${i.name||""}@${i.version||""}`;this._managedItems.set(e,s);t(null,s)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const e=new Map;for(const[t,n]of this._fileTimestamps){if(n)e.set(t,typeof n==="object"?n.safeTime:null)}return this._cachedDeprecatedFileTimestamps=e}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const e=new Map;for(const[t,n]of this._contextTimestamps){if(n)e.set(t,typeof n==="object"?n.safeTime:null)}return this._cachedDeprecatedContextTimestamps=e}}e.exports=FileSystemInfo;e.exports.Snapshot=Snapshot},6283:(e,t,n)=>{"use strict";const{getEntryRuntime:r,mergeRuntimeOwned:i}=n(37416);class FlagAllModulesAsUsedPlugin{constructor(e){this.explanation=e}apply(e){e.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(e=>{const t=e.moduleGraph;e.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(n=>{let s=undefined;for(const[t,{options:n}]of e.entries){s=i(s,r(e,t,n))}for(const e of n){const n=t.getExportsInfo(e);n.setUsedInUnknownWay(s);t.addExtraReason(e,this.explanation);if(e.factoryMeta===undefined){e.factoryMeta={}}e.factoryMeta.sideEffectFree=false}}))}))}}e.exports=FlagAllModulesAsUsedPlugin},95629:(e,t,n)=>{"use strict";const r=n(62355);const i=n(39541);class FlagDependencyExportsPlugin{apply(e){e.hooks.compilation.tap("FlagDependencyExportsPlugin",(e=>{const t=e.moduleGraph;const n=e.getCache("FlagDependencyExportsPlugin");e.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((s,a)=>{const c=e.getLogger("webpack.FlagDependencyExportsPlugin");let u=0;let l=0;let d=0;let p=0;const h=new i;c.time("restore cached provided exports");r.each(s,((e,r)=>{if(e.buildInfo.cacheable!==true||typeof e.buildInfo.hash!=="string"){l++;h.enqueue(e);t.getExportsInfo(e).setHasProvideInfo();return r()}n.get(e.identifier(),e.buildInfo.hash,((n,i)=>{if(n)return r(n);if(i!==undefined){u++;t.getExportsInfo(e).restoreProvided(i)}else{d++;h.enqueue(e);t.getExportsInfo(e).setHasProvideInfo()}r()}))}),(e=>{c.timeEnd("restore cached provided exports");if(e)return a(e);const i=new Set;const s=new Map;let m;let g;let y=true;let _=false;const processDependenciesBlock=e=>{for(const t of e.dependencies){processDependency(t)}for(const t of e.blocks){processDependenciesBlock(t)}};const processDependency=e=>{const n=e.getExports(t);if(!n)return;const r=n.exports;const i=n.canMangle;const a=n.from;const c=n.terminalBinding||false;const u=n.dependencies;if(n.hideExports){for(const t of n.hideExports){const n=g.getExportInfo(t);n.unsetTarget(e)}}if(r===true){if(g.setUnknownExportsProvided(i,n.excludeExports,a&&e,a)){_=true}}else if(Array.isArray(r)){const mergeExports=(n,r)=>{for(const u of r){let r;let l=i;let d=c;let p=undefined;let h=a;let g=undefined;let y=false;if(typeof u==="string"){r=u}else{r=u.name;if(u.canMangle!==undefined)l=u.canMangle;if(u.export!==undefined)g=u.export;if(u.exports!==undefined)p=u.exports;if(u.from!==undefined)h=u.from;if(u.terminalBinding!==undefined)d=u.terminalBinding;if(u.hidden!==undefined)y=u.hidden}const b=n.getExportInfo(r);if(b.provided===false){b.provided=true;_=true}if(b.canMangleProvide!==false&&l===false){b.canMangleProvide=false;_=true}if(d&&!b.terminalBinding){b.terminalBinding=true;_=true}if(p){const e=b.createNestedExportsInfo();mergeExports(e,p)}if(h&&(y?b.unsetTarget(e):b.setTarget(e,h,g===undefined?[r]:g))){_=true}const x=b.getTarget(t);let k=undefined;if(x){const e=t.getExportsInfo(x.module);k=e.getNestedExportsInfo(x.export);const n=s.get(x.module);if(n===undefined){s.set(x.module,new Set([m]))}else{n.add(m)}}if(b.exportsInfoOwned){if(b.exportsInfo.setRedirectNamedTo(k)){_=true}}else if(b.exportsInfo!==k){b.exportsInfo=k;_=true}}};mergeExports(g,r)}if(u){y=false;for(const e of u){const t=s.get(e);if(t===undefined){s.set(e,new Set([m]))}else{t.add(m)}}}};const notifyDependencies=()=>{const e=s.get(m);if(e!==undefined){for(const t of e){h.enqueue(t)}}};c.time("figure out provided exports");while(h.length>0){m=h.dequeue();p++;g=t.getExportsInfo(m);if(!m.buildMeta||!m.buildMeta.exportsType){if(g.otherExportsInfo.provided!==null){g.setUnknownExportsProvided();i.add(m);notifyDependencies()}}else{y=true;_=false;processDependenciesBlock(m);if(y){i.add(m)}if(_){notifyDependencies()}}}c.timeEnd("figure out provided exports");c.log(`${Math.round(100-100*u/(u+d+l))}% of exports of modules have been determined (${d} not cached, ${l} flagged uncacheable, ${u} from cache, ${p-d-l} additional calculations due to dependencies)`);c.time("store provided exports into cache");r.each(i,((e,r)=>{if(e.buildInfo.cacheable!==true||typeof e.buildInfo.hash!=="string"){return r()}n.store(e.identifier(),e.buildInfo.hash,t.getExportsInfo(e).getRestoreProvidedData(),r)}),(e=>{c.timeEnd("store provided exports into cache");a(e)}))}))}));const s=new WeakMap;e.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(e=>{s.set(e,t.getExportsInfo(e).getRestoreProvidedData())}));e.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(e=>{t.getExportsInfo(e).restoreProvided(s.get(e))}))}))}}e.exports=FlagDependencyExportsPlugin},1596:(e,t,n)=>{"use strict";const r=n(28706);const{UsageState:i}=n(76632);const s=n(79900);const{STAGE_DEFAULT:a}=n(82414);const c=n(56561);const u=n(34194);const{getEntryRuntime:l,mergeRuntimeOwned:d}=n(37416);const{NO_EXPORTS_REFERENCED:p,EXPORTS_OBJECT_REFERENCED:h}=r;class FlagDependencyUsagePlugin{constructor(e){this.global=e}apply(e){e.hooks.compilation.tap("FlagDependencyUsagePlugin",(e=>{const t=e.moduleGraph;e.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:a},(n=>{const r=e.getLogger("webpack.FlagDependencyUsagePlugin");const a=new Map;const m=new u;const processReferencedModule=(e,n,r,s)=>{const c=t.getExportsInfo(e);if(n.length>0){if(!e.buildMeta||!e.buildMeta.exportsType){if(c.setUsedWithoutInfo(r)){m.enqueue(e,r)}return}for(const t of n){let n;let s=true;if(Array.isArray(t)){n=t}else{n=t.name;s=t.canMangle!==false}if(n.length===0){if(c.setUsedInUnknownWay(r)){m.enqueue(e,r)}}else{let t=c;for(let u=0;ue===i.Unused),i.OnlyPropertiesUsed,r)){const n=t===c?e:a.get(t);if(n){m.enqueue(n,r)}}t=n;continue}}if(l.setUsedConditionally((e=>e!==i.Used),i.Used,r)){const n=t===c?e:a.get(t);if(n){m.enqueue(n,r)}}break}}}}else{if(!s&&e.factoryMeta!==undefined&&e.factoryMeta.sideEffectFree){return}if(c.setUsedForSideEffectsOnly(r)){m.enqueue(e,r)}}};const processModule=(n,r,i)=>{const a=new Map;const u=new c;u.enqueue(n);for(;;){const n=u.dequeue();if(n===undefined)break;for(const e of n.blocks){if(!this.global&&e.groupOptions&&e.groupOptions.entryOptions){processModule(e,e.groupOptions.entryOptions.runtime,true)}else{u.enqueue(e)}}for(const i of n.dependencies){const n=t.getConnection(i);if(!n||!n.module){continue}const c=n.getActiveState(r);if(c===false)continue;const{module:u}=n;if(c===s.TRANSITIVE_ONLY){processModule(u,r,false);continue}const l=a.get(u);if(l===h){continue}const d=e.getDependencyReferencedExports(i,r);if(l===undefined||l===p||d===h){a.set(u,d)}else if(l!==undefined&&d===p){continue}else{let e;if(Array.isArray(l)){e=new Map;for(const t of l){if(Array.isArray(t)){e.set(t.join("\n"),t)}else{e.set(t.name.join("\n"),t)}}a.set(u,e)}else{e=l}for(const t of d){if(Array.isArray(t)){const n=t.join("\n");const r=e.get(n);if(r===undefined){e.set(n,t)}}else{const n=t.name.join("\n");const r=e.get(n);if(r===undefined||Array.isArray(r)){e.set(n,t)}else{e.set(n,{name:t.name,canMangle:t.canMangle&&r.canMangle})}}}}}}for(const[e,t]of a){if(Array.isArray(t)){processReferencedModule(e,t,r,i)}else{processReferencedModule(e,Array.from(t.values()),r,i)}}};r.time("initialize exports usage");for(const e of n){const n=t.getExportsInfo(e);a.set(n,e);n.setHasUseInfo()}r.timeEnd("initialize exports usage");r.time("trace exports usage in graph");const processEntryDependency=(e,n)=>{const r=t.getModule(e);if(r){processReferencedModule(r,p,n,true)}};let g=undefined;for(const[t,{dependencies:n,includeDependencies:r,options:i}]of e.entries){const s=this.global?undefined:l(e,t,i);for(const e of n){processEntryDependency(e,s)}for(const e of r){processEntryDependency(e,s)}g=d(g,s)}for(const t of e.globalEntry.dependencies){processEntryDependency(t,g)}for(const t of e.globalEntry.includeDependencies){processEntryDependency(t,g)}while(m.length){const[e,t]=m.dequeue();processModule(e,t,false)}r.timeEnd("trace exports usage in graph")}))}))}}e.exports=FlagDependencyUsagePlugin},36253:(e,t,n)=>{"use strict";class Generator{static byType(e){return new ByTypeGenerator(e)}getTypes(e){const t=n(75884);throw new t}getSize(e,t){const r=n(75884);throw new r}generate(e,{dependencyTemplates:t,runtimeTemplate:r,moduleGraph:i,type:s}){const a=n(75884);throw new a}getConcatenationBailoutReason(e,t){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(e,{module:t,runtime:n}){}}class ByTypeGenerator extends Generator{constructor(e){super();this.map=e;this._types=new Set(Object.keys(e))}getTypes(e){return this._types}getSize(e,t){const n=t||"javascript";const r=this.map[n];return r?r.getSize(e,n):0}generate(e,t){const n=t.type;const r=this.map[n];if(!r){throw new Error(`Generator.byType: no generator specified for ${n}`)}return r.generate(e,t)}}e.exports=Generator},4642:(e,t)=>{"use strict";const connectChunkGroupAndChunk=(e,t)=>{if(e.pushChunk(t)){t.addGroup(e)}};const connectChunkGroupParentAndChild=(e,t)=>{if(e.addChild(t)){t.addParent(e)}};t.connectChunkGroupAndChunk=connectChunkGroupAndChunk;t.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(e,t,n)=>{"use strict";const r=n(81627);e.exports=class HarmonyLinkingError extends r{constructor(e){super(e);this.name="HarmonyLinkingError";this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}},3728:(e,t,n)=>{"use strict";const r=n(81627);class HookWebpackError extends r{constructor(e,t){super(e.message);this.name="HookWebpackError";this.hook=t;this.error=e;this.hideStack=true;this.details=`caused by plugins in ${t}\n${e.stack}`;Error.captureStackTrace(this,this.constructor);this.stack+=`\n-- inner error --\n${e.stack}`}}e.exports=HookWebpackError;const makeWebpackError=(e,t)=>{if(e instanceof r)return e;return new HookWebpackError(e,t)};e.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(e,t)=>(n,i)=>{if(n){if(n instanceof r){e(n);return}e(new HookWebpackError(n,t));return}e(null,i)};e.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(e,t)=>{let n;try{n=e()}catch(e){if(e instanceof r){throw e}throw new HookWebpackError(e,t)}return n};e.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(e,t,n)=>{"use strict";const{SyncBailHook:r}=n(92960);const{RawSource:i}=n(48135);const s=n(45137);const a=n(3080);const c=n(22352);const u=n(53520);const l=n(76150);const d=n(81627);const p=n(66298);const h=n(76302);const m=n(5389);const g=n(21809);const y=n(73158);const _=n(79838);const b=n(3711);const{evaluateToIdentifier:x}=n(48472);const{find:k,isSubset:E}=n(26221);const w=n(86949);const{compareModulesById:S}=n(68673);const{getRuntimeKey:C,keyToRuntime:M,forEachRuntime:I,mergeRuntimeOwned:P,subtractRuntime:T}=n(37416);const O=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(e){if(!(e instanceof b)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let t=O.get(e);if(t===undefined){t={hotAcceptCallback:new r(["expression","requests"]),hotAcceptWithoutCallback:new r(["expression","requests"])};O.set(e,t)}return t}constructor(e){this.options=e||{}}apply(e){if(e.options.output.strictModuleErrorHandling===undefined)e.options.output.strictModuleErrorHandling=true;const t=[l.module];const createAcceptHandler=(e,n)=>{const{hotAcceptCallback:r,hotAcceptWithoutCallback:i}=HotModuleReplacementPlugin.getParserHooks(e);return s=>{const a=e.state.module;const c=new p(`${a.moduleArgument}.hot.accept`,s.callee.range,t);c.loc=s.loc;a.addPresentationalDependency(c);a.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(s.arguments.length>=1){const t=e.evaluateExpression(s.arguments[0]);let c=[];let u=[];if(t.isString()){c=[t]}else if(t.isArray()){c=t.items.filter((e=>e.isString()))}if(c.length>0){c.forEach(((e,t)=>{const r=e.string;const i=new n(r,e.range);i.optional=true;i.loc=Object.create(s.loc);i.loc.index=t;a.addDependency(i);u.push(r)}));if(s.arguments.length>1){r.call(s.arguments[1],u);for(let t=1;tr=>{const i=e.state.module;const s=new p(`${i.moduleArgument}.hot.decline`,r.callee.range,t);s.loc=r.loc;i.addPresentationalDependency(s);i.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(r.arguments.length===1){const t=e.evaluateExpression(r.arguments[0]);let s=[];if(t.isString()){s=[t]}else if(t.isArray()){s=t.items.filter((e=>e.isString()))}s.forEach(((e,t)=>{const s=new n(e.string,e.range);s.optional=true;s.loc=Object.create(r.loc);s.loc.index=t;i.addDependency(s)}))}return true};const createHMRExpressionHandler=e=>n=>{const r=e.state.module;const i=new p(`${r.moduleArgument}.hot`,n.range,t);i.loc=n.loc;r.addPresentationalDependency(i);r.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=e=>{e.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(e=>x("module.hot","module",(()=>["hot"]),true)(e)));e.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(e,g));e.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(e,y));e.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(e))};const applyImportMetaHot=e=>{e.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(e=>x("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(e)));e.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(e,h));e.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(e,m));e.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(e))};e.hooks.compilation.tap("HotModuleReplacementPlugin",((t,{normalModuleFactory:n})=>{if(t.compiler!==e)return;t.dependencyFactories.set(g,n);t.dependencyTemplates.set(g,new g.Template);t.dependencyFactories.set(y,n);t.dependencyTemplates.set(y,new y.Template);t.dependencyFactories.set(h,n);t.dependencyTemplates.set(h,new h.Template);t.dependencyFactories.set(m,n);t.dependencyTemplates.set(m,new m.Template);let r=0;const p={};const b={};t.hooks.record.tap("HotModuleReplacementPlugin",((e,t)=>{if(t.hash===e.hash)return;const n=e.chunkGraph;t.hash=e.hash;t.hotIndex=r;t.fullHashChunkModuleHashes=p;t.chunkModuleHashes=b;t.chunkHashs={};t.chunkRuntime={};for(const n of e.chunks){t.chunkHashs[n.id]=n.hash;t.chunkRuntime[n.id]=C(n.runtime)}t.chunkModuleIds={};for(const r of e.chunks){t.chunkModuleIds[r.id]=Array.from(n.getOrderedChunkModulesIterable(r,S(n)),(e=>n.getModuleId(e)))}}));const x=new w;const O=new w;const R=new w;t.hooks.fullHash.tap("HotModuleReplacementPlugin",(e=>{const n=t.chunkGraph;const i=t.records;for(const e of t.chunks){const getModuleHash=r=>{if(t.codeGenerationResults.has(r,e.runtime)){return t.codeGenerationResults.getHash(r,e.runtime)}else{R.add(r,e.runtime);return n.getModuleHash(r,e.runtime)}};const r=n.getChunkFullHashModulesSet(e);if(r!==undefined){for(const t of r){O.add(t,e)}}const s=n.getChunkModulesIterable(e);if(s!==undefined){if(i.chunkModuleHashes){if(r!==undefined){for(const t of s){const n=`${e.id}|${t.identifier()}`;const s=getModuleHash(t);if(r.has(t)){if(i.fullHashChunkModuleHashes[n]!==s){x.add(t,e)}p[n]=s}else{if(i.chunkModuleHashes[n]!==s){x.add(t,e)}b[n]=s}}}else{for(const t of s){const n=`${e.id}|${t.identifier()}`;const r=getModuleHash(t);if(i.chunkModuleHashes[n]!==r){x.add(t,e)}b[n]=r}}}else{if(r!==undefined){for(const t of s){const n=`${e.id}|${t.identifier()}`;const i=getModuleHash(t);if(r.has(t)){p[n]=i}else{b[n]=i}}}else{for(const t of s){const n=`${e.id}|${t.identifier()}`;const r=getModuleHash(t);b[n]=r}}}}}r=i.hotIndex||0;if(x.size>0)r++;e.update(`${r}`)}));t.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:a.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const e=t.chunkGraph;const n=t.records;if(n.hash===t.hash)return;if(!n.chunkModuleHashes||!n.chunkHashs||!n.chunkModuleIds){return}for(const[r,i]of O){const s=`${i.id}|${r.identifier()}`;const a=R.has(r,i.runtime)?e.getModuleHash(r,i.runtime):t.codeGenerationResults.getHash(r,i.runtime);if(n.chunkModuleHashes[s]!==a){x.add(r,i)}b[s]=a}const r=new Map;let a;for(const e of Object.keys(n.chunkRuntime)){const t=M(n.chunkRuntime[e]);a=P(a,t)}I(a,(e=>{const{path:i,info:s}=t.getPathWithInfo(t.outputOptions.hotUpdateMainFilename,{hash:n.hash,runtime:e});r.set(e,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:i,assetInfo:s})}));if(r.size===0)return;const u=new Map;for(const n of t.modules){const t=e.getModuleId(n);u.set(t,n)}const l=new Set;for(const i of Object.keys(n.chunkHashs)){const a=M(n.chunkRuntime[i]);const d=[];for(const e of n.chunkModuleIds[i]){const t=u.get(e);if(t===undefined){l.add(e)}else{d.push(t)}}let p;let h;let m;let g;let y;let _;const b=k(t.chunks,(e=>`${e.id}`===i));if(b){p=b.id;y=b.runtime;h=e.getChunkModules(b).filter((e=>x.has(e,b)));m=Array.from(e.getChunkRuntimeModulesIterable(b)).filter((e=>x.has(e,b)));const t=e.getChunkFullHashModulesIterable(b);g=t&&Array.from(t).filter((e=>x.has(e,b)));_=T(a,y)}else{p=`${+i}`===i?+i:i;_=a;y=a}if(_){I(_,(e=>{r.get(e).removedChunkIds.add(p)}));for(const s of d){const c=`${i}|${s.identifier()}`;const u=n.chunkModuleHashes[c];const l=e.getModuleRuntimes(s);if(a===y&&l.has(y)){const n=R.has(s,y)?e.getModuleHash(s,y):t.codeGenerationResults.getHash(s,y);if(n!==u){if(s.type==="runtime"){m=m||[];m.push(s)}else{h=h||[];h.push(s)}}}else{I(_,(e=>{for(const t of l){if(typeof t==="string"){if(t===e)return}else if(t!==undefined){if(t.has(e))return}}r.get(e).removedModules.add(s)}))}}}if(h&&h.length>0||m&&m.length>0){const i=new c;s.setChunkGraphForChunk(i,e);i.id=p;i.runtime=y;if(b){for(const e of b.groupsIterable)i.addGroup(e)}e.attachModules(i,h||[]);e.attachRuntimeModules(i,m||[]);if(g){e.attachFullHashModules(i,g)}const a=t.getRenderManifest({chunk:i,hash:n.hash,fullHash:n.hash,outputOptions:t.outputOptions,moduleTemplates:t.moduleTemplates,dependencyTemplates:t.dependencyTemplates,codeGenerationResults:t.codeGenerationResults,runtimeTemplate:t.runtimeTemplate,moduleGraph:t.moduleGraph,chunkGraph:e});for(const e of a){let n;let r;if("filename"in e){n=e.filename;r=e.info}else{({path:n,info:r}=t.getPathWithInfo(e.filenameTemplate,e.pathOptions))}const i=e.render();t.additionalChunkAssets.push(n);t.emitAsset(n,i,{hotModuleReplacement:true,...r});if(b){b.files.add(n);t.hooks.chunkAsset.call(b,n)}}I(y,(e=>{r.get(e).updatedChunkIds.add(p)}))}}const p=Array.from(l);const h=new Map;for(const{removedChunkIds:e,removedModules:n,updatedChunkIds:i,filename:s,assetInfo:a}of r.values()){const r=h.get(s);if(r&&(!E(r.removedChunkIds,e)||!E(r.removedModules,n)||!E(r.updatedChunkIds,i))){t.warnings.push(new d(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const t of e)r.removedChunkIds.add(t);for(const e of n)r.removedModules.add(e);for(const e of i)r.updatedChunkIds.add(e);continue}h.set(s,{removedChunkIds:e,removedModules:n,updatedChunkIds:i,assetInfo:a})}for(const[n,{removedChunkIds:r,removedModules:s,updatedChunkIds:a,assetInfo:c}]of h){const u={c:Array.from(a),r:Array.from(r),m:s.size===0?p:p.concat(Array.from(s,(t=>e.getModuleId(t))))};const l=new i(JSON.stringify(u));t.emitAsset(n,l,{hotModuleReplacement:true,...c})}}));t.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((e,n)=>{n.add(l.hmrDownloadManifest);n.add(l.hmrDownloadUpdateHandlers);n.add(l.interceptModuleExecution);n.add(l.moduleCache);t.addRuntimeModule(e,new _)}));n.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(e=>{applyModuleHot(e);applyImportMetaHot(e)}));n.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(e=>{applyModuleHot(e)}));n.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(e=>{applyImportMetaHot(e)}));u.getCompilationHooks(t).loader.tap("HotModuleReplacementPlugin",(e=>{e.hot=true}))}))}}e.exports=HotModuleReplacementPlugin},22352:(e,t,n)=>{"use strict";const r=n(62433);class HotUpdateChunk extends r{constructor(){super()}}e.exports=HotUpdateChunk},16761:(e,t,n)=>{"use strict";const r=n(40674);class IgnoreErrorModuleFactory extends r{constructor(e){super();this.normalModuleFactory=e}create(e,t){this.normalModuleFactory.create(e,((e,n)=>t(null,n)))}}e.exports=IgnoreErrorModuleFactory},69276:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(24019);class IgnorePlugin{constructor(e){r(i,e,{name:"Ignore Plugin",baseDataPath:"options"});this.options=e;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(e){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(e.request,e.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(e.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(e.context)){return false}}else{return false}}}apply(e){e.hooks.normalModuleFactory.tap("IgnorePlugin",(e=>{e.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));e.hooks.contextModuleFactory.tap("IgnorePlugin",(e=>{e.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}e.exports=IgnorePlugin},89056:e=>{"use strict";class IgnoreWarningsPlugin{constructor(e){this._ignoreWarnings=e}apply(e){e.hooks.compilation.tap("IgnoreWarningsPlugin",(e=>{e.hooks.processWarnings.tap("IgnoreWarningsPlugin",(t=>t.filter((t=>!this._ignoreWarnings.some((n=>n(t,e)))))))}))}}e.exports=IgnoreWarningsPlugin},63272:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(48135);const extractFragmentIndex=(e,t)=>[e,t];const sortFragmentWithIndex=([e,t],[n,r])=>{const i=e.stage-n.stage;if(i!==0)return i;const s=e.position-n.position;if(s!==0)return s;return t-r};class InitFragment{constructor(e,t,n,r,i){this.content=e;this.stage=t;this.position=n;this.key=r;this.endContent=i}getContent(e){return this.content}getEndContent(e){return this.endContent}static addToSource(e,t,n){if(t.length>0){const i=t.map(extractFragmentIndex).sort(sortFragmentWithIndex);const s=new Map;for(const[e]of i){if(typeof e.merge==="function"){const t=s.get(e.key);if(t!==undefined){s.set(e.key||Symbol(),e.merge(t));continue}}s.set(e.key||Symbol(),e)}const a=new r;const c=[];for(const e of s.values()){a.add(e.getContent(n));const t=e.getEndContent(n);if(t){c.push(t)}}a.add(e);for(const e of c.reverse()){a.add(e)}return a}else{return e}}}InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;e.exports=InitFragment},49619:(e,t,n)=>{"use strict";const r=n(81627);const i=n(56202);class InvalidDependenciesModuleWarning extends r{constructor(e,t){const n=t?Array.from(t).sort():[];const r=n.map((e=>` * ${JSON.stringify(e)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${r.slice(0,3).join("\n")}${r.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=r.slice(3).join("\n");this.module=e;Error.captureStackTrace(this,this.constructor)}}i(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");e.exports=InvalidDependenciesModuleWarning},82527:(e,t,n)=>{"use strict";const r=n(58018);class JavascriptMetaInfoPlugin{apply(e){e.hooks.compilation.tap("JavascriptMetaInfoPlugin",((e,{normalModuleFactory:t})=>{const handler=e=>{e.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{e.state.module.buildInfo.moduleConcatenationBailout="eval()";e.state.module.buildInfo.usingEval=true;r.bailout(e.state)}));e.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let t=e.state.module.buildInfo.topLevelDeclarations;if(t===undefined){t=e.state.module.buildInfo.topLevelDeclarations=new Set}for(const n of e.scope.definitions.asSet()){const r=e.getFreeInfoFromVariable(n);if(r===undefined){t.add(n)}}}))};t.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);t.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}e.exports=JavascriptMetaInfoPlugin},77750:(e,t,n)=>{"use strict";const r=n(62355);const i=n(66583);const{someInIterable:s}=n(11539);const{compareModulesById:a}=n(68673);const{dirname:c,mkdirp:u}=n(95396);class LibManifestPlugin{constructor(e){this.options=e}apply(e){e.hooks.emit.tapAsync("LibManifestPlugin",((t,n)=>{const l=t.moduleGraph;r.forEach(Array.from(t.chunks),((n,r)=>{if(!n.canBeInitial()){r();return}const d=t.chunkGraph;const p=t.getPath(this.options.path,{chunk:n});const h=this.options.name&&t.getPath(this.options.name,{chunk:n});const m=Object.create(null);for(const t of d.getOrderedChunkModulesIterable(n,a(d))){if(this.options.entryOnly&&!s(l.getIncomingConnections(t),(e=>e.dependency instanceof i))){continue}const n=t.libIdent({context:this.options.context||e.options.context,associatedObjectForCache:e.root});if(n){const e=l.getExportsInfo(t);const r=e.getProvidedExports();const i={id:d.getModuleId(t),buildMeta:t.buildMeta,exports:Array.isArray(r)?r:undefined};m[n]=i}}const g={name:h,type:this.options.type,content:m};const y=this.options.format?JSON.stringify(g,null,2):JSON.stringify(g);const _=Buffer.from(y,"utf8");u(e.intermediateFileSystem,c(e.intermediateFileSystem,p),(t=>{if(t)return r(t);e.intermediateFileSystem.writeFile(p,_,r)}))}),n)}))}}e.exports=LibManifestPlugin},43351:(e,t,n)=>{"use strict";const r=n(13984);class LibraryTemplatePlugin{constructor(e,t,n,r,i){this.library={type:t||"var",name:e,umdNamedDefine:n,auxiliaryComment:r,export:i}}apply(e){const{output:t}=e.options;t.library=this.library;new r(this.library.type).apply(e)}}e.exports=LibraryTemplatePlugin},19674:(e,t,n)=>{"use strict";const r=n(70354);const i=n(53520);const{validate:s}=n(15235);const a=n(6087);class LoaderOptionsPlugin{constructor(e={}){s(a,e,{name:"Loader Options Plugin",baseDataPath:"options"});if(typeof e!=="object")e={};if(!e.test){e.test={test:()=>true}}this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("LoaderOptionsPlugin",(e=>{i.getCompilationHooks(e).loader.tap("LoaderOptionsPlugin",((e,n)=>{const i=n.resource;if(!i)return;const s=i.indexOf("?");if(r.matchObject(t,s<0?i:i.substr(0,s))){for(const n of Object.keys(t)){if(n==="include"||n==="exclude"||n==="test"){continue}e[n]=t[n]}}}))}))}}e.exports=LoaderOptionsPlugin},97736:(e,t,n)=>{"use strict";const r=n(53520);class LoaderTargetPlugin{constructor(e){this.target=e}apply(e){e.hooks.compilation.tap("LoaderTargetPlugin",(e=>{r.getCompilationHooks(e).loader.tap("LoaderTargetPlugin",(e=>{e.target=this.target}))}))}}e.exports=LoaderTargetPlugin},73694:(e,t,n)=>{"use strict";const{SyncWaterfallHook:r}=n(92960);const i=n(31669);const s=n(76150);const a=n(91671);const c=a((()=>n(18161)));const u=a((()=>n(58421)));const l=a((()=>n(67104)));class MainTemplate{constructor(e,t){this._outputOptions=e||{};this.hooks=Object.freeze({renderManifest:{tap:i.deprecate(((e,n)=>{t.hooks.renderManifest.tap(e,((e,t)=>{if(!t.chunk.hasRuntime())return e;return n(e,t)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:i.deprecate(((e,n)=>{c().getCompilationHooks(t).renderRequire.tap(e,n)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:i.deprecate(((e,n)=>{c().getCompilationHooks(t).render.tap(e,((e,r)=>{if(r.chunkGraph.getNumberOfEntryModules(r.chunk)===0||!r.chunk.hasRuntime()){return e}return n(e,r.chunk,t.hash,t.moduleTemplates.javascript,t.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:i.deprecate(((e,n)=>{c().getCompilationHooks(t).render.tap(e,((e,r)=>{if(r.chunkGraph.getNumberOfEntryModules(r.chunk)===0||!r.chunk.hasRuntime()){return e}return n(e,r.chunk,t.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:i.deprecate(((e,n)=>{t.hooks.assetPath.tap(e,n)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:i.deprecate(((e,n)=>t.getAssetPath(e,n)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:i.deprecate(((e,n)=>{t.hooks.fullHash.tap(e,n)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:i.deprecate(((e,n)=>{c().getCompilationHooks(t).chunkHash.tap(e,((e,t)=>{if(!e.hasRuntime())return;return n(t,e)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:i.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:i.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new r(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new r(["source","chunk","hash"]),requireExtensions:new r(["source","chunk","hash"]),requireEnsure:new r(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const e=l().getCompilationHooks(t);return e.createScript},get linkPrefetch(){const e=u().getCompilationHooks(t);return e.linkPrefetch},get linkPreload(){const e=u().getCompilationHooks(t);return e.linkPreload}});this.renderCurrentHashCode=i.deprecate(((e,t)=>{if(t){return`${s.getFullHash} ? ${s.getFullHash}().slice(0, ${t}) : ${e.slice(0,t)}`}return`${s.getFullHash} ? ${s.getFullHash}() : ${e}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=i.deprecate((e=>t.getAssetPath(t.outputOptions.publicPath,e)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=i.deprecate(((e,n)=>t.getAssetPath(e,n)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=i.deprecate(((e,n)=>t.getAssetPathWithInfo(e,n)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:i.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:i.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});e.exports=MainTemplate},53453:(e,t,n)=>{"use strict";const r=n(31669);const i=n(45137);const s=n(32448);const a=n(75412);const c=n(76150);const{first:u}=n(26221);const{compareChunksById:l}=n(68673);const d=n(56202);const p={};let h=1e3;const m=new Set(["unknown"]);const g=new Set(["javascript"]);const y=r.deprecate(((e,t)=>e.needRebuild(t.fileSystemInfo.getDeprecatedFileTimestamps(),t.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends s{constructor(e,t=null,n=null){super();this.type=e;this.context=t;this.layer=n;this.needId=true;this.debugId=h++;this.resolveOptions=p;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return i.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(e){if(e===""){this.needId=false;return}i.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,e)}get hash(){return i.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return i.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return a.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(e){a.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,e)}get index(){return a.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(e){a.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,e)}get index2(){return a.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(e){a.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,e)}get depth(){return a.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(e){a.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,e)}get issuer(){return a.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(e){a.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,e)}get usedExports(){return a.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return a.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(a.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(e){const t=i.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(t.isModuleInChunk(this,e))return false;t.connectChunkAndModule(e,this);return true}removeChunk(e){return i.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(e,this)}isInChunk(e){return i.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,e)}isEntryModule(){return i.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return i.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return i.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return i.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,l)}isProvided(e){return a.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,e)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(e,t){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return t?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return t?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(t)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const n=e.getReadOnlyExportInfo(this,"__esModule");if(n.provided===false){return handleDefault()}const r=n.getTarget(e);if(!r||!r.export||r.export.length!==1||r.export[0]!=="__esModule"){return"dynamic"}switch(r.module.buildMeta&&r.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return t?"default-with-named":"dynamic"}}addPresentationalDependency(e){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(e)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(e){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(e)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(e){if(this._errors===undefined){this._errors=[]}this._errors.push(e)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(e){let t=false;for(const n of e.getIncomingConnections(this)){if(!n.dependency||!n.dependency.optional||!n.isTargetActive(undefined)){return false}t=true}return t}isAccessibleInChunk(e,t,n){for(const n of t.groupsIterable){if(!this.isAccessibleInChunkGroup(e,n))return false}return true}isAccessibleInChunkGroup(e,t,n){const r=new Set([t]);e:for(const i of r){for(const t of i.chunks){if(t!==n&&e.isModuleInChunk(this,t))continue e}if(t.isInitial())return false;for(const e of t.parentsIterable)r.add(e)}return true}hasReasonForChunk(e,t,n){for(const[r,i]of t.getIncomingConnectionsByOriginModule(this)){if(!i.some((t=>t.isTargetActive(e.runtime))))continue;for(const t of n.getModuleChunksIterable(r)){if(!this.isAccessibleInChunk(n,t,e))return true}}return false}hasReasons(e,t){for(const n of e.getIncomingConnections(this)){if(n.isTargetActive(t))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(e,t){t(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||y(this,e))}needRebuild(e,t){return true}updateHash(e,t={chunkGraph:i.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:n,runtime:r}=t;e.update(n.getModuleGraphHash(this,r));if(this.presentationalDependencies!==undefined){for(const n of this.presentationalDependencies){n.updateHash(e,t)}}super.updateHash(e,t)}invalidateBuild(){}identifier(){const e=n(75884);throw new e}readableIdentifier(e){const t=n(75884);throw new t}build(e,t,r,i,s){const a=n(75884);throw new a}getSourceTypes(){if(this.source===Module.prototype.source){return m}else{return g}}source(e,t,r="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const e=n(75884);throw new e}const s=i.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const a={dependencyTemplates:e,runtimeTemplate:t,moduleGraph:s.moduleGraph,chunkGraph:s,runtime:undefined};const c=this.codeGeneration(a).sources;return r?c.get(r):c.get(u(this.getSourceTypes()))}size(e){const t=n(75884);throw new t}libIdent(e){return null}nameForCondition(){return null}getConcatenationBailoutReason(e){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(e){return true}codeGeneration(e){const t=new Map;for(const n of this.getSourceTypes()){if(n!=="unknown"){t.set(n,this.source(e.dependencyTemplates,e.runtimeTemplate,n))}}return{sources:t,runtimeRequirements:new Set([c.module,c.exports,c.require])}}chunkCondition(e,t){return true}updateCacheModule(e){this.type=e.type;this.layer=e.layer;this.context=e.context;this.factoryMeta=e.factoryMeta;this.resolveOptions=e.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(e,t){this.factoryMeta=e.factoryMeta;this.resolveOptions=e.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(e,t,n,r){}serialize(e){const{write:t}=e;t(this.type);t(this.layer);t(this.context);t(this.resolveOptions);t(this.factoryMeta);t(this.useSourceMap);t(this.useSimpleSourceMap);t(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);t(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);t(this.buildMeta);t(this.buildInfo);t(this.presentationalDependencies);super.serialize(e)}deserialize(e){const{read:t}=e;this.type=t();this.layer=t();this.context=t();this.resolveOptions=t();this.factoryMeta=t();this.useSourceMap=t();this.useSimpleSourceMap=t();this._warnings=t();this._errors=t();this.buildMeta=t();this.buildInfo=t();this.presentationalDependencies=t();super.deserialize(e)}}d(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:r.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:r.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(e){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});e.exports=Module},26509:(e,t,n)=>{"use strict";const{cutOffLoaderExecution:r}=n(50717);const i=n(81627);const s=n(56202);class ModuleBuildError extends i{constructor(e,{from:t=null}={}){let n="Module build failed";let i=undefined;if(t){n+=` (from ${t}):\n`}else{n+=": "}if(e!==null&&typeof e==="object"){if(typeof e.stack==="string"&&e.stack){const t=r(e.stack);if(!e.hideStack){n+=t}else{i=t;if(typeof e.message==="string"&&e.message){n+=e.message}else{n+=e}}}else if(typeof e.message==="string"&&e.message){n+=e.message}else{n+=String(e)}}else{n+=String(e)}super(n);this.name="ModuleBuildError";this.details=i;this.error=e;Error.captureStackTrace(this,this.constructor)}serialize(e){const{write:t}=e;t(this.error);super.serialize(e)}deserialize(e){const{read:t}=e;this.error=t();super.deserialize(e)}}s(ModuleBuildError,"webpack/lib/ModuleBuildError");e.exports=ModuleBuildError},82811:(e,t,n)=>{"use strict";const r=n(81627);class ModuleDependencyError extends r{constructor(e,t,n){super(t.message);this.name="ModuleDependencyError";this.details=t&&!t.hideStack?t.stack.split("\n").slice(1).join("\n"):undefined;this.module=e;this.loc=n;this.error=t;Error.captureStackTrace(this,this.constructor);if(t&&t.hideStack){this.stack=t.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}e.exports=ModuleDependencyError},23280:(e,t,n)=>{"use strict";const r=n(81627);const i=n(56202);class ModuleDependencyWarning extends r{constructor(e,t,n){super(t?t.message:"");this.name="ModuleDependencyWarning";this.details=t&&!t.hideStack?t.stack.split("\n").slice(1).join("\n"):undefined;this.module=e;this.loc=n;this.error=t;Error.captureStackTrace(this,this.constructor);if(t&&t.hideStack){this.stack=t.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}i(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");e.exports=ModuleDependencyWarning},91613:(e,t,n)=>{"use strict";const{cleanUp:r}=n(50717);const i=n(81627);const s=n(56202);class ModuleError extends i{constructor(e,{from:t=null}={}){let n="Module Error";if(t){n+=` (from ${t}):\n`}else{n+=": "}if(e&&typeof e==="object"&&e.message){n+=e.message}else if(e){n+=e}super(n);this.name="ModuleError";this.error=e;this.details=e&&typeof e==="object"&&e.stack?r(e.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}serialize(e){const{write:t}=e;t(this.error);super.serialize(e)}deserialize(e){const{read:t}=e;this.error=t();super.deserialize(e)}}s(ModuleError,"webpack/lib/ModuleError");e.exports=ModuleError},40674:(e,t,n)=>{"use strict";class ModuleFactory{create(e,t){const r=n(75884);throw new r}}e.exports=ModuleFactory},70354:(e,t,n)=>{"use strict";const r=n(35891);const i=n(91671);const s=t;s.ALL_LOADERS_RESOURCE="[all-loaders][resource]";s.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;s.LOADERS_RESOURCE="[loaders][resource]";s.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;s.RESOURCE="[resource]";s.REGEXP_RESOURCE=/\[resource\]/gi;s.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";s.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;s.RESOURCE_PATH="[resource-path]";s.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;s.ALL_LOADERS="[all-loaders]";s.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;s.LOADERS="[loaders]";s.REGEXP_LOADERS=/\[loaders\]/gi;s.QUERY="[query]";s.REGEXP_QUERY=/\[query\]/gi;s.ID="[id]";s.REGEXP_ID=/\[id\]/gi;s.HASH="[hash]";s.REGEXP_HASH=/\[hash\]/gi;s.NAMESPACE="[namespace]";s.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(e,t)=>()=>{const n=e();const r=n.indexOf(t);return r<0?"":n.substr(r)};const getBefore=(e,t)=>()=>{const n=e();const r=n.lastIndexOf(t);return r<0?"":n.substr(0,r)};const getHash=e=>()=>{const t=r("md4");t.update(e());const n=t.digest("hex");return n.substr(0,4)};const asRegExp=e=>{if(typeof e==="string"){e=new RegExp("^"+e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return e};const lazyObject=e=>{const t={};for(const n of Object.keys(e)){const r=e[n];Object.defineProperty(t,n,{get:()=>r(),set:e=>{Object.defineProperty(t,n,{value:e,enumerable:true,writable:true})},enumerable:true,configurable:true})}return t};const a=/\[\\*([\w-]+)\\*\]/gi;s.createFilename=(e,t,{requestShortener:n,chunkGraph:r})=>{const c={namespace:"",moduleFilenameTemplate:"",...typeof t==="object"?t:{moduleFilenameTemplate:t}};let u;let l;let d;let p;let h;if(e===undefined)e="";if(typeof e==="string"){h=i((()=>n.shorten(e)));d=h;p=()=>"";u=()=>e.split("!").pop();l=getHash(d)}else{h=i((()=>e.readableIdentifier(n)));d=i((()=>n.shorten(e.identifier())));p=()=>r.getModuleId(e);u=()=>e.identifier().split("!").pop();l=getHash(d)}const m=i((()=>h().split("!").pop()));const g=getBefore(h,"!");const y=getBefore(d,"!");const _=getAfter(m,"?");const resourcePath=()=>{const e=_().length;return e===0?m():m().slice(0,-e)};if(typeof c.moduleFilenameTemplate==="function"){return c.moduleFilenameTemplate(lazyObject({identifier:d,shortIdentifier:h,resource:m,resourcePath:i(resourcePath),absoluteResourcePath:i(u),allLoaders:i(y),query:i(_),moduleId:i(p),hash:i(l),namespace:()=>c.namespace}))}const b=new Map([["identifier",d],["short-identifier",h],["resource",m],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",u],["abs-resource-path",u],["absoluteresource-path",u],["absresource-path",u],["absolute-resourcepath",u],["abs-resourcepath",u],["absoluteresourcepath",u],["absresourcepath",u],["all-loaders",y],["allloaders",y],["loaders",g],["query",_],["id",p],["hash",l],["namespace",()=>c.namespace]]);return c.moduleFilenameTemplate.replace(s.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(s.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(a,((e,t)=>{if(t.length+2===e.length){const e=b.get(t.toLowerCase());if(e!==undefined){return e()}}else if(e.startsWith("[\\")&&e.endsWith("\\]")){return`[${e.slice(2,-2)}]`}return e}))};s.replaceDuplicates=(e,t,n)=>{const r=Object.create(null);const i=Object.create(null);e.forEach(((e,t)=>{r[e]=r[e]||[];r[e].push(t);i[e]=0}));if(n){Object.keys(r).forEach((e=>{r[e].sort(n)}))}return e.map(((e,s)=>{if(r[e].length>1){if(n&&r[e][0]===s)return e;return t(e,s,i[e]++)}else{return e}}))};s.matchPart=(e,t)=>{if(!t)return true;t=asRegExp(t);if(Array.isArray(t)){return t.map(asRegExp).some((t=>t.test(e)))}else{return t.test(e)}};s.matchObject=(e,t)=>{if(e.test){if(!s.matchPart(t,e.test)){return false}}if(e.include){if(!s.matchPart(t,e.include)){return false}}if(e.exclude){if(s.matchPart(t,e.exclude)){return false}}return true}},75412:(e,t,n)=>{"use strict";const r=n(31669);const i=n(76632);const s=n(79900);const a=n(16102);const c=[];const getConnectionsByOriginModule=e=>{const t=new Map;let n=0;let r=undefined;for(const i of e){const{originModule:e}=i;if(n===e){r.push(i)}else{n=e;const s=t.get(e);if(s!==undefined){r=s;s.push(i)}else{const n=[i];r=n;t.set(e,n)}}}return t};class ModuleGraphModule{constructor(){this.incomingConnections=new a;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new i;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false}}class ModuleGraphDependency{constructor(){this.connection=undefined;this.parentModule=undefined;this.parentBlock=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new Map;this._moduleMap=new Map;this._originMap=new Map;this._metaMap=new Map;this._cacheModuleGraphModuleKey1=undefined;this._cacheModuleGraphModuleValue1=undefined;this._cacheModuleGraphModuleKey2=undefined;this._cacheModuleGraphModuleValue2=undefined;this._cacheModuleGraphDependencyKey=undefined;this._cacheModuleGraphDependencyValue=undefined}_getModuleGraphModule(e){if(this._cacheModuleGraphModuleKey1===e)return this._cacheModuleGraphModuleValue1;if(this._cacheModuleGraphModuleKey2===e)return this._cacheModuleGraphModuleValue2;let t=this._moduleMap.get(e);if(t===undefined){t=new ModuleGraphModule;this._moduleMap.set(e,t)}this._cacheModuleGraphModuleKey2=this._cacheModuleGraphModuleKey1;this._cacheModuleGraphModuleValue2=this._cacheModuleGraphModuleValue1;this._cacheModuleGraphModuleKey1=e;this._cacheModuleGraphModuleValue1=t;return t}_getModuleGraphDependency(e){if(this._cacheModuleGraphDependencyKey===e)return this._cacheModuleGraphDependencyValue;let t=this._dependencyMap.get(e);if(t===undefined){t=new ModuleGraphDependency;this._dependencyMap.set(e,t)}this._cacheModuleGraphDependencyKey=e;this._cacheModuleGraphDependencyValue=t;return t}setParents(e,t,n){const r=this._getModuleGraphDependency(e);r.parentBlock=t;r.parentModule=n}getParentModule(e){const t=this._getModuleGraphDependency(e);return t.parentModule}getParentBlock(e){const t=this._getModuleGraphDependency(e);return t.parentBlock}setResolvedModule(e,t,n){const r=new s(e,t,n,undefined,t.weak,t.getCondition(this));const i=this._getModuleGraphDependency(t);i.connection=r;const a=this._getModuleGraphModule(n).incomingConnections;a.add(r);const c=this._getModuleGraphModule(e);if(c.outgoingConnections===undefined){c.outgoingConnections=new Set}c.outgoingConnections.add(r)}updateModule(e,t){const n=this._getModuleGraphDependency(e);if(n.connection.module===t)return;const{connection:r}=n;const i=r.clone();i.module=t;n.connection=i;r.setActive(false);const s=this._getModuleGraphModule(r.originModule);s.outgoingConnections.add(i);const a=this._getModuleGraphModule(t);a.incomingConnections.add(i)}removeConnection(e){const t=this._getModuleGraphDependency(e);const{connection:n}=t;const r=this._getModuleGraphModule(n.module);r.incomingConnections.delete(n);const i=this._getModuleGraphModule(n.originModule);i.outgoingConnections.delete(n);t.connection=undefined}addExplanation(e,t){const{connection:n}=this._getModuleGraphDependency(e);n.addExplanation(t)}cloneModuleAttributes(e,t){const n=this._getModuleGraphModule(e);const r=this._getModuleGraphModule(t);r.postOrderIndex=n.postOrderIndex;r.preOrderIndex=n.preOrderIndex;r.depth=n.depth;r.exports=n.exports;r.async=n.async}removeModuleAttributes(e){const t=this._getModuleGraphModule(e);t.postOrderIndex=null;t.preOrderIndex=null;t.depth=null;t.async=false}removeAllModuleAttributes(){for(const e of this._moduleMap.values()){e.postOrderIndex=null;e.preOrderIndex=null;e.depth=null;e.async=false}}moveModuleConnections(e,t,n){if(e===t)return;const r=this._getModuleGraphModule(e);const i=this._getModuleGraphModule(t);const s=r.outgoingConnections;if(s!==undefined){if(i.outgoingConnections===undefined){i.outgoingConnections=new Set}const e=i.outgoingConnections;for(const r of s){if(n(r)){r.originModule=t;e.add(r);s.delete(r)}}}const a=r.incomingConnections;const c=i.incomingConnections;for(const e of a){if(n(e)){e.module=t;c.add(e);a.delete(e)}}}copyOutgoingModuleConnections(e,t,n){if(e===t)return;const r=this._getModuleGraphModule(e);const i=this._getModuleGraphModule(t);const s=r.outgoingConnections;if(s!==undefined){if(i.outgoingConnections===undefined){i.outgoingConnections=new Set}const e=i.outgoingConnections;for(const r of s){if(n(r)){const n=r.clone();n.originModule=t;e.add(n);if(n.module!==undefined){const e=this._getModuleGraphModule(n.module);e.incomingConnections.add(n)}}}}}addExtraReason(e,t){const n=this._getModuleGraphModule(e).incomingConnections;n.add(new s(null,null,e,t))}getResolvedModule(e){const{connection:t}=this._getModuleGraphDependency(e);return t!==undefined?t.resolvedModule:null}getConnection(e){const{connection:t}=this._getModuleGraphDependency(e);return t}getModule(e){const{connection:t}=this._getModuleGraphDependency(e);return t!==undefined?t.module:null}getOrigin(e){const{connection:t}=this._getModuleGraphDependency(e);return t!==undefined?t.originModule:null}getResolvedOrigin(e){const{connection:t}=this._getModuleGraphDependency(e);return t!==undefined?t.resolvedOriginModule:null}getIncomingConnections(e){const t=this._getModuleGraphModule(e).incomingConnections;return t}getOutgoingConnections(e){const t=this._getModuleGraphModule(e).outgoingConnections;return t===undefined?c:t}getIncomingConnectionsByOriginModule(e){const t=this._getModuleGraphModule(e).incomingConnections;return t.getFromUnorderedCache(getConnectionsByOriginModule)}getProfile(e){const t=this._getModuleGraphModule(e);return t.profile}setProfile(e,t){const n=this._getModuleGraphModule(e);n.profile=t}getIssuer(e){const t=this._getModuleGraphModule(e);return t.issuer}setIssuer(e,t){const n=this._getModuleGraphModule(e);n.issuer=t}setIssuerIfUnset(e,t){const n=this._getModuleGraphModule(e);if(n.issuer===undefined)n.issuer=t}getOptimizationBailout(e){const t=this._getModuleGraphModule(e);return t.optimizationBailout}getProvidedExports(e){const t=this._getModuleGraphModule(e);return t.exports.getProvidedExports()}isExportProvided(e,t){const n=this._getModuleGraphModule(e);const r=n.exports.isExportProvided(t);return r===undefined?null:r}getExportsInfo(e){const t=this._getModuleGraphModule(e);return t.exports}getExportInfo(e,t){const n=this._getModuleGraphModule(e);return n.exports.getExportInfo(t)}getReadOnlyExportInfo(e,t){const n=this._getModuleGraphModule(e);return n.exports.getReadOnlyExportInfo(t)}getUsedExports(e,t){const n=this._getModuleGraphModule(e);return n.exports.getUsedExports(t)}getPreOrderIndex(e){const t=this._getModuleGraphModule(e);return t.preOrderIndex}getPostOrderIndex(e){const t=this._getModuleGraphModule(e);return t.postOrderIndex}setPreOrderIndex(e,t){const n=this._getModuleGraphModule(e);n.preOrderIndex=t}setPreOrderIndexIfUnset(e,t){const n=this._getModuleGraphModule(e);if(n.preOrderIndex===null){n.preOrderIndex=t;return true}return false}setPostOrderIndex(e,t){const n=this._getModuleGraphModule(e);n.postOrderIndex=t}setPostOrderIndexIfUnset(e,t){const n=this._getModuleGraphModule(e);if(n.postOrderIndex===null){n.postOrderIndex=t;return true}return false}getDepth(e){const t=this._getModuleGraphModule(e);return t.depth}setDepth(e,t){const n=this._getModuleGraphModule(e);n.depth=t}setDepthIfLower(e,t){const n=this._getModuleGraphModule(e);if(n.depth===null||n.depth>t){n.depth=t;return true}return false}isAsync(e){const t=this._getModuleGraphModule(e);return t.async}setAsync(e){const t=this._getModuleGraphModule(e);t.async=true}getMeta(e){let t=this._metaMap.get(e);if(t===undefined){t=Object.create(null);this._metaMap.set(e,t)}return t}getMetaIfExisting(e){return this._metaMap.get(e)}static getModuleGraphForModule(e,t,n){const i=l.get(t);if(i)return i(e);const s=r.deprecate((e=>{const n=u.get(e);if(!n)throw new Error(t+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return n}),t+": Use new ModuleGraph API",n);l.set(t,s);return s(e)}static setModuleGraphForModule(e,t){u.set(e,t)}static clearModuleGraphForModule(e){u.delete(e)}}const u=new WeakMap;const l=new Map;e.exports=ModuleGraph;e.exports.ModuleGraphConnection=s},79900:e=>{"use strict";const t=Symbol("transitive only");const n=Symbol("circular connection");const addConnectionStates=(e,n)=>{if(e===true||n===true)return true;if(e===false)return n;if(n===false)return e;if(e===t)return n;if(n===t)return e;return e};const intersectConnectionStates=(e,t)=>{if(e===false||t===false)return false;if(e===true)return t;if(t===true)return e;if(e===n)return t;if(t===n)return e;return e};class ModuleGraphConnection{constructor(e,t,n,r,i=false,s=undefined){this.originModule=e;this.resolvedOriginModule=e;this.dependency=t;this.resolvedModule=n;this.module=n;this.weak=i;this.conditional=!!s;this._active=s!==false;this.condition=s||undefined;this.explanations=undefined;if(r){this.explanations=new Set;this.explanations.add(r)}}clone(){const e=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);e.originModule=this.originModule;e.module=this.module;e.conditional=this.conditional;e._active=this._active;if(this.explanations)e.explanations=new Set(this.explanations);return e}addCondition(e){if(this.conditional){const t=this.condition;this.condition=(n,r)=>intersectConnectionStates(t(n,r),e(n,r))}else if(this._active){this.conditional=true;this.condition=e}}addExplanation(e){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(e)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(e){if(!this.conditional)return this._active;return this.condition(this,e)!==false}isTargetActive(e){if(!this.conditional)return this._active;return this.condition(this,e)===true}getActiveState(e){if(!this.conditional)return this._active;return this.condition(this,e)}setActive(e){this.conditional=false;this._active=e}set active(e){throw new Error("Use setActive instead")}}e.exports=ModuleGraphConnection;e.exports.addConnectionStates=addConnectionStates;e.exports.TRANSITIVE_ONLY=t;e.exports.CIRCULAR_CONNECTION=n},21542:(e,t,n)=>{"use strict";const{ConcatSource:r,RawSource:i,CachedSource:s}=n(48135);const{UsageState:a}=n(76632);const c=n(58159);const u=n(18161);const joinIterableWithComma=e=>{let t="";let n=true;for(const r of e){if(n){n=false}else{t+=", "}t+=r}return t};const printExportsInfoToSource=(e,t,n,r,i,s=new Set)=>{const u=n.otherExportsInfo;let l=0;const d=[];for(const e of n.orderedExports){if(!s.has(e)){s.add(e);d.push(e)}else{l++}}let p=false;if(!s.has(u)){s.add(u);p=true}else{l++}for(const n of d){const a=n.getTarget(r);e.add(c.toComment(`${t}export ${JSON.stringify(n.name).slice(1,-1)} [${n.getProvidedInfo()}] [${n.getUsedInfo()}] [${n.getRenameInfo()}]${a?` -> ${a.module.readableIdentifier(i)}${a.export?` .${a.export.map((e=>JSON.stringify(e).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(n.exportsInfo){printExportsInfoToSource(e,t+" ",n.exportsInfo,r,i,s)}}if(l){e.add(c.toComment(`${t}... (${l} already listed exports)`)+"\n")}if(p){const n=u.getTarget(r);if(n||u.provided!==false||u.getUsed(undefined)!==a.Unused){const r=d.length>0||l>0?"other exports":"exports";e.add(c.toComment(`${t}${r} [${u.getProvidedInfo()}] [${u.getUsedInfo()}]${n?` -> ${n.module.readableIdentifier(i)}`:""}`)+"\n")}}};const l=new WeakMap;class ModuleInfoHeaderPlugin{constructor(e=true){this._verbose=e}apply(e){const{_verbose:t}=this;e.hooks.compilation.tap("ModuleInfoHeaderPlugin",(e=>{const n=u.getCompilationHooks(e);n.renderModulePackage.tap("ModuleInfoHeaderPlugin",((e,n,{chunk:a,chunkGraph:u,moduleGraph:d,runtimeTemplate:p})=>{const{requestShortener:h}=p;let m;let g=l.get(h);if(g===undefined){l.set(h,g=new WeakMap);g.set(n,m={header:undefined,full:new WeakMap})}else{m=g.get(n);if(m===undefined){g.set(n,m={header:undefined,full:new WeakMap})}else if(!t){const t=m.full.get(e);if(t!==undefined)return t}}const y=new r;let _=m.header;if(_===undefined){const e=n.readableIdentifier(h);const t=e.replace(/\*\//g,"*_/");const r="*".repeat(t.length);const s=`/*!****${r}****!*\\\n !*** ${t} ***!\n \\****${r}****/\n`;_=new i(s);m.header=_}y.add(_);if(t){const t=n.buildMeta.exportsType;y.add(c.toComment(t?`${t} exports`:"unknown exports (runtime-defined)")+"\n");if(t){const e=d.getExportsInfo(n);printExportsInfoToSource(y,"",e,d,h)}y.add(c.toComment(`runtime requirements: ${joinIterableWithComma(u.getModuleRuntimeRequirements(n,a.runtime))}`)+"\n");const r=d.getOptimizationBailout(n);if(r){for(const e of r){let t;if(typeof e==="function"){t=e(h)}else{t=e}y.add(c.toComment(`${t}`)+"\n")}}y.add(e);return y}else{y.add(e);const t=new s(y);m.full.set(e,t);return t}}));n.chunkHash.tap("ModuleInfoHeaderPlugin",((e,t)=>{t.update("ModuleInfoHeaderPlugin");t.update("1")}))}))}}e.exports=ModuleInfoHeaderPlugin},54032:(e,t,n)=>{"use strict";const r=n(81627);const i={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends r{constructor(e,t,n){let r=`Module not found: ${t.toString()}`;const s=t.message.match(/Can't resolve '([^']+)'/);if(s){const e=s[1];const t=i[e];if(t){const n=t.indexOf("/");const i=n>0?t.slice(0,n):t;r+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";r+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${e}": require.resolve("${t}") }'\n`+`\t- install '${i}'\n`;r+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${e}": false }`}}super(r);this.name="ModuleNotFoundError";this.details=t.details;this.module=e;this.error=t;this.loc=n;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleNotFoundError},14489:(e,t,n)=>{"use strict";const r=n(81627);const i=n(56202);const s=Buffer.from([0,97,115,109]);class ModuleParseError extends r{constructor(e,t,n,r){let i="Module parse failed: "+(t&&t.message);let a=undefined;if((Buffer.isBuffer(e)&&e.slice(0,4).equals(s)||typeof e==="string"&&/^\0asm/.test(e))&&!r.startsWith("webassembly")){i+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";i+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";i+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";i+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!n){i+="\nYou may need an appropriate loader to handle this file type."}else if(n.length>=1){i+=`\nFile was processed with these loaders:${n.map((e=>`\n * ${e}`)).join("")}`;i+="\nYou may need an additional loader to handle the result of these loaders."}else{i+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(t&&t.loc&&typeof t.loc==="object"&&typeof t.loc.line==="number"){var c=t.loc.line;if(Buffer.isBuffer(e)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(e)){i+="\n(Source code omitted for this binary file)"}else{const t=e.split(/\r?\n/);const n=Math.max(0,c-3);const r=t.slice(n,c-1);const s=t[c-1];const a=t.slice(c,c+2);i+=r.map((e=>`\n| ${e}`)).join("")+`\n> ${s}`+a.map((e=>`\n| ${e}`)).join("")}a={start:t.loc}}else if(t&&t.stack){i+="\n"+t.stack}super(i);this.name="ModuleParseError";this.loc=a;this.error=t;Error.captureStackTrace(this,this.constructor)}serialize(e){const{write:t}=e;t(this.error);super.serialize(e)}deserialize(e){const{read:t}=e;this.error=t();super.deserialize(e)}}i(ModuleParseError,"webpack/lib/ModuleParseError");e.exports=ModuleParseError},99869:e=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(e){e.additionalFactories=this.factory;(e.additionalFactoryTimes=e.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}e.exports=ModuleProfile},2210:(e,t,n)=>{"use strict";const r=n(81627);class ModuleRestoreError extends r{constructor(e,t){let n="Module restore failed: ";let r=undefined;if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=t.stack;n+=e}else if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}else{n+=String(t)}super(n);this.name="ModuleRestoreError";this.details=r;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleRestoreError},31467:(e,t,n)=>{"use strict";const r=n(81627);class ModuleStoreError extends r{constructor(e,t){let n="Module storing failed: ";let r=undefined;if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=t.stack;n+=e}else if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}else{n+=String(t)}super(n);this.name="ModuleStoreError";this.details=r;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleStoreError},68661:(e,t,n)=>{"use strict";const r=n(31669);const i=n(91671);const s=i((()=>n(18161)));class ModuleTemplate{constructor(e,t){this._runtimeTemplate=e;this.type="javascript";this.hooks=Object.freeze({content:{tap:r.deprecate(((e,n)=>{s().getCompilationHooks(t).renderModuleContent.tap(e,((e,t,r)=>n(e,t,r,r.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:r.deprecate(((e,n)=>{s().getCompilationHooks(t).renderModuleContent.tap(e,((e,t,r)=>n(e,t,r,r.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:r.deprecate(((e,n)=>{s().getCompilationHooks(t).renderModuleContainer.tap(e,((e,t,r)=>n(e,t,r,r.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:r.deprecate(((e,n)=>{s().getCompilationHooks(t).renderModulePackage.tap(e,((e,t,r)=>n(e,t,r,r.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:r.deprecate(((e,n)=>{t.hooks.fullHash.tap(e,n)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:r.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});e.exports=ModuleTemplate},8893:(e,t,n)=>{"use strict";const{cleanUp:r}=n(50717);const i=n(81627);const s=n(56202);class ModuleWarning extends i{constructor(e,{from:t=null}={}){let n="Module Warning";if(t){n+=` (from ${t}):\n`}else{n+=": "}if(e&&typeof e==="object"&&e.message){n+=e.message}else if(e){n+=String(e)}super(n);this.name="ModuleWarning";this.warning=e;this.details=e&&typeof e==="object"&&e.stack?r(e.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}serialize(e){const{write:t}=e;t(this.warning);super.serialize(e)}deserialize(e){const{read:t}=e;this.warning=t();super.deserialize(e)}}s(ModuleWarning,"webpack/lib/ModuleWarning");e.exports=ModuleWarning},63433:(e,t,n)=>{"use strict";const r=n(62355);const{SyncHook:i,MultiHook:s}=n(92960);const a=n(27310);const c=n(34884);const u=n(10869);const l=n(56561);e.exports=class MultiCompiler{constructor(e,t){if(!Array.isArray(e)){e=Object.keys(e).map((t=>{e[t].name=t;return e[t]}))}this.hooks=Object.freeze({done:new i(["stats"]),invalid:new s(e.map((e=>e.hooks.invalid))),run:new s(e.map((e=>e.hooks.run))),watchClose:new i([]),watchRun:new s(e.map((e=>e.hooks.watchRun))),infrastructureLog:new s(e.map((e=>e.hooks.infrastructureLog)))});this.compilers=e;this._options={parallelism:t.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const n=this.compilers.map((()=>null));let r=0;for(let e=0;e{if(!s){s=true;r++}n[i]=e;if(r===this.compilers.length){this.hooks.done.call(new c(n))}}));t.hooks.invalid.tap("MultiCompiler",(()=>{if(s){s=false;r--}}))}}get options(){return Object.assign(this.compilers.map((e=>e.options)),this._options)}get outputPath(){let e=this.compilers[0].outputPath;for(const t of this.compilers){while(t.outputPath.indexOf(e)!==0&&/[/\\]/.test(e)){e=e.replace(/[/\\][^/\\]*$/,"")}}if(!e&&this.compilers[0].outputPath[0]==="/")return"/";return e}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(e){for(const t of this.compilers){t.inputFileSystem=e}}set outputFileSystem(e){for(const t of this.compilers){t.outputFileSystem=e}}set watchFileSystem(e){for(const t of this.compilers){t.watchFileSystem=e}}set intermediateFileSystem(e){for(const t of this.compilers){t.intermediateFileSystem=e}}getInfrastructureLogger(e){return this.compilers[0].getInfrastructureLogger(e)}setDependencies(e,t){this.dependencies.set(e,t)}validateDependencies(e){const t=new Set;const n=[];const targetFound=e=>{for(const n of t){if(n.target===e){return true}}return false};const sortEdges=(e,t)=>e.source.name.localeCompare(t.source.name)||e.target.name.localeCompare(t.target.name);for(const e of this.compilers){const r=this.dependencies.get(e);if(r){for(const i of r){const r=this.compilers.find((e=>e.name===i));if(!r){n.push(i)}else{t.add({source:e,target:r})}}}}const r=n.map((e=>`Compiler dependency \`${e}\` not found.`));const i=this.compilers.filter((e=>!targetFound(e)));while(i.length>0){const e=i.pop();for(const n of t){if(n.source===e){t.delete(n);const e=n.target;if(!targetFound(e)){i.push(e)}}}}if(t.size>0){const e=Array.from(t).sort(sortEdges).map((e=>`${e.source.name} -> ${e.target.name}`));e.unshift("Circular dependency found in compiler dependencies.");r.unshift(e.join("\n"))}if(r.length>0){const t=r.join("\n");e(new Error(t));return false}return true}runWithDependencies(e,t,n){const i=new Set;let s=e;const isDependencyFulfilled=e=>i.has(e);const getReadyCompilers=()=>{let e=[];let t=s;s=[];for(const n of t){const t=this.dependencies.get(n);const r=!t||t.every(isDependencyFulfilled);if(r){e.push(n)}else{s.push(n)}}return e};const runCompilers=e=>{if(s.length===0)return e();r.map(getReadyCompilers(),((e,n)=>{t(e,(t=>{if(t)return n(t);i.add(e.name);runCompilers(n)}))}),e)};runCompilers(n)}_runGraph(e,t,n){const i=this.compilers.map((e=>({compiler:e,result:undefined,state:"blocked",children:[],parents:[]})));const s=new Map;for(const e of i)s.set(e.compiler.name,e);for(const e of i){const t=this.dependencies.get(e.compiler);if(!t)continue;for(const n of t){const t=s.get(n);e.parents.push(t);t.children.push(e)}}const a=new l;for(const e of i){if(e.parents.length===0){e.state="queued";a.enqueue(e)}}let u=false;let d=0;const p=this._options.parallelism;const nodeDone=(e,t,s)=>{if(u)return;if(t){u=true;return r.each(i,((e,t)=>{if(e.compiler.watching){e.compiler.watching.close(t)}else{t()}}),(()=>n(t)))}e.result=s;d--;if(e.state==="running"){e.state="done";for(const t of e.children){checkUnblocked(t)}}else if(e.state==="running-outdated"){e.state="blocked";checkUnblocked(e)}process.nextTick(processQueue)};const nodeInvalidFromParent=e=>{if(e.state==="done"){e.state="blocked"}else if(e.state==="running"){e.state="running-outdated"}for(const t of e.children){nodeInvalidFromParent(t)}};const nodeInvalid=e=>{if(e.state==="done"){e.state="pending"}else if(e.state==="running"){e.state="running-outdated"}for(const t of e.children){nodeInvalidFromParent(t)}};const nodeChange=e=>{nodeInvalid(e);if(e.state==="pending"){e.state="blocked"}checkUnblocked(e);processQueue()};const checkUnblocked=e=>{if(e.state==="blocked"&&e.parents.every((e=>e.state==="done"))){e.state="queued";a.enqueue(e)}};const h=[];i.forEach(((t,n)=>{h.push(e(t.compiler,n,nodeDone.bind(null,t),(()=>t.state!=="done"&&t.state!=="running"),(()=>nodeChange(t)),(()=>nodeInvalid(t))))}));const processQueue=()=>{while(d0&&!u){const e=a.dequeue();if(e.state!=="queued")continue;d++;e.state="running";t(e.compiler,nodeDone.bind(null,e))}if(!u&&d===0&&i.every((e=>e.state==="done"))){const e=[];for(const t of i){const n=t.result;if(n){t.result=undefined;e.push(n)}}if(e.length>0){n(null,new c(e))}}};processQueue();return h}watch(e,t){if(this.running){return t(new a)}this.running=true;if(this.validateDependencies(t)){const n=this._runGraph(((t,n,r,i,s,a)=>{const c=t.watch(Array.isArray(e)?e[n]:e,r);if(c){c._onInvalid=a;c._onChange=s;c._isBlocked=i}return c}),((e,t,n)=>{if(!e.watching.running)e.watching.invalidate()}),t);return new u(n,this)}return new u([],this)}run(e){if(this.running){return e(new a)}this.running=true;if(this.validateDependencies(e)){this._runGraph((()=>{}),((e,t)=>e.run(t)),((t,n)=>{this.running=false;if(e!==undefined){return e(t,n)}}))}}purgeInputFileSystem(){for(const e of this.compilers){if(e.inputFileSystem&&e.inputFileSystem.purge){e.inputFileSystem.purge()}}}close(e){r.each(this.compilers,((e,t)=>{e.close(t)}),e)}}},34884:(e,t,n)=>{"use strict";const r=n(49197);const indent=(e,t)=>{const n=e.replace(/\n([^\n])/g,"\n"+t+"$1");return t+n};class MultiStats{constructor(e){this.stats=e}get hash(){return this.stats.map((e=>e.hash)).join("")}hasErrors(){return this.stats.some((e=>e.hasErrors()))}hasWarnings(){return this.stats.some((e=>e.hasWarnings()))}_createChildOptions(e,t){if(!e){e={}}const{children:n=undefined,...r}=typeof e==="string"?{preset:e}:e;const i=this.stats.map(((e,i)=>{const s=Array.isArray(n)?n[i]:n;return e.compilation.createStatsOptions({...r,...typeof s==="string"?{preset:s}:s&&typeof s==="object"?s:undefined},t)}));return{version:i.every((e=>e.version)),hash:i.every((e=>e.hash)),errorsCount:i.every((e=>e.errorsCount)),warningsCount:i.every((e=>e.warningsCount)),errors:i.every((e=>e.errors)),warnings:i.every((e=>e.warnings)),children:i}}toJson(e){e=this._createChildOptions(e,{forToString:false});const t={};t.children=this.stats.map(((t,n)=>{const i=t.toJson(e.children[n]);const s=t.compilation.name;const a=s&&r.makePathsRelative(e.context,s,t.compilation.compiler.root);i.name=a;return i}));if(e.version){t.version=t.children[0].version}if(e.hash){t.hash=t.children.map((e=>e.hash)).join("")}const mapError=(e,t)=>({...t,compilerPath:t.compilerPath?`${e.name}.${t.compilerPath}`:e.name});if(e.errors){t.errors=[];for(const e of t.children){for(const n of e.errors){t.errors.push(mapError(e,n))}}}if(e.warnings){t.warnings=[];for(const e of t.children){for(const n of e.warnings){t.warnings.push(mapError(e,n))}}}if(e.errorsCount){t.errorsCount=0;for(const e of t.children){t.errorsCount+=e.errorsCount}}if(e.warningsCount){t.warningsCount=0;for(const e of t.children){t.warningsCount+=e.warningsCount}}return t}toString(e){e=this._createChildOptions(e,{forToString:true});const t=this.stats.map(((t,n)=>{const i=t.toString(e.children[n]);const s=t.compilation.name;const a=s&&r.makePathsRelative(e.context,s,t.compilation.compiler.root).replace(/\|/g," ");if(!i)return i;return a?`${a}:\n${indent(i," ")}`:i}));return t.filter(Boolean).join("\n\n")}}e.exports=MultiStats},10869:(e,t,n)=>{"use strict";const r=n(62355);class MultiWatching{constructor(e,t){this.watchings=e;this.compiler=t}invalidate(e){if(e){r.each(this.watchings,((e,t)=>e.invalidate(t)),e)}else{for(const e of this.watchings){e.invalidate()}}}suspend(){for(const e of this.watchings){e.suspend()}}resume(){for(const e of this.watchings){e.resume()}}close(e){r.forEach(this.watchings,((e,t)=>{e.close(t)}),(t=>{this.compiler.hooks.watchClose.call();if(typeof e==="function"){this.compiler.running=false;e(t)}}))}}e.exports=MultiWatching},66962:e=>{"use strict";class NoEmitOnErrorsPlugin{apply(e){e.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(e=>{if(e.getStats().hasErrors())return false}));e.hooks.compilation.tap("NoEmitOnErrorsPlugin",(e=>{e.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(e.getStats().hasErrors())return false}))}))}}e.exports=NoEmitOnErrorsPlugin},24500:(e,t,n)=>{"use strict";const r=n(81627);e.exports=class NoModeWarning extends r{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/";Error.captureStackTrace(this,this.constructor)}}},32125:(e,t,n)=>{"use strict";const r=n(76150);const i=n(59455);const s=n(66298);const{evaluateToString:a,expressionIsUnsupported:c}=n(48472);const{relative:u}=n(95396);const{parseResource:l}=n(49197);class NodeStuffPlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("NodeStuffPlugin",((n,{normalModuleFactory:d})=>{const handler=(n,d)=>{if(d.node===false)return;let p=t;if(d.node){p={...p,...d.node}}if(p.global){n.hooks.expression.for("global").tap("NodeStuffPlugin",(e=>{const t=new s(r.global,e.range,[r.global]);t.loc=e.loc;n.state.module.addPresentationalDependency(t)}))}const setModuleConstant=(e,t)=>{n.hooks.expression.for(e).tap("NodeStuffPlugin",(r=>{const s=new i(JSON.stringify(t(n.state.module)),r.range,e);s.loc=r.loc;n.state.module.addPresentationalDependency(s);return true}))};const setConstant=(e,t)=>setModuleConstant(e,(()=>t));const h=e.context;if(p.__filename){if(p.__filename==="mock"){setConstant("__filename","/index.js")}else if(p.__filename===true){setModuleConstant("__filename",(t=>u(e.inputFileSystem,h,t.resource)))}n.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(e=>{if(!n.state.module)return;const t=l(n.state.module.resource);return a(t.path)(e)}))}if(p.__dirname){if(p.__dirname==="mock"){setConstant("__dirname","/")}else if(p.__dirname===true){setModuleConstant("__dirname",(t=>u(e.inputFileSystem,h,t.context)))}n.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(e=>{if(!n.state.module)return;return a(n.state.module.context)(e)}))}n.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",c(n,"require.extensions is not supported by webpack. Use a loader instead."))};d.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);d.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}e.exports=NodeStuffPlugin},53520:(e,t,n)=>{"use strict";const r=n(78688);const{getContext:i,runLoaders:s}=n(60425);const a=n(71191);const{validate:c}=n(15235);const{HookMap:u,SyncHook:l,AsyncSeriesBailHook:d}=n(92960);const{CachedSource:p,OriginalSource:h,RawSource:m,SourceMapSource:g}=n(48135);const y=n(3080);const _=n(53453);const b=n(26509);const x=n(91613);const k=n(79900);const E=n(14489);const w=n(8893);const S=n(76150);const C=n(77090);const M=n(81627);const I=n(72380);const P=n(83379);const{getScheme:T}=n(45754);const{compareLocations:O,concatComparators:R,compareSelect:N,keepOriginalOrder:L}=n(68673);const $=n(35891);const{join:j}=n(95396);const{contextify:z,absolutify:U}=n(49197);const q=n(56202);const G=n(91671);const H=G((()=>n(49619)));const W=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(e,t,n)=>{if(t.startsWith("webpack://"))return t;return`webpack://${z(e,t,n)}`};const contextifySourceMap=(e,t,n)=>{if(!Array.isArray(t.sources))return t;const{sourceRoot:r}=t;const i=!r?e=>e:r.endsWith("/")?e=>e.startsWith("/")?`${r.slice(0,-1)}${e}`:`${r}${e}`:e=>e.startsWith("/")?`${r}${e}`:`${r}/${e}`;const s=t.sources.map((t=>contextifySourceUrl(e,i(t),n)));return{...t,file:"x",sourceRoot:undefined,sources:s}};const asString=e=>{if(Buffer.isBuffer(e)){return e.toString("utf-8")}return e};const asBuffer=e=>{if(!Buffer.isBuffer(e)){return Buffer.from(e,"utf-8")}return e};class NonErrorEmittedError extends M{constructor(e){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+e;Error.captureStackTrace(this,this.constructor)}}q(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const V=new WeakMap;class NormalModule extends _{static getCompilationHooks(e){if(!(e instanceof y)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=V.get(e);if(t===undefined){t={loader:new l(["loaderContext","module"]),beforeLoaders:new l(["loaders","module","loaderContext"]),readResourceForScheme:new u((()=>new d(["resource","module"])))};V.set(e,t)}return t}constructor({layer:e,type:t,request:n,userRequest:r,rawRequest:s,loaders:a,resource:c,matchResource:u,parser:l,parserOptions:d,generator:p,generatorOptions:h,resolveOptions:m}){super(t,i(c),e);this.request=n;this.userRequest=r;this.rawRequest=s;this.binary=/^(asset|webassembly)\b/.test(t);this.parser=l;this.parserOptions=d;this.generator=p;this.generatorOptions=h;this.resource=c;this.matchResource=u;this.loaders=a;if(m!==undefined){this.resolveOptions=m}this.error=null;this._source=null;this._sourceSizes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){return this.request}else{return`${this.request}|${this.layer}`}}readableIdentifier(e){return e.shorten(this.userRequest)}libIdent(e){return z(e.context,this.userRequest,e.associatedObjectForCache)}nameForCondition(){const e=this.matchResource||this.resource;const t=e.indexOf("?");if(t>=0)return e.substr(0,t);return e}updateCacheModule(e){super.updateCacheModule(e);const t=e;this.binary=t.binary;this.request=t.request;this.userRequest=t.userRequest;this.rawRequest=t.rawRequest;this.parser=t.parser;this.parserOptions=t.parserOptions;this.generator=t.generator;this.generatorOptions=t.generatorOptions;this.resource=t.resource;this.matchResource=t.matchResource;this.loaders=t.loaders}cleanupForCache(){super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const e=super.getUnsafeCacheData();e.parserOptions=this.parserOptions;e.generatorOptions=this.generatorOptions;return e}restoreFromUnsafeCache(e,t){this._restoreFromUnsafeCache(e,t)}_restoreFromUnsafeCache(e,t){super._restoreFromUnsafeCache(e,t);this.parserOptions=e.parserOptions;this.parser=t.getParser(this.type,this.parserOptions);this.generatorOptions=e.generatorOptions;this.generator=t.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(e,t,n,r,i){if(r){if(typeof r==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new h(n,contextifySourceUrl(e,r,i))}if(this.useSourceMap){return new g(n,t,contextifySourceMap(e,r,i))}}return new m(n)}createLoaderContext(e,t,n,i){const{requestShortener:s}=n.runtimeTemplate;const getCurrentLoaderName=()=>{const e=this.getCurrentLoader(m);if(!e)return"(not in loader scope)";return s.shorten(e.loader)};const getResolveContext=()=>({fileDependencies:{add:e=>m.addDependency(e)},contextDependencies:{add:e=>m.addContextDependency(e)},missingDependencies:{add:e=>m.addMissingDependency(e)}});const u=G((()=>U.bindCache(n.compiler.root)));const l=G((()=>U.bindContextCache(this.context,n.compiler.root)));const d=G((()=>z.bindCache(n.compiler.root)));const p=G((()=>z.bindContextCache(this.context,n.compiler.root)));const h={absolutify:(e,t)=>e===this.context?l()(t):u()(e,t),contextify:(e,t)=>e===this.context?p()(t):d()(e,t)};const m={version:2,getOptions:e=>{const t=this.getCurrentLoader(m);let{options:n}=t;if(typeof n==="string"){if(n.substr(0,1)==="{"&&n.substr(-1)==="}"){try{n=r(n)}catch(e){throw new Error(`Cannot parse string options: ${e.message}`)}}else{n=a.parse(n,"&","=",{maxKeys:0})}}if(n===null||n===undefined){n={}}if(e){let t="Loader";let r="options";let i;if(e.title&&(i=/^(.+) (.+)$/.exec(e.title))){[,t,r]=i}c(e,n,{name:t,baseDataPath:r})}return n},emitWarning:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.addWarning(new w(e,{from:getCurrentLoaderName()}))},emitError:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.addError(new x(e,{from:getCurrentLoaderName()}))},getLogger:e=>{const t=this.getCurrentLoader(m);return n.getLogger((()=>[t&&t.loader,e,this.identifier()].filter(Boolean).join("|")))},resolve(t,n,r){e.resolve({},t,n,getResolveContext(),r)},getResolve(t){const n=t?e.withOptions(t):e;return(e,t,r)=>{if(r){n.resolve({},e,t,getResolveContext(),r)}else{return new Promise(((r,i)=>{n.resolve({},e,t,getResolveContext(),((e,t)=>{if(e)i(e);else r(t)}))}))}}},emitFile:(e,r,i,s)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[e]=this.createSourceForAsset(t.context,e,r,i,n.compiler.root);this.buildInfo.assetsInfo.set(e,s)},addBuildDependency:e=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new P}this.buildInfo.buildDependencies.add(e)},utils:h,rootContext:t.context,webpack:true,sourceMap:!!this.useSourceMap,mode:t.mode||"production",_module:this,_compilation:n,_compiler:n.compiler,fs:i};Object.assign(m,t.loader);NormalModule.getCompilationHooks(n).loader.call(m,this);return m}getCurrentLoader(e,t=e.loaderIndex){if(this.loaders&&this.loaders.length&&t=0&&this.loaders[t]){return this.loaders[t]}return null}createSource(e,t,n,r){if(Buffer.isBuffer(t)){return new m(t)}if(!this.identifier){return new m(t)}const i=this.identifier();if(this.useSourceMap&&n){return new g(t,contextifySourceUrl(e,i,r),contextifySourceMap(e,n,r))}if(this.useSourceMap||this.useSimpleSourceMap){return new h(t,contextifySourceUrl(e,i,r))}return new m(t)}doBuild(e,t,n,r,i){const a=this.createLoaderContext(n,e,t,r);const processResult=(n,r)=>{if(n){if(!(n instanceof Error)){n=new NonErrorEmittedError(n)}const e=this.getCurrentLoader(a);const r=new b(n,{from:e&&t.runtimeTemplate.requestShortener.shorten(e.loader)});return i(r)}const s=r[0];const c=r.length>=1?r[1]:null;const u=r.length>=2?r[2]:null;if(!Buffer.isBuffer(s)&&typeof s!=="string"){const e=this.getCurrentLoader(a,0);const n=new Error(`Final loader (${e?t.runtimeTemplate.requestShortener.shorten(e.loader):"unknown"}) didn't return a Buffer or String`);const r=new b(n);return i(r)}this._source=this.createSource(e.context,this.binary?asBuffer(s):asString(s),c,t.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof u==="object"&&u!==null&&u.webpackAST!==undefined?u.webpackAST:null;return i()};const c=NormalModule.getCompilationHooks(t);try{c.beforeLoaders.call(this.loaders,this,a)}catch(e){processResult(e);return}s({resource:this.resource,loaders:this.loaders,context:a,processResource:(e,t,n)=>{const i=T(t);if(i){c.readResourceForScheme.for(i).callAsync(t,this,((e,r)=>{if(e)return n(e);if(typeof r!=="string"&&!r){return n(new C(i,t))}return n(null,r)}))}else{e.addDependency(t);r.readFile(t,n)}}},((e,t)=>{a._compilation=a._compiler=a._module=a.fs=undefined;if(!t){return processResult(e||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies=new P;this.buildInfo.fileDependencies.addAll(t.fileDependencies);this.buildInfo.contextDependencies=new P;this.buildInfo.contextDependencies.addAll(t.contextDependencies);this.buildInfo.missingDependencies=new P;this.buildInfo.missingDependencies.addAll(t.missingDependencies);if(this.loaders.length>0&&this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new P}for(const e of this.loaders){this.buildInfo.buildDependencies.add(e.loader)}this.buildInfo.cacheable=t.cacheable;processResult(e,t.result)}))}markModuleAsErrored(e){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=e;this.addError(e)}applyNoParseRule(e,t){if(typeof e==="string"){return t.startsWith(e)}if(typeof e==="function"){return e(t)}return e.test(t)}shouldPreventParsing(e,t){if(!e){return false}if(!Array.isArray(e)){return this.applyNoParseRule(e,t)}for(let n=0;n{if(n){this.markModuleAsErrored(n);this._initBuildHash(t);return i()}const handleParseError=n=>{const r=this._source.source();const s=this.loaders.map((n=>z(e.context,n.loader,t.compiler.root)));const a=new E(r,n,s,this.type);this.markModuleAsErrored(a);this._initBuildHash(t);return i()};const handleParseResult=e=>{this.dependencies.sort(R(N((e=>e.loc),O),L(this.dependencies)));this._initBuildHash(t);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{const e=t.options.snapshot.module;if(!this.buildInfo.cacheable||!e){return i()}let n=undefined;const checkDependencies=e=>{for(const r of e){if(!W.test(r)){if(n===undefined)n=new Set;n.add(r);e.delete(r);try{const n=r.replace(/[\\/]?\*.*$/,"");const i=j(t.fileSystemInfo.fs,this.context,n);if(i!==r&&W.test(i)){(n!==r?this.buildInfo.contextDependencies:e).add(i)}}catch(e){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(n!==undefined){const e=H();this.addWarning(new e(this,n))}t.fileSystemInfo.createSnapshot(s,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,e,((e,t)=>{if(e){this.markModuleAsErrored(e);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=t;return i()}))};const r=e.module&&e.module.noParse;if(this.shouldPreventParsing(r,this.request)){this.buildInfo.parsed=false;this._initBuildHash(t);return handleBuildDone()}let a;try{a=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:t,options:e})}catch(e){handleParseError(e);return}handleParseResult(a)}))}getConcatenationBailoutReason(e){return this.generator.getConcatenationBailoutReason(this,e)}getSideEffectsConnectionState(e){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return k.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let t=false;for(const n of this.dependencies){const r=n.getModuleEvaluationSideEffectsState(e);if(r===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(e)){this._addedSideEffectsBailout.add(e);e.getOptimizationBailout(this).push((()=>`Dependency (${n.type}) with side effects at ${I(n.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(r!==k.CIRCULAR_CONNECTION){t=k.addConnectionStates(t,r)}}this._isEvaluatingSideEffects=false;return t}else{return true}}getSourceTypes(){return this.generator.getTypes(this)}codeGeneration({dependencyTemplates:e,runtimeTemplate:t,moduleGraph:n,chunkGraph:r,runtime:i,concatenationScope:s}){const a=new Set;if(!this.buildInfo.parsed){a.add(S.module);a.add(S.exports);a.add(S.thisAsExports)}let c;const getData=()=>{if(c===undefined)c=new Map;return c};const u=new Map;for(const c of this.generator.getTypes(this)){const l=this.error?new m("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:e,runtimeTemplate:t,moduleGraph:n,chunkGraph:r,runtimeRequirements:a,runtime:i,concatenationScope:s,getData:getData,type:c});if(l){u.set(c,new p(l))}}const l={sources:u,runtimeRequirements:a,data:c};return l}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:e,valueCacheVersions:t},n){if(this._forceBuild)return n(null,true);if(this.error)return n(null,true);if(!this.buildInfo.cacheable)return n(null,true);if(!this.buildInfo.snapshot)return n(null,true);if(this.buildInfo.valueDependencies){if(!t)return n(null,true);for(const[e,r]of this.buildInfo.valueDependencies){if(r===undefined)return n(null,true);const i=t.get(e);if(r!==i)return n(null,true)}}e.checkSnapshotValid(this.buildInfo.snapshot,((e,t)=>{n(e,!t)}))}size(e){const t=this._sourceSizes===undefined?undefined:this._sourceSizes.get(e);if(t!==undefined){return t}const n=Math.max(1,this.generator.getSize(this,e));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(e,n);return n}addCacheDependencies(e,t,n,r){const{snapshot:i,buildDependencies:s}=this.buildInfo;if(i){e.addAll(i.getFileIterable());t.addAll(i.getContextIterable());n.addAll(i.getMissingIterable())}else{const{fileDependencies:r,contextDependencies:i,missingDependencies:s}=this.buildInfo;if(r!==undefined)e.addAll(r);if(i!==undefined)t.addAll(i);if(s!==undefined)n.addAll(s)}if(s!==undefined){r.addAll(s)}}updateHash(e,t){e.update(this.buildInfo.hash);this.generator.updateHash(e,{module:this,...t});super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this._source);t(this._sourceSizes);t(this.error);t(this._lastSuccessfulBuildMeta);t(this._forceBuild);super.serialize(e)}static deserialize(e){const t=new NormalModule({layer:null,type:"",resource:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});t.deserialize(e);return t}deserialize(e){const{read:t}=e;this._source=t();this._sourceSizes=t();this.error=t();this._lastSuccessfulBuildMeta=t();this._forceBuild=t();super.deserialize(e)}}q(NormalModule,"webpack/lib/NormalModule");e.exports=NormalModule},43229:(e,t,n)=>{"use strict";const r=n(62355);const{AsyncSeriesBailHook:i,SyncWaterfallHook:s,SyncBailHook:a,SyncHook:c,HookMap:u}=n(92960);const l=n(53453);const d=n(40674);const p=n(53520);const h=n(94288);const m=n(1976);const g=n(92299);const y=n(73817);const _=n(19311);const b=n(83379);const{getScheme:x}=n(45754);const{cachedCleverMerge:k,cachedSetProperty:E}=n(90149);const{join:w}=n(95396);const{parseResource:S}=n(49197);const C={};const M={};const I={};const P=/^([^!]+)!=!/;const loaderToIdent=e=>{if(!e.options){return e.loader}if(typeof e.options==="string"){return e.loader+"?"+e.options}if(typeof e.options!=="object"){throw new Error("loader options must be string or object")}if(e.ident){return e.loader+"??"+e.ident}return e.loader+"?"+JSON.stringify(e.options)};const stringifyLoadersAndResource=(e,t)=>{let n="";for(const t of e){n+=loaderToIdent(t)+"!"}return n+t};const identToLoaderRequest=e=>{const t=e.indexOf("?");if(t>=0){const n=e.substr(0,t);const r=e.substr(t+1);return{loader:n,options:r}}else{return{loader:e,options:undefined}}};const needCalls=(e,t)=>n=>{if(--e===0){return t(n)}if(n&&e>0){e=NaN;return t(n)}};const mergeGlobalOptions=(e,t,n)=>{const r=t.split("/");let i;let s="";for(const t of r){s=s?`${s}/${t}`:t;const n=e[s];if(typeof n==="object"){if(i===undefined){i=n}else{i=k(i,n)}}}if(i===undefined){return n}else{return k(i,n)}};const deprecationChangedHookMessage=(e,t)=>{const n=t.taps.map((e=>e.name)).join(", ");return`NormalModuleFactory.${e} (${n}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const T=new WeakMap;const O=new WeakMap;const R=new y([new m("test","resource"),new m("mimetype"),new m("dependency"),new m("include","resource"),new m("exclude","resource",true),new m("resource"),new m("resourceQuery"),new m("resourceFragment"),new m("realResource"),new m("issuer"),new m("compiler"),new m("issuerLayer"),new g,new h("type"),new h("sideEffects"),new h("parser"),new h("resolve"),new h("generator"),new h("layer"),new _]);class NormalModuleFactory extends d{constructor({context:e,fs:t,resolverFactory:n,options:r,associatedObjectForCache:d,layers:h=false}){super();this.hooks=Object.freeze({resolve:new i(["resolveData"]),resolveForScheme:new u((()=>new i(["resourceData","resolveData"]))),factorize:new i(["resolveData"]),beforeResolve:new i(["resolveData"]),afterResolve:new i(["resolveData"]),createModule:new i(["createData","resolveData"]),module:new s(["module","createData","resolveData"]),createParser:new u((()=>new a(["parserOptions"]))),parser:new u((()=>new c(["parser","parserOptions"]))),createGenerator:new u((()=>new a(["generatorOptions"]))),generator:new u((()=>new c(["generator","generatorOptions"])))});this.resolverFactory=n;this.ruleSet=R.compile([{rules:r.defaultRules},{rules:r.rules}]);this.unsafeCache=!!r.unsafeCache;this.cachePredicate=typeof r.unsafeCache==="function"?r.unsafeCache:()=>true;this.context=e||"";this.fs=t;this._globalParserOptions=r.parser;this._globalGeneratorOptions=r.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new WeakSet;const m=S.bindCache(d);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((e,t)=>{this.hooks.resolve.callAsync(e,((n,r)=>{if(n)return t(n);if(r===false)return t();if(r instanceof l)return t(null,r);if(typeof r==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(e,((n,r)=>{if(n)return t(n);if(typeof r==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(r===false)return t();const i=e.createData;this.hooks.createModule.callAsync(i,e,((n,r)=>{if(!r){if(!e.request){return t(new Error("Empty dependency (no request)"))}r=new p(i)}r=this.hooks.module.call(r,i,e);return t(null,r)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((e,t)=>{const{contextInfo:n,context:r,dependencies:i,request:s,resolveOptions:a,fileDependencies:c,missingDependencies:u,contextDependencies:l}=e;const d=i.length>0&&i[0].category||"";const p=this.getResolver("loader");let g=undefined;let y=s;const _=P.exec(s);if(_){let e=_[1];if(e.charCodeAt(0)===46){const t=e.charCodeAt(1);if(t===47||t===46&&e.charCodeAt(2)===47){e=w(this.fs,r,e)}}g={resource:e,...m(e)};y=s.substr(_[0].length)}const b=y.charCodeAt(0);const S=y.charCodeAt(1);const M=b===45&&S===33;const I=M||b===33;const T=b===33&&S===33;const O=y.slice(M||T?2:I?1:0).split(/!+/);const R=O.pop();const N=O.map(identToLoaderRequest);const L={fileDependencies:c,missingDependencies:u,contextDependencies:l};let $;const j=x(R);let z;const U=needCalls(2,(a=>{if(a)return t(a);try{for(const e of z){if(typeof e.options==="string"&&e.options[0]==="?"){const t=e.options.substr(1);if(t==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}e.options=this.ruleSet.references.get(t);if(e.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}e.ident=t}}}catch(e){return t(e)}if(!$){return t(null,i[0].createIgnoredModule(r))}const c=(g!==undefined?`${g.resource}!=!`:"")+stringifyLoadersAndResource(z,$.resource);const u=g||$;const l=this.ruleSet.exec({resource:u.path,realResource:$.path,resourceQuery:u.query,resourceFragment:u.fragment,mimetype:g?"":$.data.mimetype||"",dependency:d,descriptionData:g?undefined:$.data.descriptionFileData,issuer:n.issuer,compiler:n.compiler,issuerLayer:n.issuerLayer||""});const m={};const y=[];const _=[];const b=[];for(const e of l){if(e.type==="use"){if(!I&&!T){_.push(e.value)}}else if(e.type==="use-post"){if(!T){y.push(e.value)}}else if(e.type==="use-pre"){if(!M&&!T){b.push(e.value)}}else if(typeof e.value==="object"&&e.value!==null&&typeof m[e.type]==="object"&&m[e.type]!==null){m[e.type]=k(m[e.type],e.value)}else{m[e.type]=e.value}}let x,E,w;const S=needCalls(3,(r=>{if(r){return t(r)}const i=x;if(g===undefined){for(const e of z)i.push(e);for(const e of E)i.push(e)}else{for(const e of E)i.push(e);for(const e of z)i.push(e)}for(const e of w)i.push(e);const a=m.type;const u=m.resolve;const l=m.layer;if(l!==undefined&&!h){return t(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}Object.assign(e.createData,{layer:l===undefined?n.issuerLayer||null:l,request:stringifyLoadersAndResource(i,$.resource),userRequest:c,rawRequest:s,loaders:i,resource:$.resource,matchResource:g?g.resource:undefined,resourceResolveData:$.data,settings:m,type:a,parser:this.getParser(a,m.parser),parserOptions:m.parser,generator:this.getGenerator(a,m.generator),generatorOptions:m.generator,resolveOptions:u});t()}));this.resolveRequestArray(n,this.context,y,p,L,((e,t)=>{x=t;S(e)}));this.resolveRequestArray(n,this.context,_,p,L,((e,t)=>{E=t;S(e)}));this.resolveRequestArray(n,this.context,b,p,L,((e,t)=>{w=t;S(e)}))}));this.resolveRequestArray(n,r,N,p,L,((e,t)=>{if(e)return U(e);z=t;U()}));if(j){$={resource:R,data:{},path:undefined,query:undefined,fragment:undefined};this.hooks.resolveForScheme.for(j).callAsync($,e,(e=>{if(e)return U(e);U()}))}else if(/^($|\?)/.test(R)){$={resource:R,data:{},...m(R)};U()}else{const e=this.getResolver("normal",d?E(a||C,"dependencyType",d):a);this.resolveResource(n,r,R,e,L,((e,t,n)=>{if(e)return U(e);if(t!==false){$={resource:t,data:n,...m(t)}}U()}))}}))}create(e,t){const n=e.dependencies;if(this.unsafeCache){const e=T.get(n[0]);if(e){const{module:n}=e;if(!this._restoredUnsafeCacheEntries.has(n)){const e=O.get(n);n.restoreFromUnsafeCache(e,this);this._restoredUnsafeCacheEntries.add(n)}return t(null,e)}}const r=e.context||this.context;const i=e.resolveOptions||C;const s=n[0];const a=s.request;const c=e.contextInfo;const u=new b;const l=new b;const d=new b;const p={contextInfo:c,resolveOptions:i,context:r,request:a,dependencies:n,fileDependencies:u,missingDependencies:l,contextDependencies:d,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(p,((e,r)=>{if(e){return t(e,{fileDependencies:u,missingDependencies:l,contextDependencies:d})}if(r===false){return t(null,{fileDependencies:u,missingDependencies:l,contextDependencies:d})}if(typeof r==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(p,((e,r)=>{if(e){return t(e,{fileDependencies:u,missingDependencies:l,contextDependencies:d})}const i={module:r,fileDependencies:u,missingDependencies:l,contextDependencies:d};if(this.unsafeCache&&p.cacheable&&r&&r.restoreFromUnsafeCache&&this.cachePredicate(r)){for(const e of n){T.set(e,i)}if(!O.has(r)){O.set(r,r.getUnsafeCacheData())}}t(null,i)}))}))}resolveResource(e,t,n,r,i,s){r.resolve(e,t,n,i,((a,c,u)=>{if(a){return this._resolveResourceErrorHints(a,e,t,n,r,i,((e,t)=>{if(e){a.message+=`\nAn fatal error happened during resolving additional hints for this error: ${e.message}`;a.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${e.stack}`;return s(a)}if(t&&t.length>0){a.message+=`\n${t.join("\n\n")}`}s(a)}))}s(a,c,u)}))}_resolveResourceErrorHints(e,t,n,i,s,a,c){r.parallel([e=>{if(!s.options.fullySpecified)return e();s.withOptions({fullySpecified:false}).resolve(t,n,i,a,((t,n)=>{if(!t&&n){const t=S(n).path.replace(/^.*[\\/]/,"");return e(null,`Did you mean '${t}'?\nBREAKING CHANGE: The request '${i}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}e()}))},e=>{if(!s.options.enforceExtension)return e();s.withOptions({enforceExtension:false,extensions:[]}).resolve(t,n,i,a,((t,n)=>{if(!t&&n){let t="";const n=/(\.[^.]+)(\?|$)/.exec(i);if(n){const e=i.replace(/(\.[^.]+)(\?|$)/,"$2");if(s.options.extensions.has(n[1])){t=`Did you mean '${e}'?`}else{t=`Did you mean '${e}'? Also note that '${n[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{t=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return e(null,`The request '${i}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${t}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}e()}))},e=>{if(/^\.\.?\//.test(i)||s.options.preferRelative){return e()}s.resolve(t,n,`./${i}`,a,((t,n)=>{if(t||!n)return e();const r=s.options.modules.map((e=>Array.isArray(e)?e.join(", "):e)).join(", ");e(null,`Did you mean './${i}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${r}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((e,t)=>{if(e)return c(e);c(null,t.filter(Boolean))}))}resolveRequestArray(e,t,n,i,s,a){if(n.length===0)return a(null,n);r.map(n,((n,r)=>{i.resolve(e,t,n.loader,s,((a,c)=>{if(a&&/^[^/]*$/.test(n.loader)&&!/-loader$/.test(n.loader)){return i.resolve(e,t,n.loader+"-loader",s,(e=>{if(!e){a.message=a.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${n.loader}-loader' instead of '${n.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}r(a)}))}if(a)return r(a);const u=identToLoaderRequest(c);const l={loader:u.loader,options:n.options===undefined?u.options:n.options,ident:n.options===undefined?undefined:n.ident};return r(null,l)}))}),a)}getParser(e,t=M){let n=this.parserCache.get(e);if(n===undefined){n=new WeakMap;this.parserCache.set(e,n)}let r=n.get(t);if(r===undefined){r=this.createParser(e,t);n.set(t,r)}return r}createParser(e,t={}){t=mergeGlobalOptions(this._globalParserOptions,e,t);const n=this.hooks.createParser.for(e).call(t);if(!n){throw new Error(`No parser registered for ${e}`)}this.hooks.parser.for(e).call(n,t);return n}getGenerator(e,t=I){let n=this.generatorCache.get(e);if(n===undefined){n=new WeakMap;this.generatorCache.set(e,n)}let r=n.get(t);if(r===undefined){r=this.createGenerator(e,t);n.set(t,r)}return r}createGenerator(e,t={}){t=mergeGlobalOptions(this._globalGeneratorOptions,e,t);const n=this.hooks.createGenerator.for(e).call(t);if(!n){throw new Error(`No generator registered for ${e}`)}this.hooks.generator.for(e).call(n,t);return n}getResolver(e,t){return this.resolverFactory.get(e,t)}}e.exports=NormalModuleFactory},92234:(e,t,n)=>{"use strict";const{join:r,dirname:i}=n(95396);class NormalModuleReplacementPlugin{constructor(e,t){this.resourceRegExp=e;this.newResource=t}apply(e){const t=this.resourceRegExp;const n=this.newResource;e.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(s=>{s.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(e=>{if(t.test(e.request)){if(typeof n==="function"){n(e)}else{e.request=n}}}));s.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(s=>{const a=s.createData;if(t.test(a.resource)){if(typeof n==="function"){n(s)}else{const t=e.inputFileSystem;if(n.startsWith("/")||n.length>1&&n[1]===":"){a.resource=n}else{a.resource=r(t,i(t,a.resource),n)}}}}))}))}}e.exports=NormalModuleReplacementPlugin},82414:(e,t)=>{"use strict";t.STAGE_BASIC=-10;t.STAGE_DEFAULT=0;t.STAGE_ADVANCED=10},97614:e=>{"use strict";class OptionsApply{process(e,t){}}e.exports=OptionsApply},2172:(e,t,n)=>{"use strict";class Parser{parse(e,t){const r=n(75884);throw new r}}e.exports=Parser},13125:(e,t,n)=>{"use strict";const r=n(88281);class PrefetchPlugin{constructor(e,t){if(t){this.context=e;this.request=t}else{this.context=null;this.request=e}}apply(e){e.hooks.compilation.tap("PrefetchPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,t)}));e.hooks.make.tapAsync("PrefetchPlugin",((t,n)=>{t.addModuleChain(this.context||e.context,new r(this.request),(e=>{n(e)}))}))}}e.exports=PrefetchPlugin},52923:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(78760);const s=n(63076);const a=n(63433);const c=n(53520);const{contextify:u}=n(49197);const median3=(e,t,n)=>e+t+n-Math.max(e,t,n)-Math.min(e,t,n);const createDefaultHandler=(e,t)=>{const n=[];const defaultHandler=(r,i,...s)=>{if(e){if(r===0){n.length=0}const e=[i,...s];const a=e.map((e=>e.replace(/\d+\/\d+ /g,"")));const c=Date.now();const u=Math.max(a.length,n.length);for(let e=u;e>=0;e--){const r=e0){r=n[e-1].value+" > "+r}const a=`${" | ".repeat(e)}${s} ms ${r}`;const c=s;{if(c>1e4){t.error(a)}else if(c>1e3){t.warn(a)}else if(c>10){t.info(a)}else if(c>5){t.log(a)}else{t.debug(a)}}}if(r===undefined){n.length=e}else{i.value=r;i.time=c;n.length=e+1}}}else{n[e]={value:r,time:c}}}}t.status(`${Math.floor(r*100)}%`,i,...s);if(r===1||!i&&s.length===0)t.status()};return defaultHandler};const l=new WeakMap;class ProgressPlugin{static getReporter(e){return l.get(e)}constructor(e={}){if(typeof e==="function"){e={handler:e}}r(i,e,{name:"Progress Plugin",baseDataPath:"options"});e={...ProgressPlugin.defaultOptions,...e};this.profile=e.profile;this.handler=e.handler;this.modulesCount=e.modulesCount;this.dependenciesCount=e.dependenciesCount;this.showEntries=e.entries;this.showModules=e.modules;this.showDependencies=e.dependencies;this.showActiveModules=e.activeModules;this.percentBy=e.percentBy}apply(e){const t=this.handler||createDefaultHandler(this.profile,e.getInfrastructureLogger("webpack.Progress"));if(e instanceof a){this._applyOnMultiCompiler(e,t)}else if(e instanceof s){this._applyOnCompiler(e,t)}}_applyOnMultiCompiler(e,t){const n=e.compilers.map((()=>[0]));e.compilers.forEach(((e,r)=>{new ProgressPlugin(((e,i,...s)=>{n[r]=[e,i,...s];let a=0;for(const[e]of n)a+=e;t(a/n.length,`[${r}] ${i}`,...s)})).apply(e)}))}_applyOnCompiler(e,t){const n=this.showEntries;const r=this.showModules;const i=this.showDependencies;const s=this.showActiveModules;let a="";let c="";let d=0;let p=0;let h=0;let m=0;let g=0;let y=1;let _=0;let b=0;let x=0;const k=new Set;let E=0;const updateThrottled=()=>{if(E+500{const l=[];const w=_/Math.max(d||this.modulesCount||1,m);const S=x/Math.max(h||this.dependenciesCount||1,y);const C=b/Math.max(p||1,g);let M;switch(this.percentBy){case"entries":M=S;break;case"dependencies":M=C;break;case"modules":M=w;break;default:M=median3(w,S,C)}const I=.1+M*.55;if(c){l.push(`import loader ${u(e.context,c,e.root)}`)}else{const e=[];if(n){e.push(`${x}/${y} entries`)}if(i){e.push(`${b}/${g} dependencies`)}if(r){e.push(`${_}/${m} modules`)}if(s){e.push(`${k.size} active`)}if(e.length>0){l.push(e.join(" "))}if(s){l.push(a)}}t(I,"building",...l);E=Date.now()};const factorizeAdd=()=>{g++;if(g<50||g%100===0)updateThrottled()};const factorizeDone=()=>{b++;if(b<50||b%100===0)updateThrottled()};const moduleAdd=()=>{m++;if(m<50||m%100===0)updateThrottled()};const moduleBuild=e=>{const t=e.identifier();if(t){k.add(t);a=t;update()}};const entryAdd=(e,t)=>{y++;if(y<5||y%10===0)updateThrottled()};const moduleDone=e=>{_++;if(s){const t=e.identifier();if(t){k.delete(t);if(a===t){a="";for(const e of k){a=e}update();return}}}if(_<50||_%100===0)updateThrottled()};const entryDone=(e,t)=>{x++;update()};const w=e.getCache("ProgressPlugin").getItemCache("counts",null);let S;e.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!S){S=w.getPromise().then((e=>{if(e){d=d||e.modulesCount;p=p||e.dependenciesCount}return e}),(e=>{}))}}));e.hooks.afterCompile.tapPromise("ProgressPlugin",(e=>{if(e.compiler.isChild())return Promise.resolve();return S.then((async e=>{if(!e||e.modulesCount!==m||e.dependenciesCount!==g){await w.storePromise({modulesCount:m,dependenciesCount:g})}}))}));e.hooks.compilation.tap("ProgressPlugin",(n=>{if(n.compiler.isChild())return;d=m;h=y;p=g;m=g=y=0;_=b=x=0;n.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);n.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);n.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);n.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(s){n.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}n.hooks.addEntry.tap("ProgressPlugin",entryAdd);n.hooks.failedEntry.tap("ProgressPlugin",entryDone);n.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const r={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const i=Object.keys(r).length;Object.keys(r).forEach(((s,a)=>{const c=r[s];const u=a/i*.25+.7;n.hooks[s].intercept({name:"ProgressPlugin",call(){t(u,"sealing",c)},done(){l.set(e,undefined);t(u,"sealing",c)},result(){t(u,"sealing",c)},error(){t(u,"sealing",c)},tap(e){l.set(n.compiler,((n,...r)=>{t(u,"sealing",c,e.name,...r)}));t(u,"sealing",c,e.name)}})}))}));e.hooks.make.intercept({name:"ProgressPlugin",call(){t(.1,"building")},done(){t(.65,"building")}});const interceptHook=(n,r,i,s)=>{n.intercept({name:"ProgressPlugin",call(){t(r,i,s)},done(){l.set(e,undefined);t(r,i,s)},result(){t(r,i,s)},error(){t(r,i,s)},tap(n){l.set(e,((e,...a)=>{t(r,i,s,n.name,...a)}));t(r,i,s,n.name)}})};e.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){t(0,"")}});interceptHook(e.cache.hooks.endIdle,.01,"cache","end idle");e.hooks.initialize.intercept({name:"ProgressPlugin",call(){t(0,"")}});interceptHook(e.hooks.initialize,.01,"setup","initialize");interceptHook(e.hooks.beforeRun,.02,"setup","before run");interceptHook(e.hooks.run,.03,"setup","run");interceptHook(e.hooks.watchRun,.03,"setup","watch run");interceptHook(e.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(e.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(e.hooks.beforeCompile,.06,"setup","before compile");interceptHook(e.hooks.compile,.07,"setup","compile");interceptHook(e.hooks.thisCompilation,.08,"setup","compilation");interceptHook(e.hooks.compilation,.09,"setup","compilation");interceptHook(e.hooks.finishMake,.69,"building","finish");interceptHook(e.hooks.emit,.95,"emitting","emit");interceptHook(e.hooks.afterEmit,.98,"emitting","after emit");interceptHook(e.hooks.done,.99,"done","plugins");e.hooks.done.intercept({name:"ProgressPlugin",done(){t(.99,"")}});interceptHook(e.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(e.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(e.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(e.hooks.watchClose,.99,"end","closing watch compilation");e.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){t(1,"")}});e.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){t(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};e.exports=ProgressPlugin},40313:(e,t,n)=>{"use strict";const r=n(66298);const i=n(1335);const{approve:s}=n(48472);class ProvidePlugin{constructor(e){this.definitions=e}apply(e){const t=this.definitions;e.hooks.compilation.tap("ProvidePlugin",((e,{normalModuleFactory:n})=>{e.dependencyTemplates.set(r,new r.Template);e.dependencyFactories.set(i,n);e.dependencyTemplates.set(i,new i.Template);const handler=(e,n)=>{Object.keys(t).forEach((n=>{const r=[].concat(t[n]);const a=n.split(".");if(a.length>0){a.slice(1).forEach(((t,n)=>{const r=a.slice(0,n+1).join(".");e.hooks.canRename.for(r).tap("ProvidePlugin",s)}))}e.hooks.expression.for(n).tap("ProvidePlugin",(t=>{const s=n.includes(".")?`__webpack_provided_${n.replace(/\./g,"_dot_")}`:n;const a=new i(r[0],s,r.slice(1),t.range);a.loc=t.loc;e.state.module.addDependency(a);return true}));e.hooks.call.for(n).tap("ProvidePlugin",(t=>{const s=n.includes(".")?`__webpack_provided_${n.replace(/\./g,"_dot_")}`:n;const a=new i(r[0],s,r.slice(1),t.callee.range);a.loc=t.callee.loc;e.state.module.addDependency(a);e.walkExpressions(t.arguments);return true}))}))};n.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);n.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);n.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}e.exports=ProvidePlugin},22804:(e,t,n)=>{"use strict";const{OriginalSource:r,RawSource:i}=n(48135);const s=n(53453);const a=n(56202);const c=new Set(["javascript"]);class RawModule extends s{constructor(e,t,n,r){super("javascript/dynamic",null);this.sourceStr=e;this.identifierStr=t||this.sourceStr;this.readableIdentifierStr=n||this.identifierStr;this.runtimeRequirements=r||null}getSourceTypes(){return c}identifier(){return this.identifierStr}size(e){return Math.max(1,this.sourceStr.length)}readableIdentifier(e){return e.shorten(this.readableIdentifierStr)}needBuild(e,t){return t(null,!this.buildMeta)}build(e,t,n,r,i){this.buildMeta={};this.buildInfo={cacheable:true};i()}codeGeneration(e){const t=new Map;if(this.useSourceMap||this.useSimpleSourceMap){t.set("javascript",new r(this.sourceStr,this.identifier()))}else{t.set("javascript",new i(this.sourceStr))}return{sources:t,runtimeRequirements:this.runtimeRequirements}}updateHash(e,t){e.update(this.sourceStr);super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.sourceStr);t(this.identifierStr);t(this.readableIdentifierStr);t(this.runtimeRequirements);super.serialize(e)}deserialize(e){const{read:t}=e;this.sourceStr=t();this.identifierStr=t();this.readableIdentifierStr=t();this.runtimeRequirements=t();super.deserialize(e)}}a(RawModule,"webpack/lib/RawModule");e.exports=RawModule},43806:(e,t,n)=>{"use strict";const{compareNumbers:r}=n(68673);const i=n(49197);class RecordIdsPlugin{constructor(e){this.options=e||{}}apply(e){const t=this.options.portableIds;const n=i.makePathsRelative.bindContextCache(e.context,e.root);const getModuleIdentifier=e=>{if(t){return n(e.identifier())}return e.identifier()};e.hooks.compilation.tap("RecordIdsPlugin",(e=>{e.hooks.recordModules.tap("RecordIdsPlugin",((t,n)=>{const i=e.chunkGraph;if(!n.modules)n.modules={};if(!n.modules.byIdentifier)n.modules.byIdentifier={};const s=new Set;for(const e of t){const t=i.getModuleId(e);if(typeof t!=="number")continue;const r=getModuleIdentifier(e);n.modules.byIdentifier[r]=t;s.add(t)}n.modules.usedIds=Array.from(s).sort(r)}));e.hooks.reviveModules.tap("RecordIdsPlugin",((t,n)=>{if(!n.modules)return;if(n.modules.byIdentifier){const r=e.chunkGraph;const i=new Set;for(const e of t){const t=r.getModuleId(e);if(t!==null)continue;const s=getModuleIdentifier(e);const a=n.modules.byIdentifier[s];if(a===undefined)continue;if(i.has(a))continue;i.add(a);r.setModuleId(e,a)}}if(Array.isArray(n.modules.usedIds)){e.usedModuleIds=new Set(n.modules.usedIds)}}));const getChunkSources=e=>{const t=[];for(const n of e.groupsIterable){const r=n.chunks.indexOf(e);if(n.name){t.push(`${r} ${n.name}`)}else{for(const e of n.origins){if(e.module){if(e.request){t.push(`${r} ${getModuleIdentifier(e.module)} ${e.request}`)}else if(typeof e.loc==="string"){t.push(`${r} ${getModuleIdentifier(e.module)} ${e.loc}`)}else if(e.loc&&typeof e.loc==="object"&&"start"in e.loc){t.push(`${r} ${getModuleIdentifier(e.module)} ${JSON.stringify(e.loc.start)}`)}}}}}return t};e.hooks.recordChunks.tap("RecordIdsPlugin",((e,t)=>{if(!t.chunks)t.chunks={};if(!t.chunks.byName)t.chunks.byName={};if(!t.chunks.bySource)t.chunks.bySource={};const n=new Set;for(const r of e){if(typeof r.id!=="number")continue;const e=r.name;if(e)t.chunks.byName[e]=r.id;const i=getChunkSources(r);for(const e of i){t.chunks.bySource[e]=r.id}n.add(r.id)}t.chunks.usedIds=Array.from(n).sort(r)}));e.hooks.reviveChunks.tap("RecordIdsPlugin",((t,n)=>{if(!n.chunks)return;const r=new Set;if(n.chunks.byName){for(const e of t){if(e.id!==null)continue;if(!e.name)continue;const t=n.chunks.byName[e.name];if(t===undefined)continue;if(r.has(t))continue;r.add(t);e.id=t;e.ids=[t]}}if(n.chunks.bySource){for(const e of t){if(e.id!==null)continue;const t=getChunkSources(e);for(const i of t){const t=n.chunks.bySource[i];if(t===undefined)continue;if(r.has(t))continue;r.add(t);e.id=t;e.ids=[t];break}}}if(Array.isArray(n.chunks.usedIds)){e.usedChunkIds=new Set(n.chunks.usedIds)}}))}))}}e.exports=RecordIdsPlugin},80910:(e,t,n)=>{"use strict";const{contextify:r}=n(49197);class RequestShortener{constructor(e,t){this.contextify=r.bindContextCache(e,t)}shorten(e){if(!e){return e}return this.contextify(e)}}e.exports=RequestShortener},10830:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66298);const{toConstantDependency:s}=n(48472);e.exports=class RequireJsStuffPlugin{apply(e){e.hooks.compilation.tap("RequireJsStuffPlugin",((e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(i,new i.Template);const handler=(e,t)=>{if(t.requireJs===undefined||!t.requireJs){return}e.hooks.call.for("require.config").tap("RequireJsStuffPlugin",s(e,"undefined"));e.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",s(e,"undefined"));e.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",s(e,JSON.stringify("0.0.0")));e.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",s(e,r.uncaughtErrorHandler,[r.uncaughtErrorHandler]))};t.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(e,t,n)=>{"use strict";const r=n(17583).ResolverFactory;const{HookMap:i,SyncHook:s,SyncWaterfallHook:a}=n(92960);const{cachedCleverMerge:c,removeOperations:u,resolveByProperty:l}=n(90149);const d={};const convertToResolveOptions=e=>{const{dependencyType:t,plugins:n,...r}=e;const i={...r,plugins:n&&n.filter((e=>e!=="..."))};if(!i.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const s=i;return u(l(s,"byDependency",t))};e.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new i((()=>new a(["resolveOptions"]))),resolver:new i((()=>new s(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(e,t=d){let n=this.cache.get(e);if(!n){n={direct:new WeakMap,stringified:new Map};this.cache.set(e,n)}const r=n.direct.get(t);if(r){return r}const i=JSON.stringify(t);const s=n.stringified.get(i);if(s){n.direct.set(t,s);return s}const a=this._create(e,t);n.direct.set(t,a);n.stringified.set(i,a);return a}_create(e,t){const n={...t};const i=convertToResolveOptions(this.hooks.resolveOptions.for(e).call(t));const s=r.createResolver(i);if(!s){throw new Error("No resolver created")}const a=new WeakMap;s.withOptions=t=>{const r=a.get(t);if(r!==undefined)return r;const i=c(n,t);const s=this.get(e,i);a.set(t,s);return s};this.hooks.resolver.for(e).call(s,i,n);return s}}},76150:(e,t)=>{"use strict";t.require="__webpack_require__";t.requireScope="__webpack_require__.*";t.exports="__webpack_exports__";t.thisAsExports="top-level-this-exports";t.returnExportsFromRuntime="return-exports-from-runtime";t.module="module";t.moduleId="module.id";t.moduleLoaded="module.loaded";t.publicPath="__webpack_require__.p";t.entryModuleId="__webpack_require__.s";t.moduleCache="__webpack_require__.c";t.moduleFactories="__webpack_require__.m";t.moduleFactoriesAddOnly="__webpack_require__.m (add only)";t.ensureChunk="__webpack_require__.e";t.ensureChunkHandlers="__webpack_require__.f";t.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";t.prefetchChunk="__webpack_require__.E";t.prefetchChunkHandlers="__webpack_require__.F";t.preloadChunk="__webpack_require__.G";t.preloadChunkHandlers="__webpack_require__.H";t.definePropertyGetters="__webpack_require__.d";t.makeNamespaceObject="__webpack_require__.r";t.createFakeNamespaceObject="__webpack_require__.t";t.compatGetDefaultExport="__webpack_require__.n";t.harmonyModuleDecorator="__webpack_require__.hmd";t.nodeModuleDecorator="__webpack_require__.nmd";t.getFullHash="__webpack_require__.h";t.wasmInstances="__webpack_require__.w";t.instantiateWasm="__webpack_require__.v";t.uncaughtErrorHandler="__webpack_require__.oe";t.scriptNonce="__webpack_require__.nc";t.loadScript="__webpack_require__.l";t.chunkName="__webpack_require__.cn";t.runtimeId="__webpack_require__.j";t.getChunkScriptFilename="__webpack_require__.u";t.getChunkUpdateScriptFilename="__webpack_require__.hu";t.startup="__webpack_require__.x";t.startupNoDefault="__webpack_require__.x (no default handler)";t.startupOnlyAfter="__webpack_require__.x (only after)";t.startupOnlyBefore="__webpack_require__.x (only before)";t.chunkCallback="webpackChunk";t.startupEntrypoint="__webpack_require__.X";t.onChunksLoaded="__webpack_require__.O";t.externalInstallChunk="__webpack_require__.C";t.interceptModuleExecution="__webpack_require__.i";t.global="__webpack_require__.g";t.shareScopeMap="__webpack_require__.S";t.initializeSharing="__webpack_require__.I";t.currentRemoteGetScope="__webpack_require__.R";t.getUpdateManifestFilename="__webpack_require__.hmrF";t.hmrDownloadManifest="__webpack_require__.hmrM";t.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";t.hmrModuleData="__webpack_require__.hmrD";t.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";t.amdDefine="__webpack_require__.amdD";t.amdOptions="__webpack_require__.amdO";t.system="__webpack_require__.System";t.hasOwnProperty="__webpack_require__.o";t.systemContext="__webpack_require__.y";t.baseURI="__webpack_require__.b";t.relativeUrl="__webpack_require__.U";t.asyncModule="__webpack_require__.a"},66804:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(48135).OriginalSource;const s=n(53453);const a=new Set(["runtime"]);class RuntimeModule extends s{constructor(e,t=0){super("runtime");this.name=e;this.stage=t;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.fullHash=false;this._cachedGeneratedCode=undefined}attach(e,t){this.compilation=e;this.chunk=t}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(e){return`webpack/runtime/${this.name}`}needBuild(e,t){return t(null,false)}build(e,t,n,r,i){i()}updateHash(e,t){e.update(this.name);e.update(`${this.stage}`);try{if(this.fullHash){e.update(this.generate())}else{e.update(this.getGeneratedCode())}}catch(t){e.update(t.message)}super.updateHash(e,t)}getSourceTypes(){return a}codeGeneration(e){const t=new Map;const n=this.getGeneratedCode();if(n){t.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new i(n,this.identifier()):new r(n))}return{sources:t,runtimeRequirements:null}}size(e){try{const e=this.getGeneratedCode();return e?e.length:0}catch(e){return 0}}generate(){const e=n(75884);throw new e}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;e.exports=RuntimeModule},89818:(e,t,n)=>{"use strict";const r=n(76150);const i=n(35424);const s=n(18161);const a=n(84997);const c=n(31164);const u=n(90202);const l=n(16710);const d=n(3236);const p=n(58957);const h=n(59179);const m=n(9609);const g=n(36100);const y=n(13376);const _=n(37522);const b=n(67104);const x=n(14676);const k=n(8299);const E=n(48977);const w=n(21355);const S=n(41982);const C=n(76752);const M=n(54825);const I=n(14146);const P=[r.chunkName,r.runtimeId,r.compatGetDefaultExport,r.createFakeNamespaceObject,r.definePropertyGetters,r.ensureChunk,r.entryModuleId,r.getFullHash,r.global,r.makeNamespaceObject,r.moduleCache,r.moduleFactories,r.moduleFactoriesAddOnly,r.interceptModuleExecution,r.publicPath,r.baseURI,r.relativeUrl,r.scriptNonce,r.uncaughtErrorHandler,r.asyncModule,r.wasmInstances,r.instantiateWasm,r.shareScopeMap,r.initializeSharing,r.loadScript,r.systemContext,r.onChunksLoaded];const T={[r.moduleLoaded]:[r.module],[r.moduleId]:[r.module]};const O={[r.definePropertyGetters]:[r.hasOwnProperty],[r.compatGetDefaultExport]:[r.definePropertyGetters],[r.createFakeNamespaceObject]:[r.definePropertyGetters,r.makeNamespaceObject,r.require],[r.initializeSharing]:[r.shareScopeMap],[r.shareScopeMap]:[r.hasOwnProperty]};class RuntimePlugin{apply(e){e.hooks.compilation.tap("RuntimePlugin",(e=>{e.dependencyTemplates.set(i,new i.Template);for(const t of P){e.hooks.runtimeRequirementInModule.for(t).tap("RuntimePlugin",((e,t)=>{t.add(r.requireScope)}));e.hooks.runtimeRequirementInTree.for(t).tap("RuntimePlugin",((e,t)=>{t.add(r.requireScope)}))}for(const t of Object.keys(O)){const n=O[t];e.hooks.runtimeRequirementInTree.for(t).tap("RuntimePlugin",((e,t)=>{for(const e of n)t.add(e)}))}for(const t of Object.keys(T)){const n=T[t];e.hooks.runtimeRequirementInModule.for(t).tap("RuntimePlugin",((e,t)=>{for(const e of n)t.add(e)}))}e.hooks.runtimeRequirementInTree.for(r.definePropertyGetters).tap("RuntimePlugin",(t=>{e.addRuntimeModule(t,new p);return true}));e.hooks.runtimeRequirementInTree.for(r.makeNamespaceObject).tap("RuntimePlugin",(t=>{e.addRuntimeModule(t,new x);return true}));e.hooks.runtimeRequirementInTree.for(r.createFakeNamespaceObject).tap("RuntimePlugin",(t=>{e.addRuntimeModule(t,new d);return true}));e.hooks.runtimeRequirementInTree.for(r.hasOwnProperty).tap("RuntimePlugin",(t=>{e.addRuntimeModule(t,new _);return true}));e.hooks.runtimeRequirementInTree.for(r.compatGetDefaultExport).tap("RuntimePlugin",(t=>{e.addRuntimeModule(t,new u);return true}));e.hooks.runtimeRequirementInTree.for(r.runtimeId).tap("RuntimePlugin",(t=>{e.addRuntimeModule(t,new S);return true}));e.hooks.runtimeRequirementInTree.for(r.publicPath).tap("RuntimePlugin",((t,n)=>{const{outputOptions:i}=e;const{publicPath:s,scriptType:a}=i;if(s==="auto"){const i=new c;if(a!=="module")n.add(r.global);e.addRuntimeModule(t,i)}else{const n=new E;if(typeof s!=="string"||/\[(full)?hash\]/.test(s)){n.fullHash=true}e.addRuntimeModule(t,n)}return true}));e.hooks.runtimeRequirementInTree.for(r.global).tap("RuntimePlugin",(t=>{e.addRuntimeModule(t,new y);return true}));e.hooks.runtimeRequirementInTree.for(r.asyncModule).tap("RuntimePlugin",(t=>{e.addRuntimeModule(t,new a);return true}));e.hooks.runtimeRequirementInTree.for(r.systemContext).tap("RuntimePlugin",(t=>{if(e.outputOptions.library.type==="system"){e.addRuntimeModule(t,new C)}return true}));e.hooks.runtimeRequirementInTree.for(r.getChunkScriptFilename).tap("RuntimePlugin",((t,n)=>{if(typeof e.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(e.outputOptions.chunkFilename)){n.add(r.getFullHash)}e.addRuntimeModule(t,new m("javascript","javascript",r.getChunkScriptFilename,(t=>t.filenameTemplate||(t.canBeInitial()?e.outputOptions.filename:e.outputOptions.chunkFilename)),false));return true}));e.hooks.runtimeRequirementInTree.for(r.getChunkUpdateScriptFilename).tap("RuntimePlugin",((t,n)=>{if(/\[(full)?hash(:\d+)?\]/.test(e.outputOptions.hotUpdateChunkFilename))n.add(r.getFullHash);e.addRuntimeModule(t,new m("javascript","javascript update",r.getChunkUpdateScriptFilename,(t=>e.outputOptions.hotUpdateChunkFilename),true));return true}));e.hooks.runtimeRequirementInTree.for(r.getUpdateManifestFilename).tap("RuntimePlugin",((t,n)=>{if(/\[(full)?hash(:\d+)?\]/.test(e.outputOptions.hotUpdateMainFilename)){n.add(r.getFullHash)}e.addRuntimeModule(t,new g("update manifest",r.getUpdateManifestFilename,e.outputOptions.hotUpdateMainFilename));return true}));e.hooks.runtimeRequirementInTree.for(r.ensureChunk).tap("RuntimePlugin",((t,n)=>{const i=t.hasAsyncChunks();if(i){n.add(r.ensureChunkHandlers)}e.addRuntimeModule(t,new h(n));return true}));e.hooks.runtimeRequirementInTree.for(r.ensureChunkIncludeEntries).tap("RuntimePlugin",((e,t)=>{t.add(r.ensureChunkHandlers)}));e.hooks.runtimeRequirementInTree.for(r.shareScopeMap).tap("RuntimePlugin",((t,n)=>{e.addRuntimeModule(t,new M);return true}));e.hooks.runtimeRequirementInTree.for(r.loadScript).tap("RuntimePlugin",((t,n)=>{e.addRuntimeModule(t,new b);return true}));e.hooks.runtimeRequirementInTree.for(r.relativeUrl).tap("RuntimePlugin",((t,n)=>{e.addRuntimeModule(t,new w);return true}));e.hooks.runtimeRequirementInTree.for(r.onChunksLoaded).tap("RuntimePlugin",((t,n)=>{e.addRuntimeModule(t,new k);return true}));e.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((t,n)=>{const{mainTemplate:r}=e;if(r.hooks.bootstrap.isUsed()||r.hooks.localVars.isUsed()||r.hooks.requireEnsure.isUsed()||r.hooks.requireExtensions.isUsed()){e.addRuntimeModule(t,new l)}}));s.getCompilationHooks(e).chunkHash.tap("RuntimePlugin",((e,t,{chunkGraph:n})=>{const r=new I;for(const t of n.getChunkRuntimeModulesIterable(e)){r.add(n.getModuleHash(t,e.runtime))}r.updateHash(t)}))}))}}e.exports=RuntimePlugin},37130:(e,t,n)=>{"use strict";const r=n(63272);const i=n(76150);const s=n(58159);const{equals:a}=n(73910);const c=n(87274);const u=n(68038);const{forEachRuntime:l,subtractRuntime:d}=n(37416);const noModuleIdErrorMessage=(e,t)=>`Module ${e.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(t.getModuleChunksIterable(e),(e=>e.name||e.id||e.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(t.moduleGraph.getIncomingConnections(e),(e=>`\n - ${e.originModule&&e.originModule.identifier()} ${e.dependency&&e.dependency.type} ${e.explanations&&Array.from(e.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(e,t,n){this.compilation=e;this.outputOptions=t||{};this.requestShortener=n}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(e,t=""){return this.supportsArrowFunction()?`(${t}) => (${e})`:`function(${t}) { return ${e}; }`}basicFunction(e,t){return this.supportsArrowFunction()?`(${e}) => {\n${s.indent(t)}\n}`:`function(${e}) {\n${s.indent(t)}\n}`}expressionFunction(e,t=""){return this.supportsArrowFunction()?`(${t}) => (${e})`:`function(${t}) { ${e}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(e,t){return this.supportsDestructuring()?`var [${e.join(", ")}] = ${t};`:s.asString(e.map(((e,n)=>`var ${e} = ${t}[${n}];`)))}iife(e,t){return`(${this.basicFunction(e,t)})()`}forEach(e,t,n){return this.supportsForOf()?`for(const ${e} of ${t}) {\n${s.indent(n)}\n}`:`${t}.forEach(function(${e}) {\n${s.indent(n)}\n});`}comment({request:e,chunkName:t,chunkReason:n,message:r,exportName:i}){let a;if(this.outputOptions.pathinfo){a=[r,e,t,n].filter(Boolean).map((e=>this.requestShortener.shorten(e))).join(" | ")}else{a=[r,t,n].filter(Boolean).map((e=>this.requestShortener.shorten(e))).join(" | ")}if(!a)return"";if(this.outputOptions.pathinfo){return s.toComment(a)+" "}else{return s.toNormalComment(a)+" "}}throwMissingModuleErrorBlock({request:e}){const t=`Cannot find module '${e}'`;return`var e = new Error(${JSON.stringify(t)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:e}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:e})} }`}missingModule({request:e}){return`Object(${this.throwMissingModuleErrorFunction({request:e})}())`}missingModuleStatement({request:e}){return`${this.missingModule({request:e})};\n`}missingModulePromise({request:e}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:e})})`}weakError({module:e,chunkGraph:t,request:n,idExpr:r,type:i}){const a=t.getModuleId(e);const c=a===null?JSON.stringify("Module is not available (weak dependency)"):r?`"Module '" + ${r} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${a}' is not available (weak dependency)`);const u=n?s.toNormalComment(n)+" ":"";const l=`var e = new Error(${c}); `+u+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(i){case"statements":return l;case"promise":return`Promise.resolve().then(${this.basicFunction("",l)})`;case"expression":return this.iife("",l)}}moduleId({module:e,chunkGraph:t,request:n,weak:r}){if(!e){return this.missingModule({request:n})}const i=t.getModuleId(e);if(i===null){if(r){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(e,t)}`)}return`${this.comment({request:n})}${JSON.stringify(i)}`}moduleRaw({module:e,chunkGraph:t,request:n,weak:r,runtimeRequirements:s}){if(!e){return this.missingModule({request:n})}const a=t.getModuleId(e);if(a===null){if(r){return this.weakError({module:e,chunkGraph:t,request:n,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(e,t)}`)}s.add(i.require);return`__webpack_require__(${this.moduleId({module:e,chunkGraph:t,request:n,weak:r})})`}moduleExports({module:e,chunkGraph:t,request:n,weak:r,runtimeRequirements:i}){return this.moduleRaw({module:e,chunkGraph:t,request:n,weak:r,runtimeRequirements:i})}moduleNamespace({module:e,chunkGraph:t,request:n,strict:r,weak:s,runtimeRequirements:a}){if(!e){return this.missingModule({request:n})}if(t.getModuleId(e)===null){if(s){return this.weakError({module:e,chunkGraph:t,request:n,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(e,t)}`)}const c=this.moduleId({module:e,chunkGraph:t,request:n,weak:s});const u=e.getExportsType(t.moduleGraph,r);switch(u){case"namespace":return this.moduleRaw({module:e,chunkGraph:t,request:n,weak:s,runtimeRequirements:a});case"default-with-named":a.add(i.createFakeNamespaceObject);return`${i.createFakeNamespaceObject}(${c}, 3)`;case"default-only":a.add(i.createFakeNamespaceObject);return`${i.createFakeNamespaceObject}(${c}, 1)`;case"dynamic":a.add(i.createFakeNamespaceObject);return`${i.createFakeNamespaceObject}(${c}, 7)`}}moduleNamespacePromise({chunkGraph:e,block:t,module:n,request:r,message:s,strict:a,weak:c,runtimeRequirements:u}){if(!n){return this.missingModulePromise({request:r})}const l=e.getModuleId(n);if(l===null){if(c){return this.weakError({module:n,chunkGraph:e,request:r,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(n,e)}`)}const d=this.blockPromise({chunkGraph:e,block:t,message:s,runtimeRequirements:u});let p;let h=JSON.stringify(e.getModuleId(n));const m=this.comment({request:r});let g="";if(c){if(h.length>8){g+=`var id = ${h}; `;h="id"}u.add(i.moduleFactories);g+=`if(!${i.moduleFactories}[${h}]) { ${this.weakError({module:n,chunkGraph:e,request:r,idExpr:h,type:"statements"})} } `}const y=this.moduleId({module:n,chunkGraph:e,request:r,weak:c});const _=n.getExportsType(e.moduleGraph,a);let b=16;switch(_){case"namespace":if(g){const t=this.moduleRaw({module:n,chunkGraph:e,request:r,weak:c,runtimeRequirements:u});p=`.then(${this.basicFunction("",`${g}return ${t};`)})`}else{u.add(i.require);p=`.then(__webpack_require__.bind(__webpack_require__, ${m}${h}))`}break;case"dynamic":b|=4;case"default-with-named":b|=2;case"default-only":u.add(i.createFakeNamespaceObject);if(e.moduleGraph.isAsync(n)){if(g){const t=this.moduleRaw({module:n,chunkGraph:e,request:r,weak:c,runtimeRequirements:u});p=`.then(${this.basicFunction("",`${g}return ${t};`)})`}else{u.add(i.require);p=`.then(__webpack_require__.bind(__webpack_require__, ${m}${h}))`}p+=`.then(${this.returningFunction(`${i.createFakeNamespaceObject}(m, ${b})`,"m")})`}else{b|=1;if(g){const e=`${i.createFakeNamespaceObject}(${y}, ${b})`;p=`.then(${this.basicFunction("",`${g}return ${e};`)})`}else{p=`.then(${i.createFakeNamespaceObject}.bind(__webpack_require__, ${m}${h}, ${b}))`}}break}return`${d||"Promise.resolve()"}${p}`}runtimeConditionExpression({chunkGraph:e,runtimeCondition:t,runtime:n,runtimeRequirements:r}){if(t===undefined)return"true";if(typeof t==="boolean")return`${t}`;const s=new Set;l(t,(t=>s.add(`${e.getRuntimeId(t)}`)));const a=new Set;l(d(n,t),(t=>a.add(`${e.getRuntimeId(t)}`)));r.add(i.runtimeId);return c.fromLists(Array.from(s),Array.from(a))(i.runtimeId)}importStatement({update:e,module:t,chunkGraph:n,request:r,importVar:s,originModule:a,weak:c,runtimeRequirements:u}){if(!t){return[this.missingModuleStatement({request:r}),""]}if(n.getModuleId(t)===null){if(c){return[this.weakError({module:t,chunkGraph:n,request:r,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(t,n)}`)}const l=this.moduleId({module:t,chunkGraph:n,request:r,weak:c});const d=e?"":"var ";const p=t.getExportsType(n.moduleGraph,a.buildMeta.strictHarmonyModule);u.add(i.require);const h=`/* harmony import */ ${d}${s} = __webpack_require__(${l});\n`;if(p==="dynamic"){u.add(i.compatGetDefaultExport);return[h,`/* harmony import */ ${d}${s}_default = /*#__PURE__*/${i.compatGetDefaultExport}(${s});\n`]}return[h,""]}exportFromImport({moduleGraph:e,module:t,request:n,exportName:c,originModule:l,asiSafe:d,isCall:p,callContext:h,defaultInterop:m,importVar:g,initFragments:y,runtime:_,runtimeRequirements:b}){if(!t){return this.missingModule({request:n})}if(!Array.isArray(c)){c=c?[c]:[]}const x=t.getExportsType(e,l.buildMeta.strictHarmonyModule);if(m){if(c.length>0&&c[0]==="default"){switch(x){case"dynamic":if(p){return`${g}_default()${u(c,1)}`}else{return d?`(${g}_default()${u(c,1)})`:d===false?`;(${g}_default()${u(c,1)})`:`${g}_default.a${u(c,1)}`}case"default-only":case"default-with-named":c=c.slice(1);break}}else if(c.length>0){if(x==="default-only"){return"/* non-default import from non-esm module */undefined"+u(c,1)}else if(x!=="namespace"&&c[0]==="__esModule"){return"/* __esModule */true"}}else if(x==="default-only"||x==="default-with-named"){b.add(i.createFakeNamespaceObject);y.push(new r(`var ${g}_namespace_cache;\n`,r.STAGE_CONSTANTS,-1,`${g}_namespace_cache`));return`/*#__PURE__*/ ${d?"":d===false?";":"Object"}(${g}_namespace_cache || (${g}_namespace_cache = ${i.createFakeNamespaceObject}(${g}${x==="default-only"?"":", 2"})))`}}if(c.length>0){const n=e.getExportsInfo(t);const r=n.getUsedName(c,_);if(!r){const e=s.toNormalComment(`unused export ${u(c)}`);return`${e} undefined`}const i=a(r,c)?"":s.toNormalComment(u(c))+" ";const l=`${g}${i}${u(r)}`;if(p&&h===false){return d?`(0,${l})`:d===false?`;(0,${l})`:`Object(${l})`}return l}else{return g}}blockPromise({block:e,message:t,chunkGraph:n,runtimeRequirements:r}){if(!e){const e=this.comment({message:t});return`Promise.resolve(${e.trim()})`}const s=n.getBlockChunkGroup(e);if(!s||s.chunks.length===0){const e=this.comment({message:t});return`Promise.resolve(${e.trim()})`}const a=s.chunks.filter((e=>!e.hasRuntime()&&e.id!==null));const c=this.comment({message:t,chunkName:e.chunkName});if(a.length===1){const e=JSON.stringify(a[0].id);r.add(i.ensureChunk);return`${i.ensureChunk}(${c}${e})`}else if(a.length>0){r.add(i.ensureChunk);const requireChunkId=e=>`${i.ensureChunk}(${JSON.stringify(e.id)})`;return`Promise.all(${c.trim()}[${a.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${c.trim()})`}}asyncModuleFactory({block:e,chunkGraph:t,runtimeRequirements:n,request:r}){const i=e.dependencies[0];const s=t.moduleGraph.getModule(i);const a=this.blockPromise({block:e,message:"",chunkGraph:t,runtimeRequirements:n});const c=this.returningFunction(this.moduleRaw({module:s,chunkGraph:t,request:r,runtimeRequirements:n}));return this.returningFunction(a.startsWith("Promise.resolve(")?`${c}`:`${a}.then(${this.returningFunction(c)})`)}syncModuleFactory({dependency:e,chunkGraph:t,runtimeRequirements:n,request:r}){const i=t.moduleGraph.getModule(e);const s=this.returningFunction(this.moduleRaw({module:i,chunkGraph:t,request:r,runtimeRequirements:n}));return this.returningFunction(s)}defineEsModuleFlagStatement({exportsArgument:e,runtimeRequirements:t}){t.add(i.makeNamespaceObject);t.add(i.exports);return`${i.makeNamespaceObject}(${e});\n`}}e.exports=RuntimeTemplate},31141:e=>{"use strict";class SelfModuleFactory{constructor(e){this.moduleGraph=e}create(e,t){const n=this.moduleGraph.getParentModule(e.dependencies[0]);t(null,{module:n})}}e.exports=SelfModuleFactory},9192:(e,t)=>{"use strict";t.formatSize=e=>{if(typeof e!=="number"||Number.isNaN(e)===true){return"unknown size"}if(e<=0){return"0 bytes"}const t=["bytes","KiB","MiB","GiB"];const n=Math.floor(Math.log(e)/Math.log(1024));return`${+(e/Math.pow(1024,n)).toPrecision(3)} ${t[n]}`}},26867:(e,t,n)=>{"use strict";const r=n(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(e){this.options=e}apply(e){const t=this.options;if(t.module!==false){e.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(e=>{e.useSourceMap=true}));e.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(e=>{e.useSourceMap=true}))}else{e.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(e=>{e.useSimpleSourceMap=true}));e.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(e=>{e.useSimpleSourceMap=true}))}r.getCompilationHooks(e).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}e.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(e,t,n)=>{"use strict";const r=n(62355);const{validate:i}=n(15235);const{ConcatSource:s,RawSource:a}=n(48135);const c=n(3080);const u=n(70354);const l=n(52923);const d=n(26867);const p=n(35891);const{relative:h,dirname:m}=n(95396);const{absolutify:g}=n(49197);const y=n(82037);const quoteMeta=e=>e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(e,t,n,r,i,s)=>{let a;let c;if(t.sourceAndMap){const e=t.sourceAndMap(r);c=e.map;a=e.source}else{c=t.map(r);a=t.source()}if(!c||typeof a!=="string")return;const u=i.options.context;const l=i.compiler.root;const d=g.bindContextCache(u,l);const p=c.sources.map((e=>{if(!e.startsWith("webpack://"))return e;e=d(e.slice(10));const t=i.findModule(e);return t||e}));return{file:e,asset:t,source:a,assetInfo:n,sourceMap:c,modules:p,cacheItem:s}};class SourceMapDevToolPlugin{constructor(e={}){i(y,e,{name:"SourceMap DevTool Plugin",baseDataPath:"options"});this.sourceMapFilename=e.filename;this.sourceMappingURLComment=e.append===false?false:e.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=e.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=e.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=e.namespace||"";this.options=e}apply(e){const t=e.outputFileSystem;const n=this.sourceMapFilename;const i=this.sourceMappingURLComment;const g=this.moduleFilenameTemplate;const y=this.namespace;const _=this.fallbackModuleFilenameTemplate;const b=e.requestShortener;const x=this.options;x.test=x.test||/\.(m?js|css)($|\?)/i;const k=u.matchObject.bind(undefined,x);e.hooks.compilation.tap("SourceMapDevToolPlugin",(e=>{new d(x).apply(e);e.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:c.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((c,d)=>{const E=e.chunkGraph;const w=e.getCache("SourceMapDevToolPlugin");const S=new Map;const C=l.getReporter(e.compiler)||(()=>{});const M=new Map;for(const t of e.chunks){for(const e of t.files){M.set(e,t)}for(const e of t.auxiliaryFiles){M.set(e,t)}}const I=[];for(const e of Object.keys(c)){if(k(e)){I.push(e)}}C(0);const P=[];let T=0;r.each(I,((t,n)=>{const r=e.getAsset(t);if(r.info.related&&r.info.related.sourceMap){T++;return n()}const i=w.getItemCache(t,w.mergeEtags(w.getLazyHashedEtag(r.source),y));i.get(((s,a)=>{if(s){return n(s)}if(a){const{assets:r,assetsInfo:i}=a;for(const n of Object.keys(r)){if(n===t){e.updateAsset(n,r[n],i[n])}else{e.emitAsset(n,r[n],i[n])}if(n!==t){const e=M.get(t);if(e!==undefined)e.auxiliaryFiles.add(n)}}C(.5*++T/I.length,t,"restored cached SourceMap");return n()}C(.5*T/I.length,t,"generate SourceMap");const c=getTaskForFile(t,r.source,r.info,{module:x.module,columns:x.columns},e,i);if(c){const e=c.modules;for(let t=0;t{if(c){return d(c)}C(.5,"resolve sources");const l=new Set(S.values());const g=new Set;const k=Array.from(S.keys()).sort(((e,t)=>{const n=typeof e==="string"?e:e.identifier();const r=typeof t==="string"?t:t.identifier();return n.length-r.length}));for(let e=0;e{const u=Object.create(null);const l=Object.create(null);const d=r.file;const g=M.get(d);const y=r.sourceMap;const _=r.source;const b=r.modules;C(.5+.5*w/P.length,d,"attach SourceMap");const k=b.map((e=>S.get(e)));y.sources=k;if(x.noSources){y.sourcesContent=undefined}y.sourceRoot=x.sourceRoot||"";y.file=d;const E=n&&/\[contenthash(:\w+)?\]/.test(n);if(E&&r.assetInfo.contenthash){const e=r.assetInfo.contenthash;let t;if(Array.isArray(e)){t=e.map(quoteMeta).join("|")}else{t=quoteMeta(e)}y.file=y.file.replace(new RegExp(t,"g"),(e=>"x".repeat(e.length)))}let I=i;if(I!==false&&/\.css($|\?)/i.test(d)){I=I.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const T=JSON.stringify(y);if(n){let r=d;const i=E&&p("md4").update(T).digest("hex");const c={chunk:g,filename:x.fileContext?h(t,`/${x.fileContext}`,`/${r}`):r,contentHash:i};const{path:y,info:b}=e.getPathWithInfo(n,c);const k=x.publicPath?x.publicPath+y:h(t,m(t,`/${d}`),`/${y}`);let w=new a(_);if(I!==false){w=new s(w,e.getPath(I,Object.assign({url:k},c)))}const S={related:{sourceMap:y}};u[d]=w;l[d]=S;e.updateAsset(d,w,S);const C=new a(T);const M={...b,development:true};u[y]=C;l[y]=M;e.emitAsset(y,C,M);if(g!==undefined)g.auxiliaryFiles.add(y)}else{if(I===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const t=new s(new a(_),I.replace(/\[map\]/g,(()=>T)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(T,"utf-8").toString("base64")}`)));u[d]=t;l[d]=undefined;e.updateAsset(d,t)}r.cacheItem.store({assets:u,assetsInfo:l},(e=>{C(.5+.5*++w/P.length,r.file,"attached SourceMap");if(e){return c(e)}c()}))}),(e=>{C(1);d(e)}))}))}))}))}}e.exports=SourceMapDevToolPlugin},10140:e=>{"use strict";class Stats{constructor(e){this.compilation=e}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((e=>e.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((e=>e.getStats().hasErrors()))}toJson(e){e=this.compilation.createStatsOptions(e,{forToString:false});const t=this.compilation.createStatsFactory(e);return t.create("compilation",this.compilation,{compilation:this.compilation})}toString(e){e=this.compilation.createStatsOptions(e,{forToString:true});const t=this.compilation.createStatsFactory(e);const n=this.compilation.createStatsPrinter(e);const r=t.create("compilation",this.compilation,{compilation:this.compilation});const i=n.print("compilation",r);return i===undefined?"":i}}e.exports=Stats},58159:(e,t,n)=>{"use strict";const{ConcatSource:r,PrefixSource:i}=n(48135);const s="a".charCodeAt(0);const a="A".charCodeAt(0);const c="z".charCodeAt(0)-s+1;const u=c*2+2;const l=u+10;const d=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const p=/^\t/gm;const h=/\r?\n/g;const m=/^([^a-zA-Z$_])/;const g=/[^a-zA-Z0-9$]+/g;const y=/\*\//g;const _=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const b=/^-|-$/g;class Template{static getFunctionContent(e){return e.toString().replace(d,"").replace(p,"").replace(h,"\n")}static toIdentifier(e){if(typeof e!=="string")return"";return e.replace(m,"_$1").replace(g,"_")}static toComment(e){if(!e)return"";return`/*! ${e.replace(y,"* /")} */`}static toNormalComment(e){if(!e)return"";return`/* ${e.replace(y,"* /")} */`}static toPath(e){if(typeof e!=="string")return"";return e.replace(_,"-").replace(b,"")}static numberToIdentifier(e){if(e>=u){return Template.numberToIdentifier(e%u)+Template.numberToIdentifierContinuation(Math.floor(e/u))}if(e=l){return Template.numberToIdentifierContinuation(e%l)+Template.numberToIdentifierContinuation(Math.floor(e/l))}if(ee)n=e}if(n<16+(""+n).length){n=0}let r=-1;for(const t of e){r+=`${t.id}`.length+2}const i=n===0?t:16+`${n}`.length+t;return i({id:s.getModuleId(e),source:n(e)||"false"})));const u=Template.getModulesArrayBounds(c);if(u){const e=u[0];const t=u[1];if(e!==0){a.add(`Array(${e}).concat(`)}a.add("[\n");const n=new Map;for(const e of c){n.set(e.id,e)}for(let r=e;r<=t;r++){const t=n.get(r);if(r!==e){a.add(",\n")}a.add(`/* ${r} */`);if(t){a.add("\n");a.add(t.source)}}a.add("\n"+i+"]");if(e!==0){a.add(")")}}else{a.add("{\n");for(let e=0;e {\n");if(t.useStrict)n.add('\t"use strict";\n');n.add(new i("\t",s));n.add("\n})();\n\n")}else{n.add("!function() {\n");if(t.useStrict)n.add('\t"use strict";\n');n.add(new i("\t",s));n.add("\n}();\n\n")}}}return n}static renderChunkRuntimeModules(e,t){return new i("/******/ ",new r("function(__webpack_require__) { // webpackRuntimeModules\n",'"use strict";\n\n',this.renderRuntimeModules(e,t),"}\n"))}}e.exports=Template;e.exports.NUMBER_OF_IDENTIFIER_START_CHARS=u;e.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=l},30337:(e,t,n)=>{"use strict";const{basename:r,extname:i}=n(85622);const s=n(31669);const a=n(62433);const c=n(53453);const{parseResource:u}=n(49197);const l=/\[\\*([\w:]+)\\*\]/gi;const prepareId=e=>{if(typeof e!=="string")return e;if(/^"\s\+*.*\+\s*"$/.test(e)){const t=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(e);return`" + (${t[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return e.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(e,t,n,r)=>{const fn=(i,s,a)=>{let c;const u=s&&parseInt(s,10);if(u&&t){c=t(u)}else{const t=e(i,s,a);c=u?t.slice(0,u):t}if(n){n.immutable=true;if(Array.isArray(n[r])){n[r]=[...n[r],c]}else if(n[r]){n[r]=[n[r],c]}else{n[r]=c}}return c};return fn};const replacer=(e,t)=>{const fn=(n,r,i)=>{if(typeof e==="function"){e=e()}if(e===null||e===undefined){if(!t){throw new Error(`Path variable ${n} not implemented in this context: ${i}`)}return""}else{return`${e}`}};return fn};const d=new Map;const p=(()=>()=>{})();const deprecated=(e,t,n)=>{let r=d.get(t);if(r===undefined){r=s.deprecate(p,t,n);d.set(t,r)}return(...t)=>{r();return e(...t)}};const replacePathVariables=(e,t,n)=>{const s=t.chunkGraph;const d=new Map;if(t.filename){if(typeof t.filename==="string"){const{path:e,query:n,fragment:s}=u(t.filename);const a=i(e);const c=r(e);const l=c.slice(0,c.length-a.length);const p=e.slice(0,e.length-c.length);d.set("file",replacer(e));d.set("query",replacer(n,true));d.set("fragment",replacer(s,true));d.set("path",replacer(p,true));d.set("base",replacer(c));d.set("name",replacer(l));d.set("ext",replacer(a,true));d.set("filebase",deprecated(replacer(c),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}}if(t.hash){const e=hashLength(replacer(t.hash),t.hashWithLength,n,"fullhash");d.set("fullhash",e);d.set("hash",deprecated(e,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(t.chunk){const e=t.chunk;const r=t.contentHashType;const i=replacer(e.id);const s=replacer(e.name||e.id);const c=hashLength(replacer(e instanceof a?e.renderedHash:e.hash),"hashWithLength"in e?e.hashWithLength:undefined,n,"chunkhash");const u=hashLength(replacer(t.contentHash||r&&e.contentHash&&e.contentHash[r]),t.contentHashWithLength||("contentHashWithLength"in e&&e.contentHashWithLength?e.contentHashWithLength[r]:undefined),n,"contenthash");d.set("id",i);d.set("name",s);d.set("chunkhash",c);d.set("contenthash",u)}if(t.module){const e=t.module;const r=replacer((()=>prepareId(e instanceof c?s.getModuleId(e):e.id)));const i=hashLength(replacer((()=>e instanceof c?s.getRenderedModuleHash(e,t.runtime):e.hash)),"hashWithLength"in e?e.hashWithLength:undefined,n,"modulehash");const a=hashLength(replacer(t.contentHash),undefined,n,"contenthash");d.set("id",r);d.set("modulehash",i);d.set("contenthash",a);d.set("hash",t.contentHash?a:i);d.set("moduleid",deprecated(r,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(t.url){d.set("url",replacer(t.url))}if(typeof t.runtime==="string"){d.set("runtime",replacer((()=>prepareId(t.runtime))))}else{d.set("runtime",replacer("_"))}if(typeof e==="function"){e=e(t,n)}e=e.replace(l,((t,n)=>{if(n.length+2===t.length){const r=/^(\w+)(?::(\w+))?$/.exec(n);if(!r)return t;const[,i,s]=r;const a=d.get(i);if(a!==undefined){return a(t,s,e)}}else if(t.startsWith("[\\")&&t.endsWith("\\]")){return`[${t.slice(2,-2)}]`}return t}));return e};const h="TemplatedPathPlugin";class TemplatedPathPlugin{apply(e){e.hooks.compilation.tap(h,(e=>{e.hooks.assetPath.tap(h,replacePathVariables)}))}}e.exports=TemplatedPathPlugin},77090:(e,t,n)=>{"use strict";const r=n(81627);const i=n(56202);class UnhandledSchemeError extends r{constructor(e,t){super(`Reading from "${t}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${e}:" URIs.`);this.file=t;this.name="UnhandledSchemeError"}}i(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");e.exports=UnhandledSchemeError},53558:(e,t,n)=>{"use strict";const r=n(81627);const i=n(56202);class UnsupportedFeatureWarning extends r{constructor(e,t){super(e);this.name="UnsupportedFeatureWarning";this.loc=t;this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}i(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");e.exports=UnsupportedFeatureWarning},79050:(e,t,n)=>{"use strict";const r=n(66298);class UseStrictPlugin{apply(e){e.hooks.compilation.tap("UseStrictPlugin",((e,{normalModuleFactory:t})=>{const handler=e=>{e.hooks.program.tap("UseStrictPlugin",(t=>{const n=t.body[0];if(n&&n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&n.expression.value==="use strict"){const t=new r("",n.range);t.loc=n.loc;e.state.module.addPresentationalDependency(t);e.state.module.buildInfo.strict=true}}))};t.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);t.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}e.exports=UseStrictPlugin},12510:(e,t,n)=>{"use strict";const r=n(41673);class WarnCaseSensitiveModulesPlugin{apply(e){e.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(e=>{e.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const t=new Map;for(const n of e.modules){const e=n.identifier().toLowerCase();const r=t.get(e);if(r){r.push(n)}else{t.set(e,[n])}}for(const n of t){const t=n[1];if(t.length>1){e.warnings.push(new r(t,e.moduleGraph))}}}))}))}}e.exports=WarnCaseSensitiveModulesPlugin},3571:(e,t,n)=>{"use strict";const r=n(81627);class WarnDeprecatedOptionPlugin{constructor(e,t,n){this.option=e;this.value=t;this.suggestion=n}apply(e){e.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(e=>{e.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends r{constructor(e,t,n){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${t}' for option '${e}' is deprecated. `+`Use '${n}' instead.`;Error.captureStackTrace(this,this.constructor)}}e.exports=WarnDeprecatedOptionPlugin},67586:(e,t,n)=>{"use strict";const r=n(24500);class WarnNoModeSetPlugin{apply(e){e.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(e=>{e.warnings.push(new r)}))}}e.exports=WarnNoModeSetPlugin},91265:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(82997);const s="ignore";class IgnoringWatchFileSystem{constructor(e,t){this.wfs=e;this.paths=t}watch(e,t,n,r,i,a,c){e=Array.from(e);t=Array.from(t);const ignored=e=>this.paths.some((t=>t instanceof RegExp?t.test(e):e.indexOf(t)===0));const notIgnored=e=>!ignored(e);const u=e.filter(ignored);const l=t.filter(ignored);const d=this.wfs.watch(e.filter(notIgnored),t.filter(notIgnored),n,r,i,((e,t,n,r,i)=>{if(e)return a(e);for(const e of u){t.set(e,s)}for(const e of l){n.set(e,s)}a(e,t,n,r,i)}),c);return{close:()=>d.close(),pause:()=>d.pause(),getContextTimeInfoEntries:()=>{const e=d.getContextTimeInfoEntries();for(const t of l){e.set(t,s)}return e},getFileTimeInfoEntries:()=>{const e=d.getFileTimeInfoEntries();for(const t of u){e.set(t,s)}return e}}}}class WatchIgnorePlugin{constructor(e){r(i,e,{name:"Watch Ignore Plugin",baseDataPath:"options"});this.paths=e.paths}apply(e){e.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{e.watchFileSystem=new IgnoringWatchFileSystem(e.watchFileSystem,this.paths)}))}}e.exports=WatchIgnorePlugin},84693:(e,t,n)=>{"use strict";const r=n(10140);class Watching{constructor(e,t,n){this.startTime=null;this.invalid=false;this.handler=n;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof t==="number"){this.watchOptions={aggregateTimeout:t}}else if(t&&typeof t==="object"){this.watchOptions={...t}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=e;this.running=false;this._initial=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_go(){this._initial=false;this.startTime=Date.now();this.running=true;const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((e=>{if(e)return this._done(e);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((e=>{if(e)return this._done(e);this._needRecords=false;run()}))}this.invalid=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(e=>{if(e)return this._done(e);const onCompiled=(e,t)=>{if(e)return this._done(e,t);if(this.invalid)return this._done(null,t);if(this.compiler.hooks.shouldEmit.call(t)===false){return this._done(null,t)}process.nextTick((()=>{const e=t.getLogger("webpack.Compiler");e.time("emitAssets");this.compiler.emitAssets(t,(n=>{e.timeEnd("emitAssets");if(n)return this._done(n,t);if(this.invalid)return this._done(null,t);e.time("emitRecords");this.compiler.emitRecords((n=>{e.timeEnd("emitRecords");if(n)return this._done(n,t);if(t.hooks.needAdditionalPass.call()){t.needAdditionalPass=true;t.startTime=this.startTime;t.endTime=Date.now();e.time("done hook");const n=new r(t);this.compiler.hooks.done.callAsync(n,(n=>{e.timeEnd("done hook");if(n)return this._done(n,t);this.compiler.hooks.additionalPass.callAsync((e=>{if(e)return this._done(e,t);this.compiler.compile(onCompiled)}))}));return}return this._done(null,t)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(e){const t=new r(e);return t}_done(e,t){this.running=false;const n=t&&t.getLogger("webpack.Watching");let i=null;const handleError=e=>{this.compiler.hooks.failed.call(e);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(e,i);for(const e of this.callbacks)e();this.callbacks.length=0};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(t){n.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(t.buildDependencies,(e=>{n.timeEnd("storeBuildDependencies");if(e)return handleError(e);this._go()}))}else{this._go()}return}if(t){t.startTime=this.startTime;t.endTime=Date.now();i=new r(t)}if(e)return handleError(e);n.time("done hook");this.compiler.hooks.done.callAsync(i,(e=>{n.timeEnd("done hook");if(e)return handleError(e);this.handler(null,i);n.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(t.buildDependencies,(e=>{n.timeEnd("storeBuildDependencies");if(e)return handleError(e);n.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;n.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(t.fileDependencies,t.contextDependencies,t.missingDependencies)}}));for(const e of this.callbacks)e();this.callbacks.length=0;this.compiler.hooks.afterDone.call(i)}))}))}watch(e,t,n){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(e,t,n,this.startTime,this.watchOptions,((e,t,n,r,i)=>{this.pausedWatcher=this.watcher;this.watcher=null;if(e){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;return this.handler(e)}this.compiler.fileTimestamps=t;this.compiler.contextTimestamps=n;this.compiler.removedFiles=i;this.compiler.modifiedFiles=r;if(this.watcher){this.pausedWatcher=this.watcher;this.watcher.pause();this.watcher=null}this._invalidate();this._onChange()}),((e,t)=>{this.compiler.hooks.invalid.call(e,t);this._onInvalid()}))}invalidate(e){if(e){this.callbacks.push(e)}if(!this._initial){this.compiler.hooks.invalid.call(null,Date.now())}this._invalidate()}_invalidate(){if(this.suspended)return;if(this._isBlocked()){this.blocked=true;return}if(this.watcher){this.compiler.modifiedFiles=this.watcher.getAggregatedChanges&&this.watcher.getAggregatedChanges();this.compiler.removedFiles=this.watcher.getAggregatedRemovals&&this.watcher.getAggregatedRemovals();this.compiler.fileTimestamps=this.watcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=this.watcher.getContextTimeInfoEntries();this.pausedWatcher=this.watcher;this.watcher.pause();this.watcher=null}if(this.running){this.invalid=true}else{this._go()}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}_checkUnblocked(){if(this.blocked&&!this._isBlocked()){this.blocked=false;this._needWatcherInfo=true;this._invalidate()}}close(e){if(this._closeCallbacks){if(e){this._closeCallbacks.push(e)}return}const finalCallback=(e,t)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;const shutdown=()=>{this.compiler.cache.shutdown((e=>{this.compiler.hooks.watchClose.call();const t=this._closeCallbacks;this._closeCallbacks=undefined;for(const n of t)n(e)}))};if(t){const e=t.getLogger("webpack.Watching");e.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(t.buildDependencies,(t=>{e.timeEnd("storeBuildDependencies");shutdown()}))}else{shutdown()}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(e){this._closeCallbacks.push(e)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}e.exports=Watching},81627:(e,t,n)=>{"use strict";const r=n(31669).inspect.custom;const i=n(56202);class WebpackError extends Error{constructor(e){super(e);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined;Error.captureStackTrace(this,this.constructor)}[r](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:e}){e(this.name);e(this.message);e(this.stack);e(this.details);e(this.loc);e(this.hideStack)}deserialize({read:e}){this.name=e();this.message=e();this.stack=e();this.details=e();this.loc=e();this.hideStack=e()}}i(WebpackError,"webpack/lib/WebpackError");e.exports=WebpackError},57694:(e,t,n)=>{"use strict";const r=n(16761);const i=n(46715);const{toConstantDependency:s}=n(48472);class WebpackIsIncludedPlugin{apply(e){e.hooks.compilation.tap("WebpackIsIncludedPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(i,new r(t));e.dependencyTemplates.set(i,new i.Template);const handler=e=>{e.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(t=>{if(t.type!=="CallExpression"||t.arguments.length!==1||t.arguments[0].type==="SpreadElement")return;const n=e.evaluateExpression(t.arguments[0]);if(!n.isString())return;const r=new i(n.string,t.range);r.loc=t.loc;e.state.module.addDependency(r);return true}));e.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",s(e,JSON.stringify("function")))};t.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);t.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}e.exports=WebpackIsIncludedPlugin},81721:(e,t,n)=>{"use strict";const r=n(97614);const i=n(75076);const s=n(18161);const a=n(9483);const c=n(5538);const u=n(64699);const l=n(43806);const d=n(89818);const p=n(32323);const h=n(97489);const m=n(40552);const g=n(29672);const y=n(57694);const _=n(30337);const b=n(79050);const x=n(12510);const k=n(68495);const E=n(99184);const w=n(13653);const S=n(91630);const C=n(26165);const M=n(38586);const I=n(54975);const P=n(2451);const T=n(67634);const O=n(51727);const R=n(3085);const N=n(62630);const L=n(65577);const $=n(76373);const j=n(68778);const z=n(82527);const U=n(9054);const q=n(7391);const G=n(61762);const{cleverMerge:H}=n(90149);class WebpackOptionsApply extends r{constructor(){super()}process(e,t){t.outputPath=e.output.path;t.recordsInputPath=e.recordsInputPath||null;t.recordsOutputPath=e.recordsOutputPath||null;t.name=e.name;if(e.externals){const r=n(61050);new r(e.externalsType,e.externals).apply(t)}if(e.externalsPresets.node){const e=n(84980);(new e).apply(t)}if(e.externalsPresets.electronMain){const e=n(25726);new e("main").apply(t)}if(e.externalsPresets.electronPreload){const e=n(25726);new e("preload").apply(t)}if(e.externalsPresets.electronRenderer){const e=n(25726);new e("renderer").apply(t)}if(e.externalsPresets.electron&&!e.externalsPresets.electronMain&&!e.externalsPresets.electronPreload&&!e.externalsPresets.electronRenderer){const e=n(25726);(new e).apply(t)}if(e.externalsPresets.nwjs){const e=n(61050);new e("commonjs","nw.gui").apply(t)}if(e.externalsPresets.webAsync){const e=n(61050);new e("import",/^(https?:\/\/|std:)/).apply(t)}else if(e.externalsPresets.web){const e=n(61050);new e("module",/^(https?:\/\/|std:)/).apply(t)}(new c).apply(t);if(typeof e.output.chunkFormat==="string"){switch(e.output.chunkFormat){case"array-push":{const e=n(41113);(new e).apply(t);break}case"commonjs":{const e=n(77314);(new e).apply(t);break}case"module":throw new Error("EcmaScript Module Chunk Format is not implemented yet");default:throw new Error("Unsupported chunk format '"+e.output.chunkFormat+"'.")}}if(e.output.enabledChunkLoadingTypes.length>0){for(const r of e.output.enabledChunkLoadingTypes){const e=n(50369);new e(r).apply(t)}}if(e.output.enabledWasmLoadingTypes.length>0){for(const r of e.output.enabledWasmLoadingTypes){const e=n(69085);new e(r).apply(t)}}if(e.output.enabledLibraryTypes.length>0){for(const r of e.output.enabledLibraryTypes){const e=n(13984);new e(r).apply(t)}}if(e.output.pathinfo){const r=n(21542);new r(e.output.pathinfo!==true).apply(t)}if(e.output.clean){const r=n(61666);new r(e.output.clean===true?{}:e.output.clean).apply(t)}if(e.devtool){if(e.devtool.includes("source-map")){const r=e.devtool.includes("hidden");const i=e.devtool.includes("inline");const s=e.devtool.includes("eval");const a=e.devtool.includes("cheap");const c=e.devtool.includes("module");const u=e.devtool.includes("nosources");const l=s?n(23641):n(2e4);new l({filename:i?null:e.output.sourceMapFilename,moduleFilenameTemplate:e.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:e.output.devtoolFallbackModuleFilenameTemplate,append:r?false:undefined,module:c?true:a?false:true,columns:a?false:true,noSources:u,namespace:e.output.devtoolNamespace}).apply(t)}else if(e.devtool.includes("eval")){const r=n(91331);new r({moduleFilenameTemplate:e.output.devtoolModuleFilenameTemplate,namespace:e.output.devtoolNamespace}).apply(t)}}(new s).apply(t);(new a).apply(t);(new i).apply(t);if(!e.experiments.outputModule){if(e.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(e.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(e.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(e.experiments.syncWebAssembly){const r=n(84387);new r({mangleImports:e.optimization.mangleWasmImports}).apply(t)}if(e.experiments.asyncWebAssembly){const r=n(82422);new r({mangleImports:e.optimization.mangleWasmImports}).apply(t)}if(e.experiments.lazyCompilation){const r=n(10639);const i=typeof e.experiments.lazyCompilation==="object"?e.experiments.lazyCompilation:null;new r({backend:i&&i.backend||n(64244),client:i&&i.client||e.externalsPresets.node?n.ab+"lazy-compilation-node.js":n.ab+"lazy-compilation-web.js",entries:!i||i.entries!==false,imports:!i||i.imports!==false,test:i&&i.test||undefined}).apply(t)}(new u).apply(t);t.hooks.entryOption.call(e.context,e.entry);(new d).apply(t);(new j).apply(t);(new k).apply(t);(new E).apply(t);(new h).apply(t);new C({topLevelAwait:e.experiments.topLevelAwait}).apply(t);if(e.amd!==false){const r=n(19765);const i=n(10830);new r(e.amd||{}).apply(t);(new i).apply(t)}(new S).apply(t);(new P).apply(t);if(e.node!==false){const r=n(32125);new r(e.node).apply(t)}(new p).apply(t);(new g).apply(t);(new y).apply(t);(new m).apply(t);(new b).apply(t);(new R).apply(t);(new O).apply(t);(new T).apply(t);(new I).apply(t);(new N).apply(t);(new M).apply(t);(new L).apply(t);new $(e.output.workerChunkLoading,e.output.workerWasmLoading).apply(t);(new U).apply(t);(new q).apply(t);(new G).apply(t);(new z).apply(t);if(typeof e.mode!=="string"){const e=n(67586);(new e).apply(t)}const r=n(38173);(new r).apply(t);if(e.optimization.removeAvailableModules){const e=n(78016);(new e).apply(t)}if(e.optimization.removeEmptyChunks){const e=n(62665);(new e).apply(t)}if(e.optimization.mergeDuplicateChunks){const e=n(70026);(new e).apply(t)}if(e.optimization.flagIncludedChunks){const e=n(76627);(new e).apply(t)}if(e.optimization.sideEffects){const r=n(63410);new r(e.optimization.sideEffects===true).apply(t)}if(e.optimization.providedExports){const e=n(95629);(new e).apply(t)}if(e.optimization.usedExports){const r=n(1596);new r(e.optimization.usedExports==="global").apply(t)}if(e.optimization.innerGraph){const e=n(10032);(new e).apply(t)}if(e.optimization.mangleExports){const r=n(41694);new r(e.optimization.mangleExports!=="size").apply(t)}if(e.optimization.concatenateModules){const e=n(35442);(new e).apply(t)}if(e.optimization.splitChunks){const r=n(40051);new r(e.optimization.splitChunks).apply(t)}if(e.optimization.runtimeChunk){const r=n(4674);new r(e.optimization.runtimeChunk).apply(t)}if(!e.optimization.emitOnErrors){const e=n(66962);(new e).apply(t)}if(e.optimization.realContentHash){const r=n(30699);new r({hashFunction:e.output.hashFunction,hashDigest:e.output.hashDigest}).apply(t)}if(e.optimization.checkWasmTypes){const e=n(8576);(new e).apply(t)}const W=e.optimization.moduleIds;if(W){switch(W){case"natural":{const e=n(97781);(new e).apply(t);break}case"named":{const e=n(9297);(new e).apply(t);break}case"hashed":{const e=n(3571);const r=n(35853);new e("optimization.moduleIds","hashed","deterministic").apply(t);(new r).apply(t);break}case"deterministic":{const e=n(35579);(new e).apply(t);break}case"size":{const e=n(76059);new e({prioritiseInitial:true}).apply(t);break}default:throw new Error(`webpack bug: moduleIds: ${W} is not implemented`)}}const V=e.optimization.chunkIds;if(V){switch(V){case"natural":{const e=n(18298);(new e).apply(t);break}case"named":{const e=n(64779);(new e).apply(t);break}case"deterministic":{const e=n(90444);(new e).apply(t);break}case"size":{const e=n(86169);new e({prioritiseInitial:true}).apply(t);break}case"total-size":{const e=n(86169);new e({prioritiseInitial:false}).apply(t);break}default:throw new Error(`webpack bug: chunkIds: ${V} is not implemented`)}}if(e.optimization.nodeEnv){const r=n(24820);new r({"process.env.NODE_ENV":JSON.stringify(e.optimization.nodeEnv)}).apply(t)}if(e.optimization.minimize){for(const n of e.optimization.minimizer){if(typeof n==="function"){n.call(t,t)}else if(n!=="..."){n.apply(t)}}}if(e.performance){const r=n(20625);new r(e.performance).apply(t)}(new _).apply(t);new l({portableIds:e.optimization.portableRecords}).apply(t);(new x).apply(t);const K=n(46584);new K(e.snapshot.managedPaths,e.snapshot.immutablePaths).apply(t);if(e.cache&&typeof e.cache==="object"){const r=e.cache;switch(r.type){case"memory":{if(isFinite(r.maxGenerations)){const e=n(71162);new e({maxGenerations:r.maxGenerations}).apply(t)}else{const e=n(47786);(new e).apply(t)}break}case"filesystem":{const i=n(38016);for(const e in r.buildDependencies){const n=r.buildDependencies[e];new i(n).apply(t)}if(!isFinite(r.maxMemoryGenerations)){const e=n(47786);(new e).apply(t)}else if(r.maxMemoryGenerations!==0){const e=n(71162);new e({maxGenerations:r.maxMemoryGenerations}).apply(t)}switch(r.store){case"pack":{const i=n(66620);const s=n(83793);new i(new s({compiler:t,fs:t.intermediateFileSystem,context:e.context,cacheLocation:r.cacheLocation,version:r.version,logger:t.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:e.snapshot,maxAge:r.maxAge}),r.idleTimeout,r.idleTimeoutForInitialStore).apply(t);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${r.type}`)}}(new w).apply(t);if(e.ignoreWarnings&&e.ignoreWarnings.length>0){const r=n(89056);new r(e.ignoreWarnings).apply(t)}t.hooks.afterPlugins.call(t);if(!t.inputFileSystem){throw new Error("No input filesystem provided")}t.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(n=>{n=H(e.resolve,n);n.fileSystem=t.inputFileSystem;return n}));t.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(n=>{n=H(e.resolve,n);n.fileSystem=t.inputFileSystem;n.resolveToContext=true;return n}));t.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(n=>{n=H(e.resolveLoader,n);n.fileSystem=t.inputFileSystem;return n}));t.hooks.afterResolvers.call(t);return e}}e.exports=WebpackOptionsApply},94820:(e,t,n)=>{"use strict";const{applyWebpackOptionsDefaults:r}=n(54411);const{getNormalizedWebpackOptions:i}=n(96590);class WebpackOptionsDefaulter{process(e){e=i(e);r(e);return e}}e.exports=WebpackOptionsDefaulter},20882:(e,t,n)=>{"use strict";const r=n(50007);const i=n(85622);const{RawSource:s}=n(48135);const a=n(36253);const c=n(76150);const u=n(35891);const{makePathsRelative:l}=n(49197);const mergeMaybeArrays=(e,t)=>{const n=new Set;if(Array.isArray(e))for(const t of e)n.add(t);else n.add(e);if(Array.isArray(t))for(const e of t)n.add(e);else n.add(t);return Array.from(n)};const mergeAssetInfo=(e,t)=>{const n={...e,...t};for(const r of Object.keys(e)){if(r in t){if(e[r]===t[r])continue;switch(r){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":n[r]=mergeMaybeArrays(e[r],t[r]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":n[r]=e[r]||t[r];break;case"related":n[r]=mergeRelatedInfo(e[r],t[r]);break;default:throw new Error(`Can't handle conflicting asset info for ${r}`)}}}return n};const mergeRelatedInfo=(e,t)=>{const n={...e,...t};for(const r of Object.keys(e)){if(r in t){if(e[r]===t[r])continue;n[r]=mergeMaybeArrays(e[r],t[r])}}return n};const d=new Set(["javascript"]);const p=new Set(["javascript","asset"]);class AssetGenerator extends a{constructor(e,t,n,r){super();this.dataUrlOptions=e;this.filename=t;this.publicPath=n;this.emit=r}generate(e,{runtime:t,chunkGraph:n,runtimeTemplate:a,runtimeRequirements:d,type:p,getData:h}){switch(p){case"asset":return e.originalSource();default:{d.add(c.module);const p=e.originalSource();if(e.buildInfo.dataUrl){let t;if(typeof this.dataUrlOptions==="function"){t=this.dataUrlOptions.call(null,p.source(),{filename:e.matchResource||e.resource,module:e})}else{const n=this.dataUrlOptions.encoding;const s=i.extname(e.nameForCondition());const a=this.dataUrlOptions.mimetype||r.lookup(s);if(!a){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${s}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let c;switch(n){case"base64":{c=p.buffer().toString("base64");break}case false:{const e=p.source();if(typeof e==="string"){c=encodeURI(e)}else{c=encodeURI(e.toString("utf-8"))}break}default:throw new Error(`Unsupported encoding '${n}'`)}t=`data:${a}${n?`;${n}`:""},${c}`}return new s(`${c.module}.exports = ${JSON.stringify(t)};`)}else{const r=this.filename||a.outputOptions.assetModuleFilename;const i=u(a.outputOptions.hashFunction);if(a.outputOptions.hashSalt){i.update(a.outputOptions.hashSalt)}i.update(p.buffer());const m=i.digest(a.outputOptions.hashDigest);const g=m.slice(0,a.outputOptions.hashDigestLength);e.buildInfo.fullContentHash=m;const y=l(a.compilation.compiler.context,e.matchResource||e.resource,a.compilation.compiler.root).replace(/^\.\//,"");let{path:_,info:b}=a.compilation.getAssetPathWithInfo(r,{module:e,runtime:t,filename:y,chunkGraph:n,contentHash:g});let x;if(this.publicPath){const{path:r,info:i}=a.compilation.getAssetPathWithInfo(this.publicPath,{module:e,runtime:t,filename:y,chunkGraph:n,contentHash:g});x=JSON.stringify(r);b=mergeAssetInfo(b,i)}else{x=c.publicPath;d.add(c.publicPath)}b={sourceFilename:y,...b};e.buildInfo.filename=_;e.buildInfo.assetInfo=b;if(h){const e=h();e.set("fullContentHash",m);e.set("filename",_);e.set("assetInfo",b)}return new s(`${c.module}.exports = ${x} + ${JSON.stringify(_)};`)}}}}getTypes(e){if(e.buildInfo.dataUrl||this.emit===false){return d}else{return p}}getSize(e,t){switch(t){case"asset":{const t=e.originalSource();if(!t){return 0}return t.size()}default:if(e.buildInfo.dataUrl){const t=e.originalSource();if(!t){return 0}return t.size()*1.34+36}else{return 42}}}updateHash(e,{module:t}){e.update(t.buildInfo.dataUrl?"data-url":"resource")}}e.exports=AssetGenerator},75076:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const{cleverMerge:i}=n(90149);const{compareModulesByIdentifier:s}=n(68673);const a=n(91671);const getSchema=e=>{const{definitions:t}=n(76518);return{definitions:t,oneOf:[{$ref:`#/definitions/${e}`}]}};const c={asset:a((()=>getSchema("AssetGeneratorOptions"))),"asset/resource":a((()=>getSchema("AssetResourceGeneratorOptions"))),"asset/inline":a((()=>getSchema("AssetInlineGeneratorOptions")))};const u=a((()=>getSchema("AssetParserOptions")));const l=a((()=>n(20882)));const d=a((()=>n(74795)));const p=a((()=>n(20139)));const h=a((()=>n(54685)));const m="asset";const g="AssetModulesPlugin";class AssetModulesPlugin{apply(e){e.hooks.compilation.tap(g,((t,{normalModuleFactory:n})=>{n.hooks.createParser.for("asset").tap(g,(t=>{r(u(),t,{name:"Asset Modules Plugin",baseDataPath:"parser"});t=i(e.options.module.parser.asset,t);let n=t.dataUrlCondition;if(!n||typeof n==="object"){n={maxSize:8096,...n}}const s=d();return new s(n)}));n.hooks.createParser.for("asset/inline").tap(g,(e=>{const t=d();return new t(true)}));n.hooks.createParser.for("asset/resource").tap(g,(e=>{const t=d();return new t(false)}));n.hooks.createParser.for("asset/source").tap(g,(e=>{const t=p();return new t}));for(const e of["asset","asset/inline","asset/resource"]){n.hooks.createGenerator.for(e).tap(g,(t=>{r(c[e](),t,{name:"Asset Modules Plugin",baseDataPath:"generator"});let n=undefined;if(e!=="asset/resource"){n=t.dataUrl;if(!n||typeof n==="object"){n={encoding:"base64",mimetype:undefined,...n}}}let i=undefined;let s=undefined;if(e!=="asset/inline"){i=t.filename;s=t.publicPath}const a=l();return new a(n,i,s,t.emit!==false)}))}n.hooks.createGenerator.for("asset/source").tap(g,(()=>{const e=h();return new e}));t.hooks.renderManifest.tap(g,((e,n)=>{const{chunkGraph:r}=t;const{chunk:i,codeGenerationResults:a}=n;const c=r.getOrderedChunkModulesIterableBySourceType(i,"asset",s);if(c){for(const t of c){const n=a.get(t,i.runtime);e.push({render:()=>n.sources.get(m),filename:t.buildInfo.filename||n.data.get("filename"),info:t.buildInfo.assetInfo||n.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${r.getModuleId(t)}`,hash:t.buildInfo.fullContentHash||n.data.get("fullContentHash")})}}return e}))}))}}e.exports=AssetModulesPlugin},74795:(e,t,n)=>{"use strict";const r=n(2172);class AssetParser extends r{constructor(e){super();this.dataUrlCondition=e}parse(e,t){if(typeof e==="object"&&!Buffer.isBuffer(e)){throw new Error("AssetParser doesn't accept preparsed AST")}t.module.buildInfo.strict=true;t.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){t.module.buildInfo.dataUrl=this.dataUrlCondition(e,{filename:t.module.matchResource||t.module.resource,module:t.module})}else if(typeof this.dataUrlCondition==="boolean"){t.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){t.module.buildInfo.dataUrl=Buffer.byteLength(e)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return t}}e.exports=AssetParser},54685:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(36253);const s=n(76150);const a=new Set(["javascript"]);class AssetSourceGenerator extends i{generate(e,{chunkGraph:t,runtimeTemplate:n,runtimeRequirements:i}){i.add(s.module);const a=e.originalSource();if(!a){return new r("")}const c=a.source();let u;if(typeof c==="string"){u=c}else{u=c.toString("utf-8")}return new r(`${s.module}.exports = ${JSON.stringify(u)};`)}getTypes(e){return a}getSize(e,t){const n=e.originalSource();if(!n){return 0}return n.size()+12}}e.exports=AssetSourceGenerator},20139:(e,t,n)=>{"use strict";const r=n(2172);class AssetSourceParser extends r{parse(e,t){if(typeof e==="object"&&!Buffer.isBuffer(e)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:n}=t;n.buildInfo.strict=true;n.buildMeta.exportsType="default";return t}}e.exports=AssetSourceParser},10813:(e,t,n)=>{"use strict";const r=n(63272);const i=n(76150);const s=n(58159);class AwaitDependenciesInitFragment extends r{constructor(e){super(undefined,r.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=e}merge(e){const t=new Set(this.promises);for(const n of e.promises){t.add(n)}return new AwaitDependenciesInitFragment(t)}getContent({runtimeRequirements:e}){e.add(i.module);const t=this.promises;if(t.size===0){return""}if(t.size===1){for(const e of t){return s.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${e}]);`,`${e} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const n=Array.from(t).join(", ");return s.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${n}]);`,`([${n}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}e.exports=AwaitDependenciesInitFragment},68778:(e,t,n)=>{"use strict";const r=n(37359);class InferAsyncModulesPlugin{apply(e){e.hooks.compilation.tap("InferAsyncModulesPlugin",(e=>{const{moduleGraph:t}=e;e.hooks.finishModules.tap("InferAsyncModulesPlugin",(e=>{const n=new Set;for(const t of e){if(t.buildMeta&&t.buildMeta.async){n.add(t)}}for(const e of n){t.setAsync(e);for(const[i,s]of t.getIncomingConnectionsByOriginModule(e)){if(s.some((e=>e.dependency instanceof r&&e.isTargetActive(undefined)))){n.add(i)}}}}))}))}}e.exports=InferAsyncModulesPlugin},25457:(e,t,n)=>{"use strict";const r=n(21357);const{connectChunkGroupParentAndChild:i}=n(4642);const s=n(79900);const{getEntryRuntime:a,mergeRuntime:c}=n(37416);const u=new Set;u.plus=u;const bySetSize=(e,t)=>t.size+t.plus.size-e.size-e.plus.size;const getActiveStateOfConnections=(e,t)=>{let n=e[0].getActiveState(t);if(n===true)return true;for(let r=1;r{const{moduleGraph:t}=e;const n=new Map;const r=new Set;for(const i of e.modules){let e;for(const n of t.getOutgoingConnections(i)){const t=n.dependency;if(!t)continue;const r=n.module;if(!r)continue;if(n.weak)continue;const i=n.getActiveState(undefined);if(i===false)continue;if(e===undefined){e=new WeakMap}e.set(n.dependency,n)}r.clear();r.add(i);for(const t of r){let i;if(e!==undefined&&t.dependencies){for(const r of t.dependencies){const s=e.get(r);if(s!==undefined){const{module:e}=s;if(i===undefined){i=new Map;n.set(t,i)}const r=i.get(e);if(r!==undefined){r.push(s)}else{i.set(e,[s])}}}}if(t.blocks){for(const e of t.blocks){r.add(e)}}}}return n};const visitModules=(e,t,n,i,s,l,d)=>{const{moduleGraph:p,chunkGraph:h}=t;e.time("visitModules: prepare");const m=extractBlockModulesMap(t);let g=0;let y=0;let _=0;let b=0;let x=0;let k=0;let E=0;let w=0;let S=0;let C=0;let M=0;let I=0;let P=0;let T=0;let O=0;let R=0;const N=new Map;const L=new Map;const $=new Map;const j=0;const z=1;const U=2;const q=3;const G=4;const H=5;let W=[];const V=new Map;const K=new Set;for(const[e,r]of n){const n=a(t,e.name,e.options);const s={chunkGroup:e,runtime:n,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};e.index=T++;if(e.getNumberOfParents()>0){const e=new Set;for(const t of r){e.add(t)}s.skippedItems=e;K.add(s)}else{s.minAvailableModules=u;const t=e.getEntrypointChunk();for(const n of r){W.push({action:z,block:n,module:n,chunk:t,chunkGroup:e,chunkGroupInfo:s})}}i.set(e,s);if(e.name){L.set(e.name,s)}}for(const e of K){const{chunkGroup:t}=e;e.availableSources=new Set;for(const n of t.parentsIterable){const t=i.get(n);e.availableSources.add(t);if(t.availableChildren===undefined){t.availableChildren=new Set}t.availableChildren.add(e)}}W.reverse();const X=new Set;const J=new Set;let Y=[];e.timeEnd("visitModules: prepare");const Z=[];const ee=[];const te=[];let ne;let re;let ie;let se;let oe;const iteratorBlock=e=>{let n=N.get(e);let a;let c;const l=e.groupOptions&&e.groupOptions.entryOptions;if(n===undefined){const p=e.groupOptions&&e.groupOptions.name||e.chunkName;if(l){n=$.get(p);if(!n){c=t.addAsyncEntrypoint(l,ne,e.loc,e.request);c.index=T++;n={chunkGroup:c,runtime:c.options.runtime||c.name,minAvailableModules:u,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};i.set(c,n);h.connectBlockAndChunkGroup(e,c);if(p){$.set(p,n)}}else{c=n.chunkGroup;c.addOrigin(ne,e.loc,e.request);h.connectBlockAndChunkGroup(e,c)}Y.push({action:G,block:e,module:ne,chunk:c.chunks[0],chunkGroup:c,chunkGroupInfo:n})}else{n=L.get(p);if(!n){a=t.addChunkInGroup(e.groupOptions||e.chunkName,ne,e.loc,e.request);a.index=T++;n={chunkGroup:a,runtime:oe.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};d.add(a);i.set(a,n);if(p){L.set(p,n)}}else{a=n.chunkGroup;if(a.isInitial()){t.errors.push(new r(p,ne,e.loc));a=ie}a.addOptions(e.groupOptions);a.addOrigin(ne,e.loc,e.request)}s.set(e,[])}N.set(e,n)}else if(l){c=n.chunkGroup}else{a=n.chunkGroup}if(a!==undefined){s.get(e).push({originChunkGroupInfo:oe,chunkGroup:a});let t=V.get(oe);if(t===undefined){t=new Set;V.set(oe,t)}t.add(n);Y.push({action:q,block:e,module:ne,chunk:a.chunks[0],chunkGroup:a,chunkGroupInfo:n})}else{oe.chunkGroup.addAsyncEntrypoint(c)}};const processBlock=e=>{y++;const t=m.get(e);if(t!==undefined){const{minAvailableModules:e,runtime:n}=oe;for(const r of t){const[t,i]=r;if(h.isModuleInChunk(t,re)){continue}const s=getActiveStateOfConnections(i,n);if(s!==true){Z.push(r);if(s===false)continue}if(s===true&&(e.has(t)||e.plus.has(t))){ee.push(t);continue}te.push({action:s===true?z:q,block:t,module:t,chunk:re,chunkGroup:ie,chunkGroupInfo:oe})}if(Z.length>0){let{skippedModuleConnections:e}=oe;if(e===undefined){oe.skippedModuleConnections=e=new Set}for(let t=Z.length-1;t>=0;t--){e.add(Z[t])}Z.length=0}if(ee.length>0){let{skippedItems:e}=oe;if(e===undefined){oe.skippedItems=e=new Set}for(let t=ee.length-1;t>=0;t--){e.add(ee[t])}ee.length=0}if(te.length>0){for(let e=te.length-1;e>=0;e--){W.push(te[e])}te.length=0}}for(const t of e.blocks){iteratorBlock(t)}if(e.blocks.length>0&&ne!==e){l.add(e)}};const processEntryBlock=e=>{y++;const t=m.get(e);if(t!==undefined){for(const[e,n]of t){const t=getActiveStateOfConnections(n,undefined);te.push({action:t===true?j:q,block:e,module:e,chunk:re,chunkGroup:ie,chunkGroupInfo:oe})}if(te.length>0){for(let e=te.length-1;e>=0;e--){W.push(te[e])}te.length=0}}for(const t of e.blocks){iteratorBlock(t)}if(e.blocks.length>0&&ne!==e){l.add(e)}};const processQueue=()=>{while(W.length){g++;const e=W.pop();ne=e.module;se=e.block;re=e.chunk;ie=e.chunkGroup;oe=e.chunkGroupInfo;switch(e.action){case j:h.connectChunkAndEntryModule(re,ne,ie);case z:{if(h.isModuleInChunk(ne,re)){break}h.connectChunkAndModule(re,ne)}case U:{const t=ie.getModulePreOrderIndex(ne);if(t===undefined){ie.setModulePreOrderIndex(ne,oe.preOrderIndex++)}if(p.setPreOrderIndexIfUnset(ne,O)){O++}e.action=H;W.push(e)}case q:{processBlock(se);break}case G:{processEntryBlock(se);break}case H:{const e=ie.getModulePostOrderIndex(ne);if(e===undefined){ie.setModulePostOrderIndex(ne,oe.postOrderIndex++)}if(p.setPostOrderIndexIfUnset(ne,R)){R++}break}}}};const calculateResultingAvailableModules=e=>{if(e.resultingAvailableModules)return e.resultingAvailableModules;const t=e.minAvailableModules;let n;if(t.size>t.plus.size){n=new Set;for(const e of t.plus)t.add(e);t.plus=u;n.plus=t;e.minAvailableModulesOwned=false}else{n=new Set(t);n.plus=t.plus}for(const t of e.chunkGroup.chunks){for(const e of h.getChunkModulesIterable(t)){n.add(e)}}return e.resultingAvailableModules=n};const processConnectQueue=()=>{for(const[e,t]of V){if(e.children===undefined){e.children=t}else{for(const n of t){e.children.add(n)}}const n=calculateResultingAvailableModules(e);const r=e.runtime;for(const e of t){e.availableModulesToBeMerged.push(n);J.add(e);const t=e.runtime;const i=c(t,r);if(t!==i){e.runtime=i;X.add(e)}}_+=t.size}V.clear()};const processChunkGroupsForMerging=()=>{b+=J.size;for(const e of J){const t=e.availableModulesToBeMerged;let n=e.minAvailableModules;x+=t.length;if(t.length>1){t.sort(bySetSize)}let r=false;e:for(const i of t){if(n===undefined){n=i;e.minAvailableModules=n;e.minAvailableModulesOwned=false;r=true}else{if(e.minAvailableModulesOwned){if(n.plus===i.plus){for(const e of n){if(!i.has(e)){n.delete(e);r=true}}}else{for(const e of n){if(!i.has(e)&&!i.plus.has(e)){n.delete(e);r=true}}for(const e of n.plus){if(!i.has(e)&&!i.plus.has(e)){const t=n.plus[Symbol.iterator]();let s;while(!(s=t.next()).done){const t=s.value;if(t===e)break;n.add(t)}while(!(s=t.next()).done){const t=s.value;if(i.has(t)||i.plus.has(e)){n.add(t)}}n.plus=u;r=true;continue e}}}}else if(n.plus===i.plus){if(i.size{e:for(const e of K){for(const t of e.availableSources){if(!t.minAvailableModules)continue e}const t=new Set;t.plus=u;const mergeSet=e=>{if(e.size>t.plus.size){for(const e of t.plus)t.add(e);t.plus=e}else{for(const n of e)t.add(n)}};for(const t of e.availableSources){const e=calculateResultingAvailableModules(t);mergeSet(e);mergeSet(e.plus)}e.minAvailableModules=t;e.minAvailableModulesOwned=false;e.resultingAvailableModules=undefined;X.add(e)}K.clear()};const processOutdatedChunkGroupInfo=()=>{I+=X.size;for(const e of X){if(e.skippedItems!==undefined){const{minAvailableModules:t}=e;for(const n of e.skippedItems){if(!t.has(n)&&!t.plus.has(n)){W.push({action:z,block:n,module:n,chunk:e.chunkGroup.chunks[0],chunkGroup:e.chunkGroup,chunkGroupInfo:e});e.skippedItems.delete(n)}}}if(e.skippedModuleConnections!==undefined){const{minAvailableModules:t,runtime:n}=e;for(const r of e.skippedModuleConnections){const[i,s]=r;const a=getActiveStateOfConnections(s,n);if(a===false)continue;if(a===true){e.skippedModuleConnections.delete(r)}if(a===true&&(t.has(i)||t.plus.has(i))){e.skippedItems.add(i);continue}W.push({action:a===true?z:q,block:i,module:i,chunk:e.chunkGroup.chunks[0],chunkGroup:e.chunkGroup,chunkGroupInfo:e})}}if(e.children!==undefined){P+=e.children.size;for(const t of e.children){let n=V.get(e);if(n===undefined){n=new Set;V.set(e,n)}n.add(t)}}if(e.availableChildren!==undefined){for(const t of e.availableChildren){K.add(t)}}}X.clear()};while(W.length||V.size){e.time("visitModules: visiting");processQueue();e.timeEnd("visitModules: visiting");if(K.size>0){e.time("visitModules: combine available modules");processChunkGroupsForCombining();e.timeEnd("visitModules: combine available modules")}if(V.size>0){e.time("visitModules: calculating available modules");processConnectQueue();e.timeEnd("visitModules: calculating available modules");if(J.size>0){e.time("visitModules: merging available modules");processChunkGroupsForMerging();e.timeEnd("visitModules: merging available modules")}}if(X.size>0){e.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();e.timeEnd("visitModules: check modules for revisit")}if(W.length===0){const e=W;W=Y.reverse();Y=e}}e.log(`${g} queue items processed (${y} blocks)`);e.log(`${_} chunk groups connected`);e.log(`${b} chunk groups processed for merging (${x} module sets, ${k} forked, ${E} + ${w} modules forked, ${S} + ${C} modules merged into fork, ${M} resulting modules)`);e.log(`${I} chunk group info updated (${P} already connected chunk groups reconnected)`)};const connectChunkGroups=(e,t,n,r)=>{const{chunkGraph:s}=e;const areModulesAvailable=(e,t)=>{for(const n of e.chunks){for(const e of s.getChunkModulesIterable(n)){if(!t.has(e)&&!t.plus.has(e))return false}}return true};for(const[e,r]of n){if(!t.has(e)&&r.every((({chunkGroup:e,originChunkGroupInfo:t})=>areModulesAvailable(e,t.resultingAvailableModules)))){continue}for(let t=0;t{const{chunkGraph:n}=e;for(const r of t){if(r.getNumberOfParents()===0){for(const t of r.chunks){e.chunks.delete(t);n.disconnectChunk(t)}n.disconnectChunkGroup(r);r.remove()}}};const buildChunkGraph=(e,t)=>{const n=e.getLogger("webpack.buildChunkGraph");const r=new Map;const i=new Set;const s=new Map;const a=new Set;n.time("visitModules");visitModules(n,e,t,s,r,a,i);n.timeEnd("visitModules");n.time("connectChunkGroups");connectChunkGroups(e,a,r,s);n.timeEnd("connectChunkGroups");for(const[e,t]of s){for(const n of e.chunks)n.runtime=c(n.runtime,t.runtime)}n.time("cleanup");cleanupUnconnectedGroups(e,i);n.timeEnd("cleanup")};e.exports=buildChunkGraph},38016:e=>{"use strict";class AddBuildDependenciesPlugin{constructor(e){this.buildDependencies=new Set(e)}apply(e){e.hooks.compilation.tap("AddBuildDependenciesPlugin",(e=>{e.buildDependencies.addAll(this.buildDependencies)}))}}e.exports=AddBuildDependenciesPlugin},46584:e=>{"use strict";class AddManagedPathsPlugin{constructor(e,t){this.managedPaths=new Set(e);this.immutablePaths=new Set(t)}apply(e){for(const t of this.managedPaths){e.managedPaths.add(t)}for(const t of this.immutablePaths){e.immutablePaths.add(t)}}}e.exports=AddManagedPathsPlugin},66620:(e,t,n)=>{"use strict";const r=n(54725);const i=n(52923);const s=Symbol();class IdleFileCachePlugin{constructor(e,t,n){this.strategy=e;this.idleTimeout=t;this.idleTimeoutForInitialStore=n}apply(e){let t=this.strategy;const n=this.idleTimeout;const a=Math.min(n,this.idleTimeoutForInitialStore);const c=Promise.resolve();const u=new Map;e.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:r.STAGE_DISK},((e,n,r)=>{u.set(e,(()=>t.store(e,n,r)))}));e.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:r.STAGE_DISK},((e,n,r)=>{const restore=()=>t.restore(e,n).then((i=>{if(i===undefined){r.push(((r,i)=>{if(r!==undefined){u.set(e,(()=>t.store(e,n,r)))}i()}))}else{return i}}));const i=u.get(e);if(i!==undefined){u.delete(e);return i().then(restore)}return restore()}));e.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:r.STAGE_DISK},(e=>{u.set(s,(()=>t.storeBuildDependencies(e)))}));e.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:r.STAGE_DISK},(()=>{if(h){clearTimeout(h);h=undefined}d=false;const n=i.getReporter(e);const r=Array.from(u.values());if(n)n(0,"process pending cache items");const s=r.map((e=>e()));u.clear();s.push(l);const a=Promise.all(s);l=a.then((()=>t.afterAllStored()));if(n){l=l.then((()=>{n(1,`stored`)}))}return l.then((()=>{if(t.clear)t.clear()}))}));let l=c;let d=false;let p=true;const processIdleTasks=()=>{if(d){if(u.size>0){const e=[l];const t=Date.now()+100;let n=100;for(const[r,i]of u){u.delete(r);e.push(i());if(n--<=0||Date.now()>t)break}l=Promise.all(e);l.then((()=>{setTimeout(processIdleTasks,0).unref()}));return}l=l.then((()=>t.afterAllStored())).catch((t=>{const n=e.getInfrastructureLogger("IdleFileCachePlugin");n.warn(`Background tasks during idle failed: ${t.message}`);n.debug(t.stack)}));p=false}};let h=undefined;e.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:r.STAGE_DISK},(()=>{h=setTimeout((()=>{h=undefined;d=true;c.then(processIdleTasks)}),p?a:n);h.unref()}));e.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:r.STAGE_DISK},(()=>{if(h){clearTimeout(h);h=undefined}d=false}))}}e.exports=IdleFileCachePlugin},47786:(e,t,n)=>{"use strict";const r=n(54725);class MemoryCachePlugin{apply(e){const t=new Map;e.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:r.STAGE_MEMORY},((e,n,r)=>{t.set(e,{etag:n,data:r})}));e.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:r.STAGE_MEMORY},((e,n,r)=>{const i=t.get(e);if(i===null){return null}else if(i!==undefined){return i.etag===n?i.data:null}r.push(((r,i)=>{if(r===undefined){t.set(e,null)}else{t.set(e,{etag:n,data:r})}return i()}))}));e.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:r.STAGE_MEMORY},(()=>{t.clear()}))}}e.exports=MemoryCachePlugin},71162:(e,t,n)=>{"use strict";const r=n(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:e}){this._maxGenerations=e}apply(e){const t=this._maxGenerations;const n=new Map;const i=new Map;let s=0;let a=0;const c=e.getInfrastructureLogger("MemoryWithGcCachePlugin");e.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{s++;let e=0;let r;for(const[t,a]of i){if(a.until>s)break;i.delete(t);if(n.get(t)===undefined){n.delete(t);e++;r=t}}if(e>0||i.size>0){c.log(`${n.size-i.size} active entries, ${i.size} recently unused cached entries${e>0?`, ${e} old unused cache entries removed e. g. ${r}`:""}`)}let u=n.size/t|0;let l=a>=n.size?0:a;a=l+u;for(const[e,r]of n){if(l!==0){l--;continue}if(r!==undefined){n.set(e,undefined);i.delete(e);i.set(e,{entry:r,until:s+t});if(u--===0)break}}}));e.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:r.STAGE_MEMORY},((e,t,r)=>{n.set(e,{etag:t,data:r})}));e.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:r.STAGE_MEMORY},((e,t,r)=>{const s=n.get(e);if(s===null){return null}else if(s!==undefined){return s.etag===t?s.data:null}const a=i.get(e);if(a!==undefined){const r=a.entry;if(r===null){i.delete(e);n.set(e,r);return null}else{if(r.etag!==t)return null;i.delete(e);n.set(e,r);return r.data}}r.push(((r,i)=>{if(r===undefined){n.set(e,null)}else{n.set(e,{etag:t,data:r})}return i()}))}));e.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:r.STAGE_MEMORY},(()=>{n.clear();i.clear()}))}}e.exports=MemoryWithGcCachePlugin},83793:(e,t,n)=>{"use strict";const r=n(22996);const i=n(52923);const{formatSize:s}=n(9192);const a=n(83379);const c=n(56202);const u=n(91671);const{createFileSerializer:l,NOT_SERIALIZABLE:d}=n(24568);class PackContainer{constructor(e,t,n,r,i,s){this.data=e;this.version=t;this.buildSnapshot=n;this.buildDependencies=r;this.resolveResults=i;this.resolveBuildDependenciesSnapshot=s}serialize({write:e,writeLazy:t}){e(this.version);e(this.buildSnapshot);e(this.buildDependencies);e(this.resolveResults);e(this.resolveBuildDependenciesSnapshot);t(this.data)}deserialize({read:e}){this.version=e();this.buildSnapshot=e();this.buildDependencies=e();this.resolveResults=e();this.resolveBuildDependenciesSnapshot=e();this.data=e()}}c(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const p=1024*1024;const h=10;const m=5e4;class PackItemInfo{constructor(e,t,n){this.identifier=e;this.etag=t;this.location=-1;this.lastAccess=Date.now();this.freshValue=n}}class Pack{constructor(e,t){this.itemInfo=new Map;this.requests=[];this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=e;this.maxAge=t}get(e,t){const n=this.itemInfo.get(e);this.requests.push(e);if(n===undefined){return undefined}if(n.etag!==t)return null;n.lastAccess=Date.now();const r=n.location;if(r===-1){return n.freshValue}else{if(!this.content[r]){return undefined}return this.content[r].get(e)}}set(e,t,n){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${e}`)}const r=this.itemInfo.get(e);if(r===undefined){const r=new PackItemInfo(e,t,n);this.itemInfo.set(e,r);this.requests.push(e);this.freshContent.set(e,r)}else{const i=r.location;if(i>=0){this.requests.push(e);this.freshContent.set(e,r);const t=this.content[i];t.delete(e);if(t.items.size===0){this.content[i]=undefined;this.logger.debug("Pack %d got empty and is removed",i)}}r.freshValue=n;r.lastAccess=Date.now();r.etag=t;r.location=-1}}getContentStats(){let e=0;let t=0;for(const n of this.content){if(n!==undefined){e++;const r=n.getSize();if(r>0){t+=r}}}return{count:e,size:t}}_findLocation(){let e;for(e=0;ethis.maxAge){this.itemInfo.delete(a);e.delete(a);t.delete(a);r++;i=a}else{c.location=n}}if(r>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",r,n,e.size,i)}}_persistFreshContent(){if(this.freshContent.size>0){const e=Math.ceil(this.freshContent.size/m);const t=Math.ceil(this.freshContent.size/e);this.logger.log(`${this.freshContent.size} fresh items in cache`);const n=Array.from({length:e},(()=>{const e=this._findLocation();this.content[e]=null;return{items:new Set,map:new Map,loc:e}}));let r=0;let i=n[0];let s=0;for(const e of this.requests){const a=this.freshContent.get(e);if(a===undefined)continue;i.items.add(e);i.map.set(e,a.freshValue);a.location=i.loc;a.freshValue=undefined;this.freshContent.delete(e);if(++r>t){r=0;i=n[++s]}}for(const e of n){this.content[e.loc]=new PackContent(e.items,new Set(e.items),new PackContentItems(e.map))}}}_optimizeSmallContent(){const e=[];let t=0;const n=[];let r=0;for(let i=0;ip)continue;if(s.used.size>0){e.push(i);t+=a}else{n.push(i);r+=a}}let i;if(e.length>=h||t>p){i=e}else if(n.length>=h||r>p){i=n}else return;const s=[];for(const e of i){s.push(this.content[e]);this.content[e]=undefined}const a=new Set;const c=new Set;const l=[];for(const e of s){for(const t of e.items){a.add(t)}for(const t of e.used){c.add(t)}l.push((async t=>{await e.unpack();for(const[n,r]of e.content){t.set(n,r)}}))}const d=this._findLocation();this._gcAndUpdateLocation(a,c,d);if(a.size>0){this.content[d]=new PackContent(a,c,u((async()=>{const e=new Map;await Promise.all(l.map((t=>t(e))));return new PackContentItems(e)})));this.logger.log("Merged %d small files with %d cache items into pack %d",s.length,a.size,d)}}_optimizeUnusedContent(){for(let e=0;e0&&r0){this.content[r]=new PackContent(n,new Set(n),(async()=>{await t.unpack();const e=new Map;for(const r of n){e.set(r,t.content.get(r))}return new PackContentItems(e)}))}const i=new Set(t.items);const s=new Set;for(const e of n){i.delete(e)}const a=this._findLocation();this._gcAndUpdateLocation(i,s,a);if(i.size>0){this.content[a]=new PackContent(i,s,(async()=>{await t.unpack();const e=new Map;for(const n of i){e.set(n,t.content.get(n))}return new PackContentItems(e)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",e,r,n.size,a,i.size);return}}}_gcOldestContent(){let e=undefined;for(const t of this.itemInfo.values()){if(e===undefined||t.lastAccessthis.maxAge){const t=e.location;if(t<0)return;const n=this.content[t];const r=new Set(n.items);const i=new Set(n.used);this._gcAndUpdateLocation(r,i,t);this.content[t]=r.size>0?new PackContent(r,i,(async()=>{await n.unpack();const e=new Map;for(const t of r){e.set(t,n.content.get(t))}return new PackContentItems(e)})):undefined}}serialize({write:e,writeSeparate:t}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const t of this.itemInfo.keys()){e(t)}e(null);for(const t of this.itemInfo.values()){e(t.etag)}for(const t of this.itemInfo.values()){e(t.lastAccess)}for(let n=0;n{const t=new PackItemInfo(e,undefined,undefined);this.itemInfo.set(e,t);return t}));for(const t of r){t.etag=e()}for(const t of r){t.lastAccess=e()}}this.content.length=0;let n=e();while(n!==null){if(n===undefined){this.content.push(n)}else{const r=this.content.length;const i=e();this.content.push(new PackContent(n,new Set,i,t,`${this.content.length}`));for(const e of n){this.itemInfo.get(e).location=r}}n=e()}}}c(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(e){this.map=e}serialize({write:e,snapshot:t,rollback:n,logger:r}){const i=t();try{e(true);e(this.map)}catch(s){n(i);e(false);for(const[i,s]of this.map){const a=t();try{e(i);e(s)}catch(e){n(a);if(e===d)continue;r.warn(`Skipped not serializable cache item '${i}': ${e.message}`);r.debug(e.stack)}}e(null)}}deserialize({read:e}){if(e()){this.map=e()}else{const t=new Map;let n=e();while(n!==null){t.set(n,e());n=e()}this.map=t}}}c(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(e,t,n,r,i){this.items=e;this.lazy=typeof n==="function"?n:undefined;this.content=typeof n==="function"?undefined:n.map;this.outdated=false;this.used=t;this.logger=r;this.lazyName=i}get(e){this.used.add(e);if(this.content){return this.content.get(e)}const{lazyName:t}=this;let n;if(t){this.lazyName=undefined;n=`restore cache content ${t} (${s(this.getSize())})`;this.logger.log(`starting to restore cache content ${t} (${s(this.getSize())}) because of request to: ${e}`);this.logger.time(n)}const r=this.lazy();if(r instanceof Promise){return r.then((t=>{const r=t.map;if(n){this.logger.timeEnd(n)}this.content=r;return r.get(e)}))}else{const t=r.map;if(n){this.logger.timeEnd(n)}this.content=t;return t.get(e)}}unpack(){if(this.content)return;if(this.lazy){const{lazyName:e}=this;let t;if(e){this.lazyName=undefined;t=`unpack cache content ${e} (${s(this.getSize())})`;this.logger.time(t)}const n=this.lazy();if(n instanceof Promise){return n.then((e=>{if(t){this.logger.timeEnd(t)}this.content=e.map}))}else{if(t){this.logger.timeEnd(t)}this.content=n.map}}}getSize(){if(!this.lazy)return-1;const e=this.lazy.options;if(!e)return-1;const t=e.size;if(typeof t!=="number")return-1;return t}delete(e){this.items.delete(e);this.used.delete(e);this.outdated=true}getLazyContentItems(){if(!this.outdated&&this.lazy)return this.lazy;if(!this.outdated&&this.content){const e=new Map(this.content);return this.lazy=u((()=>new PackContentItems(e)))}this.outdated=false;if(this.content){return this.lazy=u((()=>{const e=new Map;for(const t of this.items){e.set(t,this.content.get(t))}return new PackContentItems(e)}))}const e=this.lazy;return this.lazy=()=>{const t=e();if(t instanceof Promise){return t.then((e=>{const t=e.map;const n=new Map;for(const e of this.items){n.set(e,t.get(e))}return new PackContentItems(n)}))}else{const e=t.map;const n=new Map;for(const t of this.items){n.set(t,e.get(t))}return new PackContentItems(n)}}}}class PackFileCacheStrategy{constructor({compiler:e,fs:t,context:n,cacheLocation:i,version:s,logger:c,snapshot:u,maxAge:d}){this.fileSerializer=l(t);this.fileSystemInfo=new r(t,{managedPaths:u.managedPaths,immutablePaths:u.immutablePaths,logger:c.getChildLogger("webpack.FileSystemInfo")});this.compiler=e;this.context=n;this.cacheLocation=i;this.version=s;this.logger=c;this.maxAge=d;this.snapshot=u;this.buildDependencies=new Set;this.newBuildDependencies=new a;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:e,cacheLocation:t,version:n}=this;let r;let i;let s;let a;let c;e.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${t}/index.pack`,extension:".pack",logger:e}).catch((n=>{if(n.code!=="ENOENT"){e.warn(`Restoring pack failed from ${t}.pack: ${n}`);e.debug(n.stack)}else{e.debug(`No pack exists at ${t}.pack: ${n}`)}return undefined})).then((u=>{e.timeEnd("restore cache container");if(!u)return undefined;if(!(u instanceof PackContainer)){e.warn(`Restored pack from ${t}.pack, but contained content is unexpected.`,u);return undefined}if(u.version!==n){e.log(`Restored pack from ${t}.pack, but version doesn't match.`);return undefined}e.time("check build dependencies");return Promise.all([new Promise(((n,i)=>{this.fileSystemInfo.checkSnapshotValid(u.buildSnapshot,((i,s)=>{if(i){e.log(`Restored pack from ${t}.pack, but checking snapshot of build dependencies errored: ${i}.`);e.debug(i.stack);return n(false)}if(!s){e.log(`Restored pack from ${t}.pack, but build dependencies have changed.`);return n(false)}r=u.buildSnapshot;return n(true)}))})),new Promise(((n,r)=>{this.fileSystemInfo.checkSnapshotValid(u.resolveBuildDependenciesSnapshot,((r,l)=>{if(r){e.log(`Restored pack from ${t}.pack, but checking snapshot of resolving of build dependencies errored: ${r}.`);e.debug(r.stack);return n(false)}if(l){a=u.resolveBuildDependenciesSnapshot;i=u.buildDependencies;c=u.resolveResults;return n(true)}e.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(u.resolveResults,((r,i)=>{if(r){e.log(`Restored pack from ${t}.pack, but resolving of build dependencies errored: ${r}.`);e.debug(r.stack);return n(false)}if(i){s=u.buildDependencies;c=u.resolveResults;return n(true)}e.log(`Restored pack from ${t}.pack, but build dependencies resolve to different locations.`);return n(false)}))}))}))]).catch((t=>{e.timeEnd("check build dependencies");throw t})).then((([t,n])=>{e.timeEnd("check build dependencies");if(t&&n){e.time("restore cache content metadata");const t=u.data();e.timeEnd("restore cache content metadata");return t}return undefined}))})).then((t=>{if(t){t.maxAge=this.maxAge;this.buildSnapshot=r;if(i)this.buildDependencies=i;if(s)this.newBuildDependencies.addAll(s);this.resolveResults=c;this.resolveBuildDependenciesSnapshot=a;return t}return new Pack(e,this.maxAge)})).catch((n=>{this.logger.warn(`Restoring pack from ${t}.pack failed: ${n}`);this.logger.debug(n.stack);return new Pack(e,this.maxAge)}))}store(e,t,n){return this._getPack().then((r=>{r.set(e,t===null?null:t.toString(),n)}))}restore(e,t){return this._getPack().then((n=>n.get(e,t===null?null:t.toString()))).catch((t=>{if(t&&t.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${e} from pack: ${t}`);this.logger.debug(t.stack)}}))}storeBuildDependencies(e){this.newBuildDependencies.addAll(e)}afterAllStored(){const e=this.packPromise;if(e===undefined)return Promise.resolve();const t=i.getReporter(this.compiler);this.packPromise=undefined;return this.storePromise=e.then((e=>{if(!e.invalid)return;this.logger.log(`Storing pack...`);let n;const r=new Set;for(const e of this.newBuildDependencies){if(!this.buildDependencies.has(e)){r.add(e)}}if(r.size>0||!this.buildSnapshot){if(t)t(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(r).join(", ")})`);n=new Promise(((e,n)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,r,((r,i)=>{this.logger.timeEnd("resolve build dependencies");if(r)return n(r);this.logger.time("snapshot build dependencies");const{files:s,directories:a,missing:c,resolveResults:u,resolveDependencies:l}=i;if(this.resolveResults){for(const[e,t]of u){this.resolveResults.set(e,t)}}else{this.resolveResults=u}if(t){t(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,l.files,l.directories,l.missing,this.snapshot.resolveBuildDependencies,((r,i)=>{if(r){this.logger.timeEnd("snapshot build dependencies");return n(r)}if(!i){this.logger.timeEnd("snapshot build dependencies");return n(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,i)}else{this.resolveBuildDependenciesSnapshot=i}if(t){t(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,s,a,c,this.snapshot.buildDependencies,((t,r)=>{this.logger.timeEnd("snapshot build dependencies");if(t)return n(t);if(!r){return n(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,r)}else{this.buildSnapshot=r}e()}))}))}))}))}else{n=Promise.resolve()}return n.then((()=>{if(t)t(.8,"serialize pack");this.logger.time(`store pack`);const n=new Set(this.buildDependencies);for(const e of r){n.add(e)}const i=new PackContainer(e,this.version,this.buildSnapshot,n,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(i,{filename:`${this.cacheLocation}/index.pack`,extension:".pack",logger:this.logger}).then((()=>{for(const e of r){this.buildDependencies.add(e)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const t=e.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",e.itemInfo.size,t.count,Math.round(t.size/1024/1024))})).catch((e=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${e}`);this.logger.debug(e.stack)}))}))})).catch((e=>{this.logger.warn(`Caching failed for pack: ${e}`);this.logger.debug(e.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}e.exports=PackFileCacheStrategy},13653:(e,t,n)=>{"use strict";const r=n(83379);const i=n(56202);class CacheEntry{constructor(e,t){this.result=e;this.snapshot=t}serialize({write:e}){e(this.result);e(this.snapshot)}deserialize({read:e}){this.result=e();this.snapshot=e()}}i(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(e,t)=>{if(e instanceof r){e.addAll(t)}else{for(const n of t){e.add(n)}}};const objectToString=(e,t)=>{let n="";for(const r in e){if(t&&r==="context")continue;const i=e[r];if(typeof i==="object"&&i!==null){n+=`|${r}=[${objectToString(i,false)}|]`}else{n+=`|${r}=|${i}`}}return n};class ResolverCachePlugin{apply(e){const t=e.getCache("ResolverCachePlugin");let n;let i;let s=0;let a=0;let c=0;let u=0;e.hooks.thisCompilation.tap("ResolverCachePlugin",(e=>{i=e.options.snapshot.resolve;n=e.fileSystemInfo;e.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(s+a>0){const t=e.getLogger("webpack.ResolverCachePlugin");t.log(`${Math.round(100*s/(s+a))}% really resolved (${s} real resolves with ${c} cached but invalid, ${a} cached valid, ${u} concurrent)`);s=0;a=0;c=0;u=0}}))}));const doRealResolve=(e,t,a,c,u)=>{s++;const l={_ResolverCachePluginCacheMiss:true,...c};const d={...a,stack:new Set,missingDependencies:new r,fileDependencies:new r,contextDependencies:new r};const propagate=e=>{if(a[e]){addAllToSet(a[e],d[e])}};const p=Date.now();t.doResolve(t.hooks.resolve,l,"Cache miss",d,((t,r)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(t)return u(t);const s=d.fileDependencies;const a=d.contextDependencies;const c=d.missingDependencies;n.createSnapshot(p,s,a,c,i,((t,n)=>{if(t)return u(t);if(!n){if(r)return u(null,r);return u()}e.store(new CacheEntry(r,n),(e=>{if(e)return u(e);if(r)return u(null,r);u()}))}))}))};e.resolverFactory.hooks.resolver.intercept({factory(e,r){const i=new Map;r.tap("ResolverCachePlugin",((r,s,u)=>{if(s.cache!==true)return;const l=objectToString(u,false);const d=s.cacheWithContext!==undefined?s.cacheWithContext:false;r.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((s,u,p)=>{if(s._ResolverCachePluginCacheMiss||!n){return p()}const h=`${e}${l}${objectToString(s,!d)}`;const m=i.get(h);if(m){m.push(p);return}const g=t.getItemCache(h,null);let y;const done=(e,t)=>{if(y===undefined){p(e,t);y=false}else{for(const n of y){n(e,t)}i.delete(h);y=false}};const processCacheResult=(e,t)=>{if(e)return done(e);if(t){const{snapshot:e,result:i}=t;n.checkSnapshotValid(e,((t,n)=>{if(t||!n){c++;return doRealResolve(g,r,u,s,done)}a++;if(u.missingDependencies){addAllToSet(u.missingDependencies,e.getMissingIterable())}if(u.fileDependencies){addAllToSet(u.fileDependencies,e.getFileIterable())}if(u.contextDependencies){addAllToSet(u.contextDependencies,e.getContextIterable())}done(null,i)}))}else{doRealResolve(g,r,u,s,done)}};g.get(processCacheResult);if(y===undefined){y=[p];i.set(h,y)}}))}));return r}})}}e.exports=ResolverCachePlugin},77034:(e,t,n)=>{"use strict";const r=n(35891);class LazyHashedEtag{constructor(e){this._obj=e;this._hash=undefined}toString(){if(this._hash===undefined){const e=r("md4");this._obj.updateHash(e);this._hash=e.digest("base64")}return this._hash}}const i=new WeakMap;const getter=e=>{const t=i.get(e);if(t!==undefined)return t;const n=new LazyHashedEtag(e);i.set(e,n);return n};e.exports=getter},10168:e=>{"use strict";class MergedEtag{constructor(e,t){this.a=e;this.b=t}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const t=new WeakMap;const n=new WeakMap;const mergeEtags=(e,r)=>{if(typeof e==="string"){if(typeof r==="string"){return`${e}|${r}`}else{const t=r;r=e;e=t}}else{if(typeof r!=="string"){let n=t.get(e);if(n===undefined){t.set(e,n=new WeakMap)}const i=n.get(r);if(i===undefined){const t=new MergedEtag(e,r);n.set(r,t);return t}else{return i}}}let i=n.get(e);if(i===undefined){n.set(e,i=new Map)}const s=i.get(r);if(s===undefined){const t=new MergedEtag(e,r);i.set(r,t);return t}else{return s}};e.exports=mergeEtags},61634:(e,t,n)=>{"use strict";const r=n(85622);const i=n(76518);const getArguments=(e=i)=>{const t={};const pathToArgumentName=e=>e.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=t=>{const n=t.split("/");let r=e;for(let e=1;e{for(const{schema:t}of e){if(t.cli&&t.cli.helper)continue;if(t.description)return t.description}};const schemaToArgumentConfig=e=>{if(e.enum){return{type:"enum",values:e.enum}}switch(e.type){case"number":return{type:"number"};case"string":return{type:e.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(e.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=e=>{const n=e[0].path;const r=pathToArgumentName(`${n}.reset`);const i=getDescription(e);t[r]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in configuration. ${i}`,path:n}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(e,n)=>{const r=schemaToArgumentConfig(e[0].schema);if(!r)return 0;const i=pathToArgumentName(e[0].path);const s={...r,multiple:n,description:getDescription(e),path:e[0].path};if(!t[i]){t[i]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(t[i].configs.some((e=>JSON.stringify(e)===JSON.stringify(s)))){return 0}if(t[i].configs.some((e=>e.type===s.type&&e.multiple!==n))){if(n){throw new Error(`Conflicting schema for ${e[0].path} with ${s.type} type (array type must be before single item type)`)}return 0}t[i].configs.push(s);return 1};const traverse=(e,t="",n=[],r=null)=>{while(e.$ref){e=getSchemaPart(e.$ref)}const i=n.filter((({schema:t})=>t===e));if(i.length>=2||i.some((({path:e})=>e===t))){return 0}if(e.cli&&e.cli.exclude)return 0;const s=[{schema:e,path:t},...n];let a=0;a+=addFlag(s,!!r);if(e.type==="object"){if(e.properties){for(const n of Object.keys(e.properties)){a+=traverse(e.properties[n],t?`${t}.${n}`:n,s,r)}}return a}if(e.type==="array"){if(r){return 0}if(Array.isArray(e.items)){let n=0;for(const r of e.items){a+=traverse(r,`${t}.${n}`,s,t)}return a}a+=traverse(e.items,`${t}[]`,s,t);if(a>0){addResetFlag(s);a++}return a}const c=e.oneOf||e.anyOf||e.allOf;if(c){const e=c;for(let n=0;n{if(!e)return t;if(!t)return e;if(e.includes(t))return e;return`${e} ${t}`}),undefined);n.simpleType=n.configs.reduce(((e,t)=>{let n="string";switch(t.type){case"number":n="number";break;case"reset":case"boolean":n="boolean";break;case"enum":if(t.values.every((e=>typeof e==="boolean")))n="boolean";if(t.values.every((e=>typeof e==="number")))n="number";break}if(e===undefined)return n;return e===n?e:"string"}),undefined);n.multiple=n.configs.some((e=>e.multiple))}return t};const s=new WeakMap;const getObjectAndProperty=(e,t,n=0)=>{if(!t)return{value:e};const r=t.split(".");let i=r.pop();let a=e;let c=0;for(const e of r){const t=e.endsWith("[]");const i=t?e.slice(0,-2):e;let u=a[i];if(t){if(u===undefined){u={};a[i]=[...Array.from({length:n}),u];s.set(a[i],n+1)}else if(!Array.isArray(u)){return{problem:{type:"unexpected-non-array-in-path",path:r.slice(0,c).join(".")}}}else{let e=s.get(u)||0;while(e<=n){u.push(undefined);e++}s.set(u,e);const t=u.length-e+n;if(u[t]===undefined){u[t]={}}else if(u[t]===null||typeof u[t]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:r.slice(0,c).join(".")}}}u=u[t]}}else{if(u===undefined){u=a[i]={}}else if(u===null||typeof u!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:r.slice(0,c).join(".")}}}}a=u;c++}let u=a[i];if(i.endsWith("[]")){const e=i.slice(0,-2);const r=a[e];if(r===undefined){a[e]=[...Array.from({length:n}),undefined];s.set(a[e],n+1);return{object:a[e],property:n,value:undefined}}else if(!Array.isArray(r)){a[e]=[r,...Array.from({length:n}),undefined];s.set(a[e],n+1);return{object:a[e],property:n+1,value:undefined}}else{let e=s.get(r)||0;while(e<=n){r.push(undefined);e++}s.set(r,e);const i=r.length-e+n;if(r[i]===undefined){r[i]={}}else if(r[i]===null||typeof r[i]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:t}}}return{object:r,property:i,value:r[i]}}}return{object:a,property:i,value:u}};const setValue=(e,t,n,r)=>{const{problem:i,object:s,property:a}=getObjectAndProperty(e,t,r);if(i)return i;s[a]=n;return null};const processArgumentConfig=(e,t,n,r)=>{if(r!==undefined&&!e.multiple){return{type:"multiple-values-unexpected",path:e.path}}const i=parseValueForArgumentConfig(e,n);if(i===undefined){return{type:"invalid-value",path:e.path,expected:getExpectedValue(e)}}const s=setValue(t,e.path,i,r);if(s)return s;return null};const getExpectedValue=e=>{switch(e.type){default:return e.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return e.values.map((e=>`${e}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(e,t)=>{switch(e.type){case"string":if(typeof t==="string"){return t}break;case"path":if(typeof t==="string"){return r.resolve(t)}break;case"number":if(typeof t==="number")return t;if(typeof t==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const e=+t;if(!isNaN(e))return e}break;case"boolean":if(typeof t==="boolean")return t;if(t==="true")return true;if(t==="false")return false;break;case"RegExp":if(t instanceof RegExp)return t;if(typeof t==="string"){const e=/^\/(.*)\/([yugi]*)$/.exec(t);if(e&&!/[^\\]\//.test(e[1]))return new RegExp(e[1],e[2])}break;case"enum":if(e.values.includes(t))return t;for(const n of e.values){if(`${n}`===t)return n}break;case"reset":if(t===true)return[];break}};const processArguments=(e,t,n)=>{const r=[];for(const i of Object.keys(n)){const s=e[i];if(!s){r.push({type:"unknown-argument",path:"",argument:i});continue}const processValue=(e,n)=>{const a=[];for(const r of s.configs){const s=processArgumentConfig(r,t,e,n);if(!s){return}a.push({...s,argument:i,value:e,index:n})}r.push(...a)};let a=n[i];if(Array.isArray(a)){for(let e=0;e{"use strict";const r=n(69328);const i=n(85622);const s=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(e,t)=>{if(!e){return{}}if(i.isAbsolute(e)){const[,t,n]=s.exec(e)||[];return{configPath:t,env:n}}const n=r.findConfig(t);if(n&&Object.keys(n).includes(e)){return{env:e}}return{query:e}};const load=(e,t)=>{const{configPath:n,env:i,query:s}=parse(e,t);const a=s?s:n?r.loadConfig({config:n,env:i}):r.loadConfig({path:t,env:i});if(!a)return null;return r(a)};const resolve=e=>{const rawChecker=t=>e.every((e=>{const[n,r]=e.split(" ");if(!n)return false;const i=t[n];if(!i)return false;const[s,a]=r==="TP"?[Infinity,Infinity]:r.split(".");if(typeof i==="number"){return+s>=i}return i[0]===+s?+a>=i[1]:+s>i[0]}));const t=e.some((e=>/^node /.test(e)));const n=e.some((e=>/^(?!node)/.test(e)));const r=!n?false:t?null:true;const i=!t?false:n?null:true;const s=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:s,dynamicImportInWorker:s&&!t,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:r,electron:false,node:i,nwjs:false,web:r,webworker:false,document:r,fetchWasm:r,global:i,importScripts:false,importScriptsInWorker:true,nodeBuiltins:i,require:i}};e.exports={resolve:resolve,load:load}},54411:(e,t,n)=>{"use strict";const r=n(35747);const i=n(85622);const s=n(58159);const{cleverMerge:a}=n(90149);const{getTargetsProperties:c,getTargetProperties:u,getDefaultTarget:l}=n(71322);const d=/[\\/]node_modules[\\/]/i;const D=(e,t,n)=>{if(e[t]===undefined){e[t]=n}};const F=(e,t,n)=>{if(e[t]===undefined){e[t]=n()}};const A=(e,t,n)=>{const r=e[t];if(r===undefined){e[t]=n()}else if(Array.isArray(r)){let i=undefined;for(let s=0;s{F(e,"context",(()=>process.cwd()))};const applyWebpackOptionsDefaults=e=>{F(e,"context",(()=>process.cwd()));F(e,"target",(()=>l(e.context)));const{mode:t,name:r,target:i}=e;let s=i===false?false:typeof i==="string"?u(i,e.context):c(i,e.context);const d=t==="development";const p=t==="production"||!t;if(typeof e.entry!=="function"){for(const t of Object.keys(e.entry)){F(e.entry[t],"import",(()=>["./src"]))}}F(e,"devtool",(()=>d?"eval":false));D(e,"watch",false);D(e,"profile",false);D(e,"parallelism",100);D(e,"recordsInputPath",false);D(e,"recordsOutputPath",false);F(e,"cache",(()=>d?{type:"memory"}:false));applyCacheDefaults(e.cache,{name:r||"default",mode:t||"production",development:d});const h=!!e.cache;applySnapshotDefaults(e.snapshot,{production:p});applyExperimentsDefaults(e.experiments);applyModuleDefaults(e.module,{cache:h,syncWebAssembly:e.experiments.syncWebAssembly,asyncWebAssembly:e.experiments.asyncWebAssembly});applyOutputDefaults(e.output,{context:e.context,targetProperties:s,outputModule:e.experiments.outputModule,development:d,entry:e.entry,module:e.module});applyExternalsPresetsDefaults(e.externalsPresets,{targetProperties:s});applyLoaderDefaults(e.loader,{targetProperties:s});F(e,"externalsType",(()=>{const t=n(76518).definitions.ExternalsType.enum;return e.output.library&&t.includes(e.output.library.type)?e.output.library.type:e.output.module?"module":"var"}));applyNodeDefaults(e.node,{targetProperties:s});F(e,"performance",(()=>p&&s&&(s.browser||s.browser===null)?{}:false));applyPerformanceDefaults(e.performance,{production:p});applyOptimizationDefaults(e.optimization,{development:d,production:p,records:!!(e.recordsInputPath||e.recordsOutputPath)});e.resolve=a(getResolveDefaults({cache:h,context:e.context,targetProperties:s,mode:e.mode}),e.resolve);e.resolveLoader=a(getResolveLoaderDefaults({cache:h}),e.resolveLoader);applyInfrastructureLoggingDefaults(e.infrastructureLogging)};const applyExperimentsDefaults=e=>{D(e,"topLevelAwait",false);D(e,"syncWebAssembly",false);D(e,"asyncWebAssembly",false);D(e,"outputModule",false)};const applyCacheDefaults=(e,{name:t,mode:n,development:s})=>{if(e===false)return;switch(e.type){case"filesystem":F(e,"name",(()=>t+"-"+n));D(e,"version","");F(e,"cacheDirectory",(()=>{const e=process.cwd();let t=e;for(;;){try{if(r.statSync(i.join(t,"package.json")).isFile())break}catch(e){}const e=i.dirname(t);if(t===e){t=undefined;break}t=e}if(!t){return i.resolve(e,".cache/webpack")}else if(process.versions.pnp==="1"){return i.resolve(t,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return i.resolve(t,".yarn/.cache/webpack")}else{return i.resolve(t,"node_modules/.cache/webpack")}}));F(e,"cacheLocation",(()=>i.resolve(e.cacheDirectory,e.name)));D(e,"hashAlgorithm","md4");D(e,"store","pack");D(e,"idleTimeout",6e4);D(e,"idleTimeoutForInitialStore",0);D(e,"maxMemoryGenerations",s?10:Infinity);D(e,"maxAge",1e3*60*60*24*60);D(e.buildDependencies,"defaultWebpack",[i.resolve(__dirname,"..")+i.sep]);break;case"memory":D(e,"maxGenerations",Infinity);break}};const applySnapshotDefaults=(e,{production:t})=>{A(e,"managedPaths",(()=>{if(process.versions.pnp==="3"){const e=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(e){return[i.resolve(e[1],"unplugged")]}}else{const e=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(e){return[e[1]]}}return[]}));A(e,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const e=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(e){return[e[1]]}}else if(process.versions.pnp==="3"){const e=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(e){return[e[1]]}}return[]}));F(e,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(e,"buildDependencies",(()=>({timestamp:true,hash:true})));F(e,"module",(()=>t?{timestamp:true,hash:true}:{timestamp:true}));F(e,"resolve",(()=>t?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=e=>{D(e,"unknownContextRequest",".");D(e,"unknownContextRegExp",false);D(e,"unknownContextRecursive",true);D(e,"unknownContextCritical",true);D(e,"exprContextRequest",".");D(e,"exprContextRegExp",false);D(e,"exprContextRecursive",true);D(e,"exprContextCritical",true);D(e,"wrappedContextRegExp",/.*/);D(e,"wrappedContextRecursive",true);D(e,"wrappedContextCritical",false);D(e,"strictExportPresence",false);D(e,"strictThisContextOnImports",false)};const applyModuleDefaults=(e,{cache:t,syncWebAssembly:n,asyncWebAssembly:r})=>{if(t){D(e,"unsafeCache",(e=>{const t=e.nameForCondition();return t&&d.test(t)}))}else{D(e,"unsafeCache",false)}F(e.parser,"asset",(()=>({})));F(e.parser.asset,"dataUrlCondition",(()=>({})));if(typeof e.parser.asset.dataUrlCondition==="object"){D(e.parser.asset.dataUrlCondition,"maxSize",8096)}F(e.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(e.parser.javascript);A(e,"defaultRules",(()=>{const e={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const t={type:"javascript/dynamic"};const i=[{type:"javascript/auto"},{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...e},{test:/\.js$/i,descriptionData:{type:"module"},...e},{test:/\.cjs$/i,...t},{test:/\.js$/i,descriptionData:{type:"commonjs"},...t},{mimetype:{or:["text/javascript","application/javascript"]},...e},{dependency:"url",type:"asset/resource"}];if(r){const e={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};i.push({test:/\.wasm$/i,...e});i.push({mimetype:"application/wasm",...e})}else if(n){const e={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};i.push({test:/\.wasm$/i,...e});i.push({mimetype:"application/wasm",...e})}return i}))};const applyOutputDefaults=(e,{context:t,targetProperties:n,outputModule:a,development:c,entry:u,module:l})=>{const getLibraryName=e=>{const t=typeof e==="object"&&e&&!Array.isArray(e)&&"type"in e?e.name:e;if(Array.isArray(t)){return t.join(".")}else if(typeof t==="object"){return getLibraryName(t.root)}else if(typeof t==="string"){return t}return""};F(e,"uniqueName",(()=>{const n=getLibraryName(e.library);if(n)return n;const s=i.resolve(t,"package.json");try{const e=JSON.parse(r.readFileSync(s,"utf-8"));return e.name||""}catch(e){if(e.code!=="ENOENT"){e.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${s}`;throw e}return""}}));D(e,"filename","[name].js");F(e,"module",(()=>!!a));F(e,"iife",(()=>!e.module));D(e,"importFunctionName","import");D(e,"importMetaName","import.meta");F(e,"chunkFilename",(()=>{const t=e.filename;if(typeof t!=="function"){const e=t.includes("[name]");const n=t.includes("[id]");const r=t.includes("[chunkhash]");const i=t.includes("[contenthash]");if(r||i||e||n)return t;return t.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return"[id].js"}));D(e,"assetModuleFilename","[hash][ext][query]");D(e,"webassemblyModuleFilename","[hash].module.wasm");D(e,"compareBeforeEmit",true);D(e,"charset",true);F(e,"hotUpdateGlobal",(()=>s.toIdentifier("webpackHotUpdate"+s.toIdentifier(e.uniqueName))));F(e,"chunkLoadingGlobal",(()=>s.toIdentifier("webpackChunk"+s.toIdentifier(e.uniqueName))));F(e,"globalObject",(()=>{if(n){if(n.global)return"global";if(n.globalThis)return"globalThis"}return"self"}));F(e,"chunkFormat",(()=>{if(n){if(n.document)return"array-push";if(n.require)return"commonjs";if(n.nodeBuiltins)return"commonjs";if(n.importScripts)return"array-push";if(n.dynamicImport&&e.module)return"module"}return false}));F(e,"chunkLoading",(()=>{if(n){switch(e.chunkFormat){case"array-push":if(n.document)return"jsonp";if(n.importScripts)return"import-scripts";break;case"commonjs":if(n.require)return"require";if(n.nodeBuiltins)return"async-node";break;case"module":if(n.dynamicImport)return"import";break}if(n.require===null||n.nodeBuiltins===null||n.document===null||n.importScripts===null){return"universal"}}return false}));F(e,"workerChunkLoading",(()=>{if(n){switch(e.chunkFormat){case"array-push":if(n.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(n.require)return"require";if(n.nodeBuiltins)return"async-node";break;case"module":if(n.dynamicImportInWorker)return"import";break}if(n.require===null||n.nodeBuiltins===null||n.importScriptsInWorker===null){return"universal"}}return false}));F(e,"wasmLoading",(()=>{if(n){if(n.fetchWasm)return"fetch";if(n.nodeBuiltins)return"async-node";if(n.nodeBuiltins===null||n.fetchWasm===null){return"universal"}}return false}));F(e,"workerWasmLoading",(()=>e.wasmLoading));F(e,"devtoolNamespace",(()=>e.uniqueName));if(e.library){F(e.library,"type",(()=>e.module?"module":"var"))}F(e,"path",(()=>i.join(process.cwd(),"dist")));F(e,"pathinfo",(()=>c));D(e,"sourceMapFilename","[file].map[query]");D(e,"hotUpdateChunkFilename","[id].[fullhash].hot-update.js");D(e,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(e,"crossOriginLoading",false);F(e,"scriptType",(()=>e.module?"module":false));D(e,"publicPath",n&&(n.document||n.importScripts)||e.scriptType==="module"?"auto":"");D(e,"chunkLoadTimeout",12e4);D(e,"hashFunction","md4");D(e,"hashDigest","hex");D(e,"hashDigestLength",20);D(e,"strictModuleExceptionHandling",false);const optimistic=e=>e||e===undefined;F(e.environment,"arrowFunction",(()=>n&&optimistic(n.arrowFunction)));F(e.environment,"const",(()=>n&&optimistic(n.const)));F(e.environment,"destructuring",(()=>n&&optimistic(n.destructuring)));F(e.environment,"forOf",(()=>n&&optimistic(n.forOf)));F(e.environment,"bigIntLiteral",(()=>n&&n.bigIntLiteral));F(e.environment,"dynamicImport",(()=>n&&n.dynamicImport));F(e.environment,"module",(()=>n&&n.module));const forEachEntry=e=>{for(const t of Object.keys(u)){e(u[t])}};A(e,"enabledLibraryTypes",(()=>{const t=[];if(e.library){t.push(e.library.type)}forEachEntry((e=>{if(e.library){t.push(e.library.type)}}));return t}));A(e,"enabledChunkLoadingTypes",(()=>{const t=new Set;if(e.chunkLoading){t.add(e.chunkLoading)}if(e.workerChunkLoading){t.add(e.workerChunkLoading)}forEachEntry((e=>{if(e.chunkLoading){t.add(e.chunkLoading)}}));return Array.from(t)}));A(e,"enabledWasmLoadingTypes",(()=>{const t=new Set;if(e.wasmLoading){t.add(e.wasmLoading)}if(e.workerWasmLoading){t.add(e.workerWasmLoading)}forEachEntry((e=>{if(e.wasmLoading){t.add(e.wasmLoading)}}));return Array.from(t)}))};const applyExternalsPresetsDefaults=(e,{targetProperties:t})=>{D(e,"web",t&&t.web);D(e,"node",t&&t.node);D(e,"nwjs",t&&t.nwjs);D(e,"electron",t&&t.electron);D(e,"electronMain",t&&t.electron&&t.electronMain);D(e,"electronPreload",t&&t.electron&&t.electronPreload);D(e,"electronRenderer",t&&t.electron&&t.electronRenderer)};const applyLoaderDefaults=(e,{targetProperties:t})=>{F(e,"target",(()=>{if(t){if(t.electron){if(t.electronMain)return"electron-main";if(t.electronPreload)return"electron-preload";if(t.electronRenderer)return"electron-renderer";return"electron"}if(t.nwjs)return"nwjs";if(t.node)return"node";if(t.web)return"web"}}))};const applyNodeDefaults=(e,{targetProperties:t})=>{if(e===false)return;F(e,"global",(()=>{if(t&&t.global)return false;return true}));F(e,"__filename",(()=>{if(t&&t.node)return"eval-only";return"mock"}));F(e,"__dirname",(()=>{if(t&&t.node)return"eval-only";return"mock"}))};const applyPerformanceDefaults=(e,{production:t})=>{if(e===false)return;D(e,"maxAssetSize",25e4);D(e,"maxEntrypointSize",25e4);F(e,"hints",(()=>t?"warning":false))};const applyOptimizationDefaults=(e,{production:t,development:r,records:i})=>{D(e,"removeAvailableModules",false);D(e,"removeEmptyChunks",true);D(e,"mergeDuplicateChunks",true);D(e,"flagIncludedChunks",t);F(e,"moduleIds",(()=>{if(t)return"deterministic";if(r)return"named";return"natural"}));F(e,"chunkIds",(()=>{if(t)return"deterministic";if(r)return"named";return"natural"}));F(e,"sideEffects",(()=>t?true:"flag"));D(e,"providedExports",true);D(e,"usedExports",t);D(e,"innerGraph",t);D(e,"mangleExports",t);D(e,"concatenateModules",t);D(e,"runtimeChunk",false);D(e,"emitOnErrors",!t);D(e,"checkWasmTypes",t);D(e,"mangleWasmImports",false);D(e,"portableRecords",i);D(e,"realContentHash",t);D(e,"minimize",t);A(e,"minimizer",(()=>[{apply:e=>{const t=n(96013);new t({terserOptions:{compress:{passes:2}}}).apply(e)}}]));F(e,"nodeEnv",(()=>{if(t)return"production";if(r)return"development";return false}));const{splitChunks:s}=e;if(s){A(s,"defaultSizeTypes",(()=>["javascript","unknown"]));D(s,"hidePathInfo",t);D(s,"chunks","async");D(s,"usedExports",true);D(s,"minChunks",1);F(s,"minSize",(()=>t?2e4:1e4));F(s,"minRemainingSize",(()=>r?0:undefined));F(s,"enforceSizeThreshold",(()=>t?5e4:3e4));F(s,"maxAsyncRequests",(()=>t?30:Infinity));F(s,"maxInitialRequests",(()=>t?30:Infinity));D(s,"automaticNameDelimiter","-");const{cacheGroups:e}=s;F(e,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(e,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:d,priority:-10})))}};const getResolveDefaults=({cache:e,context:t,targetProperties:n,mode:r})=>{const i=["webpack"];i.push(r==="development"?"development":"production");if(n){if(n.webworker)i.push("worker");if(n.node)i.push("node");if(n.web)i.push("browser");if(n.electron)i.push("electron");if(n.nwjs)i.push("nwjs")}const s=[".js",".json",".wasm"];const a=n;const c=a&&a.web&&(!a.node||a.electron&&a.electronRenderer);const cjsDeps=()=>({aliasFields:c?["browser"]:[],mainFields:c?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...s]});const esmDeps=()=>({aliasFields:c?["browser"]:[],mainFields:c?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...s]});const u={cache:e,modules:["node_modules"],conditionNames:i,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[t],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return u};const getResolveLoaderDefaults=({cache:e})=>{const t={cache:e,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return t};const applyInfrastructureLoggingDefaults=e=>{D(e,"level","info");D(e,"debug",false)};t.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;t.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(e,t,n)=>{"use strict";const r=n(31669);const i=r.deprecate(((e,t)=>{if(t!==undefined&&!e===!t){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!e}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(e,t)=>e===undefined?t({}):t(e);const cloneObject=e=>({...e});const optionalNestedConfig=(e,t)=>e===undefined?undefined:t(e);const nestedArray=(e,t)=>Array.isArray(e)?t(e):t([]);const optionalNestedArray=(e,t)=>Array.isArray(e)?t(e):undefined;const keyedNestedConfig=(e,t,n)=>{const r=e===undefined?{}:Object.keys(e).reduce(((r,i)=>(r[i]=(n&&i in n?n[i]:t)(e[i]),r)),{});if(n){for(const e of Object.keys(n)){if(!(e in r)){r[e]=n[e]({})}}}return r};const getNormalizedWebpackOptions=e=>({amd:e.amd,bail:e.bail,cache:optionalNestedConfig(e.cache,(e=>{if(e===false)return false;if(e===true){return{type:"memory",maxGenerations:undefined}}switch(e.type){case"filesystem":return{type:"filesystem",maxMemoryGenerations:e.maxMemoryGenerations,maxAge:e.maxAge,buildDependencies:cloneObject(e.buildDependencies),cacheDirectory:e.cacheDirectory,cacheLocation:e.cacheLocation,hashAlgorithm:e.hashAlgorithm,idleTimeout:e.idleTimeout,idleTimeoutForInitialStore:e.idleTimeoutForInitialStore,name:e.name,store:e.store,version:e.version};case undefined:case"memory":return{type:"memory",maxGenerations:e.maxGenerations};default:throw new Error(`Not implemented cache.type ${e.type}`)}})),context:e.context,dependencies:e.dependencies,devServer:optionalNestedConfig(e.devServer,(e=>({...e}))),devtool:e.devtool,entry:e.entry===undefined?{main:{}}:typeof e.entry==="function"?(e=>()=>Promise.resolve().then(e).then(getNormalizedEntryStatic))(e.entry):getNormalizedEntryStatic(e.entry),experiments:cloneObject(e.experiments),externals:e.externals,externalsPresets:cloneObject(e.externalsPresets),externalsType:e.externalsType,ignoreWarnings:e.ignoreWarnings?e.ignoreWarnings.map((e=>{if(typeof e==="function")return e;const t=e instanceof RegExp?{message:e}:e;return(e,{requestShortener:n})=>{if(!t.message&&!t.module&&!t.file)return false;if(t.message&&!t.message.test(e.message)){return false}if(t.module&&(!e.module||!t.module.test(e.module.readableIdentifier(n)))){return false}if(t.file&&(!e.file||!t.file.test(e.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(e.infrastructureLogging),loader:cloneObject(e.loader),mode:e.mode,module:nestedConfig(e.module,(e=>({noParse:e.noParse,unsafeCache:e.unsafeCache,parser:keyedNestedConfig(e.parser,cloneObject,{javascript:t=>({unknownContextRequest:e.unknownContextRequest,unknownContextRegExp:e.unknownContextRegExp,unknownContextRecursive:e.unknownContextRecursive,unknownContextCritical:e.unknownContextCritical,exprContextRequest:e.exprContextRequest,exprContextRegExp:e.exprContextRegExp,exprContextRecursive:e.exprContextRecursive,exprContextCritical:e.exprContextCritical,wrappedContextRegExp:e.wrappedContextRegExp,wrappedContextRecursive:e.wrappedContextRecursive,wrappedContextCritical:e.wrappedContextCritical,strictExportPresence:e.strictExportPresence,strictThisContextOnImports:e.strictThisContextOnImports,...t})}),generator:cloneObject(e.generator),defaultRules:optionalNestedArray(e.defaultRules,(e=>[...e])),rules:nestedArray(e.rules,(e=>[...e]))}))),name:e.name,node:nestedConfig(e.node,(e=>e&&{...e})),optimization:nestedConfig(e.optimization,(e=>({...e,runtimeChunk:getNormalizedOptimizationRuntimeChunk(e.runtimeChunk),splitChunks:nestedConfig(e.splitChunks,(e=>e&&{...e,defaultSizeTypes:e.defaultSizeTypes?[...e.defaultSizeTypes]:["..."],cacheGroups:cloneObject(e.cacheGroups)})),emitOnErrors:e.noEmitOnErrors!==undefined?i(e.noEmitOnErrors,e.emitOnErrors):e.emitOnErrors}))),output:nestedConfig(e.output,(e=>{const{library:t}=e;const n=t;const r=typeof t==="object"&&t&&!Array.isArray(t)&&"type"in t?t:n||e.libraryTarget?{name:n}:undefined;const i={assetModuleFilename:e.assetModuleFilename,charset:e.charset,chunkFilename:e.chunkFilename,chunkFormat:e.chunkFormat,chunkLoading:e.chunkLoading,chunkLoadingGlobal:e.chunkLoadingGlobal,chunkLoadTimeout:e.chunkLoadTimeout,clean:e.clean,compareBeforeEmit:e.compareBeforeEmit,crossOriginLoading:e.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:e.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:e.devtoolModuleFilenameTemplate,devtoolNamespace:e.devtoolNamespace,environment:cloneObject(e.environment),enabledChunkLoadingTypes:e.enabledChunkLoadingTypes?[...e.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:e.enabledLibraryTypes?[...e.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:e.enabledWasmLoadingTypes?[...e.enabledWasmLoadingTypes]:["..."],filename:e.filename,globalObject:e.globalObject,hashDigest:e.hashDigest,hashDigestLength:e.hashDigestLength,hashFunction:e.hashFunction,hashSalt:e.hashSalt,hotUpdateChunkFilename:e.hotUpdateChunkFilename,hotUpdateGlobal:e.hotUpdateGlobal,hotUpdateMainFilename:e.hotUpdateMainFilename,iife:e.iife,importFunctionName:e.importFunctionName,importMetaName:e.importMetaName,scriptType:e.scriptType,library:r&&{type:e.libraryTarget!==undefined?e.libraryTarget:r.type,auxiliaryComment:e.auxiliaryComment!==undefined?e.auxiliaryComment:r.auxiliaryComment,export:e.libraryExport!==undefined?e.libraryExport:r.export,name:r.name,umdNamedDefine:e.umdNamedDefine!==undefined?e.umdNamedDefine:r.umdNamedDefine},module:e.module,path:e.path,pathinfo:e.pathinfo,publicPath:e.publicPath,sourceMapFilename:e.sourceMapFilename,sourcePrefix:e.sourcePrefix,strictModuleExceptionHandling:e.strictModuleExceptionHandling,uniqueName:e.uniqueName,wasmLoading:e.wasmLoading,webassemblyModuleFilename:e.webassemblyModuleFilename,workerChunkLoading:e.workerChunkLoading,workerWasmLoading:e.workerWasmLoading};return i})),parallelism:e.parallelism,performance:optionalNestedConfig(e.performance,(e=>{if(e===false)return false;return{...e}})),plugins:nestedArray(e.plugins,(e=>[...e])),profile:e.profile,recordsInputPath:e.recordsInputPath!==undefined?e.recordsInputPath:e.recordsPath,recordsOutputPath:e.recordsOutputPath!==undefined?e.recordsOutputPath:e.recordsPath,resolve:nestedConfig(e.resolve,(e=>({...e,byDependency:keyedNestedConfig(e.byDependency,cloneObject)}))),resolveLoader:cloneObject(e.resolveLoader),snapshot:nestedConfig(e.snapshot,(e=>({resolveBuildDependencies:optionalNestedConfig(e.resolveBuildDependencies,(e=>({timestamp:e.timestamp,hash:e.hash}))),buildDependencies:optionalNestedConfig(e.buildDependencies,(e=>({timestamp:e.timestamp,hash:e.hash}))),resolve:optionalNestedConfig(e.resolve,(e=>({timestamp:e.timestamp,hash:e.hash}))),module:optionalNestedConfig(e.module,(e=>({timestamp:e.timestamp,hash:e.hash}))),immutablePaths:optionalNestedArray(e.immutablePaths,(e=>[...e])),managedPaths:optionalNestedArray(e.managedPaths,(e=>[...e]))}))),stats:nestedConfig(e.stats,(e=>{if(e===false){return{preset:"none"}}if(e===true){return{preset:"normal"}}if(typeof e==="string"){return{preset:e}}return{...e}})),target:e.target,watch:e.watch,watchOptions:cloneObject(e.watchOptions)});const getNormalizedEntryStatic=e=>{if(typeof e==="string"){return{main:{import:[e]}}}if(Array.isArray(e)){return{main:{import:e}}}const t={};for(const n of Object.keys(e)){const r=e[n];if(typeof r==="string"){t[n]={import:[r]}}else if(Array.isArray(r)){t[n]={import:r}}else{t[n]={import:r.import&&(Array.isArray(r.import)?r.import:[r.import]),filename:r.filename,layer:r.layer,runtime:r.runtime,chunkLoading:r.chunkLoading,wasmLoading:r.wasmLoading,dependOn:r.dependOn&&(Array.isArray(r.dependOn)?r.dependOn:[r.dependOn]),library:r.library}}}return t};const getNormalizedOptimizationRuntimeChunk=e=>{if(e===undefined)return undefined;if(e===false)return false;if(e==="single"){return{name:()=>"runtime"}}if(e===true||e==="multiple"){return{name:e=>`runtime~${e.name}`}}const{name:t}=e;return{name:typeof t==="function"?t:()=>t}};t.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(e,t,n)=>{"use strict";const r=n(27509);const getDefaultTarget=e=>{const t=r.load(null,e);return t?"browserslist":"web"};const versionDependent=(e,t)=>{if(!e)return()=>undefined;e=+e;t=t?+t:0;return(n,r=0)=>e>n||e===n&&t>=r};const i=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(e,t)=>{const n=r.load(e?e.trim():null,t);if(!n){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return r.resolve(n)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(e,t,n)=>{const r=versionDependent(t,n);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!e,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:r(12),const:r(6),arrowFunction:r(6),forOf:r(5),destructuring:r(6),bigIntLiteral:r(10,4),dynamicImport:r(12,17),dynamicImportInWorker:t?false:undefined,module:r(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(e,t,n)=>{const r=versionDependent(e,t);return{node:true,electron:true,web:n!=="main",webworker:false,browser:false,nwjs:false,electronMain:n==="main",electronPreload:n==="preload",electronRenderer:n==="renderer",global:true,nodeBuiltins:true,require:true,document:n==="renderer",fetchWasm:n==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:r(5),const:r(1,1),arrowFunction:r(1,1),forOf:r(0,36),destructuring:r(1,1),bigIntLiteral:r(4),dynamicImport:r(11),dynamicImportInWorker:e?false:undefined,module:r(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(e,t)=>{const n=versionDependent(e,t);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:n(0,43),const:n(0,15),arrowFunction:n(0,15),forOf:n(0,13),destructuring:n(0,15),bigIntLiteral:n(0,32),dynamicImport:n(0,43),dynamicImportInWorker:e?false:undefined,module:n(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,e=>{let t=+e;if(t<1e3)t=t+2009;return{const:t>=2015,arrowFunction:t>=2015,forOf:t>=2015,destructuring:t>=2015,module:t>=2015,globalThis:t>=2020,bigIntLiteral:t>=2020,dynamicImport:t>=2020,dynamicImportInWorker:t>=2020}}]];const getTargetProperties=(e,t)=>{for(const[,,n,r]of i){const i=n.exec(e);if(i){const[,...e]=i;const n=r(...e,t);if(n)return n}}throw new Error(`Unknown target '${e}'. The following targets are supported:\n${i.map((([e,t])=>`* ${e}: ${t}`)).join("\n")}`)};const mergeTargetProperties=e=>{const t=new Set;for(const n of e){for(const e of Object.keys(n)){t.add(e)}}const n={};for(const r of t){let t=false;let i=false;for(const n of e){const e=n[r];switch(e){case true:t=true;break;case false:i=true;break}}if(t||i)n[r]=i&&t?null:t?true:false}return n};const getTargetsProperties=(e,t)=>mergeTargetProperties(e.map((e=>getTargetProperties(e,t))));t.getDefaultTarget=getDefaultTarget;t.getTargetProperties=getTargetProperties;t.getTargetsProperties=getTargetsProperties},76041:(e,t,n)=>{"use strict";const r=n(28706);const i=n(56202);class ContainerEntryDependency extends r{constructor(e,t,n){super();this.name=e;this.exposes=t;this.shareScope=n}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}i(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");e.exports=ContainerEntryDependency},89591:(e,t,n)=>{"use strict";const{OriginalSource:r,RawSource:i}=n(48135);const s=n(98221);const a=n(53453);const c=n(76150);const u=n(58159);const l=n(56202);const d=n(4523);const p=new Set(["javascript"]);class ContainerEntryModule extends a{constructor(e,t,n){super("javascript/dynamic",null);this._name=e;this._exposes=t;this._shareScope=n}getSourceTypes(){return p}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(e){return`container entry`}libIdent(e){return`webpack/container/entry/${this._name}`}needBuild(e,t){return t(null,!this.buildMeta)}build(e,t,n,r,i){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[e,t]of this._exposes){const n=new s({name:t.name},{name:e},t.import[t.import.length-1]);let r=0;for(const i of t.import){const t=new d(e,i);t.loc={name:e,index:r++};n.addDependency(t)}this.addBlock(n)}i()}codeGeneration({moduleGraph:e,chunkGraph:t,runtimeTemplate:n}){const s=new Map;const a=new Set([c.definePropertyGetters,c.hasOwnProperty,c.exports]);const l=[];for(const r of this.blocks){const{dependencies:i}=r;const s=i.map((t=>{const n=t;return{name:n.exposedName,module:e.getModule(n),request:n.userRequest}}));let c;if(s.some((e=>!e.module))){c=n.throwMissingModuleErrorBlock({request:s.map((e=>e.request)).join(", ")})}else{c=`return ${n.blockPromise({block:r,message:"",chunkGraph:t,runtimeRequirements:a})}.then(${n.returningFunction(n.returningFunction(`(${s.map((({module:e,request:r})=>n.moduleRaw({module:e,chunkGraph:t,request:r,weak:false,runtimeRequirements:a}))).join(", ")})`))});`}l.push(`${JSON.stringify(s[0].name)}: ${n.basicFunction("",c)}`)}const d=u.asString([`var moduleMap = {`,u.indent(l.join(",\n")),"};",`var get = ${n.basicFunction("module, getScope",[`${c.currentRemoteGetScope} = getScope;`,"getScope = (",u.indent([`${c.hasOwnProperty}(moduleMap, module)`,u.indent(["? moduleMap[module]()",`: Promise.resolve().then(${n.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${c.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${n.basicFunction("shareScope, initScope",[`if (!${c.shareScopeMap}) return;`,`var oldScope = ${c.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${c.shareScopeMap}[name] = shareScope;`,`return ${c.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${c.definePropertyGetters}(exports, {`,u.indent([`get: ${n.returningFunction("get")},`,`init: ${n.returningFunction("init")}`]),"});"]);s.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new r(d,"webpack/container-entry"):new i(d));return{sources:s,runtimeRequirements:a}}size(e){return 42}serialize(e){const{write:t}=e;t(this._name);t(this._exposes);t(this._shareScope);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new ContainerEntryModule(t(),t(),t());n.deserialize(e);return n}}l(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");e.exports=ContainerEntryModule},76912:(e,t,n)=>{"use strict";const r=n(40674);const i=n(89591);e.exports=class ContainerEntryModuleFactory extends r{create({dependencies:[e]},t){const n=e;t(null,{module:new i(n.name,n.exposes,n.shareScope)})}}},4523:(e,t,n)=>{"use strict";const r=n(79983);const i=n(56202);class ContainerExposedDependency extends r{constructor(e,t){super(t);this.exposedName=e}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(e){e.write(this.exposedName);super.serialize(e)}deserialize(e){this.exposedName=e.read();super.deserialize(e)}}i(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");e.exports=ContainerExposedDependency},10419:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(19593);const s=n(76041);const a=n(76912);const c=n(4523);const{parseOptions:u}=n(97264);const l="ContainerPlugin";class ContainerPlugin{constructor(e){r(i,e,{name:"Container Plugin"});this._options={name:e.name,shareScope:e.shareScope||"default",library:e.library||{type:"var",name:e.name},filename:e.filename||undefined,exposes:u(e.exposes,(e=>({import:Array.isArray(e)?e:[e],name:undefined})),(e=>({import:Array.isArray(e.import)?e.import:[e.import],name:e.name||undefined})))}}apply(e){const{name:t,exposes:n,shareScope:r,filename:i,library:u}=this._options;e.options.output.enabledLibraryTypes.push(u.type);e.hooks.make.tapAsync(l,((e,a)=>{const c=new s(t,n,r);c.loc={name:t};e.addEntry(e.options.context,c,{name:t,filename:i,library:u},(e=>{if(e)return a(e);a()}))}));e.hooks.thisCompilation.tap(l,((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,new a);e.dependencyFactories.set(c,t)}))}}e.exports=ContainerPlugin},68839:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(39101);const s=n(61050);const a=n(76150);const c=n(27426);const u=n(55525);const l=n(68005);const d=n(68679);const p=n(31122);const h=n(44742);const{parseOptions:m}=n(97264);const g="/".charCodeAt(0);class ContainerReferencePlugin{constructor(e){r(i,e,{name:"Container Reference Plugin"});this._remoteType=e.remoteType;this._remotes=m(e.remotes,(t=>({external:Array.isArray(t)?t:[t],shareScope:e.shareScope||"default"})),(t=>({external:Array.isArray(t.external)?t.external:[t.external],shareScope:t.shareScope||e.shareScope||"default"})))}apply(e){const{_remotes:t,_remoteType:n}=this;const r={};for(const[e,n]of t){let t=0;for(const i of n.external){if(i.startsWith("internal "))continue;r[`webpack/container/reference/${e}${t?`/fallback-${t}`:""}`]=i;t++}}new s(n,r).apply(e);e.hooks.compilation.tap("ContainerReferencePlugin",((e,{normalModuleFactory:n})=>{e.dependencyFactories.set(h,n);e.dependencyFactories.set(u,n);e.dependencyFactories.set(c,new l);n.hooks.factorize.tap("ContainerReferencePlugin",(e=>{if(!e.request.includes("!")){for(const[n,r]of t){if(e.request.startsWith(`${n}`)&&(e.request.length===n.length||e.request.charCodeAt(n.length)===g)){return new d(e.request,r.external.map(((e,t)=>e.startsWith("internal ")?e.slice(9):`webpack/container/reference/${n}${t?`/fallback-${t}`:""}`)),`.${e.request.slice(n.length)}`,r.shareScope)}}}}));e.hooks.runtimeRequirementInTree.for(a.ensureChunkHandlers).tap("ContainerReferencePlugin",((t,n)=>{n.add(a.module);n.add(a.moduleFactoriesAddOnly);n.add(a.hasOwnProperty);n.add(a.initializeSharing);n.add(a.shareScopeMap);e.addRuntimeModule(t,new p)}))}))}}e.exports=ContainerReferencePlugin},27426:(e,t,n)=>{"use strict";const r=n(28706);const i=n(56202);class FallbackDependency extends r{constructor(e){super();this.requests=e}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(e){const{write:t}=e;t(this.requests);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new FallbackDependency(t());n.deserialize(e);return n}}i(FallbackDependency,"webpack/lib/container/FallbackDependency");e.exports=FallbackDependency},55525:(e,t,n)=>{"use strict";const r=n(79983);const i=n(56202);class FallbackItemDependency extends r{constructor(e){super(e)}get type(){return"fallback item"}get category(){return"esm"}}i(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");e.exports=FallbackItemDependency},13386:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(53453);const s=n(76150);const a=n(58159);const c=n(56202);const u=n(55525);const l=new Set(["javascript"]);const d=new Set([s.module]);class FallbackModule extends i{constructor(e){super("fallback-module");this.requests=e;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(e){return this._identifier}libIdent(e){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(e,{chunkGraph:t}){return t.getNumberOfEntryModules(e)>0}needBuild(e,t){t(null,!this.buildInfo)}build(e,t,n,r,i){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const e of this.requests)this.addDependency(new u(e));i()}size(e){return this.requests.length*5+42}getSourceTypes(){return l}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n}){const i=this.dependencies.map((e=>n.getModuleId(t.getModule(e))));const s=a.asString([`var ids = ${JSON.stringify(i)};`,"var error, result, i = 0;",`var loop = ${e.basicFunction("next",["while(i < ids.length) {",a.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${e.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${e.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const c=new Map;c.set("javascript",new r(s));return{sources:c,runtimeRequirements:d}}serialize(e){const{write:t}=e;t(this.requests);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new FallbackModule(t());n.deserialize(e);return n}}c(FallbackModule,"webpack/lib/container/FallbackModule");e.exports=FallbackModule},68005:(e,t,n)=>{"use strict";const r=n(40674);const i=n(13386);e.exports=class FallbackModuleFactory extends r{create({dependencies:[e]},t){const n=e;t(null,{module:new i(n.requests)})}}},8019:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(7265);const s=n(16471);const a=n(10419);const c=n(68839);class ModuleFederationPlugin{constructor(e){r(i,e,{name:"Module Federation Plugin"});this._options=e}apply(e){const{_options:t}=this;const n=t.library||{type:"var",name:t.name};const r=t.remoteType||(t.library&&i.definitions.ExternalsType.enum.includes(t.library.type)?t.library.type:"script");if(n&&!e.options.output.enabledLibraryTypes.includes(n.type)){e.options.output.enabledLibraryTypes.push(n.type)}e.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(t.exposes&&(Array.isArray(t.exposes)?t.exposes.length>0:Object.keys(t.exposes).length>0)){new a({name:t.name,library:n,filename:t.filename,exposes:t.exposes}).apply(e)}if(t.remotes&&(Array.isArray(t.remotes)?t.remotes.length>0:Object.keys(t.remotes).length>0)){new c({remoteType:r,remotes:t.remotes}).apply(e)}if(t.shared){new s({shared:t.shared,shareScope:t.shareScope}).apply(e)}}))}}e.exports=ModuleFederationPlugin},68679:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(53453);const s=n(76150);const a=n(56202);const c=n(27426);const u=n(44742);const l=new Set(["remote","share-init"]);const d=new Set([s.module]);class RemoteModule extends i{constructor(e,t,n,r){super("remote-module");this.request=e;this.externalRequests=t;this.internalRequest=n;this.shareScope=r;this._identifier=`remote (${r}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(e){return`remote ${this.request}`}libIdent(e){return`webpack/container/remote/${this.request}`}needBuild(e,t){t(null,!this.buildInfo)}build(e,t,n,r,i){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new u(this.externalRequests[0]))}else{this.addDependency(new c(this.externalRequests))}i()}size(e){return 6}getSourceTypes(){return l}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n}){const i=t.getModule(this.dependencies[0]);const s=i&&n.getModuleId(i);const a=new Map;a.set("remote",new r(""));const c=new Map;c.set("share-init",[{shareScope:this.shareScope,initStage:20,init:s===undefined?"":`initExternal(${JSON.stringify(s)});`}]);return{sources:a,data:c,runtimeRequirements:d}}serialize(e){const{write:t}=e;t(this.request);t(this.externalRequests);t(this.internalRequest);t(this.shareScope);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new RemoteModule(t(),t(),t(),t());n.deserialize(e);return n}}a(RemoteModule,"webpack/lib/container/RemoteModule");e.exports=RemoteModule},31122:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class RemoteRuntimeModule extends i{constructor(){super("remotes loading")}generate(){const{runtimeTemplate:e,chunkGraph:t,moduleGraph:n}=this.compilation;const i={};const a={};for(const e of this.chunk.getAllAsyncChunks()){const r=t.getChunkModulesIterableBySourceType(e,"remote");if(!r)continue;const s=i[e.id]=[];for(const e of r){const r=e;const i=r.internalRequest;const c=t.getModuleId(r);const u=r.shareScope;const l=r.dependencies[0];const d=n.getModule(l);const p=d&&t.getModuleId(d);s.push(c);a[c]=[u,i,p]}}return s.asString([`var chunkMapping = ${JSON.stringify(i,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(a,null,"\t")};`,`${r.ensureChunkHandlers}.remotes = ${e.basicFunction("chunkId, promises",[`if(${r.hasOwnProperty}(chunkMapping, chunkId)) {`,s.indent([`chunkMapping[chunkId].forEach(${e.basicFunction("id",[`var getScope = ${r.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${e.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',s.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${e.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${e.basicFunction("fn, arg1, arg2, d, next, first",["try {",s.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",s.indent([`var p = promise.then(${e.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",s.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",s.indent(["onError(error);"]),"}"])}`,`var onExternal = ${e.returningFunction(`external ? handleFunction(${r.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${e.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${e.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${e.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}e.exports=RemoteRuntimeModule},44742:(e,t,n)=>{"use strict";const r=n(79983);const i=n(56202);class RemoteToExternalDependency extends r{constructor(e){super(e)}get type(){return"remote to external"}get category(){return"esm"}}i(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");e.exports=RemoteToExternalDependency},97264:(e,t)=>{"use strict";const process=(e,t,n,r)=>{const array=e=>{for(const n of e){if(typeof n==="string"){r(n,t(n,n))}else if(n&&typeof n==="object"){object(n)}else{throw new Error("Unexpected options format")}}};const object=e=>{for(const[i,s]of Object.entries(e)){if(typeof s==="string"||Array.isArray(s)){r(i,t(s,i))}else{r(i,n(s,i))}}};if(!e){return}else if(Array.isArray(e)){array(e)}else if(typeof e==="object"){object(e)}else{throw new Error("Unexpected options format")}};const parseOptions=(e,t,n)=>{const r=[];process(e,t,n,((e,t)=>{r.push([e,t])}));return r};const scope=(e,t)=>{const n={};process(t,(e=>e),(e=>e),((t,r)=>{n[t.startsWith("./")?`${e}${t.slice(1)}`:`${e}/${t}`]=r}));return n};t.parseOptions=parseOptions;t.scope=scope},26802:(e,t,n)=>{"use strict";const{Tracer:r}=n(25954);const{validate:i}=n(15235);const s=n(8462);const{dirname:a,mkdirpSync:c}=n(95396);let u=undefined;try{u=n(57012)}catch(e){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(e){this.session=undefined;this.inspector=e;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new u.Session;this.session.connect()}catch(e){this.session=undefined;return Promise.resolve()}const e=process.hrtime();this._startTime=e[0]*1e6+Math.round(e[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(e,t){if(this.hasSession()){return new Promise(((n,r)=>this.session.post(e,t,((e,t)=>{if(e!==null){r(e)}else{n(t)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:e})=>{const t=process.hrtime();const n=t[0]*1e6+Math.round(t[1]/1e3);if(e.startTimen){const t=e.endTime-e.startTime;const r=n-this._startTime;const i=Math.max(0,r-t);e.startTime=this._startTime+i/2;e.endTime=n-i/2}return{profile:e}}))}}const createTrace=(e,t)=>{const n=new r({noStream:true});const i=new Profiler(u);if(/\/|\\/.test(t)){const n=a(e,t);c(e,n)}const s=e.createWriteStream(t);let l=0;n.pipe(s);n.instantEvent({name:"TracingStartedInPage",id:++l,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});n.instantEvent({name:"TracingStartedInBrowser",id:++l,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:n,counter:l,profiler:i,end:e=>{s.on("close",(()=>{e()}));n.push(null)}}};const l="ProfilingPlugin";class ProfilingPlugin{constructor(e={}){i(s,e,{name:"Profiling Plugin",baseDataPath:"options"});this.outputPath=e.outputPath||"events.json"}apply(e){const t=createTrace(e.intermediateFileSystem,this.outputPath);t.profiler.startProfiling();Object.keys(e.hooks).forEach((n=>{e.hooks[n].intercept(makeInterceptorFor("Compiler",t)(n))}));Object.keys(e.resolverFactory.hooks).forEach((n=>{e.resolverFactory.hooks[n].intercept(makeInterceptorFor("Resolver",t)(n))}));e.hooks.compilation.tap(l,((e,{normalModuleFactory:n,contextModuleFactory:r})=>{interceptAllHooksFor(e,t,"Compilation");interceptAllHooksFor(n,t,"Normal Module Factory");interceptAllHooksFor(r,t,"Context Module Factory");interceptAllParserHooks(n,t);interceptAllJavascriptModulesPluginHooks(e,t)}));e.hooks.done.tapAsync({name:l,stage:Infinity},((e,n)=>{t.profiler.stopProfiling().then((e=>{if(e===undefined){t.profiler.destroy();t.trace.flush();t.end(n);return}const r=e.profile.startTime;const i=e.profile.endTime;t.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++t.counter,cat:["toplevel"],ts:r,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});t.trace.completeEvent({name:"EvaluateScript",id:++t.counter,cat:["devtools.timeline"],ts:r,dur:i-r,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});t.trace.instantEvent({name:"CpuProfile",id:++t.counter,cat:["disabled-by-default-devtools.timeline"],ts:i,args:{data:{cpuProfile:e.profile}}});t.profiler.destroy();t.trace.flush();t.end(n)}))}))}}const interceptAllHooksFor=(e,t,n)=>{if(Reflect.has(e,"hooks")){Object.keys(e.hooks).forEach((r=>{const i=e.hooks[r];if(!i._fakeHook){i.intercept(makeInterceptorFor(n,t)(r))}}))}};const interceptAllParserHooks=(e,t)=>{const n=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];n.forEach((n=>{e.hooks.parser.for(n).tap("ProfilingPlugin",((e,n)=>{interceptAllHooksFor(e,t,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(e,t)=>{interceptAllHooksFor({hooks:n(18161).getCompilationHooks(e)},t,"JavascriptModulesPlugin")};const makeInterceptorFor=(e,t)=>e=>({register:({name:n,type:r,context:i,fn:s})=>{const a=makeNewProfiledTapFn(e,t,{name:n,type:r,fn:s});return{name:n,type:r,context:i,fn:a}}});const makeNewProfiledTapFn=(e,t,{name:n,type:r,fn:i})=>{const s=["blink.user_timing"];switch(r){case"promise":return(...e)=>{const r=++t.counter;t.trace.begin({name:n,id:r,cat:s});const a=i(...e);return a.then((e=>{t.trace.end({name:n,id:r,cat:s});return e}))};case"async":return(...e)=>{const r=++t.counter;t.trace.begin({name:n,id:r,cat:s});const a=e.pop();i(...e,((...e)=>{t.trace.end({name:n,id:r,cat:s});a(...e)}))};case"sync":return(...e)=>{const r=++t.counter;if(n===l){return i(...e)}t.trace.begin({name:n,id:r,cat:s});let a;try{a=i(...e)}catch(e){t.trace.end({name:n,id:r,cat:s});throw e}t.trace.end({name:n,id:r,cat:s});return a};default:break}};e.exports=ProfilingPlugin;e.exports.Profiler=Profiler},46960:(e,t,n)=>{"use strict";const r=n(76150);const i=n(56202);const s=n(12197);const a={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[r.require,r.exports,r.module]},o:{definition:"",content:"!(module.exports = #)",requests:[r.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[r.require,r.exports,r.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[r.exports,r.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[r.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[r.exports,r.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[r.require,r.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[r.require,r.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends s{constructor(e,t,n,r,i){super();this.range=e;this.arrayRange=t;this.functionRange=n;this.objectRange=r;this.namedModule=i;this.localModule=null}get type(){return"amd define"}serialize(e){const{write:t}=e;t(this.range);t(this.arrayRange);t(this.functionRange);t(this.objectRange);t(this.namedModule);t(this.localModule);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.arrayRange=t();this.functionRange=t();this.objectRange=t();this.namedModule=t();this.localModule=t();super.deserialize(e)}}i(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends s.Template{apply(e,t,{runtimeRequirements:n}){const r=e;const i=this.branch(r);const{definition:s,content:c,requests:u}=a[i];for(const e of u){n.add(e)}this.replace(r,t,s,c)}localModuleVar(e){return e.localModule&&e.localModule.used&&e.localModule.variableName()}branch(e){const t=this.localModuleVar(e)?"l":"";const n=e.arrayRange?"a":"";const r=e.objectRange?"o":"";const i=e.functionRange?"f":"";return t+n+r+i}replace(e,t,n,r){const i=this.localModuleVar(e);if(i){r=r.replace(/XXX/g,i.replace(/\$/g,"$$$$"));n=n.replace(/XXX/g,i.replace(/\$/g,"$$$$"))}if(e.namedModule){r=r.replace(/YYY/g,JSON.stringify(e.namedModule))}const s=r.split("#");if(n)t.insert(0,n);let a=e.range[0];if(e.arrayRange){t.replace(a,e.arrayRange[0]-1,s.shift());a=e.arrayRange[1]}if(e.objectRange){t.replace(a,e.objectRange[0]-1,s.shift());a=e.objectRange[1]}else if(e.functionRange){t.replace(a,e.functionRange[0]-1,s.shift());a=e.functionRange[1]}t.replace(a,e.range[1]-1,s.shift());if(s.length>0)throw new Error("Implementation error")}};e.exports=AMDDefineDependency},98915:(e,t,n)=>{"use strict";const r=n(76150);const i=n(46960);const s=n(95715);const a=n(38145);const c=n(29022);const u=n(66298);const l=n(95601);const d=n(28140);const p=n(14229);const{addLocalModule:h,getLocalModule:m}=n(61701);const isBoundFunctionExpression=e=>{if(e.type!=="CallExpression")return false;if(e.callee.type!=="MemberExpression")return false;if(e.callee.computed)return false;if(e.callee.object.type!=="FunctionExpression")return false;if(e.callee.property.type!=="Identifier")return false;if(e.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=e=>{if(e.type==="FunctionExpression")return true;if(e.type==="ArrowFunctionExpression")return true;return false};const isCallable=e=>{if(isUnboundFunctionExpression(e))return true;if(isBoundFunctionExpression(e))return true;return false};class AMDDefineDependencyParserPlugin{constructor(e){this.options=e}apply(e){e.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,e))}processArray(e,t,n,r,i){if(n.isArray()){n.items.forEach(((n,s)=>{if(n.isString()&&["require","module","exports"].includes(n.string))r[s]=n.string;const a=this.processItem(e,t,n,i);if(a===undefined){this.processContext(e,t,n)}}));return true}else if(n.isConstArray()){const i=[];n.array.forEach(((n,s)=>{let a;let c;if(n==="require"){r[s]=n;a="__webpack_require__"}else if(["exports","module"].includes(n)){r[s]=n;a=n}else if(c=m(e.state,n)){c.flagUsed();a=new p(c,undefined,false);a.loc=t.loc;e.state.module.addPresentationalDependency(a)}else{a=this.newRequireItemDependency(n);a.loc=t.loc;a.optional=!!e.scope.inTry;e.state.current.addDependency(a)}i.push(a)}));const s=this.newRequireArrayDependency(i,n.range);s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.module.addPresentationalDependency(s);return true}}processItem(e,t,n,i){if(n.isConditional()){n.options.forEach((n=>{const r=this.processItem(e,t,n);if(r===undefined){this.processContext(e,t,n)}}));return true}else if(n.isString()){let s,a;if(n.string==="require"){s=new u("__webpack_require__",n.range,[r.require])}else if(n.string==="exports"){s=new u("exports",n.range,[r.exports])}else if(n.string==="module"){s=new u("module",n.range,[r.module])}else if(a=m(e.state,n.string,i)){a.flagUsed();s=new p(a,n.range,false)}else{s=this.newRequireItemDependency(n.string,n.range);s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}s.loc=t.loc;e.state.module.addPresentationalDependency(s);return true}}processContext(e,t,n){const r=l.create(a,n.range,n,t,this.options,{category:"amd"},e);if(!r)return;r.loc=t.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true}processCallDefine(e,t){let n,r,i,s;switch(t.arguments.length){case 1:if(isCallable(t.arguments[0])){r=t.arguments[0]}else if(t.arguments[0].type==="ObjectExpression"){i=t.arguments[0]}else{i=r=t.arguments[0]}break;case 2:if(t.arguments[0].type==="Literal"){s=t.arguments[0].value;if(isCallable(t.arguments[1])){r=t.arguments[1]}else if(t.arguments[1].type==="ObjectExpression"){i=t.arguments[1]}else{i=r=t.arguments[1]}}else{n=t.arguments[0];if(isCallable(t.arguments[1])){r=t.arguments[1]}else if(t.arguments[1].type==="ObjectExpression"){i=t.arguments[1]}else{i=r=t.arguments[1]}}break;case 3:s=t.arguments[0].value;n=t.arguments[1];if(isCallable(t.arguments[2])){r=t.arguments[2]}else if(t.arguments[2].type==="ObjectExpression"){i=t.arguments[2]}else{i=r=t.arguments[2]}break;default:return}d.bailout(e.state);let a=null;let c=0;if(r){if(isUnboundFunctionExpression(r)){a=r.params}else if(isBoundFunctionExpression(r)){a=r.callee.object.params;c=r.arguments.length-1;if(c<0){c=0}}}let u=new Map;if(n){const r={};const i=e.evaluateExpression(n);const l=this.processArray(e,t,i,r,s);if(!l)return;if(a){a=a.slice(c).filter(((t,n)=>{if(r[n]){u.set(t.name,e.getVariableInfo(r[n]));return false}return true}))}}else{const t=["require","exports","module"];if(a){a=a.slice(c).filter(((n,r)=>{if(t[r]){u.set(n.name,e.getVariableInfo(t[r]));return false}return true}))}}let l;if(r&&isUnboundFunctionExpression(r)){l=e.scope.inTry;e.inScope(a,(()=>{for(const[t,n]of u){e.setVariable(t,n)}e.scope.inTry=l;if(r.body.type==="BlockStatement"){e.detectMode(r.body.body);const t=e.prevStatement;e.preWalkStatement(r.body);e.prevStatement=t;e.walkStatement(r.body)}else{e.walkExpression(r.body)}}))}else if(r&&isBoundFunctionExpression(r)){l=e.scope.inTry;e.inScope(r.callee.object.params.filter((e=>!["require","module","exports"].includes(e.name))),(()=>{for(const[t,n]of u){e.setVariable(t,n)}e.scope.inTry=l;if(r.callee.object.body.type==="BlockStatement"){e.detectMode(r.callee.object.body.body);const t=e.prevStatement;e.preWalkStatement(r.callee.object.body);e.prevStatement=t;e.walkStatement(r.callee.object.body)}else{e.walkExpression(r.callee.object.body)}}));if(r.arguments){e.walkExpressions(r.arguments)}}else if(r||i){e.walkExpression(r||i)}const p=this.newDefineDependency(t.range,n?n.range:null,r?r.range:null,i?i.range:null,s?s:null);p.loc=t.loc;if(s){p.localModule=h(e.state,s)}e.state.module.addPresentationalDependency(p);return true}newDefineDependency(e,t,n,r,s){return new i(e,t,n,r,s)}newRequireArrayDependency(e,t){return new s(e,t)}newRequireItemDependency(e,t){return new c(e,t)}}e.exports=AMDDefineDependencyParserPlugin},19765:(e,t,n)=>{"use strict";const r=n(76150);const{approve:i,evaluateToIdentifier:s,evaluateToString:a,toConstantDependency:c}=n(48472);const u=n(46960);const l=n(98915);const d=n(95715);const p=n(38145);const h=n(19041);const m=n(45167);const g=n(29022);const{AMDDefineRuntimeModule:y,AMDOptionsRuntimeModule:_}=n(29035);const b=n(66298);const x=n(14229);const k=n(12584);class AMDPlugin{constructor(e){this.amdOptions=e}apply(e){const t=this.amdOptions;e.hooks.compilation.tap("AMDPlugin",((e,{contextModuleFactory:n,normalModuleFactory:E})=>{e.dependencyTemplates.set(m,new m.Template);e.dependencyFactories.set(g,E);e.dependencyTemplates.set(g,new g.Template);e.dependencyTemplates.set(d,new d.Template);e.dependencyFactories.set(p,n);e.dependencyTemplates.set(p,new p.Template);e.dependencyTemplates.set(u,new u.Template);e.dependencyTemplates.set(k,new k.Template);e.dependencyTemplates.set(x,new x.Template);e.hooks.runtimeRequirementInModule.for(r.amdDefine).tap("AMDPlugin",((e,t)=>{t.add(r.require)}));e.hooks.runtimeRequirementInModule.for(r.amdOptions).tap("AMDPlugin",((e,t)=>{t.add(r.requireScope)}));e.hooks.runtimeRequirementInTree.for(r.amdDefine).tap("AMDPlugin",((t,n)=>{e.addRuntimeModule(t,new y)}));e.hooks.runtimeRequirementInTree.for(r.amdOptions).tap("AMDPlugin",((n,r)=>{e.addRuntimeModule(n,new _(t))}));const handler=(e,t)=>{if(t.amd!==undefined&&!t.amd)return;const tapOptionsHooks=(t,n,i)=>{e.hooks.expression.for(t).tap("AMDPlugin",c(e,r.amdOptions,[r.amdOptions]));e.hooks.evaluateIdentifier.for(t).tap("AMDPlugin",s(t,n,i,true));e.hooks.evaluateTypeof.for(t).tap("AMDPlugin",a("object"));e.hooks.typeof.for(t).tap("AMDPlugin",c(e,JSON.stringify("object")))};new h(t).apply(e);new l(t).apply(e);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));e.hooks.expression.for("define").tap("AMDPlugin",(t=>{const n=new b(r.amdDefine,t.range,[r.amdDefine]);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true}));e.hooks.typeof.for("define").tap("AMDPlugin",c(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("define").tap("AMDPlugin",a("function"));e.hooks.canRename.for("define").tap("AMDPlugin",i);e.hooks.rename.for("define").tap("AMDPlugin",(t=>{const n=new b(r.amdDefine,t.range,[r.amdDefine]);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return false}));e.hooks.typeof.for("require").tap("AMDPlugin",c(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("require").tap("AMDPlugin",a("function"))};E.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}e.exports=AMDPlugin},95715:(e,t,n)=>{"use strict";const r=n(84304);const i=n(56202);const s=n(12197);class AMDRequireArrayDependency extends s{constructor(e,t){super();this.depsArray=e;this.range=t}get type(){return"amd require array"}get category(){return"amd"}serialize(e){const{write:t}=e;t(this.depsArray);t(this.range);super.serialize(e)}deserialize(e){const{read:t}=e;this.depsArray=t();this.range=t();super.deserialize(e)}}i(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends r{apply(e,t,n){const r=e;const i=this.getContent(r,n);t.replace(r.range[0],r.range[1]-1,i)}getContent(e,t){const n=e.depsArray.map((e=>this.contentForDependency(e,t)));return`[${n.join(", ")}]`}contentForDependency(e,{runtimeTemplate:t,moduleGraph:n,chunkGraph:r,runtimeRequirements:i}){if(typeof e==="string"){return e}if(e.localModule){return e.localModule.variableName()}else{return t.moduleExports({module:n.getModule(e),chunkGraph:r,request:e.request,runtimeRequirements:i})}}};e.exports=AMDRequireArrayDependency},38145:(e,t,n)=>{"use strict";const r=n(56202);const i=n(400);class AMDRequireContextDependency extends i{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"amd require context"}get category(){return"amd"}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();super.deserialize(e)}}r(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=n(42740);e.exports=AMDRequireContextDependency},83842:(e,t,n)=>{"use strict";const r=n(98221);const i=n(56202);class AMDRequireDependenciesBlock extends r{constructor(e,t){super(null,e,t)}}i(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");e.exports=AMDRequireDependenciesBlock},19041:(e,t,n)=>{"use strict";const r=n(76150);const i=n(53558);const s=n(95715);const a=n(38145);const c=n(83842);const u=n(45167);const l=n(29022);const d=n(66298);const p=n(95601);const h=n(14229);const{getLocalModule:m}=n(61701);const g=n(12584);const y=n(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(e){this.options=e}processFunctionArgument(e,t){let n=true;const r=y(t);if(r){e.inScope(r.fn.params.filter((e=>!["require","module","exports"].includes(e.name))),(()=>{if(r.fn.body.type==="BlockStatement"){e.walkStatement(r.fn.body)}else{e.walkExpression(r.fn.body)}}));e.walkExpressions(r.expressions);if(r.needThis===false){n=false}}else{e.walkExpression(t)}return n}apply(e){e.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,e))}processArray(e,t,n){if(n.isArray()){for(const r of n.items){const n=this.processItem(e,t,r);if(n===undefined){this.processContext(e,t,r)}}return true}else if(n.isConstArray()){const r=[];for(const i of n.array){let n,s;if(i==="require"){n="__webpack_require__"}else if(["exports","module"].includes(i)){n=i}else if(s=m(e.state,i)){s.flagUsed();n=new h(s,undefined,false);n.loc=t.loc;e.state.module.addPresentationalDependency(n)}else{n=this.newRequireItemDependency(i);n.loc=t.loc;n.optional=!!e.scope.inTry;e.state.current.addDependency(n)}r.push(n)}const i=this.newRequireArrayDependency(r,n.range);i.loc=t.loc;i.optional=!!e.scope.inTry;e.state.module.addPresentationalDependency(i);return true}}processItem(e,t,n){if(n.isConditional()){for(const r of n.options){const n=this.processItem(e,t,r);if(n===undefined){this.processContext(e,t,r)}}return true}else if(n.isString()){let i,s;if(n.string==="require"){i=new d("__webpack_require__",n.string,[r.require])}else if(n.string==="module"){i=new d(e.state.module.buildInfo.moduleArgument,n.range,[r.module])}else if(n.string==="exports"){i=new d(e.state.module.buildInfo.exportsArgument,n.range,[r.exports])}else if(s=m(e.state,n.string)){s.flagUsed();i=new h(s,n.range,false)}else{i=this.newRequireItemDependency(n.string,n.range);i.loc=t.loc;i.optional=!!e.scope.inTry;e.state.current.addDependency(i);return true}i.loc=t.loc;e.state.module.addPresentationalDependency(i);return true}}processContext(e,t,n){const r=p.create(a,n.range,n,t,this.options,{category:"amd"},e);if(!r)return;r.loc=t.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true}processArrayForRequestString(e){if(e.isArray()){const t=e.items.map((e=>this.processItemForRequestString(e)));if(t.every(Boolean))return t.join(" ")}else if(e.isConstArray()){return e.array.join(" ")}}processItemForRequestString(e){if(e.isConditional()){const t=e.options.map((e=>this.processItemForRequestString(e)));if(t.every(Boolean))return t.join("|")}else if(e.isString()){return e.string}}processCallRequire(e,t){let n;let r;let s;let a;const c=e.state.current;if(t.arguments.length>=1){n=e.evaluateExpression(t.arguments[0]);r=this.newRequireDependenciesBlock(t.loc,this.processArrayForRequestString(n));s=this.newRequireDependency(t.range,n.range,t.arguments.length>1?t.arguments[1].range:null,t.arguments.length>2?t.arguments[2].range:null);s.loc=t.loc;r.addDependency(s);e.state.current=r}if(t.arguments.length===1){e.inScope([],(()=>{a=this.processArray(e,t,n)}));e.state.current=c;if(!a)return;e.state.current.addBlock(r);return true}if(t.arguments.length===2||t.arguments.length===3){try{e.inScope([],(()=>{a=this.processArray(e,t,n)}));if(!a){const n=new g("unsupported",t.range);c.addPresentationalDependency(n);if(e.state.module){e.state.module.addError(new i("Cannot statically analyse 'require(…, …)' in line "+t.loc.start.line,t.loc))}r=null;return true}s.functionBindThis=this.processFunctionArgument(e,t.arguments[1]);if(t.arguments.length===3){s.errorCallbackBindThis=this.processFunctionArgument(e,t.arguments[2])}}finally{e.state.current=c;if(r)e.state.current.addBlock(r)}return true}}newRequireDependenciesBlock(e,t){return new c(e,t)}newRequireDependency(e,t,n,r){return new u(e,t,n,r)}newRequireItemDependency(e,t){return new l(e,t)}newRequireArrayDependency(e,t){return new s(e,t)}}e.exports=AMDRequireDependenciesBlockParserPlugin},45167:(e,t,n)=>{"use strict";const r=n(76150);const i=n(56202);const s=n(12197);class AMDRequireDependency extends s{constructor(e,t,n,r){super();this.outerRange=e;this.arrayRange=t;this.functionRange=n;this.errorCallbackRange=r;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(e){const{write:t}=e;t(this.outerRange);t(this.arrayRange);t(this.functionRange);t(this.errorCallbackRange);t(this.functionBindThis);t(this.errorCallbackBindThis);super.serialize(e)}deserialize(e){const{read:t}=e;this.outerRange=t();this.arrayRange=t();this.functionRange=t();this.errorCallbackRange=t();this.functionBindThis=t();this.errorCallbackBindThis=t();super.deserialize(e)}}i(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends s.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:i,chunkGraph:s,runtimeRequirements:a}){const c=e;const u=i.getParentBlock(c);const l=n.blockPromise({chunkGraph:s,block:u,message:"AMD require",runtimeRequirements:a});if(c.arrayRange&&!c.functionRange){const e=`${l}.then(function() {`;const n=`;}).catch(${r.uncaughtErrorHandler})`;a.add(r.uncaughtErrorHandler);t.replace(c.outerRange[0],c.arrayRange[0]-1,e);t.replace(c.arrayRange[1],c.outerRange[1]-1,n);return}if(c.functionRange&&!c.arrayRange){const e=`${l}.then((`;const n=`).bind(exports, __webpack_require__, exports, module)).catch(${r.uncaughtErrorHandler})`;a.add(r.uncaughtErrorHandler);t.replace(c.outerRange[0],c.functionRange[0]-1,e);t.replace(c.functionRange[1],c.outerRange[1]-1,n);return}if(c.arrayRange&&c.functionRange&&c.errorCallbackRange){const e=`${l}.then(function() { `;const n=`}${c.functionBindThis?".bind(this)":""}).catch(`;const r=`${c.errorCallbackBindThis?".bind(this)":""})`;t.replace(c.outerRange[0],c.arrayRange[0]-1,e);t.insert(c.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");t.replace(c.arrayRange[1],c.functionRange[0]-1,"; (");t.insert(c.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");t.replace(c.functionRange[1],c.errorCallbackRange[0]-1,n);t.replace(c.errorCallbackRange[1],c.outerRange[1]-1,r);return}if(c.arrayRange&&c.functionRange){const e=`${l}.then(function() { `;const n=`}${c.functionBindThis?".bind(this)":""}).catch(${r.uncaughtErrorHandler})`;a.add(r.uncaughtErrorHandler);t.replace(c.outerRange[0],c.arrayRange[0]-1,e);t.insert(c.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");t.replace(c.arrayRange[1],c.functionRange[0]-1,"; (");t.insert(c.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");t.replace(c.functionRange[1],c.outerRange[1]-1,n)}}};e.exports=AMDRequireDependency},29022:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);const s=n(87283);class AMDRequireItemDependency extends i{constructor(e,t){super(e);this.range=t}get type(){return"amd require"}get category(){return"amd"}}r(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=s;e.exports=AMDRequireItemDependency},29035:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class AMDDefineRuntimeModule extends i{constructor(){super("amd define")}generate(){return s.asString([`${r.amdDefine} = function () {`,s.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends i{constructor(e){super("amd options");this.options=e}generate(){return s.asString([`${r.amdOptions} = ${JSON.stringify(this.options)};`])}}t.AMDDefineRuntimeModule=AMDDefineRuntimeModule;t.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(e,t,n)=>{"use strict";const r=n(84304);const i=n(63272);const s=n(56202);const a=n(12197);class CachedConstDependency extends a{constructor(e,t,n){super();this.expression=e;this.range=t;this.identifier=n}updateHash(e,t){e.update(this.identifier+"");e.update(this.range+"");e.update(this.expression+"")}serialize(e){const{write:t}=e;t(this.expression);t(this.range);t(this.identifier);super.serialize(e)}deserialize(e){const{read:t}=e;this.expression=t();this.range=t();this.identifier=t();super.deserialize(e)}}s(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends r{apply(e,t,{runtimeTemplate:n,dependencyTemplates:r,initFragments:s}){const a=e;s.push(new i(`var ${a.identifier} = ${a.expression};\n`,i.STAGE_CONSTANTS,0,`const ${a.identifier}`));if(typeof a.range==="number"){t.insert(a.range,a.identifier);return}t.replace(a.range[0],a.range[1]-1,a.identifier)}};e.exports=CachedConstDependency},73456:(e,t,n)=>{"use strict";const r=n(76150);t.handleDependencyBase=(e,t,n)=>{let i=undefined;let s;switch(e){case"exports":n.add(r.exports);i=t.exportsArgument;s="expression";break;case"module.exports":n.add(r.module);i=`${t.moduleArgument}.exports`;s="expression";break;case"this":n.add(r.thisAsExports);i="this";s="expression";break;case"Object.defineProperty(exports)":n.add(r.exports);i=t.exportsArgument;s="Object.defineProperty";break;case"Object.defineProperty(module.exports)":n.add(r.module);i=`${t.moduleArgument}.exports`;s="Object.defineProperty";break;case"Object.defineProperty(this)":n.add(r.thisAsExports);i="this";s="Object.defineProperty";break;default:throw new Error(`Unsupported base ${e}`)}return[s,i]}},1248:(e,t,n)=>{"use strict";const r=n(28706);const{UsageState:i}=n(76632);const s=n(58159);const{equals:a}=n(73910);const c=n(56202);const u=n(68038);const{handleDependencyBase:l}=n(73456);const d=n(79983);const p=n(18971);const h=Symbol("CommonJsExportRequireDependency.ids");const m={};class CommonJsExportRequireDependency extends d{constructor(e,t,n,r,i,s,a){super(i);this.range=e;this.valueRange=t;this.base=n;this.names=r;this.ids=s;this.resultUsed=a;this.asiSafe=undefined}get type(){return"cjs export require"}getIds(e){return e.getMeta(this)[h]||this.ids}setIds(e,t){e.getMeta(this)[h]=t}getReferencedExports(e,t){const n=this.getIds(e);const getFullResult=()=>{if(n.length===0){return r.EXPORTS_OBJECT_REFERENCED}else{return[{name:n,canMangle:false}]}};if(this.resultUsed)return getFullResult();let s=e.getExportsInfo(e.getParentModule(this));for(const e of this.names){const n=s.getReadOnlyExportInfo(e);const a=n.getUsed(t);if(a===i.Unused)return r.NO_EXPORTS_REFERENCED;if(a!==i.OnlyPropertiesUsed)return getFullResult();s=n.exportsInfo;if(!s)return getFullResult()}if(s.otherExportsInfo.getUsed(t)!==i.Unused){return getFullResult()}const a=[];for(const e of s.orderedExports){p(t,a,n.concat(e.name),e,false)}return a.map((e=>({name:e,canMangle:false})))}getExports(e){const t=this.getIds(e);if(this.names.length===1){const n=this.names[0];const r=e.getConnection(this);if(!r)return;return{exports:[{name:n,from:r,export:t.length===0?null:t,canMangle:!(n in m)&&false}],dependencies:[r.module]}}else if(this.names.length>0){const e=this.names[0];return{exports:[{name:e,canMangle:!(e in m)&&false}],dependencies:undefined}}else{const n=e.getConnection(this);if(!n)return;const r=this.getStarReexports(e,undefined,n.module);if(r){return{exports:Array.from(r.exports,(e=>({name:e,from:n,export:t.concat(e),canMangle:!(e in m)&&false}))),dependencies:[n.module]}}else{return{exports:true,from:t.length===0?n:undefined,canMangle:false,dependencies:[n.module]}}}}getStarReexports(e,t,n=e.getModule(this)){let r=e.getExportsInfo(n);const s=this.getIds(e);if(s.length>0)r=r.getNestedExportsInfo(s);let a=e.getExportsInfo(e.getParentModule(this));if(this.names.length>0)a=a.getNestedExportsInfo(this.names);const c=r&&r.otherExportsInfo.provided===false;const u=a&&a.otherExportsInfo.getUsed(t)===i.Unused;if(!c&&!u){return}const l=n.getExportsType(e,false)==="namespace";const d=new Set;const p=new Set;if(u){for(const e of a.orderedExports){const n=e.name;if(e.getUsed(t)===i.Unused)continue;if(n==="__esModule"&&l){d.add(n)}else if(r){const e=r.getReadOnlyExportInfo(n);if(e.provided===false)continue;d.add(n);if(e.provided===true)continue;p.add(n)}else{d.add(n);p.add(n)}}}else if(c){for(const e of r.orderedExports){const n=e.name;if(e.provided===false)continue;if(a){const e=a.getReadOnlyExportInfo(n);if(e.getUsed(t)===i.Unused)continue}d.add(n);if(e.provided===true)continue;p.add(n)}if(l){d.add("__esModule");p.delete("__esModule")}}return{exports:d,checked:p}}serialize(e){const{write:t}=e;t(this.asiSafe);t(this.range);t(this.valueRange);t(this.base);t(this.names);t(this.ids);t(this.resultUsed);super.serialize(e)}deserialize(e){const{read:t}=e;this.asiSafe=t();this.range=t();this.valueRange=t();this.base=t();this.names=t();this.ids=t();this.resultUsed=t();super.deserialize(e)}}c(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends d.Template{apply(e,t,{module:n,runtimeTemplate:r,chunkGraph:i,moduleGraph:c,runtimeRequirements:d,runtime:p}){const h=e;const m=c.getExportsInfo(n).getUsedName(h.names,p);const[g,y]=l(h.base,n,d);const _=c.getModule(h);let b=r.moduleExports({module:_,chunkGraph:i,request:h.request,weak:h.weak,runtimeRequirements:d});const x=h.getIds(c);const k=c.getExportsInfo(_).getUsedName(x,p);if(k){const e=a(k,x)?"":s.toNormalComment(u(x))+" ";b+=`${e}${u(k)}`}switch(g){case"expression":t.replace(h.range[0],h.range[1]-1,m?`${y}${u(m)} = ${b}`:`/* unused reexport */ ${b}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};e.exports=CommonJsExportRequireDependency},26702:(e,t,n)=>{"use strict";const r=n(63272);const i=n(56202);const s=n(68038);const{handleDependencyBase:a}=n(73456);const c=n(12197);const u={};class CommonJsExportsDependency extends c{constructor(e,t,n,r){super();this.range=e;this.valueRange=t;this.base=n;this.names=r}get type(){return"cjs exports"}getExports(e){const t=this.names[0];return{exports:[{name:t,canMangle:!(t in u)}],dependencies:undefined}}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);t(this.base);t(this.names);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();this.base=t();this.names=t();super.deserialize(e)}}i(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends c.Template{apply(e,t,{module:n,moduleGraph:i,initFragments:c,runtimeRequirements:u,runtime:l}){const d=e;const p=i.getExportsInfo(n).getUsedName(d.names,l);const[h,m]=a(d.base,n,u);switch(h){case"expression":if(!p){c.push(new r("var __webpack_unused_export__;\n",r.STAGE_CONSTANTS,0,"__webpack_unused_export__"));t.replace(d.range[0],d.range[1]-1,"__webpack_unused_export__");return}t.replace(d.range[0],d.range[1]-1,`${m}${s(p)}`);return;case"Object.defineProperty":if(!p){c.push(new r("var __webpack_unused_export__;\n",r.STAGE_CONSTANTS,0,"__webpack_unused_export__"));t.replace(d.range[0],d.valueRange[0]-1,"__webpack_unused_export__ = (");t.replace(d.valueRange[1],d.range[1]-1,")");return}t.replace(d.range[0],d.valueRange[0]-1,`Object.defineProperty(${m}${s(p.slice(0,-1))}, ${JSON.stringify(p[p.length-1])}, (`);t.replace(d.valueRange[1],d.range[1]-1,"))");return}}};e.exports=CommonJsExportsDependency},48235:(e,t,n)=>{"use strict";const r=n(76150);const i=n(72380);const{evaluateToString:s}=n(48472);const a=n(68038);const c=n(1248);const u=n(26702);const l=n(94147);const d=n(28140);const p=n(25702);const h=n(2706);const getValueOfPropertyDescription=e=>{if(e.type!=="ObjectExpression")return;for(const t of e.properties){if(t.computed)continue;const e=t.key;if(e.type!=="Identifier"||e.name!=="value")continue;return t.value}};const isTruthyLiteral=e=>{switch(e.type){case"Literal":return!!e.value;case"UnaryExpression":if(e.operator==="!")return isFalsyLiteral(e.argument)}return false};const isFalsyLiteral=e=>{switch(e.type){case"Literal":return!e.value;case"UnaryExpression":if(e.operator==="!")return isTruthyLiteral(e.argument)}return false};const parseRequireCall=(e,t)=>{const n=[];while(t.type==="MemberExpression"){if(t.object.type==="Super")return;if(!t.property)return;const e=t.property;if(t.computed){if(e.type!=="Literal")return;n.push(`${e.value}`)}else{if(e.type!=="Identifier")return;n.push(e.name)}t=t.object}if(t.type!=="CallExpression"||t.arguments.length!==1)return;const r=t.callee;if(r.type!=="Identifier"||e.getVariableInfo(r.name)!=="require"){return}const i=t.arguments[0];if(i.type==="SpreadElement")return;const s=e.evaluateExpression(i);return{argument:s,ids:n.reverse()}};class CommonJsExportsParserPlugin{constructor(e){this.moduleGraph=e}apply(e){const enableStructuredExports=()=>{d.enable(e.state)};const checkNamespace=(t,n,r)=>{if(!d.isEnabled(e.state))return;if(n.length>0&&n[0]==="__esModule"){if(r&&isTruthyLiteral(r)&&t){d.setFlagged(e.state)}else{d.setDynamic(e.state)}}};const bailout=t=>{d.bailout(e.state);if(t)bailoutHint(t)};const bailoutHint=t=>{this.moduleGraph.getOptimizationBailout(e.state.module).push(`CommonJS bailout: ${t}`)};e.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",s("object"));e.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",s("object"));const handleAssignExport=(t,n,r)=>{if(p.isEnabled(e.state))return;const i=parseRequireCall(e,t.right);if(i&&i.argument.isString()&&(r.length===0||r[0]!=="__esModule")){enableStructuredExports();if(r.length===0)d.setDynamic(e.state);const s=new c(t.range,null,n,r,i.argument.string,i.ids,!e.isStatementLevelExpression(t));s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.module.addDependency(s);return true}if(r.length===0)return;enableStructuredExports();const s=r;checkNamespace(e.statementPath.length===1&&e.isStatementLevelExpression(t),s,t.right);const a=new u(t.left.range,null,n,s);a.loc=t.loc;e.state.module.addDependency(a);e.walkExpression(t.right);return true};e.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((e,t)=>handleAssignExport(e,"exports",t)));e.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((t,n)=>{if(!e.scope.topLevelScope)return;return handleAssignExport(t,"this",n)}));e.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((e,t)=>{if(t[0]!=="exports")return;return handleAssignExport(e,"module.exports",t.slice(1))}));e.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(t=>{const n=t;if(!e.isStatementLevelExpression(n))return;if(n.arguments.length!==3)return;if(n.arguments[0].type==="SpreadElement")return;if(n.arguments[1].type==="SpreadElement")return;if(n.arguments[2].type==="SpreadElement")return;const r=e.evaluateExpression(n.arguments[0]);if(!r||!r.isIdentifier())return;if(r.identifier!=="exports"&&r.identifier!=="module.exports"&&(r.identifier!=="this"||!e.scope.topLevelScope)){return}const i=e.evaluateExpression(n.arguments[1]);if(!i)return;const s=i.asString();if(typeof s!=="string")return;enableStructuredExports();const a=n.arguments[2];checkNamespace(e.statementPath.length===1,[s],getValueOfPropertyDescription(a));const c=new u(n.range,n.arguments[2].range,`Object.defineProperty(${r.identifier})`,[s]);c.loc=n.loc;e.state.module.addDependency(c);e.walkExpression(n.arguments[2]);return true}));const handleAccessExport=(t,n,r,s=undefined)=>{if(p.isEnabled(e.state))return;if(r.length===0){bailout(`${n} is used directly at ${i(t.loc)}`)}if(s&&r.length===1){bailoutHint(`${n}${a(r)}(...) prevents optimization as ${n} is passed as call context at ${i(t.loc)}`)}const c=new l(t.range,n,r,!!s);c.loc=t.loc;e.state.module.addDependency(c);if(s){e.walkExpressions(s.arguments)}return true};e.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((e,t)=>handleAccessExport(e.callee,"exports",t,e)));e.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((e,t)=>handleAccessExport(e,"exports",t)));e.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(e=>handleAccessExport(e,"exports",[])));e.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((e,t)=>{if(t[0]!=="exports")return;return handleAccessExport(e.callee,"module.exports",t.slice(1),e)}));e.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((e,t)=>{if(t[0]!=="exports")return;return handleAccessExport(e,"module.exports",t.slice(1))}));e.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(e=>handleAccessExport(e,"module.exports",[])));e.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((t,n)=>{if(!e.scope.topLevelScope)return;return handleAccessExport(t.callee,"this",n,t)}));e.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((t,n)=>{if(!e.scope.topLevelScope)return;return handleAccessExport(t,"this",n)}));e.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(t=>{if(!e.scope.topLevelScope)return;return handleAccessExport(t,"this",[])}));e.hooks.expression.for("module").tap("CommonJsPlugin",(t=>{bailout();const n=p.isEnabled(e.state);const i=new h(n?r.harmonyModuleDecorator:r.nodeModuleDecorator,!n);i.loc=t.loc;e.state.module.addDependency(i);return true}))}}e.exports=CommonJsExportsParserPlugin},87519:(e,t,n)=>{"use strict";const r=n(58159);const{equals:i}=n(73910);const s=n(56202);const a=n(68038);const c=n(79983);class CommonJsFullRequireDependency extends c{constructor(e,t,n){super(e);this.range=t;this.names=n;this.call=false;this.asiSafe=undefined}getReferencedExports(e,t){if(this.call){const t=e.getModule(this);if(!t||t.getExportsType(e,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(e){const{write:t}=e;t(this.names);t(this.call);t(this.asiSafe);super.serialize(e)}deserialize(e){const{read:t}=e;this.names=t();this.call=t();this.asiSafe=t();super.deserialize(e)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends c.Template{apply(e,t,{module:n,runtimeTemplate:s,moduleGraph:c,chunkGraph:u,runtimeRequirements:l,runtime:d,initFragments:p}){const h=e;if(!h.range)return;const m=c.getModule(h);let g=s.moduleExports({module:m,chunkGraph:u,request:h.request,weak:h.weak,runtimeRequirements:l});const y=h.names;const _=c.getExportsInfo(m).getUsedName(y,d);if(_){const e=i(_,y)?"":r.toNormalComment(a(y))+" ";g+=`${e}${a(_)}`}t.replace(h.range[0],h.range[1]-1,g)}};s(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");e.exports=CommonJsFullRequireDependency},42218:(e,t,n)=>{"use strict";const r=n(47207);const i=n(76150);const s=n(53558);const{evaluateToIdentifier:a,evaluateToString:c,expressionIsUnsupported:u,toConstantDependency:l}=n(48472);const d=n(87519);const p=n(51454);const h=n(37313);const m=n(66298);const g=n(95601);const y=n(14229);const{getLocalModule:_}=n(61701);const b=n(70340);const x=n(84817);const k=n(76913);const E=n(23380);class CommonJsImportsParserPlugin{constructor(e){this.options=e}apply(e){const t=this.options;const tapRequireExpression=(t,n)=>{e.hooks.typeof.for(t).tap("CommonJsPlugin",l(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for(t).tap("CommonJsPlugin",c("function"));e.hooks.evaluateIdentifier.for(t).tap("CommonJsPlugin",a(t,"require",n,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));e.hooks.assign.for("require").tap("CommonJsPlugin",(t=>{const n=new m("var require;",0);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true}));e.hooks.expression.for("require.main.require").tap("CommonJsPlugin",u(e,"require.main.require is not supported by webpack."));e.hooks.call.for("require.main.require").tap("CommonJsPlugin",u(e,"require.main.require is not supported by webpack."));e.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",u(e,"module.parent.require is not supported by webpack."));e.hooks.call.for("module.parent.require").tap("CommonJsPlugin",u(e,"module.parent.require is not supported by webpack."));e.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));e.hooks.rename.for("require").tap("CommonJsPlugin",(t=>{const n=new m("undefined",t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return false}));e.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",l(e,i.moduleCache,[i.moduleCache,i.moduleId,i.moduleLoaded]));e.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(n=>{const r=new p({request:t.unknownContextRequest,recursive:t.unknownContextRecursive,regExp:t.unknownContextRegExp,mode:"sync"},n.range);r.critical=t.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";r.loc=n.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true}));const processRequireItem=(t,n)=>{if(n.isString()){const r=new h(n.string,n.range);r.loc=t.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true}};const processRequireContext=(n,r)=>{const i=g.create(p,n.range,r,n,t,{category:"commonjs"},e);if(!i)return;i.loc=n.loc;i.optional=!!e.scope.inTry;e.state.current.addDependency(i);return true};const createRequireHandler=n=>i=>{if(t.commonjsMagicComments){const{options:t,errors:n}=e.parseCommentOptions(i.range);if(n){for(const t of n){const{comment:n}=t;e.state.module.addWarning(new r(`Compilation error while processing magic comment(-s): /*${n.value}*/: ${t.message}`,n.loc))}}if(t){if(t.webpackIgnore!==undefined){if(typeof t.webpackIgnore!=="boolean"){e.state.module.addWarning(new s(`\`webpackIgnore\` expected a boolean, but received: ${t.webpackIgnore}.`,i.loc))}else{if(t.webpackIgnore){return true}}}}}if(i.arguments.length!==1)return;let a;const c=e.evaluateExpression(i.arguments[0]);if(c.isConditional()){let t=false;for(const e of c.options){const n=processRequireItem(i,e);if(n===undefined){t=true}}if(!t){const t=new b(i.callee.range);t.loc=i.loc;e.state.module.addPresentationalDependency(t);return true}}if(c.isString()&&(a=_(e.state,c.string))){a.flagUsed();const t=new y(a,i.range,n);t.loc=i.loc;e.state.module.addPresentationalDependency(t);return true}else{const t=processRequireItem(i,c);if(t===undefined){processRequireContext(i,c)}else{const t=new b(i.callee.range);t.loc=i.loc;e.state.module.addPresentationalDependency(t)}return true}};e.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));e.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));e.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));e.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(t,n,r,i)=>{if(r.arguments.length!==1)return;const s=e.evaluateExpression(r.arguments[0]);if(s.isString()&&!_(e.state,s.string)){const n=new d(s.string,t.range,i);n.asiSafe=!e.isAsiPosition(t.range[0]);n.optional=!!e.scope.inTry;n.loc=t.loc;e.state.module.addDependency(n);return true}};const callChainHandler=(t,n,r,i)=>{if(r.arguments.length!==1)return;const s=e.evaluateExpression(r.arguments[0]);if(s.isString()&&!_(e.state,s.string)){const n=new d(s.string,t.callee.range,i);n.call=true;n.asiSafe=!e.isAsiPosition(t.range[0]);n.optional=!!e.scope.inTry;n.loc=t.callee.loc;e.state.module.addDependency(n);e.walkExpressions(t.arguments);return true}};e.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);e.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);e.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);e.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(t,n)=>{if(t.arguments.length!==1)return;const r=e.evaluateExpression(t.arguments[0]);if(r.isConditional()){for(const e of r.options){const r=processResolveItem(t,e,n);if(r===undefined){processResolveContext(t,e,n)}}const i=new E(t.callee.range);i.loc=t.loc;e.state.module.addPresentationalDependency(i);return true}else{const i=processResolveItem(t,r,n);if(i===undefined){processResolveContext(t,r,n)}const s=new E(t.callee.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s);return true}};const processResolveItem=(t,n,r)=>{if(n.isString()){const i=new k(n.string,n.range);i.loc=t.loc;i.optional=!!e.scope.inTry;i.weak=r;e.state.current.addDependency(i);return true}};const processResolveContext=(n,r,i)=>{const s=g.create(x,r.range,r,n,t,{category:"commonjs",mode:i?"weak":"sync"},e);if(!s)return;s.loc=n.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true};e.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(e=>processResolve(e,false)));e.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(e=>processResolve(e,true)))}}e.exports=CommonJsImportsParserPlugin},91630:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(31141);const a=n(58159);const c=n(26702);const u=n(87519);const l=n(51454);const d=n(37313);const p=n(94147);const h=n(2706);const m=n(70340);const g=n(84817);const y=n(76913);const _=n(23380);const b=n(35424);const x=n(48235);const k=n(42218);const{evaluateToIdentifier:E,toConstantDependency:w}=n(48472);const S=n(1248);class CommonJsPlugin{apply(e){e.hooks.compilation.tap("CommonJsPlugin",((e,{contextModuleFactory:t,normalModuleFactory:n})=>{e.dependencyFactories.set(d,n);e.dependencyTemplates.set(d,new d.Template);e.dependencyFactories.set(u,n);e.dependencyTemplates.set(u,new u.Template);e.dependencyFactories.set(l,t);e.dependencyTemplates.set(l,new l.Template);e.dependencyFactories.set(y,n);e.dependencyTemplates.set(y,new y.Template);e.dependencyFactories.set(g,t);e.dependencyTemplates.set(g,new g.Template);e.dependencyTemplates.set(_,new _.Template);e.dependencyTemplates.set(m,new m.Template);e.dependencyTemplates.set(c,new c.Template);e.dependencyFactories.set(S,n);e.dependencyTemplates.set(S,new S.Template);const i=new s(e.moduleGraph);e.dependencyFactories.set(p,i);e.dependencyTemplates.set(p,new p.Template);e.dependencyFactories.set(h,i);e.dependencyTemplates.set(h,new h.Template);e.hooks.runtimeRequirementInModule.for(r.harmonyModuleDecorator).tap("CommonJsPlugin",((e,t)=>{t.add(r.module);t.add(r.requireScope)}));e.hooks.runtimeRequirementInModule.for(r.nodeModuleDecorator).tap("CommonJsPlugin",((e,t)=>{t.add(r.module);t.add(r.requireScope)}));e.hooks.runtimeRequirementInTree.for(r.harmonyModuleDecorator).tap("CommonJsPlugin",((t,n)=>{e.addRuntimeModule(t,new HarmonyModuleDecoratorRuntimeModule)}));e.hooks.runtimeRequirementInTree.for(r.nodeModuleDecorator).tap("CommonJsPlugin",((t,n)=>{e.addRuntimeModule(t,new NodeModuleDecoratorRuntimeModule)}));const handler=(t,n)=>{if(n.commonjs!==undefined&&!n.commonjs)return;t.hooks.typeof.for("module").tap("CommonJsPlugin",w(t,JSON.stringify("object")));t.hooks.expression.for("require.main").tap("CommonJsPlugin",w(t,`${r.moduleCache}[${r.entryModuleId}]`,[r.moduleCache,r.entryModuleId]));t.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(e=>{t.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const n=new b([r.moduleLoaded]);n.loc=e.loc;t.state.module.addPresentationalDependency(n);return true}));t.hooks.expression.for("module.id").tap("CommonJsPlugin",(e=>{t.state.module.buildInfo.moduleConcatenationBailout="module.id";const n=new b([r.moduleId]);n.loc=e.loc;t.state.module.addPresentationalDependency(n);return true}));t.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",E("module.hot","module",(()=>["hot"]),null));new k(n).apply(t);new x(e.moduleGraph).apply(t)};n.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);n.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends i{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:e}=this.compilation;return a.asString([`${r.harmonyModuleDecorator} = ${e.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",a.indent(["enumerable: true,",`set: ${e.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends i{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:e}=this.compilation;return a.asString([`${r.nodeModuleDecorator} = ${e.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}e.exports=CommonJsPlugin},51454:(e,t,n)=>{"use strict";const r=n(56202);const i=n(400);const s=n(42740);class CommonJsRequireContextDependency extends i{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"cjs require context"}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();super.deserialize(e)}}r(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=s;e.exports=CommonJsRequireContextDependency},37313:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);const s=n(80791);class CommonJsRequireDependency extends i{constructor(e,t){super(e);this.range=t}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=s;r(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");e.exports=CommonJsRequireDependency},94147:(e,t,n)=>{"use strict";const r=n(76150);const{equals:i}=n(73910);const s=n(56202);const a=n(68038);const c=n(12197);class CommonJsSelfReferenceDependency extends c{constructor(e,t,n,r){super();this.range=e;this.base=t;this.names=n;this.call=r}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(e,t){return[this.call?this.names.slice(0,-1):this.names]}serialize(e){const{write:t}=e;t(this.range);t(this.base);t(this.names);t(this.call);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.base=t();this.names=t();this.call=t();super.deserialize(e)}}s(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends c.Template{apply(e,t,{module:n,moduleGraph:s,runtime:c,runtimeRequirements:u}){const l=e;let d;if(l.names.length===0){d=l.names}else{d=s.getExportsInfo(n).getUsedName(l.names,c)}if(!d){throw new Error("Self-reference dependency has unused export name: This should not happen")}let p=undefined;switch(l.base){case"exports":u.add(r.exports);p=n.exportsArgument;break;case"module.exports":u.add(r.module);p=`${n.moduleArgument}.exports`;break;case"this":u.add(r.thisAsExports);p="this";break;default:throw new Error(`Unsupported base ${l.base}`)}if(p===l.base&&i(d,l.names)){return}t.replace(l.range[0],l.range[1]-1,`${p}${a(d)}`)}};e.exports=CommonJsSelfReferenceDependency},66298:(e,t,n)=>{"use strict";const r=n(56202);const i=n(12197);class ConstDependency extends i{constructor(e,t,n){super();this.expression=e;this.range=t;this.runtimeRequirements=n?new Set(n):null}updateHash(e,t){e.update(this.range+"");e.update(this.expression+"");if(this.runtimeRequirements)e.update(Array.from(this.runtimeRequirements).join()+"")}getModuleEvaluationSideEffectsState(e){return false}serialize(e){const{write:t}=e;t(this.expression);t(this.range);t(this.runtimeRequirements);super.serialize(e)}deserialize(e){const{read:t}=e;this.expression=t();this.range=t();this.runtimeRequirements=t();super.deserialize(e)}}r(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends i.Template{apply(e,t,n){const r=e;if(r.runtimeRequirements){for(const e of r.runtimeRequirements){n.runtimeRequirements.add(e)}}if(typeof r.range==="number"){t.insert(r.range,r.expression);return}t.replace(r.range[0],r.range[1]-1,r.expression)}};e.exports=ConstDependency},400:(e,t,n)=>{"use strict";const r=n(28706);const i=n(84304);const s=n(56202);const a=n(91671);const c=a((()=>n(75314)));const regExpToString=e=>e?e+"":"";class ContextDependency extends r{constructor(e){super();this.options=e;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.replaces=undefined}get category(){return"commonjs"}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(e){let t=super.getWarnings(e);if(this.critical){if(!t)t=[];const e=c();t.push(new e(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!t)t=[];const e=c();t.push(new e("Contexts can't use RegExps with the 'g' or 'y' flags."))}return t}serialize(e){const{write:t}=e;t(this.options);t(this.userRequest);t(this.critical);t(this.hadGlobalOrStickyRegExp);t(this.request);t(this.range);t(this.valueRange);t(this.prepend);t(this.replaces);super.serialize(e)}deserialize(e){const{read:t}=e;this.options=t();this.userRequest=t();this.critical=t();this.hadGlobalOrStickyRegExp=t();this.request=t();this.range=t();this.valueRange=t();this.prepend=t();this.replaces=t();super.deserialize(e)}}s(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=i;e.exports=ContextDependency},95601:(e,t,n)=>{"use strict";const{parseResource:r}=n(49197);const quoteMeta=e=>e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=e=>{const t=e.lastIndexOf("/");let n=".";if(t>=0){n=e.substr(0,t);e=`.${e.substr(t)}`}return{context:n,prefix:e}};t.create=(e,t,n,i,s,a,c)=>{if(n.isTemplateString()){let u=n.quasis[0].string;let l=n.quasis.length>1?n.quasis[n.quasis.length-1].string:"";const d=n.range;const{context:p,prefix:h}=splitContextFromPrefix(u);const{path:m,query:g,fragment:y}=r(l,c);const _=n.quasis.slice(1,n.quasis.length-1);const b=s.wrappedContextRegExp.source+_.map((e=>quoteMeta(e.string)+s.wrappedContextRegExp.source)).join("");const x=new RegExp(`^${quoteMeta(h)}${b}${quoteMeta(m)}$`);const k=new e({request:p+g+y,recursive:s.wrappedContextRecursive,regExp:x,mode:"sync",...a},t,d);k.loc=i.loc;const E=[];n.parts.forEach(((e,t)=>{if(t%2===0){let r=e.range;let i=e.string;if(n.templateStringKind==="cooked"){i=JSON.stringify(i);i=i.slice(1,i.length-1)}if(t===0){i=h;r=[n.range[0],e.range[1]];i=(n.templateStringKind==="cooked"?"`":"String.raw`")+i}else if(t===n.parts.length-1){i=m;r=[e.range[0],n.range[1]];i=i+"`"}else if(e.expression&&e.expression.type==="TemplateElement"&&e.expression.value.raw===i){return}E.push({range:r,value:i})}else{c.walkExpression(e.expression)}}));k.replaces=E;k.critical=s.wrappedContextCritical&&"a part of the request of a dependency is an expression";return k}else if(n.isWrapped()&&(n.prefix&&n.prefix.isString()||n.postfix&&n.postfix.isString())){let u=n.prefix&&n.prefix.isString()?n.prefix.string:"";let l=n.postfix&&n.postfix.isString()?n.postfix.string:"";const d=n.prefix&&n.prefix.isString()?n.prefix.range:null;const p=n.postfix&&n.postfix.isString()?n.postfix.range:null;const h=n.range;const{context:m,prefix:g}=splitContextFromPrefix(u);const{path:y,query:_,fragment:b}=r(l,c);const x=new RegExp(`^${quoteMeta(g)}${s.wrappedContextRegExp.source}${quoteMeta(y)}$`);const k=new e({request:m+_+b,recursive:s.wrappedContextRecursive,regExp:x,mode:"sync",...a},t,h);k.loc=i.loc;const E=[];if(d){E.push({range:d,value:JSON.stringify(g)})}if(p){E.push({range:p,value:JSON.stringify(y)})}k.replaces=E;k.critical=s.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(c&&n.wrappedInnerExpressions){for(const e of n.wrappedInnerExpressions){if(e.expression)c.walkExpression(e.expression)}}return k}else{const r=new e({request:s.exprContextRequest,recursive:s.exprContextRecursive,regExp:s.exprContextRegExp,mode:"sync",...a},t,n.range);r.loc=i.loc;r.critical=s.exprContextCritical&&"the request of a dependency is an expression";c.walkExpression(n.expression);return r}}},94148:(e,t,n)=>{"use strict";const r=n(400);class ContextDependencyTemplateAsId extends r.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:r,chunkGraph:i,runtimeRequirements:s}){const a=e;const c=n.moduleExports({module:r.getModule(a),chunkGraph:i,request:a.request,weak:a.weak,runtimeRequirements:s});if(r.getModule(a)){if(a.valueRange){if(Array.isArray(a.replaces)){for(let e=0;e{"use strict";const r=n(400);class ContextDependencyTemplateAsRequireCall extends r.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:r,chunkGraph:i,runtimeRequirements:s}){const a=e;const c=n.moduleExports({module:r.getModule(a),chunkGraph:i,request:a.request,runtimeRequirements:s});if(r.getModule(a)){if(a.valueRange){if(Array.isArray(a.replaces)){for(let e=0;e{"use strict";const r=n(28706);const i=n(56202);const s=n(79983);class ContextElementDependency extends s{constructor(e,t,n,r){super(e);this.referencedExports=r;this._category=n;if(t){this.userRequest=t}}get type(){return"context element"}get category(){return this._category}getReferencedExports(e,t){return this.referencedExports?this.referencedExports.map((e=>({name:e,canMangle:false}))):r.EXPORTS_OBJECT_REFERENCED}serialize(e){e.write(this.referencedExports);super.serialize(e)}deserialize(e){this.referencedExports=e.read();super.deserialize(e)}}i(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");e.exports=ContextElementDependency},75314:(e,t,n)=>{"use strict";const r=n(81627);const i=n(56202);class CriticalDependencyWarning extends r{constructor(e){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+e;Error.captureStackTrace(this,this.constructor)}}i(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");e.exports=CriticalDependencyWarning},49422:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);class DelegatedSourceDependency extends i{constructor(e){super(e)}get type(){return"delegated source"}get category(){return"esm"}}r(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");e.exports=DelegatedSourceDependency},95189:(e,t,n)=>{"use strict";const r=n(28706);const i=n(56202);class DllEntryDependency extends r{constructor(e,t){super();this.dependencies=e;this.name=t}get type(){return"dll entry"}serialize(e){const{write:t}=e;t(this.dependencies);t(this.name);super.serialize(e)}deserialize(e){const{read:t}=e;this.dependencies=t();this.name=t();super.deserialize(e)}}i(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");e.exports=DllEntryDependency},28140:(e,t)=>{"use strict";const n=new WeakMap;t.bailout=e=>{const t=n.get(e);n.set(e,false);if(t===true){e.module.buildMeta.exportsType=undefined;e.module.buildMeta.defaultObject=false}};t.enable=e=>{const t=n.get(e);if(t===false)return;n.set(e,true);if(t!==true){e.module.buildMeta.exportsType="default";e.module.buildMeta.defaultObject="redirect"}};t.setFlagged=e=>{const t=n.get(e);if(t!==true)return;const r=e.module.buildMeta;if(r.exportsType==="dynamic")return;r.exportsType="flagged"};t.setDynamic=e=>{const t=n.get(e);if(t!==true)return;e.module.buildMeta.exportsType="dynamic"};t.isEnabled=e=>{const t=n.get(e);return t===true}},66583:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);class EntryDependency extends i{constructor(e){super(e)}get type(){return"entry"}get category(){return"esm"}}r(EntryDependency,"webpack/lib/dependencies/EntryDependency");e.exports=EntryDependency},51420:(e,t,n)=>{"use strict";const{UsageState:r}=n(76632);const i=n(56202);const s=n(12197);const getProperty=(e,t,n,i,s)=>{if(!n){switch(i){case"usedExports":{const n=e.getExportsInfo(t).getUsedExports(s);if(typeof n==="boolean"||n===undefined||n===null){return n}return Array.from(n).sort()}}}switch(i){case"used":return e.getExportsInfo(t).getUsed(n,s)!==r.Unused;case"useInfo":{const i=e.getExportsInfo(t).getUsed(n,s);switch(i){case r.Used:case r.OnlyPropertiesUsed:return true;case r.Unused:return false;case r.NoInfo:return undefined;case r.Unknown:return null;default:throw new Error(`Unexpected UsageState ${i}`)}}case"provideInfo":return e.getExportsInfo(t).isExportProvided(n)}return undefined};class ExportsInfoDependency extends s{constructor(e,t,n){super();this.range=e;this.exportName=t;this.property=n}serialize(e){const{write:t}=e;t(this.range);t(this.exportName);t(this.property);super.serialize(e)}static deserialize(e){const t=new ExportsInfoDependency(e.read(),e.read(),e.read());t.deserialize(e);return t}}i(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends s.Template{apply(e,t,{module:n,moduleGraph:r,runtime:i}){const s=e;const a=getProperty(r,n,s.exportName,s.property,i);t.replace(s.range[0],s.range[1]-1,a===undefined?"undefined":JSON.stringify(a))}};e.exports=ExportsInfoDependency},27790:(e,t,n)=>{"use strict";const r=n(58159);const i=n(56202);const s=n(37359);const a=n(12197);class HarmonyAcceptDependency extends a{constructor(e,t,n){super();this.range=e;this.dependencies=t;this.hasCallback=n}get type(){return"accepted harmony modules"}serialize(e){const{write:t}=e;t(this.range);t(this.dependencies);t(this.hasCallback);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.dependencies=t();this.hasCallback=t();super.deserialize(e)}}i(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends a.Template{apply(e,t,n){const i=e;const{module:a,runtime:c,runtimeRequirements:u,runtimeTemplate:l,moduleGraph:d,chunkGraph:p}=n;const h=i.dependencies.map((e=>{const t=d.getModule(e);return{dependency:e,runtimeCondition:t?s.Template.getImportEmittedRuntime(a,t):false}})).filter((({runtimeCondition:e})=>e!==false)).map((({dependency:e,runtimeCondition:t})=>{const i=l.runtimeConditionExpression({chunkGraph:p,runtime:c,runtimeCondition:t,runtimeRequirements:u});const s=e.getImportStatement(true,n);const a=s[0]+s[1];if(i!=="true"){return`if (${i}) {\n${r.indent(a)}\n}\n`}return a})).join("");if(i.hasCallback){if(l.supportsArrowFunction()){t.insert(i.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${h}(`);t.insert(i.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{t.insert(i.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${h}(`);t.insert(i.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const m=l.supportsArrowFunction();t.insert(i.range[1]-.5,`, ${m?"() =>":"function()"} { ${h} }`)}};e.exports=HarmonyAcceptDependency},80654:(e,t,n)=>{"use strict";const r=n(56202);const i=n(37359);class HarmonyAcceptImportDependency extends i{constructor(e){super(e,NaN);this.weak=true}get type(){return"harmony accept"}}r(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends i.Template{};e.exports=HarmonyAcceptImportDependency},54290:(e,t,n)=>{"use strict";const{UsageState:r}=n(76632);const i=n(63272);const s=n(76150);const a=n(56202);const c=n(12197);class HarmonyCompatibilityDependency extends c{get type(){return"harmony export header"}}a(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends c.Template{apply(e,t,{module:n,runtimeTemplate:a,moduleGraph:c,initFragments:u,runtimeRequirements:l,runtime:d,concatenationScope:p}){if(p)return;const h=c.getExportsInfo(n);if(h.getReadOnlyExportInfo("__esModule").getUsed(d)!==r.Unused){const e=a.defineEsModuleFlagStatement({exportsArgument:n.exportsArgument,runtimeRequirements:l});u.push(new i(e,i.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(c.isAsync(n)){l.add(s.module);l.add(s.asyncModule);u.push(new i(a.supportsArrowFunction()?`${s.asyncModule}(${n.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${s.asyncModule}(${n.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,i.STAGE_ASYNC_BOUNDARY,0,undefined,n.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};e.exports=HarmonyCompatibilityDependency},11720:(e,t,n)=>{"use strict";const r=n(28140);const i=n(54290);const s=n(25702);e.exports=class HarmonyDetectionParserPlugin{constructor(e){const{topLevelAwait:t=false}=e||{};this.topLevelAwait=t}apply(e){e.hooks.program.tap("HarmonyDetectionParserPlugin",(t=>{const n=e.state.module.type==="javascript/esm";const a=n||t.body.some((e=>e.type==="ImportDeclaration"||e.type==="ExportDefaultDeclaration"||e.type==="ExportNamedDeclaration"||e.type==="ExportAllDeclaration"));if(a){const t=e.state.module;const a=new i;a.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};t.addPresentationalDependency(a);r.bailout(e.state);s.enable(e.state,n);e.scope.isStrict=true}}));e.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const t=e.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!s.isEnabled(e.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}t.buildMeta.async=true}));const skipInHarmony=()=>{if(s.isEnabled(e.state)){return true}};const nullInHarmony=()=>{if(s.isEnabled(e.state)){return null}};const t=["define","exports"];for(const n of t){e.hooks.evaluateTypeof.for(n).tap("HarmonyDetectionParserPlugin",nullInHarmony);e.hooks.typeof.for(n).tap("HarmonyDetectionParserPlugin",skipInHarmony);e.hooks.evaluate.for(n).tap("HarmonyDetectionParserPlugin",nullInHarmony);e.hooks.expression.for(n).tap("HarmonyDetectionParserPlugin",skipInHarmony);e.hooks.call.for(n).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(e,t,n)=>{"use strict";const r=n(58018);const i=n(66298);const s=n(55037);const a=n(48752);const c=n(44576);const u=n(14696);const{harmonySpecifierTag:l}=n(29381);const d=n(69707);e.exports=class HarmonyExportDependencyParserPlugin{constructor(e){this.strictExportPresence=e.strictExportPresence}apply(e){e.hooks.export.tap("HarmonyExportDependencyParserPlugin",(t=>{const n=new a(t.declaration&&t.declaration.range,t.range);n.loc=Object.create(t.loc);n.loc.index=-1;e.state.module.addPresentationalDependency(n);return true}));e.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((t,n)=>{e.state.lastHarmonyImportOrder=(e.state.lastHarmonyImportOrder||0)+1;const r=new i("",t.range);r.loc=Object.create(t.loc);r.loc.index=-1;e.state.module.addPresentationalDependency(r);const s=new d(n,e.state.lastHarmonyImportOrder);s.loc=Object.create(t.loc);s.loc.index=-1;e.state.current.addDependency(s);return true}));e.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((t,n)=>{const i=n.type==="FunctionDeclaration";const a=e.getComments([t.range[0],n.range[0]]);const c=new s(n.range,t.range,a.map((e=>{switch(e.type){case"Block":return`/*${e.value}*/`;case"Line":return`//${e.value}\n`}return""})).join(""),n.type.endsWith("Declaration")&&n.id?n.id.name:i?{id:n.id?n.id.name:undefined,range:[n.range[0],n.params.length>0?n.params[0].range[0]:n.body.range[0]],prefix:`${n.async?"async ":""}function${n.generator?"*":""} `,suffix:`(${n.params.length>0?"":") "}`}:undefined);c.loc=Object.create(t.loc);c.loc.index=-1;e.state.current.addDependency(c);r.addVariableUsage(e,n.type.endsWith("Declaration")&&n.id?n.id.name:"*default*","default");return true}));e.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((t,n,i,s)=>{const a=e.getTagData(n,l);let d;const p=e.state.harmonyNamedExports=e.state.harmonyNamedExports||new Set;p.add(i);r.addVariableUsage(e,n,i);if(a){d=new c(a.source,a.sourceOrder,a.ids,i,p,null,this.strictExportPresence)}else{d=new u(n,i)}d.loc=Object.create(t.loc);d.loc.index=s;e.state.current.addDependency(d);return true}));e.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((t,n,r,i,s)=>{const a=e.state.harmonyNamedExports=e.state.harmonyNamedExports||new Set;let u=null;if(i){a.add(i)}else{u=e.state.harmonyStarExports=e.state.harmonyStarExports||[]}const l=new c(n,e.state.lastHarmonyImportOrder,r?[r]:[],i,a,u&&u.slice(),this.strictExportPresence);if(u){u.push(l)}l.loc=Object.create(t.loc);l.loc.index=s;e.state.current.addDependency(l);return true}))}}},55037:(e,t,n)=>{"use strict";const r=n(77294);const i=n(76150);const s=n(56202);const a=n(82296);const c=n(12197);class HarmonyExportExpressionDependency extends c{constructor(e,t,n,r){super();this.range=e;this.rangeStatement=t;this.prefix=n;this.declarationId=r}get type(){return"harmony export expression"}getExports(e){return{exports:["default"],terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(e){return false}serialize(e){const{write:t}=e;t(this.range);t(this.rangeStatement);t(this.prefix);t(this.declarationId);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.rangeStatement=t();this.prefix=t();this.declarationId=t();super.deserialize(e)}}s(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends c.Template{apply(e,t,{module:n,moduleGraph:s,runtimeTemplate:c,runtimeRequirements:u,initFragments:l,runtime:d,concatenationScope:p}){const h=e;const{declarationId:m}=h;const g=n.exportsArgument;if(m){let e;if(typeof m==="string"){e=m}else{e=r.DEFAULT_EXPORT;t.replace(m.range[0],m.range[1]-1,`${m.prefix}${e}${m.suffix}`)}if(p){p.registerExport("default",e)}else{const t=s.getExportsInfo(n).getUsedName("default",d);if(t){const n=new Map;n.set(t,`/* export default binding */ ${e}`);l.push(new a(g,n))}}t.replace(h.rangeStatement[0],h.range[0]-1,`/* harmony default export */ ${h.prefix}`)}else{let e;const m=r.DEFAULT_EXPORT;if(c.supportsConst()){e=`/* harmony default export */ const ${m} = `;if(p){p.registerExport("default",m)}else{const t=s.getExportsInfo(n).getUsedName("default",d);if(t){u.add(i.exports);const e=new Map;e.set(t,m);l.push(new a(g,e))}else{e=`/* unused harmony default export */ var ${m} = `}}}else if(p){e=`/* harmony default export */ var ${m} = `;p.registerExport("default",m)}else{const t=s.getExportsInfo(n).getUsedName("default",d);if(t){u.add(i.exports);e=`/* harmony default export */ ${g}[${JSON.stringify(t)}] = `}else{e=`/* unused harmony default export */ var ${m} = `}}if(h.range){t.replace(h.rangeStatement[0],h.range[0]-1,e+"("+h.prefix);t.replace(h.range[1],h.rangeStatement[1]-.5,");");return}t.replace(h.rangeStatement[0],h.rangeStatement[1]-1,e)}}};e.exports=HarmonyExportExpressionDependency},48752:(e,t,n)=>{"use strict";const r=n(56202);const i=n(12197);class HarmonyExportHeaderDependency extends i{constructor(e,t){super();this.range=e;this.rangeStatement=t}get type(){return"harmony export header"}serialize(e){const{write:t}=e;t(this.range);t(this.rangeStatement);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.rangeStatement=t();super.deserialize(e)}}r(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends i.Template{apply(e,t,n){const r=e;const i="";const s=r.range?r.range[0]-1:r.rangeStatement[1]-1;t.replace(r.rangeStatement[0],s,i)}};e.exports=HarmonyExportHeaderDependency},44576:(e,t,n)=>{"use strict";const r=n(28706);const{UsageState:i}=n(76632);const s=n(36756);const a=n(63272);const c=n(76150);const u=n(58159);const{first:l,combine:d}=n(26221);const p=n(56202);const h=n(68038);const m=n(82296);const g=n(37359);const y=n(18971);const _=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(e,t,n,r,i){this.name=e;this.ids=t;this.exportInfo=n;this.checked=r;this.hidden=i}}class ExportMode{constructor(e){this.type=e;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}class HarmonyExportImportedSpecifierDependency extends g{constructor(e,t,n,r,i,s,a){super(e,t);this.ids=n;this.name=r;this.activeExports=i;this.otherStarExports=s;this.strictExportPresence=a}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(e){return e.getMeta(this)[_]||this.ids}setIds(e,t){e.getMeta(this)[_]=t}getMode(e,t){const n=this.name;const r=this.getIds(e);const s=e.getParentModule(this);const a=e.getModule(this);const c=e.getExportsInfo(s);if(!a){const e=new ExportMode("missing");e.userRequest=this.userRequest;return e}if(n?c.getUsed(n,t)===i.Unused:c.isUsed(t)===false){const e=new ExportMode("unused");e.name=n||"*";return e}const u=a.getExportsType(e,s.buildMeta.strictHarmonyModule);if(n&&r.length>0&&r[0]==="default"){switch(u){case"dynamic":{const e=new ExportMode("reexport-dynamic-default");e.name=n;return e}case"default-only":case"default-with-named":{const e=c.getReadOnlyExportInfo(n);const t=new ExportMode("reexport-named-default");t.name=n;t.partialNamespaceExportInfo=e;return t}}}if(n){let e;const t=c.getReadOnlyExportInfo(n);if(r.length>0){switch(u){case"default-only":e=new ExportMode("reexport-undefined");e.name=n;break;default:e=new ExportMode("normal-reexport");e.items=[new NormalReexportItem(n,r,t,false,false)];break}}else{switch(u){case"default-only":e=new ExportMode("reexport-fake-namespace-object");e.name=n;e.partialNamespaceExportInfo=t;e.fakeType=0;break;case"default-with-named":e=new ExportMode("reexport-fake-namespace-object");e.name=n;e.partialNamespaceExportInfo=t;e.fakeType=2;break;case"dynamic":default:e=new ExportMode("reexport-namespace-object");e.name=n;e.partialNamespaceExportInfo=t}}return e}const{ignoredExports:l,exports:d,checked:p,hidden:h}=this.getStarReexports(e,t,c,a);if(!d){const e=new ExportMode("dynamic-reexport");e.ignored=l;e.hidden=h;return e}if(d.size===0){const e=new ExportMode("empty-star");e.hidden=h;return e}const m=new ExportMode("normal-reexport");m.items=Array.from(d,(e=>new NormalReexportItem(e,[e],c.getReadOnlyExportInfo(e),p.has(e),false))).concat(Array.from(h,(e=>new NormalReexportItem(e,[e],c.getReadOnlyExportInfo(e),false,true))));return m}getStarReexports(e,t,n=e.getExportsInfo(e.getParentModule(this)),r=e.getModule(this)){const s=e.getExportsInfo(r);const a=s.otherExportsInfo.provided===false;const c=n.otherExportsInfo.getUsed(t)===i.Unused;const u=new Set(["default",...this.activeExports]);const l=new Set(this._discoverActiveExportsFromOtherStarExports(e).keys());for(const e of u)l.delete(e);if(!a&&!c){return{ignoredExports:u,hidden:l}}const d=new Set;const p=new Set;const h=new Set;if(c){for(const e of n.orderedExports){const n=e.name;if(u.has(n))continue;if(e.getUsed(t)===i.Unused)continue;const r=s.getReadOnlyExportInfo(n);if(r.provided===false)continue;if(l.has(n)){h.add(n);continue}d.add(n);if(r.provided===true)continue;p.add(n)}}else if(a){for(const e of s.orderedExports){const r=e.name;if(u.has(r))continue;if(e.provided===false)continue;const s=n.getReadOnlyExportInfo(r);if(s.getUsed(t)===i.Unused)continue;if(l.has(r)){h.add(r);continue}d.add(r);if(e.provided===true)continue;p.add(r)}}return{ignoredExports:u,exports:d,checked:p,hidden:h}}getCondition(e){return(t,n)=>{const r=this.getMode(e,n);return r.type!=="unused"&&r.type!=="empty-star"}}getModuleEvaluationSideEffectsState(e){return false}getReferencedExports(e,t){const n=this.getMode(e,t);switch(n.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return r.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return r.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!n.partialNamespaceExportInfo)return r.EXPORTS_OBJECT_REFERENCED;const e=[];y(t,e,[],n.partialNamespaceExportInfo);return e}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!n.partialNamespaceExportInfo)return r.EXPORTS_OBJECT_REFERENCED;const e=[];y(t,e,[],n.partialNamespaceExportInfo,n.type==="reexport-fake-namespace-object");return e}case"dynamic-reexport":return r.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const e=[];for(const{ids:r,exportInfo:i,hidden:s}of n.items){if(s)continue;y(t,e,r,i,false)}return e}default:throw new Error(`Unknown mode ${n.type}`)}}_discoverActiveExportsFromOtherStarExports(e){if(!this.otherStarExports){return new Map}const t=new Map;for(const n of this.otherStarExports){const r=e.getModule(n);if(r){const i=e.getExportsInfo(r);for(const e of i.exports){if(e.provided===true&&!t.has(e.name)){t.set(e.name,n)}}}}return t}getExports(e){const t=this.getMode(e,undefined);switch(t.type){case"missing":return undefined;case"dynamic-reexport":{const n=e.getConnection(this);return{exports:true,from:n,canMangle:false,excludeExports:d(t.ignored,t.hidden),hideExports:t.hidden,dependencies:[n.module]}}case"empty-star":return{exports:[],hideExports:t.hidden,dependencies:[e.getModule(this)]};case"normal-reexport":{const n=e.getConnection(this);return{exports:Array.from(t.items,(e=>({name:e.name,from:n,export:e.ids,hidden:e.hidden}))),dependencies:[n.module]}}case"reexport-dynamic-default":{{const n=e.getConnection(this);return{exports:[{name:t.name,from:n,export:["default"]}],dependencies:[n.module]}}}case"reexport-undefined":return{exports:[t.name],dependencies:[e.getModule(this)]};case"reexport-fake-namespace-object":{const n=e.getConnection(this);return{exports:[{name:t.name,from:n,export:null,exports:[{name:"default",canMangle:false,from:n,export:null}]}],dependencies:[n.module]}}case"reexport-namespace-object":{const n=e.getConnection(this);return{exports:[{name:t.name,from:n,export:null}],dependencies:[n.module]}}case"reexport-named-default":{const n=e.getConnection(this);return{exports:[{name:t.name,from:n,export:["default"]}],dependencies:[n.module]}}default:throw new Error(`Unknown mode ${t.type}`)}}getWarnings(e){if(this.strictExportPresence||e.getParentModule(this).buildMeta.strictHarmonyModule){return null}return this._getErrors(e)}getErrors(e){if(this.strictExportPresence||e.getParentModule(this).buildMeta.strictHarmonyModule){return this._getErrors(e)}return null}_getErrors(e){const t=this.getIds(e);let n=this.getLinkingErrors(e,t,`(reexported as '${this.name}')`);if(t.length===0&&this.name===null){const t=this._discoverActiveExportsFromOtherStarExports(e);if(t.size>0){const r=e.getModule(this);if(r){const i=e.getExportsInfo(r);const a=new Map;for(const n of i.orderedExports){if(n.provided!==true)continue;if(n.name==="default")continue;if(this.activeExports.has(n.name))continue;const i=t.get(n.name);if(!i)continue;const s=n.getTerminalBinding(e);if(!s)continue;const c=e.getModule(i);if(c===r)continue;const u=e.getExportInfo(c,n.name);const l=u.getTerminalBinding(e);if(!l)continue;if(s===l)continue;const d=a.get(i.request);if(d===undefined){a.set(i.request,[n.name])}else{d.push(n.name)}}for(const[e,t]of a){if(!n)n=[];n.push(new s(`The requested module '${this.request}' contains conflicting star exports for the ${t.length>1?"names":"name"} ${t.map((e=>`'${e}'`)).join(", ")} with the previous requested module '${e}'`))}}}}return n}serialize(e){const{write:t}=e;t(this.ids);t(this.name);t(this.activeExports);t(this.otherStarExports);t(this.strictExportPresence);super.serialize(e)}deserialize(e){const{read:t}=e;this.ids=t();this.name=t();this.activeExports=t();this.otherStarExports=t();this.strictExportPresence=t();super.deserialize(e)}}p(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");e.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends g.Template{apply(e,t,n){const{moduleGraph:r,runtime:i,concatenationScope:s}=n;const a=e;const c=a.getMode(r,i);if(s){switch(c.type){case"reexport-undefined":s.registerRawExport(c.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(c.type!=="unused"&&c.type!=="empty-star"){super.apply(e,t,n);this._addExportFragments(n.initFragments,a,c,n.module,r,i,n.runtimeTemplate,n.runtimeRequirements)}}_addExportFragments(e,t,n,r,i,s,p,h){const m=i.getModule(t);const g=t.getImportVar(i);switch(n.type){case"missing":case"empty-star":e.push(new a("/* empty/unused harmony star reexport */\n",a.STAGE_HARMONY_EXPORTS,1));break;case"unused":e.push(new a(`${u.toNormalComment(`unused harmony reexport ${n.name}`)}\n`,a.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":e.push(this.getReexportFragment(r,"reexport default from dynamic",i.getExportsInfo(r).getUsedName(n.name,s),g,null,h));break;case"reexport-fake-namespace-object":e.push(...this.getReexportFakeNamespaceObjectFragments(r,i.getExportsInfo(r).getUsedName(n.name,s),g,n.fakeType,h));break;case"reexport-undefined":e.push(this.getReexportFragment(r,"reexport non-default export from non-harmony",i.getExportsInfo(r).getUsedName(n.name,s),"undefined","",h));break;case"reexport-named-default":e.push(this.getReexportFragment(r,"reexport default export from named module",i.getExportsInfo(r).getUsedName(n.name,s),g,"",h));break;case"reexport-namespace-object":e.push(this.getReexportFragment(r,"reexport module object",i.getExportsInfo(r).getUsedName(n.name,s),g,"",h));break;case"normal-reexport":for(const{name:c,ids:u,checked:l,hidden:d}of n.items){if(d)continue;if(l){e.push(new a("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(r,c,g,u,h),a.STAGE_HARMONY_IMPORTS,t.sourceOrder))}else{e.push(this.getReexportFragment(r,"reexport safe",i.getExportsInfo(r).getUsedName(c,s),g,i.getExportsInfo(m).getUsedName(u,s),h))}}break;case"dynamic-reexport":{const i=d(n.ignored,n.hidden);const s=p.supportsConst()&&p.supportsArrowFunction();let u="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${s?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${g}) `;if(i.size>1){u+="if("+JSON.stringify(Array.from(i))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(i.size===1){u+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(l(i))}) `}u+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(s){u+=`() => ${g}[__WEBPACK_IMPORT_KEY__]`}else{u+=`function(key) { return ${g}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}h.add(c.exports);h.add(c.definePropertyGetters);const m=r.exportsArgument;e.push(new a(`${u}\n/* harmony reexport (unknown) */ ${c.definePropertyGetters}(${m}, __WEBPACK_REEXPORT_OBJECT__);\n`,a.STAGE_HARMONY_IMPORTS,t.sourceOrder));break}default:throw new Error(`Unknown mode ${n.type}`)}}getReexportFragment(e,t,n,r,i,s){const a=this.getReturnValue(r,i);s.add(c.exports);s.add(c.definePropertyGetters);const u=new Map;u.set(n,`/* ${t} */ ${a}`);return new m(e.exportsArgument,u)}getReexportFakeNamespaceObjectFragments(e,t,n,r,i){i.add(c.exports);i.add(c.definePropertyGetters);i.add(c.createFakeNamespaceObject);const s=new Map;s.set(t,`/* reexport fake namespace object from non-harmony */ ${n}_namespace_cache || (${n}_namespace_cache = ${c.createFakeNamespaceObject}(${n}${r?`, ${r}`:""}))`);return[new a(`var ${n}_namespace_cache;\n`,a.STAGE_CONSTANTS,-1,`${n}_namespace_cache`),new m(e.exportsArgument,s)]}getConditionalReexportStatement(e,t,n,r,i){if(r===false){return"/* unused export */\n"}const s=e.exportsArgument;const a=this.getReturnValue(n,r);i.add(c.exports);i.add(c.definePropertyGetters);i.add(c.hasOwnProperty);return`if(${c.hasOwnProperty}(${n}, ${JSON.stringify(r[0])})) ${c.definePropertyGetters}(${s}, { ${JSON.stringify(t)}: function() { return ${a}; } });\n`}getReturnValue(e,t){if(t===null){return`${e}_default.a`}if(t===""){return e}if(t===false){return"/* unused export */ undefined"}return`${e}${h(t)}`}}},82296:(e,t,n)=>{"use strict";const r=n(63272);const i=n(76150);const{first:s}=n(26221);const joinIterableWithComma=e=>{let t="";let n=true;for(const r of e){if(n){n=false}else{t+=", "}t+=r}return t};const a=new Map;const c=new Set;class HarmonyExportInitFragment extends r{constructor(e,t=a,n=c){super(undefined,r.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=e;this.exportMap=t;this.unusedExports=n}merge(e){let t;if(this.exportMap.size===0){t=e.exportMap}else if(e.exportMap.size===0){t=this.exportMap}else{t=new Map(e.exportMap);for(const[e,n]of this.exportMap){if(!t.has(e))t.set(e,n)}}let n;if(this.unusedExports.size===0){n=e.unusedExports}else if(e.unusedExports.size===0){n=this.unusedExports}else{n=new Set(e.unusedExports);for(const e of this.unusedExports){n.add(e)}}return new HarmonyExportInitFragment(this.exportsArgument,t,n)}getContent({runtimeTemplate:e,runtimeRequirements:t}){t.add(i.exports);t.add(i.definePropertyGetters);const n=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${s(this.unusedExports)} */\n`:"";const r=[];for(const[t,n]of this.exportMap){r.push(`\n/* harmony export */ ${JSON.stringify(t)}: ${e.returningFunction(n)}`)}const a=this.exportMap.size>0?`/* harmony export */ ${i.definePropertyGetters}(${this.exportsArgument}, {${r.join(",")}\n/* harmony export */ });\n`:"";return`${a}${n}`}}e.exports=HarmonyExportInitFragment},14696:(e,t,n)=>{"use strict";const r=n(56202);const i=n(82296);const s=n(12197);class HarmonyExportSpecifierDependency extends s{constructor(e,t){super();this.id=e;this.name=t}get type(){return"harmony export specifier"}getExports(e){return{exports:[this.name],terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(e){return false}serialize(e){const{write:t}=e;t(this.id);t(this.name);super.serialize(e)}deserialize(e){const{read:t}=e;this.id=t();this.name=t();super.deserialize(e)}}r(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends s.Template{apply(e,t,{module:n,moduleGraph:r,initFragments:s,runtime:a,concatenationScope:c}){const u=e;if(c){c.registerExport(u.name,u.id);return}const l=r.getExportsInfo(n).getUsedName(u.name,a);if(!l){const e=new Set;e.add(u.name||"namespace");s.push(new i(n.exportsArgument,undefined,e));return}const d=new Map;d.set(l,`/* binding */ ${u.id}`);s.push(new i(n.exportsArgument,d,undefined))}};e.exports=HarmonyExportSpecifierDependency},25702:(e,t)=>{"use strict";const n=new WeakMap;t.enable=(e,t)=>{const r=n.get(e);if(r===false)return;n.set(e,true);if(r!==true){e.module.buildMeta.exportsType="namespace";e.module.buildInfo.strict=true;e.module.buildInfo.exportsArgument="__webpack_exports__";if(t){e.module.buildMeta.strictHarmonyModule=true;e.module.buildInfo.moduleArgument="__webpack_module__"}}};t.isEnabled=e=>{const t=n.get(e);return t===true}},37359:(e,t,n)=>{"use strict";const r=n(11518);const i=n(28706);const s=n(36756);const a=n(63272);const c=n(58159);const u=n(10813);const{filterRuntime:l,mergeRuntime:d}=n(37416);const p=n(79983);class HarmonyImportDependency extends p{constructor(e,t){super(e);this.sourceOrder=t}get category(){return"esm"}getReferencedExports(e,t){return i.NO_EXPORTS_REFERENCED}getImportVar(e){const t=e.getParentModule(this);const n=e.getMeta(t);let r=n.importVarMap;if(!r)n.importVarMap=r=new Map;let i=r.get(e.getModule(this));if(i)return i;i=`${c.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${r.size}__`;r.set(e.getModule(this),i);return i}getImportStatement(e,{runtimeTemplate:t,module:n,moduleGraph:r,chunkGraph:i,runtimeRequirements:s}){return t.importStatement({update:e,module:r.getModule(this),chunkGraph:i,importVar:this.getImportVar(r),request:this.request,originModule:n,runtimeRequirements:s})}getLinkingErrors(e,t,n){const r=e.getModule(this);if(!r||r.getNumberOfErrors()>0){return}const i=e.getParentModule(this);const a=r.getExportsType(e,i.buildMeta.strictHarmonyModule);if(a==="namespace"||a==="default-with-named"){if(t.length===0){return}if((a!=="default-with-named"||t[0]!=="default")&&e.isExportProvided(r,t)===false){let i=0;let a=e.getExportsInfo(r);while(i`'${e}'`)).join(".")} ${n} was not found in '${this.userRequest}'${r}`)]}a=r.getNestedExportsInfo()}return[new s(`export ${t.map((e=>`'${e}'`)).join(".")} ${n} was not found in '${this.userRequest}'`)]}}switch(a){case"default-only":if(t.length>0&&t[0]!=="default"){return[new s(`Can't import the named export ${t.map((e=>`'${e}'`)).join(".")} ${n} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(t.length>0&&t[0]!=="default"&&r.buildMeta.defaultObject==="redirect-warn"){return[new s(`Should not import the named export ${t.map((e=>`'${e}'`)).join(".")} ${n} from default-exporting module (only default export is available soon)`)]}break}}serialize(e){const{write:t}=e;t(this.sourceOrder);super.serialize(e)}deserialize(e){const{read:t}=e;this.sourceOrder=t();super.deserialize(e)}}e.exports=HarmonyImportDependency;const h=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends p.Template{apply(e,t,n){const i=e;const{module:s,chunkGraph:c,moduleGraph:p,runtime:m}=n;const g=p.getConnection(i);if(g&&!g.isTargetActive(m))return;const y=g&&g.module;if(g&&g.weak&&y&&c.getModuleId(y)===null){return}const _=y?y.identifier():i.request;const b=`harmony import ${_}`;const x=i.weak?false:g?l(m,(e=>g.isTargetActive(e))):true;if(s&&y){let e=h.get(s);if(e===undefined){e=new WeakMap;h.set(s,e)}let t=x;const n=e.get(y)||false;if(n!==false&&t!==true){if(t===false||n===true){t=n}else{t=d(n,t)}}e.set(y,t)}const k=i.getImportStatement(false,n);if(n.moduleGraph.isAsync(y)){n.initFragments.push(new r(k[0],a.STAGE_HARMONY_IMPORTS,i.sourceOrder,b,x));n.initFragments.push(new u(new Set([i.getImportVar(n.moduleGraph)])));n.initFragments.push(new r(k[1],a.STAGE_ASYNC_HARMONY_IMPORTS,i.sourceOrder,b+" compat",x))}else{n.initFragments.push(new r(k[0]+k[1],a.STAGE_HARMONY_IMPORTS,i.sourceOrder,b,x))}}static getImportEmittedRuntime(e,t){const n=h.get(e);if(n===undefined)return false;return n.get(t)||false}}},29381:(e,t,n)=>{"use strict";const r=n(79972);const i=n(58018);const s=n(66298);const a=n(27790);const c=n(80654);const u=n(25702);const l=n(69707);const d=n(2230);const p=Symbol("harmony import");e.exports=class HarmonyImportDependencyParserPlugin{constructor(e){this.strictExportPresence=e.strictExportPresence;this.strictThisContextOnImports=e.strictThisContextOnImports}apply(e){e.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(t=>{const n=t;if(e.isVariableDefined(n.name)||e.getTagData(n.name,p)){return true}}));e.hooks.import.tap("HarmonyImportDependencyParserPlugin",((t,n)=>{e.state.lastHarmonyImportOrder=(e.state.lastHarmonyImportOrder||0)+1;const r=new s(e.isAsiPosition(t.range[0])?";":"",t.range);r.loc=t.loc;e.state.module.addPresentationalDependency(r);e.unsetAsiPosition(t.range[1]);const i=new l(n,e.state.lastHarmonyImportOrder);i.loc=t.loc;e.state.module.addDependency(i);return true}));e.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((t,n,r,i)=>{const s=r===null?[]:[r];e.tagVariable(i,p,{name:i,source:n,ids:s,sourceOrder:e.state.lastHarmonyImportOrder});return true}));e.hooks.expression.for(p).tap("HarmonyImportDependencyParserPlugin",(t=>{const n=e.currentTagData;const r=new d(n.source,n.sourceOrder,n.ids,n.name,t.range,this.strictExportPresence);r.shorthand=e.scope.inShorthand;r.directImport=true;r.asiSafe=!e.isAsiPosition(t.range[0]);r.loc=t.loc;e.state.module.addDependency(r);i.onUsage(e.state,(e=>r.usedByExports=e));return true}));e.hooks.expressionMemberChain.for(p).tap("HarmonyImportDependencyParserPlugin",((t,n)=>{const r=e.currentTagData;const s=r.ids.concat(n);const a=new d(r.source,r.sourceOrder,s,r.name,t.range,this.strictExportPresence);a.asiSafe=!e.isAsiPosition(t.range[0]);a.loc=t.loc;e.state.module.addDependency(a);i.onUsage(e.state,(e=>a.usedByExports=e));return true}));e.hooks.callMemberChain.for(p).tap("HarmonyImportDependencyParserPlugin",((t,n)=>{const{arguments:r,callee:s}=t;const a=e.currentTagData;const c=a.ids.concat(n);const u=new d(a.source,a.sourceOrder,c,a.name,s.range,this.strictExportPresence);u.directImport=n.length===0;u.call=true;u.asiSafe=!e.isAsiPosition(s.range[0]);u.namespaceObjectAsContext=n.length>0&&this.strictThisContextOnImports;u.loc=s.loc;e.state.module.addDependency(u);if(r)e.walkExpressions(r);i.onUsage(e.state,(e=>u.usedByExports=e));return true}));const{hotAcceptCallback:t,hotAcceptWithoutCallback:n}=r.getParserHooks(e);t.tap("HarmonyImportDependencyParserPlugin",((t,n)=>{if(!u.isEnabled(e.state)){return}const r=n.map((n=>{const r=new c(n);r.loc=t.loc;e.state.module.addDependency(r);return r}));if(r.length>0){const n=new a(t.range,r,true);n.loc=t.loc;e.state.module.addDependency(n)}}));n.tap("HarmonyImportDependencyParserPlugin",((t,n)=>{if(!u.isEnabled(e.state)){return}const r=n.map((n=>{const r=new c(n);r.loc=t.loc;e.state.module.addDependency(r);return r}));if(r.length>0){const n=new a(t.range,r,false);n.loc=t.loc;e.state.module.addDependency(n)}}))}};e.exports.harmonySpecifierTag=p},69707:(e,t,n)=>{"use strict";const r=n(56202);const i=n(37359);class HarmonyImportSideEffectDependency extends i{constructor(e,t){super(e,t)}get type(){return"harmony side effect evaluation"}getCondition(e){return t=>{const n=t.resolvedModule;if(!n)return true;return n.getSideEffectsConnectionState(e)}}getModuleEvaluationSideEffectsState(e){const t=e.getModule(this);if(!t)return true;return t.getSideEffectsConnectionState(e)}}r(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends i.Template{apply(e,t,n){const{moduleGraph:r,concatenationScope:i}=n;if(i){const t=r.getModule(e);if(i.isModuleInScope(t)){return}}super.apply(e,t,n)}};e.exports=HarmonyImportSideEffectDependency},2230:(e,t,n)=>{"use strict";const r=n(28706);const{getDependencyUsedByExportsCondition:i}=n(58018);const s=n(56202);const a=n(68038);const c=n(37359);const u=Symbol("HarmonyImportSpecifierDependency.ids");class HarmonyImportSpecifierDependency extends c{constructor(e,t,n,r,i,s){super(e,t);this.ids=n;this.name=r;this.range=i;this.strictExportPresence=s;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(e){const t=e.getMetaIfExisting(this);if(t===undefined)return this.ids;const n=t[u];return n!==undefined?n:this.ids}setIds(e,t){e.getMeta(this)[u]=t}getCondition(e){return i(this,this.usedByExports,e)}getModuleEvaluationSideEffectsState(e){return false}getReferencedExports(e,t){let n=this.getIds(e);if(n.length===0)return r.EXPORTS_OBJECT_REFERENCED;let i=this.namespaceObjectAsContext;if(n[0]==="default"){const t=e.getParentModule(this);const s=e.getModule(this);switch(s.getExportsType(e,t.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(n.length===1)return r.EXPORTS_OBJECT_REFERENCED;n=n.slice(1);i=true;break;case"dynamic":return r.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&(i||n.length>1)){if(n.length===1)return r.EXPORTS_OBJECT_REFERENCED;n=n.slice(0,-1)}return[n]}getWarnings(e){if(this.strictExportPresence||e.getParentModule(this).buildMeta.strictHarmonyModule){return null}return this._getErrors(e)}getErrors(e){if(this.strictExportPresence||e.getParentModule(this).buildMeta.strictHarmonyModule){return this._getErrors(e)}return null}_getErrors(e){const t=this.getIds(e);return this.getLinkingErrors(e,t,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(e){const{write:t}=e;t(this.ids);t(this.name);t(this.range);t(this.strictExportPresence);t(this.namespaceObjectAsContext);t(this.call);t(this.directImport);t(this.shorthand);t(this.asiSafe);t(this.usedByExports);super.serialize(e)}deserialize(e){const{read:t}=e;this.ids=t();this.name=t();this.range=t();this.strictExportPresence=t();this.namespaceObjectAsContext=t();this.call=t();this.directImport=t();this.shorthand=t();this.asiSafe=t();this.usedByExports=t();super.deserialize(e)}}s(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends c.Template{apply(e,t,n){const r=e;const{moduleGraph:i,module:s,runtime:c,concatenationScope:u}=n;const l=i.getConnection(r);if(l&&!l.isTargetActive(c))return;const d=r.getIds(i);let p;if(l&&u&&u.isModuleInScope(l.module)){if(d.length===0){p=u.createModuleReference(l.module,{asiSafe:r.asiSafe})}else if(r.namespaceObjectAsContext&&d.length===1){p=u.createModuleReference(l.module,{asiSafe:r.asiSafe})+a(d)}else{p=u.createModuleReference(l.module,{ids:d,call:r.call,directImport:r.directImport,asiSafe:r.asiSafe})}}else{super.apply(e,t,n);const{runtimeTemplate:a,initFragments:u,runtimeRequirements:l}=n;p=a.exportFromImport({moduleGraph:i,module:i.getModule(r),request:r.request,exportName:d,originModule:s,asiSafe:r.shorthand?true:r.asiSafe,isCall:r.call,callContext:!r.directImport,defaultInterop:true,importVar:r.getImportVar(i),initFragments:u,runtime:c,runtimeRequirements:l})}if(r.shorthand){t.insert(r.range[1],`: ${p}`)}else{t.replace(r.range[0],r.range[1]-1,p)}}};e.exports=HarmonyImportSpecifierDependency},26165:(e,t,n)=>{"use strict";const r=n(27790);const i=n(80654);const s=n(54290);const a=n(55037);const c=n(48752);const u=n(44576);const l=n(14696);const d=n(69707);const p=n(2230);const h=n(11720);const m=n(16081);const g=n(29381);const y=n(13197);class HarmonyModulesPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("HarmonyModulesPlugin",((e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(s,new s.Template);e.dependencyFactories.set(d,t);e.dependencyTemplates.set(d,new d.Template);e.dependencyFactories.set(p,t);e.dependencyTemplates.set(p,new p.Template);e.dependencyTemplates.set(c,new c.Template);e.dependencyTemplates.set(a,new a.Template);e.dependencyTemplates.set(l,new l.Template);e.dependencyFactories.set(u,t);e.dependencyTemplates.set(u,new u.Template);e.dependencyTemplates.set(r,new r.Template);e.dependencyFactories.set(i,t);e.dependencyTemplates.set(i,new i.Template);const handler=(e,t)=>{if(t.harmony!==undefined&&!t.harmony)return;new h(this.options).apply(e);new g(t).apply(e);new m(t).apply(e);(new y).apply(e)};t.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);t.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}e.exports=HarmonyModulesPlugin},13197:(e,t,n)=>{"use strict";const r=n(66298);const i=n(25702);class HarmonyTopLevelThisParserPlugin{apply(e){e.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(t=>{if(!e.scope.topLevelScope)return;if(i.isEnabled(e.state)){const n=new r("undefined",t.range,null);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return this}}))}}e.exports=HarmonyTopLevelThisParserPlugin},4828:(e,t,n)=>{"use strict";const r=n(56202);const i=n(400);const s=n(42740);class ImportContextDependency extends i{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();super.deserialize(e)}}r(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=s;e.exports=ImportContextDependency},20013:(e,t,n)=>{"use strict";const r=n(28706);const i=n(56202);const s=n(79983);class ImportDependency extends s{constructor(e,t,n){super(e);this.range=t;this.referencedExports=n}get type(){return"import()"}get category(){return"esm"}getReferencedExports(e,t){return this.referencedExports?this.referencedExports.map((e=>({name:e,canMangle:false}))):r.EXPORTS_OBJECT_REFERENCED}serialize(e){e.write(this.range);e.write(this.referencedExports);super.serialize(e)}deserialize(e){this.range=e.read();this.referencedExports=e.read();super.deserialize(e)}}i(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends s.Template{apply(e,t,{runtimeTemplate:n,module:r,moduleGraph:i,chunkGraph:s,runtimeRequirements:a}){const c=e;const u=i.getParentBlock(c);const l=n.moduleNamespacePromise({chunkGraph:s,block:u,module:i.getModule(c),request:c.request,strict:r.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:a});t.replace(c.range[0],c.range[1]-1,l)}};e.exports=ImportDependency},75708:(e,t,n)=>{"use strict";const r=n(56202);const i=n(20013);class ImportEagerDependency extends i{constructor(e,t,n){super(e,t,n)}get type(){return"import() eager"}get category(){return"esm"}}r(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends i.Template{apply(e,t,{runtimeTemplate:n,module:r,moduleGraph:i,chunkGraph:s,runtimeRequirements:a}){const c=e;const u=n.moduleNamespacePromise({chunkGraph:s,module:i.getModule(c),request:c.request,strict:r.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:a});t.replace(c.range[0],c.range[1]-1,u)}};e.exports=ImportEagerDependency},76302:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);const s=n(80791);class ImportMetaHotAcceptDependency extends i{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}r(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=s;e.exports=ImportMetaHotAcceptDependency},5389:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);const s=n(80791);class ImportMetaHotDeclineDependency extends i{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}r(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=s;e.exports=ImportMetaHotDeclineDependency},38586:(e,t,n)=>{"use strict";const{pathToFileURL:r}=n(78835);const i=n(23280);const s=n(58159);const a=n(87250);const{evaluateToIdentifier:c,toConstantDependency:u,evaluateToString:l,evaluateToNumber:d}=n(48472);const p=n(91671);const h=n(68038);const m=n(66298);const g=p((()=>n(75314)));class ImportMetaPlugin{apply(e){e.hooks.compilation.tap("ImportMetaPlugin",((e,{normalModuleFactory:t})=>{const getUrl=e=>r(e.resource).toString();const parserHandler=(e,t)=>{e.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",u(e,JSON.stringify("object")));e.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(t=>{const n=g();e.state.module.addWarning(new i(e.state.module,new n("Accessing import.meta directly is unsupported (only property access is supported)"),t.loc));const r=new m(`${e.isAsiPosition(t.range[0])?";":""}({})`,t.range);r.loc=t.loc;e.state.module.addPresentationalDependency(r);return true}));e.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",l("object"));e.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",c("import.meta","import.meta",(()=>[]),true));e.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",u(e,JSON.stringify("string")));e.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(t=>{const n=new m(JSON.stringify(getUrl(e.state.module)),t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true}));e.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",l("string"));e.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(t=>(new a).setString(getUrl(e.state.module)).setRange(t.range)));const r=parseInt(n(61733).i8,10);e.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",u(e,JSON.stringify("number")));e.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",u(e,JSON.stringify(r)));e.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",l("number"));e.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",d(r));e.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((t,n)=>{const r=new m(`${s.toNormalComment("unsupported import.meta."+n.join("."))} undefined${h(n,1)}`,t.range);r.loc=t.loc;e.state.module.addPresentationalDependency(r);return true}));e.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(e=>{const t=e;if(t.object.type==="MetaProperty"&&t.object.meta.name==="import"&&t.object.property.name==="meta"&&t.property.type===(t.computed?"Literal":"Identifier")){return(new a).setUndefined().setRange(t.range)}}))};t.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);t.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}e.exports=ImportMetaPlugin},81467:(e,t,n)=>{"use strict";const r=n(98221);const i=n(47207);const s=n(53558);const a=n(95601);const c=n(4828);const u=n(20013);const l=n(75708);const d=n(12849);class ImportParserPlugin{constructor(e){this.options=e}apply(e){e.hooks.importCall.tap("ImportParserPlugin",(t=>{const n=e.evaluateExpression(t.source);let p=null;let h="lazy";let m=null;let g=null;let y=null;const _={};const{options:b,errors:x}=e.parseCommentOptions(t.range);if(x){for(const t of x){const{comment:n}=t;e.state.module.addWarning(new i(`Compilation error while processing magic comment(-s): /*${n.value}*/: ${t.message}`,n.loc))}}if(b){if(b.webpackIgnore!==undefined){if(typeof b.webpackIgnore!=="boolean"){e.state.module.addWarning(new s(`\`webpackIgnore\` expected a boolean, but received: ${b.webpackIgnore}.`,t.loc))}else{if(b.webpackIgnore){return false}}}if(b.webpackChunkName!==undefined){if(typeof b.webpackChunkName!=="string"){e.state.module.addWarning(new s(`\`webpackChunkName\` expected a string, but received: ${b.webpackChunkName}.`,t.loc))}else{p=b.webpackChunkName}}if(b.webpackMode!==undefined){if(typeof b.webpackMode!=="string"){e.state.module.addWarning(new s(`\`webpackMode\` expected a string, but received: ${b.webpackMode}.`,t.loc))}else{h=b.webpackMode}}if(b.webpackPrefetch!==undefined){if(b.webpackPrefetch===true){_.prefetchOrder=0}else if(typeof b.webpackPrefetch==="number"){_.prefetchOrder=b.webpackPrefetch}else{e.state.module.addWarning(new s(`\`webpackPrefetch\` expected true or a number, but received: ${b.webpackPrefetch}.`,t.loc))}}if(b.webpackPreload!==undefined){if(b.webpackPreload===true){_.preloadOrder=0}else if(typeof b.webpackPreload==="number"){_.preloadOrder=b.webpackPreload}else{e.state.module.addWarning(new s(`\`webpackPreload\` expected true or a number, but received: ${b.webpackPreload}.`,t.loc))}}if(b.webpackInclude!==undefined){if(!b.webpackInclude||b.webpackInclude.constructor.name!=="RegExp"){e.state.module.addWarning(new s(`\`webpackInclude\` expected a regular expression, but received: ${b.webpackInclude}.`,t.loc))}else{m=new RegExp(b.webpackInclude)}}if(b.webpackExclude!==undefined){if(!b.webpackExclude||b.webpackExclude.constructor.name!=="RegExp"){e.state.module.addWarning(new s(`\`webpackExclude\` expected a regular expression, but received: ${b.webpackExclude}.`,t.loc))}else{g=new RegExp(b.webpackExclude)}}if(b.webpackExports!==undefined){if(!(typeof b.webpackExports==="string"||Array.isArray(b.webpackExports)&&b.webpackExports.every((e=>typeof e==="string")))){e.state.module.addWarning(new s(`\`webpackExports\` expected a string or an array of strings, but received: ${b.webpackExports}.`,t.loc))}else{if(typeof b.webpackExports==="string"){y=[[b.webpackExports]]}else{y=Array.from(b.webpackExports,(e=>[e]))}}}}if(n.isString()){if(h!=="lazy"&&h!=="eager"&&h!=="weak"){e.state.module.addWarning(new s(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${h}.`,t.loc))}if(h==="eager"){const r=new l(n.string,t.range,y);e.state.current.addDependency(r)}else if(h==="weak"){const r=new d(n.string,t.range,y);e.state.current.addDependency(r)}else{const i=new r({..._,name:p},t.loc,n.string);const s=new u(n.string,t.range,y);s.loc=t.loc;i.addDependency(s);e.state.current.addBlock(i)}return true}else{if(h!=="lazy"&&h!=="lazy-once"&&h!=="eager"&&h!=="weak"){e.state.module.addWarning(new s(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${h}.`,t.loc));h="lazy"}if(h==="weak"){h="async-weak"}const r=a.create(c,t.range,n,t,this.options,{chunkName:p,groupOptions:_,include:m,exclude:g,mode:h,namespaceObject:e.state.module.buildMeta.strictHarmonyModule?"strict":true,category:"esm",referencedExports:y},e);if(!r)return;r.loc=t.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true}}))}}e.exports=ImportParserPlugin},54975:(e,t,n)=>{"use strict";const r=n(4828);const i=n(20013);const s=n(75708);const a=n(81467);const c=n(12849);class ImportPlugin{apply(e){e.hooks.compilation.tap("ImportPlugin",((e,{contextModuleFactory:t,normalModuleFactory:n})=>{e.dependencyFactories.set(i,n);e.dependencyTemplates.set(i,new i.Template);e.dependencyFactories.set(s,n);e.dependencyTemplates.set(s,new s.Template);e.dependencyFactories.set(c,n);e.dependencyTemplates.set(c,new c.Template);e.dependencyFactories.set(r,t);e.dependencyTemplates.set(r,new r.Template);const handler=(e,t)=>{if(t.import!==undefined&&!t.import)return;new a(t).apply(e)};n.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);n.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);n.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}e.exports=ImportPlugin},12849:(e,t,n)=>{"use strict";const r=n(56202);const i=n(20013);class ImportWeakDependency extends i{constructor(e,t,n){super(e,t,n);this.weak=true}get type(){return"import() weak"}}r(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends i.Template{apply(e,t,{runtimeTemplate:n,module:r,moduleGraph:i,chunkGraph:s,runtimeRequirements:a}){const c=e;const u=n.moduleNamespacePromise({chunkGraph:s,module:i.getModule(c),request:c.request,strict:r.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:a});t.replace(c.range[0],c.range[1]-1,u)}};e.exports=ImportWeakDependency},38895:(e,t,n)=>{"use strict";const r=n(56202);const i=n(12197);const getExportsFromData=e=>{if(e&&typeof e==="object"){if(Array.isArray(e)){return e.map(((e,t)=>({name:`${t}`,canMangle:true,exports:getExportsFromData(e)})))}else{const t=[];for(const n of Object.keys(e)){t.push({name:n,canMangle:true,exports:getExportsFromData(e[n])})}return t}}return undefined};class JsonExportsDependency extends i{constructor(e){super();this.exports=e}get type(){return"json exports"}getExports(e){return{exports:this.exports,dependencies:undefined}}updateHash(e,t){e.update(this.exports?JSON.stringify(this.exports):"undefined")}serialize(e){const{write:t}=e;t(this.exports);super.serialize(e)}deserialize(e){const{read:t}=e;this.exports=t();super.deserialize(e)}}r(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");e.exports=JsonExportsDependency;e.exports.getExportsFromData=getExportsFromData},32876:(e,t,n)=>{"use strict";const r=n(79983);class LoaderDependency extends r{constructor(e){super(e)}get type(){return"loader"}get category(){return"loader"}}e.exports=LoaderDependency},2451:(e,t,n)=>{"use strict";const r=n(53520);const i=n(83379);const s=n(32876);class LoaderPlugin{apply(e){e.hooks.compilation.tap("LoaderPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t)}));e.hooks.compilation.tap("LoaderPlugin",(e=>{const t=e.moduleGraph;r.getCompilationHooks(e).loader.tap("LoaderPlugin",(n=>{n.loadModule=(r,a)=>{const c=new s(r);c.loc={name:r};const u=e.dependencyFactories.get(c.constructor);if(u===undefined){return a(new Error(`No module factory available for dependency type: ${c.constructor.name}`))}e.buildQueue.increaseParallelism();e.handleModuleCreation({factory:u,dependencies:[c],originModule:n._module,context:n.context,recursive:false},(r=>{e.buildQueue.decreaseParallelism();if(r){return a(r)}const s=t.getModule(c);if(!s){return a(new Error("Cannot load the module"))}if(s.getNumberOfErrors()>0){return a(new Error("The loaded module contains errors"))}const u=s.originalSource();if(!u){return a(new Error("The module created for a LoaderDependency must have an original source"))}let l,d;if(u.sourceAndMap){const e=u.sourceAndMap();d=e.map;l=e.source}else{d=u.map();l=u.source()}const p=new i;const h=new i;const m=new i;const g=new i;s.addCacheDependencies(p,h,m,g);for(const e of p){n.addDependency(e)}for(const e of h){n.addContextDependency(e)}for(const e of m){n.addMissingDependency(e)}for(const e of g){n.addBuildDependency(e)}return a(null,l,d,s)}))}}))}))}}e.exports=LoaderPlugin},77230:(e,t,n)=>{"use strict";const r=n(56202);class LocalModule{constructor(e,t){this.name=e;this.idx=t;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(e){const{write:t}=e;t(this.name);t(this.idx);t(this.used)}deserialize(e){const{read:t}=e;this.name=t();this.idx=t();this.used=t()}}r(LocalModule,"webpack/lib/dependencies/LocalModule");e.exports=LocalModule},14229:(e,t,n)=>{"use strict";const r=n(56202);const i=n(12197);class LocalModuleDependency extends i{constructor(e,t,n){super();this.localModule=e;this.range=t;this.callNew=n}serialize(e){const{write:t}=e;t(this.localModule);t(this.range);t(this.callNew);super.serialize(e)}deserialize(e){const{read:t}=e;this.localModule=t();this.range=t();this.callNew=t();super.deserialize(e)}}r(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends i.Template{apply(e,t,n){const r=e;if(!r.range)return;const i=r.callNew?`new (function () { return ${r.localModule.variableName()}; })()`:r.localModule.variableName();t.replace(r.range[0],r.range[1]-1,i)}};e.exports=LocalModuleDependency},61701:(e,t,n)=>{"use strict";const r=n(77230);const lookup=(e,t)=>{if(t.charAt(0)!==".")return t;var n=e.split("/");var r=t.split("/");n.pop();for(let e=0;e{if(!e.localModules){e.localModules=[]}const n=new r(t,e.localModules.length);e.localModules.push(n);return n};t.getLocalModule=(e,t,n)=>{if(!e.localModules)return null;if(n){t=lookup(n,t)}for(let n=0;n{"use strict";const r=n(28706);const i=n(63272);const s=n(76150);const a=n(56202);const c=n(12197);class ModuleDecoratorDependency extends c{constructor(e,t){super();this.decorator=e;this.allowExportsAccess=t}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(e,t){return this.allowExportsAccess?r.EXPORTS_OBJECT_REFERENCED:r.NO_EXPORTS_REFERENCED}updateHash(e,t){e.update(this.decorator);e.update(`${this.allowExportsAccess}`)}serialize(e){const{write:t}=e;t(this.decorator);t(this.allowExportsAccess);super.serialize(e)}deserialize(e){const{read:t}=e;this.decorator=t();this.allowExportsAccess=t();super.deserialize(e)}}a(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends c.Template{apply(e,t,{module:n,chunkGraph:r,initFragments:a,runtimeRequirements:c}){const u=e;c.add(s.moduleLoaded);c.add(s.moduleId);c.add(s.module);c.add(u.decorator);a.push(new i(`/* module decorator */ ${n.moduleArgument} = ${u.decorator}(${n.moduleArgument});\n`,i.STAGE_PROVIDES,0,`module decorator ${r.getModuleId(n)}`))}};e.exports=ModuleDecoratorDependency},79983:(e,t,n)=>{"use strict";const r=n(28706);const i=n(84304);const s=n(91671);const a=s((()=>n(22804)));class ModuleDependency extends r{constructor(e){super();this.request=e;this.userRequest=e;this.range=undefined}getResourceIdentifier(){return`module${this.request}`}createIgnoredModule(e){const t=a();return new t("/* (ignored) */",`ignored|${e}|${this.request}`,`${this.request} (ignored)`)}serialize(e){const{write:t}=e;t(this.request);t(this.userRequest);t(this.range);super.serialize(e)}deserialize(e){const{read:t}=e;this.request=t();this.userRequest=t();this.range=t();super.deserialize(e)}}ModuleDependency.Template=i;e.exports=ModuleDependency},80791:(e,t,n)=>{"use strict";const r=n(79983);class ModuleDependencyTemplateAsId extends r.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:r,chunkGraph:i}){const s=e;if(!s.range)return;const a=n.moduleId({module:r.getModule(s),chunkGraph:i,request:s.request,weak:s.weak});t.replace(s.range[0],s.range[1]-1,a)}}e.exports=ModuleDependencyTemplateAsId},87283:(e,t,n)=>{"use strict";const r=n(79983);class ModuleDependencyTemplateAsRequireId extends r.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:r,chunkGraph:i,runtimeRequirements:s}){const a=e;if(!a.range)return;const c=n.moduleExports({module:r.getModule(a),chunkGraph:i,request:a.request,weak:a.weak,runtimeRequirements:s});t.replace(a.range[0],a.range[1]-1,c)}}e.exports=ModuleDependencyTemplateAsRequireId},21809:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);const s=n(80791);class ModuleHotAcceptDependency extends i{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}r(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=s;e.exports=ModuleHotAcceptDependency},73158:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);const s=n(80791);class ModuleHotDeclineDependency extends i{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}r(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=s;e.exports=ModuleHotDeclineDependency},12197:(e,t,n)=>{"use strict";const r=n(28706);const i=n(84304);class NullDependency extends r{get type(){return"null"}serialize({write:e}){e(this.loc)}deserialize({read:e}){this.loc=e()}}NullDependency.Template=class NullDependencyTemplate extends i{apply(e,t,n){}};e.exports=NullDependency},88281:(e,t,n)=>{"use strict";const r=n(79983);class PrefetchDependency extends r{constructor(e){super(e)}get type(){return"prefetch"}get category(){return"esm"}}e.exports=PrefetchDependency},1335:(e,t,n)=>{"use strict";const r=n(63272);const i=n(56202);const s=n(79983);const pathToString=e=>e!==null&&e.length>0?e.map((e=>`[${JSON.stringify(e)}]`)).join(""):"";class ProvidedDependency extends s{constructor(e,t,n,r){super(e);this.identifier=t;this.path=n;this.range=r}get type(){return"provided"}get category(){return"esm"}updateHash(e,t){e.update(this.identifier);e.update(this.path?this.path.join(","):"null")}serialize(e){const{write:t}=e;t(this.identifier);t(this.path);super.serialize(e)}deserialize(e){const{read:t}=e;this.identifier=t();this.path=t();super.deserialize(e)}}i(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends s.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:i,chunkGraph:s,initFragments:a,runtimeRequirements:c}){const u=e;a.push(new r(`/* provided dependency */ var ${u.identifier} = ${n.moduleExports({module:i.getModule(u),chunkGraph:s,request:u.request,runtimeRequirements:c})}${pathToString(u.path)};\n`,r.STAGE_PROVIDES,1,`provided ${u.identifier}`));t.replace(u.range[0],u.range[1]-1,u.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;e.exports=ProvidedDependency},53567:(e,t,n)=>{"use strict";const{UsageState:r}=n(76632);const i=n(56202);const{filterRuntime:s}=n(37416);const a=n(12197);class PureExpressionDependency extends a{constructor(e){super();this.range=e;this.usedByExports=false}updateHash(e,t){e.update(this.range+"")}getModuleEvaluationSideEffectsState(e){return false}serialize(e){const{write:t}=e;t(this.range);t(this.usedByExports);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.usedByExports=t();super.deserialize(e)}}i(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends a.Template{apply(e,t,{chunkGraph:n,moduleGraph:i,runtime:a,runtimeTemplate:c,runtimeRequirements:u}){const l=e;const d=l.usedByExports;if(d!==false){const e=i.getParentModule(l);const p=i.getExportsInfo(e);const h=s(a,(e=>{for(const t of d){if(p.getUsed(t,e)!==r.Unused){return true}}return false}));if(h===true)return;if(h!==false){const e=c.runtimeConditionExpression({chunkGraph:n,runtime:a,runtimeCondition:h,runtimeRequirements:u});t.insert(l.range[0],`(/* runtime-dependent pure expression or super */ ${e} ? (`);t.insert(l.range[1],") : null)");return}}t.insert(l.range[0],`(/* unused pure expression or super */ null && (`);t.insert(l.range[1],"))")}};e.exports=PureExpressionDependency},19204:(e,t,n)=>{"use strict";const r=n(56202);const i=n(400);const s=n(87283);class RequireContextDependency extends i{constructor(e,t){super(e);this.range=t}get type(){return"require.context"}serialize(e){const{write:t}=e;t(this.range);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();super.deserialize(e)}}r(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=s;e.exports=RequireContextDependency},38947:(e,t,n)=>{"use strict";const r=n(19204);e.exports=class RequireContextDependencyParserPlugin{apply(e){e.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(t=>{let n=/^\.\/.*$/;let i=true;let s="sync";switch(t.arguments.length){case 4:{const n=e.evaluateExpression(t.arguments[3]);if(!n.isString())return;s=n.string}case 3:{const r=e.evaluateExpression(t.arguments[2]);if(!r.isRegExp())return;n=r.regExp}case 2:{const n=e.evaluateExpression(t.arguments[1]);if(!n.isBoolean())return;i=n.bool}case 1:{const a=e.evaluateExpression(t.arguments[0]);if(!a.isString())return;const c=new r({request:a.string,recursive:i,regExp:n,mode:s,category:"commonjs"},t.range);c.loc=t.loc;c.optional=!!e.scope.inTry;e.state.current.addDependency(c);return true}}}))}}},67634:(e,t,n)=>{"use strict";const{cachedSetProperty:r}=n(90149);const i=n(90872);const s=n(19204);const a=n(38947);const c={};class RequireContextPlugin{apply(e){e.hooks.compilation.tap("RequireContextPlugin",((t,{contextModuleFactory:n,normalModuleFactory:u})=>{t.dependencyFactories.set(s,n);t.dependencyTemplates.set(s,new s.Template);t.dependencyFactories.set(i,u);const handler=(e,t)=>{if(t.requireContext!==undefined&&!t.requireContext)return;(new a).apply(e)};u.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);u.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);n.hooks.alternativeRequests.tap("RequireContextPlugin",((t,n)=>{if(t.length===0)return t;const i=e.resolverFactory.get("normal",r(n.resolveOptions||c,"dependencyType",n.category)).options;let s;if(!i.fullySpecified){s=[];for(const e of t){const{request:t,context:n}=e;for(const e of i.extensions){if(t.endsWith(e)){s.push({context:n,request:t.slice(0,-e.length)})}}if(!i.enforceExtension){s.push(e)}}t=s;s=[];for(const e of t){const{request:t,context:n}=e;for(const e of i.mainFiles){if(t.endsWith(`/${e}`)){s.push({context:n,request:t.slice(0,-e.length)});s.push({context:n,request:t.slice(0,-e.length-1)})}}s.push(e)}t=s}s=[];for(const e of t){let t=false;for(const n of i.modules){if(Array.isArray(n)){for(const r of n){if(e.request.startsWith(`./${r}/`)){s.push({context:e.context,request:e.request.slice(r.length+3)});t=true}}}else{const t=n.replace(/\\/g,"/");const r=e.context.replace(/\\/g,"/")+e.request.slice(1);if(r.startsWith(t)){s.push({context:e.context,request:r.slice(t.length+1)})}}}if(!t){s.push(e)}}return s}))}))}}e.exports=RequireContextPlugin},15196:(e,t,n)=>{"use strict";const r=n(98221);const i=n(56202);class RequireEnsureDependenciesBlock extends r{constructor(e,t){super(e,t,null)}}i(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");e.exports=RequireEnsureDependenciesBlock},90616:(e,t,n)=>{"use strict";const r=n(15196);const i=n(15427);const s=n(81058);const a=n(36134);e.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(e){e.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(t=>{let n=null;let c=null;let u=null;switch(t.arguments.length){case 4:{const r=e.evaluateExpression(t.arguments[3]);if(!r.isString())return;n=r.string}case 3:{c=t.arguments[2];u=a(c);if(!u&&!n){const r=e.evaluateExpression(t.arguments[2]);if(!r.isString())return;n=r.string}}case 2:{const l=e.evaluateExpression(t.arguments[0]);const d=l.isArray()?l.items:[l];const p=t.arguments[1];const h=a(p);if(h){e.walkExpressions(h.expressions)}if(u){e.walkExpressions(u.expressions)}const m=new r(n,t.loc);const g=t.arguments.length===4||!n&&t.arguments.length===3;const y=new i(t.range,t.arguments[1].range,g&&t.arguments[2].range);y.loc=t.loc;m.addDependency(y);const _=e.state.current;e.state.current=m;try{let n=false;e.inScope([],(()=>{for(const e of d){if(e.isString()){const n=new s(e.string);n.loc=e.loc||t.loc;m.addDependency(n)}else{n=true}}}));if(n){return}if(h){if(h.fn.body.type==="BlockStatement"){e.walkStatement(h.fn.body)}else{e.walkExpression(h.fn.body)}}_.addBlock(m)}finally{e.state.current=_}if(!h){e.walkExpression(p)}if(u){if(u.fn.body.type==="BlockStatement"){e.walkStatement(u.fn.body)}else{e.walkExpression(u.fn.body)}}else if(c){e.walkExpression(c)}return true}}}))}}},15427:(e,t,n)=>{"use strict";const r=n(76150);const i=n(56202);const s=n(12197);class RequireEnsureDependency extends s{constructor(e,t,n){super();this.range=e;this.contentRange=t;this.errorHandlerRange=n}get type(){return"require.ensure"}serialize(e){const{write:t}=e;t(this.range);t(this.contentRange);t(this.errorHandlerRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.contentRange=t();this.errorHandlerRange=t();super.deserialize(e)}}i(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends s.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:i,chunkGraph:s,runtimeRequirements:a}){const c=e;const u=i.getParentBlock(c);const l=n.blockPromise({chunkGraph:s,block:u,message:"require.ensure",runtimeRequirements:a});const d=c.range;const p=c.contentRange;const h=c.errorHandlerRange;t.replace(d[0],p[0]-1,`${l}.then((`);if(h){t.replace(p[1],h[0]-1,").bind(null, __webpack_require__)).catch(");t.replace(h[1],d[1]-1,")")}else{t.replace(p[1],d[1]-1,`).bind(null, __webpack_require__)).catch(${r.uncaughtErrorHandler})`)}}};e.exports=RequireEnsureDependency},81058:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);const s=n(12197);class RequireEnsureItemDependency extends i{constructor(e){super(e)}get type(){return"require.ensure item"}get category(){return"commonjs"}}r(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=s.Template;e.exports=RequireEnsureItemDependency},51727:(e,t,n)=>{"use strict";const r=n(15427);const i=n(81058);const s=n(90616);const{evaluateToString:a,toConstantDependency:c}=n(48472);class RequireEnsurePlugin{apply(e){e.hooks.compilation.tap("RequireEnsurePlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(i,t);e.dependencyTemplates.set(i,new i.Template);e.dependencyTemplates.set(r,new r.Template);const handler=(e,t)=>{if(t.requireEnsure!==undefined&&!t.requireEnsure)return;(new s).apply(e);e.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",a("function"));e.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",c(e,JSON.stringify("function")))};t.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}e.exports=RequireEnsurePlugin},70340:(e,t,n)=>{"use strict";const r=n(76150);const i=n(56202);const s=n(12197);class RequireHeaderDependency extends s{constructor(e){super();if(!Array.isArray(e))throw new Error("range must be valid");this.range=e}serialize(e){const{write:t}=e;t(this.range);super.serialize(e)}static deserialize(e){const t=new RequireHeaderDependency(e.read());t.deserialize(e);return t}}i(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends s.Template{apply(e,t,{runtimeRequirements:n}){const i=e;n.add(r.require);t.replace(i.range[0],i.range[1]-1,"__webpack_require__")}};e.exports=RequireHeaderDependency},63556:(e,t,n)=>{"use strict";const r=n(28706);const i=n(58159);const s=n(56202);const a=n(79983);class RequireIncludeDependency extends a{constructor(e,t){super(e);this.range=t}getReferencedExports(e,t){return r.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}s(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends a.Template{apply(e,t,{runtimeTemplate:n}){const r=e;const s=n.outputOptions.pathinfo?i.toComment(`require.include ${n.requestShortener.shorten(r.request)}`):"";t.replace(r.range[0],r.range[1]-1,`undefined${s}`)}};e.exports=RequireIncludeDependency},1913:(e,t,n)=>{"use strict";const r=n(81627);const{evaluateToString:i,toConstantDependency:s}=n(48472);const a=n(56202);const c=n(63556);e.exports=class RequireIncludeDependencyParserPlugin{constructor(e){this.warn=e}apply(e){const{warn:t}=this;e.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(n=>{if(n.arguments.length!==1)return;const r=e.evaluateExpression(n.arguments[0]);if(!r.isString())return;if(t){e.state.module.addWarning(new RequireIncludeDeprecationWarning(n.loc))}const i=new c(r.string,n.range);i.loc=n.loc;e.state.current.addDependency(i);return true}));e.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(n=>{if(t){e.state.module.addWarning(new RequireIncludeDeprecationWarning(n.loc))}return i("function")(n)}));e.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(n=>{if(t){e.state.module.addWarning(new RequireIncludeDeprecationWarning(n.loc))}return s(e,JSON.stringify("function"))(n)}))}};class RequireIncludeDeprecationWarning extends r{constructor(e){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=e;Error.captureStackTrace(this,this.constructor)}}a(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(e,t,n)=>{"use strict";const r=n(63556);const i=n(1913);class RequireIncludePlugin{apply(e){e.hooks.compilation.tap("RequireIncludePlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,t);e.dependencyTemplates.set(r,new r.Template);const handler=(e,t)=>{if(t.requireInclude===false)return;const n=t.requireInclude===undefined;new i(n).apply(e)};t.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}e.exports=RequireIncludePlugin},84817:(e,t,n)=>{"use strict";const r=n(56202);const i=n(400);const s=n(94148);class RequireResolveContextDependency extends i{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"amd require context"}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();super.deserialize(e)}}r(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=s;e.exports=RequireResolveContextDependency},76913:(e,t,n)=>{"use strict";const r=n(28706);const i=n(56202);const s=n(79983);const a=n(80791);class RequireResolveDependency extends s{constructor(e,t){super(e);this.range=t}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(e,t){return r.NO_EXPORTS_REFERENCED}}i(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=a;e.exports=RequireResolveDependency},23380:(e,t,n)=>{"use strict";const r=n(56202);const i=n(12197);class RequireResolveHeaderDependency extends i{constructor(e){super();if(!Array.isArray(e))throw new Error("range must be valid");this.range=e}serialize(e){const{write:t}=e;t(this.range);super.serialize(e)}static deserialize(e){const t=new RequireResolveHeaderDependency(e.read());t.deserialize(e);return t}}r(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends i.Template{apply(e,t,n){const r=e;t.replace(r.range[0],r.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(e,t,n){n.replace(t.range[0],t.range[1]-1,"/*require.resolve*/")}};e.exports=RequireResolveHeaderDependency},35424:(e,t,n)=>{"use strict";const r=n(56202);const i=n(12197);class RuntimeRequirementsDependency extends i{constructor(e){super();this.runtimeRequirements=new Set(e)}updateHash(e,t){e.update(Array.from(this.runtimeRequirements).join()+"")}serialize(e){const{write:t}=e;t(this.runtimeRequirements);super.serialize(e)}deserialize(e){const{read:t}=e;this.runtimeRequirements=t();super.deserialize(e)}}r(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends i.Template{apply(e,t,{runtimeRequirements:n}){const r=e;for(const e of r.runtimeRequirements){n.add(e)}}};e.exports=RuntimeRequirementsDependency},96076:(e,t,n)=>{"use strict";const r=n(56202);const i=n(12197);class StaticExportsDependency extends i{constructor(e,t){super();this.exports=e;this.canMangle=t}get type(){return"static exports"}getExports(e){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(e){const{write:t}=e;t(this.exports);t(this.canMangle);super.serialize(e)}deserialize(e){const{read:t}=e;this.exports=t();this.canMangle=t();super.deserialize(e)}}r(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");e.exports=StaticExportsDependency},62630:(e,t,n)=>{"use strict";const r=n(76150);const i=n(81627);const{evaluateToString:s,expressionIsUnsupported:a,toConstantDependency:c}=n(48472);const u=n(56202);const l=n(66298);const d=n(60125);class SystemPlugin{apply(e){e.hooks.compilation.tap("SystemPlugin",((e,{normalModuleFactory:t})=>{e.hooks.runtimeRequirementInModule.for(r.system).tap("SystemPlugin",((e,t)=>{t.add(r.requireScope)}));e.hooks.runtimeRequirementInTree.for(r.system).tap("SystemPlugin",((t,n)=>{e.addRuntimeModule(t,new d)}));const handler=(e,t)=>{if(t.system===undefined||!t.system){return}const setNotSupported=t=>{e.hooks.evaluateTypeof.for(t).tap("SystemPlugin",s("undefined"));e.hooks.expression.for(t).tap("SystemPlugin",a(e,t+" is not supported by webpack."))};e.hooks.typeof.for("System.import").tap("SystemPlugin",c(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",s("function"));e.hooks.typeof.for("System").tap("SystemPlugin",c(e,JSON.stringify("object")));e.hooks.evaluateTypeof.for("System").tap("SystemPlugin",s("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");e.hooks.expression.for("System").tap("SystemPlugin",(t=>{const n=new l(r.system,t.range,[r.system]);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true}));e.hooks.call.for("System.import").tap("SystemPlugin",(t=>{e.state.module.addWarning(new SystemImportDeprecationWarning(t.loc));return e.hooks.importCall.call({type:"ImportExpression",source:t.arguments[0],loc:t.loc,range:t.range})}))};t.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);t.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends i{constructor(e){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=e;Error.captureStackTrace(this,this.constructor)}}u(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");e.exports=SystemPlugin;e.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class SystemRuntimeModule extends i{constructor(){super("system")}generate(){return s.asString([`${r.system} = {`,s.indent(["import: function () {",s.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}e.exports=SystemRuntimeModule},66444:(e,t,n)=>{"use strict";const r=n(76150);const{getDependencyUsedByExportsCondition:i}=n(58018);const s=n(56202);const a=n(91671);const c=n(79983);const u=a((()=>n(22804)));class URLDependency extends c{constructor(e,t,n,r){super(e);this.range=t;this.outerRange=n;this.relative=r||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(e){return i(this,this.usedByExports,e)}createIgnoredModule(e){const t=u();return new t('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([r.module]))}serialize(e){const{write:t}=e;t(this.outerRange);t(this.relative);t(this.usedByExports);super.serialize(e)}deserialize(e){const{read:t}=e;this.outerRange=t();this.relative=t();this.usedByExports=t();super.deserialize(e)}}URLDependency.Template=class URLDependencyTemplate extends c.Template{apply(e,t,n){const{chunkGraph:i,moduleGraph:s,runtimeRequirements:a,runtimeTemplate:c,runtime:u}=n;const l=e;const d=s.getConnection(l);if(d&&!d.isTargetActive(u)){t.replace(l.outerRange[0],l.outerRange[1]-1,"/* unused asset import */ undefined");return}a.add(r.require);if(l.relative){a.add(r.relativeUrl);t.replace(l.outerRange[0],l.outerRange[1]-1,`/* asset import */ new ${r.relativeUrl}(${c.moduleRaw({chunkGraph:i,module:s.getModule(l),request:l.request,runtimeRequirements:a,weak:false})})`)}else{a.add(r.baseURI);t.replace(l.range[0],l.range[1]-1,`/* asset import */ ${c.moduleRaw({chunkGraph:i,module:s.getModule(l),request:l.request,runtimeRequirements:a,weak:false})}, ${r.baseURI}`)}}};s(URLDependency,"webpack/lib/dependencies/URLDependency");e.exports=URLDependency},65577:(e,t,n)=>{"use strict";const{approve:r}=n(48472);const i=n(58018);const s=n(66444);class URLPlugin{apply(e){e.hooks.compilation.tap("URLPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t);e.dependencyTemplates.set(s,new s.Template);const parserCallback=(e,t)=>{if(t.url===false)return;const n=t.url==="relative";const getUrlRequest=t=>{if(t.arguments.length!==2)return;const[n,r]=t.arguments;if(r.type!=="MemberExpression"||n.type==="SpreadElement")return;const i=e.extractMemberExpressionChain(r);if(i.members.length!==1||i.object.type!=="MetaProperty"||i.object.meta.name!=="import"||i.object.property.name!=="meta"||i.members[0]!=="url")return;const s=e.evaluateExpression(n).asString();return s};e.hooks.canRename.for("URL").tap("URLPlugin",r);e.hooks.new.for("URL").tap("URLPlugin",(t=>{const r=t;const a=getUrlRequest(r);if(!a)return;const[c,u]=r.arguments;const l=new s(a,[c.range[0],u.range[1]],r.range,n);l.loc=r.loc;e.state.module.addDependency(l);i.onUsage(e.state,(e=>l.usedByExports=e));return true}));e.hooks.isPure.for("NewExpression").tap("URLPlugin",(t=>{const n=t;const{callee:r}=n;if(r.type!=="Identifier")return;const i=e.getFreeInfoFromVariable(r.name);if(!i||i.name!=="URL")return;const s=getUrlRequest(n);if(s)return true}))};t.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);t.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}e.exports=URLPlugin},12584:(e,t,n)=>{"use strict";const r=n(56202);const i=n(12197);class UnsupportedDependency extends i{constructor(e,t){super();this.request=e;this.range=t}serialize(e){const{write:t}=e;t(this.request);t(this.range);super.serialize(e)}deserialize(e){const{read:t}=e;this.request=t();this.range=t();super.deserialize(e)}}r(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends i.Template{apply(e,t,{runtimeTemplate:n}){const r=e;t.replace(r.range[0],r.range[1],n.missingModule({request:r.request}))}};e.exports=UnsupportedDependency},30697:(e,t,n)=>{"use strict";const r=n(56202);const i=n(79983);class WebAssemblyExportImportedDependency extends i{constructor(e,t,n,r){super(t);this.exportName=e;this.name=n;this.valueType=r}getReferencedExports(e,t){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(e){const{write:t}=e;t(this.exportName);t(this.name);t(this.valueType);super.serialize(e)}deserialize(e){const{read:t}=e;this.exportName=t();this.name=t();this.valueType=t();super.deserialize(e)}}r(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");e.exports=WebAssemblyExportImportedDependency},33081:(e,t,n)=>{"use strict";const r=n(56202);const i=n(59422);const s=n(79983);class WebAssemblyImportDependency extends s{constructor(e,t,n,r){super(e);this.name=t;this.description=n;this.onlyDirectImport=r}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(e,t){return[[this.name]]}getErrors(e){const t=e.getModule(this);if(this.onlyDirectImport&&t&&!t.type.startsWith("webassembly")){return[new i(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(e){const{write:t}=e;t(this.name);t(this.description);t(this.onlyDirectImport);super.serialize(e)}deserialize(e){const{read:t}=e;this.name=t();this.description=t();this.onlyDirectImport=t();super.deserialize(e)}}r(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");e.exports=WebAssemblyImportDependency},46715:(e,t,n)=>{"use strict";const r=n(28706);const i=n(58159);const s=n(56202);const a=n(79983);class WebpackIsIncludedDependency extends a{constructor(e,t){super(e);this.weak=true;this.range=t}getReferencedExports(e,t){return r.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}s(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends a.Template{apply(e,t,{runtimeTemplate:n,chunkGraph:r,moduleGraph:s}){const a=e;const c=s.getConnection(a);const u=c?r.getNumberOfModuleChunks(c.module)>0:false;const l=n.outputOptions.pathinfo?i.toComment(`__webpack_is_included__ ${n.requestShortener.shorten(a.request)}`):"";t.replace(a.range[0],a.range[1]-1,`${l}${JSON.stringify(u)}`)}};e.exports=WebpackIsIncludedDependency},89017:(e,t,n)=>{"use strict";const r=n(28706);const i=n(76150);const s=n(56202);const a=n(79983);class WorkerDependency extends a{constructor(e,t){super(e);this.range=t}getReferencedExports(e,t){return r.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends a.Template{apply(e,t,n){const{chunkGraph:r,moduleGraph:s,runtimeRequirements:a}=n;const c=e;const u=s.getParentBlock(e);const l=r.getBlockChunkGroup(u);const d=l.getEntrypointChunk();a.add(i.publicPath);a.add(i.baseURI);a.add(i.getChunkScriptFilename);t.replace(c.range[0],c.range[1]-1,`/* worker import */ ${i.publicPath} + ${i.getChunkScriptFilename}(${JSON.stringify(d.id)}), ${i.baseURI}`)}};s(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");e.exports=WorkerDependency},76373:(e,t,n)=>{"use strict";const{pathToFileURL:r}=n(78835);const i=n(98221);const s=n(47207);const a=n(53558);const c=n(72380);const u=n(50369);const{equals:l}=n(73910);const{contextify:d}=n(49197);const p=n(69085);const h=n(66298);const{harmonySpecifierTag:m}=n(29381);const g=n(89017);const getUrl=e=>r(e.resource).toString();const y=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];class WorkerPlugin{constructor(e,t){this._chunkLoading=e;this._wasmLoading=t}apply(e){if(this._chunkLoading){new u(this._chunkLoading).apply(e)}if(this._wasmLoading){new p(this._wasmLoading).apply(e)}const t=d.bindContextCache(e.context,e.root);e.hooks.thisCompilation.tap("WorkerPlugin",((e,{normalModuleFactory:n})=>{e.dependencyFactories.set(g,n);e.dependencyTemplates.set(g,new g.Template);const parseModuleUrl=(e,t)=>{if(t.type!=="NewExpression"||t.callee.type==="Super"||t.arguments.length!==2)return;const[n,r]=t.arguments;if(n.type==="SpreadElement")return;if(r.type==="SpreadElement")return;const i=e.evaluateExpression(t.callee);if(!i.isIdentifier()||i.identifier!=="URL")return;const s=e.evaluateExpression(r);if(!s.isString()||!s.string.startsWith("file://")||s.string!==getUrl(e.state.module)){return}const a=e.evaluateExpression(n);return[a,[n.range[0],r.range[1]]]};const parseObjectExpression=(e,t)=>{const n={};const r={};const i=[];let s=false;for(const a of t.properties){if(a.type==="SpreadElement"){s=true}else if(a.type==="Property"&&!a.method&&!a.computed&&a.key.type==="Identifier"){r[a.key.name]=a.value;if(!a.shorthand&&!a.value.type.endsWith("Pattern")){const t=e.evaluateExpression(a.value);if(t.isCompileTimeValue())n[a.key.name]=t.asCompileTimeValue()}}else{i.push(a)}}const a=t.properties.length>0?"comma":"single";const c=t.properties[t.properties.length-1].range[1];return{expressions:r,otherElements:i,values:n,spread:s,insertType:a,insertLocation:c}};const parserPlugin=(e,n)=>{if(n.worker===false)return;const r=!Array.isArray(n.worker)?["..."]:n.worker;const handleNewWorker=n=>{if(n.arguments.length===0||n.arguments.length>2)return;const[r,u]=n.arguments;if(r.type==="SpreadElement")return;if(u&&u.type==="SpreadElement")return;const l=parseModuleUrl(e,r);if(!l)return;const[d,p]=l;if(!d.isString())return;const{expressions:m,otherElements:y,values:_,spread:b,insertType:x,insertLocation:k}=u&&u.type==="ObjectExpression"?parseObjectExpression(e,u):{expressions:{},otherElements:[],values:{},spread:false,insertType:u?"spread":"argument",insertLocation:u?u.range:r.range[1]};const{options:E,errors:w}=e.parseCommentOptions(n.range);if(w){for(const t of w){const{comment:n}=t;e.state.module.addWarning(new s(`Compilation error while processing magic comment(-s): /*${n.value}*/: ${t.message}`,n.loc))}}let S={};if(E){if(E.webpackIgnore!==undefined){if(typeof E.webpackIgnore!=="boolean"){e.state.module.addWarning(new a(`\`webpackIgnore\` expected a boolean, but received: ${E.webpackIgnore}.`,n.loc))}else{if(E.webpackIgnore){return false}}}if(E.webpackEntryOptions!==undefined){if(typeof E.webpackEntryOptions!=="object"||E.webpackEntryOptions===null){e.state.module.addWarning(new a(`\`webpackEntryOptions\` expected a object, but received: ${E.webpackEntryOptions}.`,n.loc))}else{Object.assign(S,E.webpackEntryOptions)}}if(E.webpackChunkName!==undefined){if(typeof E.webpackChunkName!=="string"){e.state.module.addWarning(new a(`\`webpackChunkName\` expected a string, but received: ${E.webpackChunkName}.`,n.loc))}else{S.name=E.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(S,"name")&&_&&typeof _.name==="string"){S.name=_.name}if(!S.runtime){S.runtime=`${t(e.state.module.identifier())}|${c(n.loc)}`}const C=new i({name:S.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...S}});C.loc=n.loc;const M=new g(d.string,p);M.loc=n.loc;C.addDependency(M);e.state.module.addBlock(C);e.walkExpression(n.callee);if(m.type){const t=m.type;if(_.type!==false){const n=new h("undefined",t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);m.type=undefined}}else if(b&&x==="comma"){const t=new h(", type: undefined",k);t.loc=n.loc;e.state.module.addPresentationalDependency(t)}else if(x==="spread"){const t=new h("Object.assign({}, ",k[0]);const r=new h(", { type: undefined })",k[1]);t.loc=n.loc;r.loc=n.loc;e.state.module.addPresentationalDependency(t);e.state.module.addPresentationalDependency(r)}for(const t of Object.keys(m)){if(m[t])e.walkExpression(m[t])}for(const t of y){e.walkProperty(t)}if(x==="spread"){e.walkExpression(u)}return true};const processItem=t=>{if(t.endsWith("()")){e.hooks.call.for(t.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const n=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(t);if(n){const t=n[1].split(".");const r=n[2];const i=n[3];(r?e.hooks.call:e.hooks.new).for(m).tap("WorkerPlugin",(n=>{const r=e.currentTagData;if(!r||r.source!==i||!l(r.ids,t)){return}return handleNewWorker(n)}))}else{e.hooks.new.for(t).tap("WorkerPlugin",handleNewWorker)}}};for(const e of r){if(e==="..."){y.forEach(processItem)}else processItem(e)}};n.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);n.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}e.exports=WorkerPlugin},36134:e=>{"use strict";e.exports=e=>{if(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){return{fn:e,expressions:[],needThis:false}}if(e.type==="CallExpression"&&e.callee.type==="MemberExpression"&&e.callee.object.type==="FunctionExpression"&&e.callee.property.type==="Identifier"&&e.callee.property.name==="bind"&&e.arguments.length===1){return{fn:e.callee.object,expressions:[e.arguments[0]],needThis:undefined}}if(e.type==="CallExpression"&&e.callee.type==="FunctionExpression"&&e.callee.body.type==="BlockStatement"&&e.arguments.length===1&&e.arguments[0].type==="ThisExpression"&&e.callee.body.body&&e.callee.body.body.length===1&&e.callee.body.body[0].type==="ReturnStatement"&&e.callee.body.body[0].argument&&e.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:e.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(e,t,n)=>{"use strict";const{UsageState:r}=n(76632);const processExportInfo=(e,t,n,i,s=false,a=new Set)=>{if(!i){t.push(n);return}const c=i.getUsed(e);if(c===r.Unused)return;if(a.has(i)){t.push(n);return}a.add(i);if(c!==r.OnlyPropertiesUsed||!i.exportsInfo||i.exportsInfo.otherExportsInfo.getUsed(e)!==r.Unused){a.delete(i);t.push(n);return}const u=i.exportsInfo;for(const r of u.orderedExports){processExportInfo(e,t,s&&r.name==="default"?n:n.concat(r.name),r,false,a)}a.delete(i)};e.exports=processExportInfo},25726:(e,t,n)=>{"use strict";const r=n(61050);class ElectronTargetPlugin{constructor(e){this._context=e}apply(e){new r("commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(e);switch(this._context){case"main":new r("commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(e);break;case"preload":case"renderer":new r("commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(e);break}}}e.exports=ElectronTargetPlugin},44547:(e,t,n)=>{"use strict";const r=n(81627);class BuildCycleError extends r{constructor(e){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=e;Error.captureStackTrace(this,this.constructor)}}e.exports=BuildCycleError},72380:e=>{"use strict";const formatPosition=e=>{if(e&&typeof e==="object"){if("line"in e&&"column"in e){return`${e.line}:${e.column}`}else if("line"in e){return`${e.line}:?`}}return""};const formatLocation=e=>{if(e&&typeof e==="object"){if("start"in e&&e.start&&"end"in e&&e.end){if(typeof e.start==="object"&&typeof e.start.line==="number"&&typeof e.end==="object"&&typeof e.end.line==="number"&&typeof e.end.column==="number"&&e.start.line===e.end.line){return`${formatPosition(e.start)}-${e.end.column}`}else if(typeof e.start==="object"&&typeof e.start.line==="number"&&typeof e.start.column!=="number"&&typeof e.end==="object"&&typeof e.end.line==="number"&&typeof e.end.column!=="number"){return`${e.start.line}-${e.end.line}`}else{return`${formatPosition(e.start)}-${formatPosition(e.end)}`}}if("start"in e&&e.start){return formatPosition(e.start)}if("name"in e&&"index"in e){return`${e.name}[${e.index}]`}if("name"in e){return e.name}}return""};e.exports=formatLocation},49464:e=>{"use strict";var t=undefined;var n=undefined;var r=undefined;var i=undefined;var s=undefined;var a=undefined;var c=undefined;e.exports=function(){var e={};var u=n;var l;var d=[];var p=[];var h="idle";var m;var g;var y;r=e;t.push((function(e){var t=e.module;var n=createRequire(e.require,e.id);t.hot=createModuleHotObject(e.id,t);t.parents=d;t.children=[];d=[];e.require=n}));s={};a={};function createRequire(e,t){var n=u[t];if(!n)return e;var fn=function(r){if(n.hot.active){if(u[r]){var i=u[r].parents;if(i.indexOf(t)===-1){i.push(t)}}else{d=[t];l=r}if(n.children.indexOf(r)===-1){n.children.push(r)}}else{console.warn("[HMR] unexpected require("+r+") from disposed module "+t);d=[]}return e(r)};var createPropertyDescriptor=function(t){return{configurable:true,enumerable:true,get:function(){return e[t]},set:function(n){e[t]=n}}};for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)&&r!=="e"){Object.defineProperty(fn,r,createPropertyDescriptor(r))}}fn.e=function(t){return trackBlockingPromise(e.e(t))};return fn}function createModuleHotObject(t,n){var r={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:l!==t,_requireSelf:function(){d=n.parents.slice();l=t;c(t)},active:true,accept:function(e,t,n){if(e===undefined)r._selfAccepted=true;else if(typeof e==="function")r._selfAccepted=e;else if(typeof e==="object"&&e!==null){for(var i=0;i=0)r._disposeHandlers.splice(t,1)},invalidate:function(){this._selfInvalidated=true;switch(h){case"idle":g=[];Object.keys(a).forEach((function(e){a[e](t,g)}));setStatus("ready");break;case"ready":Object.keys(a).forEach((function(e){a[e](t,g)}));break;case"prepare":case"check":case"dispose":case"apply":(y=y||[]).push(t);break;default:break}},check:hotCheck,apply:hotApply,status:function(e){if(!e)return h;p.push(e)},addStatusHandler:function(e){p.push(e)},removeStatusHandler:function(e){var t=p.indexOf(e);if(t>=0)p.splice(t,1)},data:e[t]};l=undefined;return r}function setStatus(e){h=e;for(var t=0;t0){setStatus("abort");return Promise.resolve().then((function(){throw n[0]}))}setStatus("dispose");t.forEach((function(e){if(e.dispose)e.dispose()}));setStatus("apply");var r;var reportError=function(e){if(!r)r=e};var i=[];t.forEach((function(e){if(e.apply){var t=e.apply(reportError);if(t){for(var n=0;n{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class HotModuleReplacementRuntimeModule extends i{constructor(){super("hot module replacement",i.STAGE_BASIC)}generate(){return s.getFunctionContent(n(49464)).replace(/\$getFullHash\$/g,r.getFullHash).replace(/\$interceptModuleExecution\$/g,r.interceptModuleExecution).replace(/\$moduleCache\$/g,r.moduleCache).replace(/\$hmrModuleData\$/g,r.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,r.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,r.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,r.hmrDownloadUpdateHandlers)}}e.exports=HotModuleReplacementRuntimeModule},22215:e=>{"use strict";var t=undefined;var n=undefined;var r=undefined;var i=undefined;var s=undefined;var a=undefined;var c=undefined;var u=undefined;var l=undefined;var d=undefined;e.exports=function(){var e;var p;var h;var m;function applyHandler(n){if(s)delete s.$key$Hmr;e=undefined;function getAffectedModuleEffects(e){var t=[e];var n={};var i=t.map((function(e){return{chain:[e],id:e}}));while(i.length>0){var s=i.pop();var a=s.id;var c=s.chain;var u=r[a];if(!u||u.hot._selfAccepted&&!u.hot._selfInvalidated)continue;if(u.hot._selfDeclined){return{type:"self-declined",chain:c,moduleId:a}}if(u.hot._main){return{type:"unaccepted",chain:c,moduleId:a}}for(var l=0;l ")}switch(x.type){case"self-declined":if(n.onDeclined)n.onDeclined(x);if(!n.ignoreDeclined)k=new Error("Aborted because of self decline: "+x.moduleId+S);break;case"declined":if(n.onDeclined)n.onDeclined(x);if(!n.ignoreDeclined)k=new Error("Aborted because of declined dependency: "+x.moduleId+" in "+x.parentId+S);break;case"unaccepted":if(n.onUnaccepted)n.onUnaccepted(x);if(!n.ignoreUnaccepted)k=new Error("Aborted because "+_+" is not accepted"+S);break;case"accepted":if(n.onAccepted)n.onAccepted(x);E=true;break;case"disposed":if(n.onDisposed)n.onDisposed(x);w=true;break;default:throw new Error("Unexception type "+x.type)}if(k){return{error:k}}if(E){g[_]=b;addAllToSet(l,x.outdatedModules);for(_ in x.outdatedDependencies){if(a(x.outdatedDependencies,_)){if(!u[_])u[_]=[];addAllToSet(u[_],x.outdatedDependencies[_])}}}if(w){addAllToSet(l,[x.moduleId]);g[_]=y}}}p=undefined;var C=[];for(var M=0;M0){var i=n.pop();var s=r[i];if(!s)continue;var d={};var p=s.hot._disposeHandlers;for(M=0;M=0){m.parents.splice(e,1)}}}var g;for(var y in u){if(a(u,y)){s=r[y];if(s){T=u[y];for(M=0;M=0)s.children.splice(e,1)}}}}},apply:function(e){for(var t in g){if(a(g,t)){i[t]=g[t]}}for(var s=0;s{"use strict";const{RawSource:r}=n(48135);const i=n(98221);const s=n(28706);const a=n(53453);const c=n(40674);const u=n(76150);const l=n(58159);const d=n(37313);const{registerNotSerializable:p}=n(24568);const h=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(e,t)=>{if(e===undefined)return true;if(typeof e==="function"){return e(t)}if(typeof e==="string"){const n=t.nameForCondition();return n&&n.startsWith(e)}if(e instanceof RegExp){const n=t.nameForCondition();return n&&e.test(n)}return false};const m=new Set(["javascript"]);class LazyCompilationDependency extends s{constructor(e){super();this.proxyModule=e}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}p(LazyCompilationDependency);class LazyCompilationProxyModule extends a{constructor(e,t,n,r,i,s){super("lazy-compilation-proxy",e,t.layer);this.originalModule=t;this.request=n;this.client=r;this.data=i;this.active=s}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(e){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(e)}`}updateCacheModule(e){super.updateCacheModule(e);const t=e;this.originalModule=t.originalModule;this.request=t.request;this.client=t.client;this.data=t.data;this.active=t.active}libIdent(e){return`${this.originalModule.libIdent(e)}!lazy-compilation-proxy`}needBuild(e,t){t(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(e,t,n,r,s){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const a=new d(this.client);this.addDependency(a);if(this.active){const e=new LazyCompilationDependency(this);const t=new i({});t.addDependency(e);this.addBlock(t)}s()}getSourceTypes(){return m}size(e){return 200}codeGeneration({runtimeTemplate:e,chunkGraph:t,moduleGraph:n}){const i=new Map;const s=new Set;s.add(u.module);const a=this.dependencies[0];const c=n.getModule(a);const d=this.blocks[0];const p=l.asString([`var client = ${e.moduleExports({module:c,chunkGraph:t,request:a.userRequest,runtimeRequirements:s})}`,`var data = ${JSON.stringify(this.data)};`]);const h=l.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!d)}, module: module, onError: onError });`]);let m;if(d){const r=d.dependencies[0];const i=n.getModule(r);m=l.asString([p,`module.exports = ${e.moduleNamespacePromise({chunkGraph:t,block:d,module:i,request:this.request,strict:false,message:"import()",runtimeRequirements:s})};`,"if (module.hot) {",l.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(t.getModuleId(i))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",h])}else{m=l.asString([p,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",l.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",h])}i.set("javascript",new r(m));return{sources:i,runtimeRequirements:s}}updateHash(e,t){super.updateHash(e,t);e.update(this.active?"active":"");e.update(JSON.stringify(this.data))}}p(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends c{constructor(e){super();this._factory=e}create(e,t){const n=e.dependencies[0];t(null,{module:n.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:e,client:t,entries:n,imports:r,test:i}){this.backend=e;this.client=t;this.entries=n;this.imports=r;this.test=i}apply(e){let t;e.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((n,r)=>{if(t!==undefined)return r();const i=this.backend(e,this.client,((e,n)=>{if(e)return r(e);t=n;r()}));if(i&&i.then){i.then((e=>{t=e;r()}),r)}}));e.hooks.thisCompilation.tap("LazyCompilationPlugin",((n,{normalModuleFactory:r})=>{r.hooks.module.tap("LazyCompilationPlugin",((n,r,i)=>{if(i.dependencies.every((e=>h.has(e.type)||this.imports&&e.type==="import()"||this.entries&&e.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test(i.request)&&checkTest(this.test,n)){const r=t.module(n);if(!r)return;const{client:s,data:a,active:c}=r;return new LazyCompilationProxyModule(e.context,n,i.request,s,a,c)}}));n.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));e.hooks.shutdown.tapAsync("LazyCompilationPlugin",(e=>{t.dispose(e)}))}}e.exports=LazyCompilationPlugin},64244:(e,t,n)=>{"use strict";const r=n(98605);e.exports=(e,t,n)=>{const i=e.getInfrastructureLogger("LazyCompilationBackend");const s=new Map;const a="/lazy-compilation-using-";const c=r.createServer(((t,n)=>{const r=t.url.slice(a.length).split("@");t.socket.on("close",(()=>{setTimeout((()=>{for(const e of r){const t=s.get(e)||0;s.set(e,t-1);if(t===1){i.log(`${e} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));t.socket.setNoDelay(true);n.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});n.write("\n");let c=false;for(const e of r){const t=s.get(e)||0;s.set(e,t+1);if(t===0){i.log(`${e} is now in use and will be compiled.`);c=true}}if(c&&e.watching)e.watching.invalidate()}));c.listen((e=>{if(e)return n(e);const r=c.address();if(typeof r==="string")throw new Error("addr must not be a string");const u=r.address==="::"||r.address==="0.0.0.0"?`http://localhost:${r.port}`:r.family==="IPv6"?`http://[${r.address}]:${r.port}`:`http://${r.address}:${r.port}`;i.log(`Server-Sent-Events server for lazy compilation open at ${u}.`);n(null,{dispose(e){c.close(e)},module(e){const n=`${encodeURIComponent(e.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const r=s.get(n)>0;return{client:`${t}?${encodeURIComponent(u+a)}`,data:n,active:r}}})}))}},30484:(e,t,n)=>{"use strict";const{find:r}=n(26221);const{compareModulesByPreOrderIndexOrIdentifier:i,compareModulesByPostOrderIndexOrIdentifier:s}=n(68673);class ChunkModuleIdRangePlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("ChunkModuleIdRangePlugin",(e=>{const n=e.moduleGraph;e.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(a=>{const c=e.chunkGraph;const u=r(e.chunks,(e=>e.name===t.name));if(!u){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${t.name}"' was not found`)}let l;if(t.order){let e;switch(t.order){case"index":case"preOrderIndex":e=i(n);break;case"index2":case"postOrderIndex":e=s(n);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}l=c.getOrderedChunkModules(u,e)}else{l=Array.from(a).filter((e=>c.isModuleInChunk(e,u))).sort(i(n))}let d=t.start||0;for(let e=0;et.end)break}}))}))}}e.exports=ChunkModuleIdRangePlugin},90444:(e,t,n)=>{"use strict";const{compareChunksNatural:r}=n(68673);const{getFullChunkName:i,getUsedChunkIds:s,assignDeterministicIds:a}=n(30328);class DeterministicChunkIdsPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.compilation.tap("DeterministicChunkIdsPlugin",(t=>{t.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(n=>{const c=t.chunkGraph;const u=this.options.context?this.options.context:e.context;const l=this.options.maxLength||3;const d=r(c);const p=s(t);a(Array.from(n).filter((e=>e.id===null)),(t=>i(t,c,u,e.root)),d,((e,t)=>{const n=p.size;p.add(`${t}`);if(n===p.size)return false;e.id=t;e.ids=[t];return true}),[Math.pow(10,l)],10,p.size)}))}))}}e.exports=DeterministicChunkIdsPlugin},35579:(e,t,n)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:r}=n(68673);const{getUsedModuleIds:i,getFullModuleName:s,assignDeterministicIds:a}=n(30328);class DeterministicModuleIdsPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.compilation.tap("DeterministicModuleIdsPlugin",(t=>{t.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(n=>{const c=t.chunkGraph;const u=this.options.context?this.options.context:e.context;const l=this.options.maxLength||3;const d=i(t);a(Array.from(n).filter((e=>{if(!e.needId)return false;if(c.getNumberOfModuleChunks(e)===0)return false;return c.getModuleId(e)===null})),(t=>s(t,u,e.root)),r(t.moduleGraph),((e,t)=>{const n=d.size;d.add(`${t}`);if(n===d.size)return false;c.setModuleId(e,t);return true}),[Math.pow(10,l)],10,d.size)}))}))}}e.exports=DeterministicModuleIdsPlugin},35853:(e,t,n)=>{"use strict";e=n.nmd(e);const{validate:r}=n(15235);const i=n(1842);const{compareModulesByPreOrderIndexOrIdentifier:s}=n(68673);const a=n(35891);const{getUsedModuleIds:c,getFullModuleName:u}=n(30328);class HashedModuleIdsPlugin{constructor(e={}){r(i,e,{name:"Hashed Module Ids Plugin",baseDataPath:"options"});this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...e}}apply(t){const n=this.options;t.hooks.compilation.tap("HashedModuleIdsPlugin",(r=>{r.hooks.moduleIds.tap("HashedModuleIdsPlugin",(i=>{const l=r.chunkGraph;const d=this.options.context?this.options.context:t.context;const p=c(r);const h=Array.from(i).filter((t=>{if(!t.needId)return false;if(l.getNumberOfModuleChunks(t)===0)return false;return l.getModuleId(e)===null})).sort(s(r.moduleGraph));for(const e of h){const r=u(e,d,t.root);const i=a(n.hashFunction);i.update(r||"");const s=i.digest(n.hashDigest);let c=n.hashDigestLength;while(p.has(s.substr(0,c)))c++;const h=s.substr(0,c);l.setModuleId(e,h);p.add(h)}}))}))}}e.exports=HashedModuleIdsPlugin},30328:(e,t,n)=>{"use strict";const r=n(35891);const{makePathsRelative:i}=n(49197);const s=n(12631);const getHash=(e,t)=>{const n=r("md4");n.update(e);const i=n.digest("hex");return i.substr(0,t)};const avoidNumber=e=>{if(e.length>21)return e;const t=e.charCodeAt(0);if(t<49){if(t!==45)return e}else if(t>57){return e}if(e===+e+""){return`_${e}`}return e};const requestToId=e=>e.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");t.requestToId=requestToId;const shortenLongString=(e,t)=>{if(e.length<100)return e;return e.slice(0,100-6-t.length)+t+getHash(e,6)};const getShortModuleName=(e,t,n)=>{const r=e.libIdent({context:t,associatedObjectForCache:n});if(r)return avoidNumber(r);const s=e.nameForCondition();if(s)return avoidNumber(i(t,s,n));return""};t.getShortModuleName=getShortModuleName;const getLongModuleName=(e,t,n,r)=>{const i=getFullModuleName(t,n,r);return`${e}?${getHash(i,4)}`};t.getLongModuleName=getLongModuleName;const getFullModuleName=(e,t,n)=>i(t,e.identifier(),n);t.getFullModuleName=getFullModuleName;const getShortChunkName=(e,t,n,r,i)=>{const s=t.getChunkRootModules(e);const a=s.map((e=>requestToId(getShortModuleName(e,n,i))));e.idNameHints.sort();const c=Array.from(e.idNameHints).concat(a).filter(Boolean).join(r);return shortenLongString(c,r)};t.getShortChunkName=getShortChunkName;const getLongChunkName=(e,t,n,r,i)=>{const s=t.getChunkRootModules(e);const a=s.map((e=>requestToId(getShortModuleName(e,n,i))));const c=s.map((e=>requestToId(getLongModuleName("",e,n,i))));e.idNameHints.sort();const u=Array.from(e.idNameHints).concat(a,c).filter(Boolean).join(r);return shortenLongString(u,r)};t.getLongChunkName=getLongChunkName;const getFullChunkName=(e,t,n,r)=>{if(e.name)return e.name;const s=t.getChunkRootModules(e);const a=s.map((e=>i(n,e.identifier(),r)));return a.join()};t.getFullChunkName=getFullChunkName;const addToMapOfItems=(e,t,n)=>{let r=e.get(t);if(r===undefined){r=[];e.set(t,r)}r.push(n)};const getUsedModuleIds=e=>{const t=e.chunkGraph;const n=new Set;if(e.usedModuleIds){for(const t of e.usedModuleIds){n.add(t+"")}}for(const r of e.modules){const e=t.getModuleId(r);if(e!==null){n.add(e+"")}}return n};t.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=e=>{const t=new Set;if(e.usedChunkIds){for(const n of e.usedChunkIds){t.add(n+"")}}for(const n of e.chunks){const e=n.id;if(e!==null){t.add(e+"")}}return t};t.getUsedChunkIds=getUsedChunkIds;const assignNames=(e,t,n,r,i,s)=>{const a=new Map;for(const n of e){const e=t(n);addToMapOfItems(a,e,n)}const c=new Map;for(const[e,t]of a){if(t.length>1||!e){for(const r of t){const t=n(r,e);addToMapOfItems(c,t,r)}}else{addToMapOfItems(c,e,t[0])}}const u=[];for(const[e,t]of c){if(!e){for(const e of t){u.push(e)}}else if(t.length===1&&!i.has(e)){s(t[0],e);i.add(e)}else{t.sort(r);let n=0;for(const r of t){while(c.has(e+n)&&i.has(e+n))n++;s(r,e+n);i.add(e+n);n++}}}u.sort(r);return u};t.assignNames=assignNames;const assignDeterministicIds=(e,t,n,r,i=[10],a=10,c=0)=>{e.sort(n);const u=Math.min(Math.ceil(e.length*20)+c,Number.MAX_SAFE_INTEGER);let l=0;let d=i[l];while(d{const n=t.chunkGraph;const r=getUsedModuleIds(t);let i=0;let s;if(r.size>0){s=e=>{if(n.getModuleId(e)===null){while(r.has(i+""))i++;n.setModuleId(e,i++)}}}else{s=e=>{if(n.getModuleId(e)===null){n.setModuleId(e,i++)}}}for(const t of e){s(t)}};t.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(e,t)=>{const n=getUsedChunkIds(t);let r=0;if(n.size>0){for(const t of e){if(t.id===null){while(n.has(r+""))r++;t.id=r;t.ids=[r];r++}}}else{for(const t of e){if(t.id===null){t.id=r;t.ids=[r];r++}}}};t.assignAscendingChunkIds=assignAscendingChunkIds},64779:(e,t,n)=>{"use strict";const{compareChunksNatural:r}=n(68673);const{getShortChunkName:i,getLongChunkName:s,assignNames:a,getUsedChunkIds:c,assignAscendingChunkIds:u}=n(30328);class NamedChunkIdsPlugin{constructor(e){this.delimiter=e&&e.delimiter||"-";this.context=e&&e.context}apply(e){e.hooks.compilation.tap("NamedChunkIdsPlugin",(t=>{t.hooks.chunkIds.tap("NamedChunkIdsPlugin",(n=>{const l=t.chunkGraph;const d=this.context?this.context:e.context;const p=this.delimiter;const h=a(Array.from(n).filter((e=>{if(e.name){e.id=e.name;e.ids=[e.name]}return e.id===null})),(t=>i(t,l,d,p,e.root)),(t=>s(t,l,d,p,e.root)),r(l),c(t),((e,t)=>{e.id=t;e.ids=[t]}));if(h.length>0){u(h,t)}}))}))}}e.exports=NamedChunkIdsPlugin},9297:(e,t,n)=>{"use strict";const{compareModulesByIdentifier:r}=n(68673);const{getShortModuleName:i,getLongModuleName:s,assignNames:a,getUsedModuleIds:c,assignAscendingModuleIds:u}=n(30328);class NamedModuleIdsPlugin{constructor(e){this.options=e||{}}apply(e){const{root:t}=e;e.hooks.compilation.tap("NamedModuleIdsPlugin",(n=>{n.hooks.moduleIds.tap("NamedModuleIdsPlugin",(l=>{const d=n.chunkGraph;const p=this.options.context?this.options.context:e.context;const h=a(Array.from(l).filter((e=>{if(!e.needId)return false;if(d.getNumberOfModuleChunks(e)===0)return false;return d.getModuleId(e)===null})),(e=>i(e,p,t)),((e,n)=>s(n,e,p,t)),r,c(n),((e,t)=>d.setModuleId(e,t)));if(h.length>0){u(h,n)}}))}))}}e.exports=NamedModuleIdsPlugin},18298:(e,t,n)=>{"use strict";const{compareChunksNatural:r}=n(68673);const{assignAscendingChunkIds:i}=n(30328);class NaturalChunkIdsPlugin{apply(e){e.hooks.compilation.tap("NaturalChunkIdsPlugin",(e=>{e.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(t=>{const n=e.chunkGraph;const s=r(n);const a=Array.from(t).sort(s);i(a,e)}))}))}}e.exports=NaturalChunkIdsPlugin},97781:(e,t,n)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:r}=n(68673);const{assignAscendingModuleIds:i}=n(30328);class NaturalModuleIdsPlugin{apply(e){e.hooks.compilation.tap("NaturalModuleIdsPlugin",(e=>{e.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(t=>{const n=e.chunkGraph;const s=Array.from(t).filter((e=>e.needId&&n.getNumberOfModuleChunks(e)>0&&n.getModuleId(e)===null)).sort(r(e.moduleGraph));i(s,e)}))}))}}e.exports=NaturalModuleIdsPlugin},86169:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(66451);const{compareChunksNatural:s}=n(68673);const{assignAscendingChunkIds:a}=n(30328);class OccurrenceChunkIdsPlugin{constructor(e={}){r(i,e,{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});this.options=e}apply(e){const t=this.options.prioritiseInitial;e.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(e=>{e.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(n=>{const r=e.chunkGraph;const i=new Map;const c=s(r);for(const e of n){let t=0;for(const n of e.groupsIterable){for(const e of n.parentsIterable){if(e.isInitial())t++}}i.set(e,t)}const u=Array.from(n).sort(((e,n)=>{if(t){const t=i.get(e);const r=i.get(n);if(t>r)return-1;if(ts)return-1;if(r{"use strict";const{validate:r}=n(15235);const i=n(25049);const{compareModulesByPreOrderIndexOrIdentifier:s}=n(68673);const{assignAscendingModuleIds:a}=n(30328);class OccurrenceModuleIdsPlugin{constructor(e={}){r(i,e,{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});this.options=e}apply(e){const t=this.options.prioritiseInitial;e.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(e=>{const n=e.moduleGraph;e.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",(r=>{const i=e.chunkGraph;const c=Array.from(r).filter((e=>e.needId&&i.getNumberOfModuleChunks(e)>0&&i.getModuleId(e)===null));const u=new Map;const l=new Map;const d=new Map;const p=new Map;for(const e of c){let t=0;let n=0;for(const r of i.getModuleChunksIterable(e)){if(r.canBeInitial())t++;if(i.isEntryModuleInChunk(e,r))n++}d.set(e,t);p.set(e,n)}const countOccursInEntry=e=>{let t=0;for(const[r,i]of n.getIncomingConnectionsByOriginModule(e)){if(!r)continue;if(!i.some((e=>e.isTargetActive(undefined))))continue;t+=d.get(r)}return t};const countOccurs=e=>{let t=0;for(const[r,s]of n.getIncomingConnectionsByOriginModule(e)){if(!r)continue;const e=i.getNumberOfModuleChunks(r);for(const n of s){if(!n.isTargetActive(undefined))continue;if(!n.dependency)continue;const r=n.dependency.getNumberOfIdOccurrences();if(r===0)continue;t+=r*e}}return t};if(t){for(const e of c){const t=countOccursInEntry(e)+d.get(e)+p.get(e);u.set(e,t)}}for(const e of r){const t=countOccurs(e)+i.getNumberOfModuleChunks(e)+p.get(e);l.set(e,t)}const h=s(e.moduleGraph);c.sort(((e,n)=>{if(t){const t=u.get(e);const r=u.get(n);if(t>r)return-1;if(ti)return-1;if(r{"use strict";const r=n(31669);const i=n(91671);const lazyFunction=e=>{const t=i(e);const f=(...e)=>t()(...e);return f};const mergeExports=(e,t)=>{const n=Object.getOwnPropertyDescriptors(t);for(const t of Object.keys(n)){const r=n[t];if(r.get){const n=r.get;Object.defineProperty(e,t,{configurable:false,enumerable:true,get:i(n)})}else if(typeof r.value==="object"){Object.defineProperty(e,t,{configurable:false,enumerable:true,writable:false,value:mergeExports({},r.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(e)};const s=lazyFunction((()=>n(2982)));e.exports=mergeExports(s,{get webpack(){return n(2982)},get validate(){const e=n(33316);const t=n(76518);return n=>e(t,n)},get validateSchema(){const e=n(33316);return e},get version(){return n(61733).i8},get cli(){return n(61634)},get AutomaticPrefetchPlugin(){return n(20383)},get AsyncDependenciesBlock(){return n(98221)},get BannerPlugin(){return n(58779)},get Cache(){return n(54725)},get Chunk(){return n(62433)},get ChunkGraph(){return n(45137)},get CleanPlugin(){return n(61666)},get Compilation(){return n(3080)},get Compiler(){return n(63076)},get ConcatenationScope(){return n(77294)},get ContextExclusionPlugin(){return n(51709)},get ContextReplacementPlugin(){return n(26552)},get DefinePlugin(){return n(24820)},get DelegatedPlugin(){return n(82354)},get Dependency(){return n(28706)},get DllPlugin(){return n(73887)},get DllReferencePlugin(){return n(83515)},get DynamicEntryPlugin(){return n(85227)},get EntryOptionPlugin(){return n(64699)},get EntryPlugin(){return n(59674)},get EnvironmentPlugin(){return n(64856)},get EvalDevToolModulePlugin(){return n(91331)},get EvalSourceMapDevToolPlugin(){return n(23641)},get ExternalModule(){return n(16734)},get ExternalsPlugin(){return n(61050)},get Generator(){return n(36253)},get HotUpdateChunk(){return n(22352)},get HotModuleReplacementPlugin(){return n(79972)},get IgnorePlugin(){return n(69276)},get JavascriptModulesPlugin(){return r.deprecate((()=>n(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return n(77750)},get LibraryTemplatePlugin(){return r.deprecate((()=>n(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return n(19674)},get LoaderTargetPlugin(){return n(97736)},get Module(){return n(53453)},get ModuleFilenameHelpers(){return n(70354)},get ModuleGraph(){return n(75412)},get ModuleGraphConnection(){return n(79900)},get NoEmitOnErrorsPlugin(){return n(66962)},get NormalModule(){return n(53520)},get NormalModuleReplacementPlugin(){return n(92234)},get MultiCompiler(){return n(63433)},get Parser(){return n(2172)},get PrefetchPlugin(){return n(13125)},get ProgressPlugin(){return n(52923)},get ProvidePlugin(){return n(40313)},get RuntimeGlobals(){return n(76150)},get RuntimeModule(){return n(66804)},get SingleEntryPlugin(){return r.deprecate((()=>n(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return n(2e4)},get Stats(){return n(10140)},get Template(){return n(58159)},get UsageState(){return n(76632).UsageState},get WatchIgnorePlugin(){return n(91265)},get WebpackError(){return n(81627)},get WebpackOptionsApply(){return n(81721)},get WebpackOptionsDefaulter(){return r.deprecate((()=>n(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return n(15235).ValidationError},get ValidationError(){return n(15235).ValidationError},cache:{get MemoryCachePlugin(){return n(47786)}},config:{get getNormalizedWebpackOptions(){return n(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return n(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return n(79983)},get ConstDependency(){return n(66298)},get NullDependency(){return n(12197)}},ids:{get ChunkModuleIdRangePlugin(){return n(30484)},get NaturalModuleIdsPlugin(){return n(97781)},get OccurrenceModuleIdsPlugin(){return n(76059)},get NamedModuleIdsPlugin(){return n(9297)},get DeterministicChunkIdsPlugin(){return n(90444)},get DeterministicModuleIdsPlugin(){return n(35579)},get NamedChunkIdsPlugin(){return n(64779)},get OccurrenceChunkIdsPlugin(){return n(86169)},get HashedModuleIdsPlugin(){return n(35853)}},javascript:{get EnableChunkLoadingPlugin(){return n(50369)},get JavascriptModulesPlugin(){return n(18161)},get JavascriptParser(){return n(3711)}},optimize:{get AggressiveMergingPlugin(){return n(61332)},get AggressiveSplittingPlugin(){return r.deprecate((()=>n(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get LimitChunkCountPlugin(){return n(92922)},get MinChunkSizePlugin(){return n(52383)},get ModuleConcatenationPlugin(){return n(35442)},get RealContentHashPlugin(){return n(30699)},get RuntimeChunkPlugin(){return n(4674)},get SideEffectsFlagPlugin(){return n(63410)},get SplitChunksPlugin(){return n(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return n(9609)},get LoadScriptRuntimeModule(){return n(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return n(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return n(52687)},get FetchCompileWasmPlugin(){return n(71100)},get JsonpChunkLoadingRuntimeModule(){return n(4038)},get JsonpTemplatePlugin(){return n(58421)}},webworker:{get WebWorkerTemplatePlugin(){return n(67439)}},node:{get NodeEnvironmentPlugin(){return n(93632)},get NodeSourcePlugin(){return n(92662)},get NodeTargetPlugin(){return n(84980)},get NodeTemplatePlugin(){return n(91591)},get ReadFileCompileWasmPlugin(){return n(71049)}},electron:{get ElectronTargetPlugin(){return n(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return n(82422)}},library:{get AbstractLibraryPlugin(){return n(9786)},get EnableLibraryPlugin(){return n(13984)}},container:{get ContainerPlugin(){return n(10419)},get ContainerReferencePlugin(){return n(68839)},get ModuleFederationPlugin(){return n(8019)},get scope(){return n(97264).scope}},sharing:{get ConsumeSharedPlugin(){return n(71968)},get ProvideSharedPlugin(){return n(48151)},get SharePlugin(){return n(16471)},get scope(){return n(97264).scope}},debug:{get ProfilingPlugin(){return n(26802)}},util:{get createHash(){return n(35891)},get comparators(){return n(68673)},get serialization(){return n(24568)},get cleverMerge(){return n(90149).cachedCleverMerge},get LazySet(){return n(83379)}},get sources(){return n(48135)},experiments:{schemes:{get HttpUriPlugin(){return n(7201)},get HttpsUriPlugin(){return n(1161)}}}})},41113:(e,t,n)=>{"use strict";const{ConcatSource:r,PrefixSource:i,RawSource:s}=n(48135);const{RuntimeGlobals:a}=n(86443);const c=n(22352);const u=n(58159);const{getCompilationHooks:l}=n(18161);const{generateEntryStartup:d,updateHashForEntryStartup:p}=n(13085);class ArrayPushCallbackChunkFormatPlugin{apply(e){e.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(e=>{e.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((t,n)=>{if(t.hasRuntime())return;if(e.chunkGraph.getNumberOfEntryModules(t)>0){n.add(a.onChunksLoaded);n.add(a.require)}n.add(a.chunkCallback)}));const t=l(e);t.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((n,a)=>{const{chunk:l,chunkGraph:p,runtimeTemplate:h}=a;const m=l instanceof c?l:null;const g=h.outputOptions.globalObject;const y=new r;const _=p.getChunkRuntimeModulesInOrder(l);if(m){const e=h.outputOptions.hotUpdateGlobal;y.add(`${g}[${JSON.stringify(e)}](`);y.add(`${JSON.stringify(l.id)},`);y.add(n);if(_.length>0){y.add(",\n");const e=u.renderChunkRuntimeModules(_,a);y.add(e)}y.add(")")}else{const c=h.outputOptions.chunkLoadingGlobal;y.add(`(${g}[${JSON.stringify(c)}] = ${g}[${JSON.stringify(c)}] || []).push([`);y.add(`${JSON.stringify(l.ids)},`);y.add(n);const m=Array.from(p.getChunkEntryModulesWithChunkGroupIterable(l));if(_.length>0||m.length>0){const n=t.strictRuntimeBailout.call(a);const c=new r((h.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n",n?`// runtime can't be in strict mode because ${n}.\n\n`:'"use strict";\n\n');if(_.length>0){c.add(u.renderRuntimeModules(_,{...a,codeGenerationResults:e.codeGenerationResults,useStrict:!!n}))}if(m.length>0){const e=new s(d(p,h,m,l,true));c.add(t.renderStartup.call(e,m[m.length-1][0],{...a,inlined:false}))}c.add("}\n");y.add(",\n");y.add(new i("/******/ ",c))}y.add("])")}return y}));t.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((e,t,{chunkGraph:n,runtimeTemplate:r})=>{if(e.hasRuntime())return;t.update("ArrayPushCallbackChunkFormatPlugin");t.update("1");t.update(`${r.outputOptions.chunkLoadingGlobal}`);t.update(`${r.outputOptions.hotUpdateGlobal}`);t.update(`${r.outputOptions.globalObject}`);const i=Array.from(n.getChunkEntryModulesWithChunkGroupIterable(e));p(t,n,i,e)}))}))}}e.exports=ArrayPushCallbackChunkFormatPlugin},87250:e=>{"use strict";const t=0;const n=1;const r=2;const i=3;const s=4;const a=5;const c=6;const u=7;const l=8;const d=9;const p=10;const h=11;const m=12;const g=13;class BasicEvaluatedExpression{constructor(){this.type=t;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===t}isNull(){return this.type===r}isUndefined(){return this.type===n}isString(){return this.type===i}isNumber(){return this.type===s}isBigInt(){return this.type===g}isBoolean(){return this.type===a}isRegExp(){return this.type===c}isConditional(){return this.type===u}isArray(){return this.type===l}isConstArray(){return this.type===d}isIdentifier(){return this.type===p}isWrapped(){return this.type===h}isTemplateString(){return this.type===m}isPrimitiveType(){switch(this.type){case n:case r:case i:case s:case a:case g:case h:case m:return true;case c:case l:case d:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case n:case r:case i:case s:case a:case c:case d:case g:return true;default:return false}}asCompileTimeValue(){switch(this.type){case n:return undefined;case r:return null;case i:return this.string;case s:return this.number;case a:return this.bool;case c:return this.regExp;case d:return this.array;case g:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const e=this.asString();if(typeof e==="string")return e!==""}return undefined}asNullish(){const e=this.isNullish();if(e===true||this.isNull()||this.isUndefined())return true;if(e===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let e=[];for(const t of this.items){const n=t.asString();if(n===undefined)return undefined;e.push(n)}return`${e}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let e="";for(const t of this.parts){const n=t.asString();if(n===undefined)return undefined;e+=n}return e}return undefined}setString(e){this.type=i;this.string=e;this.sideEffects=false;return this}setUndefined(){this.type=n;this.sideEffects=false;return this}setNull(){this.type=r;this.sideEffects=false;return this}setNumber(e){this.type=s;this.number=e;this.sideEffects=false;return this}setBigInt(e){this.type=g;this.bigint=e;this.sideEffects=false;return this}setBoolean(e){this.type=a;this.bool=e;this.sideEffects=false;return this}setRegExp(e){this.type=c;this.regExp=e;this.sideEffects=false;return this}setIdentifier(e,t,n){this.type=p;this.identifier=e;this.rootInfo=t;this.getMembers=n;this.sideEffects=true;return this}setWrapped(e,t,n){this.type=h;this.prefix=e;this.postfix=t;this.wrappedInnerExpressions=n;this.sideEffects=true;return this}setOptions(e){this.type=u;this.options=e;this.sideEffects=true;return this}addOptions(e){if(!this.options){this.type=u;this.options=[];this.sideEffects=true}for(const t of e){this.options.push(t)}return this}setItems(e){this.type=l;this.items=e;this.sideEffects=e.some((e=>e.couldHaveSideEffects()));return this}setArray(e){this.type=d;this.array=e;this.sideEffects=false;return this}setTemplateString(e,t,n){this.type=m;this.quasis=e;this.parts=t;this.templateStringKind=n;this.sideEffects=t.some((e=>e.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(e){this.nullish=e;return this}setRange(e){this.range=e;return this}setSideEffects(e=true){this.sideEffects=e;return this}setExpression(e){this.expression=e;return this}}BasicEvaluatedExpression.isValidRegExpFlags=e=>{const t=e.length;if(t===0)return true;if(t>4)return false;let n=0;for(let r=0;r{"use strict";const{ConcatSource:r,RawSource:i}=n(48135);const s=n(76150);const a=n(58159);const{getChunkFilenameTemplate:c,getCompilationHooks:u}=n(18161);const{generateEntryStartup:l,updateHashForEntryStartup:d}=n(13085);class CommonJsChunkFormatPlugin{apply(e){e.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(e=>{e.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((t,n)=>{if(t.hasRuntime())return;if(e.chunkGraph.getNumberOfEntryModules(t)>0){n.add(s.require);n.add(s.startupEntrypoint);n.add(s.externalInstallChunk)}}));const t=u(e);t.renderChunk.tap("CommonJsChunkFormatPlugin",((n,u)=>{const{chunk:d,chunkGraph:p,runtimeTemplate:h}=u;const m=new r;m.add(`exports.id = ${JSON.stringify(d.id)};\n`);m.add(`exports.ids = ${JSON.stringify(d.ids)};\n`);m.add(`exports.modules = `);m.add(n);m.add(";\n");const g=p.getChunkRuntimeModulesInOrder(d);if(g.length>0){m.add("exports.runtime =\n");m.add(a.renderChunkRuntimeModules(g,u))}const y=Array.from(p.getChunkEntryModulesWithChunkGroupIterable(d));if(y.length>0){const n=y[0][1].getRuntimeChunk();const a=e.getPath(c(d,e.outputOptions),{chunk:d,contentHashType:"javascript"}).split("/");const g=e.getPath(c(n,e.outputOptions),{chunk:n,contentHashType:"javascript"}).split("/");a.pop();while(a.length>0&&g.length>0&&a[0]===g[0]){a.shift();g.shift()}const _=(a.length>0?"../".repeat(a.length):"./")+g.join("/");const b=new r;b.add(`(${h.supportsArrowFunction()?"() => ":"function() "}{\n`);b.add("var exports = {};\n");b.add(m);b.add(";\n\n// load runtime\n");b.add(`var __webpack_require__ = require(${JSON.stringify(_)});\n`);b.add(`${s.externalInstallChunk}(exports);\n`);const x=new i(l(p,h,y,d,false));b.add(t.renderStartup.call(x,y[y.length-1][0],{...u,inlined:false}));b.add("\n})()");return b}return m}));t.chunkHash.tap("CommonJsChunkFormatPlugin",((e,t,{chunkGraph:n})=>{if(e.hasRuntime())return;t.update("CommonJsChunkFormatPlugin");t.update("1");const r=Array.from(n.getChunkEntryModulesWithChunkGroupIterable(e));d(t,n,r,e)}))}))}}e.exports=CommonJsChunkFormatPlugin},50369:(e,t,n)=>{"use strict";const r=new WeakMap;const getEnabledTypes=e=>{let t=r.get(e);if(t===undefined){t=new Set;r.set(e,t)}return t};class EnableChunkLoadingPlugin{constructor(e){this.type=e}static setEnabled(e,t){getEnabledTypes(e).add(t)}static checkEnabled(e,t){if(!getEnabledTypes(e).has(t)){throw new Error(`Chunk loading type "${t}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(e)).join(", "))}}apply(e){const{type:t}=this;const r=getEnabledTypes(e);if(r.has(t))return;r.add(t);if(typeof t==="string"){switch(t){case"jsonp":{const t=n(76853);(new t).apply(e);break}case"import-scripts":{const t=n(82779);(new t).apply(e);break}case"require":{const t=n(82827);new t({asyncChunkLoading:false}).apply(e);break}case"async-node":{const t=n(82827);new t({asyncChunkLoading:true}).apply(e);break}case"import":throw new Error("Chunk Loading via import() is not implemented yet");case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${t}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}e.exports=EnableChunkLoadingPlugin},99371:(e,t,n)=>{"use strict";const r=n(31669);const{RawSource:i,ReplaceSource:s}=n(48135);const a=n(36253);const c=n(63272);const u=n(54290);const l=r.deprecate(((e,t,n)=>e.getInitFragments(t,n)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const d=new Set(["javascript"]);class JavascriptGenerator extends a{getTypes(e){return d}getSize(e,t){const n=e.originalSource();if(!n){return 39}return n.size()}getConcatenationBailoutReason(e,t){if(!e.buildMeta||e.buildMeta.exportsType!=="namespace"||e.presentationalDependencies===undefined||!e.presentationalDependencies.some((e=>e instanceof u))){return"Module is not an ECMAScript module"}if(e.buildInfo&&e.buildInfo.moduleConcatenationBailout){return`Module uses ${e.buildInfo.moduleConcatenationBailout}`}}generate(e,t){const n=e.originalSource();if(!n){return new i("throw new Error('No source available');")}const r=new s(n);const a=[];this.sourceModule(e,a,r,t);return c.addToSource(r,a,t)}sourceModule(e,t,n,r){for(const i of e.dependencies){this.sourceDependency(e,i,t,n,r)}if(e.presentationalDependencies!==undefined){for(const i of e.presentationalDependencies){this.sourceDependency(e,i,t,n,r)}}for(const i of e.blocks){this.sourceBlock(e,i,t,n,r)}}sourceBlock(e,t,n,r,i){for(const s of t.dependencies){this.sourceDependency(e,s,n,r,i)}for(const s of t.blocks){this.sourceBlock(e,s,n,r,i)}}sourceDependency(e,t,n,r,i){const s=t.constructor;const a=i.dependencyTemplates.get(s);if(!a){throw new Error("No template for dependency: "+t.constructor.name)}const c={runtimeTemplate:i.runtimeTemplate,dependencyTemplates:i.dependencyTemplates,moduleGraph:i.moduleGraph,chunkGraph:i.chunkGraph,module:e,runtime:i.runtime,runtimeRequirements:i.runtimeRequirements,concatenationScope:i.concatenationScope,initFragments:n};a.apply(t,r,c);if("getInitFragments"in a){const e=l(a,t,c);if(e){for(const t of e){n.push(t)}}}}}e.exports=JavascriptGenerator},18161:(e,t,n)=>{"use strict";const{SyncWaterfallHook:r,SyncHook:i,SyncBailHook:s}=n(92960);const{ConcatSource:a,OriginalSource:c,PrefixSource:u,RawSource:l,CachedSource:d}=n(48135);const p=n(3080);const{tryRunOrWebpackError:h}=n(3728);const m=n(22352);const g=n(76150);const y=n(58159);const{last:_,someInIterable:b}=n(11539);const x=n(14146);const{compareModulesByIdentifier:k}=n(68673);const E=n(35891);const{intersectRuntime:w}=n(37416);const S=n(99371);const C=n(3711);const chunkHasJs=(e,t)=>{if(t.getNumberOfEntryModules(e)>0)return true;return t.getChunkModulesIterableBySourceType(e,"javascript")?true:false};const M=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(e){if(!(e instanceof p)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=M.get(e);if(t===undefined){t={renderModuleContent:new r(["source","module","renderContext"]),renderModuleContainer:new r(["source","module","renderContext"]),renderModulePackage:new r(["source","module","renderContext"]),render:new r(["source","renderContext"]),renderStartup:new r(["source","module","startupRenderContext"]),renderChunk:new r(["source","renderContext"]),renderMain:new r(["source","renderContext"]),renderRequire:new r(["code","renderContext"]),inlineInRuntimeBailout:new s(["module","renderContext"]),embedInRuntimeBailout:new s(["module","renderContext"]),strictRuntimeBailout:new s(["renderContext"]),chunkHash:new i(["chunk","hash","context"]),useSourceMap:new s(["chunk","renderContext"])};M.set(e,t)}return t}constructor(e={}){this.options=e;this._moduleFactoryCache=new WeakMap}apply(e){e.hooks.compilation.tap("JavascriptModulesPlugin",((e,{normalModuleFactory:t})=>{const n=JavascriptModulesPlugin.getCompilationHooks(e);t.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(e=>new C("auto")));t.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(e=>new C("script")));t.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(e=>new C("module")));t.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new S));t.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new S));t.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new S));e.hooks.renderManifest.tap("JavascriptModulesPlugin",((t,r)=>{const{hash:i,chunk:s,chunkGraph:a,moduleGraph:c,runtimeTemplate:u,dependencyTemplates:l,outputOptions:d,codeGenerationResults:p}=r;const h=s instanceof m?s:null;let g;const y=JavascriptModulesPlugin.getChunkFilenameTemplate(s,d);if(h){g=()=>this.renderChunk({chunk:s,dependencyTemplates:l,runtimeTemplate:u,moduleGraph:c,chunkGraph:a,codeGenerationResults:p},n)}else if(s.hasRuntime()){g=()=>this.renderMain({hash:i,chunk:s,dependencyTemplates:l,runtimeTemplate:u,moduleGraph:c,chunkGraph:a,codeGenerationResults:p},n,e)}else{if(!chunkHasJs(s,a)){return t}g=()=>this.renderChunk({chunk:s,dependencyTemplates:l,runtimeTemplate:u,moduleGraph:c,chunkGraph:a,codeGenerationResults:p},n)}t.push({render:g,filenameTemplate:y,pathOptions:{hash:i,runtime:s.runtime,chunk:s,contentHashType:"javascript"},info:{javascriptModule:e.runtimeTemplate.isModule()},identifier:h?`hotupdatechunk${s.id}`:`chunk${s.id}`,hash:s.contentHash.javascript});return t}));e.hooks.chunkHash.tap("JavascriptModulesPlugin",((e,t,r)=>{n.chunkHash.call(e,t,r);if(e.hasRuntime()){this.updateHashWithBootstrap(t,{hash:"0000",chunk:e,chunkGraph:r.chunkGraph,moduleGraph:r.moduleGraph,runtimeTemplate:r.runtimeTemplate},n)}}));e.hooks.contentHash.tap("JavascriptModulesPlugin",(t=>{const{chunkGraph:r,moduleGraph:i,runtimeTemplate:s,outputOptions:{hashSalt:a,hashDigest:c,hashDigestLength:u,hashFunction:l}}=e;const d=E(l);if(a)d.update(a);if(t.hasRuntime()){this.updateHashWithBootstrap(d,{hash:"0000",chunk:t,chunkGraph:e.chunkGraph,moduleGraph:e.moduleGraph,runtimeTemplate:e.runtimeTemplate},n)}else{d.update(`${t.id} `);d.update(t.ids?t.ids.join(","):"")}n.chunkHash.call(t,d,{chunkGraph:r,moduleGraph:i,runtimeTemplate:s});const p=r.getChunkModulesIterableBySourceType(t,"javascript");if(p){const e=new x;for(const n of p){e.add(r.getModuleHash(n,t.runtime))}e.updateHash(d)}const h=r.getChunkModulesIterableBySourceType(t,"runtime");if(h){const e=new x;for(const n of h){e.add(r.getModuleHash(n,t.runtime))}e.updateHash(d)}const m=d.digest(c);t.contentHash.javascript=m.substr(0,u)}));e.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((t,n)=>{if(!n.has(g.startupNoDefault)&&e.chunkGraph.hasChunkEntryDependentChunks(t)){n.add(g.onChunksLoaded);n.add(g.require)}}))}))}static getChunkFilenameTemplate(e,t){if(e.filenameTemplate){return e.filenameTemplate}else if(e instanceof m){return t.hotUpdateChunkFilename}else if(e.canBeInitial()){return t.filename}else{return t.chunkFilename}}renderModule(e,t,n,r){const{chunk:i,chunkGraph:s,runtimeTemplate:c,codeGenerationResults:u}=t;try{const l=u.getSource(e,i.runtime,"javascript");if(!l)return null;const p=h((()=>n.renderModuleContent.call(l,e,t)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let m;if(r){const u=s.getModuleRuntimeRequirements(e,i.runtime);const l=u.has(g.module);const y=u.has(g.exports);const _=u.has(g.require)||u.has(g.requireScope);const b=u.has(g.thisAsExports);const x=e.buildInfo.strict&&r!=="strict";const k=this._moduleFactoryCache.get(p);let E;if(k&&k.needModule===l&&k.needExports===y&&k.needRequire===_&&k.needThisAsExports===b&&k.needStrict===x){E=k.source}else{const t=new a;const n=[];if(y||_||l)n.push(l?e.moduleArgument:"__unused_webpack_"+e.moduleArgument);if(y||_)n.push(y?e.exportsArgument:"__unused_webpack_"+e.exportsArgument);if(_)n.push("__webpack_require__");if(!b&&c.supportsArrowFunction()){t.add("/***/ (("+n.join(", ")+") => {\n\n")}else{t.add("/***/ (function("+n.join(", ")+") {\n\n")}if(x){t.add('"use strict";\n')}t.add(p);t.add("\n\n/***/ })");E=new d(t);this._moduleFactoryCache.set(p,{source:E,needModule:l,needExports:y,needRequire:_,needThisAsExports:b,needStrict:x})}m=h((()=>n.renderModuleContainer.call(E,e,t)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{m=p}return h((()=>n.renderModulePackage.call(m,e,t)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(t){t.module=e;throw t}}renderChunk(e,t){const{chunk:n,chunkGraph:r}=e;const i=r.getOrderedChunkModulesIterableBySourceType(n,"javascript",k);const s=y.renderChunkModules(e,i?Array.from(i):[],(n=>this.renderModule(n,e,t,true)))||new l("{}");let c=h((()=>t.renderChunk.call(s,e)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");c=h((()=>t.render.call(c,e)),"JavascriptModulesPlugin.getCompilationHooks().render");n.rendered=true;return new a(c,";")}renderMain(e,t,n){const{chunk:r,chunkGraph:i,runtimeTemplate:s}=e;const d=i.getTreeRuntimeRequirements(r);const p=s.isIIFE();const m=this.renderBootstrap(e,t);const b=t.useSourceMap.call(r,e);const x=Array.from(i.getOrderedChunkModulesIterableBySourceType(r,"javascript",k)||[]);let E;if(m.allowInlineStartup){E=new Set(i.getChunkEntryModulesIterable(r))}let w=new a;let S;if(p){if(s.supportsArrowFunction()){w.add("/******/ (() => { // webpackBootstrap\n")}else{w.add("/******/ (function() { // webpackBootstrap\n")}S="/******/ \t"}else{S="/******/ "}let C=false;if(x.every((e=>e.buildInfo.strict))){const n=t.strictRuntimeBailout.call(e);if(n){w.add(S+`// runtime can't be in strict mode because ${n}.\n`)}else{C=true;w.add(S+'"use strict";\n')}}const M=y.renderChunkModules(e,E?x.filter((e=>!E.has(e))):x,(n=>this.renderModule(n,e,t,C?"strict":true)),S);if(M||d.has(g.moduleFactories)||d.has(g.moduleFactoriesAddOnly)){w.add(S+"var __webpack_modules__ = (");w.add(M||"{}");w.add(");\n");w.add("/************************************************************************/\n")}if(m.header.length>0){const e=y.asString(m.header)+"\n";w.add(new u(S,b?new c(e,"webpack/bootstrap"):new l(e)));w.add("/************************************************************************/\n")}const I=e.chunkGraph.getChunkRuntimeModulesInOrder(r);if(I.length>0){w.add(new u(S,y.renderRuntimeModules(I,e)));w.add("/************************************************************************/\n");for(const e of I){n.codeGeneratedModules.add(e)}}if(E){if(m.beforeStartup.length>0){const e=y.asString(m.beforeStartup)+"\n";w.add(new u(S,b?new c(e,"webpack/before-startup"):new l(e)))}const n=_(E);const p=new a;p.add(`var __webpack_exports__ = {};\n`);for(const a of E){const c=this.renderModule(a,e,t,false);if(c){const u=!C&&a.buildInfo.strict;const l=i.getModuleRuntimeRequirements(a,r.runtime);const d=l.has(g.exports);const h=d&&a.exportsArgument==="__webpack_exports__";let m=u?"it need to be in strict mode.":E.size>1?"it need to be isolated against other entry modules.":M?"it need to be isolated against other modules in the chunk.":d&&!h?`it uses a non-standard name for the exports (${a.exportsArgument}).`:t.embedInRuntimeBailout.call(a,e);let y;if(m!==undefined){p.add(`// This entry need to be wrapped in an IIFE because ${m}\n`);const e=s.supportsArrowFunction();if(e){p.add("(() => {\n");y="\n})();\n\n"}else{p.add("!function() {\n");y="\n}();\n"}if(u)p.add('"use strict";\n')}else{y="\n"}if(d){if(a!==n)p.add(`var ${a.exportsArgument} = {};\n`);else if(a.exportsArgument!=="__webpack_exports__")p.add(`var ${a.exportsArgument} = __webpack_exports__;\n`)}p.add(c);p.add(y)}}if(d.has(g.onChunksLoaded)){p.add(`${g.onChunksLoaded}();\n`)}w.add(t.renderStartup.call(p,n,{...e,inlined:true}));if(m.afterStartup.length>0){const e=y.asString(m.afterStartup)+"\n";w.add(new u(S,b?new c(e,"webpack/after-startup"):new l(e)))}}else{const n=_(i.getChunkEntryModulesIterable(r));const s=b?(e,t)=>new c(y.asString(e),t):e=>new l(y.asString(e));w.add(new u(S,new a(s(m.beforeStartup,"webpack/before-startup"),"\n",t.renderStartup.call(s(m.startup.concat(""),"webpack/startup"),n,{...e,inlined:false}),s(m.afterStartup,"webpack/after-startup"),"\n")))}if(d.has(g.returnExportsFromRuntime)){w.add(`${S}return __webpack_exports__;\n`)}if(p){w.add("/******/ })()\n")}let P=h((()=>t.renderMain.call(w,e)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!P){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}P=h((()=>t.render.call(P,e)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!P){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}r.rendered=true;return p?new a(P,";"):P}updateHashWithBootstrap(e,t,n){const r=this.renderBootstrap(t,n);for(const t of Object.keys(r)){e.update(t);if(Array.isArray(r[t])){for(const n of r[t]){e.update(n)}}else{e.update(JSON.stringify(r[t]))}}}renderBootstrap(e,t){const{chunkGraph:n,moduleGraph:r,chunk:i,runtimeTemplate:s}=e;const a=n.getTreeRuntimeRequirements(i);const c=a.has(g.require);const u=a.has(g.moduleCache);const l=a.has(g.moduleFactories);const d=a.has(g.module);const p=a.has(g.requireScope);const h=a.has(g.interceptModuleExecution);const m=c||h||d;const _={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:x,startup:k,beforeStartup:E,afterStartup:S}=_;if(_.allowInlineStartup&&l){k.push("// module factories are used so entry inlining is disabled");_.allowInlineStartup=false}if(_.allowInlineStartup&&u){k.push("// module cache are used so entry inlining is disabled");_.allowInlineStartup=false}if(_.allowInlineStartup&&h){k.push("// module execution is intercepted so entry inlining is disabled");_.allowInlineStartup=false}if(m||u){x.push("// The module cache");x.push("var __webpack_module_cache__ = {};");x.push("")}if(m){x.push("// The require function");x.push(`function __webpack_require__(moduleId) {`);x.push(y.indent(this.renderRequire(e,t)));x.push("}");x.push("")}else if(a.has(g.requireScope)){x.push("// The require scope");x.push("var __webpack_require__ = {};");x.push("")}if(l||a.has(g.moduleFactoriesAddOnly)){x.push("// expose the modules object (__webpack_modules__)");x.push(`${g.moduleFactories} = __webpack_modules__;`);x.push("")}if(u){x.push("// expose the module cache");x.push(`${g.moduleCache} = __webpack_module_cache__;`);x.push("")}if(h){x.push("// expose the module execution interceptor");x.push(`${g.interceptModuleExecution} = [];`);x.push("")}if(!a.has(g.startupNoDefault)){if(n.getNumberOfEntryModules(i)>0){const a=[];const c=n.getTreeRuntimeRequirements(i);a.push("// Load entry module and return exports");let u=n.getNumberOfEntryModules(i);for(const[l,d]of n.getChunkEntryModulesWithChunkGroupIterable(i)){const h=d.chunks.filter((e=>e!==i));if(_.allowInlineStartup&&h.length>0){a.push("// This entry module depends on other loaded chunks and execution need to be delayed");_.allowInlineStartup=false}if(_.allowInlineStartup&&b(r.getIncomingConnectionsByOriginModule(l),(([e,t])=>e&&t.some((e=>e.isTargetActive(i.runtime)))&&b(n.getModuleRuntimes(e),(e=>w(e,i.runtime)!==undefined))))){a.push("// This entry module is referenced by other modules so it can't be inlined");_.allowInlineStartup=false}if(_.allowInlineStartup&&(!l.buildInfo||!l.buildInfo.topLevelDeclarations)){a.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");_.allowInlineStartup=false}if(_.allowInlineStartup){const n=t.inlineInRuntimeBailout.call(l,e);if(n!==undefined){a.push(`// This entry module can't be inlined because ${n}`);_.allowInlineStartup=false}}u--;const y=n.getModuleId(l);const x=n.getModuleRuntimeRequirements(l,i.runtime);let k=JSON.stringify(y);if(c.has(g.entryModuleId)){k=`${g.entryModuleId} = ${k}`}if(_.allowInlineStartup&&x.has(g.module)){_.allowInlineStartup=false;a.push("// This entry module used 'module' so it can't be inlined")}if(h.length>0){a.push(`${u===0?"var __webpack_exports__ = ":""}${g.onChunksLoaded}(undefined, ${JSON.stringify(h.map((e=>e.id)))}, ${s.returningFunction(`__webpack_require__(${k})`)})`)}else if(m){a.push(`${u===0?"var __webpack_exports__ = ":""}__webpack_require__(${k});`)}else{if(u===0)a.push("var __webpack_exports__ = {};");if(p){a.push(`__webpack_modules__[${k}](0, ${u===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(x.has(g.exports)){a.push(`__webpack_modules__[${k}](0, ${u===0?"__webpack_exports__":"{}"});`)}else{a.push(`__webpack_modules__[${k}]();`)}}}if(c.has(g.onChunksLoaded)){a.push(`__webpack_exports__ = ${g.onChunksLoaded}(__webpack_exports__);`)}if(c.has(g.startup)||c.has(g.startupOnlyBefore)&&c.has(g.startupOnlyAfter)){_.allowInlineStartup=false;x.push("// the startup function");x.push(`${g.startup} = ${s.basicFunction("",[...a,"return __webpack_exports__;"])};`);x.push("");k.push("// run startup");k.push(`var __webpack_exports__ = ${g.startup}();`)}else if(c.has(g.startupOnlyBefore)){x.push("// the startup function");x.push(`${g.startup} = ${s.emptyFunction()};`);E.push("// run runtime startup");E.push(`${g.startup}();`);k.push("// startup");k.push(y.asString(a))}else if(c.has(g.startupOnlyAfter)){x.push("// the startup function");x.push(`${g.startup} = ${s.emptyFunction()};`);k.push("// startup");k.push(y.asString(a));S.push("// run runtime startup");S.push(`${g.startup}();`)}else{k.push("// startup");k.push(y.asString(a))}}else if(a.has(g.startup)||a.has(g.startupOnlyBefore)||a.has(g.startupOnlyAfter)){x.push("// the startup function","// It's empty as no entry modules are in this chunk",`${g.startup} = ${s.emptyFunction()};`,"")}}else if(a.has(g.startup)||a.has(g.startupOnlyBefore)||a.has(g.startupOnlyAfter)){_.allowInlineStartup=false;x.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${g.startup} = ${s.emptyFunction()};`);k.push("// run startup");k.push(`var __webpack_exports__ = ${g.startup}();`)}return _}renderRequire(e,t){const{chunk:n,chunkGraph:r,runtimeTemplate:{outputOptions:i}}=e;const s=r.getTreeRuntimeRequirements(n);const a=s.has(g.interceptModuleExecution)?y.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${g.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):s.has(g.thisAsExports)?y.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):y.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const c=s.has(g.moduleId);const u=s.has(g.moduleLoaded);const l=y.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",i.strictModuleErrorHandling?y.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):y.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",y.indent([c?"id: moduleId,":"// no module.id needed",u?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",i.strictModuleExceptionHandling?y.asString(["// Execute the module function","var threw = true;","try {",y.indent([a,"threw = false;"]),"} finally {",y.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):i.strictModuleErrorHandling?y.asString(["// Execute the module function","try {",y.indent(a),"} catch(e) {",y.indent(["module.error = e;","throw e;"]),"}"]):y.asString(["// Execute the module function",a]),u?y.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return h((()=>t.renderRequire.call(l,e)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}e.exports=JavascriptModulesPlugin;e.exports.chunkHasJs=chunkHasJs},3711:(e,t,n)=>{"use strict";const{Parser:r}=n(14150);const{SyncBailHook:i,HookMap:s}=n(92960);const a=n(92184);const c=n(2172);const u=n(80371);const l=n(31017);const d=n(91671);const p=n(87250);const h=[];const m=1;const g=2;const y=3;const _=r;class VariableInfo{constructor(e,t,n){this.declaredScope=e;this.freeName=t;this.tagInfo=n}}const joinRanges=(e,t)=>{if(!t)return e;if(!e)return t;return[e[0],t[1]]};const objectAndMembersToName=(e,t)=>{let n=e;for(let e=t.length-1;e>=0;e--){n=n+"."+t[e]}return n};const getRootName=e=>{switch(e.type){case"Identifier":return e.name;case"ThisExpression":return"this";case"MetaProperty":return`${e.meta.name}.${e.property.name}`;default:return undefined}};const b={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowAwaitOutsideFunction:true,onComment:null};const x=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const k={options:null,errors:null};class JavascriptParser extends c{constructor(e="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new s((()=>new i(["expression"]))),evaluate:new s((()=>new i(["expression"]))),evaluateIdentifier:new s((()=>new i(["expression"]))),evaluateDefinedIdentifier:new s((()=>new i(["expression"]))),evaluateCallExpressionMember:new s((()=>new i(["expression","param"]))),isPure:new s((()=>new i(["expression","commentsStartPosition"]))),preStatement:new i(["statement"]),blockPreStatement:new i(["declaration"]),statement:new i(["statement"]),statementIf:new i(["statement"]),classExtendsExpression:new i(["expression","statement"]),classBodyElement:new i(["element","statement"]),label:new s((()=>new i(["statement"]))),import:new i(["statement","source"]),importSpecifier:new i(["statement","source","exportName","identifierName"]),export:new i(["statement"]),exportImport:new i(["statement","source"]),exportDeclaration:new i(["statement","declaration"]),exportExpression:new i(["statement","declaration"]),exportSpecifier:new i(["statement","identifierName","exportName","index"]),exportImportSpecifier:new i(["statement","source","identifierName","exportName","index"]),preDeclarator:new i(["declarator","statement"]),declarator:new i(["declarator","statement"]),varDeclaration:new s((()=>new i(["declaration"]))),varDeclarationLet:new s((()=>new i(["declaration"]))),varDeclarationConst:new s((()=>new i(["declaration"]))),varDeclarationVar:new s((()=>new i(["declaration"]))),pattern:new s((()=>new i(["pattern"]))),canRename:new s((()=>new i(["initExpression"]))),rename:new s((()=>new i(["initExpression"]))),assign:new s((()=>new i(["expression"]))),assignMemberChain:new s((()=>new i(["expression","members"]))),typeof:new s((()=>new i(["expression"]))),importCall:new i(["expression"]),topLevelAwait:new i(["expression"]),call:new s((()=>new i(["expression"]))),callMemberChain:new s((()=>new i(["expression","members"]))),memberChainOfCallMemberChain:new s((()=>new i(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new s((()=>new i(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new i(["optionalChaining"]),new:new s((()=>new i(["expression"]))),expression:new s((()=>new i(["expression"]))),expressionMemberChain:new s((()=>new i(["expression","members"]))),unhandledExpressionMemberChain:new s((()=>new i(["expression","members"]))),expressionConditionalOperator:new i(["expression"]),expressionLogicalOperator:new i(["expression"]),program:new i(["ast","comments"]),finish:new i(["ast","comments"])});this.sourceType=e;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(e=>{const t=e;switch(typeof t.value){case"number":return(new p).setNumber(t.value).setRange(t.range);case"bigint":return(new p).setBigInt(t.value).setRange(t.range);case"string":return(new p).setString(t.value).setRange(t.range);case"boolean":return(new p).setBoolean(t.value).setRange(t.range)}if(t.value===null){return(new p).setNull().setRange(t.range)}if(t.value instanceof RegExp){return(new p).setRegExp(t.value).setRange(t.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(e=>{const t=e;const n=t.callee;if(n.type!=="Identifier"||n.name!=="RegExp"||t.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let r,i;const s=t.arguments[0];if(s){if(s.type==="SpreadElement")return;const e=this.evaluateExpression(s);if(!e)return;r=e.asString();if(!r)return}else{return(new p).setRegExp(new RegExp("")).setRange(t.range)}const a=t.arguments[1];if(a){if(a.type==="SpreadElement")return;const e=this.evaluateExpression(a);if(!e)return;if(!e.isUndefined()){i=e.asString();if(i===undefined||!p.isValidRegExpFlags(i))return}}return(new p).setRegExp(i?new RegExp(r,i):new RegExp(r)).setRange(t.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(e=>{const t=e;const n=this.evaluateExpression(t.left);if(!n)return;if(t.operator==="&&"){const e=n.asBool();if(e===false)return n.setRange(t.range);if(e!==true)return}else if(t.operator==="||"){const e=n.asBool();if(e===true)return n.setRange(t.range);if(e!==false)return}else if(t.operator==="??"){const e=n.asNullish();if(e===false)return n.setRange(t.range);if(e!==true)return}else return;const r=this.evaluateExpression(t.right);if(!r)return;if(n.couldHaveSideEffects())r.setSideEffects();return r.setRange(t.range)}));const valueAsExpression=(e,t,n)=>{switch(typeof e){case"boolean":return(new p).setBoolean(e).setSideEffects(n).setRange(t.range);case"number":return(new p).setNumber(e).setSideEffects(n).setRange(t.range);case"bigint":return(new p).setBigInt(e).setSideEffects(n).setRange(t.range);case"string":return(new p).setString(e).setSideEffects(n).setRange(t.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(e=>{const t=e;const handleConstOperation=e=>{const n=this.evaluateExpression(t.left);if(!n||!n.isCompileTimeValue())return;const r=this.evaluateExpression(t.right);if(!r||!r.isCompileTimeValue())return;const i=e(n.asCompileTimeValue(),r.asCompileTimeValue());return valueAsExpression(i,t,n.couldHaveSideEffects()||r.couldHaveSideEffects())};const isAlwaysDifferent=(e,t)=>e===true&&t===false||e===false&&t===true;const handleTemplateStringCompare=(e,t,n,r)=>{const getPrefix=e=>{let t="";for(const n of e){const e=n.asString();if(e!==undefined)t+=e;else break}return t};const getSuffix=e=>{let t="";for(let n=e.length-1;n>=0;n--){const r=e[n].asString();if(r!==undefined)t=r+t;else break}return t};const i=getPrefix(e.parts);const s=getPrefix(t.parts);const a=getSuffix(e.parts);const c=getSuffix(t.parts);const u=Math.min(i.length,s.length);const l=Math.min(a.length,c.length);if(i.slice(0,u)!==s.slice(0,u)||a.slice(-l)!==c.slice(-l)){return n.setBoolean(!r).setSideEffects(e.couldHaveSideEffects()||t.couldHaveSideEffects())}};const handleStrictEqualityComparison=e=>{const n=this.evaluateExpression(t.left);if(!n)return;const r=this.evaluateExpression(t.right);if(!r)return;const i=new p;i.setRange(t.range);const s=n.isCompileTimeValue();const a=r.isCompileTimeValue();if(s&&a){return i.setBoolean(e===(n.asCompileTimeValue()===r.asCompileTimeValue())).setSideEffects(n.couldHaveSideEffects()||r.couldHaveSideEffects())}if(n.isArray()&&r.isArray()){return i.setBoolean(!e).setSideEffects(n.couldHaveSideEffects()||r.couldHaveSideEffects())}if(n.isTemplateString()&&r.isTemplateString()){return handleTemplateStringCompare(n,r,i,e)}const c=n.isPrimitiveType();const u=r.isPrimitiveType();if(c===false&&(s||u===true)||u===false&&(a||c===true)||isAlwaysDifferent(n.asBool(),r.asBool())||isAlwaysDifferent(n.asNullish(),r.asNullish())){return i.setBoolean(!e).setSideEffects(n.couldHaveSideEffects()||r.couldHaveSideEffects())}};const handleAbstractEqualityComparison=e=>{const n=this.evaluateExpression(t.left);if(!n)return;const r=this.evaluateExpression(t.right);if(!r)return;const i=new p;i.setRange(t.range);const s=n.isCompileTimeValue();const a=r.isCompileTimeValue();if(s&&a){return i.setBoolean(e===(n.asCompileTimeValue()==r.asCompileTimeValue())).setSideEffects(n.couldHaveSideEffects()||r.couldHaveSideEffects())}if(n.isArray()&&r.isArray()){return i.setBoolean(!e).setSideEffects(n.couldHaveSideEffects()||r.couldHaveSideEffects())}if(n.isTemplateString()&&r.isTemplateString()){return handleTemplateStringCompare(n,r,i,e)}};if(t.operator==="+"){const e=this.evaluateExpression(t.left);if(!e)return;const n=this.evaluateExpression(t.right);if(!n)return;const r=new p;if(e.isString()){if(n.isString()){r.setString(e.string+n.string)}else if(n.isNumber()){r.setString(e.string+n.number)}else if(n.isWrapped()&&n.prefix&&n.prefix.isString()){r.setWrapped((new p).setString(e.string+n.prefix.string).setRange(joinRanges(e.range,n.prefix.range)),n.postfix,n.wrappedInnerExpressions)}else if(n.isWrapped()){r.setWrapped(e,n.postfix,n.wrappedInnerExpressions)}else{r.setWrapped(e,null,[n])}}else if(e.isNumber()){if(n.isString()){r.setString(e.number+n.string)}else if(n.isNumber()){r.setNumber(e.number+n.number)}else{return}}else if(e.isBigInt()){if(n.isBigInt()){r.setBigInt(e.bigint+n.bigint)}}else if(e.isWrapped()){if(e.postfix&&e.postfix.isString()&&n.isString()){r.setWrapped(e.prefix,(new p).setString(e.postfix.string+n.string).setRange(joinRanges(e.postfix.range,n.range)),e.wrappedInnerExpressions)}else if(e.postfix&&e.postfix.isString()&&n.isNumber()){r.setWrapped(e.prefix,(new p).setString(e.postfix.string+n.number).setRange(joinRanges(e.postfix.range,n.range)),e.wrappedInnerExpressions)}else if(n.isString()){r.setWrapped(e.prefix,n,e.wrappedInnerExpressions)}else if(n.isNumber()){r.setWrapped(e.prefix,(new p).setString(n.number+"").setRange(n.range),e.wrappedInnerExpressions)}else if(n.isWrapped()){r.setWrapped(e.prefix,n.postfix,e.wrappedInnerExpressions&&n.wrappedInnerExpressions&&e.wrappedInnerExpressions.concat(e.postfix?[e.postfix]:[]).concat(n.prefix?[n.prefix]:[]).concat(n.wrappedInnerExpressions))}else{r.setWrapped(e.prefix,null,e.wrappedInnerExpressions&&e.wrappedInnerExpressions.concat(e.postfix?[e.postfix,n]:[n]))}}else{if(n.isString()){r.setWrapped(null,n,[e])}else if(n.isWrapped()){r.setWrapped(null,n.postfix,n.wrappedInnerExpressions&&(n.prefix?[e,n.prefix]:[e]).concat(n.wrappedInnerExpressions))}else{return}}if(e.couldHaveSideEffects()||n.couldHaveSideEffects())r.setSideEffects();r.setRange(t.range);return r}else if(t.operator==="-"){return handleConstOperation(((e,t)=>e-t))}else if(t.operator==="*"){return handleConstOperation(((e,t)=>e*t))}else if(t.operator==="/"){return handleConstOperation(((e,t)=>e/t))}else if(t.operator==="**"){return handleConstOperation(((e,t)=>e**t))}else if(t.operator==="==="){return handleStrictEqualityComparison(true)}else if(t.operator==="=="){return handleAbstractEqualityComparison(true)}else if(t.operator==="!=="){return handleStrictEqualityComparison(false)}else if(t.operator==="!="){return handleAbstractEqualityComparison(false)}else if(t.operator==="&"){return handleConstOperation(((e,t)=>e&t))}else if(t.operator==="|"){return handleConstOperation(((e,t)=>e|t))}else if(t.operator==="^"){return handleConstOperation(((e,t)=>e^t))}else if(t.operator===">>>"){return handleConstOperation(((e,t)=>e>>>t))}else if(t.operator===">>"){return handleConstOperation(((e,t)=>e>>t))}else if(t.operator==="<<"){return handleConstOperation(((e,t)=>e<e"){return handleConstOperation(((e,t)=>e>t))}else if(t.operator==="<="){return handleConstOperation(((e,t)=>e<=t))}else if(t.operator===">="){return handleConstOperation(((e,t)=>e>=t))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(e=>{const t=e;const handleConstOperation=e=>{const n=this.evaluateExpression(t.argument);if(!n||!n.isCompileTimeValue())return;const r=e(n.asCompileTimeValue());return valueAsExpression(r,t,n.couldHaveSideEffects())};if(t.operator==="typeof"){switch(t.argument.type){case"Identifier":{const e=this.callHooksForName(this.hooks.evaluateTypeof,t.argument.name,t);if(e!==undefined)return e;break}case"MetaProperty":{const e=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(t.argument),t);if(e!==undefined)return e;break}case"MemberExpression":{const e=this.callHooksForExpression(this.hooks.evaluateTypeof,t.argument,t);if(e!==undefined)return e;break}case"ChainExpression":{const e=this.callHooksForExpression(this.hooks.evaluateTypeof,t.argument.expression,t);if(e!==undefined)return e;break}case"FunctionExpression":{return(new p).setString("function").setRange(t.range)}}const e=this.evaluateExpression(t.argument);if(e.isUnknown())return;if(e.isString()){return(new p).setString("string").setRange(t.range)}if(e.isWrapped()){return(new p).setString("string").setSideEffects().setRange(t.range)}if(e.isUndefined()){return(new p).setString("undefined").setRange(t.range)}if(e.isNumber()){return(new p).setString("number").setRange(t.range)}if(e.isBigInt()){return(new p).setString("bigint").setRange(t.range)}if(e.isBoolean()){return(new p).setString("boolean").setRange(t.range)}if(e.isConstArray()||e.isRegExp()||e.isNull()){return(new p).setString("object").setRange(t.range)}if(e.isArray()){return(new p).setString("object").setSideEffects(e.couldHaveSideEffects()).setRange(t.range)}}else if(t.operator==="!"){const e=this.evaluateExpression(t.argument);if(!e)return;const n=e.asBool();if(typeof n!=="boolean")return;return(new p).setBoolean(!n).setSideEffects(e.couldHaveSideEffects()).setRange(t.range)}else if(t.operator==="~"){return handleConstOperation((e=>~e))}else if(t.operator==="+"){return handleConstOperation((e=>+e))}else if(t.operator==="-"){return handleConstOperation((e=>-e))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(e=>(new p).setString("undefined").setRange(e.range)));const tapEvaluateWithVariableInfo=(e,t)=>{let n=undefined;let r=undefined;this.hooks.evaluate.for(e).tap("JavascriptParser",(e=>{const i=e;const s=t(e);if(s!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,s.name,(e=>{n=i;r=s}),(e=>{const t=this.hooks.evaluateDefinedIdentifier.get(e);if(t!==undefined){return t.call(i)}}),i)}}));this.hooks.evaluate.for(e).tap({name:"JavascriptParser",stage:100},(e=>{const i=n===e?r:t(e);if(i!==undefined){return(new p).setIdentifier(i.name,i.rootInfo,i.getMembers).setRange(e.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{n=r=undefined}))};tapEvaluateWithVariableInfo("Identifier",(e=>{const t=this.getVariableInfo(e.name);if(typeof t==="string"||t instanceof VariableInfo&&typeof t.freeName==="string"){return{name:t,rootInfo:t,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(e=>{const t=this.getVariableInfo("this");if(typeof t==="string"||t instanceof VariableInfo&&typeof t.freeName==="string"){return{name:t,rootInfo:t,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(e=>{const t=e;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(e),t)}));tapEvaluateWithVariableInfo("MemberExpression",(e=>this.getMemberExpressionInfo(e,g)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(e=>{const t=e;if(t.callee.type!=="MemberExpression"||t.callee.property.type!==(t.callee.computed?"Literal":"Identifier")){return}const n=this.evaluateExpression(t.callee.object);if(!n)return;const r=t.callee.property.type==="Literal"?`${t.callee.property.value}`:t.callee.property.name;const i=this.hooks.evaluateCallExpressionMember.get(r);if(i!==undefined){return i.call(t,n)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((e,t)=>{if(!t.isString())return;if(e.arguments.length===0)return;const[n,r]=e.arguments;if(n.type==="SpreadElement")return;const i=this.evaluateExpression(n);if(!i.isString())return;const s=i.string;let a;if(r){if(r.type==="SpreadElement")return;const e=this.evaluateExpression(r);if(!e.isNumber())return;a=t.string.indexOf(s,e.number)}else{a=t.string.indexOf(s)}return(new p).setNumber(a).setSideEffects(t.couldHaveSideEffects()).setRange(e.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((e,t)=>{if(!t.isString())return;if(e.arguments.length!==2)return;if(e.arguments[0].type==="SpreadElement")return;if(e.arguments[1].type==="SpreadElement")return;let n=this.evaluateExpression(e.arguments[0]);let r=this.evaluateExpression(e.arguments[1]);if(!n.isString()&&!n.isRegExp())return;const i=n.regExp||n.string;if(!r.isString())return;const s=r.string;return(new p).setString(t.string.replace(i,s)).setSideEffects(t.couldHaveSideEffects()).setRange(e.range)}));["substr","substring","slice"].forEach((e=>{this.hooks.evaluateCallExpressionMember.for(e).tap("JavascriptParser",((t,n)=>{if(!n.isString())return;let r;let i,s=n.string;switch(t.arguments.length){case 1:if(t.arguments[0].type==="SpreadElement")return;r=this.evaluateExpression(t.arguments[0]);if(!r.isNumber())return;i=s[e](r.number);break;case 2:{if(t.arguments[0].type==="SpreadElement")return;if(t.arguments[1].type==="SpreadElement")return;r=this.evaluateExpression(t.arguments[0]);const n=this.evaluateExpression(t.arguments[1]);if(!r.isNumber())return;if(!n.isNumber())return;i=s[e](r.number,n.number);break}default:return}return(new p).setString(i).setSideEffects(n.couldHaveSideEffects()).setRange(t.range)}))}));const getSimplifiedTemplateResult=(e,t)=>{const n=[];const r=[];for(let i=0;i0){const e=r[r.length-1];const n=this.evaluateExpression(t.expressions[i-1]);const c=n.asString();if(typeof c==="string"&&!n.couldHaveSideEffects()){e.setString(e.string+c+a);e.setRange([e.range[0],s.range[1]]);e.setExpression(undefined);continue}r.push(n)}const c=(new p).setString(a).setRange(s.range).setExpression(s);n.push(c);r.push(c)}return{quasis:n,parts:r}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(e=>{const t=e;const{quasis:n,parts:r}=getSimplifiedTemplateResult("cooked",t);if(r.length===1){return r[0].setRange(t.range)}return(new p).setTemplateString(n,r,"cooked").setRange(t.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(e=>{const t=e;const n=this.evaluateExpression(t.tag);if(n.isIdentifier()&&n.identifier!=="String.raw")return;const{quasis:r,parts:i}=getSimplifiedTemplateResult("raw",t.quasi);return(new p).setTemplateString(r,i,"raw").setRange(t.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((e,t)=>{if(!t.isString()&&!t.isWrapped())return;let n=null;let r=false;const i=[];for(let t=e.arguments.length-1;t>=0;t--){const s=e.arguments[t];if(s.type==="SpreadElement")return;const a=this.evaluateExpression(s);if(r||!a.isString()&&!a.isNumber()){r=true;i.push(a);continue}const c=a.isString()?a.string:""+a.number;const u=c+(n?n.string:"");const l=[a.range[0],(n||a).range[1]];n=(new p).setString(u).setSideEffects(n&&n.couldHaveSideEffects()||a.couldHaveSideEffects()).setRange(l)}if(r){const r=t.isString()?t:t.prefix;const s=t.isWrapped()&&t.wrappedInnerExpressions?t.wrappedInnerExpressions.concat(i.reverse()):i.reverse();return(new p).setWrapped(r,n,s).setRange(e.range)}else if(t.isWrapped()){const r=n||t.postfix;const s=t.wrappedInnerExpressions?t.wrappedInnerExpressions.concat(i.reverse()):i.reverse();return(new p).setWrapped(t.prefix,r,s).setRange(e.range)}else{const r=t.string+(n?n.string:"");return(new p).setString(r).setSideEffects(n&&n.couldHaveSideEffects()||t.couldHaveSideEffects()).setRange(e.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((e,t)=>{if(!t.isString())return;if(e.arguments.length!==1)return;if(e.arguments[0].type==="SpreadElement")return;let n;const r=this.evaluateExpression(e.arguments[0]);if(r.isString()){n=t.string.split(r.string)}else if(r.isRegExp()){n=t.string.split(r.regExp)}else{return}return(new p).setArray(n).setSideEffects(t.couldHaveSideEffects()).setRange(e.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(e=>{const t=e;const n=this.evaluateExpression(t.test);const r=n.asBool();let i;if(r===undefined){const e=this.evaluateExpression(t.consequent);const n=this.evaluateExpression(t.alternate);if(!e||!n)return;i=new p;if(e.isConditional()){i.setOptions(e.options)}else{i.setOptions([e])}if(n.isConditional()){i.addOptions(n.options)}else{i.addOptions([n])}}else{i=this.evaluateExpression(r?t.consequent:t.alternate);if(n.couldHaveSideEffects())i.setSideEffects()}i.setRange(t.range);return i}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(e=>{const t=e;const n=t.elements.map((e=>e!==null&&e.type!=="SpreadElement"&&this.evaluateExpression(e)));if(!n.every(Boolean))return;return(new p).setItems(n).setRange(t.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(e=>{const t=e;const n=[];let r=t.expression;while(r.type==="MemberExpression"||r.type==="CallExpression"){if(r.type==="MemberExpression"){if(r.optional){n.push(r.object)}r=r.object}else{if(r.optional){n.push(r.callee)}r=r.callee}}while(n.length>0){const t=n.pop();const r=this.evaluateExpression(t);if(r&&r.asNullish()){return r.setRange(e.range)}}return this.evaluateExpression(t.expression)}))}getRenameIdentifier(e){const t=this.evaluateExpression(e);if(t&&t.isIdentifier()){return t.identifier}}walkClass(e){if(e.superClass){if(!this.hooks.classExtendsExpression.call(e.superClass,e)){this.walkExpression(e.superClass)}}if(e.body&&e.body.type==="ClassBody"){const t=this.scope.topLevelScope;for(const n of e.body.body){if(!this.hooks.classBodyElement.call(n,e)){if(n.type==="MethodDefinition"){this.scope.topLevelScope=false;this.walkMethodDefinition(n);this.scope.topLevelScope=t}}}}}walkMethodDefinition(e){if(e.computed&&e.key){this.walkExpression(e.key)}if(e.value){this.walkExpression(e.value)}}preWalkStatements(e){for(let t=0,n=e.length;t{const t=e.body;const n=this.prevStatement;this.blockPreWalkStatements(t);this.prevStatement=n;this.walkStatements(t)}))}walkExpressionStatement(e){this.walkExpression(e.expression)}preWalkIfStatement(e){this.preWalkStatement(e.consequent);if(e.alternate){this.preWalkStatement(e.alternate)}}walkIfStatement(e){const t=this.hooks.statementIf.call(e);if(t===undefined){this.walkExpression(e.test);this.walkNestedStatement(e.consequent);if(e.alternate){this.walkNestedStatement(e.alternate)}}else{if(t){this.walkNestedStatement(e.consequent)}else if(e.alternate){this.walkNestedStatement(e.alternate)}}}preWalkLabeledStatement(e){this.preWalkStatement(e.body)}walkLabeledStatement(e){const t=this.hooks.label.get(e.label.name);if(t!==undefined){const n=t.call(e);if(n===true)return}this.walkNestedStatement(e.body)}preWalkWithStatement(e){this.preWalkStatement(e.body)}walkWithStatement(e){this.walkExpression(e.object);this.walkNestedStatement(e.body)}preWalkSwitchStatement(e){this.preWalkSwitchCases(e.cases)}walkSwitchStatement(e){this.walkExpression(e.discriminant);this.walkSwitchCases(e.cases)}walkTerminatingStatement(e){if(e.argument)this.walkExpression(e.argument)}walkReturnStatement(e){this.walkTerminatingStatement(e)}walkThrowStatement(e){this.walkTerminatingStatement(e)}preWalkTryStatement(e){this.preWalkStatement(e.block);if(e.handler)this.preWalkCatchClause(e.handler);if(e.finializer)this.preWalkStatement(e.finializer)}walkTryStatement(e){if(this.scope.inTry){this.walkStatement(e.block)}else{this.scope.inTry=true;this.walkStatement(e.block);this.scope.inTry=false}if(e.handler)this.walkCatchClause(e.handler);if(e.finalizer)this.walkStatement(e.finalizer)}preWalkWhileStatement(e){this.preWalkStatement(e.body)}walkWhileStatement(e){this.walkExpression(e.test);this.walkNestedStatement(e.body)}preWalkDoWhileStatement(e){this.preWalkStatement(e.body)}walkDoWhileStatement(e){this.walkNestedStatement(e.body);this.walkExpression(e.test)}preWalkForStatement(e){if(e.init){if(e.init.type==="VariableDeclaration"){this.preWalkStatement(e.init)}}this.preWalkStatement(e.body)}walkForStatement(e){this.inBlockScope((()=>{if(e.init){if(e.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(e.init);this.prevStatement=undefined;this.walkStatement(e.init)}else{this.walkExpression(e.init)}}if(e.test){this.walkExpression(e.test)}if(e.update){this.walkExpression(e.update)}const t=e.body;if(t.type==="BlockStatement"){const e=this.prevStatement;this.blockPreWalkStatements(t.body);this.prevStatement=e;this.walkStatements(t.body)}else{this.walkNestedStatement(t)}}))}preWalkForInStatement(e){if(e.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(e.left)}this.preWalkStatement(e.body)}walkForInStatement(e){this.inBlockScope((()=>{if(e.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(e.left);this.walkVariableDeclaration(e.left)}else{this.walkPattern(e.left)}this.walkExpression(e.right);const t=e.body;if(t.type==="BlockStatement"){const e=this.prevStatement;this.blockPreWalkStatements(t.body);this.prevStatement=e;this.walkStatements(t.body)}else{this.walkNestedStatement(t)}}))}preWalkForOfStatement(e){if(e.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(e)}if(e.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(e.left)}this.preWalkStatement(e.body)}walkForOfStatement(e){this.inBlockScope((()=>{if(e.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(e.left);this.walkVariableDeclaration(e.left)}else{this.walkPattern(e.left)}this.walkExpression(e.right);const t=e.body;if(t.type==="BlockStatement"){const e=this.prevStatement;this.blockPreWalkStatements(t.body);this.prevStatement=e;this.walkStatements(t.body)}else{this.walkNestedStatement(t)}}))}preWalkFunctionDeclaration(e){if(e.id){this.defineVariable(e.id.name)}}walkFunctionDeclaration(e){const t=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,e.params,(()=>{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);const t=this.prevStatement;this.preWalkStatement(e.body);this.prevStatement=t;this.walkStatement(e.body)}else{this.walkExpression(e.body)}}));this.scope.topLevelScope=t}blockPreWalkImportDeclaration(e){const t=e.source.value;this.hooks.import.call(e,t);for(const n of e.specifiers){const r=n.local.name;switch(n.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(e,t,"default",r)){this.defineVariable(r)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(e,t,n.imported.name,r)){this.defineVariable(r)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(e,t,null,r)){this.defineVariable(r)}break;default:this.defineVariable(r)}}}enterDeclaration(e,t){switch(e.type){case"VariableDeclaration":for(const n of e.declarations){switch(n.type){case"VariableDeclarator":{this.enterPattern(n.id,t);break}}}break;case"FunctionDeclaration":this.enterPattern(e.id,t);break;case"ClassDeclaration":this.enterPattern(e.id,t);break}}blockPreWalkExportNamedDeclaration(e){let t;if(e.source){t=e.source.value;this.hooks.exportImport.call(e,t)}else{this.hooks.export.call(e)}if(e.declaration){if(!this.hooks.exportDeclaration.call(e,e.declaration)){const t=this.prevStatement;this.preWalkStatement(e.declaration);this.prevStatement=t;this.blockPreWalkStatement(e.declaration);let n=0;this.enterDeclaration(e.declaration,(t=>{this.hooks.exportSpecifier.call(e,t,t,n++)}))}}if(e.specifiers){for(let n=0;n{let r=t.get(e);if(r===undefined||!r.call(n)){r=this.hooks.varDeclaration.get(e);if(r===undefined||!r.call(n)){this.defineVariable(e)}}}))}break}}}}walkVariableDeclaration(e){for(const t of e.declarations){switch(t.type){case"VariableDeclarator":{const n=t.init&&this.getRenameIdentifier(t.init);if(n&&t.id.type==="Identifier"){const e=this.hooks.canRename.get(n);if(e!==undefined&&e.call(t.init)){const e=this.hooks.rename.get(n);if(e===undefined||!e.call(t.init)){this.setVariable(t.id.name,n)}break}}if(!this.hooks.declarator.call(t,e)){this.walkPattern(t.id);if(t.init)this.walkExpression(t.init)}break}}}}blockPreWalkClassDeclaration(e){if(e.id){this.defineVariable(e.id.name)}}walkClassDeclaration(e){this.walkClass(e)}preWalkSwitchCases(e){for(let t=0,n=e.length;t{const t=e.length;for(let n=0;n0){const e=this.prevStatement;this.blockPreWalkStatements(t.consequent);this.prevStatement=e}}for(let n=0;n0){this.walkStatements(t.consequent)}}}))}preWalkCatchClause(e){this.preWalkStatement(e.body)}walkCatchClause(e){this.inBlockScope((()=>{if(e.param!==null){this.enterPattern(e.param,(e=>{this.defineVariable(e)}));this.walkPattern(e.param)}const t=this.prevStatement;this.blockPreWalkStatement(e.body);this.prevStatement=t;this.walkStatement(e.body)}))}walkPattern(e){switch(e.type){case"ArrayPattern":this.walkArrayPattern(e);break;case"AssignmentPattern":this.walkAssignmentPattern(e);break;case"MemberExpression":this.walkMemberExpression(e);break;case"ObjectPattern":this.walkObjectPattern(e);break;case"RestElement":this.walkRestElement(e);break}}walkAssignmentPattern(e){this.walkExpression(e.right);this.walkPattern(e.left)}walkObjectPattern(e){for(let t=0,n=e.properties.length;t{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);const t=this.prevStatement;this.preWalkStatement(e.body);this.prevStatement=t;this.walkStatement(e.body)}else{this.walkExpression(e.body)}}));this.scope.topLevelScope=t}walkArrowFunctionExpression(e){const t=this.scope.topLevelScope;this.scope.topLevelScope=t?"arrow":false;this.inFunctionScope(false,e.params,(()=>{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);const t=this.prevStatement;this.preWalkStatement(e.body);this.prevStatement=t;this.walkStatement(e.body)}else{this.walkExpression(e.body)}}));this.scope.topLevelScope=t}walkSequenceExpression(e){if(!e.expressions)return;const t=this.statementPath[this.statementPath.length-1];if(t===e||t.type==="ExpressionStatement"&&t.expression===e){const t=this.statementPath.pop();for(const t of e.expressions){this.statementPath.push(t);this.walkExpression(t);this.statementPath.pop()}this.statementPath.push(t)}else{this.walkExpressions(e.expressions)}}walkUpdateExpression(e){this.walkExpression(e.argument)}walkUnaryExpression(e){if(e.operator==="typeof"){const t=this.callHooksForExpression(this.hooks.typeof,e.argument,e);if(t===true)return;if(e.argument.type==="ChainExpression"){const t=this.callHooksForExpression(this.hooks.typeof,e.argument.expression,e);if(t===true)return}}this.walkExpression(e.argument)}walkLeftRightExpression(e){this.walkExpression(e.left);this.walkExpression(e.right)}walkBinaryExpression(e){this.walkLeftRightExpression(e)}walkLogicalExpression(e){const t=this.hooks.expressionLogicalOperator.call(e);if(t===undefined){this.walkLeftRightExpression(e)}else{if(t){this.walkExpression(e.right)}}}walkAssignmentExpression(e){if(e.left.type==="Identifier"){const t=this.getRenameIdentifier(e.right);if(t){if(this.callHooksForInfo(this.hooks.canRename,t,e.right)){if(!this.callHooksForInfo(this.hooks.rename,t,e.right)){this.setVariable(e.left.name,this.getVariableInfo(t))}return}}this.walkExpression(e.right);this.enterPattern(e.left,((t,n)=>{if(!this.callHooksForName(this.hooks.assign,t,e)){this.walkExpression(e.left)}}));return}if(e.left.type.endsWith("Pattern")){this.walkExpression(e.right);this.enterPattern(e.left,((t,n)=>{if(!this.callHooksForName(this.hooks.assign,t,e)){this.defineVariable(t)}}));this.walkPattern(e.left)}else if(e.left.type==="MemberExpression"){const t=this.getMemberExpressionInfo(e.left,g);if(t){if(this.callHooksForInfo(this.hooks.assignMemberChain,t.rootInfo,e,t.getMembers())){return}}this.walkExpression(e.right);this.walkExpression(e.left)}else{this.walkExpression(e.right);this.walkExpression(e.left)}}walkConditionalExpression(e){const t=this.hooks.expressionConditionalOperator.call(e);if(t===undefined){this.walkExpression(e.test);this.walkExpression(e.consequent);if(e.alternate){this.walkExpression(e.alternate)}}else{if(t){this.walkExpression(e.consequent)}else if(e.alternate){this.walkExpression(e.alternate)}}}walkNewExpression(e){const t=this.callHooksForExpression(this.hooks.new,e.callee,e);if(t===true)return;this.walkExpression(e.callee);if(e.arguments){this.walkExpressions(e.arguments)}}walkYieldExpression(e){if(e.argument){this.walkExpression(e.argument)}}walkTemplateLiteral(e){if(e.expressions){this.walkExpressions(e.expressions)}}walkTaggedTemplateExpression(e){if(e.tag){this.walkExpression(e.tag)}if(e.quasi&&e.quasi.expressions){this.walkExpressions(e.quasi.expressions)}}walkClassExpression(e){this.walkClass(e)}walkChainExpression(e){const t=this.hooks.optionalChaining.call(e);if(t===undefined){if(e.expression.type==="CallExpression"){this.walkCallExpression(e.expression)}else{this.walkMemberExpression(e.expression)}}}_walkIIFE(e,t,n){const getVarInfo=e=>{const t=this.getRenameIdentifier(e);if(t){if(this.callHooksForInfo(this.hooks.canRename,t,e)){if(!this.callHooksForInfo(this.hooks.rename,t,e)){return this.getVariableInfo(t)}}}this.walkExpression(e)};const{params:r,type:i}=e;const s=i==="ArrowFunctionExpression";const a=n?getVarInfo(n):null;const c=t.map(getVarInfo);const u=this.scope.topLevelScope;this.scope.topLevelScope=u&&s?"arrow":false;const l=r.filter(((e,t)=>!c[t]));if(e.id){l.push(e.id.name)}this.inFunctionScope(true,l,(()=>{if(a&&!s){this.setVariable("this",a)}for(let e=0;ee.params.every((e=>e.type==="Identifier"));if(e.callee.type==="MemberExpression"&&e.callee.object.type.endsWith("FunctionExpression")&&!e.callee.computed&&(e.callee.property.name==="call"||e.callee.property.name==="bind")&&e.arguments.length>0&&isSimpleFunction(e.callee.object)){this._walkIIFE(e.callee.object,e.arguments.slice(1),e.arguments[0])}else if(e.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(e.callee)){this._walkIIFE(e.callee,e.arguments,null)}else{if(e.callee.type==="MemberExpression"){const t=this.getMemberExpressionInfo(e.callee,m);if(t&&t.type==="call"){const n=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,t.rootInfo,e,t.getCalleeMembers(),t.call,t.getMembers());if(n===true)return}}const t=this.evaluateExpression(e.callee);if(t.isIdentifier()){const n=this.callHooksForInfo(this.hooks.callMemberChain,t.rootInfo,e,t.getMembers());if(n===true)return;const r=this.callHooksForInfo(this.hooks.call,t.identifier,e);if(r===true)return}if(e.callee){if(e.callee.type==="MemberExpression"){this.walkExpression(e.callee.object);if(e.callee.computed===true)this.walkExpression(e.callee.property)}else{this.walkExpression(e.callee)}}if(e.arguments)this.walkExpressions(e.arguments)}}walkMemberExpression(e){const t=this.getMemberExpressionInfo(e,y);if(t){switch(t.type){case"expression":{const n=this.callHooksForInfo(this.hooks.expression,t.name,e);if(n===true)return;const r=t.getMembers();const i=this.callHooksForInfo(this.hooks.expressionMemberChain,t.rootInfo,e,r);if(i===true)return;this.walkMemberExpressionWithExpressionName(e,t.name,t.rootInfo,r.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,t.rootInfo,e,r)));return}case"call":{const n=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,t.rootInfo,e,t.getCalleeMembers(),t.call,t.getMembers());if(n===true)return;this.walkExpression(t.call);return}}}this.walkExpression(e.object);if(e.computed===true)this.walkExpression(e.property)}walkMemberExpressionWithExpressionName(e,t,n,r,i){if(e.object.type==="MemberExpression"){const s=e.property.name||`${e.property.value}`;t=t.slice(0,-s.length-1);r.pop();const a=this.callHooksForInfo(this.hooks.expression,t,e.object);if(a===true)return;this.walkMemberExpressionWithExpressionName(e.object,t,n,r,i)}else if(!i||!i()){this.walkExpression(e.object)}if(e.computed===true)this.walkExpression(e.property)}walkThisExpression(e){this.callHooksForName(this.hooks.expression,"this",e)}walkIdentifier(e){this.callHooksForName(this.hooks.expression,e.name,e)}walkMetaProperty(e){this.hooks.expression.for(getRootName(e)).call(e)}callHooksForExpression(e,t,...n){return this.callHooksForExpressionWithFallback(e,t,undefined,undefined,...n)}callHooksForExpressionWithFallback(e,t,n,r,...i){const s=this.getMemberExpressionInfo(t,g);if(s!==undefined){const t=s.getMembers();return this.callHooksForInfoWithFallback(e,t.length===0?s.rootInfo:s.name,n&&(e=>n(e,s.rootInfo,s.getMembers)),r&&(()=>r(s.name)),...i)}}callHooksForName(e,t,...n){return this.callHooksForNameWithFallback(e,t,undefined,undefined,...n)}callHooksForInfo(e,t,...n){return this.callHooksForInfoWithFallback(e,t,undefined,undefined,...n)}callHooksForInfoWithFallback(e,t,n,r,...i){let s;if(typeof t==="string"){s=t}else{if(!(t instanceof VariableInfo)){if(r!==undefined){return r()}return}let n=t.tagInfo;while(n!==undefined){const t=e.get(n.tag);if(t!==undefined){this.currentTagData=n.data;const e=t.call(...i);this.currentTagData=undefined;if(e!==undefined)return e}n=n.next}if(t.freeName===true){if(r!==undefined){return r()}return}s=t.freeName}const a=e.get(s);if(a!==undefined){const e=a.call(...i);if(e!==undefined)return e}if(n!==undefined){return n(s)}}callHooksForNameWithFallback(e,t,n,r,...i){return this.callHooksForInfoWithFallback(e,this.getVariableInfo(t),n,r,...i)}inScope(e,t){const n=this.scope;this.scope={topLevelScope:n.topLevelScope,inTry:false,inShorthand:false,isStrict:n.isStrict,isAsmJs:n.isAsmJs,definitions:n.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(e,((e,t)=>{this.defineVariable(e)}));t();this.scope=n}inFunctionScope(e,t,n){const r=this.scope;this.scope={topLevelScope:r.topLevelScope,inTry:false,inShorthand:false,isStrict:r.isStrict,isAsmJs:r.isAsmJs,definitions:r.definitions.createChild()};if(e){this.undefineVariable("this")}this.enterPatterns(t,((e,t)=>{this.defineVariable(e)}));n();this.scope=r}inBlockScope(e){const t=this.scope;this.scope={topLevelScope:t.topLevelScope,inTry:t.inTry,inShorthand:false,isStrict:t.isStrict,isAsmJs:t.isAsmJs,definitions:t.definitions.createChild()};e();this.scope=t}detectMode(e){const t=e.length>=1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal";if(t&&e[0].expression.value==="use strict"){this.scope.isStrict=true}if(t&&e[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(e,t){for(const n of e){if(typeof n!=="string"){this.enterPattern(n,t)}else if(n){t(n)}}}enterPattern(e,t){if(!e)return;switch(e.type){case"ArrayPattern":this.enterArrayPattern(e,t);break;case"AssignmentPattern":this.enterAssignmentPattern(e,t);break;case"Identifier":this.enterIdentifier(e,t);break;case"ObjectPattern":this.enterObjectPattern(e,t);break;case"RestElement":this.enterRestElement(e,t);break;case"Property":if(e.shorthand&&e.value.type==="Identifier"){this.scope.inShorthand=e.value.name;this.enterIdentifier(e.value,t);this.scope.inShorthand=false}else{this.enterPattern(e.value,t)}break}}enterIdentifier(e,t){if(!this.callHooksForName(this.hooks.pattern,e.name,e)){t(e.name,e)}}enterObjectPattern(e,t){for(let n=0,r=e.properties.length;ni.add(e)})}const s=this.scope;const a=this.state;const c=this.comments;const l=this.semicolons;const d=this.statementPath;const p=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new u};this.state=t;this.comments=r;this.semicolons=i;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(n,r)===undefined){this.detectMode(n.body);this.preWalkStatements(n.body);this.prevStatement=undefined;this.blockPreWalkStatements(n.body);this.prevStatement=undefined;this.walkStatements(n.body)}this.hooks.finish.call(n,r);this.scope=s;this.state=a;this.comments=c;this.semicolons=l;this.statementPath=d;this.prevStatement=p;return t}evaluate(e){const t=JavascriptParser._parse("("+e+")",{sourceType:this.sourceType,locations:false});if(t.body.length!==1||t.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(t.body[0].expression)}isPure(e,t){if(!e)return true;const n=this.hooks.isPure.for(e.type).call(e,t);if(typeof n==="boolean")return n;switch(e.type){case"ClassDeclaration":case"ClassExpression":if(e.body.type!=="ClassBody")return false;if(e.superClass&&!this.isPure(e.superClass,e.range[0])){return false}return e.body.body.every((e=>{switch(e.type){case"ClassProperty":if(e.static)return this.isPure(e.value,e.range[0]);break}return true}));case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":return true;case"VariableDeclaration":return e.declarations.every((e=>this.isPure(e.init,e.range[0])));case"ConditionalExpression":return this.isPure(e.test,t)&&this.isPure(e.consequent,e.test.range[1])&&this.isPure(e.alternate,e.consequent.range[1]);case"SequenceExpression":return e.expressions.every((e=>{const n=this.isPure(e,t);t=e.range[1];return n}));case"CallExpression":{const n=e.range[0]-t>12&&this.getComments([t,e.range[0]]).some((e=>e.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(e.value)));if(!n)return false;t=e.callee.range[1];return e.arguments.every((e=>{if(e.type==="SpreadElement")return false;const n=this.isPure(e,t);t=e.range[1];return n}))}}const r=this.evaluateExpression(e);return!r.couldHaveSideEffects()}getComments(e){const[t,n]=e;const compare=(e,t)=>e.range[0]-t;let r=l.ge(this.comments,t,compare);let i=[];while(this.comments[r]&&this.comments[r].range[1]<=n){i.push(this.comments[r]);r++}return i}isAsiPosition(e){const t=this.statementPath[this.statementPath.length-1];if(t===undefined)throw new Error("Not in statement");return t.range[1]===e&&this.semicolons.has(e)||t.range[0]===e&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(e){this.semicolons.delete(e)}isStatementLevelExpression(e){const t=this.statementPath[this.statementPath.length-1];return e===t||t.type==="ExpressionStatement"&&t.expression===e}getTagData(e,t){const n=this.scope.definitions.get(e);if(n instanceof VariableInfo){let e=n.tagInfo;while(e!==undefined){if(e.tag===t)return e.data;e=e.next}}}tagVariable(e,t,n){const r=this.scope.definitions.get(e);let i;if(r===undefined){i=new VariableInfo(this.scope,e,{tag:t,data:n,next:undefined})}else if(r instanceof VariableInfo){i=new VariableInfo(r.declaredScope,r.freeName,{tag:t,data:n,next:r.tagInfo})}else{i=new VariableInfo(r,true,{tag:t,data:n,next:undefined})}this.scope.definitions.set(e,i)}defineVariable(e){const t=this.scope.definitions.get(e);if(t instanceof VariableInfo&&t.declaredScope===this.scope)return;this.scope.definitions.set(e,this.scope)}undefineVariable(e){this.scope.definitions.delete(e)}isVariableDefined(e){const t=this.scope.definitions.get(e);if(t===undefined)return false;if(t instanceof VariableInfo){return t.freeName===true}return true}getVariableInfo(e){const t=this.scope.definitions.get(e);if(t===undefined){return e}else{return t}}setVariable(e,t){if(typeof t==="string"){if(t===e){this.scope.definitions.delete(e)}else{this.scope.definitions.set(e,new VariableInfo(this.scope,t,undefined))}}else{this.scope.definitions.set(e,t)}}parseCommentOptions(e){const t=this.getComments(e);if(t.length===0){return k}let n={};let r=[];for(const e of t){const{value:t}=e;if(t&&x.test(t)){try{const e=a.runInNewContext(`(function(){return {${t}};})()`);Object.assign(n,e)}catch(t){t.comment=e;r.push(t)}}}return{options:n,errors:r}}extractMemberExpressionChain(e){let t=e;const n=[];while(t.type==="MemberExpression"){if(t.computed){if(t.property.type!=="Literal")break;n.push(`${t.property.value}`)}else{if(t.property.type!=="Identifier")break;n.push(t.property.name)}t=t.object}return{members:n,object:t}}getFreeInfoFromVariable(e){const t=this.getVariableInfo(e);let n;if(t instanceof VariableInfo){n=t.freeName;if(typeof n!=="string")return undefined}else if(typeof t!=="string"){return undefined}else{n=t}return{info:t,name:n}}getMemberExpressionInfo(e,t){const{object:n,members:r}=this.extractMemberExpressionChain(e);switch(n.type){case"CallExpression":{if((t&m)===0)return undefined;let e=n.callee;let i=h;if(e.type==="MemberExpression"){({object:e,members:i}=this.extractMemberExpressionChain(e))}const s=getRootName(e);if(!s)return undefined;const a=this.getFreeInfoFromVariable(s);if(!a)return undefined;const{info:c,name:u}=a;const l=objectAndMembersToName(u,i);return{type:"call",call:n,calleeName:l,rootInfo:c,getCalleeMembers:d((()=>i.reverse())),name:objectAndMembersToName(`${l}()`,r),getMembers:d((()=>r.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((t&g)===0)return undefined;const e=getRootName(n);if(!e)return undefined;const i=this.getFreeInfoFromVariable(e);if(!i)return undefined;const{info:s,name:a}=i;return{type:"expression",name:objectAndMembersToName(a,r),rootInfo:s,getMembers:d((()=>r.reverse()))}}}}getNameForExpression(e){return this.getMemberExpressionInfo(e,g)}static _parse(e,t){const n=t?t.sourceType:"module";const r={...b,allowReturnOutsideFunction:n==="script",...t,sourceType:n==="auto"?"module":n};let i;let s;let a=false;try{i=_.parse(e,r)}catch(e){s=e;a=true}if(a&&n==="auto"){r.sourceType="script";if(!("allowReturnOutsideFunction"in t)){r.allowReturnOutsideFunction=true}if(Array.isArray(r.onComment)){r.onComment.length=0}try{i=_.parse(e,r);a=false}catch(e){}}if(a){throw s}return i}}e.exports=JavascriptParser;e.exports.ALLOWED_MEMBER_TYPES_ALL=y;e.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=g;e.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=m},48472:(e,t,n)=>{"use strict";const r=n(53558);const i=n(66298);const s=n(87250);t.toConstantDependency=(e,t,n)=>function constDependency(r){const s=new i(t,r.range,n);s.loc=r.loc;e.state.module.addPresentationalDependency(s);return true};t.evaluateToString=e=>function stringExpression(t){return(new s).setString(e).setRange(t.range)};t.evaluateToNumber=e=>function stringExpression(t){return(new s).setNumber(e).setRange(t.range)};t.evaluateToBoolean=e=>function booleanExpression(t){return(new s).setBoolean(e).setRange(t.range)};t.evaluateToIdentifier=(e,t,n,r)=>function identifierExpression(i){let a=(new s).setIdentifier(e,t,n).setSideEffects(false).setRange(i.range);switch(r){case true:a.setTruthy();a.setNullish(false);break;case null:a.setFalsy();a.setNullish(true);break;case false:a.setFalsy();break}return a};t.expressionIsUnsupported=(e,t)=>function unsupportedExpression(n){const s=new i("(void 0)",n.range,null);s.loc=n.loc;e.state.module.addPresentationalDependency(s);if(!e.state.module)return;e.state.module.addWarning(new r(t,n.loc));return true};t.skipTraversal=()=>true;t.approve=()=>true},13085:(e,t,n)=>{"use strict";const r=n(71452);const i=n(76150);const s=n(58159);const{isSubset:a}=n(26221);const{chunkHasJs:c}=n(18161);const getAllChunks=(e,t,n)=>{const i=new Set([e]);const s=new Set;for(const e of i){for(const r of e.chunks){if(r===t)continue;if(r===n)continue;s.add(r)}for(const t of e.parentsIterable){if(t instanceof r)i.add(t)}}return s};const u="var __webpack_exports__ = ";t.generateEntryStartup=(e,t,n,r,c)=>{const l=[`var __webpack_exec__ = ${t.returningFunction(`__webpack_require__(${i.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=e=>`__webpack_exec__(${JSON.stringify(e)})`;const outputCombination=(e,n,r)=>{if(e.size===0){l.push(`${r?u:""}(${n.map(runModule).join(", ")});`)}else{const s=t.returningFunction(n.map(runModule).join(", "));l.push(`${r&&!c?u:""}${c?i.onChunksLoaded:i.startupEntrypoint}(0, ${JSON.stringify(Array.from(e,(e=>e.id)))}, ${s});`);if(r&&c){l.push(`${u}${i.onChunksLoaded}();`)}}};let d=undefined;let p=undefined;for(const[t,i]of n){const n=i.getRuntimeChunk();const s=e.getModuleId(t);const c=getAllChunks(i,r,n);if(d&&d.size===c.size&&a(d,c)){p.push(s)}else{if(d){outputCombination(d,p)}d=c;p=[s]}}if(d){outputCombination(d,p,true)}l.push("");return s.asString(l)};t.updateHashForEntryStartup=(e,t,n,r)=>{for(const[i,s]of n){const n=s.getRuntimeChunk();const a=t.getModuleId(i);e.update(`${a}`);for(const t of getAllChunks(s,r,n))e.update(`${t.id}`)}};t.getInitialChunkIds=(e,t)=>{const n=new Set(e.ids);for(const r of e.getAllInitialChunks()){if(r===e||c(r,t))continue;for(const e of r.ids)n.add(e)}return n}},79279:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(77294);const{UsageState:s}=n(76632);const a=n(36253);const c=n(76150);const stringifySafe=e=>{const t=JSON.stringify(e);if(!t){return undefined}return t.replace(/\u2028|\u2029/g,(e=>e==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(e,t,n)=>{if(t.otherExportsInfo.getUsed(n)!==s.Unused)return e;const r=Array.isArray(e);const i=r?[]:{};for(const r of Object.keys(e)){const a=t.getReadOnlyExportInfo(r);const c=a.getUsed(n);if(c===s.Unused)continue;let u;if(c===s.OnlyPropertiesUsed&&a.exportsInfo){u=createObjectForExportsInfo(e[r],a.exportsInfo,n)}else{u=e[r]}const l=a.getUsedName(r,n);i[l]=u}if(r){let r=t.getReadOnlyExportInfo("length").getUsed(n)!==s.Unused?e.length:undefined;let a=0;for(let e=0;e20&&typeof h==="object"?`JSON.parse('${m.replace(/[\\']/g,"\\$&")}')`:m;let y;if(l){y=`${n.supportsConst()?"const":"var"} ${i.NAMESPACE_OBJECT_EXPORT} = ${g};`;l.registerNamespaceExport(i.NAMESPACE_OBJECT_EXPORT)}else{a.add(c.module);y=`${e.moduleArgument}.exports = ${g};`}return new r(y)}}e.exports=JsonGenerator},9483:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(91671);const s=n(79279);const a=n(79232);const c=i((()=>n(18496)));class JsonModulesPlugin{apply(e){e.hooks.compilation.tap("JsonModulesPlugin",((e,{normalModuleFactory:t})=>{t.hooks.createParser.for("json").tap("JsonModulesPlugin",(e=>{r(c(),e,{name:"Json Modules Plugin",baseDataPath:"parser"});return new a(e)}));t.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new s))}))}}e.exports=JsonModulesPlugin},79232:(e,t,n)=>{"use strict";const r=n(78688);const i=n(2172);const s=n(38895);class JsonParser extends i{constructor(e){super();this.options=e||{}}parse(e,t){if(Buffer.isBuffer(e)){e=e.toString("utf-8")}const n=typeof this.options.parse==="function"?this.options.parse:r;const i=typeof e==="object"?e:n(e[0]==="\ufeff"?e.slice(1):e);t.module.buildInfo.jsonData=i;t.module.buildInfo.strict=true;t.module.buildMeta.exportsType="default";t.module.buildMeta.defaultObject=typeof i==="object"?"redirect-warn":false;t.module.addDependency(new s(s.getExportsFromData(i)));return t}}e.exports=JsonParser},9786:(e,t,n)=>{"use strict";const r=n(76150);const i=n(18161);const s="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:e,type:t}){this._pluginName=e;this._type=t;this._parseCache=new WeakMap}apply(e){const{_pluginName:t}=this;e.hooks.thisCompilation.tap(t,(e=>{e.hooks.finishModules.tap({name:t,stage:10},(()=>{for(const[t,{dependencies:n,options:{library:r}}]of e.entries){const i=this._parseOptionsCached(r!==undefined?r:e.outputOptions.library);if(i!==false){const r=n[n.length-1];if(r){const n=e.moduleGraph.getModule(r);if(n){this.finishEntryModule(n,t,{options:i,compilation:e})}}}}}));const getOptionsForChunk=t=>{if(e.chunkGraph.getNumberOfEntryModules(t)===0)return false;const n=t.getEntryOptions();const r=n&&n.library;return this._parseOptionsCached(r!==undefined?r:e.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){e.hooks.additionalChunkRuntimeRequirements.tap(t,((t,n)=>{const r=getOptionsForChunk(t);if(r!==false){this.runtimeRequirements(t,n,{options:r,compilation:e})}}))}const n=i.getCompilationHooks(e);if(this.render!==AbstractLibraryPlugin.prototype.render){n.render.tap(t,((t,n)=>{const r=getOptionsForChunk(n.chunk);if(r===false)return t;return this.render(t,n,{options:r,compilation:e})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){n.embedInRuntimeBailout.tap(t,((t,n)=>{const r=getOptionsForChunk(n.chunk);if(r===false)return;return this.embedInRuntimeBailout(t,n,{options:r,compilation:e})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){n.strictRuntimeBailout.tap(t,(t=>{const n=getOptionsForChunk(t.chunk);if(n===false)return;return this.strictRuntimeBailout(t,{options:n,compilation:e})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){n.renderStartup.tap(t,((t,n,r)=>{const i=getOptionsForChunk(r.chunk);if(i===false)return t;return this.renderStartup(t,n,r,{options:i,compilation:e})}))}n.chunkHash.tap(t,((t,n,r)=>{const i=getOptionsForChunk(t);if(i===false)return;this.chunkHash(t,n,r,{options:i,compilation:e})}))}))}_parseOptionsCached(e){if(!e)return false;if(e.type!==this._type)return false;const t=this._parseCache.get(e);if(t!==undefined)return t;const n=this.parseOptions(e);this._parseCache.set(e,n);return n}parseOptions(e){const t=n(75884);throw new t}finishEntryModule(e,t,n){}embedInRuntimeBailout(e,t,n){return undefined}strictRuntimeBailout(e,t){return undefined}runtimeRequirements(e,t,n){if(this.render!==AbstractLibraryPlugin.prototype.render)t.add(r.returnExportsFromRuntime)}render(e,t,n){return e}renderStartup(e,t,n,r){return e}chunkHash(e,t,n,r){const i=this._parseOptionsCached(r.compilation.outputOptions.library);t.update(this._pluginName);t.update(JSON.stringify(i))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=s;e.exports=AbstractLibraryPlugin},17982:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(48135);const i=n(16734);const s=n(58159);const a=n(9786);class AmdLibraryPlugin extends a{constructor(e){super({pluginName:"AmdLibraryPlugin",type:e.type});this.requireAsWrapper=e.requireAsWrapper}parseOptions(e){const{name:t}=e;if(this.requireAsWrapper){if(t){throw new Error(`AMD library name must be unset. ${a.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(t&&typeof t!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${a.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:t}}render(e,{chunkGraph:t,chunk:n,runtimeTemplate:a},{options:c,compilation:u}){const l=a.supportsArrowFunction();const d=t.getChunkModules(n).filter((e=>e instanceof i));const p=d;const h=JSON.stringify(p.map((e=>typeof e.request==="object"&&!Array.isArray(e.request)?e.request.amd:e.request)));const m=p.map((e=>`__WEBPACK_EXTERNAL_MODULE_${s.toIdentifier(`${t.getModuleId(e)}`)}__`)).join(", ");const g=a.isIIFE();const y=(l?`(${m}) => {`:`function(${m}) {`)+(g?" return ":"\n");const _=g?";\n}":"\n}";if(this.requireAsWrapper){return new r(`require(${h}, ${y}`,e,`${_});`)}else if(c.name){const t=u.getPath(c.name,{chunk:n});return new r(`define(${JSON.stringify(t)}, ${h}, ${y}`,e,`${_});`)}else if(m){return new r(`define(${h}, ${y}`,e,`${_});`)}else{return new r(`define(${y}`,e,`${_});`)}}chunkHash(e,t,n,{options:r,compilation:i}){t.update("AmdLibraryPlugin");if(this.requireAsWrapper){t.update("requireAsWrapper")}else if(r.name){t.update("named");const n=i.getPath(r.name,{chunk:e});t.update(n)}}}e.exports=AmdLibraryPlugin},69444:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(48135);const{UsageState:i}=n(76632);const s=n(58159);const a=n(68038);const{getEntryRuntime:c}=n(37416);const u=n(9786);const l=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const d=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=e=>!l.test(e)&&d.test(e);const accessWithInit=(e,t,n=false)=>{const r=e[0];if(e.length===1&&!n)return r;let i=t>0?r:`(${r} = typeof ${r} === "undefined" ? {} : ${r})`;let s=1;let c;if(t>s){c=e.slice(1,t);s=t;i+=a(c)}else{c=[]}const u=n?e.length:e.length-1;for(;sn.getPath(e,{chunk:t})))}render(e,{chunk:t},{options:n,compilation:i}){const a=this._getResolvedFullName(n,t,i);if(this.declare){const t=a[0];if(!isNameValid(t)){throw new Error(`Library name base (${t}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${s.toIdentifier(t)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${u.COMMON_LIBRARY_NAME_MESSAGE}`)}e=new r(`${this.declare} ${t};\n`,e)}return e}embedInRuntimeBailout(e,{chunk:t},{options:n,compilation:r}){const i=e.buildInfo&&e.buildInfo.topLevelDeclarations;if(!i)return"it doesn't tell about top level declarations.";const s=this._getResolvedFullName(n,t,r);const a=s[0];if(i.has(a))return`it declares '${a}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:e},{options:t,compilation:n}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!t.name){return}return"a global variable is assign and maybe created"}renderStartup(e,t,{chunk:n},{options:i,compilation:s}){const c=this._getResolvedFullName(i,n,s);const u=i.export?a(Array.isArray(i.export)?i.export:[i.export]):"";const l=new r(e);if(i.name?this.named==="copy":this.unnamed==="copy"){l.add(`var __webpack_export_target__ = ${accessWithInit(c,this._getPrefix(s).length,true)};\n`);let e="__webpack_exports__";if(u){l.add(`var __webpack_exports_export__ = __webpack_exports__${u};\n`);e="__webpack_exports_export__"}l.add(`for(var i in ${e}) __webpack_export_target__[i] = ${e}[i];\n`);l.add(`if(${e}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{l.add(`${accessWithInit(c,this._getPrefix(s).length,false)} = __webpack_exports__${u};\n`)}return l}runtimeRequirements(e,t,n){}chunkHash(e,t,n,{options:r,compilation:i}){t.update("AssignLibraryPlugin");const s=this.prefix==="global"?[i.outputOptions.globalObject]:this.prefix;const a=r.name?s.concat(r.name):s;const c=a.map((t=>i.getPath(t,{chunk:e})));if(r.name?this.named==="copy":this.unnamed==="copy"){t.update("copy")}if(this.declare){t.update(this.declare)}t.update(c.join("."));if(r.export){t.update(`${r.export}`)}}}e.exports=AssignLibraryPlugin},13984:(e,t,n)=>{"use strict";const r=new WeakMap;const getEnabledTypes=e=>{let t=r.get(e);if(t===undefined){t=new Set;r.set(e,t)}return t};class EnableLibraryPlugin{constructor(e){this.type=e}static setEnabled(e,t){getEnabledTypes(e).add(t)}static checkEnabled(e,t){if(!getEnabledTypes(e).has(t)){throw new Error(`Library type "${t}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(e)).join(", "))}}apply(e){const{type:t}=this;const r=getEnabledTypes(e);if(r.has(t))return;r.add(t);if(typeof t==="string"){const enableExportProperty=()=>{const r=n(97140);new r({type:t,nsObjectUsed:t!=="module"}).apply(e)};switch(t){case"var":{const r=n(69444);new r({type:t,prefix:[],declare:"var",unnamed:"error"}).apply(e);break}case"assign-properties":{const r=n(69444);new r({type:t,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(e);break}case"assign":{const r=n(69444);new r({type:t,prefix:[],declare:false,unnamed:"error"}).apply(e);break}case"this":{const r=n(69444);new r({type:t,prefix:["this"],declare:false,unnamed:"copy"}).apply(e);break}case"window":{const r=n(69444);new r({type:t,prefix:["window"],declare:false,unnamed:"copy"}).apply(e);break}case"self":{const r=n(69444);new r({type:t,prefix:["self"],declare:false,unnamed:"copy"}).apply(e);break}case"global":{const r=n(69444);new r({type:t,prefix:"global",declare:false,unnamed:"copy"}).apply(e);break}case"commonjs":{const r=n(69444);new r({type:t,prefix:["exports"],declare:false,unnamed:"copy"}).apply(e);break}case"commonjs2":case"commonjs-module":{const r=n(69444);new r({type:t,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(e);break}case"amd":case"amd-require":{enableExportProperty();const r=n(17982);new r({type:t,requireAsWrapper:t==="amd-require"}).apply(e);break}case"umd":case"umd2":{enableExportProperty();const r=n(76456);new r({type:t,optionalAmdExternalAsGlobal:t==="umd2"}).apply(e);break}case"system":{enableExportProperty();const r=n(59405);new r({type:t}).apply(e);break}case"jsonp":{enableExportProperty();const r=n(63154);new r({type:t}).apply(e);break}case"module":{enableExportProperty();const r=n(68111);new r({type:t}).apply(e);break}default:throw new Error(`Unsupported library type ${t}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}e.exports=EnableLibraryPlugin},97140:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(48135);const{UsageState:i}=n(76632);const s=n(68038);const{getEntryRuntime:a}=n(37416);const c=n(9786);class ExportPropertyLibraryPlugin extends c{constructor({type:e,nsObjectUsed:t}){super({pluginName:"ExportPropertyLibraryPlugin",type:e});this.nsObjectUsed=t}parseOptions(e){return{export:e.export}}finishEntryModule(e,t,{options:n,compilation:r,compilation:{moduleGraph:s}}){const c=a(r,t);if(n.export){const t=s.getExportInfo(e,Array.isArray(n.export)?n.export[0]:n.export);t.setUsed(i.Used,c);t.canMangleUse=false}else{const t=s.getExportsInfo(e);if(this.nsObjectUsed){t.setUsedInUnknownWay(c)}else{t.setAllKnownExportsUsed(c)}}s.addExtraReason(e,"used as library export")}runtimeRequirements(e,t,n){}renderStartup(e,t,n,{options:i}){if(!i.export)return e;const a=`__webpack_exports__ = __webpack_exports__${s(Array.isArray(i.export)?i.export:[i.export])};\n`;return new r(e,a)}}e.exports=ExportPropertyLibraryPlugin},63154:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(48135);const i=n(9786);class JsonpLibraryPlugin extends i{constructor(e){super({pluginName:"JsonpLibraryPlugin",type:e.type})}parseOptions(e){const{name:t}=e;if(typeof t!=="string"){throw new Error(`Jsonp library name must be a simple string. ${i.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:t}}render(e,{chunk:t},{options:n,compilation:i}){const s=i.getPath(n.name,{chunk:t});return new r(`${s}(`,e,")")}chunkHash(e,t,n,{options:r,compilation:i}){t.update("JsonpLibraryPlugin");t.update(i.getPath(r.name,{chunk:e}))}}e.exports=JsonpLibraryPlugin},68111:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(48135);const i=n(58159);const s=n(68038);const a=n(9786);class ModuleLibraryPlugin extends a{constructor(e){super({pluginName:"ModuleLibraryPlugin",type:e.type})}parseOptions(e){const{name:t}=e;if(t){throw new Error(`Library name must be unset. ${a.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:t}}renderStartup(e,t,{moduleGraph:n,chunk:a},{options:c,compilation:u}){const l=new r(e);const d=n.getExportsInfo(t);const p=[];for(const e of d.orderedExports){if(!e.provided)continue;const t=`__webpack_exports__${i.toIdentifier(e.name)}`;l.add(`var ${t} = __webpack_exports__${s([e.getUsedName(e.name,a.runtime)])};\n`);p.push(`${t} as ${e.name}`)}if(p.length>0){l.add(`export { ${p.join(", ")} };\n`)}return l}}e.exports=ModuleLibraryPlugin},59405:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(48135);const{UsageState:i}=n(76632);const s=n(16734);const a=n(58159);const c=n(68038);const u=n(9786);class SystemLibraryPlugin extends u{constructor(e){super({pluginName:"SystemLibraryPlugin",type:e.type})}parseOptions(e){const{name:t}=e;if(t&&typeof t!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${u.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:t}}render(e,{chunkGraph:t,moduleGraph:n,chunk:u},{options:l,compilation:d}){const p=t.getChunkModules(u).filter((e=>e instanceof s));const h=p;const m=l.name?`${JSON.stringify(d.getPath(l.name,{chunk:u}))}, `:"";const g=JSON.stringify(h.map((e=>typeof e.request==="object"&&!Array.isArray(e.request)?e.request.amd:e.request)));const y="__WEBPACK_DYNAMIC_EXPORT__";const _=h.map((e=>`__WEBPACK_EXTERNAL_MODULE_${a.toIdentifier(`${t.getModuleId(e)}`)}__`));const b=_.map((e=>`var ${e} = {};`)).join("\n");const x=[];const k=_.length===0?"":a.asString(["setters: [",a.indent(h.map(((e,t)=>{const r=_[t];const s=n.getExportsInfo(e);const l=s.otherExportsInfo.getUsed(u.runtime)===i.Unused;const d=[];const p=[];for(const e of s.orderedExports){const t=e.getUsedName(undefined,u.runtime);if(t){if(l||t!==e.name){d.push(`${r}${c([t])} = module${c([e.name])};`);p.push(e.name)}}else{p.push(e.name)}}if(!l){if(!Array.isArray(e.request)||e.request.length===1){x.push(`Object.defineProperty(${r}, "__esModule", { value: true });`)}if(p.length>0){const e=`${r}handledNames`;x.push(`var ${e} = ${JSON.stringify(p)};`);d.push(a.asString(["Object.keys(module).forEach(function(key) {",a.indent([`if(${e}.indexOf(key) >= 0)`,a.indent(`${r}[key] = module[key];`)]),"});"]))}else{d.push(a.asString(["Object.keys(module).forEach(function(key) {",a.indent([`${r}[key] = module[key];`]),"});"]))}}if(d.length===0)return"function() {}";return a.asString(["function(module) {",a.indent(d),"}"])})).join(",\n")),"],"]);return new r(a.asString([`System.register(${m}${g}, function(${y}, __system_context__) {`,a.indent([b,a.asString(x),"return {",a.indent([k,"execute: function() {",a.indent(`${y}(`)])]),""]),e,a.asString(["",a.indent([a.indent([a.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(e,t,n,{options:r,compilation:i}){t.update("SystemLibraryPlugin");if(r.name){t.update(i.getPath(r.name,{chunk:e}))}}}e.exports=SystemLibraryPlugin},76456:(e,t,n)=>{"use strict";const{ConcatSource:r,OriginalSource:i}=n(48135);const s=n(16734);const a=n(58159);const c=n(9786);const accessorToObjectAccess=e=>e.map((e=>`[${JSON.stringify(e)}]`)).join("");const accessorAccess=(e,t,n=", ")=>{const r=Array.isArray(t)?t:[t];return r.map(((t,n)=>{const i=e?e+accessorToObjectAccess(r.slice(0,n+1)):r[0]+accessorToObjectAccess(r.slice(1,n+1));if(n===r.length-1)return i;if(n===0&&e===undefined)return`${i} = typeof ${i} === "object" ? ${i} : {}`;return`${i} = ${i} || {}`})).join(n)};class UmdLibraryPlugin extends c{constructor(e){super({pluginName:"UmdLibraryPlugin",type:e.type});this.optionalAmdExternalAsGlobal=e.optionalAmdExternalAsGlobal}parseOptions(e){let t;let n;if(typeof e.name==="object"&&!Array.isArray(e.name)){t=e.name.root||e.name.amd||e.name.commonjs;n=e.name}else{t=e.name;const r=Array.isArray(t)?t[0]:t;n={commonjs:r,root:e.name,amd:r}}return{name:t,names:n,auxiliaryComment:e.auxiliaryComment,namedDefine:e.umdNamedDefine}}render(e,{chunkGraph:t,runtimeTemplate:n,chunk:c,moduleGraph:u},{options:l,compilation:d}){const p=t.getChunkModules(c).filter((e=>e instanceof s&&(e.externalType==="umd"||e.externalType==="umd2")));let h=p;const m=[];let g=[];if(this.optionalAmdExternalAsGlobal){for(const e of h){if(e.isOptional(u)){m.push(e)}else{g.push(e)}}h=g.concat(m)}else{g=h}const replaceKeys=e=>d.getPath(e,{chunk:c});const externalsDepsArray=e=>`[${replaceKeys(e.map((e=>JSON.stringify(typeof e.request==="object"?e.request.amd:e.request))).join(", "))}]`;const externalsRootArray=e=>replaceKeys(e.map((e=>{let t=e.request;if(typeof t==="object")t=t.root;return`root${accessorToObjectAccess([].concat(t))}`})).join(", "));const externalsRequireArray=e=>replaceKeys(h.map((t=>{let n;let r=t.request;if(typeof r==="object"){r=r[e]}if(r===undefined){throw new Error("Missing external configuration for type:"+e)}if(Array.isArray(r)){n=`require(${JSON.stringify(r[0])})${accessorToObjectAccess(r.slice(1))}`}else{n=`require(${JSON.stringify(r)})`}if(t.isOptional(u)){n=`(function webpackLoadOptionalExternalModule() { try { return ${n}; } catch(e) {} }())`}return n})).join(", "));const externalsArguments=e=>e.map((e=>`__WEBPACK_EXTERNAL_MODULE_${a.toIdentifier(`${t.getModuleId(e)}`)}__`)).join(", ");const libraryName=e=>JSON.stringify(replaceKeys([].concat(e).pop()));let y;if(m.length>0){const e=externalsArguments(g);const t=g.length>0?externalsArguments(g)+", "+externalsRootArray(m):externalsRootArray(m);y=`function webpackLoadOptionalExternalModuleAmd(${e}) {\n`+`\t\t\treturn factory(${t});\n`+"\t\t}"}else{y="factory"}const{auxiliaryComment:_,namedDefine:b,names:x}=l;const getAuxiliaryComment=e=>{if(_){if(typeof _==="string")return"\t//"+_+"\n";if(_[e])return"\t//"+_[e]+"\n"}return""};return new r(new i("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(g.length>0?x.amd&&b===true?"\t\tdefine("+libraryName(x.amd)+", "+externalsDepsArray(g)+", "+y+");\n":"\t\tdefine("+externalsDepsArray(g)+", "+y+");\n":x.amd&&b===true?"\t\tdefine("+libraryName(x.amd)+", [], "+y+");\n":"\t\tdefine([], "+y+");\n")+(x.root||x.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(x.commonjs||x.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",x.root||x.commonjs))+" = factory("+externalsRootArray(h)+");\n":"\telse {\n"+(h.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(h)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${n.outputOptions.globalObject}, function(${externalsArguments(h)}) {\nreturn `,"webpack/universalModuleDefinition"),e,";\n})")}}e.exports=UmdLibraryPlugin},78539:(e,t)=>{"use strict";const n=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});t.LogType=n;const r=Symbol("webpack logger raw log method");const i=Symbol("webpack logger times");const s=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(e,t){this[r]=e;this.getChildLogger=t}error(...e){this[r](n.error,e)}warn(...e){this[r](n.warn,e)}info(...e){this[r](n.info,e)}log(...e){this[r](n.log,e)}debug(...e){this[r](n.debug,e)}assert(e,...t){if(!e){this[r](n.error,t)}}trace(){this[r](n.trace,["Trace"])}clear(){this[r](n.clear)}status(...e){this[r](n.status,e)}group(...e){this[r](n.group,e)}groupCollapsed(...e){this[r](n.groupCollapsed,e)}groupEnd(...e){this[r](n.groupEnd,e)}profile(e){this[r](n.profile,[e])}profileEnd(e){this[r](n.profileEnd,[e])}time(e){this[i]=this[i]||new Map;this[i].set(e,process.hrtime())}timeLog(e){const t=this[i]&&this[i].get(e);if(!t){throw new Error(`No such label '${e}' for WebpackLogger.timeLog()`)}const s=process.hrtime(t);this[r](n.time,[e,...s])}timeEnd(e){const t=this[i]&&this[i].get(e);if(!t){throw new Error(`No such label '${e}' for WebpackLogger.timeEnd()`)}const s=process.hrtime(t);this[i].delete(e);this[r](n.time,[e,...s])}timeAggregate(e){const t=this[i]&&this[i].get(e);if(!t){throw new Error(`No such label '${e}' for WebpackLogger.timeAggregate()`)}const n=process.hrtime(t);this[i].delete(e);this[s]=this[s]||new Map;const r=this[s].get(e);if(r!==undefined){if(n[1]+r[1]>1e9){n[0]+=r[0]+1;n[1]=n[1]-1e9+r[1]}else{n[0]+=r[0];n[1]+=r[1]}}this[s].set(e,n)}timeAggregateEnd(e){if(this[s]===undefined)return;const t=this[s].get(e);if(t===undefined)return;this[r](n.time,[e,...t])}}t.Logger=WebpackLogger},70108:(e,t,n)=>{"use strict";const{LogType:r}=n(78539);const filterToFunction=e=>{if(typeof e==="string"){const t=new RegExp(`[\\\\/]${e.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return e=>t.test(e)}if(e&&typeof e==="object"&&typeof e.test==="function"){return t=>e.test(t)}if(typeof e==="function"){return e}if(typeof e==="boolean"){return()=>e}};const i={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};e.exports=({level:e="info",debug:t=false,console:n})=>{const s=typeof t==="boolean"?[()=>t]:[].concat(t).map(filterToFunction);const a=i[`${e}`]||0;const logger=(e,t,c)=>{const labeledArgs=()=>{if(Array.isArray(c)){if(c.length>0&&typeof c[0]==="string"){return[`[${e}] ${c[0]}`,...c.slice(1)]}else{return[`[${e}]`,...c]}}else{return[]}};const u=s.some((t=>t(e)));switch(t){case r.debug:if(!u)return;if(typeof n.debug==="function"){n.debug(...labeledArgs())}else{n.log(...labeledArgs())}break;case r.log:if(!u&&a>i.log)return;n.log(...labeledArgs());break;case r.info:if(!u&&a>i.info)return;n.info(...labeledArgs());break;case r.warn:if(!u&&a>i.warn)return;n.warn(...labeledArgs());break;case r.error:if(!u&&a>i.error)return;n.error(...labeledArgs());break;case r.trace:if(!u)return;n.trace();break;case r.groupCollapsed:if(!u&&a>i.log)return;if(!u&&a>i.verbose){if(typeof n.groupCollapsed==="function"){n.groupCollapsed(...labeledArgs())}else{n.log(...labeledArgs())}break}case r.group:if(!u&&a>i.log)return;if(typeof n.group==="function"){n.group(...labeledArgs())}else{n.log(...labeledArgs())}break;case r.groupEnd:if(!u&&a>i.log)return;if(typeof n.groupEnd==="function"){n.groupEnd()}break;case r.time:{if(!u&&a>i.log)return;const t=c[1]*1e3+c[2]/1e6;const r=`[${e}] ${c[0]}: ${t} ms`;if(typeof n.logTime==="function"){n.logTime(r)}else{n.log(r)}break}case r.profile:if(typeof n.profile==="function"){n.profile(...labeledArgs())}break;case r.profileEnd:if(typeof n.profileEnd==="function"){n.profileEnd(...labeledArgs())}break;case r.clear:if(!u&&a>i.log)return;if(typeof n.clear==="function"){n.clear()}break;case r.status:if(!u&&a>i.info)return;if(typeof n.status==="function"){if(c.length===0){n.status()}else{n.status(...labeledArgs())}}else{if(c.length!==0){n.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${t}`)}};return logger}},50595:e=>{"use strict";const arraySum=e=>{let t=0;for(const n of e)t+=n;return t};const truncateArgs=(e,t)=>{const n=e.map((e=>`${e}`.length));const r=t-n.length+1;if(r>0&&e.length===1){if(r>=e[0].length){return e}else if(r>3){return["..."+e[0].slice(-r+3)]}else{return[e[0].slice(-r)]}}if(rMath.min(e,6))))){if(e.length>1)return truncateArgs(e.slice(0,e.length-1),t);return[]}let i=arraySum(n);if(i<=r)return e;while(i>r){const e=Math.max(...n);const t=n.filter((t=>t!==e));const s=t.length>0?Math.max(...t):0;const a=e-s;let c=n.length-t.length;let u=i-r;for(let t=0;t{const r=`${e}`;const i=n[t];if(r.length===i){return r}else if(i>5){return"..."+r.slice(-i+3)}else if(i>0){return r.slice(-i)}else{return""}}))};e.exports=truncateArgs},82827:(e,t,n)=>{"use strict";const r=n(76150);const i=n(64997);class CommonJsChunkLoadingPlugin{constructor(e){e=e||{};this._asyncChunkLoading=e.asyncChunkLoading}apply(e){const t=this._asyncChunkLoading?n(26020):n(75491);const s=this._asyncChunkLoading?"async-node":"require";new i({chunkLoading:s,asyncChunkLoading:this._asyncChunkLoading}).apply(e);e.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(e=>{const n=e.outputOptions.chunkLoading;const isEnabledForChunk=e=>{const t=e.getEntryOptions();const r=t&&t.chunkLoading||n;return r===s};const i=new WeakSet;const handler=(n,s)=>{if(i.has(n))return;i.add(n);if(!isEnabledForChunk(n))return;s.add(r.moduleFactoriesAddOnly);s.add(r.hasOwnProperty);e.addRuntimeModule(n,new t(s))};e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.baseURI).tap("CommonJsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.getChunkScriptFilename)}));e.hooks.runtimeRequirementInTree.for(r.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.getChunkUpdateScriptFilename);t.add(r.moduleCache);t.add(r.hmrModuleData);t.add(r.moduleFactoriesAddOnly)}));e.hooks.runtimeRequirementInTree.for(r.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.getUpdateManifestFilename)}))}))}}e.exports=CommonJsChunkLoadingPlugin},93632:(e,t,n)=>{"use strict";const r=n(67703);const i=n(15808);const s=n(70108);const a=n(2255);const c=n(56642);class NodeEnvironmentPlugin{constructor(e){this.options=e||{}}apply(e){e.infrastructureLogger=s(Object.assign({level:"info",debug:false,console:c},this.options.infrastructureLogging));e.inputFileSystem=new r(i,6e4);const t=e.inputFileSystem;e.outputFileSystem=i;e.intermediateFileSystem=i;e.watchFileSystem=new a(e.inputFileSystem);e.hooks.beforeRun.tap("NodeEnvironmentPlugin",(e=>{if(e.inputFileSystem===t){t.purge()}}))}}e.exports=NodeEnvironmentPlugin},92662:e=>{"use strict";class NodeSourcePlugin{apply(e){}}e.exports=NodeSourcePlugin},84980:(e,t,n)=>{"use strict";const r=n(61050);const i=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib"];class NodeTargetPlugin{apply(e){new r("commonjs",i).apply(e)}}e.exports=NodeTargetPlugin},91591:(e,t,n)=>{"use strict";const r=n(77314);const i=n(50369);class NodeTemplatePlugin{constructor(e){this._options=e||{}}apply(e){const t=this._options.asyncChunkLoading?"async-node":"require";e.options.output.chunkLoading=t;(new r).apply(e);new i(t).apply(e)}}e.exports=NodeTemplatePlugin},2255:(e,t,n)=>{"use strict";const r=n(92512);class NodeWatchFileSystem{constructor(e){this.inputFileSystem=e;this.watcherOptions={aggregateTimeout:0};this.watcher=new r(this.watcherOptions)}watch(e,t,n,i,s,a,c){if(!e||typeof e[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!t||typeof t[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!n||typeof n[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof a!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof i!=="number"&&i){throw new Error("Invalid arguments: 'startTime'")}if(typeof s!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof c!=="function"&&c){throw new Error("Invalid arguments: 'callbackUndelayed'")}const u=this.watcher;this.watcher=new r(s);if(c){this.watcher.once("change",c)}this.watcher.once("aggregated",((e,t)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){for(const t of e){this.inputFileSystem.purge(t)}for(const e of t){this.inputFileSystem.purge(e)}}const n=this.watcher.getTimeInfoEntries();a(null,n,n,e,t)}));this.watcher.watch({files:e,directories:t,missing:n,startTime:i});if(u){u.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>this.watcher&&this.watcher.aggregatedRemovals,getAggregatedChanges:()=>this.watcher&&this.watcher.aggregatedChanges,getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}e.exports=NodeWatchFileSystem},26020:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);const{chunkHasJs:a,getChunkFilenameTemplate:c}=n(18161);const{getInitialChunkIds:u}=n(13085);const l=n(87274);const{getUndoPath:d}=n(49197);class ReadFileChunkLoadingRuntimeModule extends i{constructor(e){super("readFile chunk loading",i.STAGE_ATTACH);this.runtimeRequirements=e}generate(){const{chunk:e}=this;const{chunkGraph:t,runtimeTemplate:i}=this.compilation;const p=r.ensureChunkHandlers;const h=this.runtimeRequirements.has(r.baseURI);const m=this.runtimeRequirements.has(r.externalInstallChunk);const g=this.runtimeRequirements.has(r.onChunksLoaded);const y=this.runtimeRequirements.has(r.ensureChunkHandlers);const _=this.runtimeRequirements.has(r.hmrDownloadUpdateHandlers);const b=this.runtimeRequirements.has(r.hmrDownloadManifest);const x=t.getChunkConditionMap(e,a);const k=l(x);const E=u(e,t);const w=this.compilation.getPath(c(e,this.compilation.outputOptions),{chunk:e,contentHashType:"javascript"});const S=d(w,this.compilation.outputOptions.path,false);return s.asString([h?s.asString([`${r.baseURI} = require("url").pathToFileURL(${S?`__dirname + ${JSON.stringify("/"+S)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',"var installedChunks = {",s.indent(Array.from(E,(e=>`${JSON.stringify(e)}: 0`)).join(",\n")),"};","",g?`${r.onChunksLoaded}.readFileVm = ${i.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",y||m?`var installChunk = ${i.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",s.indent([`if(${r.hasOwnProperty}(moreModules, moduleId)) {`,s.indent([`${r.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",s.indent(["if(installedChunks[chunkIds[i]]) {",s.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",g?`${r.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",y?s.asString(["// ReadFile + VM.run chunk loading for javascript",`${p}.readFileVm = function(chunkId, promises) {`,k!==false?s.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',s.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",s.indent(["promises.push(installedChunkData[2]);"]),"} else {",s.indent([k===true?"if(true) { // all chunks have JS":`if(${k("chunkId")}) {`,s.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",s.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(S)} + ${r.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",s.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):s.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",m?s.asString(["module.exports = __webpack_require__;",`${r.externalInstallChunk} = installChunk;`]):"// no external install chunk","",_?s.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",s.indent(["return new Promise(function(resolve, reject) {",s.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(S)} + ${r.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",s.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",s.indent([`if(${r.hasOwnProperty}(updatedModules, moduleId)) {`,s.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",s.getFunctionContent(n(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,r.moduleCache).replace(/\$moduleFactories\$/g,r.moduleFactories).replace(/\$ensureChunkHandlers\$/g,r.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,r.hasOwnProperty).replace(/\$hmrModuleData\$/g,r.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,r.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,r.hmrInvalidateModuleHandlers)]):"// no HMR","",b?s.asString([`${r.hmrDownloadManifest} = function() {`,s.indent(["return new Promise(function(resolve, reject) {",s.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(S)} + ${r.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",s.indent(["if(err) {",s.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}e.exports=ReadFileChunkLoadingRuntimeModule},21273:(e,t,n)=>{"use strict";const r=n(76150);const i=n(58159);const s=n(21941);class ReadFileCompileAsyncWasmPlugin{apply(e){e.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(e=>{const t=e.outputOptions.wasmLoading;const isEnabledForChunk=e=>{const n=e.getEntryOptions();const r=n&&n.wasmLoading||t;return r==="async-node"};const generateLoadBinaryCode=e=>i.asString(["new Promise(function (resolve, reject) {",i.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",i.indent([`readFile(join(__dirname, ${e}), function(err, buffer){`,i.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",i.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);e.hooks.runtimeRequirementInTree.for(r.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((t,n)=>{if(!isEnabledForChunk(t))return;const i=e.chunkGraph;if(!i.hasModuleInGraph(t,(e=>e.type==="webassembly/async"))){return}n.add(r.publicPath);e.addRuntimeModule(t,new s({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false}))}))}))}}e.exports=ReadFileCompileAsyncWasmPlugin},71049:(e,t,n)=>{"use strict";const r=n(76150);const i=n(58159);const s=n(61006);class ReadFileCompileWasmPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(e=>{const t=e.outputOptions.wasmLoading;const isEnabledForChunk=e=>{const n=e.getEntryOptions();const r=n&&n.wasmLoading||t;return r==="async-node"};const generateLoadBinaryCode=e=>i.asString(["new Promise(function (resolve, reject) {",i.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",i.indent([`readFile(join(__dirname, ${e}), function(err, buffer){`,i.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",i.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((t,n)=>{if(!isEnabledForChunk(t))return;const i=e.chunkGraph;if(!i.hasModuleInGraph(t,(e=>e.type==="webassembly/sync"))){return}n.add(r.moduleCache);e.addRuntimeModule(t,new s({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports}))}))}))}}e.exports=ReadFileCompileWasmPlugin},75491:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);const{chunkHasJs:a,getChunkFilenameTemplate:c}=n(18161);const{getInitialChunkIds:u}=n(13085);const l=n(87274);const{getUndoPath:d}=n(49197);class RequireChunkLoadingRuntimeModule extends i{constructor(e){super("require chunk loading",i.STAGE_ATTACH);this.runtimeRequirements=e}generate(){const{chunk:e}=this;const{chunkGraph:t,runtimeTemplate:i}=this.compilation;const p=r.ensureChunkHandlers;const h=this.runtimeRequirements.has(r.baseURI);const m=this.runtimeRequirements.has(r.externalInstallChunk);const g=this.runtimeRequirements.has(r.onChunksLoaded);const y=this.runtimeRequirements.has(r.ensureChunkHandlers);const _=this.runtimeRequirements.has(r.hmrDownloadUpdateHandlers);const b=this.runtimeRequirements.has(r.hmrDownloadManifest);const x=t.getChunkConditionMap(e,a);const k=l(x);const E=u(e,t);const w=this.compilation.getPath(c(e,this.compilation.outputOptions),{chunk:e,contentHashType:"javascript"});const S=d(w,this.compilation.outputOptions.path,true);return s.asString([h?s.asString([`${r.baseURI} = require("url").pathToFileURL(${S!=="./"?`__dirname + ${JSON.stringify("/"+S)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',"var installedChunks = {",s.indent(Array.from(E,(e=>`${JSON.stringify(e)}: 1`)).join(",\n")),"};","",g?`${r.onChunksLoaded}.require = ${i.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",y||m?`var installChunk = ${i.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",s.indent([`if(${r.hasOwnProperty}(moreModules, moduleId)) {`,s.indent([`${r.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",s.indent("installedChunks[chunkIds[i]] = 1;"),g?`${r.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",y?s.asString(["// require() chunk loading for javascript",`${p}.require = ${i.basicFunction("chunkId, promises",k!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",s.indent([k===true?"if(true) { // all chunks have JS":`if(${k("chunkId")}) {`,s.indent([`installChunk(require(${JSON.stringify(S)} + ${r.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",m?s.asString(["module.exports = __webpack_require__;",`${r.externalInstallChunk} = installChunk;`]):"// no external install chunk","",_?s.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",s.indent([`var update = require(${JSON.stringify(S)} + ${r.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",s.indent([`if(${r.hasOwnProperty}(updatedModules, moduleId)) {`,s.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",s.getFunctionContent(n(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,r.moduleCache).replace(/\$moduleFactories\$/g,r.moduleFactories).replace(/\$ensureChunkHandlers\$/g,r.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,r.hasOwnProperty).replace(/\$hmrModuleData\$/g,r.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,r.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,r.hmrInvalidateModuleHandlers)]):"// no HMR","",b?s.asString([`${r.hmrDownloadManifest} = function() {`,s.indent(["return Promise.resolve().then(function() {",s.indent([`return require(${JSON.stringify(S)} + ${r.getUpdateManifestFilename}());`]),'}).catch(function(err) { if(err.code !== "MODULE_NOT_FOUND") throw err; });']),"}"]):"// no HMR manifest"])}}e.exports=RequireChunkLoadingRuntimeModule},56642:(e,t,n)=>{"use strict";const r=n(31669);const i=n(50595);const s=process.stderr.isTTY&&process.env.TERM!=="dumb";let a=undefined;let c=false;let u="";let l=0;const indent=(e,t,n,r)=>{if(e==="")return e;t=u+t;if(s){return t+n+e.replace(/\n/g,r+"\n"+t+n)+r}else{return t+e.replace(/\n/g,"\n"+t)}};const clearStatusMessage=()=>{if(c){process.stderr.write("\r");c=false}};const writeStatusMessage=()=>{if(!a)return;const e=process.stderr.columns;const t=e?i(a,e-1):a;const n=t.join(" ");const r=`${n}`;process.stderr.write(`\r${r}`);c=true};const writeColored=(e,t,n)=>(...i)=>{if(l>0)return;clearStatusMessage();const s=indent(r.format(...i),e,t,n);process.stderr.write(s+"\n");writeStatusMessage()};const d=writeColored("<-> ","","");const p=writeColored("<+> ","","");e.exports={log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...e)=>{d(...e);if(l>0){l++}else{u+=" "}},groupCollapsed:(...e)=>{p(...e);l++},groupEnd:()=>{if(l>0)l--;else if(u.length>=2)u=u.slice(0,u.length-2)},profile:console.profile&&(e=>console.profile(e)),profileEnd:console.profileEnd&&(e=>console.profileEnd(e)),clear:s&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:s?(e,...t)=>{t=t.filter(Boolean);if(e===undefined&&t.length===0){clearStatusMessage();a=undefined}else if(typeof e==="string"&&e.startsWith("[webpack.Progress] ")){a=[e.slice(19),...t];writeStatusMessage()}else if(e==="[webpack.Progress]"){a=[...t];writeStatusMessage()}else{a=[e,...t];writeStatusMessage()}}:writeColored(" ","","")}},61332:(e,t,n)=>{"use strict";const{STAGE_ADVANCED:r}=n(82414);class AggressiveMergingPlugin{constructor(e){if(e!==undefined&&typeof e!=="object"||Array.isArray(e)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=e||{}}apply(e){const t=this.options;const n=t.minSizeReduce||1.5;e.hooks.thisCompilation.tap("AggressiveMergingPlugin",(e=>{e.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:r},(t=>{const r=e.chunkGraph;let i=[];for(const e of t){if(e.canBeInitial())continue;for(const n of t){if(n.canBeInitial())continue;if(n===e)break;if(!r.canChunksBeIntegrated(e,n)){continue}const t=r.getChunkSize(n,{chunkOverhead:0});const s=r.getChunkSize(e,{chunkOverhead:0});const a=r.getIntegratedChunksSize(n,e,{chunkOverhead:0});const c=(t+s)/a;i.push({a:e,b:n,improvement:c})}}i.sort(((e,t)=>t.improvement-e.improvement));const s=i[0];if(!s)return;if(s.improvement{"use strict";const{validate:r}=n(15235);const i=n(69127);const{STAGE_ADVANCED:s}=n(82414);const{intersect:a}=n(26221);const{compareModulesByIdentifier:c,compareChunks:u}=n(68673);const l=n(49197);const moveModuleBetween=(e,t,n)=>r=>{e.disconnectChunkAndModule(t,r);e.connectChunkAndModule(n,r)};const isNotAEntryModule=(e,t)=>n=>!e.isEntryModuleInChunk(n,t);const d=new WeakSet;class AggressiveSplittingPlugin{constructor(e={}){r(i,e,{name:"Aggressive Splitting Plugin",baseDataPath:"options"});this.options=e;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(e){return d.has(e)}apply(e){e.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(t=>{let n=false;let r;let i;let p;t.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{r=[];i=new Set;p=new Map}));t.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:s},(n=>{const s=t.chunkGraph;const d=new Map;const h=new Map;const m=l.makePathsRelative.bindContextCache(e.context,e.root);for(const e of t.modules){const t=m(e.identifier());d.set(t,e);h.set(e,t)}const g=new Set;for(const e of n){g.add(e.id)}const y=t.records&&t.records.aggressiveSplits||[];const _=r?y.concat(r):y;const b=this.options.minSize;const x=this.options.maxSize;const applySplit=e=>{if(e.id!==undefined&&g.has(e.id)){return false}const n=e.modules.map((e=>d.get(e)));if(!n.every(Boolean))return false;let r=0;for(const e of n)r+=e.size();if(r!==e.size)return false;const c=a(n.map((e=>new Set(s.getModuleChunksIterable(e)))));if(c.size===0)return false;if(c.size===1&&s.getNumberOfChunkModules(Array.from(c)[0])===n.length){const t=Array.from(c)[0];if(i.has(t))return false;i.add(t);p.set(t,e);return true}const u=t.addChunk();u.chunkReason="aggressive splitted";for(const e of c){n.forEach(moveModuleBetween(s,e,u));e.split(u);e.name=null}i.add(u);p.set(u,e);if(e.id!==null&&e.id!==undefined){u.id=e.id;u.ids=[e.id]}return true};let k=false;for(let e=0;e<_.length;e++){const t=_[e];if(applySplit(t))k=true}const E=u(s);const w=Array.from(n).sort(((e,t)=>{const n=s.getChunkModulesSize(t)-s.getChunkModulesSize(e);if(n)return n;const r=s.getNumberOfChunkModules(e)-s.getNumberOfChunkModules(t);if(r)return r;return E(e,t)}));for(const e of w){if(i.has(e))continue;const t=s.getChunkModulesSize(e);if(t>x&&s.getNumberOfChunkModules(e)>1){const t=s.getOrderedChunkModules(e,c).filter(isNotAEntryModule(s,e));const n=[];let i=0;for(let e=0;ex&&i>=b){break}i=s;n.push(r)}if(n.length===0)continue;const a={modules:n.map((e=>h.get(e))).sort(),size:i};if(applySplit(a)){r=(r||[]).concat(a);k=true}}}if(k)return true}));t.hooks.recordHash.tap("AggressiveSplittingPlugin",(e=>{const r=new Set;const i=new Set;for(const e of t.chunks){const t=p.get(e);if(t!==undefined){if(t.hash&&e.hash!==t.hash){i.add(t)}}}if(i.size>0){e.aggressiveSplits=e.aggressiveSplits.filter((e=>!i.has(e)));n=true}else{for(const e of t.chunks){const t=p.get(e);if(t!==undefined){t.hash=e.hash;t.id=e.id;r.add(t);d.add(e)}}const s=t.records&&t.records.aggressiveSplits;if(s){for(const e of s){if(!i.has(e))r.add(e)}}e.aggressiveSplits=Array.from(r);n=false}}));t.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(n){n=false;return true}}))}))}}e.exports=AggressiveSplittingPlugin},95734:(e,t,n)=>{"use strict";const r=n(19579);const{CachedSource:i,ConcatSource:s,ReplaceSource:a}=n(48135);const c=n(77294);const{UsageState:u}=n(76632);const l=n(53453);const d=n(76150);const p=n(58159);const h=n(37359);const m=n(3711);const{equals:g}=n(73910);const y=n(83379);const{concatComparators:_,keepOriginalOrder:b}=n(68673);const x=n(35891);const k=n(49197).contextify;const E=n(56202);const w=n(68038);const{filterRuntime:S,intersectRuntime:C,mergeRuntimeCondition:M,mergeRuntimeConditionNonFalse:I,runtimeConditionToString:P,subtractRuntimeCondition:T}=n(37416);const O=new Set([c.DEFAULT_EXPORT,c.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(e,t)=>{const n=e.sourceOrder;const r=t.sourceOrder;if(isNaN(n)){if(!isNaN(r)){return 1}}else{if(isNaN(r)){return-1}if(n!==r){return n{let t="";let n=true;for(const r of e){if(n){n=false}else{t+=", "}t+=r}return t};const getFinalBinding=(e,t,n,r,i,s,a,c,u,l,d,h=new Set)=>{const m=t.module.getExportsType(e,l);if(n.length===0){switch(m){case"default-only":t.interopNamespaceObject2Used=true;return{info:t,rawName:t.interopNamespaceObject2Name,ids:n,exportName:n};case"default-with-named":t.interopNamespaceObjectUsed=true;return{info:t,rawName:t.interopNamespaceObjectName,ids:n,exportName:n};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${m}`)}}else{switch(m){case"namespace":break;case"default-with-named":switch(n[0]){case"default":n=n.slice(1);break;case"__esModule":return{info:t,rawName:"/* __esModule */true",ids:n.slice(1),exportName:n}}break;case"default-only":{const e=n[0];if(e==="__esModule"){return{info:t,rawName:"/* __esModule */true",ids:n.slice(1),exportName:n}}n=n.slice(1);if(e!=="default"){return{info:t,rawName:"/* non-default import from default-exporting module */undefined",ids:n,exportName:n}}break}case"dynamic":switch(n[0]){case"default":{n=n.slice(1);t.interopDefaultAccessUsed=true;const e=u?`${t.interopDefaultAccessName}()`:d?`(${t.interopDefaultAccessName}())`:d===false?`;(${t.interopDefaultAccessName}())`:`${t.interopDefaultAccessName}.a`;return{info:t,rawName:e,ids:n,exportName:n}}case"__esModule":return{info:t,rawName:"/* __esModule */true",ids:n.slice(1),exportName:n}}break;default:throw new Error(`Unexpected exportsType ${m}`)}}if(n.length===0){switch(t.type){case"concatenated":c.add(t);return{info:t,rawName:t.namespaceObjectName,ids:n,exportName:n};case"external":return{info:t,rawName:t.name,ids:n,exportName:n}}}const y=e.getExportsInfo(t.module);const _=y.getExportInfo(n[0]);if(h.has(_)){return{info:t,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:n}}h.add(_);switch(t.type){case"concatenated":{const l=n[0];if(_.provided===false){c.add(t);return{info:t,rawName:t.namespaceObjectName,ids:n,exportName:n}}const p=t.exportMap&&t.exportMap.get(l);if(p){const e=y.getUsedName(n,i);if(!e){return{info:t,rawName:"/* unused export */ undefined",ids:n.slice(1),exportName:n}}return{info:t,name:p,ids:e.slice(1),exportName:n}}const m=t.rawExportMap&&t.rawExportMap.get(l);if(m){return{info:t,rawName:m,ids:n.slice(1),exportName:n}}const g=_.findTarget(e,(e=>r.has(e)));if(g===false){throw new Error(`Target module of reexport from '${t.module.readableIdentifier(s)}' is not part of the concatenation (export '${l}')\nModules in the concatenation:\n${Array.from(r,(([e,t])=>` * ${t.type} ${e.readableIdentifier(s)}`)).join("\n")}`)}if(g){const l=r.get(g.module);return getFinalBinding(e,l,g.export?[...g.export,...n.slice(1)]:n.slice(1),r,i,s,a,c,u,t.module.buildMeta.strictHarmonyModule,d,h)}if(t.namespaceExportSymbol){const e=y.getUsedName(n,i);return{info:t,rawName:t.namespaceObjectName,ids:e,exportName:n}}throw new Error(`Cannot get final name for export '${n.join(".")}' of ${t.module.readableIdentifier(s)}`)}case"external":{const e=y.getUsedName(n,i);if(!e){return{info:t,rawName:"/* unused export */ undefined",ids:n.slice(1),exportName:n}}const r=g(e,n)?"":p.toNormalComment(`${n.join(".")}`);return{info:t,rawName:t.name+r,ids:e,exportName:n}}}};const getFinalName=(e,t,n,r,i,s,a,c,u,l,d,p)=>{const h=getFinalBinding(e,t,n,r,i,s,a,c,u,d,p);{const{ids:e,comment:t}=h;let n;let r;if("rawName"in h){n=`${h.rawName}${t||""}${w(e)}`;r=e.length>0}else{const{info:i,name:a}=h;const c=i.internalNames.get(a);if(!c){throw new Error(`The export "${a}" in "${i.module.readableIdentifier(s)}" has no internal name (existing names: ${Array.from(i.internalNames,(([e,t])=>`${e}: ${t}`)).join(", ")||"none"})`)}n=`${c}${t||""}${w(e)}`;r=e.length>1}if(r&&u&&l===false){return p?`(0,${n})`:p===false?`;(0,${n})`:`Object(${n})`}return n}};const addScopeSymbols=(e,t,n,r)=>{let i=e;while(i){if(n.has(i))break;if(r.has(i))break;n.add(i);for(const e of i.variables){t.add(e.name)}i=i.upper}};const getAllReferences=e=>{let t=e.references;const n=new Set(e.identifiers);for(const r of e.scope.childScopes){for(const e of r.variables){if(e.identifiers.some((e=>n.has(e)))){t=t.concat(e.references);break}}}return t};const getPathInAst=(e,t)=>{if(e===t){return[]}const n=t.range;const enterNode=e=>{if(!e)return undefined;const r=e.range;if(r){if(r[0]<=n[0]&&r[1]>=n[1]){const n=getPathInAst(e,t);if(n){n.push(e);return n}}}return undefined};if(Array.isArray(e)){for(let t=0;t!(e instanceof h)||!this._modules.has(t.moduleGraph.getModule(e))))){this.dependencies.push(n)}for(const t of e.blocks){this.blocks.push(t)}const n=e.getWarnings();if(n!==undefined){for(const e of n){this.addWarning(e)}}const r=e.getErrors();if(r!==undefined){for(const e of r){this.addError(e)}}if(e.buildInfo.topLevelDeclarations){const t=this.buildInfo.topLevelDeclarations;if(t!==undefined){for(const n of e.buildInfo.topLevelDeclarations){if(O.has(n))continue;t.add(n)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(e.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,e.buildInfo.assets)}if(e.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[t,n]of e.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(t,n)}}}i()}size(e){let t=0;for(const n of this._modules){t+=n.size(e)}return t}_createConcatenationList(e,t,n,r){const i=[];const s=new Map;const getConcatenatedImports=t=>{let i=Array.from(r.getOutgoingConnections(t));if(t===e){for(const e of r.getOutgoingConnections(this))i.push(e)}const s=i.filter((e=>{if(!(e.dependency instanceof h))return false;return e&&e.resolvedOriginModule===t&&e.module&&e.isTargetActive(n)})).map((e=>({connection:e,sourceOrder:e.dependency.sourceOrder})));s.sort(_(bySourceOrder,b(s)));const a=new Map;for(const{connection:e}of s){const t=S(n,(t=>e.isTargetActive(t)));if(t===false)continue;const r=e.module;const i=a.get(r);if(i===undefined){a.set(r,{connection:e,runtimeCondition:t});continue}i.runtimeCondition=I(i.runtimeCondition,t,n)}return a.values()};const enterModule=(e,r)=>{const a=e.module;if(!a)return;const c=s.get(a);if(c===true){return}if(t.has(a)){s.set(a,true);if(r!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${a.identifier()} in ${this.rootModule.identifier()}, ${P(r)}). This should not happen.`)}const t=getConcatenatedImports(a);for(const{connection:e,runtimeCondition:n}of t)enterModule(e,n);i.push({type:"concatenated",module:e.module,runtimeCondition:r})}else{if(c!==undefined){const t=T(r,c,n);if(t===false)return;r=t;s.set(e.module,I(c,r,n))}else{s.set(e.module,r)}if(i.length>0){const t=i[i.length-1];if(t.type==="external"&&t.module===e.module){t.runtimeCondition=M(t.runtimeCondition,r,n);return}}i.push({type:"external",get module(){return e.module},runtimeCondition:r})}};s.set(e,true);const a=getConcatenatedImports(e);for(const{connection:e,runtimeCondition:t}of a)enterModule(e,t);i.push({type:"concatenated",module:e,runtimeCondition:true});return i}static _createIdentifier(e,t,n){const r=k.bindContextCache(e.context,n);let i=[];for(const e of t){i.push(r(e.identifier()))}i.sort();const s=x("md4");s.update(i.join(" "));return e.identifier()+"|"+s.digest("hex")}addCacheDependencies(e,t,n,r){for(const i of this._modules){i.addCacheDependencies(e,t,n,r)}}codeGeneration({dependencyTemplates:e,runtimeTemplate:t,moduleGraph:n,chunkGraph:r,runtime:a}){const l=new Set;const p=C(a,this._runtime);const h=t.requestShortener;const[m,g]=this._getModulesWithInfo(n,p);const y=new Set;for(const i of g.values()){this._analyseModule(g,i,e,t,n,r,p)}const _=new Set(O);const b=new Map;const getUsedNamesInScopeInfo=(e,t)=>{const n=`${e}-${t}`;let r=b.get(n);if(r===undefined){r={usedNames:new Set,alreadyCheckedScopes:new Set};b.set(n,r)}return r};const x=new Set;for(const e of m){if(e.type==="concatenated"){if(e.moduleScope){x.add(e.moduleScope)}const r=new WeakMap;const getSuperClassExpressions=e=>{const t=r.get(e);if(t!==undefined)return t;const n=[];for(const t of e.childScopes){if(t.type!=="class")continue;const e=t.block;if((e.type==="ClassDeclaration"||e.type==="ClassExpression")&&e.superClass){n.push({range:e.superClass.range,variables:t.variables})}}r.set(e,n);return n};if(e.globalScope){for(const r of e.globalScope.through){const i=r.identifier.name;if(c.isModuleReference(i)){const s=c.matchModuleReference(i);if(!s)continue;const a=m[s.index];if(a.type==="reference")throw new Error("Module reference can't point to a reference");const u=getFinalBinding(n,a,s.ids,g,p,h,t,y,false,e.module.buildMeta.strictHarmonyModule,true);if(!u.ids)continue;const{usedNames:l,alreadyCheckedScopes:d}=getUsedNamesInScopeInfo(u.info.module.identifier(),"name"in u?u.name:"");for(const e of getSuperClassExpressions(r.from)){if(e.range[0]<=r.identifier.range[0]&&e.range[1]>=r.identifier.range[1]){for(const t of e.variables){l.add(t.name)}}}addScopeSymbols(r.from,l,d,x)}else{_.add(i)}}}}}for(const e of g.values()){const{usedNames:t}=getUsedNamesInScopeInfo(e.module.identifier(),"");switch(e.type){case"concatenated":{for(const t of e.moduleScope.variables){const n=t.name;const{usedNames:r,alreadyCheckedScopes:i}=getUsedNamesInScopeInfo(e.module.identifier(),n);if(_.has(n)||r.has(n)){const s=getAllReferences(t);for(const e of s){addScopeSymbols(e.from,r,i,x)}const a=this.findNewName(n,_,r,e.module.readableIdentifier(h));_.add(a);e.internalNames.set(n,a);const c=e.source;const u=new Set(s.map((e=>e.identifier)).concat(t.identifiers));for(const t of u){const n=t.range;const r=getPathInAst(e.ast,t);if(r&&r.length>1){const e=r[1].type==="AssignmentPattern"&&r[1].left===r[0]?r[2]:r[1];if(e.type==="Property"&&e.shorthand){c.insert(n[1],`: ${a}`);continue}}c.replace(n[0],n[1]-1,a)}}else{_.add(n);e.internalNames.set(n,n)}}let n;if(e.namespaceExportSymbol){n=e.internalNames.get(e.namespaceExportSymbol)}else{n=this.findNewName("namespaceObject",_,t,e.module.readableIdentifier(h));_.add(n)}e.namespaceObjectName=n;break}case"external":{const n=this.findNewName("",_,t,e.module.readableIdentifier(h));_.add(n);e.name=n;break}}if(e.module.buildMeta.exportsType!=="namespace"){const n=this.findNewName("namespaceObject",_,t,e.module.readableIdentifier(h));_.add(n);e.interopNamespaceObjectName=n}if(e.module.buildMeta.exportsType==="default"&&e.module.buildMeta.defaultObject!=="redirect"){const n=this.findNewName("namespaceObject2",_,t,e.module.readableIdentifier(h));_.add(n);e.interopNamespaceObject2Name=n}if(e.module.buildMeta.exportsType==="dynamic"||!e.module.buildMeta.exportsType){const n=this.findNewName("default",_,t,e.module.readableIdentifier(h));_.add(n);e.interopDefaultAccessName=n}}for(const e of g.values()){if(e.type==="concatenated"){for(const r of e.globalScope.through){const i=r.identifier.name;const s=c.matchModuleReference(i);if(s){const i=m[s.index];if(i.type==="reference")throw new Error("Module reference can't point to a reference");const a=getFinalName(n,i,s.ids,g,p,h,t,y,s.call,!s.directImport,e.module.buildMeta.strictHarmonyModule,s.asiSafe);const c=r.identifier.range;const u=e.source;u.replace(c[0],c[1]+1,a)}}}}const k=new Map;const E=new Set;const w=g.get(this.rootModule);const S=w.module.buildMeta.strictHarmonyModule;const M=n.getExportsInfo(w.module);for(const e of M.orderedExports){const r=e.name;if(e.provided===false)continue;const i=e.getUsedName(undefined,p);if(!i){E.add(r);continue}k.set(i,(s=>{try{const i=getFinalName(n,w,[r],g,p,s,t,y,false,false,S,true);return`/* ${e.isReexport()?"reexport":"binding"} */ ${i}`}catch(e){e.message+=`\nwhile generating the root export '${r}' (used name: '${i}')`;throw e}}))}const I=new s;if(n.getExportsInfo(this).otherExportsInfo.getUsed(p)!==u.Unused){I.add(`// ESM COMPAT FLAG\n`);I.add(t.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:l}))}if(k.size>0){l.add(d.exports);l.add(d.definePropertyGetters);const e=[];for(const[n,r]of k){e.push(`\n ${JSON.stringify(n)}: ${t.returningFunction(r(h))}`)}I.add(`\n// EXPORTS\n`);I.add(`${d.definePropertyGetters}(${this.exportsArgument}, {${e.join(",")}\n});\n`)}if(E.size>0){I.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(E)}\n`)}const P=new Map;for(const e of y){if(e.namespaceExportSymbol)continue;const r=[];const i=n.getExportsInfo(e.module);for(const s of i.orderedExports){if(s.provided===false)continue;const i=s.getUsedName(undefined,p);if(i){const a=getFinalName(n,e,[s.name],g,p,h,t,y,false,undefined,e.module.buildMeta.strictHarmonyModule,true);r.push(`\n ${JSON.stringify(i)}: ${t.returningFunction(a)}`)}}const s=e.namespaceObjectName;const a=r.length>0?`${d.definePropertyGetters}(${s}, {${r.join(",")}\n});\n`:"";if(r.length>0)l.add(d.definePropertyGetters);P.set(e,`\n// NAMESPACE OBJECT: ${e.module.readableIdentifier(h)}\nvar ${s} = {};\n${d.makeNamespaceObject}(${s});\n${a}`);l.add(d.makeNamespaceObject)}for(const e of m){if(e.type==="concatenated"){const t=P.get(e);if(!t)continue;I.add(t)}}for(const e of m){let n;let i=false;const s=e.type==="reference"?e.target:e;switch(s.type){case"concatenated":{I.add(`\n;// CONCATENATED MODULE: ${s.module.readableIdentifier(h)}\n`);I.add(s.source);if(s.runtimeRequirements){for(const e of s.runtimeRequirements){l.add(e)}}n=s.namespaceObjectName;break}case"external":{I.add(`\n// EXTERNAL MODULE: ${s.module.readableIdentifier(h)}\n`);l.add(d.require);const{runtimeCondition:a}=e;const c=t.runtimeConditionExpression({chunkGraph:r,runtimeCondition:a,runtime:p,runtimeRequirements:l});if(c!=="true"){i=true;I.add(`if (${c}) {\n`)}I.add(`var ${s.name} = __webpack_require__(${JSON.stringify(r.getModuleId(s.module))});`);n=s.name;break}default:throw new Error(`Unsupported concatenation entry type ${s.type}`)}if(s.interopNamespaceObjectUsed){l.add(d.createFakeNamespaceObject);I.add(`\nvar ${s.interopNamespaceObjectName} = /*#__PURE__*/${d.createFakeNamespaceObject}(${n}, 2);`)}if(s.interopNamespaceObject2Used){l.add(d.createFakeNamespaceObject);I.add(`\nvar ${s.interopNamespaceObject2Name} = /*#__PURE__*/${d.createFakeNamespaceObject}(${n});`)}if(s.interopDefaultAccessUsed){l.add(d.compatGetDefaultExport);I.add(`\nvar ${s.interopDefaultAccessName} = /*#__PURE__*/${d.compatGetDefaultExport}(${n});`)}if(i){I.add("\n}")}}const T={sources:new Map([["javascript",new i(I)]]),runtimeRequirements:l};return T}_analyseModule(e,t,n,i,s,u,l){if(t.type==="concatenated"){const d=t.module;try{const p=new c(e,t);const h=d.codeGeneration({dependencyTemplates:n,runtimeTemplate:i,moduleGraph:s,chunkGraph:u,runtime:l,concatenationScope:p});const g=h.sources.get("javascript");const y=g.source().toString();let _;try{_=m._parse(y,{sourceType:"module"})}catch(e){if(e.loc&&typeof e.loc==="object"&&typeof e.loc.line==="number"){const t=e.loc.line;const n=y.split("\n");e.message+="\n| "+n.slice(Math.max(0,t-3),t+2).join("\n| ")}throw e}const b=r.analyze(_,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const x=b.acquire(_);const k=x.childScopes[0];const E=new a(g);t.runtimeRequirements=h.runtimeRequirements;t.ast=_;t.internalSource=g;t.source=E;t.globalScope=x;t.moduleScope=k}catch(e){e.message+=`\nwhile analysing module ${d.identifier()} for concatenation`;throw e}}}_getModulesWithInfo(e,t){const n=this._createConcatenationList(this.rootModule,this._modules,t,e);const r=new Map;const i=n.map(((e,t)=>{let n=r.get(e.module);if(n===undefined){switch(e.type){case"concatenated":n={type:"concatenated",module:e.module,index:t,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":n={type:"external",module:e.module,runtimeCondition:e.runtimeCondition,index:t,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${e.type}`)}r.set(n.module,n);return n}else{const t={type:"reference",runtimeCondition:e.runtimeCondition,target:n};return t}}));return[i,r]}findNewName(e,t,n,r){let i=e;if(i===c.DEFAULT_EXPORT){i=""}if(i===c.NAMESPACE_OBJECT_EXPORT){i="namespaceObject"}r=r.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const s=r.split("/");while(s.length){i=s.pop()+(i?"_"+i:"");const e=p.toIdentifier(i);if(!t.has(e)&&(!n||!n.has(e)))return e}let a=0;let u=p.toIdentifier(`${i}_${a}`);while(t.has(u)||n&&n.has(u)){a++;u=p.toIdentifier(`${i}_${a}`)}return u}updateHash(e,t){const{chunkGraph:n,runtime:r}=t;for(const i of this._createConcatenationList(this.rootModule,this._modules,C(r,this._runtime),n.moduleGraph)){switch(i.type){case"concatenated":i.module.updateHash(e,t);break;case"external":e.update(`${n.getModuleId(i.module)}`);break}}super.updateHash(e,t)}static deserialize(e){const t=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});t.deserialize(e);return t}}E(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");e.exports=ConcatenatedModule},38173:(e,t,n)=>{"use strict";const{STAGE_BASIC:r}=n(82414);class EnsureChunkConditionsPlugin{apply(e){e.hooks.compilation.tap("EnsureChunkConditionsPlugin",(e=>{const handler=t=>{const n=e.chunkGraph;const r=new Set;const i=new Set;for(const t of e.modules){for(const s of n.getModuleChunksIterable(t)){if(!t.chunkCondition(s,e)){r.add(s);for(const e of s.groupsIterable){i.add(e)}}}if(r.size===0)continue;const s=new Set;e:for(const n of i){for(const r of n.chunks){if(t.chunkCondition(r,e)){s.add(r);continue e}}if(n.isInitial()){throw new Error("Cannot fullfil chunk condition of "+t.identifier())}for(const e of n.parentsIterable){i.add(e)}}for(const e of r){n.disconnectChunkAndModule(e,t)}for(const e of s){n.connectChunkAndModule(e,t)}r.clear();i.clear()}};e.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:r},handler)}))}}e.exports=EnsureChunkConditionsPlugin},76627:e=>{"use strict";class FlagIncludedChunksPlugin{apply(e){e.hooks.compilation.tap("FlagIncludedChunksPlugin",(e=>{e.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(t=>{const n=e.chunkGraph;const r=new WeakMap;const i=e.modules.size;const s=1/Math.pow(1/i,1/31);const a=Array.from({length:31},((e,t)=>Math.pow(s,t)|0));let c=0;for(const t of e.modules){let e=30;while(c%a[e]!==0){e--}r.set(t,1<n.getNumberOfModuleChunks(t))i=t}e:for(const s of n.getModuleChunksIterable(i)){if(e===s)continue;const i=n.getNumberOfChunkModules(s);if(i===0)continue;if(r>i)continue;const a=u.get(s);if((a&t)!==t)continue;for(const t of n.getChunkModulesIterable(e)){if(!n.isModuleInChunk(t,s))continue e}s.ids.push(e.id)}}}))}))}}e.exports=FlagIncludedChunksPlugin},58018:(e,t,n)=>{"use strict";const{UsageState:r}=n(76632);const i=new WeakMap;const s=Symbol("top level symbol");function getState(e){return i.get(e)}t.bailout=e=>{i.set(e,false)};t.enable=e=>{const t=i.get(e);if(t===false){return}i.set(e,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};t.isEnabled=e=>{const t=i.get(e);return!!t};t.addUsage=(e,t,n)=>{const r=getState(e);if(r){const{innerGraph:e}=r;const i=e.get(t);if(n===true){e.set(t,true)}else if(i===undefined){e.set(t,new Set([n]))}else if(i!==true){i.add(n)}}};t.addVariableUsage=(e,n,r)=>{const i=e.getTagData(n,s)||t.tagTopLevelSymbol(e,n);if(i){t.addUsage(e.state,i,r)}};t.inferDependencyUsage=e=>{const t=getState(e);if(!t){return}const{innerGraph:n,usageCallbackMap:r}=t;const i=new Map;const s=new Set(n.keys());while(s.size>0){for(const e of s){let t=new Set;let r=true;const a=n.get(e);let c=i.get(e);if(c===undefined){c=new Set;i.set(e,c)}if(a!==true&&a!==undefined){for(const e of a){c.add(e)}for(const i of a){if(typeof i==="string"){t.add(i)}else{const s=n.get(i);if(s===true){t=true;break}if(s!==undefined){for(const n of s){if(n===e)continue;if(c.has(n))continue;t.add(n);if(typeof n!=="string"){r=false}}}}}if(t===true){n.set(e,true)}else if(t.size===0){n.set(e,undefined)}else{n.set(e,t)}}if(r){s.delete(e)}}}for(const[e,t]of r){const r=n.get(e);for(const e of t){e(r===undefined?false:r)}}};t.onUsage=(e,t)=>{const n=getState(e);if(n){const{usageCallbackMap:e,currentTopLevelSymbol:r}=n;if(r){let n=e.get(r);if(n===undefined){n=new Set;e.set(r,n)}n.add(t)}else{t(true)}}else{t(undefined)}};t.setTopLevelSymbol=(e,t)=>{const n=getState(e);if(n){n.currentTopLevelSymbol=t}};t.getTopLevelSymbol=e=>{const t=getState(e);if(t){return t.currentTopLevelSymbol}};t.tagTopLevelSymbol=(e,t)=>{const n=getState(e.state);if(!n)return;e.defineVariable(t);const r=e.getTagData(t,s);if(r){return r}const i=new TopLevelSymbol(t);e.tagVariable(t,s,i);return i};t.isDependencyUsedByExports=(e,t,n,i)=>{if(t===false)return false;if(t!==true&&t!==undefined){const s=n.getParentModule(e);const a=n.getExportsInfo(s);let c=false;for(const e of t){if(a.getUsed(e,i)!==r.Unused)c=true}if(!c)return false}return true};t.getDependencyUsedByExportsCondition=(e,t,n)=>{if(t===false)return false;if(t!==true&&t!==undefined){const i=n.getParentModule(e);const s=n.getExportsInfo(i);return(e,n)=>{for(const e of t){if(s.getUsed(e,n)!==r.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(e){this.name=e}}t.TopLevelSymbol=TopLevelSymbol;t.topLevelSymbolTag=s},10032:(e,t,n)=>{"use strict";const r=n(53567);const i=n(58018);const{topLevelSymbolTag:s}=i;class InnerGraphPlugin{apply(e){e.hooks.compilation.tap("InnerGraphPlugin",((e,{normalModuleFactory:t})=>{const n=e.getLogger("webpack.InnerGraphPlugin");e.dependencyTemplates.set(r,new r.Template);const handler=(e,t)=>{const onUsageSuper=t=>{i.onUsage(e.state,(n=>{switch(n){case undefined:case true:return;default:{const i=new r(t.range);i.loc=t.loc;i.usedByExports=n;e.state.module.addDependency(i);break}}}))};e.hooks.program.tap("InnerGraphPlugin",(()=>{i.enable(e.state)}));e.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!i.isEnabled(e.state))return;n.time("infer dependency usage");i.inferDependencyUsage(e.state);n.timeAggregate("infer dependency usage")}));const a=new WeakMap;const c=new WeakMap;const u=new WeakMap;const l=new WeakMap;const d=new WeakSet;e.hooks.preStatement.tap("InnerGraphPlugin",(t=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){if(t.type==="FunctionDeclaration"){const n=t.id?t.id.name:"*default*";const r=i.tagTopLevelSymbol(e,n);a.set(t,r);return true}}}));e.hooks.blockPreStatement.tap("InnerGraphPlugin",(t=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){if(t.type==="ClassDeclaration"){const n=t.id?t.id.name:"*default*";const r=i.tagTopLevelSymbol(e,n);u.set(t,r);return true}if(t.type==="ExportDefaultDeclaration"){const n="*default*";const r=i.tagTopLevelSymbol(e,n);const s=t.declaration;if(s.type==="ClassExpression"||s.type==="ClassDeclaration"){u.set(s,r)}else if(e.isPure(s,t.range[0])){a.set(t,r);if(!s.type.endsWith("FunctionExpression")&&!s.type.endsWith("Declaration")&&s.type!=="Literal"){c.set(t,s)}}}}}));e.hooks.preDeclarator.tap("InnerGraphPlugin",((t,n)=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true&&t.init&&t.id.type==="Identifier"){const n=t.id.name;if(t.init.type==="ClassExpression"){const r=i.tagTopLevelSymbol(e,n);u.set(t.init,r)}else if(e.isPure(t.init,t.id.range[1])){const r=i.tagTopLevelSymbol(e,n);l.set(t,r);if(!t.init.type.endsWith("FunctionExpression")&&t.init.type!=="Literal"){d.add(t)}return true}}}));e.hooks.statement.tap("InnerGraphPlugin",(t=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){i.setTopLevelSymbol(e.state,undefined);const n=a.get(t);if(n){i.setTopLevelSymbol(e.state,n);const s=c.get(t);if(s){i.onUsage(e.state,(n=>{switch(n){case undefined:case true:return;default:{const i=new r(s.range);i.loc=t.loc;i.usedByExports=n;e.state.module.addDependency(i);break}}}))}}}}));e.hooks.classExtendsExpression.tap("InnerGraphPlugin",((t,n)=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){const r=u.get(n);if(r&&e.isPure(t,n.id?n.id.range[1]:n.range[0])){i.setTopLevelSymbol(e.state,r);onUsageSuper(t)}}}));e.hooks.classBodyElement.tap("InnerGraphPlugin",((t,n)=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){const r=u.get(n);if(r){if(t.type==="MethodDefinition"){i.setTopLevelSymbol(e.state,r)}else if(t.type==="ClassProperty"&&!t.static){i.setTopLevelSymbol(e.state,r)}else{i.setTopLevelSymbol(e.state,undefined)}}}}));e.hooks.declarator.tap("InnerGraphPlugin",((t,n)=>{if(!i.isEnabled(e.state))return;const s=l.get(t);if(s){i.setTopLevelSymbol(e.state,s);if(d.has(t)){if(t.init.type==="ClassExpression"){if(t.init.superClass){onUsageSuper(t.init.superClass)}}else{i.onUsage(e.state,(n=>{switch(n){case undefined:case true:return;default:{const i=new r(t.init.range);i.loc=t.loc;i.usedByExports=n;e.state.module.addDependency(i);break}}}))}}e.walkExpression(t.init);i.setTopLevelSymbol(e.state,undefined);return true}}));e.hooks.expression.for(s).tap("InnerGraphPlugin",(()=>{const t=e.currentTagData;const n=i.getTopLevelSymbol(e.state);i.addUsage(e.state,t,n||true)}));e.hooks.assign.for(s).tap("InnerGraphPlugin",(t=>{if(!i.isEnabled(e.state))return;if(t.operator==="=")return true}))};t.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);t.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);e.hooks.finishModules.tap("InnerGraphPlugin",(()=>{n.timeAggregateEnd("infer dependency usage")}))}))}}e.exports=InnerGraphPlugin},92922:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(97350);const{STAGE_ADVANCED:s}=n(82414);const a=n(37496);const{compareChunks:c}=n(68673);const addToSetMap=(e,t,n)=>{const r=e.get(t);if(r===undefined){e.set(t,new Set([n]))}else{r.add(n)}};class LimitChunkCountPlugin{constructor(e){r(i,e,{name:"Limit Chunk Count Plugin",baseDataPath:"options"});this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("LimitChunkCountPlugin",(e=>{e.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:s},(n=>{const r=e.chunkGraph;const i=t.maxChunks;if(!i)return;if(i<1)return;if(e.chunks.size<=i)return;let s=e.chunks.size-i;const u=c(r);const l=Array.from(n).sort(u);const d=new a((e=>e.sizeDiff),((e,t)=>t-e),(e=>e.integratedSize),((e,t)=>e-t),(e=>e.bIdx-e.aIdx),((e,t)=>e-t),((e,t)=>e.bIdx-t.bIdx));const p=new Map;l.forEach(((e,n)=>{for(let i=0;i0){const e=new Set(i.groupsIterable);for(const t of a.groupsIterable){e.add(t)}for(const t of e){for(const e of h){if(e!==i&&e!==a&&e.isInGroup(t)){s--;if(s<=0)break e;h.add(i);h.add(a);continue e}}for(const n of t.parentsIterable){e.add(n)}}}if(i.integrate(a,"limit")){e.chunks.delete(a);h.add(i);m=true;s--;if(s<=0)break;for(const e of p.get(i)){if(e.deleted)continue;e.deleted=true;d.delete(e)}for(const e of p.get(a)){if(e.deleted)continue;if(e.a===a){if(!r.canChunksBeIntegrated(i,e.b)){e.deleted=true;d.delete(e);continue}const n=i.integratedSize(e.b,t);const s=d.startUpdate(e);e.a=i;e.integratedSize=n;e.aSize=c;e.sizeDiff=e.bSize+c-n;s()}else if(e.b===a){if(!r.canChunksBeIntegrated(e.a,i)){e.deleted=true;d.delete(e);continue}const n=e.a.integratedSize(i,t);const s=d.startUpdate(e);e.b=i;e.integratedSize=n;e.bSize=c;e.sizeDiff=c+e.aSize-n;s()}}p.set(i,p.get(a));p.delete(a)}}if(m)return true}))}))}}e.exports=LimitChunkCountPlugin},41694:(e,t,n)=>{"use strict";const{UsageState:r}=n(76632);const{numberToIdentifier:i,NUMBER_OF_IDENTIFIER_START_CHARS:s,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:a}=n(58159);const{assignDeterministicIds:c}=n(30328);const{compareSelect:u,compareStringsNumeric:l}=n(68673);const canMangle=e=>{if(e.otherExportsInfo.getUsed(undefined)!==r.Unused)return false;let t=false;for(const n of e.exports){if(n.canMangle===true){t=true}}return t};const d=u((e=>e.name),l);const mangleExportsInfo=(e,t)=>{if(!canMangle(t))return;const n=new Set;const u=[];for(const i of t.ownedExports){const t=i.name;if(!i.hasUsedName()){if(i.canMangle!==true||t.length===1&&/^[a-zA-Z0-9_$]/.test(t)||e&&t.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(t)||i.provided!==true){i.setUsedName(t);n.add(t)}else{u.push(i)}}if(i.exportsInfoOwned){const t=i.getUsed(undefined);if(t===r.OnlyPropertiesUsed||t===r.Unused){mangleExportsInfo(e,i.exportsInfo)}}}if(e){c(u,(e=>e.name),d,((e,t)=>{const r=i(t);const s=n.size;n.add(r);if(s===n.size)return false;e.setUsedName(r);return true}),[s,s*a],a,n.size)}else{const e=[];const t=[];for(const n of u){if(n.getUsed(undefined)===r.Unused){t.push(n)}else{e.push(n)}}e.sort(d);t.sort(d);let s=0;for(const r of[e,t]){for(const e of r){let t;do{t=i(s++)}while(n.has(t));e.setUsedName(t)}}}};class MangleExportsPlugin{constructor(e){this._deterministic=e}apply(e){const{_deterministic:t}=this;e.hooks.compilation.tap("MangleExportsPlugin",(e=>{const n=e.moduleGraph;e.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(e=>{for(const r of e){const e=n.getExportsInfo(r);mangleExportsInfo(t,e)}}))}))}}e.exports=MangleExportsPlugin},70026:(e,t,n)=>{"use strict";const{STAGE_BASIC:r}=n(82414);const{runtimeEqual:i}=n(37416);class MergeDuplicateChunksPlugin{apply(e){e.hooks.compilation.tap("MergeDuplicateChunksPlugin",(e=>{e.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:r},(t=>{const{chunkGraph:n,moduleGraph:r}=e;const s=new Set;for(const a of t){let t;for(const e of n.getChunkModulesIterable(a)){if(t===undefined){for(const r of n.getModuleChunksIterable(e)){if(r!==a&&n.getNumberOfChunkModules(a)===n.getNumberOfChunkModules(r)&&!s.has(r)){if(t===undefined){t=new Set}t.add(r)}}if(t===undefined)break}else{for(const r of t){if(!n.isModuleInChunk(e,r)){t.delete(r)}}if(t.size===0)break}}if(t!==undefined&&t.size>0){e:for(const s of t){if(s.hasRuntime()!==a.hasRuntime())continue;if(n.getNumberOfEntryModules(a)>0)continue;if(n.getNumberOfEntryModules(s)>0)continue;if(!i(a.runtime,s.runtime)){for(const e of n.getChunkModulesIterable(a)){const t=r.getExportsInfo(e);if(!t.isEquallyUsed(a.runtime,s.runtime)){continue e}}}if(n.canChunksBeIntegrated(a,s)){n.integrateChunks(a,s);e.chunks.delete(s)}}}s.add(a)}}))}))}}e.exports=MergeDuplicateChunksPlugin},52383:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(84796);const{STAGE_ADVANCED:s}=n(82414);class MinChunkSizePlugin{constructor(e){r(i,e,{name:"Min Chunk Size Plugin",baseDataPath:"options"});this.options=e}apply(e){const t=this.options;const n=t.minChunkSize;e.hooks.compilation.tap("MinChunkSizePlugin",(e=>{e.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:s},(r=>{const i=e.chunkGraph;const s={chunkOverhead:1,entryChunkMultiplicator:1};const a=new Map;const c=[];const u=[];const l=[];for(const e of r){if(i.getChunkSize(e,s){const n=a.get(e[0]);const r=a.get(e[1]);const s=i.getIntegratedChunksSize(e[0],e[1],t);const c=[n+r-s,s,e[0],e[1]];return c})).sort(((e,t)=>{const n=t[0]-e[0];if(n!==0)return n;return e[1]-t[1]}));if(d.length===0)return;const p=d[0];i.integrateChunks(p[2],p[3]);e.chunks.delete(p[3]);return true}))}))}}e.exports=MinChunkSizePlugin},1697:(e,t,n)=>{"use strict";const r=n(9192);const i=n(81627);class MinMaxSizeWarning extends i{constructor(e,t,n){let i="Fallback cache group";if(e){i=e.length>1?`Cache groups ${e.sort().join(", ")}`:`Cache group ${e[0]}`}super(`SplitChunksPlugin\n`+`${i}\n`+`Configured minSize (${r.formatSize(t)}) is `+`bigger than maxSize (${r.formatSize(n)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}e.exports=MinMaxSizeWarning},35442:(e,t,n)=>{"use strict";const r=n(62355);const i=n(45137);const s=n(75412);const{STAGE_DEFAULT:a}=n(82414);const c=n(37359);const{compareModulesByIdentifier:u}=n(68673);const{intersectRuntime:l,mergeRuntimeOwned:d,filterRuntime:p,runtimeToString:h,mergeRuntime:m}=n(37416);const g=n(95734);const formatBailoutReason=e=>"ModuleConcatenation bailout: "+e;class ModuleConcatenationPlugin{constructor(e){if(typeof e!=="object")e={};this.options=e}apply(e){e.hooks.compilation.tap("ModuleConcatenationPlugin",(t=>{const n=t.moduleGraph;const u=new Map;const setBailoutReason=(e,t)=>{setInnerBailoutReason(e,t);n.getOptimizationBailout(e).push(typeof t==="function"?e=>formatBailoutReason(t(e)):formatBailoutReason(t))};const setInnerBailoutReason=(e,t)=>{u.set(e,t)};const getInnerBailoutReason=(e,t)=>{const n=u.get(e);if(typeof n==="function")return n(t);return n};const formatBailoutWarning=(e,t)=>n=>{if(typeof t==="function"){return formatBailoutReason(`Cannot concat with ${e.readableIdentifier(n)}: ${t(n)}`)}const r=getInnerBailoutReason(e,n);const i=r?`: ${r}`:"";if(e===t){return formatBailoutReason(`Cannot concat with ${e.readableIdentifier(n)}${i}`)}else{return formatBailoutReason(`Cannot concat with ${e.readableIdentifier(n)} because of ${t.readableIdentifier(n)}${i}`)}};t.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:a},((n,a,u)=>{const l=t.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:h,moduleGraph:m}=t;const y=[];const _=new Set;const b={chunkGraph:h,moduleGraph:m};l.time("select relevant modules");for(const e of a){let t=true;let n=true;const r=e.getConcatenationBailoutReason(b);if(r){setBailoutReason(e,r);continue}if(m.isAsync(e)){setBailoutReason(e,`Module is async`);continue}if(!e.buildInfo.strict){setBailoutReason(e,`Module is not in strict mode`);continue}if(h.getNumberOfModuleChunks(e)===0){setBailoutReason(e,"Module is not in any chunk");continue}const i=m.getExportsInfo(e);const s=i.getRelevantExports(undefined);const a=s.filter((e=>e.isReexport()&&!e.getTarget(m)));if(a.length>0){setBailoutReason(e,`Reexports in this module do not have a static target (${Array.from(a,(e=>`${e.name||"other exports"}: ${e.getUsedInfo()}`)).join(", ")})`);continue}const c=s.filter((e=>e.provided!==true));if(c.length>0){setBailoutReason(e,`List of module exports is dynamic (${Array.from(c,(e=>`${e.name||"other exports"}: ${e.getProvidedInfo()} and ${e.getUsedInfo()}`)).join(", ")})`);t=false}if(h.isEntryModule(e)){setInnerBailoutReason(e,"Module is an entry point");n=false}if(t)y.push(e);if(n)_.add(e)}l.timeEnd("select relevant modules");l.debug(`${y.length} potential root modules, ${_.size} potential inner modules`);l.time("sort relevant modules");y.sort(((e,t)=>m.getDepth(e)-m.getDepth(t)));l.timeEnd("sort relevant modules");const x={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let k=0;let E=0;let w=0;l.time("find modules to concatenate");const S=[];const C=new Set;for(const e of y){if(C.has(e))continue;let n=undefined;for(const t of h.getModuleRuntimes(e)){n=d(n,t)}const r=m.getExportsInfo(e);const i=p(n,(e=>r.isModuleUsed(e)));const s=i===true?n:i===false?undefined:i;const a=new ConcatConfiguration(e,s);const c=new Map;const u=new Set;for(const n of this._getImports(t,e,s)){u.add(n)}for(const e of u){const r=new Set;const i=this._tryToAdd(t,a,e,n,s,_,r,c,h,true,x);if(i){c.set(e,i);a.addWarning(e,i)}else{for(const e of r){u.add(e)}}}k+=u.size;if(!a.isEmpty()){const e=a.getModules();E+=e.size;S.push(a);for(const t of e){if(t!==a.rootModule){C.add(t)}}}else{w++;const t=m.getOptimizationBailout(e);for(const e of a.getWarningsSorted()){t.push(formatBailoutWarning(e[0],e[1]))}}}l.timeEnd("find modules to concatenate");l.debug(`${S.length} successful concat configurations (avg size: ${E/S.length}), ${w} bailed out completely`);l.debug(`${k} candidates were considered for adding (${x.cached} cached failure, ${x.alreadyInConfig} already in config, ${x.invalidModule} invalid module, ${x.incorrectChunks} incorrect chunks, ${x.incorrectDependency} incorrect dependency, ${x.incorrectChunksOfImporter} incorrect chunks of importer, ${x.incorrectModuleDependency} incorrect module dependency, ${x.incorrectRuntimeCondition} incorrect runtime condition, ${x.importerFailed} importer failed, ${x.added} added)`);l.time(`sort concat configurations`);S.sort(((e,t)=>t.modules.size-e.modules.size));l.timeEnd(`sort concat configurations`);const M=new Set;l.time("create concatenated modules");r.each(S,((n,r)=>{const a=n.rootModule;if(M.has(a))return r();const u=n.getModules();for(const e of u){M.add(e)}let l=g.create(a,u,n.runtime,e.root);const build=()=>{l.build(e.options,t,null,null,(e=>{if(e){if(!e.module){e.module=l}return r(e)}integrate()}))};const integrate=()=>{i.setChunkGraphForModule(l,h);s.setModuleGraphForModule(l,m);for(const e of n.getWarningsSorted()){m.getOptimizationBailout(l).push(formatBailoutWarning(e[0],e[1]))}m.cloneModuleAttributes(a,l);for(const e of u){if(t.builtModules.has(e)){t.builtModules.add(l)}if(e!==a){m.copyOutgoingModuleConnections(e,l,(t=>t.originModule===e&&!(t.dependency instanceof c&&u.has(t.module))));for(const t of h.getModuleChunksIterable(a)){h.disconnectChunkAndModule(t,e)}}}t.modules.delete(a);i.clearChunkGraphForModule(a);s.clearModuleGraphForModule(a);h.replaceModule(a,l);m.moveModuleConnections(a,l,(e=>{const t=e.module===a?e.originModule:e.module;const n=e.dependency instanceof c&&u.has(t);return!n}));t.modules.add(l);r()};build()}),(e=>{l.timeEnd("create concatenated modules");process.nextTick((()=>u(e)))}))}))}))}_getImports(e,t,n){const r=e.moduleGraph;const i=new Set;for(const s of t.dependencies){if(!(s instanceof c))continue;const a=r.getConnection(s);if(!a||!a.module||!a.isTargetActive(n)){continue}const u=e.getDependencyReferencedExports(s,undefined);if(u.every((e=>Array.isArray(e)?e.length>0:e.name.length>0))||Array.isArray(r.getProvidedExports(t))){i.add(a.module)}}return i}_tryToAdd(e,t,n,r,i,s,a,g,y,_,b){const x=g.get(n);if(x){b.cached++;return x}if(t.has(n)){b.alreadyInConfig++;return null}if(!s.has(n)){b.invalidModule++;g.set(n,n);return n}const k=Array.from(y.getModuleChunksIterable(t.rootModule)).filter((e=>!y.isModuleInChunk(n,e)));if(k.length>0){const problem=e=>{const t=Array.from(new Set(k.map((e=>e.name||"unnamed chunk(s)")))).sort();const r=Array.from(new Set(Array.from(y.getModuleChunksIterable(n)).map((e=>e.name||"unnamed chunk(s)")))).sort();return`Module ${n.readableIdentifier(e)} is not in the same chunk(s) (expected in chunk(s) ${t.join(", ")}, module is in chunk(s) ${r.join(", ")})`};b.incorrectChunks++;g.set(n,problem);return problem}const E=e.moduleGraph;const w=E.getIncomingConnectionsByOriginModule(n);const S=w.get(null)||w.get(undefined);if(S){const e=S.filter((e=>e.isActive(r)||e.dependency));if(e.length>0){const problem=t=>{const r=new Set(e.map((e=>e.explanation)).filter(Boolean));const i=Array.from(r).sort();return`Module ${n.readableIdentifier(t)} is referenced ${i.length>0?`by: ${i.join(", ")}`:"in an unsupported way"}`};b.incorrectDependency++;g.set(n,problem);return problem}}const C=new Map;for(const[e,t]of w){if(e){if(y.getNumberOfModuleChunks(e)===0)continue;let n=undefined;for(const t of y.getModuleRuntimes(e)){n=d(n,t)}if(!l(r,n))continue;const i=t.filter((e=>e.isActive(r)));if(i.length>0)C.set(e,i)}}const M=Array.from(C.keys());const I=M.filter((e=>{for(const n of y.getModuleChunksIterable(t.rootModule)){if(!y.isModuleInChunk(e,n)){return true}}return false}));if(I.length>0){const problem=e=>{const t=I.map((t=>t.readableIdentifier(e))).sort();return`Module ${n.readableIdentifier(e)} is referenced from different chunks by these modules: ${t.join(", ")}`};b.incorrectChunksOfImporter++;g.set(n,problem);return problem}const P=new Map;for(const[e,t]of C){const n=t.filter((e=>!e.dependency||!(e.dependency instanceof c)));if(n.length>0)P.set(e,t)}if(P.size>0){const problem=e=>{const t=Array.from(P).map((([t,n])=>`${t.readableIdentifier(e)} (referenced with ${Array.from(new Set(n.map((e=>e.dependency&&e.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${n.readableIdentifier(e)} is referenced from these modules with unsupported syntax: ${t.join(", ")}`};b.incorrectModuleDependency++;g.set(n,problem);return problem}if(r!==undefined&&typeof r!=="string"){const e=[];e:for(const[t,n]of C){let i=false;for(const e of n){const t=p(r,(t=>e.isTargetActive(t)));if(t===false)continue;if(t===true)continue e;if(i!==false){i=m(i,t)}else{i=t}}if(i!==false){e.push({originModule:t,runtimeCondition:i})}}if(e.length>0){const problem=t=>`Module ${n.readableIdentifier(t)} is runtime-dependent referenced by these modules: ${Array.from(e,(({originModule:e,runtimeCondition:n})=>`${e.readableIdentifier(t)} (expected runtime ${h(r)}, module is only referenced in ${h(n)})`)).join(", ")}`;b.incorrectRuntimeCondition++;g.set(n,problem);return problem}}let T;if(_){T=t.snapshot()}t.add(n);M.sort(u);for(const c of M){const u=this._tryToAdd(e,t,c,r,i,s,a,g,y,false,b);if(u){if(T!==undefined)t.rollback(T);b.importerFailed++;g.set(n,u);return u}}for(const t of this._getImports(e,n,r)){a.add(t)}b.added++;return null}}class ConcatConfiguration{constructor(e,t){this.rootModule=e;this.runtime=t;this.modules=new Set;this.modules.add(e);this.warnings=new Map}add(e){this.modules.add(e)}has(e){return this.modules.has(e)}isEmpty(){return this.modules.size===1}addWarning(e,t){this.warnings.set(e,t)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((e,t)=>{const n=e[0].identifier();const r=t[0].identifier();if(nr)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(e){const t=this.modules;for(const n of t){if(e===0){t.delete(n)}else{e--}}}}e.exports=ModuleConcatenationPlugin},30699:(e,t,n)=>{"use strict";const{SyncBailHook:r}=n(92960);const{RawSource:i,CachedSource:s,CompatSource:a}=n(48135);const c=n(3080);const u=n(81627);const{compareSelect:l,compareStrings:d}=n(68673);const p=n(35891);const h=new Set;const addToList=(e,t)=>{if(Array.isArray(e)){for(const n of e){t.add(n)}}else if(e){t.add(e)}};const mapAndDeduplicateBuffers=(e,t)=>{const n=[];e:for(const r of e){const e=t(r);for(const t of n){if(e.equals(t))continue e}n.push(e)}return n};const quoteMeta=e=>e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const m=new WeakMap;const toCachedSource=e=>{if(e instanceof s){return e}const t=m.get(e);if(t!==undefined)return t;const n=new s(a.from(e));m.set(e,n);return n};const g=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(e){if(!(e instanceof c)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=g.get(e);if(t===undefined){t={updateHash:new r(["content","oldHash"])};g.set(e,t)}return t}constructor({hashFunction:e,hashDigest:t}){this._hashFunction=e;this._hashDigest=t}apply(e){e.hooks.compilation.tap("RealContentHashPlugin",(e=>{const t=e.getCache("RealContentHashPlugin|analyse");const n=e.getCache("RealContentHashPlugin|generate");const r=RealContentHashPlugin.getCompilationHooks(e);e.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:c.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const s=e.getAssets();const a=[];const c=new Map;for(const{source:e,info:t,name:n}of s){const r=toCachedSource(e);const i=r.source();const s=new Set;addToList(t.contenthash,s);const u={name:n,info:t,source:r,newSource:undefined,newSourceWithoutOwn:undefined,content:i,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:s};a.push(u);for(const e of s){const t=c.get(e);if(t===undefined){c.set(e,[u])}else{t.push(u)}}}if(c.size===0)return;const m=new RegExp(Array.from(c.keys(),quoteMeta).join("|"),"g");await Promise.all(a.map((async e=>{const{name:n,source:r,content:i,hashes:s}=e;if(Buffer.isBuffer(i)){e.referencedHashes=h;e.ownHashes=h;return}const a=t.mergeEtags(t.getLazyHashedEtag(r),Array.from(s).join("|"));[e.referencedHashes,e.ownHashes]=await t.providePromise(n,a,(()=>{const e=new Set;let t=new Set;const n=i.match(m);if(n){for(const r of n){if(s.has(r)){t.add(r);continue}e.add(r)}}return[e,t]}))})));const getDependencies=t=>{const n=c.get(t);if(!n){const n=a.filter((e=>e.referencedHashes.has(t)));const r=new u(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${t}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${n.map((e=>{const n=new RegExp(`.{0,20}${quoteMeta(t)}.{0,20}`).exec(e.content);return` - ${e.name}: ...${n?n[0]:"???"}...`})).join("\n")}`);e.errors.push(r);return undefined}const r=new Set;for(const{referencedHashes:e,ownHashes:i}of n){if(!i.has(t)){for(const e of i){r.add(e)}}for(const t of e){r.add(t)}}return r};const hashInfo=e=>{const t=c.get(e);return`${e} (${Array.from(t,(e=>e.name))})`};const g=new Set;for(const e of c.keys()){const add=(e,t)=>{const n=getDependencies(e);if(!n)return;t.add(e);for(const e of n){if(g.has(e))continue;if(t.has(e)){throw new Error(`Circular hash dependency ${Array.from(t,hashInfo).join(" -> ")} -> ${hashInfo(e)}`)}add(e,t)}g.add(e);t.delete(e)};if(g.has(e))continue;add(e,new Set)}const y=new Map;const getEtag=e=>n.mergeEtags(n.getLazyHashedEtag(e.source),Array.from(e.referencedHashes,(e=>y.get(e))).join("|"));const computeNewContent=e=>{if(e.contentComputePromise)return e.contentComputePromise;return e.contentComputePromise=(async()=>{if(e.ownHashes.size>0||Array.from(e.referencedHashes).some((e=>y.get(e)!==e))){const t=e.name;const r=getEtag(e);e.newSource=await n.providePromise(t,r,(()=>{const t=e.content.replace(m,(e=>y.get(e)));return new i(t)}))}})()};const computeNewContentWithoutOwn=e=>{if(e.contentComputeWithoutOwnPromise)return e.contentComputeWithoutOwnPromise;return e.contentComputeWithoutOwnPromise=(async()=>{if(e.ownHashes.size>0||Array.from(e.referencedHashes).some((e=>y.get(e)!==e))){const t=e.name+"|without-own";const r=getEtag(e);e.newSourceWithoutOwn=await n.providePromise(t,r,(()=>{const t=e.content.replace(m,(t=>{if(e.ownHashes.has(t)){return""}return y.get(t)}));return new i(t)}))}})()};const _=l((e=>e.name),d);for(const e of g){const t=c.get(e);t.sort(_);const n=p(this._hashFunction);await Promise.all(t.map((t=>t.ownHashes.has(e)?computeNewContentWithoutOwn(t):computeNewContent(t))));const i=mapAndDeduplicateBuffers(t,(t=>{if(t.ownHashes.has(e)){return t.newSourceWithoutOwn?t.newSourceWithoutOwn.buffer():t.source.buffer()}else{return t.newSource?t.newSource.buffer():t.source.buffer()}}));let s=r.updateHash.call(i,e);if(!s){for(const e of i){n.update(e)}const t=n.digest(this._hashDigest);s=t.slice(0,e.length)}y.set(e,s)}await Promise.all(a.map((async t=>{await computeNewContent(t);const n=t.name.replace(m,(e=>y.get(e)));const r={};const i=t.info.contenthash;r.contenthash=Array.isArray(i)?i.map((e=>y.get(e))):y.get(i);if(t.newSource!==undefined){e.updateAsset(t.name,t.newSource,r)}else{e.updateAsset(t.name,t.source,r)}if(t.name!==n){e.renameAsset(t.name,n)}})))}))}))}}e.exports=RealContentHashPlugin},62665:(e,t,n)=>{"use strict";const{STAGE_BASIC:r,STAGE_ADVANCED:i}=n(82414);class RemoveEmptyChunksPlugin{apply(e){e.hooks.compilation.tap("RemoveEmptyChunksPlugin",(e=>{const handler=t=>{const n=e.chunkGraph;for(const r of t){if(n.getNumberOfChunkModules(r)===0&&!r.hasRuntime()&&n.getNumberOfEntryModules(r)===0){e.chunkGraph.disconnectChunk(r);e.chunks.delete(r)}}};e.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:r},handler);e.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:i},handler)}))}}e.exports=RemoveEmptyChunksPlugin},78016:(e,t,n)=>{"use strict";const{STAGE_BASIC:r}=n(82414);const i=n(39541);const{intersect:s}=n(26221);class RemoveParentModulesPlugin{apply(e){e.hooks.compilation.tap("RemoveParentModulesPlugin",(e=>{const handler=(t,n)=>{const r=e.chunkGraph;const a=new i;const c=new WeakMap;for(const t of e.entrypoints.values()){c.set(t,new Set);for(const e of t.childrenIterable){a.enqueue(e)}}for(const t of e.asyncEntrypoints){c.set(t,new Set);for(const e of t.childrenIterable){a.enqueue(e)}}while(a.length>0){const e=a.dequeue();let t=c.get(e);let n=false;for(const i of e.parentsIterable){const s=c.get(i);if(s!==undefined){if(t===undefined){t=new Set(s);for(const e of i.chunks){for(const n of r.getChunkModulesIterable(e)){t.add(n)}}c.set(e,t);n=true}else{for(const e of t){if(!r.isModuleInChunkGroup(e,i)&&!s.has(e)){t.delete(e);n=true}}}}}if(n){for(const t of e.childrenIterable){a.enqueue(t)}}}for(const e of t){const t=Array.from(e.groupsIterable,(e=>c.get(e)));if(t.some((e=>e===undefined)))continue;const n=t.length===1?t[0]:s(t);const i=r.getNumberOfChunkModules(e);const a=new Set;if(i{"use strict";class RuntimeChunkPlugin{constructor(e){this.options={name:e=>`runtime~${e.name}`,...e}}apply(e){e.hooks.thisCompilation.tap("RuntimeChunkPlugin",(e=>{e.hooks.addEntry.tap("RuntimeChunkPlugin",((t,{name:n})=>{if(n===undefined)return;const r=e.entries.get(n);if(!r.options.runtime&&!r.options.dependOn){let e=this.options.name;if(typeof e==="function"){e=e({name:n})}r.options.runtime=e}}))}))}}e.exports=RuntimeChunkPlugin},63410:(e,t,n)=>{"use strict";const r=n(70554);const{STAGE_DEFAULT:i}=n(82414);const s=n(44576);const a=n(2230);const c=n(72380);const u=new WeakMap;const globToRegexp=(e,t)=>{const n=t.get(e);if(n!==undefined)return n;if(!e.includes("/")){e=`**/${e}`}const i=r(e,{globstar:true,extended:true});const s=i.source;const a=new RegExp("^(\\./)?"+s.slice(1));t.set(e,a);return a};class SideEffectsFlagPlugin{constructor(e=true){this._analyseSource=e}apply(e){let t=u.get(e.root);if(t===undefined){t=new Map;u.set(e.root,t)}e.hooks.compilation.tap("SideEffectsFlagPlugin",((e,{normalModuleFactory:n})=>{const r=e.moduleGraph;n.hooks.module.tap("SideEffectsFlagPlugin",((e,n)=>{const r=n.resourceResolveData;if(r&&r.descriptionFileData&&r.relativePath){const n=r.descriptionFileData.sideEffects;if(n!==undefined){if(e.factoryMeta===undefined){e.factoryMeta={}}const i=SideEffectsFlagPlugin.moduleHasSideEffects(r.relativePath,n,t);e.factoryMeta.sideEffectFree=!i}}return e}));n.hooks.module.tap("SideEffectsFlagPlugin",((e,t)=>{if(typeof t.settings.sideEffects==="boolean"){if(e.factoryMeta===undefined){e.factoryMeta={}}e.factoryMeta.sideEffectFree=!t.settings.sideEffects}return e}));if(this._analyseSource){const parserHandler=e=>{let t;e.hooks.program.tap("SideEffectsFlagPlugin",(()=>{t=undefined}));e.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(n=>{if(t)return;if(e.scope.topLevelScope!==true)return;switch(n.type){case"ExpressionStatement":if(!e.isPure(n.expression,n.range[0])){t=n}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!e.isPure(n.test,n.range[0])){t=n}break;case"ForStatement":if(!e.isPure(n.init,n.range[0])||!e.isPure(n.test,n.init?n.init.range[1]:n.range[0])||!e.isPure(n.update,n.test?n.test.range[1]:n.init?n.init.range[1]:n.range[0])){t=n}break;case"SwitchStatement":if(!e.isPure(n.discriminant,n.range[0])){t=n}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!e.isPure(n,n.range[0])){t=n}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!e.isPure(n.declaration,n.range[0])){t=n}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:t=n;break}}));e.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(t===undefined){e.state.module.buildMeta.sideEffectFree=true}else{const{loc:n,type:i}=t;r.getOptimizationBailout(e.state.module).push((()=>`Statement (${i}) with side effects in source code at ${c(n)}`))}}))};for(const e of["javascript/auto","javascript/esm","javascript/dynamic"]){n.hooks.parser.for(e).tap("SideEffectsFlagPlugin",parserHandler)}}e.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:i},(t=>{const n=e.getLogger("webpack.SideEffectsFlagPlugin");n.time("update dependencies");for(const e of t){if(e.getSideEffectsConnectionState(r)===false){const t=r.getExportsInfo(e);for(const n of r.getIncomingConnections(e)){const e=n.dependency;let i;if((i=e instanceof s)||e instanceof a&&!e.namespaceObjectAsContext){if(i&&e.name){const t=r.getExportInfo(n.originModule,e.name);t.moveTarget(r,(({module:e})=>e.getSideEffectsConnectionState(r)===false),(({module:t,export:n})=>{r.updateModule(e,t);r.addExplanation(e,"(skipped side-effect-free modules)");const i=e.getIds(r);e.setIds(r,n?[...n,...i.slice(1)]:i.slice(1));return r.getConnection(e)}));continue}const s=e.getIds(r);if(s.length>0){const n=t.getExportInfo(s[0]);const i=n.getTarget(r,(({module:e})=>e.getSideEffectsConnectionState(r)===false));if(!i)continue;r.updateModule(e,i.module);r.addExplanation(e,"(skipped side-effect-free modules)");e.setIds(r,i.export?[...i.export,...s.slice(1)]:s.slice(1))}}}}}n.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(e,t,n){switch(typeof t){case"undefined":return true;case"boolean":return t;case"string":return globToRegexp(t,n).test(e);case"object":return t.some((t=>SideEffectsFlagPlugin.moduleHasSideEffects(e,t,n)))}}}e.exports=SideEffectsFlagPlugin},40051:(e,t,n)=>{"use strict";const r=n(62433);const{STAGE_ADVANCED:i}=n(82414);const s=n(81627);const{requestToId:a}=n(30328);const{isSubset:c}=n(26221);const u=n(16102);const{compareModulesByIdentifier:l,compareIterables:d}=n(68673);const p=n(35891);const h=n(44648);const m=n(49197).contextify;const g=n(91671);const y=n(1697);const defaultGetName=()=>{};const _=h;const b=new WeakMap;const hashFilename=(e,t)=>{const n=p(t.hashFunction).update(e).digest(t.hashDigest);return n.slice(0,8)};const getRequests=e=>{let t=0;for(const n of e.groupsIterable){t=Math.max(t,n.chunks.length)}return t};const mapObject=(e,t)=>{const n=Object.create(null);for(const r of Object.keys(e)){n[r]=t(e[r],r)}return n};const isOverlap=(e,t)=>{for(const n of e){if(t.has(n))return true}return false};const x=d(l);const compareEntries=(e,t)=>{const n=e.cacheGroup.priority-t.cacheGroup.priority;if(n)return n;const r=e.chunks.size-t.chunks.size;if(r)return r;const i=totalSize(e.sizes)*(e.chunks.size-1);const s=totalSize(t.sizes)*(t.chunks.size-1);const a=i-s;if(a)return a;const c=t.cacheGroupIndex-e.cacheGroupIndex;if(c)return c;const u=e.modules;const l=t.modules;const d=u.size-l.size;if(d)return d;u.sort();l.sort();return x(u,l)};const INITIAL_CHUNK_FILTER=e=>e.canBeInitial();const ASYNC_CHUNK_FILTER=e=>!e.canBeInitial();const ALL_CHUNK_FILTER=e=>true;const normalizeSizes=(e,t)=>{if(typeof e==="number"){const n={};for(const r of t)n[r]=e;return n}else if(typeof e==="object"&&e!==null){return{...e}}else{return{}}};const mergeSizes=(...e)=>{let t={};for(let n=e.length-1;n>=0;n--){t=Object.assign(t,e[n])}return t};const hasNonZeroSizes=e=>{for(const t of Object.keys(e)){if(e[t]>0)return true}return false};const combineSizes=(e,t,n)=>{const r=new Set(Object.keys(e));const i=new Set(Object.keys(t));const s={};for(const a of r){if(i.has(a)){s[a]=n(e[a],t[a])}else{s[a]=e[a]}}for(const e of i){if(!r.has(e)){s[e]=t[e]}}return s};const checkMinSize=(e,t)=>{for(const n of Object.keys(t)){const r=e[n];if(r===undefined||r===0)continue;if(r{let n;for(const r of Object.keys(t)){const i=e[r];if(i===undefined||i===0)continue;if(i{let t=0;for(const n of Object.keys(e)){t+=e[n]}return t};const normalizeName=e=>{if(typeof e==="string"){return()=>e}if(typeof e==="function"){return e}};const normalizeChunksFilter=e=>{if(e==="initial"){return INITIAL_CHUNK_FILTER}if(e==="async"){return ASYNC_CHUNK_FILTER}if(e==="all"){return ALL_CHUNK_FILTER}if(typeof e==="function"){return e}};const normalizeCacheGroups=(e,t)=>{if(typeof e==="function"){return e}if(typeof e==="object"&&e!==null){const n=[];for(const r of Object.keys(e)){const i=e[r];if(i===false){continue}if(typeof i==="string"||i instanceof RegExp){const e=createCacheGroupSource({},r,t);n.push(((t,n,r)=>{if(checkTest(i,t,n)){r.push(e)}}))}else if(typeof i==="function"){const e=new WeakMap;n.push(((n,s,a)=>{const c=i(n);if(c){const n=Array.isArray(c)?c:[c];for(const i of n){const n=e.get(i);if(n!==undefined){a.push(n)}else{const n=createCacheGroupSource(i,r,t);e.set(i,n);a.push(n)}}}}))}else{const e=createCacheGroupSource(i,r,t);n.push(((t,n,r)=>{if(checkTest(i.test,t,n)&&checkModuleType(i.type,t)&&checkModuleLayer(i.layer,t)){r.push(e)}}))}}const fn=(e,t)=>{let r=[];for(const i of n){i(e,t,r)}return r};return fn}return()=>null};const checkTest=(e,t,n)=>{if(e===undefined)return true;if(typeof e==="function"){return e(t,n)}if(typeof e==="boolean")return e;if(typeof e==="string"){const n=t.nameForCondition();return n&&n.startsWith(e)}if(e instanceof RegExp){const n=t.nameForCondition();return n&&e.test(n)}return false};const checkModuleType=(e,t)=>{if(e===undefined)return true;if(typeof e==="function"){return e(t.type)}if(typeof e==="string"){const n=t.type;return e===n}if(e instanceof RegExp){const n=t.type;return e.test(n)}return false};const checkModuleLayer=(e,t)=>{if(e===undefined)return true;if(typeof e==="function"){return e(t.layer)}if(typeof e==="string"){const n=t.layer;return e===""?!n:n&&n.startsWith(e)}if(e instanceof RegExp){const n=t.layer;return e.test(n)}return false};const createCacheGroupSource=(e,t,n)=>{const r=normalizeSizes(e.minSize,n);const i=normalizeSizes(e.maxSize,n);return{key:t,priority:e.priority,getName:normalizeName(e.name),chunksFilter:normalizeChunksFilter(e.chunks),enforce:e.enforce,minSize:r,minRemainingSize:mergeSizes(normalizeSizes(e.minRemainingSize,n),r),enforceSizeThreshold:normalizeSizes(e.enforceSizeThreshold,n),maxAsyncSize:mergeSizes(normalizeSizes(e.maxAsyncSize,n),i),maxInitialSize:mergeSizes(normalizeSizes(e.maxInitialSize,n),i),minChunks:e.minChunks,maxAsyncRequests:e.maxAsyncRequests,maxInitialRequests:e.maxInitialRequests,filename:e.filename,idHint:e.idHint,automaticNameDelimiter:e.automaticNameDelimiter,reuseExistingChunk:e.reuseExistingChunk,usedExports:e.usedExports}};e.exports=class SplitChunksPlugin{constructor(e={}){const t=e.defaultSizeTypes||["javascript","unknown"];const n=e.fallbackCacheGroup||{};const r=normalizeSizes(e.minSize,t);const i=normalizeSizes(e.maxSize,t);this.options={chunksFilter:normalizeChunksFilter(e.chunks||"all"),defaultSizeTypes:t,minSize:r,minRemainingSize:mergeSizes(normalizeSizes(e.minRemainingSize,t),r),enforceSizeThreshold:normalizeSizes(e.enforceSizeThreshold,t),maxAsyncSize:mergeSizes(normalizeSizes(e.maxAsyncSize,t),i),maxInitialSize:mergeSizes(normalizeSizes(e.maxInitialSize,t),i),minChunks:e.minChunks||1,maxAsyncRequests:e.maxAsyncRequests||1,maxInitialRequests:e.maxInitialRequests||1,hidePathInfo:e.hidePathInfo||false,filename:e.filename||undefined,getCacheGroups:normalizeCacheGroups(e.cacheGroups,t),getName:e.name?normalizeName(e.name):defaultGetName,automaticNameDelimiter:e.automaticNameDelimiter,usedExports:e.usedExports,fallbackCacheGroup:{minSize:mergeSizes(normalizeSizes(n.minSize,t),r),maxAsyncSize:mergeSizes(normalizeSizes(n.maxAsyncSize,t),normalizeSizes(n.maxSize,t),normalizeSizes(e.maxAsyncSize,t),normalizeSizes(e.maxSize,t)),maxInitialSize:mergeSizes(normalizeSizes(n.maxInitialSize,t),normalizeSizes(n.maxSize,t),normalizeSizes(e.maxInitialSize,t),normalizeSizes(e.maxSize,t)),automaticNameDelimiter:n.automaticNameDelimiter||e.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(e){const t=this._cacheGroupCache.get(e);if(t!==undefined)return t;const n=mergeSizes(e.minSize,e.enforce?undefined:this.options.minSize);const r=mergeSizes(e.minRemainingSize,e.enforce?undefined:this.options.minRemainingSize);const i=mergeSizes(e.enforceSizeThreshold,e.enforce?undefined:this.options.enforceSizeThreshold);const s={key:e.key,priority:e.priority||0,chunksFilter:e.chunksFilter||this.options.chunksFilter,minSize:n,minRemainingSize:r,enforceSizeThreshold:i,maxAsyncSize:mergeSizes(e.maxAsyncSize,e.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(e.maxInitialSize,e.enforce?undefined:this.options.maxInitialSize),minChunks:e.minChunks!==undefined?e.minChunks:e.enforce?1:this.options.minChunks,maxAsyncRequests:e.maxAsyncRequests!==undefined?e.maxAsyncRequests:e.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:e.maxInitialRequests!==undefined?e.maxInitialRequests:e.enforce?Infinity:this.options.maxInitialRequests,getName:e.getName!==undefined?e.getName:this.options.getName,usedExports:e.usedExports!==undefined?e.usedExports:this.options.usedExports,filename:e.filename!==undefined?e.filename:this.options.filename,automaticNameDelimiter:e.automaticNameDelimiter!==undefined?e.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:e.idHint!==undefined?e.idHint:e.key,reuseExistingChunk:e.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(n),_validateRemainingSize:hasNonZeroSizes(r),_minSizeForMaxSize:mergeSizes(e.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(i)};this._cacheGroupCache.set(e,s);return s}apply(e){const t=m.bindContextCache(e.context,e.root);e.hooks.thisCompilation.tap("SplitChunksPlugin",(e=>{const n=e.getLogger("webpack.SplitChunksPlugin");let d=false;e.hooks.unseal.tap("SplitChunksPlugin",(()=>{d=false}));e.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:i},(i=>{if(d)return;d=true;n.time("prepare");const p=e.chunkGraph;const h=e.moduleGraph;const m=new Map;const x=BigInt("0");const k=BigInt("1");let E=k;for(const e of i){m.set(e,E);E=E<{const t=e[Symbol.iterator]();let n=t.next();if(n.done)return x;const r=n.value;n=t.next();if(n.done)return r;let i=m.get(r)|m.get(n.value);while(!(n=t.next()).done){i=i|m.get(n.value)}return i};const keyToString=e=>{if(typeof e==="bigint")return e.toString(16);return m.get(e).toString(16)};const w=g((()=>{const t=new Map;const n=new Set;for(const r of e.modules){const e=p.getModuleChunksIterable(r);const i=getKey(e);if(typeof i==="bigint"){if(!t.has(i)){t.set(i,new Set(e))}}else{n.add(i)}}return{chunkSetsInGraph:t,singleChunkSets:n}}));const groupChunksByExports=e=>{const t=h.getExportsInfo(e);const n=new Map;for(const r of p.getModuleChunksIterable(e)){const e=t.getUsageKey(r.runtime);const i=n.get(e);if(i!==undefined){i.push(r)}else{n.set(e,[r])}}return n.values()};const S=new Map;const C=g((()=>{const t=new Map;const n=new Set;for(const r of e.modules){const e=Array.from(groupChunksByExports(r));S.set(r,e);for(const r of e){if(r.length===1){n.add(r[0])}else{const e=getKey(r);if(!t.has(e)){t.set(e,new Set(r))}}}}return{chunkSetsInGraph:t,singleChunkSets:n}}));const groupChunkSetsByCount=e=>{const t=new Map;for(const n of e){const e=n.size;let r=t.get(e);if(r===undefined){r=[];t.set(e,r)}r.push(n)}return t};const M=g((()=>groupChunkSetsByCount(w().chunkSetsInGraph.values())));const I=g((()=>groupChunkSetsByCount(C().chunkSetsInGraph.values())));const createGetCombinations=(e,t,n)=>{const i=new Map;return s=>{const a=i.get(s);if(a!==undefined)return a;if(s instanceof r){const e=[s];i.set(s,e);return e}const u=e.get(s);const l=[u];for(const[e,t]of n){if(e{const{chunkSetsInGraph:e,singleChunkSets:t}=w();return createGetCombinations(e,t,M())}));const getCombinations=e=>P()(e);const T=g((()=>{const{chunkSetsInGraph:e,singleChunkSets:t}=C();return createGetCombinations(e,t,I())}));const getExportsCombinations=e=>T()(e);const O=new WeakMap;const getSelectedChunks=(e,t)=>{let n=O.get(e);if(n===undefined){n=new WeakMap;O.set(e,n)}let i=n.get(t);if(i===undefined){const s=[];if(e instanceof r){if(t(e))s.push(e)}else{for(const n of e){if(t(n))s.push(n)}}i={chunks:s,key:getKey(s)};n.set(t,i)}return i};const R=new Map;const N=new Set;const L=new Map;const addModuleToChunksInfoMap=(t,n,r,i,a)=>{if(r.length{const e=p.getModuleChunksIterable(t);const n=getKey(e);return getCombinations(n)}));const i=g((()=>{C();const e=new Set;const n=S.get(t);for(const t of n){const n=getKey(t);for(const t of getExportsCombinations(n))e.add(t)}return e}));let s=0;for(const a of e){const e=this._getCacheGroup(a);const c=e.usedExports?i():n();for(const n of c){const i=n instanceof r?1:n.size;if(i{for(const n of e.modules){const r=n.getSourceTypes();if(t.some((e=>r.has(e)))){e.modules.delete(n);for(const t of r){e.sizes[t]-=n.size(t)}}}};const removeMinSizeViolatingModules=e=>{if(!e.cacheGroup._validateSize)return false;const t=getViolatingMinSizes(e.sizes,e.cacheGroup.minSize);if(t===undefined)return false;removeModulesWithSourceType(e,t);return e.modules.size===0};for(const[e,t]of L){if(removeMinSizeViolatingModules(t)){L.delete(e)}}const j=new Map;while(L.size>0){let t;let n;for(const e of L){const r=e[0];const i=e[1];if(n===undefined||compareEntries(n,i)<0){n=i;t=r}}const r=n;L.delete(t);let i=r.name;let s;let a=false;let c=false;if(i){const t=e.namedChunks.get(i);if(t!==undefined){s=t;const e=r.chunks.size;r.chunks.delete(s);a=r.chunks.size!==e}}else if(r.cacheGroup.reuseExistingChunk){e:for(const e of r.chunks){if(p.getNumberOfChunkModules(e)!==r.modules.size){continue}if(r.chunks.size>1&&p.getNumberOfEntryModules(e)>0){continue}for(const t of r.modules){if(!p.isModuleInChunk(t,e)){continue e}}if(!s||!s.name){s=e}else if(e.name&&e.name.length=t){l.delete(e)}}}e:for(const e of l){for(const t of r.modules){if(p.isModuleInChunk(t,e))continue e}l.delete(e)}if(l.size=r.cacheGroup.minChunks){const e=Array.from(l);for(const t of r.modules){addModuleToChunksInfoMap(r.cacheGroup,r.cacheGroupIndex,e,getKey(l),t)}}continue}if(!u&&r.cacheGroup._validateRemainingSize&&l.size===1){const[e]=l;let n=Object.create(null);for(const t of p.getChunkModulesIterable(e)){if(!r.modules.has(t)){for(const e of t.getSourceTypes()){n[e]=(n[e]||0)+t.size(e)}}}const i=getViolatingMinSizes(n,r.cacheGroup.minRemainingSize);if(i!==undefined){const e=r.modules.size;removeModulesWithSourceType(r,i);if(r.modules.size>0&&r.modules.size!==e){L.set(t,r)}continue}}if(s===undefined){s=e.addChunk(i)}for(const e of l){e.split(s)}s.chunkReason=(s.chunkReason?s.chunkReason+", ":"")+(c?"reused as split chunk":"split chunk");if(r.cacheGroup.key){s.chunkReason+=` (cache group: ${r.cacheGroup.key})`}if(i){s.chunkReason+=` (name: ${i})`}if(r.cacheGroup.filename){s.filenameTemplate=r.cacheGroup.filename}if(r.cacheGroup.idHint){s.idNameHints.add(r.cacheGroup.idHint)}if(!c){for(const t of r.modules){if(!t.chunkCondition(s,e))continue;p.connectChunkAndModule(s,t);for(const e of l){p.disconnectChunkAndModule(e,t)}}}else{for(const e of r.modules){for(const t of l){p.disconnectChunkAndModule(t,e)}}}if(Object.keys(r.cacheGroup.maxAsyncSize).length>0||Object.keys(r.cacheGroup.maxInitialSize).length>0){const e=j.get(s);j.set(s,{minSize:e?combineSizes(e.minSize,r.cacheGroup._minSizeForMaxSize,Math.max):r.cacheGroup.minSize,maxAsyncSize:e?combineSizes(e.maxAsyncSize,r.cacheGroup.maxAsyncSize,Math.min):r.cacheGroup.maxAsyncSize,maxInitialSize:e?combineSizes(e.maxInitialSize,r.cacheGroup.maxInitialSize,Math.min):r.cacheGroup.maxInitialSize,automaticNameDelimiter:r.cacheGroup.automaticNameDelimiter,keys:e?e.keys.concat(r.cacheGroup.key):[r.cacheGroup.key]})}for(const[e,t]of L){if(isOverlap(t.chunks,l)){let n=false;for(const e of r.modules){if(t.modules.has(e)){t.modules.delete(e);for(const n of e.getSourceTypes()){t.sizes[n]-=e.size(n)}n=true}}if(n){if(t.modules.size===0){L.delete(e);continue}if(removeMinSizeViolatingModules(t)){L.delete(e);continue}}}}}n.timeEnd("queue");n.time("maxSize");const z=new Set;const{outputOptions:U}=e;for(const n of Array.from(e.chunks)){const r=j.get(n);const{minSize:i,maxAsyncSize:s,maxInitialSize:c,automaticNameDelimiter:u}=r||this.options.fallbackCacheGroup;let l;if(n.isOnlyInitial()){l=c}else if(n.canBeInitial()){l=combineSizes(s,c,Math.min)}else{l=s}if(Object.keys(l).length===0){continue}for(const t of Object.keys(l)){const n=l[t];const s=i[t];if(typeof s==="number"&&s>n){const t=r&&r.keys;const i=`${t&&t.join()} ${s} ${n}`;if(!z.has(i)){z.add(i);e.warnings.push(new y(t,s,n))}}}const d=_({minSize:i,maxSize:mapObject(l,((e,t)=>{const n=i[t];return typeof n==="number"?Math.max(e,n):e})),items:p.getChunkModulesIterable(n),getKey(e){const n=b.get(e);if(n!==undefined)return n;const r=t(e.identifier());const i=e.nameForCondition&&e.nameForCondition();const s=i?t(i):r.replace(/^.*!|\?[^?!]*$/g,"");const c=s+u+hashFilename(r,U);const l=a(c);b.set(e,l);return l},getSize(e){const t=Object.create(null);for(const n of e.getSourceTypes()){t[n]=e.size(n)}return t}});if(d.length<=1){continue}for(let t=0;t100){s=s.slice(0,100)+u+hashFilename(s,U)}if(t!==d.length-1){const t=e.addChunk(s);n.split(t);t.chunkReason=n.chunkReason;for(const i of r.items){if(!i.chunkCondition(t,e)){continue}p.connectChunkAndModule(t,i);p.disconnectChunkAndModule(n,i)}}else{n.name=s}}}n.timeEnd("maxSize")}))}))}}},15787:(e,t,n)=>{"use strict";const{formatSize:r}=n(9192);const i=n(81627);e.exports=class AssetsOverSizeLimitWarning extends i{constructor(e,t){const n=e.map((e=>`\n ${e.name} (${r(e.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${r(t)}).\nThis can impact web performance.\nAssets: ${n}`);this.name="AssetsOverSizeLimitWarning";this.assets=e;Error.captureStackTrace(this,this.constructor)}}},84116:(e,t,n)=>{"use strict";const{formatSize:r}=n(9192);const i=n(81627);e.exports=class EntrypointsOverSizeLimitWarning extends i{constructor(e,t){const n=e.map((e=>`\n ${e.name} (${r(e.size)})\n${e.files.map((e=>` ${e}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${r(t)}). This can impact web performance.\nEntrypoints:${n}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=e;Error.captureStackTrace(this,this.constructor)}}},23529:(e,t,n)=>{"use strict";const r=n(81627);e.exports=class NoAsyncChunksWarning extends r{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning";Error.captureStackTrace(this,this.constructor)}}},20625:(e,t,n)=>{"use strict";const{find:r}=n(26221);const i=n(15787);const s=n(84116);const a=n(23529);const c=new WeakSet;const excludeSourceMap=(e,t,n)=>!n.development;e.exports=class SizeLimitsPlugin{constructor(e){this.hints=e.hints;this.maxAssetSize=e.maxAssetSize;this.maxEntrypointSize=e.maxEntrypointSize;this.assetFilter=e.assetFilter}static isOverSizeLimit(e){return c.has(e)}apply(e){const t=this.maxEntrypointSize;const n=this.maxAssetSize;const u=this.hints;const l=this.assetFilter||excludeSourceMap;e.hooks.afterEmit.tap("SizeLimitsPlugin",(e=>{const d=[];const getEntrypointSize=t=>{let n=0;for(const r of t.getFiles()){const t=e.getAsset(r);if(t&&l(t.name,t.source,t.info)&&t.source){n+=t.info.size||t.source.size()}}return n};const p=[];for(const{name:t,source:r,info:i}of e.getAssets()){if(!l(t,r,i)||!r){continue}const e=i.size||r.size();if(e>n){p.push({name:t,size:e});c.add(r)}}const fileFilter=t=>{const n=e.getAsset(t);return n&&l(n.name,n.source,n.info)};const h=[];for(const[n,r]of e.entrypoints){const e=getEntrypointSize(r);if(e>t){h.push({name:n,size:e,files:r.getFiles().filter(fileFilter)});c.add(r)}}if(u){if(p.length>0){d.push(new i(p,n))}if(h.length>0){d.push(new s(h,t))}if(d.length>0){const t=r(e.chunks,(e=>!e.canBeInitial()));if(!t){d.push(new a)}if(u==="error"){e.errors.push(...d)}else{e.warnings.push(...d)}}}}))}}},63890:(e,t,n)=>{"use strict";const r=n(66804);const i=n(58159);class ChunkPrefetchFunctionRuntimeModule extends r{constructor(e,t,n){super(`chunk ${e} function`);this.childType=e;this.runtimeFunction=t;this.runtimeHandlers=n}generate(){const{runtimeFunction:e,runtimeHandlers:t}=this;const{runtimeTemplate:n}=this.compilation;return i.asString([`${t} = {};`,`${e} = ${n.basicFunction("chunkId",[`Object.keys(${t}).map(${n.basicFunction("key",`${t}[key](chunkId);`)});`])}`])}}e.exports=ChunkPrefetchFunctionRuntimeModule},5538:(e,t,n)=>{"use strict";const r=n(76150);const i=n(63890);const s=n(2235);const a=n(86400);const c=n(37536);class ChunkPrefetchPreloadPlugin{apply(e){e.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(e=>{e.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((t,n)=>{const{chunkGraph:i}=e;if(i.getNumberOfEntryModules(t)===0)return;const a=t.getChildrenOfTypeInOrder(i,"prefetchOrder");if(a){n.add(r.prefetchChunk);n.add(r.onChunksLoaded);e.addRuntimeModule(t,new s(a))}}));e.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((t,n)=>{const{chunkGraph:i}=e;const s=t.getChildIdsByOrdersMap(i,false);if(s.prefetch){n.add(r.prefetchChunk);e.addRuntimeModule(t,new a(s.prefetch))}if(s.preload){n.add(r.preloadChunk);e.addRuntimeModule(t,new c(s.preload))}}));e.hooks.runtimeRequirementInTree.for(r.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((t,n)=>{e.addRuntimeModule(t,new i("prefetch",r.prefetchChunk,r.prefetchChunkHandlers));n.add(r.prefetchChunkHandlers)}));e.hooks.runtimeRequirementInTree.for(r.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((t,n)=>{e.addRuntimeModule(t,new i("preload",r.preloadChunk,r.preloadChunkHandlers));n.add(r.preloadChunkHandlers)}))}))}}e.exports=ChunkPrefetchPreloadPlugin},2235:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class ChunkPrefetchStartupRuntimeModule extends i{constructor(e){super("startup prefetch",i.STAGE_TRIGGER);this.startupChunks=e}generate(){const{startupChunks:e,chunk:t}=this;const{runtimeTemplate:n}=this.compilation;return s.asString(e.map((({onChunks:e,chunks:i})=>`${r.onChunksLoaded}(0, ${JSON.stringify(e.filter((e=>e===t)).map((e=>e.id)))}, ${n.expressionFunction(i.size<3?Array.from(i,(e=>`${r.prefetchChunk}(${JSON.stringify(e.id)})`)).join(", "):`${JSON.stringify(Array.from(i,(e=>e.id)))}.map(${r.prefetchChunk})`)}, 5);`)))}}e.exports=ChunkPrefetchStartupRuntimeModule},86400:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class ChunkPrefetchTriggerRuntimeModule extends i{constructor(e){super(`chunk prefetch trigger`,i.STAGE_TRIGGER);this.chunkMap=e}generate(){const{chunkMap:e}=this;const{runtimeTemplate:t}=this.compilation;const n=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${r.prefetchChunk});`];return s.asString([s.asString([`var chunkToChildrenMap = ${JSON.stringify(e,null,"\t")};`,`${r.ensureChunkHandlers}.prefetch = ${t.expressionFunction(`Promise.all(promises).then(${t.basicFunction("",n)})`,"chunkId, promises")};`])])}}e.exports=ChunkPrefetchTriggerRuntimeModule},37536:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class ChunkPreloadTriggerRuntimeModule extends i{constructor(e){super(`chunk preload trigger`,i.STAGE_TRIGGER);this.chunkMap=e}generate(){const{chunkMap:e}=this;const{runtimeTemplate:t}=this.compilation;const n=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${r.preloadChunk});`];return s.asString([s.asString([`var chunkToChildrenMap = ${JSON.stringify(e,null,"\t")};`,`${r.ensureChunkHandlers}.preload = ${t.basicFunction("chunkId",n)};`])])}}e.exports=ChunkPreloadTriggerRuntimeModule},94288:e=>{"use strict";class BasicEffectRulePlugin{constructor(e,t){this.ruleProperty=e;this.effectType=t||e}apply(e){e.hooks.rule.tap("BasicEffectRulePlugin",((e,t,n,r,i)=>{if(n.has(this.ruleProperty)){n.delete(this.ruleProperty);const e=t[this.ruleProperty];r.effects.push({type:this.effectType,value:e})}}))}}e.exports=BasicEffectRulePlugin},1976:e=>{"use strict";class BasicMatcherRulePlugin{constructor(e,t,n){this.ruleProperty=e;this.dataProperty=t||e;this.invert=n||false}apply(e){e.hooks.rule.tap("BasicMatcherRulePlugin",((t,n,r,i)=>{if(r.has(this.ruleProperty)){r.delete(this.ruleProperty);const s=n[this.ruleProperty];const a=e.compileCondition(`${t}.${this.ruleProperty}`,s);const c=a.fn;i.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!a.matchWhenEmpty:a.matchWhenEmpty,fn:this.invert?e=>!c(e):c})}}))}}e.exports=BasicMatcherRulePlugin},92299:e=>{"use strict";const t="descriptionData";class DescriptionDataMatcherRulePlugin{apply(e){e.hooks.rule.tap("DescriptionDataMatcherRulePlugin",((n,r,i,s)=>{if(i.has(t)){i.delete(t);const a=r[t];for(const r of Object.keys(a)){const i=r.split(".");const c=e.compileCondition(`${n}.${t}.${r}`,a[r]);s.conditions.push({property:["descriptionData",...i],matchWhenEmpty:c.matchWhenEmpty,fn:c.fn})}}}))}}e.exports=DescriptionDataMatcherRulePlugin},73817:(e,t,n)=>{"use strict";const{SyncHook:r}=n(92960);class RuleSetCompiler{constructor(e){this.hooks=Object.freeze({rule:new r(["path","rule","unhandledProperties","compiledRule","references"])});if(e){for(const t of e){t.apply(this)}}}compile(e){const t=new Map;const n=this.compileRules("ruleSet",e,t);const execRule=(e,t,n)=>{for(const n of t.conditions){const t=n.property;if(Array.isArray(t)){let r=e;for(const e of t){if(r&&typeof r==="object"&&Object.prototype.hasOwnProperty.call(r,e)){r=r[e]}else{r=undefined;break}}if(r!==undefined){if(!n.fn(r))return false;continue}}else if(t in e){const r=e[t];if(r!==undefined){if(!n.fn(r))return false;continue}}if(!n.matchWhenEmpty){return false}}for(const r of t.effects){if(typeof r==="function"){const t=r(e);for(const e of t){n.push(e)}}else{n.push(r)}}if(t.rules){for(const r of t.rules){execRule(e,r,n)}}if(t.oneOf){for(const r of t.oneOf){if(execRule(e,r,n)){break}}}return true};return{references:t,exec:e=>{const t=[];for(const r of n){execRule(e,r,t)}return t}}}compileRules(e,t,n){return t.map(((t,r)=>this.compileRule(`${e}[${r}]`,t,n)))}compileRule(e,t,n){const r=new Set(Object.keys(t).filter((e=>t[e]!==undefined)));const i={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(e,t,r,i,n);if(r.has("rules")){r.delete("rules");const s=t.rules;if(!Array.isArray(s))throw this.error(e,s,"Rule.rules must be an array of rules");i.rules=this.compileRules(`${e}.rules`,s,n)}if(r.has("oneOf")){r.delete("oneOf");const s=t.oneOf;if(!Array.isArray(s))throw this.error(e,s,"Rule.oneOf must be an array of rules");i.oneOf=this.compileRules(`${e}.oneOf`,s,n)}if(r.size>0){throw this.error(e,t,`Properties ${Array.from(r).join(", ")} are unknown`)}return i}compileCondition(e,t){if(t===""){return{matchWhenEmpty:true,fn:e=>e===""}}if(!t){throw this.error(e,t,"Expected condition but got falsy value")}if(typeof t==="string"){return{matchWhenEmpty:t.length===0,fn:e=>e.startsWith(t)}}if(typeof t==="function"){try{return{matchWhenEmpty:t(""),fn:t}}catch(n){throw this.error(e,t,"Evaluation of condition function threw error")}}if(t instanceof RegExp){return{matchWhenEmpty:t.test(""),fn:e=>t.test(e)}}if(Array.isArray(t)){const n=t.map(((t,n)=>this.compileCondition(`${e}[${n}]`,t)));return this.combineConditionsOr(n)}if(typeof t!=="object"){throw this.error(e,t,`Unexpected ${typeof t} when condition was expected`)}const n=[];for(const r of Object.keys(t)){const i=t[r];switch(r){case"or":if(i){if(!Array.isArray(i)){throw this.error(`${e}.or`,t.and,"Expected array of conditions")}n.push(this.compileCondition(`${e}.or`,i))}break;case"and":if(i){if(!Array.isArray(i)){throw this.error(`${e}.and`,t.and,"Expected array of conditions")}let r=0;for(const t of i){n.push(this.compileCondition(`${e}.and[${r}]`,t));r++}}break;case"not":if(i){const t=this.compileCondition(`${e}.not`,i);const r=t.fn;n.push({matchWhenEmpty:!t.matchWhenEmpty,fn:e=>!r(e)})}break;default:throw this.error(`${e}.${r}`,t[r],`Unexpected property ${r} in condition`)}}if(n.length===0){throw this.error(e,t,"Expected condition, but got empty thing")}return this.combineConditionsAnd(n)}combineConditionsOr(e){if(e.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(e.length===1){return e[0]}else{return{matchWhenEmpty:e.some((e=>e.matchWhenEmpty)),fn:t=>e.some((e=>e.fn(t)))}}}combineConditionsAnd(e){if(e.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(e.length===1){return e[0]}else{return{matchWhenEmpty:e.every((e=>e.matchWhenEmpty)),fn:t=>e.every((e=>e.fn(t)))}}}error(e,t,n){return new Error(`Compiling RuleSet failed: ${n} (at ${e}: ${t})`)}}e.exports=RuleSetCompiler},19311:(e,t,n)=>{"use strict";const r=n(31669);class UseEffectRulePlugin{apply(e){e.hooks.rule.tap("UseEffectRulePlugin",((t,n,i,s,a)=>{const conflictWith=(r,s)=>{if(i.has(r)){throw e.error(`${t}.${r}`,n[r],`A Rule must not have a '${r}' property when it has a '${s}' property`)}};if(i.has("use")){i.delete("use");i.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const e=n.use;const c=n.enforce;const u=c?`use-${c}`:"use";const useToEffect=(e,t,n)=>{if(typeof n==="function"){return t=>useToEffectsWithoutIdent(e,n(t))}else{return useToEffectRaw(e,t,n)}};const useToEffectRaw=(e,t,n)=>{if(typeof n==="string"){return{type:u,value:{loader:n,options:undefined,ident:undefined}}}else{const i=n.loader;const s=n.options;let u=n.ident;if(s&&typeof s==="object"){if(!u)u=t;a.set(u,s)}if(typeof s==="string"){r.deprecate((()=>{}),`Using a string as loader options is deprecated (${e}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:c?`use-${c}`:"use",value:{loader:i,options:s,ident:u}}}};const useToEffectsWithoutIdent=(e,t)=>{if(Array.isArray(t)){return t.map(((t,n)=>useToEffectRaw(`${e}[${n}]`,"[[missing ident]]",t)))}return[useToEffectRaw(e,"[[missing ident]]",t)]};const useToEffects=(e,t)=>{if(Array.isArray(t)){return t.map(((t,n)=>{const r=`${e}[${n}]`;return useToEffect(r,r,t)}))}return[useToEffect(e,e,t)]};if(typeof e==="function"){s.effects.push((n=>useToEffectsWithoutIdent(`${t}.use`,e(n))))}else{for(const n of useToEffects(`${t}.use`,e)){s.effects.push(n)}}}if(i.has("loader")){i.delete("loader");i.delete("options");i.delete("enforce");const c=n.loader;const u=n.options;const l=n.enforce;if(c.includes("!")){throw e.error(`${t}.loader`,c,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(c.includes("?")){throw e.error(`${t}.loader`,c,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof u==="string"){r.deprecate((()=>{}),`Using a string as loader options is deprecated (${t}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const d=u&&typeof u==="object"?t:undefined;a.set(d,u);s.effects.push({type:l?`use-${l}`:"use",value:{loader:c,options:u,ident:d}})}}))}useItemToEffects(e,t){}}e.exports=UseEffectRulePlugin},84997:(e,t,n)=>{"use strict";const r=n(76150);const i=n(58159);const s=n(9851);class AsyncModuleRuntimeModule extends s{constructor(){super("async module")}generate(){const{runtimeTemplate:e}=this.compilation;const t=r.asyncModule;return i.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${e.basicFunction("queue",["if(queue) {",i.indent([`queue.forEach(${e.expressionFunction("fn.r--","fn")});`,`queue.forEach(${e.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${e.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${e.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${e.returningFunction(`deps.map(${e.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',i.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",i.indent(["var queue = [];",`dep.then(${e.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = { [webpackThen]: ${e.expressionFunction("queueFunction(queue, fn), dep.catch(reject)","fn, reject")} };`,"return obj;"]),"}"]),"}",`return { [webpackThen]: ${e.expressionFunction("completeFunction(fn)","fn")}, [webpackExports]: dep };`])})`,"deps")};`,`${t} = ${e.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${e.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${e.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${e.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${e.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${e.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise.catch(rejectFn);"])};`,"module.exports = promise;",`body(${e.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${e.basicFunction("resolve, reject",[`fn = ${e.expressionFunction(`resolve(result = currentDeps.map(${e.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}e.exports=AsyncModuleRuntimeModule},31164:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);const a=n(18161);const{getUndoPath:c}=n(49197);class AutoPublicPathRuntimeModule extends i{constructor(){super("publicPath",i.STAGE_BASIC)}generate(){const{compilation:e}=this;const{scriptType:t,importMetaName:n,path:i}=e.outputOptions;const u=e.getPath(a.getChunkFilenameTemplate(this.chunk,e.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const l=c(u,i,false);return s.asString(["var scriptUrl;",t==="module"?`if (typeof ${n}.url === "string") scriptUrl = ${n}.url`:s.asString([`if (${r.global}.importScripts) scriptUrl = ${r.global}.location + "";`,`var document = ${r.global}.document;`,"if (!scriptUrl && document) {",s.indent([`if (document.currentScript)`,s.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",s.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!l?`${r.publicPath} = scriptUrl;`:`${r.publicPath} = scriptUrl + ${JSON.stringify(l)};`])}}e.exports=AutoPublicPathRuntimeModule},64255:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);class ChunkNameRuntimeModule extends i{constructor(e){super("chunkName");this.chunkName=e}generate(){return`${r.chunkName} = ${JSON.stringify(this.chunkName)};`}}e.exports=ChunkNameRuntimeModule},90202:(e,t,n)=>{"use strict";const r=n(76150);const i=n(58159);const s=n(9851);class CompatGetDefaultExportRuntimeModule extends s{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:e}=this.compilation;const t=r.compatGetDefaultExport;return i.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${t} = ${e.basicFunction("module",["var getter = module && module.__esModule ?",i.indent([`${e.returningFunction("module['default']")} :`,`${e.returningFunction("module")};`]),`${r.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}e.exports=CompatGetDefaultExportRuntimeModule},16710:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);class CompatRuntimeModule extends i{constructor(){super("compat",i.STAGE_ATTACH);this.fullHash=true}generate(){const{chunk:e,compilation:t}=this;const{chunkGraph:n,runtimeTemplate:i,mainTemplate:s,moduleTemplates:a,dependencyTemplates:c}=t;const u=s.hooks.bootstrap.call("",e,t.hash||"XXXX",a.javascript,c);const l=s.hooks.localVars.call("",e,t.hash||"XXXX");const d=s.hooks.requireExtensions.call("",e,t.hash||"XXXX");const p=n.getTreeRuntimeRequirements(e);let h="";if(p.has(r.ensureChunk)){const n=s.hooks.requireEnsure.call("",e,t.hash||"XXXX","chunkId");if(n){h=`${r.ensureChunkHandlers}.compat = ${i.basicFunction("chunkId, promises",n)};`}}return[u,l,h,d].filter(Boolean).join("\n")}shouldIsolate(){return false}}e.exports=CompatRuntimeModule},3236:(e,t,n)=>{"use strict";const r=n(76150);const i=n(58159);const s=n(9851);class CreateFakeNamespaceObjectRuntimeModule extends s{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:e}=this.compilation;const t=r.createFakeNamespaceObject;return i.asString([`var getProto = Object.getPrototypeOf ? ${e.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${e.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${t} = function(value, mode) {`,i.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",i.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${r.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",i.indent([`Object.getOwnPropertyNames(current).forEach(${e.expressionFunction(`def[key] = ${e.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${e.returningFunction("value","")};`,`${r.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}e.exports=CreateFakeNamespaceObjectRuntimeModule},58957:(e,t,n)=>{"use strict";const r=n(76150);const i=n(58159);const s=n(9851);class DefinePropertyGettersRuntimeModule extends s{constructor(){super("define property getters")}generate(){const{runtimeTemplate:e}=this.compilation;const t=r.definePropertyGetters;return i.asString(["// define getter functions for harmony exports",`${t} = ${e.basicFunction("exports, definition",[`for(var key in definition) {`,i.indent([`if(${r.hasOwnProperty}(definition, key) && !${r.hasOwnProperty}(exports, key)) {`,i.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}e.exports=DefinePropertyGettersRuntimeModule},59179:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class EnsureChunkRuntimeModule extends i{constructor(e){super("ensure chunk");this.runtimeRequirements=e}generate(){const{runtimeTemplate:e}=this.compilation;if(this.runtimeRequirements.has(r.ensureChunkHandlers)){const t=r.ensureChunkHandlers;return s.asString([`${t} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${r.ensureChunk} = ${e.basicFunction("chunkId",[`return Promise.all(Object.keys(${t}).reduce(${e.basicFunction("promises, key",[`${t}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return s.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${r.ensureChunk} = ${e.returningFunction("Promise.resolve()")};`])}}}e.exports=EnsureChunkRuntimeModule},9609:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);const{first:a}=n(26221);class GetChunkFilenameRuntimeModule extends i{constructor(e,t,n,r,i){super(`get ${t} chunk filename`);this.contentType=e;this.global=n;this.getFilenameForChunk=r;this.allChunks=i}generate(){const{global:e,chunk:t,contentType:n,getFilenameForChunk:i,allChunks:c,compilation:u}=this;const{runtimeTemplate:l}=u;const d=new Map;let p=0;let h;const addChunk=e=>{const t=i(e);if(t){let n=d.get(t);if(n===undefined){d.set(t,n=new Set)}n.add(e);if(typeof t==="string"){if(n.size{const unquotedStringify=t=>{const n=`${t}`;if(n.length>=5&&n===`${e.id}`){return'" + chunkId + "'}const r=JSON.stringify(n);return r.slice(1,r.length-1)};const unquotedStringifyWithLength=e=>t=>unquotedStringify(`${e}`.slice(0,t));const i=typeof t==="function"?JSON.stringify(t({chunk:e,contentHashType:n})):JSON.stringify(t);const s=u.getPath(i,{hash:`" + ${r.getFullHash}() + "`,hashWithLength:e=>`" + ${r.getFullHash}().slice(0, ${e}) + "`,chunk:{id:unquotedStringify(e.id),hash:unquotedStringify(e.renderedHash),hashWithLength:unquotedStringifyWithLength(e.renderedHash),name:unquotedStringify(e.name||e.id),contentHash:{[n]:unquotedStringify(e.contentHash[n])},contentHashWithLength:{[n]:unquotedStringifyWithLength(e.contentHash[n])}},contentHashType:n});let a=g.get(s);if(a===undefined){g.set(s,a=new Set)}a.add(e.id)};for(const[e,t]of d){if(e!==h){for(const n of t)addStaticUrl(n,e)}else{for(const e of t)y.add(e)}}const createMap=e=>{const t={};let n=false;let r;let i=0;for(const s of y){const a=e(s);if(a===s.id){n=true}else{t[s.id]=a;r=s.id;i++}}if(i===0)return"chunkId";if(i===1){return n?`(chunkId === ${JSON.stringify(r)} ? ${JSON.stringify(t[r])} : chunkId)`:JSON.stringify(t[r])}return n?`(${JSON.stringify(t)}[chunkId] || chunkId)`:`${JSON.stringify(t)}[chunkId]`};const mapExpr=e=>`" + ${createMap(e)} + "`;const mapExprWithLength=e=>t=>`" + ${createMap((n=>`${e(n)}`.slice(0,t)))} + "`;const _=h&&u.getPath(JSON.stringify(h),{hash:`" + ${r.getFullHash}() + "`,hashWithLength:e=>`" + ${r.getFullHash}().slice(0, ${e}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((e=>e.renderedHash)),hashWithLength:mapExprWithLength((e=>e.renderedHash)),name:mapExpr((e=>e.name||e.id)),contentHash:{[n]:mapExpr((e=>e.contentHash[n]))},contentHashWithLength:{[n]:mapExprWithLength((e=>e.contentHash[n]))}},contentHashType:n});return s.asString([`// This function allow to reference ${m.join(" and ")}`,`${e} = ${l.basicFunction("chunkId",g.size>0?["// return url for filenames not based on template",s.asString(Array.from(g,(([e,t])=>{const n=t.size===1?`chunkId === ${JSON.stringify(a(t))}`:`{${Array.from(t,(e=>`${JSON.stringify(e)}:1`)).join(",")}}[chunkId]`;return`if (${n}) return ${e};`}))),"// return url for filenames based on template",`return ${_};`]:["// return url for filenames based on template",`return ${_};`])};`])}}e.exports=GetChunkFilenameRuntimeModule},75948:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);class GetFullHashRuntimeModule extends i{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:e}=this.compilation;return`${r.getFullHash} = ${e.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}e.exports=GetFullHashRuntimeModule},36100:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class GetMainFilenameRuntimeModule extends i{constructor(e,t,n){super(`get ${e} filename`);this.global=t;this.filename=n}generate(){const{global:e,filename:t,compilation:n,chunk:i}=this;const{runtimeTemplate:a}=n;const c=n.getPath(JSON.stringify(t),{hash:`" + ${r.getFullHash}() + "`,hashWithLength:e=>`" + ${r.getFullHash}().slice(0, ${e}) + "`,chunk:i,runtime:i.runtime});return s.asString([`${e} = ${a.returningFunction(c)};`])}}e.exports=GetMainFilenameRuntimeModule},13376:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class GlobalRuntimeModule extends i{constructor(){super("global")}generate(){return s.asString([`${r.global} = (function() {`,s.indent(["if (typeof globalThis === 'object') return globalThis;","try {",s.indent("return this || new Function('return this')();"),"} catch (e) {",s.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}e.exports=GlobalRuntimeModule},37522:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class HasOwnPropertyRuntimeModule extends i{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:e}=this.compilation;return s.asString([`${r.hasOwnProperty} = ${e.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}e.exports=HasOwnPropertyRuntimeModule},9851:(e,t,n)=>{"use strict";const r=n(66804);class HelperRuntimeModule extends r{constructor(e){super(e)}}e.exports=HelperRuntimeModule},67104:(e,t,n)=>{"use strict";const{SyncWaterfallHook:r}=n(92960);const i=n(3080);const s=n(76150);const a=n(58159);const c=n(9851);const u=new WeakMap;class LoadScriptRuntimeModule extends c{static getCompilationHooks(e){if(!(e instanceof i)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=u.get(e);if(t===undefined){t={createScript:new r(["source","chunk"])};u.set(e,t)}return t}constructor(){super("load script")}generate(){const{compilation:e}=this;const{runtimeTemplate:t,outputOptions:n}=e;const{scriptType:r,chunkLoadTimeout:i,crossOriginLoading:c,uniqueName:u,charset:l}=n;const d=s.loadScript;const{createScript:p}=LoadScriptRuntimeModule.getCompilationHooks(e);const h=a.asString(["script = document.createElement('script');",r?`script.type = ${JSON.stringify(r)};`:"",l?"script.charset = 'utf-8';":"",`script.timeout = ${i/1e3};`,`if (${s.scriptNonce}) {`,a.indent(`script.setAttribute("nonce", ${s.scriptNonce});`),"}",u?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = url;`,c?a.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",a.indent(`script.crossOrigin = ${JSON.stringify(c)};`),"}"]):""]);return a.asString(["var inProgress = {};",u?`var dataWebpackPrefix = ${JSON.stringify(u+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${d} = ${t.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",a.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",a.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${u?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",a.indent(["needAttach = true;",p.call(h,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+t.basicFunction("prev, event",a.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${t.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${i});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}e.exports=LoadScriptRuntimeModule},14676:(e,t,n)=>{"use strict";const r=n(76150);const i=n(58159);const s=n(9851);class MakeNamespaceObjectRuntimeModule extends s{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:e}=this.compilation;const t=r.makeNamespaceObject;return i.asString(["// define __esModule on exports",`${t} = ${e.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",i.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}e.exports=MakeNamespaceObjectRuntimeModule},8299:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class OnChunksLoadedRuntimeModule extends i{constructor(){super("chunk loaded")}generate(){const{compilation:e}=this;const{runtimeTemplate:t}=e;return s.asString(["var deferred = [];",`${r.onChunksLoaded} = ${t.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",s.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",s.indent([t.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",s.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${r.onChunksLoaded}).every(${t.returningFunction(`${r.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,s.indent(["chunkIds.splice(j--, 1);"]),"} else {",s.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",s.indent(["deferred.splice(i--, 1)","result = fn();"]),"}"]),"}","return result;"])};`])}}e.exports=OnChunksLoadedRuntimeModule},48977:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);class PublicPathRuntimeModule extends i{constructor(){super("publicPath",i.STAGE_BASIC)}generate(){const{compilation:e}=this;const{publicPath:t}=e.outputOptions;return`${r.publicPath} = ${JSON.stringify(this.compilation.getPath(t||"",{hash:this.compilation.hash||"XXXX"}))};`}}e.exports=PublicPathRuntimeModule},21355:(e,t,n)=>{"use strict";const r=n(76150);const i=n(58159);const s=n(9851);class RelativeUrlRuntimeModule extends s{constructor(){super("relative url")}generate(){const{runtimeTemplate:e}=this.compilation;return i.asString([`${r.relativeUrl} = function RelativeURL(url) {`,i.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${e.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, Object.assign({ enumerable: true, configurable: true, value: values[key] }));"]),"};",`${r.relativeUrl}.prototype = URL.prototype;`])}}e.exports=RelativeUrlRuntimeModule},41982:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);class RuntimeIdRuntimeModule extends i{constructor(){super("runtimeId")}generate(){const{chunk:e,compilation:t}=this;const{chunkGraph:n}=t;const i=e.runtime;if(typeof i!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const s=n.getRuntimeId(i);return`${r.runtimeId} = ${JSON.stringify(s)};`}}e.exports=RuntimeIdRuntimeModule},64997:(e,t,n)=>{"use strict";const r=n(76150);const i=n(55616);const s=n(34487);class StartupChunkDependenciesPlugin{constructor(e){this.chunkLoading=e.chunkLoading;this.asyncChunkLoading=typeof e.asyncChunkLoading==="boolean"?e.asyncChunkLoading:true}apply(e){e.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(e=>{const t=e.outputOptions.chunkLoading;const isEnabledForChunk=e=>{const n=e.getEntryOptions();const r=n&&n.chunkLoading||t;return r===this.chunkLoading};e.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((t,n)=>{if(!isEnabledForChunk(t))return;if(e.chunkGraph.hasChunkEntryDependentChunks(t)){n.add(r.startup);n.add(r.ensureChunk);n.add(r.ensureChunkIncludeEntries);e.addRuntimeModule(t,new i(this.asyncChunkLoading))}}));e.hooks.runtimeRequirementInTree.for(r.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((t,n)=>{if(!isEnabledForChunk(t))return;n.add(r.require);n.add(r.ensureChunk);n.add(r.ensureChunkIncludeEntries);e.addRuntimeModule(t,new s(this.asyncChunkLoading))}))}))}}e.exports=StartupChunkDependenciesPlugin},55616:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class StartupChunkDependenciesRuntimeModule extends i{constructor(e){super("startup chunk dependencies",i.STAGE_TRIGGER);this.asyncChunkLoading=e}generate(){const{chunk:e,compilation:t}=this;const{chunkGraph:n,runtimeTemplate:i}=t;const a=Array.from(n.getChunkEntryDependentChunksIterable(e)).map((e=>e.id));return s.asString([`var next = ${r.startup};`,`${r.startup} = ${i.basicFunction("",!this.asyncChunkLoading?a.map((e=>`${r.ensureChunk}(${JSON.stringify(e)});`)).concat("return next();"):a.length===1?`return ${r.ensureChunk}(${JSON.stringify(a[0])}).then(next);`:a.length>2?[`return Promise.all(${JSON.stringify(a)}.map(${r.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",s.indent(a.map((e=>`${r.ensureChunk}(${JSON.stringify(e)})`)).join(",\n")),"]).then(next);"])};`])}}e.exports=StartupChunkDependenciesRuntimeModule},34487:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);class StartupEntrypointRuntimeModule extends i{constructor(e){super("startup entrypoint");this.asyncChunkLoading=e}generate(){const{compilation:e}=this;const{runtimeTemplate:t}=e;return`${r.startupEntrypoint} = ${t.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${t.returningFunction(`__webpack_require__(${r.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${r.ensureChunk}, __webpack_require__)).then(${t.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${r.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}e.exports=StartupEntrypointRuntimeModule},76752:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);class SystemContextRuntimeModule extends i{constructor(){super("__system_context__")}generate(){return`${r.systemContext} = __system_context__;`}}e.exports=SystemContextRuntimeModule},68495:(e,t,n)=>{"use strict";const r=n(53520);const{getMimetype:i,decodeDataURI:s}=n(51145);class DataUriPlugin{apply(e){e.hooks.compilation.tap("DataUriPlugin",((e,{normalModuleFactory:t})=>{t.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(e=>{e.data.mimetype=i(e.resource)}));r.getCompilationHooks(e).readResourceForScheme.for("data").tap("DataUriPlugin",(e=>s(e)))}))}}e.exports=DataUriPlugin},99184:(e,t,n)=>{"use strict";const{URL:r,fileURLToPath:i}=n(78835);class FileUriPlugin{apply(e){e.hooks.compilation.tap("FileUriPlugin",((e,{normalModuleFactory:t})=>{t.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(e=>{const t=new r(e.resource);const n=i(t);const s=t.search;const a=t.hash;e.path=n;e.query=s;e.fragment=a;e.resource=n+s+a;return true}))}))}}e.exports=FileUriPlugin},7201:(e,t,n)=>{"use strict";const{URL:r}=n(78835);const i=n(53520);class HttpUriPlugin{apply(e){e.hooks.compilation.tap("HttpUriPlugin",((e,{normalModuleFactory:t})=>{t.hooks.resolveForScheme.for("http").tap("HttpUriPlugin",(e=>{const t=new r(e.resource);e.path=t.origin+t.pathname;e.query=t.search;e.fragment=t.hash;return true}));i.getCompilationHooks(e).readResourceForScheme.for("http").tapAsync("HttpUriPlugin",((e,t,i)=>n(98605).get(new r(e),(e=>{if(e.statusCode!==200){e.destroy();return i(new Error(`http request status code = ${e.statusCode}`))}const t=[];e.on("data",(e=>{t.push(e)}));e.on("end",(()=>{if(!e.complete){return i(new Error("http request was terminated"))}i(null,Buffer.concat(t))}))}))))}))}}e.exports=HttpUriPlugin},1161:(e,t,n)=>{"use strict";const{URL:r}=n(78835);const i=n(53520);class HttpsUriPlugin{apply(e){e.hooks.compilation.tap("HttpsUriPlugin",((e,{normalModuleFactory:t})=>{t.hooks.resolveForScheme.for("https").tap("HttpsUriPlugin",(e=>{const t=new r(e.resource);e.path=t.origin+t.pathname;e.query=t.search;e.fragment=t.hash;return true}));i.getCompilationHooks(e).readResourceForScheme.for("https").tapAsync("HttpsUriPlugin",((e,t,i)=>n(57211).get(new r(e),(e=>{if(e.statusCode!==200){e.destroy();return i(new Error(`https request status code = ${e.statusCode}`))}const t=[];e.on("data",(e=>{t.push(e)}));e.on("end",(()=>{if(!e.complete){return i(new Error("https request was terminated"))}i(null,Buffer.concat(t))}))}))))}))}}e.exports=HttpsUriPlugin},22324:e=>{"use strict";class ArraySerializer{serialize(e,{write:t}){t(e.length);for(const n of e)t(n)}deserialize({read:e}){const t=e();const n=[];for(let r=0;r{"use strict";const r=n(91671);const i=n(43065);const s=11;const a=12;const c=13;const u=14;const l=16;const d=17;const p=18;const h=19;const m=20;const g=21;const y=22;const _=23;const b=24;const x=30;const k=31;const E=96;const w=64;const S=32;const C=128;const M=224;const I=31;const P=127;const T=1;const O=1;const R=4;const N=8;const L=Symbol("MEASURE_START_OPERATION");const $=Symbol("MEASURE_END_OPERATION");const identifyNumber=e=>{if(e===(e|0)){if(e<=127&&e>=-128)return 0;if(e<=2147483647&&e>=-2147483648)return 1}return 2};class BinaryMiddleware extends i{static optimizeSerializedData(e){const t=[];const n=[];const flush=()=>{if(n.length>0){if(n.length===1){t.push(n[0])}else{t.push(Buffer.concat(n))}n.length=0}};for(const r of e){if(Buffer.isBuffer(r)){n.push(r)}else{flush();t.push(r)}}flush();return t}serialize(e,t){return this._serialize(e,t)}_serialize(e,t){let n=null;let r=null;let M=0;const I=[];let P=0;const allocate=(e,t=false)=>{if(n!==null){if(n.length-M>=e)return;flush()}if(r&&r.length>=e){n=r;r=null}else{n=Buffer.allocUnsafe(t?e:Math.max(e,P,1024))}};const flush=()=>{if(n!==null){I.push(n.slice(0,M));if(!r||r.length{n.writeUInt8(e,M++)};const writeU32=e=>{n.writeUInt32LE(e,M);M+=4};const j=[];const measureStart=()=>{j.push(I.length,M)};const measureEnd=()=>{const e=j.pop();const t=j.pop();let n=M-e;for(let e=t;e{for(let r=0;rthis._serialize(e,t)))}}if(typeof e==="function"){flush();I.push(e)}else{const t=[];for(const n of e){let e;if(typeof n==="function"){t.push(0)}else if(n.length===0){}else if(t.length>0&&(e=t[t.length-1])!==0){const r=4294967295-e;if(r>=n.length){t[t.length-1]+=n.length}else{t.push(n.length-r);t[t.length-2]=4294967295}}else{t.push(n.length)}}allocate(5+t.length*4);writeU8(s);writeU32(t.length);for(const e of t){writeU32(e)}for(const t of e){flush();I.push(t)}}break}case"string":{const e=Buffer.byteLength(P);if(e>=128||e!==P.length){allocate(e+T+R);writeU8(x);writeU32(e);n.write(P,M)}else{allocate(e+T);writeU8(C|e);n.write(P,M,"latin1")}M+=e;break}case"number":{const t=identifyNumber(P);if(t===0&&P>=0&&P<=10){allocate(O);writeU8(P);break}let i=1;for(;i<32&&r+i0){n.writeInt8(e[r],M);M+=O;i--;r++}break;case 1:allocate(T+R*i);writeU8(w|i-1);while(i>0){n.writeInt32LE(e[r],M);M+=R;i--;r++}break;case 2:allocate(T+N*i);writeU8(S|i-1);while(i>0){n.writeDoubleLE(e[r],M);M+=N;i--;r++}break}r--;break}case"boolean":{let t=P===true?1:0;const n=[];let i=1;let s;for(s=1;s<4294967295&&r+s{if($>=T.length){$=0;n++;T=nL&&e+$<=T.length;const read=e=>{if(!L){throw new Error(T===null?"Unexpected end of stream":"Unexpected lazy element in stream")}const t=T.length-$;if(t{if(!L){throw new Error(T===null?"Unexpected end of stream":"Unexpected lazy element in stream")}const t=T.length-$;if(t{if(!L){throw new Error(T===null?"Unexpected end of stream":"Unexpected lazy element in stream")}const e=T.readUInt8($);$+=O;checkOverflow();return e};const readU32=()=>read(R).readUInt32LE(0);const readBits=(e,t)=>{let n=1;while(t!==0){z.push((e&n)!==0);n=n<<1;t--}};const j=Array.from({length:256}).map(((j,U)=>{switch(U){case s:return()=>{const s=readU32();const a=Array.from({length:s}).map((()=>readU32()));const c=[];for(let t of a){if(t===0){if(typeof T!=="function"){throw new Error("Unexpected non-lazy element in stream")}c.push(T);n++;T=n0)}}z.push(i.createLazy(r((()=>this._deserialize(c,t))),this,undefined,c))};case k:return()=>{const e=readU32();z.push(read(e))};case a:return()=>z.push(true);case c:return()=>z.push(false);case p:return()=>z.push(null,null,null);case d:return()=>z.push(null,null);case l:return()=>z.push(null);case _:return()=>z.push(null,true);case b:return()=>z.push(null,false);case g:return()=>{if(L){z.push(null,T.readInt8($));$+=O;checkOverflow()}else{z.push(null,read(O).readInt8(0))}};case y:return()=>{z.push(null);if(isInCurrentBuffer(R)){z.push(T.readInt32LE($));$+=R;checkOverflow()}else{z.push(read(R).readInt32LE(0))}};case h:return()=>{const e=readU8()+4;for(let t=0;t{const e=readU32()+260;for(let t=0;t{const e=readU8();if((e&240)===0){readBits(e,3)}else if((e&224)===0){readBits(e,4)}else if((e&192)===0){readBits(e,5)}else if((e&128)===0){readBits(e,6)}else if(e!==255){let t=(e&127)+7;while(t>8){readBits(readU8(),8);t-=8}readBits(readU8(),t)}else{let e=readU32();while(e>8){readBits(readU8(),8);e-=8}readBits(readU8(),e)}};case x:return()=>{const e=readU32();if(isInCurrentBuffer(e)){z.push(T.toString(undefined,$,$+e));$+=e;checkOverflow()}else{z.push(read(e).toString())}};case C:return()=>z.push("");case C|1:return()=>{if(L){z.push(T.toString("latin1",$,$+1));$++;checkOverflow()}else{z.push(read(1).toString("latin1"))}};case E:return()=>{if(L){z.push(T.readInt8($));$++;checkOverflow()}else{z.push(read(1).readInt8(0))}};default:if(U<=10){return()=>z.push(U)}else if((U&C)===C){const e=U&P;return()=>{if(isInCurrentBuffer(e)){z.push(T.toString("latin1",$,$+e));$+=e;checkOverflow()}else{z.push(read(e).toString("latin1"))}}}else if((U&M)===S){const e=(U&I)+1;return()=>{const t=N*e;if(isInCurrentBuffer(t)){for(let t=0;t{const t=R*e;if(isInCurrentBuffer(t)){for(let t=0;t{const t=O*e;if(isInCurrentBuffer(t)){for(let t=0;t{throw new Error(`Unexpected header byte 0x${U.toString(16)}`)}}}}));const z=[];while(T!==null){if(typeof T==="function"){z.push(i.deserializeLazy(T,(e=>this._deserialize(e,t))));n++;T=n{"use strict";class DateObjectSerializer{serialize(e,{write:t}){t(e.getTime())}deserialize({read:e}){return new Date(e())}}e.exports=DateObjectSerializer},12020:e=>{"use strict";class ErrorObjectSerializer{constructor(e){this.Type=e}serialize(e,{write:t}){t(e.message);t(e.stack)}deserialize({read:e}){const t=new this.Type;t.message=e();t.stack=e();return t}}e.exports=ErrorObjectSerializer},13829:(e,t,n)=>{"use strict";const{constants:r}=n(64293);const i=n(35891);const{dirname:s,join:a,mkdirp:c}=n(95396);const u=n(91671);const l=n(43065);const d=23294071;const hashForName=e=>{const t=i("md4");for(const n of e)t.update(n);return t.digest("hex")};const p=Buffer.prototype.writeBigUInt64LE?(e,t,n)=>{e.writeBigUInt64LE(BigInt(t),n)}:(e,t,n)=>{const r=t%4294967296;const i=(t-r)/4294967296;e.writeUInt32LE(r,n);e.writeUInt32LE(i,n+4)};const h=Buffer.prototype.readBigUInt64LE?(e,t)=>Number(e.readBigUInt64LE(t)):(e,t)=>{const n=e.readUInt32LE(t);const r=e.readUInt32LE(t+4);return r*4294967296+n};const serialize=async(e,t,n,r)=>{const i=[];const s=new WeakMap;let a=undefined;for(const n of await t){if(typeof n==="function"){if(!l.isLazy(n))throw new Error("Unexpected function");if(!l.isLazy(n,e)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}a=undefined;const t=l.getLazySerializedValue(n);if(t){if(typeof t==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{i.push(t)}}else{const t=n();if(t){const a=l.getLazyOptions(n);i.push(serialize(e,t,a&&a.name||true,r).then((e=>{n.options.size=e.size;s.set(e,n);return e})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(n){if(a){a.push(n)}else{a=[n];i.push(a)}}else{throw new Error("Unexpected falsy value in items array")}}const c=[];const u=(await Promise.all(i)).map((e=>{if(Array.isArray(e)||Buffer.isBuffer(e))return e;c.push(e.backgroundJob);const t=e.name;const n=Buffer.from(t);const r=Buffer.allocUnsafe(8+n.length);p(r,e.size,0);n.copy(r,8,0);const i=s.get(e);l.setLazySerializedValue(i,r);return r}));const h=[];for(const e of u){if(Array.isArray(e)){let t=0;for(const n of e)t+=n.length;while(t>2147483647){h.push(2147483647);t-=2147483647}h.push(t)}else if(e){h.push(-e.length)}else{throw new Error("Unexpected falsy value in resolved data "+e)}}const m=Buffer.allocUnsafe(8+h.length*4);m.writeUInt32LE(d,0);m.writeUInt32LE(h.length,4);for(let e=0;e{const r=await n(t);if(r.length===0)throw new Error("Empty file "+t);let i=0;let s=r[0];let a=s.length;let c=0;if(a===0)throw new Error("Empty file "+t);const nextContent=()=>{i++;s=r[i];a=s.length;c=0};const ensureData=e=>{if(c===a){nextContent()}while(a-cn){u.push(r[e].slice(0,n));r[e]=r[e].slice(n);n=0;break}else{u.push(r[e]);i=e;n-=t}}if(n>0)throw new Error("Unexpected end of data");s=Buffer.concat(u,e);a=e;c=0}};const readUInt32LE=()=>{ensureData(4);const e=s.readUInt32LE(c);c+=4;return e};const readInt32LE=()=>{ensureData(4);const e=s.readInt32LE(c);c+=4;return e};const readSlice=e=>{ensureData(e);if(c===0&&a===e){const t=s;if(i+1deserialize(e,a,n))),e,{name:a,size:i},r))}else{if(c===a){nextContent()}else if(c!==0){if(t<=a-c){y.push(s.slice(c,c+t));c+=t;t=0}else{y.push(s.slice(c));t-=a-c;c=a}}else{if(t>=a){y.push(s);t-=a;c=a}else{y.push(s.slice(0,t));c+=t;t=0}}while(t>0){nextContent();if(t>=a){y.push(s);t-=a;c=a}else{y.push(s.slice(0,t));c+=t;t=0}}}}return y};class FileMiddleware extends l{constructor(e){super();this.fs=e}serialize(e,t){const{filename:n,extension:r=""}=t;return new Promise(((t,i)=>{c(this.fs,s(this.fs,n),(s=>{if(s)return i(s);const c=new Set;const writeFile=async(e,t)=>{const i=e?a(this.fs,n,`../${e}${r}`):n;await new Promise(((e,n)=>{const r=this.fs.createWriteStream(i+"_");for(const e of t)r.write(e);r.end();r.on("error",(e=>n(e)));r.on("finish",(()=>e()))}));if(e)c.add(i)};t(serialize(this,e,false,writeFile).then((async({backgroundJob:e})=>{await e;await new Promise((e=>this.fs.rename(n,n+".old",(t=>{e()}))));await Promise.all(Array.from(c,(e=>new Promise(((t,n)=>{this.fs.rename(e+"_",e,(e=>{if(e)return n(e);t()}))})))));await new Promise((e=>{this.fs.rename(n+"_",n,(t=>{if(t)return i(t);e()}))}));return true})))}))}))}deserialize(e,t){const{filename:n,extension:i=""}=t;const readFile=e=>new Promise(((t,s)=>{const c=e?a(this.fs,n,`../${e}${i}`):n;this.fs.stat(c,((e,n)=>{if(e){s(e);return}let i=n.size;let a;let u;const l=[];this.fs.open(c,"r",((e,n)=>{if(e){s(e);return}const read=()=>{if(a===undefined){a=Buffer.allocUnsafeSlow(Math.min(r.MAX_LENGTH,i));u=0}let e=a;let c=u;let d=a.length-u;if(c>2147483647){e=a.slice(c);c=0}if(d>2147483647){d=2147483647}this.fs.read(n,e,c,d,null,((e,r)=>{if(e){this.fs.close(n,(()=>{s(e)}));return}u+=r;i-=r;if(u===a.length){l.push(a);a=undefined;if(i===0){this.fs.close(n,(e=>{if(e){s(e);return}t(l)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}e.exports=FileMiddleware},58461:e=>{"use strict";class MapObjectSerializer{serialize(e,{write:t}){t(e.size);for(const n of e.keys()){t(n)}for(const n of e.values()){t(n)}}deserialize({read:e}){let t=e();const n=new Map;const r=[];for(let n=0;n{"use strict";class NullPrototypeObjectSerializer{serialize(e,{write:t}){const n=Object.keys(e);for(const e of n){t(e)}t(null);for(const r of n){t(e[r])}}deserialize({read:e}){const t=Object.create(null);const n=[];let r=e();while(r!==null){n.push(r);r=e()}for(const r of n){t[r]=e()}return t}}e.exports=NullPrototypeObjectSerializer},30991:(e,t,n)=>{"use strict";const r=n(35891);const i=n(22324);const s=n(93524);const a=n(12020);const c=n(58461);const u=n(78176);const l=n(11900);const d=n(46690);const p=n(43065);const h=n(25402);const setSetSize=(e,t)=>{let n=0;for(const r of e){if(n++>=t){e.delete(r)}}};const setMapSize=(e,t)=>{let n=0;for(const r of e.keys()){if(n++>=t){e.delete(r)}}};const toHash=e=>{const t=r("md4");t.update(e);return t.digest("latin1")};const m=null;const g=null;const y=true;const _=false;const b=2;const x=new Map;const k=new Map;const E=new Set;const w={};const S=new Map;S.set(Object,new l);S.set(Array,new i);S.set(null,new u);S.set(Map,new c);S.set(Set,new h);S.set(Date,new s);S.set(RegExp,new d);S.set(Error,new a(Error));S.set(EvalError,new a(EvalError));S.set(RangeError,new a(RangeError));S.set(ReferenceError,new a(ReferenceError));S.set(SyntaxError,new a(SyntaxError));S.set(TypeError,new a(TypeError));if(t.constructor!==Object){const e=t.constructor;const n=e.constructor;for(const[e,t]of Array.from(S)){if(e){const r=new n(`return ${e.name};`)();S.set(r,t)}}}{let e=1;for(const[t,n]of S){x.set(t,{request:"",name:e++,serializer:n})}}for(const{request:e,name:t,serializer:n}of x.values()){k.set(`${e}/${t}`,n)}const C=new Map;class ObjectMiddleware extends p{constructor(e){super();this.extendContext=e}static registerLoader(e,t){C.set(e,t)}static register(e,t,n,r){const i=t+"/"+n;if(x.has(e)){throw new Error(`ObjectMiddleware.register: serializer for ${e.name} is already registered`)}if(k.has(i)){throw new Error(`ObjectMiddleware.register: serializer for ${i} is already registered`)}x.set(e,{request:t,name:n,serializer:r});k.set(i,r)}static registerNotSerializable(e){if(x.has(e)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${e.name} is already registered`)}x.set(e,w)}static getSerializerFor(e){const t=Object.getPrototypeOf(e);let n;if(t===null){n=null}else{n=t.constructor;if(!n){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const r=x.get(n);if(!r)throw new Error(`No serializer registered for ${n.name}`);if(r===w)throw w;return r}static getDeserializerFor(e,t){const n=e+"/"+t;const r=k.get(n);if(r===undefined){throw new Error(`No deserializer registered for ${n}`)}return r}static _getDeserializerForWithoutError(e,t){const n=e+"/"+t;const r=k.get(n);return r}serialize(e,t){let n=[b];let r=0;let i=new Map;const addReferenceable=e=>{i.set(e,r++)};let s=new Map;const dedupeBuffer=e=>{const t=e.length;const n=s.get(t);if(n===undefined){s.set(t,e);return e}if(Buffer.isBuffer(n)){if(t<32){if(e.equals(n)){return n}s.set(t,[n,e]);return e}else{const r=toHash(n);const i=new Map;i.set(r,n);s.set(t,i);const a=toHash(e);if(r===a){return n}return e}}else if(Array.isArray(n)){if(n.length<16){for(const t of n){if(e.equals(t)){return t}}n.push(e);return e}else{const r=new Map;const i=toHash(e);let a;for(const e of n){const t=toHash(e);r.set(t,e);if(a===undefined&&t===i)a=e}s.set(t,r);if(a===undefined){r.set(i,e);return e}else{return a}}}else{const t=toHash(e);const r=n.get(t);if(r!==undefined){return r}n.set(t,e);return e}};let a=0;let c=new Map;const u=new Set;const stackToString=e=>{const t=Array.from(u);t.push(e);return t.map((e=>{if(typeof e==="string"){if(e.length>100){return`String ${JSON.stringify(e.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(e)}`}try{const{request:t,name:n}=ObjectMiddleware.getSerializerFor(e);if(t){return`${t}${n?`.${n}`:""}`}}catch(e){}if(typeof e==="object"&&e!==null){if(e.constructor){if(e.constructor===Object)return`Object { ${Object.keys(e).join(", ")} }`;if(e.constructor===Map)return`Map { ${e.size} items }`;if(e.constructor===Array)return`Array { ${e.length} items }`;if(e.constructor===Set)return`Set { ${e.size} items }`;if(e.constructor===RegExp)return e.toString();return`${e.constructor.name}`}return`Object [null prototype] { ${Object.keys(e).join(", ")} }`}try{return`${e}`}catch(e){return`(${e.message})`}})).join(" -> ")};let l;let d={write(e,t){try{process(e)}catch(t){if(t!==w){if(l===undefined)l=new WeakSet;if(!l.has(t)){t.message+=`\nwhile serializing ${stackToString(e)}`;l.add(t)}}throw t}},snapshot(){return{length:n.length,cycleStackSize:u.size,referenceableSize:i.size,currentPos:r,objectTypeLookupSize:c.size,currentPosTypeLookup:a}},rollback(e){n.length=e.length;setSetSize(u,e.cycleStackSize);setMapSize(i,e.referenceableSize);r=e.currentPos;setMapSize(c,e.objectTypeLookupSize);a=e.currentPosTypeLookup},...t};this.extendContext(d);const process=e=>{if(Buffer.isBuffer(e)){const t=i.get(e);if(t!==undefined){n.push(m,t-r);return}const s=dedupeBuffer(e);if(s!==e){const t=i.get(s);if(t!==undefined){i.set(e,t);n.push(m,t-r);return}e=s}addReferenceable(e);n.push(e)}else if(e===m){n.push(m,g)}else if(typeof e==="object"){const t=i.get(e);if(t!==undefined){n.push(m,t-r);return}if(u.has(e)){throw new Error(`Circular references can't be serialized`)}const{request:s,name:l,serializer:p}=ObjectMiddleware.getSerializerFor(e);const h=`${s}/${l}`;const g=c.get(h);if(g===undefined){c.set(h,a++);n.push(m,s,l)}else{n.push(m,a-g)}u.add(e);try{p.serialize(e,d)}finally{u.delete(e)}n.push(m,y);addReferenceable(e)}else if(typeof e==="string"){if(e.length>1){const t=i.get(e);if(t!==undefined){n.push(m,t-r);return}addReferenceable(e)}if(e.length>102400&&t.logger){t.logger.warn(`Serializing big strings (${Math.round(e.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}n.push(e)}else if(typeof e==="function"){if(!p.isLazy(e))throw new Error("Unexpected function "+e);const r=p.getLazySerializedValue(e);if(r!==undefined){if(typeof r==="function"){n.push(r)}else{throw new Error("Not implemented")}}else if(p.isLazy(e,this)){throw new Error("Not implemented")}else{n.push(p.serializeLazy(e,(e=>this.serialize([e],t))))}}else if(e===undefined){n.push(m,_)}else{n.push(e)}};try{for(const t of e){process(t)}return n}catch(e){if(e===w)return null;throw e}finally{e=n=i=s=c=d=undefined}}deserialize(e,t){let n=0;const read=()=>{if(n>=e.length)throw new Error("Unexpected end of stream");return e[n++]};if(read()!==b)throw new Error("Version mismatch, serializer changed");let r=0;let i=[];const addReferenceable=e=>{i.push(e);r++};let s=0;let a=[];let c=[];let u={read(){return decodeValue()},...t};this.extendContext(u);const decodeValue=()=>{const e=read();if(e===m){const e=read();if(e===g){return m}else if(e===_){return undefined}else if(e===y){throw new Error(`Unexpected end of object at position ${n-1}`)}else if(typeof e==="number"&&e<0){return i[r+e]}else{const t=e;let r;if(typeof t==="number"){r=a[s-t]}else{if(typeof t!=="string"){throw new Error(`Unexpected type (${typeof t}) of request `+`at position ${n-1}`)}const e=read();r=ObjectMiddleware._getDeserializerForWithoutError(t,e);if(r===undefined){if(t&&!E.has(t)){let e=false;for(const[n,r]of C){if(n.test(t)){if(r(t)){e=true;break}}}if(!e){require(t)}E.add(t)}r=ObjectMiddleware.getDeserializerFor(t,e)}a.push(r);s++}try{const e=r.deserialize(u);const t=read();if(t!==m){throw new Error("Expected end of object")}const n=read();if(n!==y){throw new Error("Expected end of object")}addReferenceable(e);return e}catch(e){let t;for(const e of x){if(e[1].serializer===r){t=e;break}}const n=!t?"unknown":!t[1].request?t[0].name:t[1].name?`${t[1].request} ${t[1].name}`:t[1].request;e.message+=`\n(during deserialization of ${n})`;throw e}}}else if(typeof e==="string"){if(e.length>1){addReferenceable(e)}return e}else if(Buffer.isBuffer(e)){addReferenceable(e);return e}else if(typeof e==="function"){return p.deserializeLazy(e,(e=>this.deserialize(e,t)[0]))}else{return e}};try{while(n{"use strict";const t=new WeakMap;class ObjectStructure{constructor(e){this.keys=e;this.children=new Map}getKeys(){return this.keys}key(e){const t=this.children.get(e);if(t!==undefined)return t;const n=new ObjectStructure(this.keys.concat(e));this.children.set(e,n);return n}}const getCachedKeys=(e,n)=>{let r=t.get(n);if(r===undefined){r=new ObjectStructure([]);t.set(n,r)}let i=r;for(const t of e){i=i.key(t)}return i.getKeys()};class PlainObjectSerializer{serialize(e,{write:t}){const n=Object.keys(e);if(n.length>1){t(getCachedKeys(n,t));for(const r of n){t(e[r])}}else if(n.length===1){const r=n[0];t(r);t(e[r])}else{t(null)}}deserialize({read:e}){const t=e();const n={};if(Array.isArray(t)){for(const r of t){n[r]=e()}}else if(t!==null){n[t]=e()}return n}}e.exports=PlainObjectSerializer},46690:e=>{"use strict";class RegExpObjectSerializer{serialize(e,{write:t}){t(e.source);t(e.flags)}deserialize({read:e}){return new RegExp(e(),e())}}e.exports=RegExpObjectSerializer},15261:e=>{"use strict";class Serializer{constructor(e,t){this.serializeMiddlewares=e.slice();this.deserializeMiddlewares=e.slice().reverse();this.context=t}serialize(e,t){const n={...t,...this.context};let r=e;for(const e of this.serializeMiddlewares){if(r instanceof Promise){r=r.then((n=>n&&e.serialize(n,t)))}else if(r){try{r=e.serialize(r,n)}catch(e){r=Promise.reject(e)}}else break}return r}deserialize(e,t){const n={...t,...this.context};let r=e;for(const e of this.deserializeMiddlewares){if(r instanceof Promise){r=r.then((n=>e.deserialize(n,t)))}else{r=e.deserialize(r,n)}}return r}}e.exports=Serializer},43065:(e,t,n)=>{"use strict";const r=n(91671);const i=Symbol("lazy serialization target");const s=Symbol("lazy serialization data");class SerializerMiddleware{serialize(e,t){const r=n(75884);throw new r}deserialize(e,t){const r=n(75884);throw new r}static createLazy(e,t,n={},r){if(SerializerMiddleware.isLazy(e,t))return e;const a=typeof e==="function"?e:()=>e;a[i]=t;a.options=n;a[s]=r;return a}static isLazy(e,t){if(typeof e!=="function")return false;const n=e[i];return t?n===t:!!n}static getLazyOptions(e){if(typeof e!=="function")return undefined;return e.options}static getLazySerializedValue(e){if(typeof e!=="function")return undefined;return e[s]}static setLazySerializedValue(e,t){e[s]=t}static serializeLazy(e,t){const n=r((()=>{const n=e();if(n instanceof Promise)return n.then((e=>e&&t(e)));if(n)return t(n);return null}));n[i]=e[i];n.options=e.options;e[s]=n;return n}static deserializeLazy(e,t){const n=r((()=>{const n=e();if(n instanceof Promise)return n.then((e=>t(e)));return t(n)}));n[i]=e[i];n.options=e.options;n[s]=e;return n}}e.exports=SerializerMiddleware},25402:e=>{"use strict";class SetObjectSerializer{serialize(e,{write:t}){t(e.size);for(const n of e){t(n)}}deserialize({read:e}){let t=e();const n=new Set;for(let r=0;r{"use strict";const r=n(43065);class SingleItemMiddleware extends r{serialize(e,t){return[e]}deserialize(e,t){return e[0]}}e.exports=SingleItemMiddleware},86827:(e,t,n)=>{"use strict";const r=n(79983);const i=n(56202);class ConsumeSharedFallbackDependency extends r{constructor(e){super(e)}get type(){return"consume shared fallback"}get category(){return"esm"}}i(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");e.exports=ConsumeSharedFallbackDependency},21606:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(98221);const s=n(53453);const a=n(76150);const c=n(56202);const{rangeToString:u,stringifyHoley:l}=n(9293);const d=n(86827);const p=new Set(["consume-shared"]);class ConsumeSharedModule extends s{constructor(e,t){super("consume-shared-module",e);this.options=t}identifier(){const{shareKey:e,shareScope:t,importResolved:n,requiredVersion:r,strictVersion:i,singleton:s,eager:a}=this.options;return`consume-shared-module|${t}|${e}|${r&&u(r)}|${i}|${n}|${s}|${a}`}readableIdentifier(e){const{shareKey:t,shareScope:n,importResolved:r,requiredVersion:i,strictVersion:s,singleton:a,eager:c}=this.options;return`consume shared module (${n}) ${t}@${i?u(i):"*"}${s?" (strict)":""}${a?" (singleton)":""}${r?` (fallback: ${e.shorten(r)})`:""}${c?" (eager)":""}`}libIdent(e){const{shareKey:t,shareScope:n,import:r}=this.options;return`webpack/sharing/consume/${n}/${t}${r?`/${r}`:""}`}needBuild(e,t){t(null,!this.buildInfo)}build(e,t,n,r,s){this.buildMeta={};this.buildInfo={};if(this.options.import){const e=new d(this.options.import);if(this.options.eager){this.addDependency(e)}else{const t=new i({});t.addDependency(e);this.addBlock(t)}}s()}getSourceTypes(){return p}size(e){return 42}updateHash(e,t){e.update(JSON.stringify(this.options));super.updateHash(e,t)}codeGeneration({chunkGraph:e,moduleGraph:t,runtimeTemplate:n}){const i=new Set([a.shareScopeMap]);const{shareScope:s,shareKey:c,strictVersion:u,requiredVersion:d,import:p,singleton:h,eager:m}=this.options;let g;if(p){if(m){const t=this.dependencies[0];g=n.syncModuleFactory({dependency:t,chunkGraph:e,runtimeRequirements:i,request:this.options.import})}else{const t=this.blocks[0];g=n.asyncModuleFactory({block:t,chunkGraph:e,runtimeRequirements:i,request:this.options.import})}}let y="load";const _=[JSON.stringify(s),JSON.stringify(c)];if(d){if(u){y+="Strict"}if(h){y+="Singleton"}_.push(l(d));y+="VersionCheck"}if(g){y+="Fallback";_.push(g)}const b=n.returningFunction(`${y}(${_.join(", ")})`);const x=new Map;x.set("consume-shared",new r(b));return{runtimeRequirements:i,sources:x}}serialize(e){const{write:t}=e;t(this.options);super.serialize(e)}deserialize(e){const{read:t}=e;this.options=t();super.deserialize(e)}}c(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");e.exports=ConsumeSharedModule},71968:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(16308);const s=n(54032);const a=n(76150);const c=n(81627);const{parseOptions:u}=n(97264);const l=n(83379);const{parseRange:d}=n(9293);const p=n(86827);const h=n(21606);const m=n(20428);const g=n(31095);const{resolveMatchedConfigs:y}=n(57870);const{isRequiredVersion:_,getDescriptionFile:b,getRequiredVersionFromDescriptionFile:x}=n(37650);const k={dependencyType:"esm"};const E="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(e){if(typeof e!=="string"){r(i,e,{name:"Consumes Shared Plugin"})}this._consumes=u(e.consumes,((t,n)=>{if(Array.isArray(t))throw new Error("Unexpected array in options");let r=t===n||!_(t)?{import:n,shareScope:e.shareScope||"default",shareKey:n,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:n,shareScope:e.shareScope||"default",shareKey:n,requiredVersion:d(t),strictVersion:true,packageName:undefined,singleton:false,eager:false};return r}),((t,n)=>({import:t.import===false?undefined:t.import||n,shareScope:t.shareScope||e.shareScope||"default",shareKey:t.shareKey||n,requiredVersion:typeof t.requiredVersion==="string"?d(t.requiredVersion):t.requiredVersion,strictVersion:typeof t.strictVersion==="boolean"?t.strictVersion:t.import!==false&&!t.singleton,packageName:t.packageName,singleton:!!t.singleton,eager:!!t.eager})))}apply(e){e.hooks.thisCompilation.tap(E,((t,{normalModuleFactory:n})=>{t.dependencyFactories.set(p,n);let r,i,u;const _=y(t,this._consumes).then((({resolved:e,unresolved:t,prefixed:n})=>{i=e;r=t;u=n}));const w=t.resolverFactory.get("normal",k);const createConsumeSharedModule=(n,r,i)=>{const requiredVersionWarning=e=>{const n=new c(`No required version specified and unable to automatically determine one. ${e}`);n.file=`shared module ${r}`;t.warnings.push(n)};const a=i.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(i.import);return Promise.all([new Promise((c=>{if(!i.import)return c();const u={fileDependencies:new l,contextDependencies:new l,missingDependencies:new l};w.resolve({},a?e.context:n,i.import,u,((e,n)=>{t.contextDependencies.addAll(u.contextDependencies);t.fileDependencies.addAll(u.fileDependencies);t.missingDependencies.addAll(u.missingDependencies);if(e){t.errors.push(new s(null,e,{name:`resolving fallback for shared module ${r}`}));return c()}c(n)}))})),new Promise((e=>{if(i.requiredVersion!==undefined)return e(i.requiredVersion);let s=i.packageName;if(s===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(r)){return e()}const t=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(r);if(!t){requiredVersionWarning("Unable to extract the package name from request.");return e()}s=t[0]}b(t.inputFileSystem,n,["package.json"],((t,r)=>{if(t){requiredVersionWarning(`Unable to read description file: ${t}`);return e()}const{data:i,path:a}=r;if(!i){requiredVersionWarning(`Unable to find description file in ${n}.`);return e()}const c=x(i,s);if(typeof c!=="string"){requiredVersionWarning(`Unable to find required version for "${s}" in description file (${a}). It need to be in dependencies, devDependencies or peerDependencies.`);return e()}e(d(c))}))}))]).then((([t,r])=>new h(a?e.context:n,{...i,importResolved:t,import:t?i.import:undefined,requiredVersion:r})))};n.hooks.factorize.tapPromise(E,(({context:e,request:t,dependencies:n})=>_.then((()=>{if(n[0]instanceof p||n[0]instanceof g){return}const i=r.get(t);if(i!==undefined){return createConsumeSharedModule(e,t,i)}for(const[n,r]of u){if(t.startsWith(n)){const i=t.slice(n.length);return createConsumeSharedModule(e,t,{...r,import:r.import?r.import+i:undefined,shareKey:r.shareKey+i})}}}))));n.hooks.createModule.tapPromise(E,(({resource:e},{context:t,dependencies:n})=>{if(n[0]instanceof p||n[0]instanceof g){return Promise.resolve()}const r=i.get(e);if(r!==undefined){return createConsumeSharedModule(t,e,r)}return Promise.resolve()}));t.hooks.additionalTreeRuntimeRequirements.tap(E,((e,n)=>{n.add(a.module);n.add(a.moduleCache);n.add(a.moduleFactoriesAddOnly);n.add(a.shareScopeMap);n.add(a.initializeSharing);n.add(a.hasOwnProperty);t.addRuntimeModule(e,new m(n))}))}))}}e.exports=ConsumeSharedPlugin},20428:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);const{parseVersionRuntimeCode:a,versionLtRuntimeCode:c,rangeToStringRuntimeCode:u,satisfyRuntimeCode:l}=n(9293);class ConsumeSharedRuntimeModule extends i{constructor(e){super("consumes",i.STAGE_ATTACH);this._runtimeRequirements=e}generate(){const{runtimeTemplate:e,chunkGraph:t,codeGenerationResults:n}=this.compilation;const i={};const d=new Map;const p=[];const addModules=(e,r,i)=>{for(const s of e){const e=s;const a=t.getModuleId(e);i.push(a);d.set(a,n.getSource(e,r.runtime,"consume-shared"))}};for(const e of this.chunk.getAllAsyncChunks()){const n=t.getChunkModulesIterableBySourceType(e,"consume-shared");if(!n)continue;addModules(n,e,i[e.id]=[])}for(const e of this.chunk.getAllInitialChunks()){const n=t.getChunkModulesIterableBySourceType(e,"consume-shared");if(!n)continue;addModules(n,e,p)}if(d.size===0)return null;return s.asString([a(e),c(e),u(e),l(e),`var ensureExistence = ${e.basicFunction("scopeName, key",[`var scope = ${r.shareScopeMap}[scopeName];`,`if(!scope || !${r.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${e.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${e.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${e.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${e.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${e.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${e.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${e.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${e.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${e.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${e.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${e.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${e.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${e.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${e.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${e.returningFunction(s.asString(["function(scopeName, a, b, c) {",s.indent([`var promise = ${r.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${r.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${r.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, fallback",[`return scope && ${r.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${r.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${r.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${r.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${r.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",s.indent(Array.from(d,(([e,t])=>`${JSON.stringify(e)}: ${t.source()}`)).join(",\n")),"};",p.length>0?s.asString([`var initialConsumes = ${JSON.stringify(p)};`,`initialConsumes.forEach(${e.basicFunction("id",[`${r.moduleFactories}[id] = ${e.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${r.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has(r.ensureChunkHandlers)?s.asString([`var chunkMapping = ${JSON.stringify(i,null,"\t")};`,`${r.ensureChunkHandlers}.consumes = ${e.basicFunction("chunkId, promises",[`if(${r.hasOwnProperty}(chunkMapping, chunkId)) {`,s.indent([`chunkMapping[chunkId].forEach(${e.basicFunction("id",[`if(${r.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${e.basicFunction("factory",["installedModules[id] = 0;",`${r.moduleFactories}[id] = ${e.basicFunction("module",[`delete ${r.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${e.basicFunction("error",["delete installedModules[id];",`${r.moduleFactories}[id] = ${e.basicFunction("module",[`delete ${r.moduleCache}[id];`,"throw error;"])}`])};`,"try {",s.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",s.indent(`promises.push(installedModules[id] = promise.then(onFactory).catch(onError));`),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}e.exports=ConsumeSharedRuntimeModule},31095:(e,t,n)=>{"use strict";const r=n(79983);const i=n(56202);class ProvideForSharedDependency extends r{constructor(e){super(e)}get type(){return"provide module for shared"}get category(){return"esm"}}i(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");e.exports=ProvideForSharedDependency},56049:(e,t,n)=>{"use strict";const r=n(28706);const i=n(56202);class ProvideSharedDependency extends r{constructor(e,t,n,r,i){super();this.shareScope=e;this.name=t;this.version=n;this.request=r;this.eager=i}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(e){e.write(this.shareScope);e.write(this.name);e.write(this.request);e.write(this.version);e.write(this.eager);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new ProvideSharedDependency(t(),t(),t(),t(),t());this.shareScope=e.read();n.deserialize(e);return n}}i(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");e.exports=ProvideSharedDependency},99114:(e,t,n)=>{"use strict";const r=n(98221);const i=n(53453);const s=n(76150);const a=n(56202);const c=n(31095);const u=new Set(["share-init"]);class ProvideSharedModule extends i{constructor(e,t,n,r,i){super("provide-module");this._shareScope=e;this._name=t;this._version=n;this._request=r;this._eager=i}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(e){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${e.shorten(this._request)}`}libIdent(e){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(e,t){t(null,!this.buildInfo)}build(e,t,n,i,s){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const a=new c(this._request);if(this._eager){this.addDependency(a)}else{const e=new r({});e.addDependency(a);this.addBlock(e)}s()}size(e){return 42}getSourceTypes(){return u}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n}){const r=new Set([s.initializeSharing]);const i=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?e.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:n,request:this._request,runtimeRequirements:r}):e.asyncModuleFactory({block:this.blocks[0],chunkGraph:n,request:this._request,runtimeRequirements:r})}${this._eager?", 1":""});`;const a=new Map;const c=new Map;c.set("share-init",[{shareScope:this._shareScope,initStage:10,init:i}]);return{sources:a,data:c,runtimeRequirements:r}}serialize(e){const{write:t}=e;t(this._shareScope);t(this._name);t(this._version);t(this._request);t(this._eager);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new ProvideSharedModule(t(),t(),t(),t(),t());n.deserialize(e);return n}}a(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");e.exports=ProvideSharedModule},96295:(e,t,n)=>{"use strict";const r=n(40674);const i=n(99114);class ProvideSharedModuleFactory extends r{create(e,t){const n=e.dependencies[0];t(null,{module:new i(n.shareScope,n.name,n.version,n.request,n.eager)})}}e.exports=ProvideSharedModuleFactory},48151:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i=n(23288);const s=n(81627);const{parseOptions:a}=n(97264);const c=n(31095);const u=n(56049);const l=n(96295);class ProvideSharedPlugin{constructor(e){r(i,e,{name:"Provide Shared Plugin"});this._provides=a(e.provides,(t=>{if(Array.isArray(t))throw new Error("Unexpected array of provides");const n={shareKey:t,version:undefined,shareScope:e.shareScope||"default",eager:false};return n}),(t=>({shareKey:t.shareKey,version:t.version,shareScope:t.shareScope||e.shareScope||"default",eager:!!t.eager})));this._provides.sort((([e],[t])=>{if(e{const r=new Map;const i=new Map;const a=new Map;for(const[e,t]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(e)){r.set(e,{config:t,version:t.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(e)){r.set(e,{config:t,version:t.version})}else if(e.endsWith("/")){a.set(e,t)}else{i.set(e,t)}}t.set(e,r);const provideSharedModule=(t,n,i,a)=>{let c=n.version;if(c===undefined){let n="";if(!a){n=`No resolve data provided from resolver.`}else{const e=a.descriptionFileData;if(!e){n="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!e.version){n="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{c=e.version}}if(!c){const r=new s(`No version specified and unable to automatically determine one. ${n}`);r.file=`shared module ${t} -> ${i}`;e.warnings.push(r)}}r.set(i,{config:n,version:c})};n.hooks.module.tap("ProvideSharedPlugin",((e,{resource:t,resourceResolveData:n},s)=>{if(r.has(t)){return e}const{request:c}=s;{const e=i.get(c);if(e!==undefined){provideSharedModule(c,e,t,n);s.cacheable=false}}for(const[e,r]of a){if(c.startsWith(e)){const i=c.slice(e.length);provideSharedModule(t,{...r,shareKey:r.shareKey+i},t,n);s.cacheable=false}}return e}))}));e.hooks.finishMake.tapPromise("ProvideSharedPlugin",(n=>{const r=t.get(n);if(!r)return Promise.resolve();return Promise.all(Array.from(r,(([t,{config:r,version:i}])=>new Promise(((s,a)=>{n.addInclude(e.context,new u(r.shareScope,r.shareKey,i||false,t,r.eager),{name:undefined},(e=>{if(e)return a(e);s()}))}))))).then((()=>{}))}));e.hooks.compilation.tap("ProvideSharedPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(c,t);e.dependencyFactories.set(u,new l)}))}}e.exports=ProvideSharedPlugin},16471:(e,t,n)=>{"use strict";const{parseOptions:r}=n(97264);const i=n(71968);const s=n(48151);const{isRequiredVersion:a}=n(37650);class SharePlugin{constructor(e){const t=r(e.shared,((e,t)=>{if(typeof e!=="string")throw new Error("Unexpected array in shared");const n=e===t||!a(e)?{import:e}:{import:t,requiredVersion:e};return n}),(e=>e));const n=t.map((([e,t])=>({[e]:{import:t.import,shareKey:t.shareKey||e,shareScope:t.shareScope,requiredVersion:t.requiredVersion,strictVersion:t.strictVersion,singleton:t.singleton,packageName:t.packageName,eager:t.eager}})));const i=t.filter((([,e])=>e.import!==false)).map((([e,t])=>({[t.import||e]:{shareKey:t.shareKey||e,shareScope:t.shareScope,version:t.version,eager:t.eager}})));this._shareScope=e.shareScope;this._consumes=n;this._provides=i}apply(e){new i({shareScope:this._shareScope,consumes:this._consumes}).apply(e);new s({shareScope:this._shareScope,provides:this._provides}).apply(e)}}e.exports=SharePlugin},54825:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);const{compareModulesByIdentifier:a,compareStrings:c}=n(68673);class ShareRuntimeModule extends i{constructor(){super("sharing")}generate(){const{runtimeTemplate:e,chunkGraph:t,codeGenerationResults:n,outputOptions:{uniqueName:i}}=this.compilation;const u=new Map;for(const e of this.chunk.getAllReferencedChunks()){const r=t.getOrderedChunkModulesIterableBySourceType(e,"share-init",a);if(!r)continue;for(const t of r){const r=n.getData(t,e.runtime,"share-init");if(!r)continue;for(const e of r){const{shareScope:t,initStage:n,init:r}=e;let i=u.get(t);if(i===undefined){u.set(t,i=new Map)}let s=i.get(n||0);if(s===undefined){i.set(n||0,s=new Set)}s.add(r)}}}return s.asString([`${r.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${r.initializeSharing} = ${e.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${r.hasOwnProperty}(${r.shareScopeMap}, name)) ${r.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${r.shareScopeMap}[name];`,`var warn = ${e.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(i||undefined)};`,`var register = ${e.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${e.basicFunction("id",[`var handleError = ${e.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",s.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${e.returningFunction(`module && module.init && module.init(${r.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult.catch(handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(u).sort((([e],[t])=>c(e,t))).map((([e,t])=>s.indent([`case ${JSON.stringify(e)}: {`,s.indent(Array.from(t).sort((([e],[t])=>e-t)).map((([,e])=>s.asString(Array.from(e))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${e.returningFunction("initPromises[name] = 1")});`])};`])}}e.exports=ShareRuntimeModule},57870:(e,t,n)=>{"use strict";const r=n(54032);const i=n(83379);const s={dependencyType:"esm"};t.resolveMatchedConfigs=(e,t)=>{const n=new Map;const a=new Map;const c=new Map;const u={fileDependencies:new i,contextDependencies:new i,missingDependencies:new i};const l=e.resolverFactory.get("normal",s);const d=e.compiler.context;return Promise.all(t.map((([t,i])=>{if(/^\.\.?(\/|$)/.test(t)){return new Promise((s=>{l.resolve({},d,t,u,((a,c)=>{if(a||c===false){a=a||new Error(`Can't resolve ${t}`);e.errors.push(new r(null,a,{name:`shared module ${t}`}));return s()}n.set(c,i);s()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(t)){n.set(t,i)}else if(t.endsWith("/")){c.set(t,i)}else{a.set(t,i)}}))).then((()=>{e.contextDependencies.addAll(u.contextDependencies);e.fileDependencies.addAll(u.fileDependencies);e.missingDependencies.addAll(u.missingDependencies);return{resolved:n,unresolved:a,prefixed:c}}))}},37650:(e,t,n)=>{"use strict";const{join:r,dirname:i,readJson:s}=n(95396);t.isRequiredVersion=e=>/^([\d^=v<>~]|[*xX]$)/.test(e);const getDescriptionFile=(e,t,n,a)=>{let c=0;const tryLoadCurrent=()=>{if(c>=n.length){const r=i(e,t);if(!r||r===t)return a();return getDescriptionFile(e,r,n,a)}const u=r(e,t,n[c]);s(e,u,((e,t)=>{if(e){if("code"in e&&e.code==="ENOENT"){c++;return tryLoadCurrent()}return a(e)}if(!t||typeof t!=="object"||Array.isArray(t)){return a(new Error(`Description file ${u} is not an object`))}a(null,{data:t,path:u})}))};tryLoadCurrent()};t.getDescriptionFile=getDescriptionFile;t.getRequiredVersionFromDescriptionFile=(e,t)=>{if(e.optionalDependencies&&typeof e.optionalDependencies==="object"&&t in e.optionalDependencies){return e.optionalDependencies[t]}if(e.dependencies&&typeof e.dependencies==="object"&&t in e.dependencies){return e.dependencies[t]}if(e.peerDependencies&&typeof e.peerDependencies==="object"&&t in e.peerDependencies){return e.peerDependencies[t]}if(e.devDependencies&&typeof e.devDependencies==="object"&&t in e.devDependencies){return e.devDependencies[t]}}},9054:(e,t,n)=>{"use strict";const r=n(31669);const i=n(79983);const s=n(72380);const{LogType:a}=n(78539);const c=n(94827);const u=n(95734);const l=n(20625);const{countIterable:d}=n(11539);const{compareLocations:p,compareChunksById:h,compareNumbers:m,compareIds:g,concatComparators:y,compareSelect:_,compareModulesByIdentifier:b}=n(68673);const{makePathsRelative:x,parseResource:k}=n(49197);const uniqueArray=(e,t)=>{const n=new Set;for(const r of e){for(const e of t(r)){n.add(e)}}return Array.from(n)};const uniqueOrderedArray=(e,t,n)=>uniqueArray(e,t).sort(n);const mapObject=(e,t)=>{const n=Object.create(null);for(const r of Object.keys(e)){n[r]=t(e[r],r)}return n};const countWithChildren=(e,t)=>{let n=t(e,"").length;for(const r of e.children){n+=countWithChildren(r,((e,n)=>t(e,`.children[].compilation${n}`)))}return n};const E={_:(e,t,n,{requestShortener:r})=>{if(typeof t==="string"){e.message=t}else{if(t.chunk){e.chunkName=t.chunk.name;e.chunkEntry=t.chunk.hasRuntime();e.chunkInitial=t.chunk.canBeInitial()}if(t.file){e.file=t.file}if(t.module){e.moduleIdentifier=t.module.identifier();e.moduleName=t.module.readableIdentifier(r)}if(t.loc){e.loc=s(t.loc)}e.message=t.message}},ids:(e,t,{compilation:{chunkGraph:n}})=>{if(typeof t!=="string"){if(t.chunk){e.chunkId=t.chunk.id}if(t.module){e.moduleId=n.getModuleId(t.module)}}},moduleTrace:(e,t,n,r,i)=>{if(typeof t!=="string"&&t.module){const{type:r,compilation:{moduleGraph:s}}=n;const a=new Set;const c=[];let u=t.module;while(u){if(a.has(u))break;a.add(u);const e=s.getIssuer(u);if(!e)break;c.push({origin:e,module:u});u=e}e.moduleTrace=i.create(`${r}.moduleTrace`,c,n)}},errorDetails:(e,t,{type:n,compilation:r,cachedGetErrors:i,cachedGetWarnings:s},{errorDetails:a})=>{if(typeof t!=="string"&&(a===true||n.endsWith(".error")&&i(r).length<3)){e.details=t.details}},errorStack:(e,t)=>{if(typeof t!=="string"){e.stack=t.stack}}};const w={compilation:{_:(e,t,r,i)=>{if(!r.makePathsRelative){r.makePathsRelative=x.bindContextCache(t.compiler.context,t.compiler.root)}if(!r.cachedGetErrors){const e=new WeakMap;r.cachedGetErrors=t=>e.get(t)||(n=>(e.set(t,n),n))(t.getErrors())}if(!r.cachedGetWarnings){const e=new WeakMap;r.cachedGetWarnings=t=>e.get(t)||(n=>(e.set(t,n),n))(t.getWarnings())}if(t.name){e.name=t.name}if(t.needAdditionalPass){e.needAdditionalPass=true}const{logging:s,loggingDebug:c,loggingTrace:u}=i;if(s||c&&c.length>0){const r=n(31669);e.logging={};let l;let d=false;switch(s){default:l=new Set;break;case"error":l=new Set([a.error]);break;case"warn":l=new Set([a.error,a.warn]);break;case"info":l=new Set([a.error,a.warn,a.info]);break;case"log":l=new Set([a.error,a.warn,a.info,a.log,a.group,a.groupEnd,a.groupCollapsed,a.clear]);break;case"verbose":l=new Set([a.error,a.warn,a.info,a.log,a.group,a.groupEnd,a.groupCollapsed,a.profile,a.profileEnd,a.time,a.status,a.clear]);d=true;break}const p=x.bindContextCache(i.context,t.compiler.root);let h=0;for(const[n,i]of t.logging){const t=c.some((e=>e(n)));if(s===false&&!t)continue;const m=[];const g=[];let y=g;let _=0;for(const e of i){let n=e.type;if(!t&&!l.has(n))continue;if(n===a.groupCollapsed&&(t||d))n=a.group;if(h===0){_++}if(n===a.groupEnd){m.pop();if(m.length>0){y=m[m.length-1].children}else{y=g}if(h>0)h--;continue}let i=undefined;if(e.type===a.time){i=`${e.args[0]}: ${e.args[1]*1e3+e.args[2]/1e6} ms`}else if(e.args&&e.args.length>0){i=r.format(e.args[0],...e.args.slice(1))}const s={...e,type:n,message:i,trace:u?e.trace:undefined,children:n===a.group||n===a.groupCollapsed?[]:undefined};y.push(s);if(s.children){m.push(s);y=s.children;if(h>0){h++}else if(n===a.groupCollapsed){h=1}}}let b=p(n).replace(/\|/g," ");if(b in e.logging){let t=1;while(`${b}#${t}`in e.logging){t++}b=`${b}#${t}`}e.logging[b]={entries:g,filteredEntries:i.length-_,debug:t}}}},hash:(e,t)=>{e.hash=t.hash},version:e=>{e.version=n(61733).i8},env:(e,t,n,{_env:r})=>{e.env=r},timings:(e,t)=>{e.time=t.endTime-t.startTime},builtAt:(e,t)=>{e.builtAt=t.endTime},publicPath:(e,t)=>{e.publicPath=t.getPath(t.outputOptions.publicPath)},outputPath:(e,t)=>{e.outputPath=t.outputOptions.path},assets:(e,t,n,r,i)=>{const{type:s}=n;const a=new Map;const c=new Map;for(const e of t.chunks){for(const t of e.files){let n=a.get(t);if(n===undefined){n=[];a.set(t,n)}n.push(e)}for(const t of e.auxiliaryFiles){let n=c.get(t);if(n===undefined){n=[];c.set(t,n)}n.push(e)}}const u=new Map;const l=new Set;for(const e of t.getAssets()){const t={...e,type:"asset",related:undefined};l.add(t);u.set(e.name,t)}for(const e of u.values()){const t=e.info.related;if(!t)continue;for(const n of Object.keys(t)){const r=t[n];const i=Array.isArray(r)?r:[r];for(const t of i){const r=u.get(t);if(!r)continue;l.delete(r);r.type=n;e.related=e.related||[];e.related.push(r)}}}e.assetsByChunkName={};for(const[t,n]of a){for(const r of n){const n=r.name;if(!n)continue;if(!Object.prototype.hasOwnProperty.call(e.assetsByChunkName,n)){e.assetsByChunkName[n]=[]}e.assetsByChunkName[n].push(t)}}const d=i.create(`${s}.assets`,Array.from(l),{...n,compilationFileToChunks:a,compilationAuxiliaryFileToChunks:c});const p=spaceLimited(d,r.assetsSpace);e.assets=p.children;e.filteredAssets=p.filteredChildren},chunks:(e,t,n,r,i)=>{const{type:s}=n;e.chunks=i.create(`${s}.chunks`,Array.from(t.chunks),n)},modules:(e,t,n,r,i)=>{const{type:s}=n;const a=Array.from(t.modules);const c=i.create(`${s}.modules`,a,n);const u=spaceLimited(c,r.modulesSpace);e.modules=u.children;e.filteredModules=u.filteredChildren},entrypoints:(e,t,n,{entrypoints:r,chunkGroups:i,chunkGroupAuxiliary:s,chunkGroupChildren:a},c)=>{const{type:u}=n;const l=Array.from(t.entrypoints,(([e,t])=>({name:e,chunkGroup:t})));if(r==="auto"&&!i){if(l.length>5)return;if(!a&&l.every((({chunkGroup:e})=>{if(e.chunks.length!==1)return false;const t=e.chunks[0];return t.files.size===1&&(!s||t.auxiliaryFiles.size===0)}))){return}}e.entrypoints=c.create(`${u}.entrypoints`,l,n)},chunkGroups:(e,t,n,r,i)=>{const{type:s}=n;const a=Array.from(t.namedChunkGroups,(([e,t])=>({name:e,chunkGroup:t})));e.namedChunkGroups=i.create(`${s}.namedChunkGroups`,a,n)},errors:(e,t,n,r,i)=>{const{type:s,cachedGetErrors:a}=n;e.errors=i.create(`${s}.errors`,a(t),n)},errorsCount:(e,t,{cachedGetErrors:n})=>{e.errorsCount=countWithChildren(t,(e=>n(e)))},warnings:(e,t,n,r,i)=>{const{type:s,cachedGetWarnings:a}=n;e.warnings=i.create(`${s}.warnings`,a(t),n)},warningsCount:(e,t,n,{warningsFilter:r},i)=>{const{type:s,cachedGetWarnings:a}=n;e.warningsCount=countWithChildren(t,((e,t)=>{if(!r&&r.length===0)return a(e);return i.create(`${s}${t}.warnings`,a(e),n).filter((e=>{const t=Object.keys(e).map((t=>`${e[t]}`)).join("\n");return!r.some((n=>n(e,t)))}))}))},errorDetails:(e,t,{cachedGetErrors:n,cachedGetWarnings:r},{errorDetails:i,errors:s,warnings:a})=>{if(i==="auto"){if(a){const n=r(t);e.filteredWarningDetailsCount=n.map((e=>typeof e!=="string"&&e.details)).filter(Boolean).length}if(s){const r=n(t);if(r.length>=3){e.filteredErrorDetailsCount=r.map((e=>typeof e!=="string"&&e.details)).filter(Boolean).length}}}},children:(e,t,n,r,i)=>{const{type:s}=n;e.children=i.create(`${s}.children`,t.children,n)}},asset:{_:(e,t,n,r,i)=>{const{compilation:s}=n;e.type=t.type;e.name=t.name;e.size=t.source.size();e.emitted=s.emittedAssets.has(t.name);e.comparedForEmit=s.comparedForEmitAssets.has(t.name);const a=!e.emitted&&!e.comparedForEmit;e.cached=a;e.info=t.info;if(!a||r.cachedAssets){Object.assign(e,i.create(`${n.type}$visible`,t,n))}}},asset$visible:{_:(e,t,{compilation:n,compilationFileToChunks:r,compilationAuxiliaryFileToChunks:i})=>{const s=r.get(t.name)||[];const a=i.get(t.name)||[];e.chunkNames=uniqueOrderedArray(s,(e=>e.name?[e.name]:[]),g);e.chunkIdHints=uniqueOrderedArray(s,(e=>Array.from(e.idNameHints)),g);e.auxiliaryChunkNames=uniqueOrderedArray(a,(e=>e.name?[e.name]:[]),g);e.auxiliaryChunkIdHints=uniqueOrderedArray(a,(e=>Array.from(e.idNameHints)),g);e.filteredRelated=t.related?t.related.length:undefined},relatedAssets:(e,t,n,r,i)=>{const{type:s}=n;e.related=i.create(`${s.slice(0,-8)}.related`,t.related,n);e.filteredRelated=t.related?t.related.length-e.related.length:undefined},ids:(e,t,{compilationFileToChunks:n,compilationAuxiliaryFileToChunks:r})=>{const i=n.get(t.name)||[];const s=r.get(t.name)||[];e.chunks=uniqueOrderedArray(i,(e=>e.ids),g);e.auxiliaryChunks=uniqueOrderedArray(s,(e=>e.ids),g)},performance:(e,t)=>{e.isOverSizeLimit=l.isOverSizeLimit(t.source)}},chunkGroup:{_:(e,{name:t,chunkGroup:n},{compilation:r,compilation:{moduleGraph:i,chunkGraph:s}},{ids:a,chunkGroupAuxiliary:c,chunkGroupChildren:u,chunkGroupMaxAssets:l})=>{const d=u&&n.getChildrenByOrders(i,s);const toAsset=e=>{const t=r.getAsset(e);return{name:e,size:t?t.info.size:-1}};const sizeReducer=(e,{size:t})=>e+t;const p=uniqueArray(n.chunks,(e=>e.files)).map(toAsset);const h=uniqueOrderedArray(n.chunks,(e=>e.auxiliaryFiles),g).map(toAsset);const m=p.reduce(sizeReducer,0);const y=h.reduce(sizeReducer,0);const _={name:t,chunks:a?n.chunks.map((e=>e.id)):undefined,assets:p.length<=l?p:undefined,filteredAssets:p.length<=l?0:p.length,assetsSize:m,auxiliaryAssets:c&&h.length<=l?h:undefined,filteredAuxiliaryAssets:c&&h.length<=l?0:h.length,auxiliaryAssetsSize:y,children:d?mapObject(d,(e=>e.map((e=>{const t=uniqueArray(e.chunks,(e=>e.files)).map(toAsset);const n=uniqueOrderedArray(e.chunks,(e=>e.auxiliaryFiles),g).map(toAsset);const r={name:e.name,chunks:a?e.chunks.map((e=>e.id)):undefined,assets:t.length<=l?t:undefined,filteredAssets:t.length<=l?0:t.length,auxiliaryAssets:c&&n.length<=l?n:undefined,filteredAuxiliaryAssets:c&&n.length<=l?0:n.length};return r})))):undefined,childAssets:d?mapObject(d,(e=>{const t=new Set;for(const n of e){for(const e of n.chunks){for(const n of e.files){t.add(n)}}}return Array.from(t)})):undefined};Object.assign(e,_)},performance:(e,{chunkGroup:t})=>{e.isOverSizeLimit=l.isOverSizeLimit(t)}},module:{_:(e,t,n,r,i)=>{const{compilation:s,type:a}=n;const c=s.builtModules.has(t);const u=s.codeGeneratedModules.has(t);const l={};for(const e of t.getSourceTypes()){l[e]=t.size(e)}const d={type:"module",moduleType:t.type,layer:t.layer,size:t.size(),sizes:l,built:c,codeGenerated:u,cached:!c&&!u};Object.assign(e,d);if(c||u||r.cachedModules){Object.assign(e,i.create(`${a}$visible`,t,n))}}},module$visible:{_:(e,t,n,{requestShortener:r},i)=>{const{compilation:s,type:a,rootModules:c}=n;const{moduleGraph:u}=s;const l=[];const p=u.getIssuer(t);let h=p;while(h){l.push(h);h=u.getIssuer(h)}l.reverse();const m=u.getProfile(t);const g=t.getErrors();const y=g!==undefined?d(g):0;const _=t.getWarnings();const b=_!==undefined?d(_):0;const x={};for(const e of t.getSourceTypes()){x[e]=t.size(e)}const k={identifier:t.identifier(),name:t.readableIdentifier(r),nameForCondition:t.nameForCondition(),index:u.getPreOrderIndex(t),preOrderIndex:u.getPreOrderIndex(t),index2:u.getPostOrderIndex(t),postOrderIndex:u.getPostOrderIndex(t),cacheable:t.buildInfo.cacheable,optional:t.isOptional(u),orphan:!a.endsWith("module.modules[].module$visible")&&s.chunkGraph.getNumberOfModuleChunks(t)===0,dependent:c?!c.has(t):undefined,issuer:p&&p.identifier(),issuerName:p&&p.readableIdentifier(r),issuerPath:p&&i.create(`${a.slice(0,-8)}.issuerPath`,l,n),failed:y>0,errors:y,warnings:b};Object.assign(e,k);if(m){e.profile=i.create(`${a.slice(0,-8)}.profile`,m,n)}},ids:(e,t,{compilation:{chunkGraph:n,moduleGraph:r}})=>{e.id=n.getModuleId(t);const i=r.getIssuer(t);e.issuerId=i&&n.getModuleId(i);e.chunks=Array.from(n.getOrderedModuleChunksIterable(t,h),(e=>e.id))},moduleAssets:(e,t)=>{e.assets=t.buildInfo.assets?Object.keys(t.buildInfo.assets):[]},reasons:(e,t,n,r,i)=>{const{type:s,compilation:{moduleGraph:a}}=n;e.reasons=i.create(`${s.slice(0,-8)}.reasons`,Array.from(a.getIncomingConnections(t)),n)},usedExports:(e,t,{runtime:n,compilation:{moduleGraph:r}})=>{const i=r.getUsedExports(t,n);if(i===null){e.usedExports=null}else if(typeof i==="boolean"){e.usedExports=i}else{e.usedExports=Array.from(i)}},providedExports:(e,t,{compilation:{moduleGraph:n}})=>{const r=n.getProvidedExports(t);e.providedExports=Array.isArray(r)?r:null},optimizationBailout:(e,t,{compilation:{moduleGraph:n}},{requestShortener:r})=>{e.optimizationBailout=n.getOptimizationBailout(t).map((e=>{if(typeof e==="function")return e(r);return e}))},depth:(e,t,{compilation:{moduleGraph:n}})=>{e.depth=n.getDepth(t)},nestedModules:(e,t,n,r,i)=>{const{type:s}=n;if(t instanceof u){const a=t.modules;const c=i.create(`${s.slice(0,-8)}.modules`,a,n);const u=spaceLimited(c,r.nestedModulesSpace);e.modules=u.children;e.filteredModules=u.filteredChildren}},source:(e,t)=>{const n=t.originalSource();if(n){e.source=n.source()}}},profile:{_:(e,t)=>{const n={total:t.factory+t.restoring+t.integration+t.building+t.storing,resolving:t.factory,restoring:t.restoring,building:t.building,integration:t.integration,storing:t.storing,additionalResolving:t.additionalFactories,additionalIntegration:t.additionalIntegration,factory:t.factory,dependencies:t.additionalFactories};Object.assign(e,n)}},moduleIssuer:{_:(e,t,n,{requestShortener:r},i)=>{const{compilation:s,type:a}=n;const{moduleGraph:c}=s;const u=c.getProfile(t);const l={identifier:t.identifier(),name:t.readableIdentifier(r)};Object.assign(e,l);if(u){e.profile=i.create(`${a}.profile`,u,n)}},ids:(e,t,{compilation:{chunkGraph:n}})=>{e.id=n.getModuleId(t)}},moduleReason:{_:(e,t,{runtime:n},{requestShortener:r})=>{const a=t.dependency;const c=a&&a instanceof i?a:undefined;const u={moduleIdentifier:t.originModule?t.originModule.identifier():null,module:t.originModule?t.originModule.readableIdentifier(r):null,moduleName:t.originModule?t.originModule.readableIdentifier(r):null,resolvedModuleIdentifier:t.resolvedOriginModule?t.resolvedOriginModule.identifier():null,resolvedModule:t.resolvedOriginModule?t.resolvedOriginModule.readableIdentifier(r):null,type:t.dependency?t.dependency.type:null,active:t.isActive(n),explanation:t.explanation,userRequest:c&&c.userRequest||null};Object.assign(e,u);if(t.dependency){const n=s(t.dependency.loc);if(n){e.loc=n}}},ids:(e,t,{compilation:{chunkGraph:n}})=>{e.moduleId=t.originModule?n.getModuleId(t.originModule):null;e.resolvedModuleId=t.resolvedOriginModule?n.getModuleId(t.resolvedOriginModule):null}},chunk:{_:(e,t,{makePathsRelative:n,compilation:{chunkGraph:r}})=>{const i=t.getChildIdsByOrders(r);const s={rendered:t.rendered,initial:t.canBeInitial(),entry:t.hasRuntime(),recorded:c.wasChunkRecorded(t),reason:t.chunkReason,size:r.getChunkModulesSize(t),sizes:r.getChunkModulesSizes(t),names:t.name?[t.name]:[],idHints:Array.from(t.idNameHints),runtime:t.runtime===undefined?undefined:typeof t.runtime==="string"?[n(t.runtime)]:Array.from(t.runtime.sort(),n),files:Array.from(t.files),auxiliaryFiles:Array.from(t.auxiliaryFiles).sort(g),hash:t.renderedHash,childrenByOrder:i};Object.assign(e,s)},ids:(e,t)=>{e.id=t.id},chunkRelations:(e,t,{compilation:{chunkGraph:n}})=>{const r=new Set;const i=new Set;const s=new Set;for(const e of t.groupsIterable){for(const t of e.parentsIterable){for(const e of t.chunks){r.add(e.id)}}for(const t of e.childrenIterable){for(const e of t.chunks){i.add(e.id)}}for(const n of e.chunks){if(n!==t)s.add(n.id)}}e.siblings=Array.from(s).sort(g);e.parents=Array.from(r).sort(g);e.children=Array.from(i).sort(g)},chunkModules:(e,t,n,r,i)=>{const{type:s,compilation:{chunkGraph:a}}=n;const c=a.getChunkModules(t);const u=i.create(`${s}.modules`,c,{...n,runtime:t.runtime,rootModules:new Set(a.getChunkRootModules(t))});const l=spaceLimited(u,r.chunkModulesSpace);e.modules=l.children;e.filteredModules=l.filteredChildren},chunkOrigins:(e,t,n,r,i)=>{const{type:a,compilation:{chunkGraph:c}}=n;const u=new Set;const l=[];for(const e of t.groupsIterable){l.push(...e.origins)}const d=l.filter((e=>{const t=[e.module?c.getModuleId(e.module):undefined,s(e.loc),e.request].join();if(u.has(t))return false;u.add(t);return true}));e.origins=i.create(`${a}.origins`,d,n)}},chunkOrigin:{_:(e,t,n,{requestShortener:r})=>{const i={module:t.module?t.module.identifier():"",moduleIdentifier:t.module?t.module.identifier():"",moduleName:t.module?t.module.readableIdentifier(r):"",loc:s(t.loc),request:t.request};Object.assign(e,i)},ids:(e,t,{compilation:{chunkGraph:n}})=>{e.moduleId=t.module?n.getModuleId(t.module):undefined}},error:E,warning:E,moduleTraceItem:{_:(e,{origin:t,module:n},r,{requestShortener:i},s)=>{const{type:a,compilation:{moduleGraph:c}}=r;e.originIdentifier=t.identifier();e.originName=t.readableIdentifier(i);e.moduleIdentifier=n.identifier();e.moduleName=n.readableIdentifier(i);const u=Array.from(c.getIncomingConnections(n)).filter((e=>e.resolvedOriginModule===t&&e.dependency)).map((e=>e.dependency));e.dependencies=s.create(`${a}.dependencies`,Array.from(new Set(u)),r)},ids:(e,{origin:t,module:n},{compilation:{chunkGraph:r}})=>{e.originId=r.getModuleId(t);e.moduleId=r.getModuleId(n)}},moduleTraceDependency:{_:(e,t)=>{e.loc=s(t.loc)}}};const S={"module.reasons":{"!orphanModules":(e,{compilation:{chunkGraph:t}})=>{if(e.originModule&&t.getNumberOfModuleChunks(e.originModule)===0){return false}}}};const C={"compilation.warnings":{warningsFilter:r.deprecate(((e,t,{warningsFilter:n})=>{const r=Object.keys(e).map((t=>`${e[t]}`)).join("\n");return!n.some((t=>t(e,r)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const M={_:(e,{compilation:{moduleGraph:t}})=>{e.push(_((e=>t.getDepth(e)),m),_((e=>t.getPreOrderIndex(e)),m),_((e=>e.identifier()),g))}};const I={"compilation.chunks":{_:e=>{e.push(_((e=>e.id),g))}},"compilation.modules":M,"chunk.rootModules":M,"chunk.modules":M,"module.modules":M,"module.reasons":{_:(e,{compilation:{chunkGraph:t}})=>{e.push(_((e=>e.originModule),b));e.push(_((e=>e.resolvedOriginModule),b));e.push(_((e=>e.dependency),y(_((e=>e.loc),p),_((e=>e.type),g))))}},"chunk.origins":{_:(e,{compilation:{chunkGraph:t}})=>{e.push(_((e=>e.module?t.getModuleId(e.module):undefined),g),_((e=>s(e.loc)),g),_((e=>e.request),g))}}};const getItemSize=e=>!e.children?1:e.filteredChildren?2+getTotalSize(e.children):1+getTotalSize(e.children);const getTotalSize=e=>{let t=0;for(const n of e){t+=getItemSize(n)}return t};const getTotalItems=e=>{let t=0;for(const n of e){if(!n.children&&!n.filteredChildren){t++}else{if(n.children)t+=getTotalItems(n.children);if(n.filteredChildren)t+=n.filteredChildren}}return t};const collapse=e=>{const t=[];for(const n of e){if(n.children){let e=n.filteredChildren||0;e+=getTotalItems(n.children);t.push({...n,children:undefined,filteredChildren:e})}else{t.push(n)}}return t};const spaceLimited=(e,t)=>{let n=undefined;let r=undefined;const i=e.filter((e=>e.children||e.filteredChildren));const s=i.map((e=>getItemSize(e)));const a=e.filter((e=>!e.children&&!e.filteredChildren));let c=s.reduce(((e,t)=>e+t),0);if(c+a.length<=t){n=i.concat(a)}else if(i.length>0&&i.length+Math.min(1,a.length)t){const e=a.length+c+(r?1:0)-t;const n=Math.max(...s);if(n0&&i.length+Math.min(1,a.length)<=t){n=i.length?collapse(i):undefined;r=a.length}else{r=getTotalItems(e)}return{children:n,filteredChildren:r}};const assetGroup=(e,t)=>{let n=0;for(const t of e){n+=t.size}return{size:n}};const moduleGroup=(e,t)=>{let n=0;const r={};for(const t of e){n+=t.size;for(const e of Object.keys(t.sizes)){r[e]=(r[e]||0)+t.sizes[e]}}return{size:n,sizes:r}};const P={_:(e,t,n)=>{const groupByFlag=(t,n)=>{e.push({getKeys:e=>e[t]?["1"]:undefined,getOptions:()=>({groupChildren:!n,force:n}),createGroup:(e,r,i)=>n?{type:"assets by status",[t]:!!e,filteredChildren:i.length,...assetGroup(r,i)}:{type:"assets by status",[t]:!!e,children:r,...assetGroup(r,i)}})};const{groupAssetsByEmitStatus:r,groupAssetsByPath:i,groupAssetsByExtension:s}=n;if(r){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(r||!n.cachedAssets){groupByFlag("cached",!n.cachedAssets)}if(i||s){e.push({getKeys:e=>{const t=s&&/(\.[^.]+)(?:\?.*|$)/.exec(e.name);const n=t?t[1]:"";const r=i&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(e.name);const a=r?r[1].split(/[/\\]/):[];const c=[];if(i){c.push(".");if(n)c.push(a.length?`${a.join("/")}/*${n}`:`*${n}`);while(a.length>0){c.push(a.join("/")+"/");a.pop()}}else{if(n)c.push(`*${n}`)}return c},createGroup:(e,t,n)=>({type:i?"assets by path":"assets by extension",name:e,children:t,...assetGroup(t,n)})})}},groupAssetsByInfo:(e,t,n)=>{const groupByAssetInfoFlag=t=>{e.push({getKeys:e=>e.info&&e.info[t]?["1"]:undefined,createGroup:(e,n,r)=>({type:"assets by info",info:{[t]:!!e},children:n,...assetGroup(n,r)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(e,t,n)=>{const groupByNames=t=>{e.push({getKeys:e=>e[t],createGroup:(e,n,r)=>({type:"assets by chunk",[t]:[e],children:n,...assetGroup(n,r)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(e,t,{excludeAssets:n})=>{e.push({getKeys:e=>{const t=e.name;const r=n.some((n=>n(t,e)));if(r)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(e,t,n)=>({type:"hidden assets",filteredChildren:n.length,...assetGroup(t,n)})})}};const MODULES_GROUPERS=e=>({_:(e,t,n)=>{const groupByFlag=(t,n,r)=>{e.push({getKeys:e=>e[t]?["1"]:undefined,getOptions:()=>({groupChildren:!r,force:r}),createGroup:(e,i,s)=>({type:n,[t]:!!e,...r?{filteredChildren:s.length}:{children:i},...moduleGroup(i,s)})})};const{groupModulesByCacheStatus:r,groupModulesByLayer:i,groupModulesByAttributes:s,groupModulesByType:a,groupModulesByPath:c,groupModulesByExtension:u}=n;if(s){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(r){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(r||!n.cachedModules){groupByFlag("cached","cached modules",!n.cachedModules)}if(s||!n.orphanModules){groupByFlag("orphan","orphan modules",!n.orphanModules)}if(s||!n.dependentModules){groupByFlag("dependent","dependent modules",!n.dependentModules)}if(a||!n.runtimeModules){e.push({getKeys:e=>{if(!e.moduleType)return;if(a){return[e.moduleType.split("/",1)[0]]}else if(e.moduleType==="runtime"){return["runtime"]}},getOptions:e=>{const t=e==="runtime"&&!n.runtimeModules;return{groupChildren:!t,force:t}},createGroup:(e,t,r)=>{const i=e==="runtime"&&!n.runtimeModules;return{type:`${e} modules`,moduleType:e,...i?{filteredChildren:r.length}:{children:t},...moduleGroup(t,r)}}})}if(i){e.push({getKeys:e=>[e.layer],createGroup:(e,t,n)=>({type:"modules by layer",layer:e,children:t,...moduleGroup(t,n)})})}if(c||u){e.push({getKeys:e=>{if(!e.name)return;const t=k(e.name.split("!").pop()).path;const n=u&&/(\.[^.]+)(?:\?.*|$)/.exec(t);const r=n?n[1]:"";const i=c&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(t);const s=i?i[1].split(/[/\\]/):[];const a=[];if(c){if(r)a.push(s.length?`${s.join("/")}/*${r}`:`*${r}`);while(s.length>0){a.push(s.join("/")+"/");s.pop()}}else{if(r)a.push(`*${r}`)}return a},createGroup:(e,t,n)=>({type:c?"modules by path":"modules by extension",name:e,children:t,...moduleGroup(t,n)})})}},excludeModules:(t,n,{excludeModules:r})=>{t.push({getKeys:t=>{const n=t.name;if(n){const i=r.some((r=>r(n,t,e)));if(i)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(e,t,n)=>({type:"hidden modules",filteredChildren:t.length,...moduleGroup(t,n)})})}});const T={"compilation.assets":P,"asset.related":P,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested")};const normalizeFieldKey=e=>{if(e[0]==="!"){return e.substr(1)}return e};const sortOrderRegular=e=>{if(e[0]==="!"){return false}return true};const sortByField=e=>{if(!e){const noSort=(e,t)=>0;return noSort}const t=normalizeFieldKey(e);let n=_((e=>e[t]),g);const r=sortOrderRegular(e);if(!r){const e=n;n=(t,n)=>e(n,t)}return n};const O={assetsSort:(e,t,{assetsSort:n})=>{e.push(sortByField(n))},_:e=>{e.push(_((e=>e.name),g))}};const R={"compilation.chunks":{chunksSort:(e,t,{chunksSort:n})=>{e.push(sortByField(n))}},"compilation.modules":{modulesSort:(e,t,{modulesSort:n})=>{e.push(sortByField(n))}},"chunk.modules":{chunkModulesSort:(e,t,{chunkModulesSort:n})=>{e.push(sortByField(n))}},"module.modules":{nestedModulesSort:(e,t,{nestedModulesSort:n})=>{e.push(sortByField(n))}},"compilation.assets":O,"asset.related":O};const iterateConfig=(e,t,n)=>{for(const r of Object.keys(e)){const i=e[r];for(const e of Object.keys(i)){if(e!=="_"){if(e.startsWith("!")){if(t[e.slice(1)])continue}else{const n=t[e];if(n===false||n===undefined||Array.isArray(n)&&n.length===0)continue}}n(r,i[e])}}};const N={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=e=>{const t=Object.create(null);for(const n of e){t[n.name]=n}return t};const L={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(e){e.hooks.compilation.tap("DefaultStatsFactoryPlugin",(e=>{e.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((t,n,r)=>{iterateConfig(w,n,((e,r)=>{t.hooks.extract.for(e).tap("DefaultStatsFactoryPlugin",((e,i,s)=>r(e,i,s,n,t)))}));iterateConfig(S,n,((e,r)=>{t.hooks.filter.for(e).tap("DefaultStatsFactoryPlugin",((e,t,i,s)=>r(e,t,n,i,s)))}));iterateConfig(C,n,((e,r)=>{t.hooks.filterResults.for(e).tap("DefaultStatsFactoryPlugin",((e,t,i,s)=>r(e,t,n,i,s)))}));iterateConfig(I,n,((e,r)=>{t.hooks.sort.for(e).tap("DefaultStatsFactoryPlugin",((e,t)=>r(e,t,n)))}));iterateConfig(R,n,((e,r)=>{t.hooks.sortResults.for(e).tap("DefaultStatsFactoryPlugin",((e,t)=>r(e,t,n)))}));iterateConfig(T,n,((e,r)=>{t.hooks.groupResults.for(e).tap("DefaultStatsFactoryPlugin",((e,t)=>r(e,t,n)))}));for(const e of Object.keys(N)){const n=N[e];t.hooks.getItemName.for(e).tap("DefaultStatsFactoryPlugin",(()=>n))}for(const e of Object.keys(L)){const n=L[e];t.hooks.merge.for(e).tap("DefaultStatsFactoryPlugin",n)}if(n.children){if(Array.isArray(n.children)){t.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((t,{_index:i})=>{if(ii))}}}))}))}}e.exports=DefaultStatsFactoryPlugin},7391:(e,t,n)=>{"use strict";const r=n(80910);const applyDefaults=(e,t)=>{for(const n of Object.keys(t)){if(typeof e[n]==="undefined"){e[n]=t[n]}}};const i={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,assetsSpace:Infinity},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:e})=>e!==false;const NORMAL_OFF=({all:e})=>e===true;const ON_FOR_TO_STRING=({all:e},{forToString:t})=>t?e!==false:e===true;const OFF_FOR_TO_STRING=({all:e},{forToString:t})=>t?e===true:e!==false;const AUTO_FOR_TO_STRING=({all:e},{forToString:t})=>{if(e===false)return false;if(e===true)return true;if(t)return"auto";return true};const s={context:(e,t,n)=>n.compiler.context,requestShortener:(e,t,n)=>n.compiler.context===e.context?n.requestShortener:new r(e.context,n.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(e,{forToString:t})=>t?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:e,modules:t})=>{if(e===false)return false;if(e===true)return true;if(t)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:e,chunks:t,chunkModules:n},{forToString:r})=>{if(e===false)return false;if(e===true)return true;if(r&&t&&n)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(e,{forToString:t})=>t?15:Infinity,chunkModulesSpace:(e,{forToString:t})=>t?10:Infinity,nestedModulesSpace:(e,{forToString:t})=>t?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(e,{forToString:t})=>t?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:e,runtime:t},{forToString:n})=>t!==undefined?t:n?e===true:e!==false,cachedModules:({all:e,cached:t},{forToString:n})=>t!==undefined?t:n?e===true:e!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:e},{forToString:t})=>t&&e!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=e=>{if(typeof e==="string"){const t=new RegExp(`[\\\\/]${e.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return e=>t.test(e)}if(e&&typeof e==="object"&&typeof e.test==="function"){return t=>e.test(t)}if(typeof e==="function"){return e}if(typeof e==="boolean"){return()=>e}};const a={excludeModules:e=>{if(!Array.isArray(e)){e=e?[e]:[]}return e.map(normalizeFilter)},excludeAssets:e=>{if(!Array.isArray(e)){e=e?[e]:[]}return e.map(normalizeFilter)},warningsFilter:e=>{if(!Array.isArray(e)){e=e?[e]:[]}return e.map((e=>{if(typeof e==="string"){return(t,n)=>n.includes(e)}if(e instanceof RegExp){return(t,n)=>e.test(n)}if(typeof e==="function"){return e}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${e})`)}))},logging:e=>{if(e===true)e="log";return e},loggingDebug:e=>{if(!Array.isArray(e)){e=e?[e]:[]}return e.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(e){e.hooks.compilation.tap("DefaultStatsPresetPlugin",(e=>{for(const t of Object.keys(i)){const n=i[t];e.hooks.statsPreset.for(t).tap("DefaultStatsPresetPlugin",((e,t)=>{applyDefaults(e,n)}))}e.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((t,n)=>{for(const r of Object.keys(s)){if(t[r]===undefined)t[r]=s[r](t,n,e)}for(const e of Object.keys(a)){t[e]=a[e](t[e])}}))}))}}e.exports=DefaultStatsPresetPlugin},61762:(e,t,n)=>{"use strict";const plural=(e,t,n)=>e===1?t:n;const printSizes=(e,{formatSize:t=(e=>`${e}`)})=>{const n=Object.keys(e);if(n.length>1){return n.map((n=>`${t(e[n])} (${n})`)).join(" ")}else if(n.length===1){return t(e[n[0]])}};const mapLines=(e,t)=>e.split("\n").map(t).join("\n");const twoDigit=e=>e>=10?`${e}`:`0${e}`;const isValidId=e=>typeof e==="number"||e;const r={"compilation.summary!":(e,{type:t,bold:n,green:r,red:i,yellow:s,formatDateTime:a,formatTime:c,compilation:{name:u,hash:l,version:d,time:p,builtAt:h,errorsCount:m,warningsCount:g}})=>{const y=t==="compilation.summary!";const _=g>0?s(`${g} ${plural(g,"warning","warnings")}`):"";const b=m>0?i(`${m} ${plural(m,"error","errors")}`):"";const x=y&&p?` in ${c(p)}`:"";const k=l?` (${l})`:"";const E=y&&h?`${a(h)}: `:"";const w=y&&d?`webpack ${d}`:"";const S=y&&u?n(u):u?`Child ${n(u)}`:y?"":"Child";const C=S&&w?`${S} (${w})`:w||S||"webpack";let M;if(b&&_){M=`compiled with ${b} and ${_}`}else if(b){M=`compiled with ${b}`}else if(_){M=`compiled with ${_}`}else if(m===0&&g===0){M=`compiled ${r("successfully")}`}else{M=`compiled`}if(E||w||b||_||m===0&&g===0||x||k)return`${E}${C} ${M}${x}${k}`},"compilation.filteredWarningDetailsCount":e=>e?`${e} ${plural(e,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(e,{yellow:t})=>e?t(`${e} ${plural(e,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(e,{bold:t})=>e?`Environment (--env): ${t(JSON.stringify(e,null,2))}`:undefined,"compilation.publicPath":(e,{bold:t})=>`PublicPath: ${t(e||"(none)")}`,"compilation.entrypoints":(e,t,n)=>Array.isArray(e)?undefined:n.print(t.type,Object.values(e),{...t,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(e,t,n)=>{if(!Array.isArray(e)){const{compilation:{entrypoints:r}}=t;let i=Object.values(e);if(r){i=i.filter((e=>!Object.prototype.hasOwnProperty.call(r,e.name)))}return n.print(t.type,i,{...t,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":e=>e>0?`${e} ${plural(e,"module","modules")}`:undefined,"compilation.filteredAssets":(e,{compilation:{assets:t}})=>e>0?`${e} ${plural(e,"asset","assets")}`:undefined,"compilation.logging":(e,t,n)=>Array.isArray(e)?undefined:n.print(t.type,Object.entries(e).map((([e,t])=>({...t,name:e}))),t),"compilation.warningsInChildren!":(e,{yellow:t,compilation:n})=>{if(!n.children&&n.warningsCount>0&&n.warnings){const e=n.warningsCount-n.warnings.length;if(e>0){return t(`${e} ${plural(e,"WARNING","WARNINGS")} in child compilations${n.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(e,{red:t,compilation:n})=>{if(!n.children&&n.errorsCount>0&&n.errors){const e=n.errorsCount-n.errors.length;if(e>0){return t(`${e} ${plural(e,"ERROR","ERRORS")} in child compilations${n.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":e=>e,"asset.name":(e,{formatFilename:t,asset:{isOverSizeLimit:n}})=>t(e,n),"asset.size":(e,{asset:{isOverSizeLimit:t},yellow:n,green:r,formatSize:i})=>t?n(i(e)):i(e),"asset.emitted":(e,{green:t,formatFlag:n})=>e?t(n("emitted")):undefined,"asset.comparedForEmit":(e,{yellow:t,formatFlag:n})=>e?t(n("compared for emit")):undefined,"asset.cached":(e,{green:t,formatFlag:n})=>e?t(n("cached")):undefined,"asset.isOverSizeLimit":(e,{yellow:t,formatFlag:n})=>e?t(n("big")):undefined,"asset.info.immutable":(e,{green:t,formatFlag:n})=>e?t(n("immutable")):undefined,"asset.info.javascriptModule":(e,{formatFlag:t})=>e?t("javascript module"):undefined,"asset.info.sourceFilename":(e,{formatFlag:t})=>e?t(e===true?"from source file":`from: ${e}`):undefined,"asset.info.development":(e,{green:t,formatFlag:n})=>e?t(n("dev")):undefined,"asset.info.hotModuleReplacement":(e,{green:t,formatFlag:n})=>e?t(n("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(e,{asset:{related:t}})=>e>0?`${e} related ${plural(e,"asset","assets")}`:undefined,"asset.filteredChildren":e=>e>0?`${e} ${plural(e,"asset","assets")}`:undefined,assetChunk:(e,{formatChunkId:t})=>t(e),assetChunkName:e=>e,assetChunkIdHint:e=>e,"module.type":e=>e!=="module"?e:undefined,"module.id":(e,{formatModuleId:t})=>isValidId(e)?t(e):undefined,"module.name":(e,{bold:t})=>{const[,n,r]=/^(.*!)?([^!]*)$/.exec(e);return(n||"")+t(r)},"module.identifier":e=>undefined,"module.layer":(e,{formatLayer:t})=>e?t(e):undefined,"module.sizes":printSizes,"module.chunks[]":(e,{formatChunkId:t})=>t(e),"module.depth":(e,{formatFlag:t})=>e!==null?t(`depth ${e}`):undefined,"module.cacheable":(e,{formatFlag:t,red:n})=>e===false?n(t("not cacheable")):undefined,"module.orphan":(e,{formatFlag:t,yellow:n})=>e?n(t("orphan")):undefined,"module.runtime":(e,{formatFlag:t,yellow:n})=>e?n(t("runtime")):undefined,"module.optional":(e,{formatFlag:t,yellow:n})=>e?n(t("optional")):undefined,"module.dependent":(e,{formatFlag:t,cyan:n})=>e?n(t("dependent")):undefined,"module.built":(e,{formatFlag:t,yellow:n})=>e?n(t("built")):undefined,"module.codeGenerated":(e,{formatFlag:t,yellow:n})=>e?n(t("code generated")):undefined,"module.cached":(e,{formatFlag:t,green:n})=>e?n(t("cached")):undefined,"module.assets":(e,{formatFlag:t,magenta:n})=>e&&e.length?n(t(`${e.length} ${plural(e.length,"asset","assets")}`)):undefined,"module.warnings":(e,{formatFlag:t,yellow:n})=>e===true?n(t("warnings")):e?n(t(`${e} ${plural(e,"warning","warnings")}`)):undefined,"module.errors":(e,{formatFlag:t,red:n})=>e===true?n(t("errors")):e?n(t(`${e} ${plural(e,"error","errors")}`)):undefined,"module.providedExports":(e,{formatFlag:t,cyan:n})=>{if(Array.isArray(e)){if(e.length===0)return n(t("no exports"));return n(t(`exports: ${e.join(", ")}`))}},"module.usedExports":(e,{formatFlag:t,cyan:n,module:r})=>{if(e!==true){if(e===null)return n(t("used exports unknown"));if(e===false)return n(t("module unused"));if(Array.isArray(e)){if(e.length===0)return n(t("no exports used"));const i=Array.isArray(r.providedExports)?r.providedExports.length:null;if(i!==null&&i===e.length){return n(t("all exports used"))}else{return n(t(`only some exports used: ${e.join(", ")}`))}}}},"module.optimizationBailout[]":(e,{yellow:t})=>t(e),"module.issuerPath":(e,{module:t})=>t.profile?undefined:"","module.profile":e=>undefined,"module.filteredModules":e=>e>0?`${e} nested ${plural(e,"module","modules")}`:undefined,"module.filteredChildren":e=>e>0?`${e} ${plural(e,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(e,{formatModuleId:t})=>t(e),"moduleIssuer.profile.total":(e,{formatTime:t})=>t(e),"moduleReason.type":e=>e,"moduleReason.userRequest":(e,{cyan:t})=>t(e),"moduleReason.moduleId":(e,{formatModuleId:t})=>isValidId(e)?t(e):undefined,"moduleReason.module":(e,{magenta:t})=>t(e),"moduleReason.loc":e=>e,"moduleReason.explanation":(e,{cyan:t})=>t(e),"moduleReason.active":(e,{formatFlag:t})=>e?undefined:t("inactive"),"moduleReason.resolvedModule":(e,{magenta:t})=>t(e),"module.profile.total":(e,{formatTime:t})=>t(e),"module.profile.resolving":(e,{formatTime:t})=>`resolving: ${t(e)}`,"module.profile.restoring":(e,{formatTime:t})=>`restoring: ${t(e)}`,"module.profile.integration":(e,{formatTime:t})=>`integration: ${t(e)}`,"module.profile.building":(e,{formatTime:t})=>`building: ${t(e)}`,"module.profile.storing":(e,{formatTime:t})=>`storing: ${t(e)}`,"module.profile.additionalResolving":(e,{formatTime:t})=>e?`additional resolving: ${t(e)}`:undefined,"module.profile.additionalIntegration":(e,{formatTime:t})=>e?`additional integration: ${t(e)}`:undefined,"chunkGroup.kind!":(e,{chunkGroupKind:t})=>t,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(e,{bold:t})=>t(e),"chunkGroup.isOverSizeLimit":(e,{formatFlag:t,yellow:n})=>e?n(t("big")):undefined,"chunkGroup.assetsSize":(e,{formatSize:t})=>e?t(e):undefined,"chunkGroup.auxiliaryAssetsSize":(e,{formatSize:t})=>e?`(${t(e)})`:undefined,"chunkGroup.filteredAssets":e=>e>0?`${e} ${plural(e,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":e=>e>0?`${e} auxiliary ${plural(e,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(e,{green:t})=>t(e),"chunkGroupAsset.size":(e,{formatSize:t,chunkGroup:n})=>n.assets.length>1||n.auxiliaryAssets&&n.auxiliaryAssets.length>0?t(e):undefined,"chunkGroup.children":(e,t,n)=>Array.isArray(e)?undefined:n.print(t.type,Object.keys(e).map((t=>({type:t,children:e[t]}))),t),"chunkGroupChildGroup.type":e=>`${e}:`,"chunkGroupChild.assets[]":(e,{formatFilename:t})=>t(e),"chunkGroupChild.chunks[]":(e,{formatChunkId:t})=>t(e),"chunkGroupChild.name":e=>e?`(name: ${e})`:undefined,"chunk.id":(e,{formatChunkId:t})=>t(e),"chunk.files[]":(e,{formatFilename:t})=>t(e),"chunk.names[]":e=>e,"chunk.idHints[]":e=>e,"chunk.runtime[]":e=>e,"chunk.sizes":(e,t)=>printSizes(e,t),"chunk.parents[]":(e,t)=>t.formatChunkId(e,"parent"),"chunk.siblings[]":(e,t)=>t.formatChunkId(e,"sibling"),"chunk.children[]":(e,t)=>t.formatChunkId(e,"child"),"chunk.childrenByOrder":(e,t,n)=>Array.isArray(e)?undefined:n.print(t.type,Object.keys(e).map((t=>({type:t,children:e[t]}))),t),"chunk.childrenByOrder[].type":e=>`${e}:`,"chunk.childrenByOrder[].children[]":(e,{formatChunkId:t})=>isValidId(e)?t(e):undefined,"chunk.entry":(e,{formatFlag:t,yellow:n})=>e?n(t("entry")):undefined,"chunk.initial":(e,{formatFlag:t,yellow:n})=>e?n(t("initial")):undefined,"chunk.rendered":(e,{formatFlag:t,green:n})=>e?n(t("rendered")):undefined,"chunk.recorded":(e,{formatFlag:t,green:n})=>e?n(t("recorded")):undefined,"chunk.reason":(e,{yellow:t})=>e?t(e):undefined,"chunk.filteredModules":e=>e>0?`${e} chunk ${plural(e,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":e=>e,"chunkOrigin.moduleId":(e,{formatModuleId:t})=>isValidId(e)?t(e):undefined,"chunkOrigin.moduleName":(e,{bold:t})=>t(e),"chunkOrigin.loc":e=>e,"error.compilerPath":(e,{bold:t})=>e?t(`(${e})`):undefined,"error.chunkId":(e,{formatChunkId:t})=>isValidId(e)?t(e):undefined,"error.chunkEntry":(e,{formatFlag:t})=>e?t("entry"):undefined,"error.chunkInitial":(e,{formatFlag:t})=>e?t("initial"):undefined,"error.file":(e,{bold:t})=>t(e),"error.moduleName":(e,{bold:t})=>e.includes("!")?`${t(e.replace(/^(\s|\S)*!/,""))} (${e})`:`${t(e)}`,"error.loc":(e,{green:t})=>t(e),"error.message":(e,{bold:t,formatError:n})=>e.includes("[")?e:t(n(e)),"error.details":(e,{formatError:t})=>t(e),"error.stack":e=>e,"error.moduleTrace":e=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(e,{red:t})=>mapLines(e,(e=>` ${t(e)}`)),"loggingEntry(warn).loggingEntry.message":(e,{yellow:t})=>mapLines(e,(e=>` ${t(e)}`)),"loggingEntry(info).loggingEntry.message":(e,{green:t})=>mapLines(e,(e=>` ${t(e)}`)),"loggingEntry(log).loggingEntry.message":(e,{bold:t})=>mapLines(e,(e=>` ${t(e)}`)),"loggingEntry(debug).loggingEntry.message":e=>mapLines(e,(e=>` ${e}`)),"loggingEntry(trace).loggingEntry.message":e=>mapLines(e,(e=>` ${e}`)),"loggingEntry(status).loggingEntry.message":(e,{magenta:t})=>mapLines(e,(e=>` ${t(e)}`)),"loggingEntry(profile).loggingEntry.message":(e,{magenta:t})=>mapLines(e,(e=>`

${t(e)}`)),"loggingEntry(profileEnd).loggingEntry.message":(e,{magenta:t})=>mapLines(e,(e=>`

${t(e)}`)),"loggingEntry(time).loggingEntry.message":(e,{magenta:t})=>mapLines(e,(e=>` ${t(e)}`)),"loggingEntry(group).loggingEntry.message":(e,{cyan:t})=>mapLines(e,(e=>`<-> ${t(e)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(e,{cyan:t})=>mapLines(e,(e=>`<+> ${t(e)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":e=>e?mapLines(e,(e=>`| ${e}`)):undefined,"moduleTraceItem.originName":e=>e,loggingGroup:e=>e.entries.length===0?"":undefined,"loggingGroup.debug":(e,{red:t})=>e?t("DEBUG"):undefined,"loggingGroup.name":(e,{bold:t})=>t(`LOG from ${e}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":e=>e>0?`+ ${e} hidden lines`:undefined,"moduleTraceDependency.loc":e=>e};const i={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":e=>`loggingEntry(${e.type}).loggingEntry`,"loggingEntry.children[]":e=>`loggingEntry(${e.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const s=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const a={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:s,warning:s,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=e=>e.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=e=>e.length>0?`(${e.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=e=>e.filter(Boolean).join("\n\n");const itemsJoinComma=e=>e.filter(Boolean).join(", ");const itemsJoinCommaBrackets=e=>e.length>0?`(${e.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=e=>t=>t.length>0?`(${e}: ${t.filter(Boolean).join(", ")})`:undefined;const c={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":e=>e.filter(Boolean).map((e=>`${e} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":e=>indent(itemsJoinMoreSpacing(e)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":e=>indent(e.filter(Boolean).join("\n")," ",false)};const joinOneLine=e=>e.map((e=>e.content)).filter(Boolean).join(" ");const joinInBrackets=e=>{const t=[];let n=0;for(const r of e){if(r.element==="separator!"){switch(n){case 0:case 1:n+=2;break;case 4:t.push(")");n=3;break}}if(!r.content)continue;switch(n){case 0:n=1;break;case 1:t.push(" ");break;case 2:t.push("(");n=4;break;case 3:t.push(" (");n=4;break;case 4:t.push(", ");break}t.push(r.content)}if(n===4)t.push(")");return t.join("")};const indent=(e,t,n)=>{const r=e.replace(/\n([^\n])/g,"\n"+t+"$1");if(n)return r;const i=e[0]==="\n"?"":t;return i+r};const joinExplicitNewLine=(e,t)=>{let n=true;let r=true;return e.map((e=>{if(!e||!e.content)return;let i=indent(e.content,r?"":t,!n);if(n){i=i.replace(/^\n+/,"")}if(!i)return;r=false;const s=n||i.startsWith("\n");n=i.endsWith("\n");return s?i:" "+i})).filter(Boolean).join("").trim()};const joinError=e=>(t,{red:n,yellow:r})=>`${e?n("ERROR"):r("WARNING")} in ${joinExplicitNewLine(t,"")}`;const u={compilation:e=>{const t=[];let n=false;for(const r of e){if(!r.content)continue;const e=r.element==="warnings"||r.element==="filteredWarningDetailsCount"||r.element==="errors"||r.element==="filteredErrorDetailsCount"||r.element==="logging";if(t.length!==0){t.push(e||n?"\n\n":"\n")}t.push(r.content);n=e}if(n)t.push("\n");return t.join("")},asset:e=>joinExplicitNewLine(e.map((e=>{if((e.element==="related"||e.element==="children")&&e.content){return{...e,content:`\n${e.content}\n`}}return e}))," "),"asset.info":joinOneLine,module:(e,{module:t})=>{let n=false;return joinExplicitNewLine(e.map((e=>{switch(e.element){case"id":if(t.id===t.name){if(n)return false;if(e.content)n=true}break;case"name":if(n)return false;if(e.content)n=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(e.content){return{...e,content:`\n${e.content}\n`}}break}return e}))," ")},chunk:e=>{let t=false;return"chunk "+joinExplicitNewLine(e.filter((e=>{switch(e.element){case"entry":if(e.content)t=true;break;case"initial":if(t)return false;break}return true}))," ")},"chunk.childrenByOrder[]":e=>`(${joinOneLine(e)})`,chunkGroup:e=>joinExplicitNewLine(e," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(e,{moduleReason:t})=>{let n=false;return joinOneLine(e.filter((e=>{switch(e.element){case"moduleId":if(t.moduleId===t.module&&e.content)n=true;break;case"module":if(n)return false;break;case"resolvedModule":return t.module!==t.resolvedModule&&e.content}return true})))},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:e=>"> "+joinOneLine(e),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:e=>joinExplicitNewLine(e,"").trimRight(),moduleTraceItem:e=>" @ "+joinOneLine(e),moduleTraceDependency:joinOneLine};const l={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const d={formatChunkId:(e,{yellow:t},n)=>{switch(n){case"parent":return`<{${t(e)}}>`;case"sibling":return`={${t(e)}}=`;case"child":return`>{${t(e)}}<`;default:return`{${t(e)}}`}},formatModuleId:e=>`[${e}]`,formatFilename:(e,{green:t,yellow:n},r)=>(r?n:t)(e),formatFlag:e=>`[${e}]`,formatLayer:e=>`(in ${e})`,formatSize:n(9192).formatSize,formatDateTime:(e,{bold:t})=>{const n=new Date(e);const r=twoDigit;const i=`${n.getFullYear()}-${r(n.getMonth()+1)}-${r(n.getDate())}`;const s=`${r(n.getHours())}:${r(n.getMinutes())}:${r(n.getSeconds())}`;return`${i} ${t(s)}`},formatTime:(e,{timeReference:t,bold:n,green:r,yellow:i,red:s},a)=>{const c=" ms";if(t&&e!==t){const a=[t/2,t/4,t/8,t/16];if(e{if(e.includes("["))return e;const i=[{regExp:/(Did you mean .+)/g,format:t},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:t},{regExp:/(\(module has no exports\))/g,format:r},{regExp:/\(possible exports: (.+)\)/g,format:t},{regExp:/\s*(.+ doesn't exist)/g,format:r},{regExp:/('\w+' option has not been set)/g,format:r},{regExp:/(Emitted value instead of an instance of Error)/g,format:n},{regExp:/(Used? .+ instead)/gi,format:n},{regExp:/\b(deprecated|must|required)\b/g,format:n},{regExp:/\b(BREAKING CHANGE)\b/gi,format:r},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:r}];for(const{regExp:t,format:n}of i){e=e.replace(t,((e,t)=>e.replace(t,n(t))))}return e}};const p={"module.modules":e=>indent(e,"| ")};const createOrder=(e,t)=>{const n=e.slice();const r=new Set(e);const i=new Set;e.length=0;for(const n of t){if(n.endsWith("!")||r.has(n)){e.push(n);i.add(n)}}for(const t of n){if(!i.has(t)){e.push(t)}}return e};class DefaultStatsPrinterPlugin{apply(e){e.hooks.compilation.tap("DefaultStatsPrinterPlugin",(e=>{e.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((e,t,n)=>{e.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((e,n)=>{for(const e of Object.keys(l)){let r;if(t.colors){if(typeof t.colors==="object"&&typeof t.colors[e]==="string"){r=t.colors[e]}else{r=l[e]}}if(r){n[e]=e=>`${r}${typeof e==="string"?e.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${r}`):e}`}else{n[e]=e=>e}}for(const e of Object.keys(d)){n[e]=(t,...r)=>d[e](t,n,...r)}n.timeReference=e.time}));for(const t of Object.keys(r)){e.hooks.print.for(t).tap("DefaultStatsPrinterPlugin",((n,i)=>r[t](n,i,e)))}for(const t of Object.keys(a)){const n=a[t];e.hooks.sortElements.for(t).tap("DefaultStatsPrinterPlugin",((e,t)=>{createOrder(e,n)}))}for(const t of Object.keys(i)){const n=i[t];e.hooks.getItemName.for(t).tap("DefaultStatsPrinterPlugin",typeof n==="string"?()=>n:n)}for(const t of Object.keys(c)){const n=c[t];e.hooks.printItems.for(t).tap("DefaultStatsPrinterPlugin",n)}for(const t of Object.keys(u)){const n=u[t];e.hooks.printElements.for(t).tap("DefaultStatsPrinterPlugin",n)}for(const t of Object.keys(p)){const n=p[t];e.hooks.result.for(t).tap("DefaultStatsPrinterPlugin",n)}}))}))}}e.exports=DefaultStatsPrinterPlugin},87279:(e,t,n)=>{"use strict";const{HookMap:r,SyncBailHook:i,SyncWaterfallHook:s}=n(92960);const{concatComparators:a,keepOriginalOrder:c}=n(68673);const u=n(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new r((()=>new i(["object","data","context"]))),filter:new r((()=>new i(["item","context","index","unfilteredIndex"]))),sort:new r((()=>new i(["comparators","context"]))),filterSorted:new r((()=>new i(["item","context","index","unfilteredIndex"]))),groupResults:new r((()=>new i(["groupConfigs","context"]))),sortResults:new r((()=>new i(["comparators","context"]))),filterResults:new r((()=>new i(["item","context","index","unfilteredIndex"]))),merge:new r((()=>new i(["items","context"]))),result:new r((()=>new s(["result","context"]))),getItemName:new r((()=>new i(["item","context"]))),getItemFactory:new r((()=>new i(["item","context"])))});const e=this.hooks;this._caches={};for(const t of Object.keys(e)){this._caches[t]=new Map}this._inCreate=false}_getAllLevelHooks(e,t,n){const r=t.get(n);if(r!==undefined){return r}const i=[];const s=n.split(".");for(let t=0;t{for(const n of a){const r=i(n,e,t,c);if(r!==undefined){if(r)c++;return r}}c++;return true}))}create(e,t,n){if(this._inCreate){return this._create(e,t,n)}else{try{this._inCreate=true;return this._create(e,t,n)}finally{for(const e of Object.keys(this._caches))this._caches[e].clear();this._inCreate=false}}}_create(e,t,n){const r={...n,type:e,[e]:t};if(Array.isArray(t)){const n=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,e,t,((e,t,n,i)=>e.call(t,r,n,i)),true);const i=[];this._forEachLevel(this.hooks.sort,this._caches.sort,e,(e=>e.call(i,r)));if(i.length>0){n.sort(a(...i,c(n)))}const s=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,e,n,((e,t,n,i)=>e.call(t,r,n,i)),false);let l=s.map(((t,n)=>{const i={...r,_index:n};const s=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${e}[]`,(e=>e.call(t,i)));if(s)i[s]=t;const a=s?`${e}[].${s}`:`${e}[]`;const c=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,a,(e=>e.call(t,i)))||this;return c.create(a,t,i)}));const d=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,e,(e=>e.call(d,r)));if(d.length>0){l.sort(a(...d,c(l)))}const p=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,e,(e=>e.call(p,r)));if(p.length>0){l=u(l,p)}const h=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,e,l,((e,t,n,i)=>e.call(t,r,n,i)),false);let m=this._forEachLevel(this.hooks.merge,this._caches.merge,e,(e=>e.call(h,r)));if(m===undefined)m=h;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,e,m,((e,t)=>e.call(t,r)))}else{const n={};this._forEachLevel(this.hooks.extract,this._caches.extract,e,(e=>e.call(n,t,r)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,e,n,((e,t)=>e.call(t,r)))}}}e.exports=StatsFactory},30533:(e,t,n)=>{"use strict";const{HookMap:r,SyncWaterfallHook:i,SyncBailHook:s}=n(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new r((()=>new s(["elements","context"]))),printElements:new r((()=>new s(["printedElements","context"]))),sortItems:new r((()=>new s(["items","context"]))),getItemName:new r((()=>new s(["item","context"]))),printItems:new r((()=>new s(["printedItems","context"]))),print:new r((()=>new s(["object","context"]))),result:new r((()=>new i(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(e,t){let n=this._levelHookCache.get(e);if(n===undefined){n=new Map;this._levelHookCache.set(e,n)}const r=n.get(t);if(r!==undefined){return r}const i=[];const s=t.split(".");for(let t=0;te.call(t,r)));if(i===undefined){if(Array.isArray(t)){const n=t.slice();this._forEachLevel(this.hooks.sortItems,e,(e=>e.call(n,r)));const s=n.map(((t,n)=>{const i={...r,_index:n};const s=this._forEachLevel(this.hooks.getItemName,`${e}[]`,(e=>e.call(t,i)));if(s)i[s]=t;return this.print(s?`${e}[].${s}`:`${e}[]`,t,i)}));i=this._forEachLevel(this.hooks.printItems,e,(e=>e.call(s,r)));if(i===undefined){const e=s.filter(Boolean);if(e.length>0)i=e.join("\n")}}else if(t!==null&&typeof t==="object"){const n=Object.keys(t).filter((e=>t[e]!==undefined));this._forEachLevel(this.hooks.sortElements,e,(e=>e.call(n,r)));const s=n.map((n=>{const i=this.print(`${e}.${n}`,t[n],{...r,_parent:t,_element:n,[n]:t[n]});return{element:n,content:i}}));i=this._forEachLevel(this.hooks.printElements,e,(e=>e.call(s,r)));if(i===undefined){const e=s.map((e=>e.content)).filter(Boolean);if(e.length>0)i=e.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,e,i,((e,t)=>e.call(t,r)))}}e.exports=StatsPrinter},73910:(e,t)=>{"use strict";t.equals=(e,t)=>{if(e.length!==t.length)return false;for(let n=0;n{"use strict";class ArrayQueue{constructor(e){this._list=e?Array.from(e):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}enqueue(e){this._list.push(e)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const e=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=e}return this._listReversed.pop()}delete(e){const t=this._list.indexOf(e);if(t>=0){this._list.splice(t,1)}else{const t=this._listReversed.indexOf(e);if(t>=0)this._listReversed.splice(t,1)}}[Symbol.iterator](){let e=-1;let t=false;return{next:()=>{if(!t){e++;if(e{"use strict";const{SyncHook:r,AsyncSeriesHook:i}=n(92960);const s=n(56561);const a=0;const c=1;const u=2;let l=0;class AsyncQueueEntry{constructor(e,t){this.item=e;this.state=a;this.callback=t;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:e,parallelism:t,parent:n,processor:a,getKey:c}){this._name=e;this._parallelism=t||1;this._processor=a;this._getKey=c||(e=>e);this._entries=new Map;this._queued=new s;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=n?n._root:this;if(n){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new i(["item"]),added:new r(["item"]),beforeStart:new i(["item"]),started:new r(["item"]),result:new r(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(e,t){if(this._stopped)return t(new Error("Queue was stopped"));this.hooks.beforeAdd.callAsync(e,(n=>{if(n){t(n);return}const r=this._getKey(e);const i=this._entries.get(r);if(i!==undefined){if(i.state===u){process.nextTick((()=>t(i.error,i.result)))}else if(i.callbacks===undefined){i.callbacks=[t]}else{i.callbacks.push(t)}return}const s=new AsyncQueueEntry(e,t);if(this._stopped){this.hooks.added.call(e);this._root._activeTasks++;process.nextTick((()=>this._handleResult(s,new Error("Queue was stopped"))))}else{this._entries.set(r,s);this._queued.enqueue(s);const t=this._root;t._needProcessing=true;if(t._willEnsureProcessing===false){t._willEnsureProcessing=true;setImmediate(t._ensureProcessing)}this.hooks.added.call(e)}}))}invalidate(e){const t=this._getKey(e);const n=this._entries.get(t);this._entries.delete(t);if(n.state===a){this._queued.delete(n)}}stop(){this._stopped=true;const e=this._queued;this._queued=new s;const t=this._root;for(const n of e){this._entries.delete(this._getKey(n.item));t._activeTasks++;this._handleResult(n,new Error("Queue was stopped"))}}increaseParallelism(){const e=this._root;e._parallelism++;if(e._willEnsureProcessing===false&&e._needProcessing){e._willEnsureProcessing=true;setImmediate(e._ensureProcessing)}}decreaseParallelism(){const e=this._root;e._parallelism--}isProcessing(e){const t=this._getKey(e);const n=this._entries.get(t);return n!==undefined&&n.state===c}isQueued(e){const t=this._getKey(e);const n=this._entries.get(t);return n!==undefined&&n.state===a}isDone(e){const t=this._getKey(e);const n=this._entries.get(t);return n!==undefined&&n.state===u}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const e of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(e){this.hooks.beforeStart.callAsync(e.item,(t=>{if(t){this._handleResult(e,t);return}let n=false;try{this._processor(e.item,((t,r)=>{n=true;this._handleResult(e,t,r)}))}catch(t){if(n)throw t;this._handleResult(e,t,null)}this.hooks.started.call(e.item)}))}_handleResult(e,t,n){this.hooks.result.callAsync(e.item,t,n,(r=>{const i=r||t;const s=e.callback;const a=e.callbacks;e.state=u;e.callback=undefined;e.callbacks=undefined;e.result=n;e.error=i;const c=this._root;c._activeTasks--;if(c._willEnsureProcessing===false&&c._needProcessing){c._willEnsureProcessing=true;setImmediate(c._ensureProcessing)}if(l++>3){process.nextTick((()=>{s(i,n);if(a!==undefined){for(const e of a){e(i,n)}}}))}else{s(i,n);if(a!==undefined){for(const e of a){e(i,n)}}}l--}))}}e.exports=AsyncQueue},51145:e=>{"use strict";const t=/^data:([^;,]+)?((?:;(?:[^;,]+))*?)(;base64)?,(.*)$/i;const decodeDataURI=e=>{const n=t.exec(e);if(!n)return null;const r=n[3];const i=n[4];return r?Buffer.from(i,"base64"):Buffer.from(decodeURIComponent(i),"ascii")};const getMimetype=e=>{const n=t.exec(e);if(!n)return"";return n[1]||"text/plain"};e.exports={decodeDataURI:decodeDataURI,getMimetype:getMimetype}},75066:(e,t,n)=>{"use strict";class Hash{update(e,t){const r=n(75884);throw new r}digest(e){const t=n(75884);throw new t}}e.exports=Hash},11539:(e,t)=>{"use strict";const last=e=>{let t;for(const n of e)t=n;return t};const someInIterable=(e,t)=>{for(const n of e){if(t(n))return true}return false};const countIterable=e=>{let t=0;for(const n of e)t++;return t};t.last=last;t.someInIterable=someInIterable;t.countIterable=countIterable},37496:(e,t,n)=>{"use strict";const{first:r}=n(26221);const i=n(16102);class LazyBucketSortedSet{constructor(e,t,...n){this._getKey=e;this._innerArgs=n;this._leaf=n.length<=1;this._keys=new i(undefined,t);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(e){this.size++;this._unsortedItems.add(e)}_addInternal(e,t){let n=this._map.get(e);if(n===undefined){n=this._leaf?new i(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(e);this._map.set(e,n)}n.add(t)}delete(e){this.size--;if(this._unsortedItems.has(e)){this._unsortedItems.delete(e);return}const t=this._getKey(e);const n=this._map.get(t);n.delete(e);if(n.size===0){this._deleteKey(t)}}_deleteKey(e){this._keys.delete(e);this._map.delete(e)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const e of this._unsortedItems){const t=this._getKey(e);this._addInternal(t,e)}this._unsortedItems.clear()}this._keys.sort();const e=r(this._keys);const t=this._map.get(e);if(this._leaf){const n=t;n.sort();const i=r(n);n.delete(i);if(n.size===0){this._deleteKey(e)}return i}else{const n=t;const r=n.popFirst();if(n.size===0){this._deleteKey(e)}return r}}startUpdate(e){if(this._unsortedItems.has(e)){return t=>{if(t){this._unsortedItems.delete(e);this.size--;return}}}const t=this._getKey(e);if(this._leaf){const n=this._map.get(t);return r=>{if(r){this.size--;n.delete(e);if(n.size===0){this._deleteKey(t)}return}const i=this._getKey(e);if(t===i){n.add(e)}else{n.delete(e);if(n.size===0){this._deleteKey(t)}this._addInternal(i,e)}}}else{const n=this._map.get(t);const r=n.startUpdate(e);return i=>{if(i){this.size--;r(true);if(n.size===0){this._deleteKey(t)}return}const s=this._getKey(e);if(t===s){r()}else{r(true);if(n.size===0){this._deleteKey(t)}this._addInternal(s,e)}}}}_appendIterators(e){if(this._unsortedItems.size>0)e.push(this._unsortedItems[Symbol.iterator]());for(const t of this._keys){const n=this._map.get(t);if(this._leaf){const t=n;const r=t[Symbol.iterator]();e.push(r)}else{const t=n;t._appendIterators(e)}}}[Symbol.iterator](){const e=[];this._appendIterators(e);e.reverse();let t=e.pop();return{next:()=>{const n=t.next();if(n.done){if(e.length===0)return n;t=e.pop();return t.next()}return n}}}}e.exports=LazyBucketSortedSet},83379:(e,t,n)=>{"use strict";const r=n(56202);const merge=(e,t)=>{for(const n of t){for(const t of n){e.add(t)}}};const flatten=(e,t)=>{for(const n of t){if(n instanceof LazySet){if(n._set.size>0)e.add(n._set);if(n._needMerge){for(const t of n._toMerge){e.add(t)}flatten(e,n._toDeepMerge)}}else{e.add(n)}}};class LazySet{constructor(e){this._set=new Set(e);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}get size(){if(this._needMerge)this._merge();return this._set.size}add(e){this._set.add(e);return this}addAll(e){if(this._deopt){const t=this._set;for(const n of e){t.add(n)}}else{this._toDeepMerge.push(e);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten();if(this._toMerge.size>1e5)this._merge()}}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(e){if(this._needMerge)this._merge();return this._set.delete(e)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(e,t){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(e,t)}has(e){if(this._needMerge)this._merge();return this._set.has(e)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:e}){if(this._needMerge)this._merge();e(this._set.size);for(const t of this._set)e(t)}static deserialize({read:e}){const t=e();const n=[];for(let r=0;r{"use strict";t.provide=(e,t,n)=>{const r=e.get(t);if(r!==undefined)return r;const i=n();e.set(t,i);return i}},382:(e,t,n)=>{"use strict";const r=n(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(e,t,n){if(e===t)return n(1);this._rangePoints.push(e);this._rangePoints.push(t);this._rangeCallbacks.push(n)}calculate(){const e=Array.from(new Set(this._rangePoints)).sort(((e,t)=>e0));const n=[];for(let i=0;i{"use strict";class Queue{constructor(e){this._set=new Set(e);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(e){this._set.add(e)}dequeue(){const e=this._iterator.next();if(e.done)return undefined;this._set.delete(e.value);return e.value}}e.exports=Queue},26221:(e,t)=>{"use strict";const intersect=e=>{if(e.length===0)return new Set;if(e.length===1)return new Set(e[0]);let t=Infinity;let n=-1;for(let r=0;r{if(e.size{for(const n of e){if(t(n))return n}};const first=e=>{const t=e.values().next();return t.done?undefined:t.value};const combine=(e,t)=>{if(t.size===0)return e;if(e.size===0)return t;const n=new Set(e);for(const e of t)n.add(e);return n};t.intersect=intersect;t.isSubset=isSubset;t.find=find;t.first=first;t.combine=combine},16102:e=>{"use strict";const t=Symbol("not sorted");class SortableSet extends Set{constructor(e,n){super(e);this._sortFn=n;this._lastActiveSortFn=t;this._cache=undefined;this._cacheOrderIndependent=undefined}add(e){this._lastActiveSortFn=t;this._invalidateCache();this._invalidateOrderedCache();super.add(e);return this}delete(e){this._invalidateCache();this._invalidateOrderedCache();return super.delete(e)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(e){if(this.size<=1||e===this._lastActiveSortFn){return}const t=Array.from(this).sort(e);super.clear();for(let e=0;e{"use strict";const t=Symbol("tombstone");const n=Symbol("undefined");const extractPair=e=>{const r=e[0];const i=e[1];if(i===n||i===t){return[r,undefined]}else{return e}};class StackedMap{constructor(e){this.map=new Map;this.stack=e===undefined?[]:e.slice();this.stack.push(this.map)}set(e,t){this.map.set(e,t===undefined?n:t)}delete(e){if(this.stack.length>1){this.map.set(e,t)}else{this.map.delete(e)}}has(e){const n=this.map.get(e);if(n!==undefined){return n!==t}if(this.stack.length>1){for(let n=this.stack.length-2;n>=0;n--){const r=this.stack[n].get(e);if(r!==undefined){this.map.set(e,r);return r!==t}}this.map.set(e,t)}return false}get(e){const r=this.map.get(e);if(r!==undefined){return r===t||r===n?undefined:r}if(this.stack.length>1){for(let r=this.stack.length-2;r>=0;r--){const i=this.stack[r].get(e);if(i!==undefined){this.map.set(e,i);return i===t||i===n?undefined:i}}this.map.set(e,t)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const e of this.stack){for(const n of e){if(n[1]===t){this.map.delete(n[0])}else{this.map.set(n[0],n[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}e.exports=StackedMap},14146:e=>{"use strict";class StringXor{constructor(){this._value=undefined;this._buffer=undefined}add(e){let t=this._buffer;let n;if(t===undefined){t=this._buffer=Buffer.from(e,"latin1");this._value=Buffer.from(t);return}else if(t.length!==e.length){n=this._value;t=this._buffer=Buffer.from(e,"latin1");if(n.length{"use strict";const r=n(86949);class TupleQueue{constructor(e){this._set=new r(e);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...e){this._set.add(...e)}dequeue(){const e=this._iterator.next();if(e.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const e=this._iterator.next().value;this._set.delete(...e);return e}return undefined}this._set.delete(...e.value);return e.value}}e.exports=TupleQueue},86949:e=>{"use strict";class TupleSet{constructor(e){this._map=new Map;this.size=0;if(e){for(const t of e){this.add(...t)}}}add(...e){let t=this._map;for(let n=0;n{const i=r.next();if(i.done){if(e.length===0)return false;t.pop();return next(e.pop())}const[s,a]=i.value;e.push(r);t.push(s);if(a instanceof Set){n=a[Symbol.iterator]();return true}else{return next(a[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(n){const r=n.next();if(r.done){t.pop();if(!next(e.pop())){n=undefined}}else{return{done:false,value:t.concat(r.value)}}}return{done:true,value:undefined}}}}}e.exports=TupleSet},45754:(e,t)=>{"use strict";const n="\\".charCodeAt(0);const r="/".charCodeAt(0);const i="a".charCodeAt(0);const s="z".charCodeAt(0);const a="A".charCodeAt(0);const c="Z".charCodeAt(0);const u="0".charCodeAt(0);const l="9".charCodeAt(0);const d="+".charCodeAt(0);const p="-".charCodeAt(0);const h=":".charCodeAt(0);const m="#".charCodeAt(0);const g="?".charCodeAt(0);function getScheme(e){const t=e.charCodeAt(0);if((ts)&&(tc)){return undefined}let y=1;let _=e.charCodeAt(y);while(_>=i&&_<=s||_>=a&&_<=c||_>=u&&_<=l||_===d||_===p){if(++y===e.length)return undefined;_=e.charCodeAt(y)}if(_!==h)return undefined;if(y===1){const t=y+1{"use strict";const compileSearch=(e,t,n,r,i)=>{const s=["function ",e,"(a,l,h,",r.join(","),"){",i?"":"var i=",n?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if(i){if(t.indexOf("c")<0){s.push(";if(x===y){return m}else if(x<=y){")}else{s.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{s.push(";if(",t,"){i=m;")}if(n){s.push("l=m+1}else{h=m-1}")}else{s.push("h=m-1}else{l=m+1}")}s.push("}");if(i){s.push("return -1};")}else{s.push("return i};")}return s.join("")};const compileBoundsSearch=(e,t,n,r)=>{const i=compileSearch("A","x"+e+"y",t,["y"],r);const s=compileSearch("P","c(x,y)"+e+"0",t,["y","c"],r);const a="function dispatchBinarySearch";const c="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const u=[i,s,a,n,c,n];const l=u.join("");const d=new Function(l);return d()};e.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(e,t)=>{"use strict";const n=new WeakMap;const r=new WeakMap;const i=Symbol("DELETE");const s=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(e,t)=>{if(t===undefined)return e;if(e===undefined)return t;if(typeof t!=="object"||t===null)return t;if(typeof e!=="object"||e===null)return e;let r=n.get(e);if(r===undefined){r=new WeakMap;n.set(e,r)}const i=r.get(t);if(i!==undefined)return i;const s=_cleverMerge(e,t,true);r.set(t,s);return s};const cachedSetProperty=(e,t,n)=>{let i=r.get(e);if(i===undefined){i=new Map;r.set(e,i)}let s=i.get(t);if(s===undefined){s=new Map;i.set(t,s)}let a=s.get(n);if(a)return a;a={...e,[t]:n};s.set(n,a);return a};const a=new WeakMap;const cachedParseObject=e=>{const t=a.get(e);if(t!==undefined)return t;const n=parseObject(e);a.set(e,n);return n};const parseObject=e=>{const t=new Map;let n;const getInfo=e=>{const n=t.get(e);if(n!==undefined)return n;const r={base:undefined,byProperty:undefined,byValues:undefined};t.set(e,r);return r};for(const t of Object.keys(e)){if(t.startsWith("by")){const r=t;const i=e[r];if(typeof i==="object"){for(const e of Object.keys(i)){const t=i[e];for(const n of Object.keys(t)){const s=getInfo(n);if(s.byProperty===undefined){s.byProperty=r;s.byValues=new Map}else if(s.byProperty!==r){throw new Error(`${r} and ${s.byProperty} for a single property is not supported`)}s.byValues.set(e,t[n]);if(e==="default"){for(const e of Object.keys(i)){if(!s.byValues.has(e))s.byValues.set(e,undefined)}}}}}else if(typeof i==="function"){if(n===undefined){n={byProperty:t,fn:i}}else{throw new Error(`${t} and ${n.byProperty} when both are functions is not supported`)}}else{const n=getInfo(t);n.base=e[t]}}else{const n=getInfo(t);n.base=e[t]}}return{static:t,dynamic:n}};const serializeObject=(e,t)=>{const n={};for(const t of e.values()){if(t.byProperty!==undefined){const e=n[t.byProperty]=n[t.byProperty]||{};for(const n of t.byValues.keys()){e[n]=e[n]||{}}}}for(const[t,r]of e){if(r.base!==undefined){n[t]=r.base}if(r.byProperty!==undefined){const e=n[r.byProperty]=n[r.byProperty]||{};for(const n of Object.keys(e)){const i=getFromByValues(r.byValues,n);if(i!==undefined)e[n][t]=i}}}if(t!==undefined){n[t.byProperty]=t.fn}return n};const c=0;const u=1;const l=2;const d=3;const p=4;const getValueType=e=>{if(e===undefined){return c}else if(e===i){return p}else if(Array.isArray(e)){if(e.lastIndexOf("...")!==-1)return l;return u}else if(typeof e==="object"&&e!==null&&(!e.constructor||e.constructor===Object)){return d}return u};const cleverMerge=(e,t)=>{if(t===undefined)return e;if(e===undefined)return t;if(typeof t!=="object"||t===null)return t;if(typeof e!=="object"||e===null)return e;return _cleverMerge(e,t,false)};const _cleverMerge=(e,t,n=false)=>{const r=n?cachedParseObject(e):parseObject(e);const{static:i,dynamic:a}=r;if(a!==undefined){let{byProperty:e,fn:i}=a;const c=i[s];if(c){t=n?cachedCleverMerge(c[1],t):cleverMerge(c[1],t);i=c[0]}const newFn=(...e)=>{const r=i(...e);return n?cachedCleverMerge(r,t):cleverMerge(r,t)};newFn[s]=[i,t];return serializeObject(r.static,{byProperty:e,fn:newFn})}const c=n?cachedParseObject(t):parseObject(t);const{static:u,dynamic:l}=c;const d=new Map;for(const[e,t]of i){const r=u.get(e);const i=r!==undefined?mergeEntries(t,r,n):t;d.set(e,i)}for(const[e,t]of u){if(!i.has(e)){d.set(e,t)}}return serializeObject(d,l)};const mergeEntries=(e,t,n)=>{switch(getValueType(t.base)){case u:case p:return t;case c:if(!e.byProperty){return{base:e.base,byProperty:t.byProperty,byValues:t.byValues}}else if(e.byProperty!==t.byProperty){throw new Error(`${e.byProperty} and ${t.byProperty} for a single property is not supported`)}else{const r=new Map(e.byValues);for(const[i,s]of t.byValues){const t=getFromByValues(e.byValues,i);r.set(i,mergeSingleValue(t,s,n))}return{base:e.base,byProperty:e.byProperty,byValues:r}}default:{if(!e.byProperty){return{base:mergeSingleValue(e.base,t.base,n),byProperty:t.byProperty,byValues:t.byValues}}let r;const i=new Map(e.byValues);for(const[e,r]of i){i.set(e,mergeSingleValue(r,t.base,n))}if(Array.from(e.byValues.values()).every((e=>{const t=getValueType(e);return t===u||t===p}))){r=mergeSingleValue(e.base,t.base,n)}else{r=e.base;if(!i.has("default"))i.set("default",t.base)}if(!t.byProperty){return{base:r,byProperty:e.byProperty,byValues:i}}else if(e.byProperty!==t.byProperty){throw new Error(`${e.byProperty} and ${t.byProperty} for a single property is not supported`)}const s=new Map(i);for(const[e,r]of t.byValues){const t=getFromByValues(i,e);s.set(e,mergeSingleValue(t,r,n))}return{base:r,byProperty:e.byProperty,byValues:s}}}};const getFromByValues=(e,t)=>{if(t!=="default"&&e.has(t)){return e.get(t)}return e.get("default")};const mergeSingleValue=(e,t,n)=>{const r=getValueType(t);const i=getValueType(e);switch(r){case p:case u:return t;case d:{return i!==d?t:n?cachedCleverMerge(e,t):cleverMerge(e,t)}case c:return e;case l:switch(i!==u?i:Array.isArray(e)?l:d){case c:return t;case p:return t.filter((e=>e!=="..."));case l:{const n=[];for(const r of t){if(r==="..."){for(const t of e){n.push(t)}}else{n.push(r)}}return n}case d:return t.map((t=>t==="..."?e:t));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=e=>{const t={};for(const n of Object.keys(e)){const r=e[n];const i=getValueType(r);switch(i){case c:case p:break;case d:t[n]=removeOperations(r);break;case l:t[n]=r.filter((e=>e!=="..."));break;default:t[n]=r;break}}return t};const resolveByProperty=(e,t,...n)=>{if(typeof e!=="object"||e===null||!(t in e)){return e}const{[t]:r,...i}=e;const s=i;const a=r;if(typeof a==="object"){const e=n[0];if(e in a){return cachedCleverMerge(s,a[e])}else if("default"in a){return cachedCleverMerge(s,a.default)}else{return s}}else if(typeof a==="function"){const e=a.apply(null,n);return cachedCleverMerge(s,resolveByProperty(e,t,...n))}};t.cachedSetProperty=cachedSetProperty;t.cachedCleverMerge=cachedCleverMerge;t.cleverMerge=cleverMerge;t.resolveByProperty=resolveByProperty;t.removeOperations=removeOperations;t.DELETE=i},68673:(e,t,n)=>{"use strict";const{compareRuntime:r}=n(37416);const createCachedParameterizedComparator=e=>{const t=new WeakMap;return n=>{const r=t.get(n);if(r!==undefined)return r;const result=(t,r)=>e(n,t,r);t.set(n,result);return result}};t.compareChunksById=(e,t)=>compareIds(e.id,t.id);t.compareModulesByIdentifier=(e,t)=>compareIds(e.identifier(),t.identifier());const compareModulesById=(e,t,n)=>compareIds(e.getModuleId(t),e.getModuleId(n));t.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(e,t)=>{if(typeof e!==typeof t){return typeof et)return 1;return 0};t.compareNumbers=compareNumbers;const compareStringsNumeric=(e,t)=>{const n=e.split(/(\d+)/);const r=t.split(/(\d+)/);const i=Math.min(n.length,r.length);for(let e=0;ei.length){if(t.slice(0,i.length)>i)return 1;return-1}else if(i.length>t.length){if(i.slice(0,t.length)>t)return-1;return 1}else{if(ti)return 1}}else{const e=+t;const n=+i;if(en)return 1}}if(r.lengthn.length)return-1;return 0};t.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(e,t,n)=>{const r=compareNumbers(e.getPostOrderIndex(t),e.getPostOrderIndex(n));if(r!==0)return r;return compareIds(t.identifier(),n.identifier())};t.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(e,t,n)=>{const r=compareNumbers(e.getPreOrderIndex(t),e.getPreOrderIndex(n));if(r!==0)return r;return compareIds(t.identifier(),n.identifier())};t.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(e,t,n)=>{const r=compareIds(e.getModuleId(t),e.getModuleId(n));if(r!==0)return r;return compareIds(t.identifier(),n.identifier())};t.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(e,t,n)=>e.compareChunks(t,n);t.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(e,t)=>{if(typeof e!==typeof t){return typeof et)return 1;return 0};t.compareIds=compareIds;const compareStrings=(e,t)=>{if(et)return 1;return 0};t.compareStrings=compareStrings;const compareChunkGroupsByIndex=(e,t)=>e.index{if(n.length>0){const[r,...i]=n;return concatComparators(e,concatComparators(t,r,...i))}const r=i.get(e,t);if(r!==undefined)return r;const result=(n,r)=>{const i=e(n,r);if(i!==0)return i;return t(n,r)};i.set(e,t,result);return result};t.concatComparators=concatComparators;const s=new TwoKeyWeakMap;const compareSelect=(e,t)=>{const n=s.get(e,t);if(n!==undefined)return n;const result=(n,r)=>{const i=e(n);const s=e(r);if(i!==undefined&&i!==null){if(s!==undefined&&s!==null){return t(i,s)}return-1}else{if(s!==undefined&&s!==null){return 1}return 0}};s.set(e,t,result);return result};t.compareSelect=compareSelect;const a=new WeakMap;const compareIterables=e=>{const t=a.get(e);if(t!==undefined)return t;const result=(t,n)=>{const r=t[Symbol.iterator]();const i=n[Symbol.iterator]();while(true){const t=r.next();const n=i.next();if(t.done){return n.done?0:-1}else if(n.done){return 1}const s=e(t.value,n.value);if(s!==0)return s}};a.set(e,result);return result};t.compareIterables=compareIterables;t.keepOriginalOrder=e=>{const t=new Map;let n=0;for(const r of e){t.set(r,n++)}return(e,n)=>compareNumbers(t.get(e),t.get(n))};t.compareChunksNatural=e=>{const n=t.compareModulesById(e);const i=compareIterables(n);return concatComparators(compareSelect((e=>e.name),compareIds),compareSelect((e=>e.runtime),r),compareSelect((t=>e.getOrderedChunkModulesIterable(t,n)),i))};t.compareLocations=(e,t)=>{let n=typeof e==="object"&&e!==null;let r=typeof t==="object"&&t!==null;if(!n||!r){if(n)return 1;if(r)return-1;return 0}if("start"in e&&"start"in t){const n=e.start;const r=t.start;if(n.liner.line)return 1;if(n.columnr.column)return 1}if("name"in e&&"name"in t){if(e.namet.name)return 1}if("index"in e&&"index"in t){if(e.indext.index)return 1}return 0}},87274:e=>{"use strict";const quoteMeta=e=>e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=e=>{if(`${+e}`===e){return e}return JSON.stringify(e)};const compileBooleanMatcher=e=>{const t=Object.keys(e).filter((t=>e[t]));const n=Object.keys(e).filter((t=>!e[t]));if(t.length===0)return false;if(n.length===0)return true;return compileBooleanMatcherFromLists(t,n)};const compileBooleanMatcherFromLists=(e,t)=>{if(e.length===0)return()=>"false";if(t.length===0)return()=>"true";if(e.length===1)return t=>`${toSimpleString(e[0])} == ${t}`;if(t.length===1)return e=>`${toSimpleString(t[0])} != ${e}`;const n=itemsToRegexp(e);const r=itemsToRegexp(t);if(n.length<=r.length){return e=>`/^${n}$/.test(${e})`}else{return e=>`!/^${r}$/.test(${e})`}};const popCommonItems=(e,t,n)=>{const r=new Map;for(const n of e){const e=t(n);if(e){let t=r.get(e);if(t===undefined){t=[];r.set(e,t)}t.push(n)}}const i=[];for(const t of r.values()){if(n(t)){for(const n of t){e.delete(n)}i.push(t)}}return i};const getCommonPrefix=e=>{let t=e[0];for(let n=1;n{let t=e[0];for(let n=1;n=0;e--,n--){if(r[e]!==t[n]){t=t.slice(n+1);break}}}return t};const itemsToRegexp=e=>{if(e.length===1){return quoteMeta(e[0])}const t=[];let n=0;for(const t of e){if(t.length===1){n++}}if(n===e.length){return`[${quoteMeta(e.sort().join(""))}]`}const r=new Set(e.sort());if(n>2){let e="";for(const t of r){if(t.length===1){e+=t;r.delete(t)}}t.push(`[${quoteMeta(e)}]`)}if(t.length===0&&r.size===2){const t=getCommonPrefix(e);const n=getCommonSuffix(e.map((e=>e.slice(t.length))));if(t.length>0||n.length>0){return`${quoteMeta(t)}${itemsToRegexp(e.map((e=>e.slice(t.length,-n.length||undefined))))}${quoteMeta(n)}`}}if(t.length===0&&r.size===2){const e=r[Symbol.iterator]();const t=e.next().value;const n=e.next().value;if(t.length>0&&n.length>0&&t.slice(-1)===n.slice(-1)){return`${itemsToRegexp([t.slice(0,-1),n.slice(0,-1)])}${quoteMeta(t.slice(-1))}`}}const i=popCommonItems(r,(e=>e.length>=1?e[0]:false),(e=>{if(e.length>=3)return true;if(e.length<=1)return false;return e[0][1]===e[1][1]}));for(const e of i){const n=getCommonPrefix(e);t.push(`${quoteMeta(n)}${itemsToRegexp(e.map((e=>e.slice(n.length))))}`)}const s=popCommonItems(r,(e=>e.length>=1?e.slice(-1):false),(e=>{if(e.length>=3)return true;if(e.length<=1)return false;return e[0].slice(-2)===e[1].slice(-2)}));for(const e of s){const n=getCommonSuffix(e);t.push(`${itemsToRegexp(e.map((e=>e.slice(0,-n.length))))}${quoteMeta(n)}`)}const a=t.concat(Array.from(r,quoteMeta));if(a.length===1)return a[0];return`(${a.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;e.exports=compileBooleanMatcher},35891:(e,t,n)=>{"use strict";const r=n(75066);const i=2e3;const s={};class BulkUpdateDecorator extends r{constructor(e,t){super();this.hashKey=t;if(typeof e==="function"){this.hashFactory=e;this.hash=undefined}else{this.hashFactory=undefined;this.hash=e}this.buffer=""}update(e,t){if(t!==undefined||typeof e!=="string"||e.length>i){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(e,t)}else{this.buffer+=e;if(this.buffer.length>i){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(e){let t;if(this.hash===undefined){const n=`${this.hashKey}-${e}`;t=s[n];if(t===undefined){t=s[n]=new Map}const r=t.get(this.buffer);if(r!==undefined)return r;this.hash=this.hashFactory()}if(this.buffer.length>0){this.hash.update(this.buffer)}const n=this.hash.digest(e);const r=typeof n==="string"?n:n.toString();if(t!==undefined){t.set(this.buffer,r)}return r}}class DebugHash extends r{constructor(){super();this.string=""}update(e,t){if(typeof e!=="string")e=e.toString("utf-8");if(e.startsWith("debug-digest-")){e=Buffer.from(e.slice("debug-digest-".length),"hex").toString()}this.string+=`[${e}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(e){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let a=undefined;e.exports=e=>{if(typeof e==="function"){return new BulkUpdateDecorator((()=>new e))}switch(e){case"debug":return new DebugHash;default:if(a===undefined)a=n(76417);return new BulkUpdateDecorator((()=>a.createHash(e)),e)}}},16595:(e,t,n)=>{"use strict";const r=n(31669);const i=new Map;const createDeprecation=(e,t)=>{const n=i.get(e);if(n!==undefined)return n;const s=r.deprecate((()=>{}),e,"DEP_WEBPACK_DEPRECATION_"+t);i.set(e,s);return s};const s=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const a=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];t.arrayToSetDeprecation=(e,t)=>{for(const n of s){if(e[n])continue;const r=createDeprecation(`${t} was changed from Array to Set (using Array method '${n}' is deprecated)`,"ARRAY_TO_SET");e[n]=function(){r();const e=Array.from(this);return Array.prototype[n].apply(e,arguments)}}const n=createDeprecation(`${t} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const r=createDeprecation(`${t} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const i=createDeprecation(`${t} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");e.push=function(){n();for(const e of Array.from(arguments)){this.add(e)}return this.size};for(const n of a){if(e[n])continue;e[n]=()=>{throw new Error(`${t} was changed from Array to Set (using Array method '${n}' is not possible)`)}}const createIndexGetter=e=>{const fn=function(){i();let t=0;for(const n of this){if(t++===e)return n}return undefined};return fn};const defineIndexGetter=n=>{Object.defineProperty(e,n,{get:createIndexGetter(n),set(e){throw new Error(`${t} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let c=1;Object.defineProperty(e,"length",{get(){r();const e=this.size;for(c;c{class SetDeprecatedArray extends Set{}t.arrayToSetDeprecation(SetDeprecatedArray.prototype,e);return SetDeprecatedArray};t.soonFrozenObjectDeprecation=(e,t,n,i="")=>{const s=`${t} will be frozen in future, all modifications are deprecated.${i&&`\n${i}`}`;return new Proxy(e,{set:r.deprecate(((e,t,n,r)=>Reflect.set(e,t,n,r)),s,n),defineProperty:r.deprecate(((e,t,n)=>Reflect.defineProperty(e,t,n)),s,n),deleteProperty:r.deprecate(((e,t)=>Reflect.deleteProperty(e,t)),s,n),setPrototypeOf:r.deprecate(((e,t)=>Reflect.setPrototypeOf(e,t)),s,n)})};const deprecateAllProperties=(e,t,n)=>{const i={};const s=Object.getOwnPropertyDescriptors(e);for(const e of Object.keys(s)){const a=s[e];if(typeof a.value==="function"){Object.defineProperty(i,e,{...a,value:r.deprecate(a.value,t,n)})}else if(a.get||a.set){Object.defineProperty(i,e,{...a,get:a.get&&r.deprecate(a.get,t,n),set:a.set&&r.deprecate(a.set,t,n)})}else{let s=a.value;Object.defineProperty(i,e,{configurable:a.configurable,enumerable:a.enumerable,get:r.deprecate((()=>s),t,n),set:a.writable?r.deprecate((e=>s=e),t,n):undefined})}}return i};t.deprecateAllProperties=deprecateAllProperties;t.createFakeHook=(e,t,n)=>{if(t&&n){e=deprecateAllProperties(e,t,n)}return Object.freeze(Object.assign(e,{_fakeHook:true}))}},44648:e=>{"use strict";const similarity=(e,t)=>{const n=Math.min(e.length,t.length);let r=0;for(let i=0;i{const r=Math.min(e.length,t.length);let i=0;while(i{for(const n of Object.keys(t)){e[n]=(e[n]||0)+t[n]}};const subtractSizeFrom=(e,t)=>{for(const n of Object.keys(t)){e[n]-=t[n]}};const sumSize=e=>{const t=Object.create(null);for(const n of e){addSizeTo(t,n.size)}return t};const isTooBig=(e,t)=>{for(const n of Object.keys(e)){const r=e[n];if(r===0)continue;const i=t[n];if(typeof i==="number"){if(r>i)return true}}return false};const isTooSmall=(e,t)=>{for(const n of Object.keys(e)){const r=e[n];if(r===0)continue;const i=t[n];if(typeof i==="number"){if(r{const n=new Set;for(const r of Object.keys(e)){const i=e[r];if(i===0)continue;const s=t[r];if(typeof s==="number"){if(i{let n=0;for(const r of Object.keys(e)){if(e[r]!==0&&t.has(r))n++}return n};const selectiveSizeSum=(e,t)=>{let n=0;for(const r of Object.keys(e)){if(e[r]!==0&&t.has(r))n+=e[r]}return n};class Node{constructor(e,t,n){this.item=e;this.key=t;this.size=n}}class Group{constructor(e,t,n){this.nodes=e;this.similarities=t;this.size=n||sumSize(e);this.key=undefined}popNodes(e){const t=[];const n=[];const r=[];let i;for(let s=0;s0){n.push(i===this.nodes[s-1]?this.similarities[s-1]:similarity(i.key,a.key))}t.push(a);i=a}}if(r.length===this.nodes.length)return undefined;this.nodes=t;this.similarities=n;this.size=sumSize(t);return r}}const getSimilarities=e=>{const t=[];let n=undefined;for(const r of e){if(n!==undefined){t.push(similarity(n.key,r.key))}n=r}return t};e.exports=({maxSize:e,minSize:t,items:n,getSize:r,getKey:i})=>{const s=[];const a=Array.from(n,(e=>new Node(e,i(e),r(e))));const c=[];a.sort(((e,t)=>{if(e.keyt.key)return 1;return 0}));for(const n of a){if(isTooBig(n.size,e)&&!isTooSmall(n.size,t)){s.push(new Group([n],[]))}else{c.push(n)}}if(c.length>0){const n=new Group(c,getSimilarities(c));const removeProblematicNodes=(e,n=e.size)=>{const r=getTooSmallTypes(n,t);if(r.size>0){const t=e.popNodes((e=>getNumberOfMatchingSizeTypes(e.size,r)>0));if(t===undefined)return false;const n=s.filter((e=>getNumberOfMatchingSizeTypes(e.size,r)>0));if(n.length>0){const e=n.reduce(((e,t)=>{const n=getNumberOfMatchingSizeTypes(e,r);const i=getNumberOfMatchingSizeTypes(t,r);if(n!==i)return nselectiveSizeSum(t.size,r))return t;return e}));for(const n of t)e.nodes.push(n);e.nodes.sort(((e,t)=>{if(e.keyt.key)return 1;return 0}))}else{s.push(new Group(t,null))}return true}else{return false}};if(n.nodes.length>0){const r=[n];while(r.length){const n=r.pop();if(!isTooBig(n.size,e)){s.push(n);continue}if(removeProblematicNodes(n)){r.push(n);continue}let i=1;let a=Object.create(null);addSizeTo(a,n.nodes[0].size);while(i=0&&isTooSmall(u,t)){addSizeTo(u,n.nodes[c].size);c--}if(i-1>c){let e;if(c{if(e.nodes[0].keyt.nodes[0].key)return 1;return 0}));const u=new Set;for(let e=0;e({key:e.key,items:e.nodes.map((e=>e.item)),size:e.size})))}},10004:e=>{"use strict";e.exports=function extractUrlAndGlobal(e){const t=e.indexOf("@");return[e.substring(t+1),e.substring(0,t)]}},62598:e=>{"use strict";const t=0;const n=1;const r=2;const i=3;const s=4;class Node{constructor(e){this.item=e;this.dependencies=new Set;this.marker=t;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}e.exports=(e,a)=>{const c=new Map;for(const t of e){const e=new Node(t);c.set(t,e)}if(c.size<=1)return e;for(const e of c.values()){for(const t of a(e.item)){const n=c.get(t);if(n!==undefined){e.dependencies.add(n)}}}const u=new Set;const l=new Set;for(const e of c.values()){if(e.marker===t){e.marker=n;const a=[{node:e,openEdges:Array.from(e.dependencies)}];while(a.length>0){const e=a[a.length-1];if(e.openEdges.length>0){const c=e.openEdges.pop();switch(c.marker){case t:a.push({node:c,openEdges:Array.from(c.dependencies)});c.marker=n;break;case n:{let e=c.cycle;if(!e){e=new Cycle;e.nodes.add(c);c.cycle=e}for(let t=a.length-1;a[t].node!==c;t--){const n=a[t].node;if(n.cycle){if(n.cycle!==e){for(const t of n.cycle.nodes){t.cycle=e;e.nodes.add(t)}}}else{n.cycle=e;e.nodes.add(n)}}break}case s:c.marker=r;u.delete(c);break;case i:l.delete(c.cycle);c.marker=r;break}}else{a.pop();e.node.marker=r}}const c=e.cycle;if(c){for(const e of c.nodes){e.marker=i}l.add(c)}else{e.marker=s;u.add(e)}}}for(const e of l){let t=0;const n=new Set;const r=e.nodes;for(const e of r){for(const i of e.dependencies){if(r.has(i)){i.incoming++;if(i.incomingt){n.clear();t=i.incoming}n.add(i)}}}for(const e of n){u.add(e)}}if(u.size>0){return Array.from(u,(e=>e.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(e,t,n)=>{"use strict";const r=n(85622);const relative=(e,t,n)=>{if(e&&e.relative){return e.relative(t,n)}else if(r.posix.isAbsolute(t)){return r.posix.relative(t,n)}else if(r.win32.isAbsolute(t)){return r.win32.relative(t,n)}else{throw new Error(`${t} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};t.relative=relative;const join=(e,t,n)=>{if(e&&e.join){return e.join(t,n)}else if(r.posix.isAbsolute(t)){return r.posix.join(t,n)}else if(r.win32.isAbsolute(t)){return r.win32.join(t,n)}else{throw new Error(`${t} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};t.join=join;const dirname=(e,t)=>{if(e&&e.dirname){return e.dirname(t)}else if(r.posix.isAbsolute(t)){return r.posix.dirname(t)}else if(r.win32.isAbsolute(t)){return r.win32.dirname(t)}else{throw new Error(`${t} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};t.dirname=dirname;const mkdirp=(e,t,n)=>{e.mkdir(t,(r=>{if(r){if(r.code==="ENOENT"){const i=dirname(e,t);if(i===t){n(r);return}mkdirp(e,i,(r=>{if(r){n(r);return}e.mkdir(t,(e=>{if(e){if(e.code==="EEXIST"){n();return}n(e);return}n()}))}));return}else if(r.code==="EEXIST"){n();return}n(r);return}n()}))};t.mkdirp=mkdirp;const mkdirpSync=(e,t)=>{try{e.mkdirSync(t)}catch(n){if(n){if(n.code==="ENOENT"){const r=dirname(e,t);if(r===t){throw n}mkdirpSync(e,r);e.mkdirSync(t);return}else if(n.code==="EEXIST"){return}throw n}}};t.mkdirpSync=mkdirpSync;const readJson=(e,t,n)=>{if("readJson"in e)return e.readJson(t,n);e.readFile(t,((e,t)=>{if(e)return n(e);let r;try{r=JSON.parse(t.toString("utf-8"))}catch(e){return n(e)}return n(null,r)}))};t.readJson=readJson},49197:(e,t,n)=>{"use strict";const r=n(85622);const i=/^[a-zA-Z]:[\\/]/;const s=/([|!])/;const a=/\\/g;const absoluteToRequest=(e,t)=>{if(t[0]==="/"){if(t.length>1&&t[t.length-1]==="/"){return t}const n=t.indexOf("?");let i=n===-1?t:t.slice(0,n);i=r.posix.relative(e,i);if(!i.startsWith("../")){i="./"+i}return n===-1?i:i+t.slice(n)}if(i.test(t)){const n=t.indexOf("?");let s=n===-1?t:t.slice(0,n);s=r.win32.relative(e,s);if(!i.test(s)){s=s.replace(a,"/");if(!s.startsWith("../")){s="./"+s}}return n===-1?s:s+t.slice(n)}return t};const requestToAbsolute=(e,t)=>{if(t.startsWith("./")||t.startsWith("../"))return r.join(e,t);return t};const makeCacheable=e=>{const t=new WeakMap;const cachedFn=(n,r,i)=>{if(!i)return e(n,r);let s=t.get(i);if(s===undefined){s=new Map;t.set(i,s)}let a;let c=s.get(n);if(c===undefined){s.set(n,c=new Map)}else{a=c.get(r)}if(a!==undefined){return a}else{const t=e(n,r);c.set(r,t);return t}};cachedFn.bindCache=n=>{let r;if(n){r=t.get(n);if(r===undefined){r=new Map;t.set(n,r)}}else{r=new Map}const boundFn=(t,n)=>{let i;let s=r.get(t);if(s===undefined){r.set(t,s=new Map)}else{i=s.get(n)}if(i!==undefined){return i}else{const r=e(t,n);s.set(n,r);return r}};return boundFn};cachedFn.bindContextCache=(n,r)=>{let i;if(r){let e=t.get(r);if(e===undefined){e=new Map;t.set(r,e)}i=e.get(n);if(i===undefined){e.set(n,i=new Map)}}else{i=new Map}const boundFn=t=>{const r=i.get(t);if(r!==undefined){return r}else{const r=e(n,t);i.set(t,r);return r}};return boundFn};return cachedFn};const _makePathsRelative=(e,t)=>t.split(s).map((t=>absoluteToRequest(e,t))).join("");t.makePathsRelative=makeCacheable(_makePathsRelative);const _contextify=(e,t)=>t.split("!").map((t=>absoluteToRequest(e,t))).join("!");const c=makeCacheable(_contextify);t.contextify=c;const _absolutify=(e,t)=>t.split("!").map((t=>requestToAbsolute(e,t))).join("!");const u=makeCacheable(_absolutify);t.absolutify=u;const l=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=e=>{const t=l.exec(e);return{resource:e,path:t[1].replace(/\0(.)/g,"$1"),query:t[2]?t[2].replace(/\0(.)/g,"$1"):"",fragment:t[3]||""}};t.parseResource=(e=>{const t=new WeakMap;const getCache=e=>{const n=t.get(e);if(n!==undefined)return n;const r=new Map;t.set(e,r);return r};const fn=(t,n)=>{if(!n)return e(t);const r=getCache(n);const i=r.get(t);if(i!==undefined)return i;const s=e(t);r.set(t,s);return s};fn.bindCache=t=>{const n=getCache(t);return t=>{const r=n.get(t);if(r!==undefined)return r;const i=e(t);n.set(t,i);return i}};return fn})(_parseResource);t.getUndoPath=(e,t,n)=>{let r=-1;let i="";t=t.replace(/[\\/]$/,"");for(const n of e.split(/[/\\]+/)){if(n===".."){if(r>-1){r--}else{const e=t.lastIndexOf("/");const n=t.lastIndexOf("\\");const r=e<0?n:n<0?e:Math.max(e,n);if(r<0)return t+"/";i=t.slice(r+1)+"/"+i;t=t.slice(0,r)}}else if(n!=="."){r++}}return r>0?`${"../".repeat(r)}${i}`:n?`./${i}`:i}},90331:(e,t,n)=>{"use strict";e.exports={AsyncDependenciesBlock:()=>n(98221),CommentCompilationWarning:()=>n(47207),ContextModule:()=>n(58126),"cache/PackFileCacheStrategy":()=>n(83793),"cache/ResolverCachePlugin":()=>n(13653),"container/ContainerEntryDependency":()=>n(76041),"container/ContainerEntryModule":()=>n(89591),"container/ContainerExposedDependency":()=>n(4523),"container/FallbackDependency":()=>n(27426),"container/FallbackItemDependency":()=>n(55525),"container/FallbackModule":()=>n(13386),"container/RemoteModule":()=>n(68679),"container/RemoteToExternalDependency":()=>n(44742),"dependencies/AMDDefineDependency":()=>n(46960),"dependencies/AMDRequireArrayDependency":()=>n(95715),"dependencies/AMDRequireContextDependency":()=>n(38145),"dependencies/AMDRequireDependenciesBlock":()=>n(83842),"dependencies/AMDRequireDependency":()=>n(45167),"dependencies/AMDRequireItemDependency":()=>n(29022),"dependencies/CachedConstDependency":()=>n(59455),"dependencies/CommonJsRequireContextDependency":()=>n(51454),"dependencies/CommonJsExportRequireDependency":()=>n(1248),"dependencies/CommonJsExportsDependency":()=>n(26702),"dependencies/CommonJsFullRequireDependency":()=>n(87519),"dependencies/CommonJsRequireDependency":()=>n(37313),"dependencies/CommonJsSelfReferenceDependency":()=>n(94147),"dependencies/ConstDependency":()=>n(66298),"dependencies/ContextDependency":()=>n(400),"dependencies/ContextElementDependency":()=>n(90872),"dependencies/CriticalDependencyWarning":()=>n(75314),"dependencies/DelegatedSourceDependency":()=>n(49422),"dependencies/DllEntryDependency":()=>n(95189),"dependencies/EntryDependency":()=>n(66583),"dependencies/ExportsInfoDependency":()=>n(51420),"dependencies/HarmonyAcceptDependency":()=>n(27790),"dependencies/HarmonyAcceptImportDependency":()=>n(80654),"dependencies/HarmonyCompatibilityDependency":()=>n(54290),"dependencies/HarmonyExportExpressionDependency":()=>n(55037),"dependencies/HarmonyExportHeaderDependency":()=>n(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>n(44576),"dependencies/HarmonyExportSpecifierDependency":()=>n(14696),"dependencies/HarmonyImportSideEffectDependency":()=>n(69707),"dependencies/HarmonyImportSpecifierDependency":()=>n(2230),"dependencies/ImportContextDependency":()=>n(4828),"dependencies/ImportDependency":()=>n(20013),"dependencies/ImportEagerDependency":()=>n(75708),"dependencies/ImportWeakDependency":()=>n(12849),"dependencies/JsonExportsDependency":()=>n(38895),"dependencies/LocalModule":()=>n(77230),"dependencies/LocalModuleDependency":()=>n(14229),"dependencies/ModuleDecoratorDependency":()=>n(2706),"dependencies/ModuleHotAcceptDependency":()=>n(21809),"dependencies/ModuleHotDeclineDependency":()=>n(73158),"dependencies/ImportMetaHotAcceptDependency":()=>n(76302),"dependencies/ImportMetaHotDeclineDependency":()=>n(5389),"dependencies/ProvidedDependency":()=>n(1335),"dependencies/PureExpressionDependency":()=>n(53567),"dependencies/RequireContextDependency":()=>n(19204),"dependencies/RequireEnsureDependenciesBlock":()=>n(15196),"dependencies/RequireEnsureDependency":()=>n(15427),"dependencies/RequireEnsureItemDependency":()=>n(81058),"dependencies/RequireHeaderDependency":()=>n(70340),"dependencies/RequireIncludeDependency":()=>n(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>n(1913),"dependencies/RequireResolveContextDependency":()=>n(84817),"dependencies/RequireResolveDependency":()=>n(76913),"dependencies/RequireResolveHeaderDependency":()=>n(23380),"dependencies/RuntimeRequirementsDependency":()=>n(35424),"dependencies/StaticExportsDependency":()=>n(96076),"dependencies/SystemPlugin":()=>n(62630),"dependencies/UnsupportedDependency":()=>n(12584),"dependencies/URLDependency":()=>n(66444),"dependencies/WebAssemblyExportImportedDependency":()=>n(30697),"dependencies/WebAssemblyImportDependency":()=>n(33081),"dependencies/WebpackIsIncludedDependency":()=>n(46715),"dependencies/WorkerDependency":()=>n(89017),"optimize/ConcatenatedModule":()=>n(95734),DelegatedModule:()=>n(3955),DependenciesBlock:()=>n(32448),DllModule:()=>n(44593),ExternalModule:()=>n(16734),FileSystemInfo:()=>n(22996),InvalidDependenciesModuleWarning:()=>n(49619),Module:()=>n(53453),ModuleBuildError:()=>n(26509),ModuleDependencyWarning:()=>n(23280),ModuleError:()=>n(91613),ModuleGraph:()=>n(75412),ModuleParseError:()=>n(14489),ModuleWarning:()=>n(8893),NormalModule:()=>n(53520),RawModule:()=>n(22804),"sharing/ConsumeSharedModule":()=>n(21606),"sharing/ConsumeSharedFallbackDependency":()=>n(86827),"sharing/ProvideSharedModule":()=>n(99114),"sharing/ProvideSharedDependency":()=>n(56049),"sharing/ProvideForSharedDependency":()=>n(31095),UnsupportedFeatureWarning:()=>n(53558),"util/LazySet":()=>n(83379),UnhandledSchemeError:()=>n(77090),WebpackError:()=>n(81627),"util/registerExternalSerializer":()=>{}}},56202:(e,t,n)=>{"use strict";const{register:r}=n(24568);class ClassSerializer{constructor(e){this.Constructor=e;this.hash=null}serialize(e,t){e.serialize(t)}deserialize(e){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(e)}const t=new this.Constructor;t.deserialize(e);return t}}e.exports=(e,t,n=null)=>{r(e,t,n,new ClassSerializer(e))}},91671:e=>{"use strict";const memoize=e=>{let t=false;let n=undefined;return()=>{if(t){return n}else{n=e();t=true;e=undefined;return n}}};e.exports=memoize},12631:e=>{"use strict";const t=2147483648;const n=t-1;const r=4;const i=[0,0,0,0,0];const s=[3,7,17,19];e.exports=(e,a)=>{i.fill(0);for(let t=0;t>1}}if(a<=n){let e=0;for(let t=0;t{"use strict";const processAsyncTree=(e,t,n,r)=>{const i=Array.from(e);if(i.length===0)return r();let s=0;let a=false;let c=true;const push=e=>{i.push(e);if(!c&&s{s--;if(e&&!a){a=true;r(e);return}if(!c){c=true;process.nextTick(processQueue)}};const processQueue=()=>{if(a)return;while(s0){s++;const e=i.pop();n(e,push,processorCallback)}c=false;if(i.length===0&&s===0&&!a){a=true;r()}};processQueue()};e.exports=processAsyncTree},68038:e=>{"use strict";const t=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const propertyAccess=(e,n=0)=>{let r="";for(let i=n;i{"use strict";const{register:r}=n(24568);const i=n(14150).Position;const s=n(14150).SourceLocation;const{ValidationError:a}=n(15235);const{CachedSource:c,ConcatSource:u,OriginalSource:l,PrefixSource:d,RawSource:p,ReplaceSource:h,SourceMapSource:m}=n(48135);const g="webpack/lib/util/registerExternalSerializer";r(c,g,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(e,{write:t,writeLazy:n}){if(n){n(e.originalLazy())}else{t(e.original())}t(e.getCachedData())}deserialize({read:e}){const t=e();const n=e();return new c(t,n)}});r(p,g,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(e,{write:t}){t(e.buffer());t(!e.isBuffer())}deserialize({read:e}){const t=e();const n=e();return new p(t,n)}});r(u,g,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(e,{write:t}){t(e.getChildren())}deserialize({read:e}){const t=new u;t.addAllSkipOptimizing(e());return t}});r(d,g,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(e,{write:t}){t(e.getPrefix());t(e.original())}deserialize({read:e}){return new d(e(),e())}});r(h,g,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(e,{write:t}){t(e.original());t(e.getName());const n=e.getReplacements();t(n.length);for(const e of n){t(e.start);t(e.end)}for(const e of n){t(e.content);t(e.name)}}deserialize({read:e}){const t=new h(e(),e());const n=e();const r=[];for(let t=0;t{"use strict";const r=n(16102);t.getEntryRuntime=(e,t,n)=>{let r;let i;if(n){({dependOn:r,runtime:i}=n)}else{const n=e.entries.get(t);if(!n)return t;({dependOn:r,runtime:i}=n.options)}if(r){let n=undefined;const i=new Set(r);for(const t of i){const r=e.entries.get(t);if(!r)continue;const{dependOn:s,runtime:a}=r.options;if(s){for(const e of s){i.add(e)}}else{n=mergeRuntimeOwned(n,a||t)}}return n||t}else{return i||t}};t.forEachRuntime=(e,t,n=false)=>{if(e===undefined){t(undefined)}else if(typeof e==="string"){t(e)}else{if(n)e.sort();for(const n of e){t(n)}}};const getRuntimesKey=e=>{e.sort();return Array.from(e).join("\n")};const getRuntimeKey=e=>{if(e===undefined)return"*";if(typeof e==="string")return e;return e.getFromUnorderedCache(getRuntimesKey)};t.getRuntimeKey=getRuntimeKey;const keyToRuntime=e=>{if(e==="*")return undefined;const t=e.split("\n");if(t.length===1)return t[0];return new r(t)};t.keyToRuntime=keyToRuntime;const getRuntimesString=e=>{e.sort();return Array.from(e).join("+")};const runtimeToString=e=>{if(e===undefined)return"*";if(typeof e==="string")return e;return e.getFromUnorderedCache(getRuntimesString)};t.runtimeToString=runtimeToString;t.runtimeConditionToString=e=>{if(e===true)return"true";if(e===false)return"false";return runtimeToString(e)};const runtimeEqual=(e,t)=>{if(e===t){return true}else if(e===undefined||t===undefined||typeof e==="string"||typeof t==="string"){return false}else if(e.size!==t.size){return false}else{e.sort();t.sort();const n=e[Symbol.iterator]();const r=t[Symbol.iterator]();for(;;){const e=n.next();if(e.done)return true;const t=r.next();if(e.value!==t.value)return false}}};t.runtimeEqual=runtimeEqual;t.compareRuntime=(e,t)=>{if(e===t){return 0}else if(e===undefined){return-1}else if(t===undefined){return 1}else{const n=getRuntimeKey(e);const r=getRuntimeKey(t);if(nr)return 1;return 0}};const mergeRuntime=(e,t)=>{if(e===undefined){return t}else if(t===undefined){return e}else if(e===t){return e}else if(typeof e==="string"){if(typeof t==="string"){const n=new r;n.add(e);n.add(t);return n}else if(t.has(e)){return t}else{const n=new r(t);n.add(e);return n}}else{if(typeof t==="string"){if(e.has(t))return e;const n=new r(e);n.add(t);return n}else{const n=new r(e);for(const e of t)n.add(e);if(n.size===e.size)return e;return n}}};t.mergeRuntime=mergeRuntime;t.mergeRuntimeCondition=(e,t,n)=>{if(e===false)return t;if(t===false)return e;if(e===true||t===true)return true;const r=mergeRuntime(e,t);if(r===undefined)return undefined;if(typeof r==="string"){if(typeof n==="string"&&r===n)return true;return r}if(typeof n==="string"||n===undefined)return r;if(r.size===n.size)return true;return r};t.mergeRuntimeConditionNonFalse=(e,t,n)=>{if(e===true||t===true)return true;const r=mergeRuntime(e,t);if(r===undefined)return undefined;if(typeof r==="string"){if(typeof n==="string"&&r===n)return true;return r}if(typeof n==="string"||n===undefined)return r;if(r.size===n.size)return true;return r};const mergeRuntimeOwned=(e,t)=>{if(t===undefined){return e}else if(e===t){return e}else if(e===undefined){if(typeof t==="string"){return t}else{return new r(t)}}else if(typeof e==="string"){if(typeof t==="string"){const n=new r;n.add(e);n.add(t);return n}else{const n=new r(t);n.add(e);return n}}else{if(typeof t==="string"){e.add(t);return e}else{for(const n of t)e.add(n);return e}}};t.mergeRuntimeOwned=mergeRuntimeOwned;t.intersectRuntime=(e,t)=>{if(e===undefined){return t}else if(t===undefined){return e}else if(e===t){return e}else if(typeof e==="string"){if(typeof t==="string"){return undefined}else if(t.has(e)){return e}else{return undefined}}else{if(typeof t==="string"){if(e.has(t))return t;return undefined}else{const n=new r;for(const r of t){if(e.has(r))n.add(r)}if(n.size===0)return undefined;if(n.size===1)for(const e of n)return e;return n}}};const subtractRuntime=(e,t)=>{if(e===undefined){return undefined}else if(t===undefined){return e}else if(e===t){return undefined}else if(typeof e==="string"){if(typeof t==="string"){return undefined}else if(t.has(e)){return undefined}else{return e}}else{if(typeof t==="string"){if(!e.has(t))return e;if(e.size===2){for(const n of e){if(n!==t)return n}}const n=new r(e);n.delete(t)}else{const n=new r;for(const r of e){if(!t.has(r))n.add(r)}if(n.size===0)return undefined;if(n.size===1)for(const e of n)return e;return n}}};t.subtractRuntime=subtractRuntime;t.subtractRuntimeCondition=(e,t,n)=>{if(t===true)return false;if(t===false)return e;if(e===false)return false;const r=subtractRuntime(e===true?n:e,t);return r===undefined?false:r};t.filterRuntime=(e,t)=>{if(e===undefined)return t(undefined);if(typeof e==="string")return t(e);let n=false;let r=true;let i=undefined;for(const s of e){const e=t(s);if(e){n=true;i=mergeRuntimeOwned(i,s)}else{r=false}}if(!n)return false;if(r)return true;return i};class RuntimeSpecMap{constructor(e){this._mode=e?e._mode:0;this._singleRuntime=e?e._singleRuntime:undefined;this._singleValue=e?e._singleValue:undefined;this._map=e&&e._map?new Map(e._map):undefined}get(e){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,e)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(e))}}has(e){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,e);default:return this._map.has(getRuntimeKey(e))}}set(e,t){switch(this._mode){case 0:this._mode=1;this._singleRuntime=e;this._singleValue=t;break;case 1:if(runtimeEqual(this._singleRuntime,e)){this._singleValue=t;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(e),t)}}provide(e,t){switch(this._mode){case 0:this._mode=1;this._singleRuntime=e;return this._singleValue=t();case 1:{if(runtimeEqual(this._singleRuntime,e)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const n=t();this._map.set(getRuntimeKey(e),n);return n}default:{const n=getRuntimeKey(e);const r=this._map.get(n);if(r!==undefined)return r;const i=t();this._map.set(n,i);return i}}}delete(e){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,e)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(e))}}update(e,t){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,e)){this._singleValue=t(this._singleValue);break}const n=t(undefined);if(n!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(e),n)}break}default:{const n=getRuntimeKey(e);const r=this._map.get(n);const i=t(r);if(i!==r)this._map.set(n,i)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}t.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(e){this._map=new Map;if(e){for(const t of e){this.add(t)}}}add(e){this._map.set(getRuntimeKey(e),e)}has(e){return this._map.has(getRuntimeKey(e))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}t.RuntimeSpecSet=RuntimeSpecSet},9293:function(e,t){"use strict";const parseVersion=e=>{var splitAndConvert=function(e){return e.split(".").map((function(e){return+e==e?+e:e}))};var t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e);var n=t[1]?splitAndConvert(t[1]):[];if(t[2]){n.length++;n.push.apply(n,splitAndConvert(t[2]))}if(t[3]){n.push([]);n.push.apply(n,splitAndConvert(t[3]))}return n};t.parseVersion=parseVersion;const versionLt=(e,t)=>{e=parseVersion(e);t=parseVersion(t);var n=0;for(;;){if(n>=e.length)return n=t.length)return i=="u";var s=t[n];var a=(typeof s)[0];if(i==a){if(i!="o"&&i!="u"&&r!=s){return r{const splitAndConvert=e=>e.split(".").map((e=>`${+e}`===e?+e:e));const parsePartial=e=>{const t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e);const n=t[1]?[0,...splitAndConvert(t[1])]:[0];if(t[2]){n.length++;n.push.apply(n,splitAndConvert(t[2]))}let r=n[n.length-1];while(n.length&&(r===undefined||/^[*xX]$/.test(r))){n.pop();r=n[n.length-1]}return n};const toFixed=e=>{if(e.length===1){return[0]}else if(e.length===2){return[1,...e.slice(1)]}else if(e.length===3){return[2,...e.slice(1)]}else{return[e.length,...e.slice(1)]}};const negate=e=>[-e[0]-1,...e.slice(1)];const parseSimple=e=>{const t=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(e);const n=t?t[0]:"";const r=parsePartial(e.slice(n.length));switch(n){case"^":if(r.length>1&&r[1]===0){if(r.length>2&&r[2]===0){return[3,...r.slice(1)]}return[2,...r.slice(1)]}return[1,...r.slice(1)];case"~":return[2,...r.slice(1)];case">=":return r;case"=":case"v":case"":return toFixed(r);case"<":return negate(r);case">":{const e=toFixed(r);return[,e,0,r,2]}case"<=":return[,toFixed(r),negate(r),1];case"!":{const e=toFixed(r);return[,e,0]}default:throw new Error("Unexpected start value")}};const combine=(e,t)=>{if(e.length===1)return e[0];const n=[];for(const t of e.slice().reverse()){if(0 in t){n.push(t)}else{n.push(...t.slice(1))}}return[,...n,...e.slice(1).map((()=>t))]};const parseRange=e=>{const t=e.split(" - ");if(t.length===1){const t=e.trim().split(/\s+/g).map(parseSimple);return combine(t,2)}const n=parsePartial(t[0]);const r=parsePartial(t[1]);return[,toFixed(r),negate(r),1,n,2]};const parseLogicalOr=e=>{const t=e.split(/\s*\|\|\s*/).map(parseRange);return combine(t,1)};return parseLogicalOr(e)};const rangeToString=e=>{var t=e[0];var n="";if(e.length===1){return"*"}else if(t+.5){n+=t==0?">=":t==-1?"<":t==1?"^":t==2?"~":t>0?"=":"!=";var r=1;for(var i=1;i0?".":"")+(r=2,s)}return n}else{var c=[];for(var i=1;i{if(0 in e){t=parseVersion(t);var n=e[0];var r=n<0;if(r)n=-n-1;for(var i=0,s=1,a=true;;s++,i++){var c=s=t.length||(u=t[i],(l=(typeof u)[0])=="o")){if(!a)return true;if(c=="u")return s>n&&!r;return c==""!=r}if(l=="u"){if(!a||c!="u"){return false}}else if(a){if(c==l){if(s<=n){if(u!=e[s]){return false}}else{if(r?u>e[s]:u{switch(typeof e){case"undefined":return"";case"object":if(Array.isArray(e)){let t="[";for(let n=0;n`var parseVersion = ${e.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${e.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${e.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;t.versionLtRuntimeCode=e=>`var versionLt = ${e.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${e.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${e.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const r=n(88692);const i=n(13829);const s=n(30991);const a=n(15261);const c=n(43065);const u=n(79308);const l=n(90331);const{register:d,registerLoader:p,registerNotSerializable:h}=s;const m=new r;t.register=d;t.registerLoader=p;t.registerNotSerializable=h;t.NOT_SERIALIZABLE=s.NOT_SERIALIZABLE;t.MEASURE_START_OPERATION=r.MEASURE_START_OPERATION;t.MEASURE_END_OPERATION=r.MEASURE_END_OPERATION;t.buffersSerializer=new a([new u,new s((e=>{if(e.write){e.writeLazy=t=>{e.write(c.createLazy(t,m))}}})),m]);t.createFileSerializer=e=>{const t=new i(e);return new a([new u,new s((e=>{if(e.write){e.writeLazy=t=>{e.write(c.createLazy(t,m))};e.writeSeparate=(n,r)=>{e.write(c.createLazy(n,t,r))}}})),m,t])};n(48077);p(/^webpack\/lib\//,(e=>{const t=l[e.slice("webpack/lib/".length)];if(t){t()}else{console.warn(`${e} not found in internalSerializables`)}return true}))},93695:e=>{"use strict";const smartGrouping=(e,t)=>{const n=new Set;const r=new Map;for(const i of e){const e=new Set;for(let n=0;n{const n=e.size;const s=new Map;for(const t of e){for(const e of t.groups){if(i.has(e))continue;const n=s.get(e);if(n===undefined){s.set(e,new Set([t]))}else{n.add(t)}}}const a=new Set;const c=[];for(;;){let u=undefined;let l=-1;let d=undefined;let p=undefined;for(const[t,i]of s){if(i.size===0)continue;const[s,c]=r.get(t);const h=s.getOptions&&s.getOptions(c,Array.from(i,(({item:e})=>e)));const m=h&&h.force;if(!m){if(p&&p.force)continue;if(a.has(t))continue;if(i.size<=1||n-i.size<=1){continue}}const g=h&&h.targetGroupCount||4;let y=m?i.size:Math.min(i.size,n*2/g+e.size-i.size);if(y>l||m&&(!p||!p.force)){u=t;l=y;d=i;p=h}}if(u===undefined){break}const h=new Set(d);const m=p;const g=!m||m.groupChildren!==false;for(const t of h){e.delete(t);for(const e of t.groups){const n=s.get(e);if(n!==undefined)n.delete(t);if(g){a.add(e)}}}s.delete(u);const y=u.indexOf(":");const _=u.slice(0,y);const b=u.slice(y+1);const x=t[+_];const k=Array.from(h,(({item:e})=>e));i.add(u);const E=g?runGrouping(h):k;i.delete(u);c.push(x.createGroup(b,E,k))}for(const{item:t}of e){c.push(t)}return c};return runGrouping(n)};e.exports=smartGrouping},13559:(e,t)=>{"use strict";const n=new WeakMap;const _isSourceEqual=(e,t)=>{let n=typeof e.buffer==="function"?e.buffer():e.source();let r=typeof t.buffer==="function"?t.buffer():t.source();if(n===r)return true;if(typeof n==="string"&&typeof r==="string")return false;if(!Buffer.isBuffer(n))n=Buffer.from(n,"utf-8");if(!Buffer.isBuffer(r))r=Buffer.from(r,"utf-8");return n.equals(r)};const isSourceEqual=(e,t)=>{if(e===t)return true;const r=n.get(e);if(r!==undefined){const e=r.get(t);if(e!==undefined)return e}const i=_isSourceEqual(e,t);if(r!==undefined){r.set(t,i)}else{const r=new WeakMap;r.set(t,i);n.set(e,r)}const s=n.get(t);if(s!==undefined){s.set(e,i)}else{const r=new WeakMap;r.set(e,i);n.set(t,r)}return i};t.isSourceEqual=isSourceEqual},33316:(e,t,n)=>{"use strict";const{validate:r}=n(15235);const i={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const s={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(e,t,n)=>{r(e,t,n||{name:"Webpack",postFormatter:(e,t)=>{const n=t.children;if(n&&n.some((e=>e.keyword==="absolutePath"&&e.dataPath===".output.filename"))){return`${e}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(n&&n.some((e=>e.keyword==="pattern"&&e.dataPath===".devtool"))){return`${e}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(t.keyword==="additionalProperties"){const n=t.params;if(Object.prototype.hasOwnProperty.call(i,n.additionalProperty)){return`${e}\nDid you mean ${i[n.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(s,n.additionalProperty)){return`${e}\n${s[n.additionalProperty]}?`}if(!t.dataPath){if(n.additionalProperty==="debug"){return`${e}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(n.additionalProperty){return`${e}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${n.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return e}})};e.exports=validateSchema},21941:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);class AsyncWasmChunkLoadingRuntimeModule extends i{constructor({generateLoadBinaryCode:e,supportsStreaming:t}){super("wasm chunk loading",i.STAGE_ATTACH);this.generateLoadBinaryCode=e;this.supportsStreaming=t}generate(){const{compilation:e,chunk:t}=this;const{outputOptions:n,runtimeTemplate:i}=e;const a=r.instantiateWasm;const c=e.getPath(JSON.stringify(n.webassemblyModuleFilename),{hash:`" + ${r.getFullHash}() + "`,hashWithLength:e=>`" + ${r.getFullHash}}().slice(0, ${e}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(e){return`" + wasmModuleHash.slice(0, ${e}) + "`}},runtime:t.runtime});return`${a} = ${i.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(c)};`,this.supportsStreaming?s.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",s.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",s.indent([`.then(${i.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",s.indent([`.then(${i.returningFunction("x.arrayBuffer()","x")})`,`.then(${i.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${i.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}e.exports=AsyncWasmChunkLoadingRuntimeModule},10136:(e,t,n)=>{"use strict";const r=n(36253);const i=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends r{constructor(e){super();this.options=e}getTypes(e){return i}getSize(e,t){const n=e.originalSource();if(!n){return 0}return n.size()}generate(e,t){return e.originalSource()}}e.exports=AsyncWebAssemblyGenerator},75462:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(36253);const s=n(63272);const a=n(76150);const c=n(58159);const u=n(33081);const l=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends i{constructor(e){super();this.filenameTemplate=e}getTypes(e){return l}getSize(e,t){return 40+e.dependencies.length*10}generate(e,t){const{runtimeTemplate:n,chunkGraph:i,moduleGraph:l,runtimeRequirements:d,runtime:p}=t;d.add(a.module);d.add(a.moduleId);d.add(a.exports);d.add(a.instantiateWasm);const h=[];const m=new Map;const g=new Map;for(const t of e.dependencies){if(t instanceof u){const e=l.getModule(t);if(!m.has(e)){m.set(e,{request:t.request,importVar:`WEBPACK_IMPORTED_MODULE_${m.size}`})}let n=g.get(t.request);if(n===undefined){n=[];g.set(t.request,n)}n.push(t)}}const y=[];const _=Array.from(m,(([t,{request:r,importVar:s}])=>{if(l.isAsync(t)){y.push(s)}return n.importStatement({update:false,module:t,chunkGraph:i,request:r,originModule:e,importVar:s,runtimeRequirements:d})}));const b=_.map((([e])=>e)).join("");const x=_.map((([e,t])=>t)).join("");const k=Array.from(g,(([t,r])=>{const i=r.map((r=>{const i=l.getModule(r);const s=m.get(i).importVar;return`${JSON.stringify(r.name)}: ${n.exportFromImport({moduleGraph:l,module:i,request:t,exportName:r.name,originModule:e,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:s,initFragments:h,runtime:p,runtimeRequirements:d})}`}));return c.asString([`${JSON.stringify(t)}: {`,c.indent(i.join(",\n")),"}"])}));const E=k.length>0?c.asString(["{",c.indent(k.join(",\n")),"}"]):undefined;const w=`${a.instantiateWasm}(${e.exportsArgument}, ${e.moduleArgument}.id, ${JSON.stringify(i.getRenderedModuleHash(e,p))}`+(E?`, ${E})`:`)`);if(y.length>0)d.add(a.asyncModule);const S=new r(y.length>0?c.asString([`var __webpack_instantiate__ = ${n.basicFunction(`[${y.join(", ")}]`,`${x}return ${w};`)}`,`${a.asyncModule}(${e.moduleArgument}, ${n.basicFunction("__webpack_handle_async_dependencies__",[b,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${y.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${b}${x}module.exports = ${w};`);return s.addToSource(S,h,t)}}e.exports=AsyncWebAssemblyJavascriptGenerator},82422:(e,t,n)=>{"use strict";const{SyncWaterfallHook:r}=n(92960);const i=n(3080);const s=n(36253);const{tryRunOrWebpackError:a}=n(3728);const c=n(33081);const{compareModulesByIdentifier:u}=n(68673);const l=n(91671);const d=l((()=>n(10136)));const p=l((()=>n(75462)));const h=l((()=>n(96263)));const m=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(e){if(!(e instanceof i)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=m.get(e);if(t===undefined){t={renderModuleContent:new r(["source","module","renderContext"])};m.set(e,t)}return t}constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((e,{normalModuleFactory:t})=>{const n=AsyncWebAssemblyModulesPlugin.getCompilationHooks(e);e.dependencyFactories.set(c,t);t.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const e=h();return new e}));t.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const t=p();const n=d();return s.byType({javascript:new t(e.outputOptions.webassemblyModuleFilename),webassembly:new n(this.options)})}));e.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((t,r)=>{const{moduleGraph:i,chunkGraph:s,runtimeTemplate:a}=e;const{chunk:c,outputOptions:l,dependencyTemplates:d,codeGenerationResults:p}=r;for(const e of s.getOrderedChunkModulesIterable(c,u)){if(e.type==="webassembly/async"){const r=l.webassemblyModuleFilename;t.push({render:()=>this.renderModule(e,{chunk:c,dependencyTemplates:d,runtimeTemplate:a,moduleGraph:i,chunkGraph:s,codeGenerationResults:p},n),filenameTemplate:r,pathOptions:{module:e,runtime:c.runtime,chunkGraph:s},auxiliary:true,identifier:`webassemblyAsyncModule${s.getModuleId(e)}`,hash:s.getModuleHash(e,c.runtime)})}}return t}))}))}renderModule(e,t,n){const{codeGenerationResults:r,chunk:i}=t;try{const s=r.getSource(e,i.runtime,"webassembly");return a((()=>n.renderModuleContent.call(s,e,t)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(t){t.module=e;throw t}}}e.exports=AsyncWebAssemblyModulesPlugin},96263:(e,t,n)=>{"use strict";const r=n(98093);const{decode:i}=n(73432);const s=n(2172);const a=n(96076);const c=n(33081);const u={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends s{constructor(e){super();this.hooks=Object.freeze({});this.options=e}parse(e,t){if(!Buffer.isBuffer(e)){throw new Error("WebAssemblyParser input must be a Buffer")}t.module.buildInfo.strict=true;t.module.buildMeta.exportsType="namespace";t.module.buildMeta.async=true;const n=i(e,u);const s=n.body[0];const l=[];r.traverse(s,{ModuleExport({node:e}){l.push(e.name)},ModuleImport({node:e}){const n=new c(e.module,e.name,e.descr,false);t.module.addDependency(n)}});t.module.addDependency(new a(l,false));return t}}e.exports=WebAssemblyParser},59422:(e,t,n)=>{"use strict";const r=n(81627);e.exports=class UnsupportedWebAssemblyFeatureError extends r{constructor(e){super(e);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}},61006:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);const{compareModulesByIdentifier:a}=n(68673);const c=n(20612);const getAllWasmModules=(e,t,n)=>{const r=n.getAllAsyncChunks();const i=[];for(const e of r){for(const n of t.getOrderedChunkModulesIterable(e,a)){if(n.type.startsWith("webassembly")){i.push(n)}}}return i};const generateImportObject=(e,t,n,i,a)=>{const u=e.moduleGraph;const l=new Map;const d=[];const p=c.getUsedDependencies(u,t,n);for(const t of p){const n=t.dependency;const c=u.getModule(n);const p=n.name;const h=c&&u.getExportsInfo(c).getUsedName(p,a);const m=n.description;const g=n.onlyDirectImport;const y=t.module;const _=t.name;if(g){const t=`m${l.size}`;l.set(t,e.getModuleId(c));d.push({module:y,name:_,value:`${t}[${JSON.stringify(h)}]`})}else{const t=m.signature.params.map(((e,t)=>"p"+t+e.valtype));const n=`${r.moduleCache}[${JSON.stringify(e.getModuleId(c))}]`;const a=`${n}.exports`;const u=`wasmImportedFuncCache${i.length}`;i.push(`var ${u};`);d.push({module:y,name:_,value:s.asString([(c.type.startsWith("webassembly")?`${n} ? ${a}[${JSON.stringify(h)}] : `:"")+`function(${t}) {`,s.indent([`if(${u} === undefined) ${u} = ${a};`,`return ${u}[${JSON.stringify(h)}](${t});`]),"}"])})}}let h;if(n){h=["return {",s.indent([d.map((e=>`${JSON.stringify(e.name)}: ${e.value}`)).join(",\n")]),"};"]}else{const e=new Map;for(const t of d){let n=e.get(t.module);if(n===undefined){e.set(t.module,n=[])}n.push(t)}h=["return {",s.indent([Array.from(e,(([e,t])=>s.asString([`${JSON.stringify(e)}: {`,s.indent([t.map((e=>`${JSON.stringify(e.name)}: ${e.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const m=JSON.stringify(e.getModuleId(t));if(l.size===1){const e=Array.from(l.values())[0];const t=`installedWasmModules[${JSON.stringify(e)}]`;const n=Array.from(l.keys())[0];return s.asString([`${m}: function() {`,s.indent([`return promiseResolve().then(function() { return ${t}; }).then(function(${n}) {`,s.indent(h),"});"]),"},"])}else if(l.size>0){const e=Array.from(l.values(),(e=>`installedWasmModules[${JSON.stringify(e)}]`)).join(", ");const t=Array.from(l.keys(),((e,t)=>`${e} = array[${t}]`)).join(", ");return s.asString([`${m}: function() {`,s.indent([`return promiseResolve().then(function() { return Promise.all([${e}]); }).then(function(array) {`,s.indent([`var ${t};`,...h]),"});"]),"},"])}else{return s.asString([`${m}: function() {`,s.indent(h),"},"])}};class WasmChunkLoadingRuntimeModule extends i{constructor({generateLoadBinaryCode:e,supportsStreaming:t,mangleImports:n}){super("wasm chunk loading",i.STAGE_ATTACH);this.generateLoadBinaryCode=e;this.supportsStreaming=t;this.mangleImports=n}generate(){const{compilation:e,chunk:t,mangleImports:n}=this;const{chunkGraph:i,moduleGraph:a,outputOptions:u}=e;const l=r.ensureChunkHandlers;const d=getAllWasmModules(a,i,t);const p=[];const h=d.map((e=>generateImportObject(i,e,this.mangleImports,p,t.runtime)));const m=i.getChunkModuleIdMap(t,(e=>e.type.startsWith("webassembly")));const createImportObject=e=>n?`{ ${JSON.stringify(c.MANGLED_MODULE)}: ${e} }`:e;const g=e.getPath(JSON.stringify(u.webassemblyModuleFilename),{hash:`" + ${r.getFullHash}() + "`,hashWithLength:e=>`" + ${r.getFullHash}}().slice(0, ${e}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(i.getChunkModuleRenderedHashMap(t,(e=>e.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(e){return`" + ${JSON.stringify(i.getChunkModuleRenderedHashMap(t,(e=>e.type.startsWith("webassembly")),e))}[chunkId][wasmModuleId] + "`}},runtime:t.runtime});return s.asString(["// object to store loaded and loading wasm modules","var installedWasmModules = {};","","function promiseResolve() { return Promise.resolve(); }","",s.asString(p),"var wasmImportObjects = {",s.indent(h),"};","",`var wasmModuleMap = ${JSON.stringify(m,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${r.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${l}.wasm = function(chunkId, promises) {`,s.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",s.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",s.indent(["promises.push(installedWasmModuleData);"]),"else {",s.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(g)};`,"var promise;",this.supportsStreaming?s.asString(["if(importObject instanceof Promise && typeof WebAssembly.compileStreaming === 'function') {",s.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",s.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",s.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):s.asString(["if(importObject instanceof Promise) {",s.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",s.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",s.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",s.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",s.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",s.indent([`return ${r.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}e.exports=WasmChunkLoadingRuntimeModule},8576:(e,t,n)=>{"use strict";const r=n(72380);const i=n(59422);class WasmFinalizeExportsPlugin{apply(e){e.hooks.compilation.tap("WasmFinalizeExportsPlugin",(e=>{e.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(t=>{for(const n of t){if(n.type.startsWith("webassembly")===true){const t=n.buildMeta.jsIncompatibleExports;if(t===undefined){continue}for(const s of e.moduleGraph.getIncomingConnections(n)){if(s.isTargetActive(undefined)&&s.originModule.type.startsWith("webassembly")===false){const a=e.getDependencyReferencedExports(s.dependency,undefined);for(const c of a){const a=Array.isArray(c)?c:c.name;if(a.length===0)continue;const u=a[0];if(typeof u==="object")continue;if(Object.prototype.hasOwnProperty.call(t,u)){const a=new i(`Export "${u}" with ${t[u]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${s.originModule.readableIdentifier(e.requestShortener)} at ${r(s.dependency.loc)}.`);a.module=n;e.errors.push(a)}}}}}}}))}))}}e.exports=WasmFinalizeExportsPlugin},56419:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const i=n(36253);const s=n(20612);const a=n(98093);const{moduleContextFromModuleAST:c}=n(98093);const{editWithAST:u,addWithAST:l}=n(226);const{decode:d}=n(73432);const p=n(30697);const compose=(...e)=>e.reduce(((e,t)=>n=>t(e(n))),(e=>e));const removeStartFunc=e=>t=>u(e.ast,t,{Start(e){e.remove()}});const getImportedGlobals=e=>{const t=[];a.traverse(e,{ModuleImport({node:e}){if(a.isGlobalType(e.descr)){t.push(e)}}});return t};const getCountImportedFunc=e=>{let t=0;a.traverse(e,{ModuleImport({node:e}){if(a.isFuncImportDescr(e.descr)){t++}}});return t};const getNextTypeIndex=e=>{const t=a.getSectionMetadata(e,"type");if(t===undefined){return a.indexLiteral(0)}return a.indexLiteral(t.vectorOfSize.value)};const getNextFuncIndex=(e,t)=>{const n=a.getSectionMetadata(e,"func");if(n===undefined){return a.indexLiteral(0+t)}const r=n.vectorOfSize.value;return a.indexLiteral(r+t)};const createDefaultInitForGlobal=e=>{if(e.valtype[0]==="i"){return a.objectInstruction("const",e.valtype,[a.numberLiteralFromRaw(66)])}else if(e.valtype[0]==="f"){return a.objectInstruction("const",e.valtype,[a.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+e.valtype)}};const rewriteImportedGlobals=e=>t=>{const n=e.additionalInitCode;const r=[];t=u(e.ast,t,{ModuleImport(e){if(a.isGlobalType(e.node.descr)){const t=e.node.descr;t.mutability="var";const n=[createDefaultInitForGlobal(t),a.instruction("end")];r.push(a.global(t,n));e.remove()}},Global(e){const{node:t}=e;const[i]=t.init;if(i.id==="get_global"){t.globalType.mutability="var";const e=i.args[0];t.init=[createDefaultInitForGlobal(t.globalType),a.instruction("end")];n.push(a.instruction("get_local",[e]),a.instruction("set_global",[a.indexLiteral(r.length)]))}r.push(t);e.remove()}});return l(e.ast,t,r)};const rewriteExportNames=({ast:e,moduleGraph:t,module:n,externalExports:r,runtime:i})=>s=>u(e,s,{ModuleExport(e){const s=r.has(e.node.name);if(s){e.remove();return}const a=t.getExportsInfo(n).getUsedName(e.node.name,i);if(!a){e.remove();return}e.node.name=a}});const rewriteImports=({ast:e,usedDependencyMap:t})=>n=>u(e,n,{ModuleImport(e){const n=t.get(e.node.module+":"+e.node.name);if(n!==undefined){e.node.module=n.module;e.node.name=n.name}}});const addInitFunction=({ast:e,initFuncId:t,startAtFuncOffset:n,importedGlobals:r,additionalInitCode:i,nextFuncIndex:s,nextTypeIndex:c})=>u=>{const d=r.map((e=>{const t=a.identifier(`${e.module}.${e.name}`);return a.funcParam(e.descr.valtype,t)}));const p=[];r.forEach(((e,t)=>{const n=[a.indexLiteral(t)];const r=[a.instruction("get_local",n),a.instruction("set_global",n)];p.push(...r)}));if(typeof n==="number"){p.push(a.callInstruction(a.numberLiteralFromRaw(n)))}for(const e of i){p.push(e)}p.push(a.instruction("end"));const h=[];const m=a.signature(d,h);const g=a.func(t,m,p);const y=a.typeInstruction(undefined,m);const _=a.indexInFuncSection(c);const b=a.moduleExport(t.value,a.moduleExportDescr("Func",s));return l(e,u,[g,b,_,y])};const getUsedDependencyMap=(e,t,n)=>{const r=new Map;for(const i of s.getUsedDependencies(e,t,n)){const e=i.dependency;const t=e.request;const n=e.name;r.set(t+":"+n,i)}return r};const h=new Set(["webassembly"]);class WebAssemblyGenerator extends i{constructor(e){super();this.options=e}getTypes(e){return h}getSize(e,t){const n=e.originalSource();if(!n){return 0}return n.size()}generate(e,{moduleGraph:t,runtime:n}){const i=e.originalSource().source();const s=a.identifier("");const u=d(i,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const l=c(u.body[0]);const h=getImportedGlobals(u);const m=getCountImportedFunc(u);const g=l.getStart();const y=getNextFuncIndex(u,m);const _=getNextTypeIndex(u);const b=getUsedDependencyMap(t,e,this.options.mangleImports);const x=new Set(e.dependencies.filter((e=>e instanceof p)).map((e=>{const t=e;return t.exportName})));const k=[];const E=compose(rewriteExportNames({ast:u,moduleGraph:t,module:e,externalExports:x,runtime:n}),removeStartFunc({ast:u}),rewriteImportedGlobals({ast:u,additionalInitCode:k}),rewriteImports({ast:u,usedDependencyMap:b}),addInitFunction({ast:u,initFuncId:s,importedGlobals:h,additionalInitCode:k,startAtFuncOffset:g,nextFuncIndex:y,nextTypeIndex:_}));const w=E(i);const S=Buffer.from(w);return new r(S)}}e.exports=WebAssemblyGenerator},74167:(e,t,n)=>{"use strict";const r=n(81627);const getInitialModuleChains=(e,t,n,r)=>{const i=[{head:e,message:e.readableIdentifier(r)}];const s=new Set;const a=new Set;const c=new Set;for(const e of i){const{head:u,message:l}=e;let d=true;const p=new Set;for(const e of t.getIncomingConnections(u)){const t=e.originModule;if(t){if(!n.getModuleChunks(t).some((e=>e.canBeInitial())))continue;d=false;if(p.has(t))continue;p.add(t);const s=t.readableIdentifier(r);const u=e.explanation?` (${e.explanation})`:"";const h=`${s}${u} --\x3e ${l}`;if(c.has(t)){a.add(`... --\x3e ${h}`);continue}c.add(t);i.push({head:t,message:h})}else{d=false;const t=e.explanation?`(${e.explanation}) --\x3e ${l}`:l;s.add(t)}}if(d){s.add(l)}}for(const e of a){s.add(e)}return Array.from(s)};e.exports=class WebAssemblyInInitialChunkError extends r{constructor(e,t,n,r){const i=getInitialModuleChains(e,t,n,r);const s=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${i.map((e=>`* ${e}`)).join("\n")}`;super(s);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=e;Error.captureStackTrace(this,this.constructor)}}},59363:(e,t,n)=>{"use strict";const{RawSource:r}=n(48135);const{UsageState:i}=n(76632);const s=n(36253);const a=n(63272);const c=n(76150);const u=n(58159);const l=n(79983);const d=n(30697);const p=n(33081);const h=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends s{getTypes(e){return h}getSize(e,t){return 95+e.dependencies.length*5}generate(e,t){const{runtimeTemplate:n,moduleGraph:s,chunkGraph:h,runtimeRequirements:m,runtime:g}=t;const y=[];const _=s.getExportsInfo(e);let b=false;const x=new Map;const k=[];let E=0;for(const t of e.dependencies){const r=t&&t instanceof l?t:undefined;if(s.getModule(t)){let i=x.get(s.getModule(t));if(i===undefined){x.set(s.getModule(t),i={importVar:`m${E}`,index:E,request:r&&r.userRequest||undefined,names:new Set,reexports:[]});E++}if(t instanceof p){i.names.add(t.name);if(t.description.type==="GlobalType"){const r=t.name;const a=s.getModule(t);if(a){const c=s.getExportsInfo(a).getUsedName(r,g);if(c){k.push(n.exportFromImport({moduleGraph:s,module:a,request:t.request,importVar:i.importVar,originModule:e,exportName:t.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:y,runtime:g,runtimeRequirements:m}))}}}}if(t instanceof d){i.names.add(t.name);const r=s.getExportsInfo(e).getUsedName(t.exportName,g);if(r){m.add(c.exports);const a=`${e.exportsArgument}[${JSON.stringify(r)}]`;const l=u.asString([`${a} = ${n.exportFromImport({moduleGraph:s,module:s.getModule(t),request:t.request,importVar:i.importVar,originModule:e,exportName:t.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:y,runtime:g,runtimeRequirements:m})};`,`if(WebAssembly.Global) ${a} = `+`new WebAssembly.Global({ value: ${JSON.stringify(t.valueType)} }, ${a});`]);i.reexports.push(l);b=true}}}}const w=u.asString(Array.from(x,(([e,{importVar:t,request:r,reexports:i}])=>{const s=n.importStatement({module:e,chunkGraph:h,request:r,importVar:t,originModule:e,runtimeRequirements:m});return s[0]+s[1]+i.join("\n")})));const S=_.otherExportsInfo.getUsed(g)===i.Unused&&!b;m.add(c.module);m.add(c.moduleId);m.add(c.wasmInstances);if(_.otherExportsInfo.getUsed(g)!==i.Unused){m.add(c.makeNamespaceObject);m.add(c.exports)}if(!S){m.add(c.exports)}const C=new r(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${c.wasmInstances}[${e.moduleArgument}.id];`,_.otherExportsInfo.getUsed(g)!==i.Unused?`${c.makeNamespaceObject}(${e.exportsArgument});`:"","// export exports from WebAssembly module",S?`${e.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${e.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",w,"","// exec wasm module",`wasmExports[""](${k.join(", ")})`].join("\n"));return a.addToSource(C,y,t)}}e.exports=WebAssemblyJavascriptGenerator},84387:(e,t,n)=>{"use strict";const r=n(36253);const i=n(30697);const s=n(33081);const{compareModulesByIdentifier:a}=n(68673);const c=n(91671);const u=n(74167);const l=c((()=>n(56419)));const d=c((()=>n(59363)));const p=c((()=>n(10342)));class WebAssemblyModulesPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("WebAssemblyModulesPlugin",((e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t);e.dependencyFactories.set(i,t);t.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const e=p();return new e}));t.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const e=d();const t=l();return r.byType({javascript:new e,webassembly:new t(this.options)})}));e.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((t,n)=>{const{chunkGraph:r}=e;const{chunk:i,outputOptions:s,codeGenerationResults:c}=n;for(const e of r.getOrderedChunkModulesIterable(i,a)){if(e.type==="webassembly/sync"){const n=s.webassemblyModuleFilename;t.push({render:()=>c.getSource(e,i.runtime,"webassembly"),filenameTemplate:n,pathOptions:{module:e,runtime:i.runtime,chunkGraph:r},auxiliary:true,identifier:`webassemblyModule${r.getModuleId(e)}`,hash:r.getModuleHash(e,i.runtime)})}}return t}));e.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const t=e.chunkGraph;const n=new Set;for(const r of e.chunks){if(r.canBeInitial()){for(const e of t.getChunkModulesIterable(r)){if(e.type==="webassembly/sync"){n.add(e)}}}}for(const t of n){e.errors.push(new u(t,e.moduleGraph,e.chunkGraph,e.requestShortener))}}))}))}}e.exports=WebAssemblyModulesPlugin},10342:(e,t,n)=>{"use strict";const r=n(98093);const{moduleContextFromModuleAST:i}=n(98093);const{decode:s}=n(73432);const a=n(2172);const c=n(96076);const u=n(30697);const l=n(33081);const d=new Set(["i32","f32","f64"]);const getJsIncompatibleType=e=>{for(const t of e.params){if(!d.has(t.valtype)){return`${t.valtype} as parameter`}}for(const t of e.results){if(!d.has(t))return`${t} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=e=>{for(const t of e.args){if(!d.has(t)){return`${t} as parameter`}}for(const t of e.result){if(!d.has(t))return`${t} as result`}return null};const p={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends a{constructor(e){super();this.hooks=Object.freeze({});this.options=e}parse(e,t){if(!Buffer.isBuffer(e)){throw new Error("WebAssemblyParser input must be a Buffer")}t.module.buildInfo.strict=true;t.module.buildMeta.exportsType="namespace";const n=s(e,p);const a=n.body[0];const h=i(a);const m=[];let g=t.module.buildMeta.jsIncompatibleExports=undefined;const y=[];r.traverse(a,{ModuleExport({node:e}){const n=e.descr;if(n.exportType==="Func"){const r=n.id.value;const i=h.getFunction(r);const s=getJsIncompatibleTypeOfFuncSignature(i);if(s){if(g===undefined){g=t.module.buildMeta.jsIncompatibleExports={}}g[e.name]=s}}m.push(e.name);if(e.descr&&e.descr.exportType==="Global"){const n=y[e.descr.id.value];if(n){const r=new u(e.name,n.module,n.name,n.descr.valtype);t.module.addDependency(r)}}},Global({node:e}){const t=e.init[0];let n=null;if(t.id==="get_global"){const e=t.args[0].value;if(e{"use strict";const r=n(58159);const i=n(33081);const s="a";const getUsedDependencies=(e,t,n)=>{const a=[];let c=0;for(const u of t.dependencies){if(u instanceof i){if(u.description.type==="GlobalType"||e.getModule(u)===null){continue}const t=u.name;if(n){a.push({dependency:u,name:r.numberToIdentifier(c++),module:s})}else{a.push({dependency:u,name:t,module:u.request})}}}return a};t.getUsedDependencies=getUsedDependencies;t.MANGLED_MODULE=s},69085:(e,t,n)=>{"use strict";const r=new WeakMap;const getEnabledTypes=e=>{let t=r.get(e);if(t===undefined){t=new Set;r.set(e,t)}return t};class EnableWasmLoadingPlugin{constructor(e){this.type=e}static setEnabled(e,t){getEnabledTypes(e).add(t)}static checkEnabled(e,t){if(!getEnabledTypes(e).has(t)){throw new Error(`Library type "${t}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(e)).join(", "))}}apply(e){const{type:t}=this;const r=getEnabledTypes(e);if(r.has(t))return;r.add(t);if(typeof t==="string"){switch(t){case"fetch":{const t=n(71100);const r=n(52687);new t({mangleImports:e.options.optimization.mangleWasmImports}).apply(e);(new r).apply(e);break}case"async-node":{const t=n(71049);const r=n(21273);new t({mangleImports:e.options.optimization.mangleWasmImports}).apply(e);(new r).apply(e);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${t}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}e.exports=EnableWasmLoadingPlugin},52687:(e,t,n)=>{"use strict";const r=n(76150);const i=n(21941);class FetchCompileAsyncWasmPlugin{apply(e){e.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(e=>{const t=e.outputOptions.wasmLoading;const isEnabledForChunk=e=>{const n=e.getEntryOptions();const r=n&&n.wasmLoading||t;return r==="fetch"};const generateLoadBinaryCode=e=>`fetch(${r.publicPath} + ${e})`;e.hooks.runtimeRequirementInTree.for(r.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((t,n)=>{if(!isEnabledForChunk(t))return;const s=e.chunkGraph;if(!s.hasModuleInGraph(t,(e=>e.type==="webassembly/async"))){return}n.add(r.publicPath);e.addRuntimeModule(t,new i({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}e.exports=FetchCompileAsyncWasmPlugin},71100:(e,t,n)=>{"use strict";const r=n(76150);const i=n(61006);class FetchCompileWasmPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(e=>{const t=e.outputOptions.wasmLoading;const isEnabledForChunk=e=>{const n=e.getEntryOptions();const r=n&&n.wasmLoading||t;return r==="fetch"};const generateLoadBinaryCode=e=>`fetch(${r.publicPath} + ${e})`;e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((t,n)=>{if(!isEnabledForChunk(t))return;const s=e.chunkGraph;if(!s.hasModuleInGraph(t,(e=>e.type==="webassembly/sync"))){return}n.add(r.moduleCache);n.add(r.publicPath);e.addRuntimeModule(t,new i({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports}))}))}))}}e.exports=FetchCompileWasmPlugin},76853:(e,t,n)=>{"use strict";const r=n(76150);const i=n(4038);class JsonpChunkLoadingPlugin{apply(e){e.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(e=>{const t=e.outputOptions.chunkLoading;const isEnabledForChunk=e=>{const n=e.getEntryOptions();const r=n&&n.chunkLoading||t;return r==="jsonp"};const n=new WeakSet;const handler=(t,s)=>{if(n.has(t))return;n.add(t);if(!isEnabledForChunk(t))return;s.add(r.moduleFactoriesAddOnly);s.add(r.hasOwnProperty);e.addRuntimeModule(t,new i(s))};e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.baseURI).tap("JsonpChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.publicPath);t.add(r.loadScript);t.add(r.getChunkScriptFilename)}));e.hooks.runtimeRequirementInTree.for(r.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.publicPath);t.add(r.loadScript);t.add(r.getChunkUpdateScriptFilename);t.add(r.moduleCache);t.add(r.hmrModuleData);t.add(r.moduleFactoriesAddOnly)}));e.hooks.runtimeRequirementInTree.for(r.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.publicPath);t.add(r.getUpdateManifestFilename)}))}))}}e.exports=JsonpChunkLoadingPlugin},4038:(e,t,n)=>{"use strict";const{SyncWaterfallHook:r}=n(92960);const i=n(3080);const s=n(76150);const a=n(66804);const c=n(58159);const u=n(18161).chunkHasJs;const{getInitialChunkIds:l}=n(13085);const d=n(87274);const p=new WeakMap;class JsonpChunkLoadingRuntimeModule extends a{static getCompilationHooks(e){if(!(e instanceof i)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=p.get(e);if(t===undefined){t={linkPreload:new r(["source","chunk"]),linkPrefetch:new r(["source","chunk"])};p.set(e,t)}return t}constructor(e){super("jsonp chunk loading",a.STAGE_ATTACH);this._runtimeRequirements=e}generate(){const{compilation:e,chunk:t}=this;const{runtimeTemplate:r,chunkGraph:i,outputOptions:{globalObject:a,chunkLoadingGlobal:p,hotUpdateGlobal:h,crossOriginLoading:m,scriptType:g}}=e;const{linkPreload:y,linkPrefetch:_}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(e);const b=s.ensureChunkHandlers;const x=this._runtimeRequirements.has(s.baseURI);const k=this._runtimeRequirements.has(s.ensureChunkHandlers);const E=this._runtimeRequirements.has(s.chunkCallback);const w=this._runtimeRequirements.has(s.onChunksLoaded);const S=this._runtimeRequirements.has(s.hmrDownloadUpdateHandlers);const C=this._runtimeRequirements.has(s.hmrDownloadManifest);const M=this._runtimeRequirements.has(s.prefetchChunkHandlers);const I=this._runtimeRequirements.has(s.preloadChunkHandlers);const P=`${a}[${JSON.stringify(p)}]`;const T=i.getChunkConditionMap(t,u);const O=d(T);const R=l(t,i);return c.asString([x?c.asString([`${s.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded","var installedChunks = {",c.indent(Array.from(R,(e=>`${JSON.stringify(e)}: 0`)).join(",\n")),"};","",k?c.asString([`${b}.j = ${r.basicFunction("chunkId, promises",O!==false?c.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${s.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',c.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",c.indent(["promises.push(installedChunkData[2]);"]),"} else {",c.indent([O===true?"if(true) { // all chunks have JS":`if(${O("chunkId")}) {`,c.indent(["// setup Promise in chunk cache",`var promise = new Promise(${r.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${s.publicPath} + ${s.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${r.basicFunction("event",[`if(${s.hasOwnProperty}(installedChunks, chunkId)) {`,c.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",c.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${s.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):c.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",M&&O!==false?`${s.prefetchChunkHandlers}.j = ${r.basicFunction("chunkId",[`if((!${s.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${O===true?"true":O("chunkId")}) {`,c.indent(["installedChunks[chunkId] = null;",_.call(c.asString(["var link = document.createElement('link');",m?`link.crossOrigin = ${JSON.stringify(m)};`:"",`if (${s.scriptNonce}) {`,c.indent(`link.setAttribute("nonce", ${s.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${s.publicPath} + ${s.getChunkScriptFilename}(chunkId);`]),t),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",I&&O!==false?`${s.preloadChunkHandlers}.j = ${r.basicFunction("chunkId",[`if((!${s.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${O===true?"true":O("chunkId")}) {`,c.indent(["installedChunks[chunkId] = null;",y.call(c.asString(["var link = document.createElement('link');",g?`link.type = ${JSON.stringify(g)};`:"","link.charset = 'utf-8';",`if (${s.scriptNonce}) {`,c.indent(`link.setAttribute("nonce", ${s.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${s.publicPath} + ${s.getChunkScriptFilename}(chunkId);`,m?c.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",c.indent(`link.crossOrigin = ${JSON.stringify(m)};`),"}"]):""]),t),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",S?c.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",c.indent([`return new Promise(${r.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${s.publicPath} + ${s.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${r.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",c.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${s.loadScript}(url, loadingEnded);`])});`]),"}","",`${a}[${JSON.stringify(h)}] = ${r.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",c.indent([`if(${s.hasOwnProperty}(moreModules, moduleId)) {`,c.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",c.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",c.getFunctionContent(n(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,s.moduleCache).replace(/\$moduleFactories\$/g,s.moduleFactories).replace(/\$ensureChunkHandlers\$/g,s.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,s.hasOwnProperty).replace(/\$hmrModuleData\$/g,s.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,s.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,s.hmrInvalidateModuleHandlers)]):"// no HMR","",C?c.asString([`${s.hmrDownloadManifest} = ${r.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${s.publicPath} + ${s.getUpdateManifestFilename}()).then(${r.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",w?`${s.onChunksLoaded}.j = ${r.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",E||k?c.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${r.basicFunction("parentChunkLoadingFunction, data",[r.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in moreModules) {",c.indent([`if(${s.hasOwnProperty}(moreModules, moduleId)) {`,c.indent(`${s.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",c.indent(["chunkId = chunkIds[i];",`if(${s.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,c.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",w?`${s.onChunksLoaded}();`:""])}`,"",`var chunkLoadingGlobal = ${P} = ${P} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}e.exports=JsonpChunkLoadingRuntimeModule},58421:(e,t,n)=>{"use strict";const r=n(41113);const i=n(50369);const s=n(4038);class JsonpTemplatePlugin{static getCompilationHooks(e){return s.getCompilationHooks(e)}apply(e){e.options.output.chunkLoading="jsonp";(new r).apply(e);new i("jsonp").apply(e)}}e.exports=JsonpTemplatePlugin},2982:(e,t,n)=>{"use strict";const r=n(31669);const i=n(76518);const s=n(63076);const a=n(63433);const c=n(81721);const{applyWebpackOptionsDefaults:u,applyWebpackOptionsBaseDefaults:l}=n(54411);const{getNormalizedWebpackOptions:d}=n(96590);const p=n(93632);const h=n(33316);const createMultiCompiler=(e,t)=>{const n=e.map((e=>createCompiler(e)));const r=new a(n,t);for(const e of n){if(e.options.dependencies){r.setDependencies(e,e.options.dependencies)}}return r};const createCompiler=e=>{const t=d(e);l(t);const n=new s(t.context);n.options=t;new p({infrastructureLogging:t.infrastructureLogging}).apply(n);if(Array.isArray(t.plugins)){for(const e of t.plugins){if(typeof e==="function"){e.call(n,n)}else{e.apply(n)}}}u(t);n.hooks.environment.call();n.hooks.afterEnvironment.call();(new c).process(t,n);n.hooks.initialize.call();return n};const webpack=(e,t)=>{const create=()=>{h(i,e);let t;let n=false;let r;if(Array.isArray(e)){t=createMultiCompiler(e,e);n=e.some((e=>e.watch));r=e.map((e=>e.watchOptions||{}))}else{t=createCompiler(e);n=e.watch;r=e.watchOptions||{}}return{compiler:t,watch:n,watchOptions:r}};if(t){try{const{compiler:e,watch:n,watchOptions:r}=create();if(n){e.watch(r,t)}else{e.run(((n,r)=>{e.close((e=>{t(n||e,r)}))}))}return e}catch(e){process.nextTick((()=>t(e)));return null}}else{const{compiler:e,watch:t}=create();if(t){r.deprecate((()=>{}),"A 'callback' argument need to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return e}};e.exports=webpack},82779:(e,t,n)=>{"use strict";const r=n(76150);const i=n(64997);const s=n(92208);class ImportScriptsChunkLoadingPlugin{apply(e){new i({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(e);e.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(e=>{const t=e.outputOptions.chunkLoading;const isEnabledForChunk=e=>{const n=e.getEntryOptions();const r=n&&n.chunkLoading||t;return r==="import-scripts"};const n=new WeakSet;const handler=(t,i)=>{if(n.has(t))return;n.add(t);if(!isEnabledForChunk(t))return;i.add(r.moduleFactoriesAddOnly);i.add(r.hasOwnProperty);e.addRuntimeModule(t,new s(i))};e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.publicPath);t.add(r.getChunkScriptFilename)}));e.hooks.runtimeRequirementInTree.for(r.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.publicPath);t.add(r.getChunkUpdateScriptFilename);t.add(r.moduleCache);t.add(r.hmrModuleData);t.add(r.moduleFactoriesAddOnly)}));e.hooks.runtimeRequirementInTree.for(r.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((e,t)=>{if(!isEnabledForChunk(e))return;t.add(r.publicPath);t.add(r.getUpdateManifestFilename)}))}))}}e.exports=ImportScriptsChunkLoadingPlugin},92208:(e,t,n)=>{"use strict";const r=n(76150);const i=n(66804);const s=n(58159);const{getChunkFilenameTemplate:a,chunkHasJs:c}=n(18161);const{getInitialChunkIds:u}=n(13085);const l=n(87274);const{getUndoPath:d}=n(49197);class ImportScriptsChunkLoadingRuntimeModule extends i{constructor(e){super("importScripts chunk loading",i.STAGE_ATTACH);this.runtimeRequirements=e}generate(){const{chunk:e,compilation:{chunkGraph:t,runtimeTemplate:i,outputOptions:{globalObject:p,chunkLoadingGlobal:h,hotUpdateGlobal:m}}}=this;const g=r.ensureChunkHandlers;const y=this.runtimeRequirements.has(r.baseURI);const _=this.runtimeRequirements.has(r.ensureChunkHandlers);const b=this.runtimeRequirements.has(r.hmrDownloadUpdateHandlers);const x=this.runtimeRequirements.has(r.hmrDownloadManifest);const k=`${p}[${JSON.stringify(h)}]`;const E=l(t.getChunkConditionMap(e,c));const w=u(e,t);const S=this.compilation.getPath(a(e,this.compilation.outputOptions),{chunk:e,contentHashType:"javascript"});const C=d(S,this.compilation.outputOptions.path,false);return s.asString([y?s.asString([`${r.baseURI} = self.location + ${JSON.stringify(C?"/../"+C:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',"var installedChunks = {",s.indent(Array.from(w,(e=>`${JSON.stringify(e)}: 1`)).join(",\n")),"};","",_?s.asString(["// importScripts chunk loading",`var installChunk = ${i.basicFunction("data",[i.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",s.indent([`if(${r.hasOwnProperty}(moreModules, moduleId)) {`,s.indent(`${r.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",s.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",_?s.asString([`${g}.i = ${i.basicFunction("chunkId, promises",E!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",s.indent([E===true?"if(true) { // all chunks have JS":`if(${E("chunkId")}) {`,s.indent(`importScripts(${r.publicPath} + ${r.getChunkScriptFilename}(chunkId));`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${k} = ${k} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",b?s.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",s.indent(["var success = false;",`${p}[${JSON.stringify(m)}] = ${i.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",s.indent([`if(${r.hasOwnProperty}(moreModules, moduleId)) {`,s.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${r.publicPath} + ${r.getChunkUpdateScriptFilename}(chunkId));`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",s.getFunctionContent(n(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,r.moduleCache).replace(/\$moduleFactories\$/g,r.moduleFactories).replace(/\$ensureChunkHandlers\$/g,r.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,r.hasOwnProperty).replace(/\$hmrModuleData\$/g,r.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,r.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,r.hmrInvalidateModuleHandlers)]):"// no HMR","",x?s.asString([`${r.hmrDownloadManifest} = ${i.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${r.publicPath} + ${r.getUpdateManifestFilename}()).then(${i.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}e.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(e,t,n)=>{"use strict";const r=n(41113);const i=n(50369);class WebWorkerTemplatePlugin{apply(e){e.options.output.chunkLoading="import-scripts";(new r).apply(e);new i("import-scripts").apply(e)}}e.exports=WebWorkerTemplatePlugin},14150:function(e,t){(function(e,n){true?n(t):0})(this,(function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var r={5:n,"5module":n+" export import",6:n+" const class extends export import super"};var i=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var c=new RegExp("["+s+"]");var u=new RegExp("["+s+a+"]");s=a=null;var l=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var d=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var n=65536;for(var r=0;re){return false}n+=t[r+1];if(n>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&c.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,l)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&u.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,l)||isInAstralSet(e,d)}var p=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new p(e,{beforeExpr:true,binop:t})}var h={beforeExpr:true},m={startsExpr:true};var g={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return g[e]=new p(e,t)}var y={num:new p("num",m),regexp:new p("regexp",m),string:new p("string",m),name:new p("name",m),eof:new p("eof"),bracketL:new p("[",{beforeExpr:true,startsExpr:true}),bracketR:new p("]"),braceL:new p("{",{beforeExpr:true,startsExpr:true}),braceR:new p("}"),parenL:new p("(",{beforeExpr:true,startsExpr:true}),parenR:new p(")"),comma:new p(",",h),semi:new p(";",h),colon:new p(":",h),dot:new p("."),question:new p("?",h),questionDot:new p("?."),arrow:new p("=>",h),template:new p("template"),invalidTemplate:new p("invalidTemplate"),ellipsis:new p("...",h),backQuote:new p("`",m),dollarBraceL:new p("${",{beforeExpr:true,startsExpr:true}),eq:new p("=",{beforeExpr:true,isAssign:true}),assign:new p("_=",{beforeExpr:true,isAssign:true}),incDec:new p("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new p("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new p("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new p("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",h),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",h),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",h),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",m),_if:kw("if"),_return:kw("return",h),_switch:kw("switch"),_throw:kw("throw",h),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",m),_super:kw("super",m),_class:kw("class",m),_extends:kw("extends",h),_export:kw("export"),_import:kw("import",m),_null:kw("null",m),_true:kw("true",m),_false:kw("false",m),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var _=/\r\n?|\n|\u2028|\u2029/;var b=new RegExp(_.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var x=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var E=Object.prototype;var w=E.hasOwnProperty;var S=E.toString;function has(e,t){return w.call(e,t)}var C=Array.isArray||function(e){return S.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var M=function Position(e,t){this.line=e;this.column=t};M.prototype.offset=function offset(e){return new M(this.line,this.column+e)};var I=function SourceLocation(e,t,n){this.start=t;this.end=n;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var n=1,r=0;;){b.lastIndex=r;var i=b.exec(e);if(i&&i.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(C(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}if(C(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(n,r,i,s,a,c){var u={type:n?"Block":"Line",value:r,start:i,end:s};if(e.locations){u.loc=new I(this,a,c)}if(e.ranges){u.range=[i,s]}t.push(u)}}var O=1,R=2,N=O|R,L=4,$=8,j=16,z=32,U=64,q=128;function functionFlags(e,t){return R|(e?L:0)|(t?$:0)}var G=0,H=1,W=2,V=3,K=4,X=5;var J=function Parser(e,n,i){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(r[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){s=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var a=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(a);this.reservedWordsStrictBind=wordsRegexp(a+" "+t.strictBind);this.input=String(n);this.containsEsc=false;if(i){this.pos=i;this.lineStart=this.input.lastIndexOf("\n",i-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(_).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=y.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(O);this.regexpState=null};var Y={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};J.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Y.inFunction.get=function(){return(this.currentVarScope().flags&R)>0};Y.inGenerator.get=function(){return(this.currentVarScope().flags&$)>0};Y.inAsync.get=function(){return(this.currentVarScope().flags&L)>0};Y.allowSuper.get=function(){return(this.currentThisScope().flags&U)>0};Y.allowDirectSuper.get=function(){return(this.currentThisScope().flags&q)>0};Y.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Y.inNonArrowFunction.get=function(){return(this.currentThisScope().flags&R)>0};J.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=this;for(var r=0;r=,?^&]/.test(i)||i==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length;k.lastIndex=e;e+=k.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};Z.eat=function(e){if(this.type===e){this.next();return true}else{return false}};Z.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc};Z.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};Z.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};Z.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||_.test(this.input.slice(this.lastTokEnd,this.start))};Z.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};Z.semicolon=function(){if(!this.eat(y.semi)&&!this.insertSemicolon()){this.unexpected()}};Z.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};Z.expect=function(e){this.eat(e)||this.unexpected()};Z.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Z.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var n=t?e.parenthesizedAssign:e.parenthesizedBind;if(n>-1){this.raiseRecoverable(n,"Parenthesized pattern")}};Z.checkExpressionErrors=function(e,t){if(!e){return false}var n=e.shorthandAssign;var r=e.doubleProto;if(!t){return n>=0||r>=0}if(n>=0){this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")}if(r>=0){this.raiseRecoverable(r,"Redefinition of __proto__ property")}};Z.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(i,false,!e);case y._class:if(e){this.unexpected()}return this.parseClass(i,true);case y._if:return this.parseIfStatement(i);case y._return:return this.parseReturnStatement(i);case y._switch:return this.parseSwitchStatement(i);case y._throw:return this.parseThrowStatement(i);case y._try:return this.parseTryStatement(i);case y._const:case y._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(i,s);case y._while:return this.parseWhileStatement(i);case y._with:return this.parseWithStatement(i);case y.braceL:return this.parseBlock(true,i);case y.semi:return this.parseEmptyStatement(i);case y._export:case y._import:if(this.options.ecmaVersion>10&&r===y._import){k.lastIndex=this.pos;var a=k.exec(this.input);var c=this.pos+a[0].length,u=this.input.charCodeAt(c);if(u===40||u===46){return this.parseExpressionStatement(i,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return r===y._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(i,true,!e)}var l=this.value,d=this.parseExpression();if(r===y.name&&d.type==="Identifier"&&this.eat(y.colon)){return this.parseLabeledStatement(i,l,d,e)}else{return this.parseExpressionStatement(i,d)}}};te.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next();if(this.eat(y.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==y.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var r=0;for(;r=6){this.eat(y.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};te.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ne);this.enterScope(0);this.expect(y.parenL);if(this.type===y.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var n=this.isLet();if(this.type===y._var||this.type===y._const||n){var r=this.startNode(),i=n?"let":this.value;this.next();this.parseVar(r,true,i);this.finishNode(r,"VariableDeclaration");if((this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===y._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,r)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}var s=new DestructuringErrors;var a=this.parseExpression(true,s);if(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===y._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(a,false,s);this.checkLValPattern(a);return this.parseForIn(e,a)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)};te.parseFunctionStatement=function(e,t,n){this.next();return this.parseFunction(e,se|(n?0:oe),false,t)};te.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(y._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};te.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(y.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};te.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(y.braceL);this.labels.push(re);this.enterScope(0);var t;for(var n=false;this.type!==y.braceR;){if(this.type===y._case||this.type===y._default){var r=this.type===y._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(r){t.test=this.parseExpression()}else{if(n){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}n=true;t.test=null}this.expect(y.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};te.parseThrowStatement=function(e){this.next();if(_.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var ie=[];te.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===y._catch){var t=this.startNode();this.next();if(this.eat(y.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?z:0);this.checkLValPattern(t.param,n?K:W);this.expect(y.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(y._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};te.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};te.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(ne);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};te.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};te.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};te.parseLabeledStatement=function(e,t,n,r){for(var i=0,s=this.labels;i=0;u--){var l=this.labels[u];if(l.statementStart===e.start){l.statementStart=this.start;l.kind=c}else{break}}this.labels.push({name:t,kind:c,statementStart:this.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.labels.pop();e.label=n;return this.finishNode(e,"LabeledStatement")};te.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};te.parseBlock=function(e,t,n){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(y.braceL);if(e){this.enterScope(0)}while(this.type!==y.braceR){var r=this.parseStatement(null);t.body.push(r)}if(n){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};te.parseFor=function(e,t){e.init=t;this.expect(y.semi);e.test=this.type===y.semi?null:this.parseExpression();this.expect(y.semi);e.update=this.type===y.parenR?null:this.parseExpression();this.expect(y.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};te.parseForIn=function(e,t){var n=this.type===y._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssign();this.expect(y.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")};te.parseVar=function(e,t,n){e.declarations=[];e.kind=n;for(;;){var r=this.startNode();this.parseVarId(r,n);if(this.eat(y.eq)){r.init=this.parseMaybeAssign(t)}else if(n==="const"&&!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(r.id.type!=="Identifier"&&!(t&&(this.type===y._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(y.comma)){break}}return e};te.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?H:W,false)};var se=1,oe=2,ae=4;te.parseFunction=function(e,t,n,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===y.star&&t&oe){this.unexpected()}e.generator=this.eat(y.star)}if(this.options.ecmaVersion>=8){e.async=!!r}if(t&se){e.id=t&ae&&this.type!==y.name?null:this.parseIdent();if(e.id&&!(t&oe)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?H:W:V)}}var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&se)){e.id=this.type===y.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,n,false);this.yieldPos=i;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,t&se?"FunctionDeclaration":"FunctionExpression")};te.parseFunctionParams=function(e){this.expect(y.parenL);e.params=this.parseBindingList(y.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};te.parseClass=function(e,t){this.next();var n=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var r=this.startNode();var i=false;r.body=[];this.expect(y.braceL);while(this.type!==y.braceR){var s=this.parseClassElement(e.superClass!==null);if(s){r.body.push(s);if(s.type==="MethodDefinition"&&s.kind==="constructor"){if(i){this.raise(s.start,"Duplicate constructor in the same class")}i=true}}}this.strict=n;this.next();e.body=this.finishNode(r,"ClassBody");return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};te.parseClassElement=function(e){var t=this;if(this.eat(y.semi)){return null}var n=this.startNode();var tryContextual=function(e,r){if(r===void 0)r=false;var i=t.start,s=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==y.parenL&&(!r||!t.canInsertSemicolon())){return true}if(n.key){t.unexpected()}n.computed=false;n.key=t.startNodeAt(i,s);n.key.name=e;t.finishNode(n.key,"Identifier");return false};n.kind="method";n.static=tryContextual("static");var r=this.eat(y.star);var i=false;if(!r){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){i=true;r=this.options.ecmaVersion>=9&&this.eat(y.star)}else if(tryContextual("get")){n.kind="get"}else if(tryContextual("set")){n.kind="set"}}if(!n.key){this.parsePropertyName(n)}var s=n.key;var a=false;if(!n.computed&&!n.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")){if(n.kind!=="method"){this.raise(s.start,"Constructor can't have get/set modifier")}if(r){this.raise(s.start,"Constructor can't be a generator")}if(i){this.raise(s.start,"Constructor can't be an async method")}n.kind="constructor";a=e}else if(n.static&&s.type==="Identifier"&&s.name==="prototype"){this.raise(s.start,"Classes may not have a static property named prototype")}this.parseClassMethod(n,r,i,a);if(n.kind==="get"&&n.value.params.length!==0){this.raiseRecoverable(n.value.start,"getter should have no params")}if(n.kind==="set"&&n.value.params.length!==1){this.raiseRecoverable(n.value.start,"setter should have exactly one param")}if(n.kind==="set"&&n.value.params[0].type==="RestElement"){this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")}return n};te.parseClassMethod=function(e,t,n,r){e.value=this.parseMethod(t,n,r);return this.finishNode(e,"MethodDefinition")};te.parseClassId=function(e,t){if(this.type===y.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,W,false)}}else{if(t===true){this.unexpected()}e.id=null}};te.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts():null};te.parseExport=function(e,t){this.next();if(this.eat(y.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==y.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(y._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===y._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next();if(n){this.next()}e.declaration=this.parseFunction(r,se|ae,false,n)}else if(this.type===y._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==y.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(n){this.checkPatternErrors(n,true)}for(var r=0,i=e.properties;r=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(y._function)){return this.parseFunction(this.startNodeAt(r,i),0,false,true)}if(n&&!this.canInsertSemicolon()){if(this.eat(y.arrow)){return this.parseArrowExpression(this.startNodeAt(r,i),[a],false)}if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===y.name&&!s){a=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(y.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(r,i),[a],true)}}return a;case y.regexp:var c=this.value;t=this.parseLiteral(c.value);t.regex={pattern:c.pattern,flags:c.flags};return t;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:t=this.startNode();t.value=this.type===y._null?null:this.type===y._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case y.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)){e.parenthesizedAssign=u}if(e.parenthesizedBind<0){e.parenthesizedBind=u}}return l;case y.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(y.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case y.braceL:return this.parseObj(false,e);case y._function:t=this.startNode();this.next();return this.parseFunction(t,0);case y._class:return this.parseClass(this.startNode(),false);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};le.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case y.parenL:return this.parseDynamicImport(e);case y.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};le.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(y.parenR)){var t=this.start;if(this.eat(y.comma)&&this.eat(y.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};le.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};le.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};le.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();this.expect(y.parenR);return e};le.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,r,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc;var c=[],u=true,l=false;var d=new DestructuringErrors,p=this.yieldPos,h=this.awaitPos,m;this.yieldPos=0;this.awaitPos=0;while(this.type!==y.parenR){u?u=false:this.expect(y.comma);if(i&&this.afterTrailingComma(y.parenR,true)){l=true;break}else if(this.type===y.ellipsis){m=this.start;c.push(this.parseParenItem(this.parseRestBinding()));if(this.type===y.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{c.push(this.parseMaybeAssign(false,d,this.parseParenItem))}}var g=this.start,_=this.startLoc;this.expect(y.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(y.arrow)){this.checkPatternErrors(d,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=p;this.awaitPos=h;return this.parseParenArrowList(t,n,c)}if(!c.length||l){this.unexpected(this.lastTokStart)}if(m){this.unexpected(m)}this.checkExpressionErrors(d,true);this.yieldPos=p||this.yieldPos;this.awaitPos=h||this.awaitPos;if(c.length>1){r=this.startNodeAt(s,a);r.expressions=c;this.finishNodeAt(r,"SequenceExpression",g,_)}else{r=c[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var b=this.startNodeAt(t,n);b.expression=r;return this.finishNode(b,"ParenthesizedExpression")}else{return r}};le.parseParenItem=function(e){return e};le.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var de=[];le.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){e.meta=t;var n=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(n){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,s=this.type===y._import;e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,true);if(s&&e.callee.type==="ImportExpression"){this.raise(r,"Cannot use new with import()")}if(this.eat(y.parenL)){e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=de}return this.finishNode(e,"NewExpression")};le.parseTemplateElement=function(e){var t=e.isTagged;var n=this.startNode();if(this.type===y.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}n.value={raw:this.value,cooked:null}}else{n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();n.tail=this.type===y.backQuote;return this.finishNode(n,"TemplateElement")};le.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var n=this.startNode();this.next();n.expressions=[];var r=this.parseTemplateElement({isTagged:t});n.quasis=[r];while(!r.tail){if(this.type===y.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(y.dollarBraceL);n.expressions.push(this.parseExpression());this.expect(y.braceR);n.quasis.push(r=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(n,"TemplateLiteral")};le.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!_.test(this.input.slice(this.lastTokEnd,this.start))};le.parseObj=function(e,t){var n=this.startNode(),r=true,i={};n.properties=[];this.next();while(!this.eat(y.braceR)){if(!r){this.expect(y.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR)){break}}else{r=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,i,t)}n.properties.push(s)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")};le.parseProperty=function(e,t){var n=this.startNode(),r,i,s,a;if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis)){if(e){n.argument=this.parseIdent(false);if(this.type===y.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(n,"RestElement")}if(this.type===y.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}n.argument=this.parseMaybeAssign(false,t);if(this.type===y.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(n,"SpreadElement")}if(this.options.ecmaVersion>=6){n.method=false;n.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){r=this.eat(y.star)}}var c=this.containsEsc;this.parsePropertyName(n);if(!e&&!c&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)){i=true;r=this.options.ecmaVersion>=9&&this.eat(y.star);this.parsePropertyName(n,t)}else{i=false}this.parsePropertyValue(n,e,r,i,s,a,t,c);return this.finishNode(n,"Property")};le.parsePropertyValue=function(e,t,n,r,i,s,a,c){if((n||r)&&this.type===y.colon){this.unexpected()}if(this.eat(y.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===y.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(n,r)}else if(!t&&!c&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==y.comma&&this.type!==y.braceR&&this.type!==y.eq)){if(n||r){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var l=e.value.start;if(e.kind==="get"){this.raiseRecoverable(l,"getter should have no params")}else{this.raiseRecoverable(l,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(n||r){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i}e.kind="init";if(t){e.value=this.parseMaybeDefault(i,s,this.copyNode(e.key))}else if(this.type===y.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(i,s,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};le.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(y.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};le.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};le.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(r);if(this.options.ecmaVersion>=6){r.generator=e}if(this.options.ecmaVersion>=8){r.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,r.generator)|U|(n?q:0));this.expect(y.parenL);r.params=this.parseBindingList(y.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(r,false,true);this.yieldPos=i;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(r,"FunctionExpression")};le.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;this.enterScope(functionFlags(n,false)|j);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!n}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=r;this.awaitPos=i;this.awaitIdentPos=s;return this.finishNode(e,"ArrowFunctionExpression")};le.parseFunctionBody=function(e,t,n){var r=t&&this.type!==y.braceL;var i=this.strict,s=false;if(r){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!i||a){s=this.strictDirective(this.end);if(s&&a){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var c=this.labels;this.labels=[];if(s){this.strict=true}this.checkParams(e,!i&&!s&&!t&&!n&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,X)}e.body=this.parseBlock(false,undefined,s&&!i);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=c}this.exitScope()};le.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1;i.lexical.push(e);if(this.inModule&&i.flags&O){delete this.undefinedExports[e]}}else if(t===K){var s=this.currentScope();s.lexical.push(e)}else if(t===V){var a=this.currentScope();if(this.treatFunctionsAsVar){r=a.lexical.indexOf(e)>-1}else{r=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var c=this.scopeStack.length-1;c>=0;--c){var u=this.scopeStack[c];if(u.lexical.indexOf(e)>-1&&!(u.flags&z&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){r=true;break}u.var.push(e);if(this.inModule&&u.flags&O){delete this.undefinedExports[e]}if(u.flags&N){break}}}if(r){this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")}};fe.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};fe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};fe.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&N){return t}}};fe.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&N&&!(t.flags&j)){return t}}};var me=function Node(e,t,n){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new I(e,n)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var ge=J.prototype;ge.startNode=function(){return new me(this,this.start,this.startLoc)};ge.startNodeAt=function(e,t){return new me(this,e,t)};function finishNodeAt(e,t,n,r){e.type=t;e.end=n;if(this.options.locations){e.loc.end=r}if(this.options.ranges){e.range[1]=n}return e}ge.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ge.finishNodeAt=function(e,t,n,r){return finishNodeAt.call(this,e,t,n,r)};ge.copyNode=function(e){var t=new me(this,e.start,this.startLoc);for(var n in e){t[n]=e[n]}return t};var ye=function TokContext(e,t,n,r,i){this.token=e;this.isExpr=!!t;this.preserveSpace=!!n;this.override=r;this.generator=!!i};var ve={b_stat:new ye("{",false),b_expr:new ye("{",true),b_tmpl:new ye("${",false),p_stat:new ye("(",false),p_expr:new ye("(",true),q_tmpl:new ye("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new ye("function",false),f_expr:new ye("function",true),f_expr_gen:new ye("function",true,false,null,true),f_gen:new ye("function",false,false,null,true)};var _e=J.prototype;_e.initialContext=function(){return[ve.b_stat]};_e.braceIsBlock=function(e){var t=this.curContext();if(t===ve.f_expr||t===ve.f_stat){return true}if(e===y.colon&&(t===ve.b_stat||t===ve.b_expr)){return!t.isExpr}if(e===y._return||e===y.name&&this.exprAllowed){return _.test(this.input.slice(this.lastTokEnd,this.start))}if(e===y._else||e===y.semi||e===y.eof||e===y.parenR||e===y.arrow){return true}if(e===y.braceL){return t===ve.b_stat}if(e===y._var||e===y._const||e===y.name){return false}return!this.exprAllowed};_e.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};_e.updateContext=function(e){var t,n=this.type;if(n.keyword&&e===y.dot){this.exprAllowed=false}else if(t=n.updateContext){t.call(this,e)}else{this.exprAllowed=n.beforeExpr}};y.parenR.updateContext=y.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===ve.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ve.b_stat:ve.b_expr);this.exprAllowed=true};y.dollarBraceL.updateContext=function(){this.context.push(ve.b_tmpl);this.exprAllowed=true};y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?ve.p_stat:ve.p_expr);this.exprAllowed=true};y.incDec.updateContext=function(){};y._function.updateContext=y._class.updateContext=function(e){if(e.beforeExpr&&e!==y._else&&!(e===y.semi&&this.curContext()!==ve.p_stat)&&!(e===y._return&&_.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===y.colon||e===y.braceL)&&this.curContext()===ve.b_stat)){this.context.push(ve.f_expr)}else{this.context.push(ve.f_stat)}this.exprAllowed=false};y.backQuote.updateContext=function(){if(this.curContext()===ve.q_tmpl){this.context.pop()}else{this.context.push(ve.q_tmpl)}this.exprAllowed=false};y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;if(this.context[t]===ve.f_expr){this.context[t]=ve.f_expr_gen}else{this.context[t]=ve.f_gen}}this.exprAllowed=true};y.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==y.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var be="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var xe=be+" Extended_Pictographic";var ke=xe;var Ee=ke+" EBase EComp EMod EPres ExtPict";var we={9:be,10:xe,11:ke,12:Ee};var Se="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Ce="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Ae=Ce+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var De=Ae+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Me=De+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Ie={9:Ce,10:Ae,11:De,12:Me};var Pe={};function buildUnicodeData(e){var t=Pe[e]={binary:wordsRegexp(we[e]+" "+Se),nonBinary:{General_Category:wordsRegexp(Se),Script:wordsRegexp(Ie[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var Te=J.prototype;var Oe=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=Pe[e.options.ecmaVersion>=12?12:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Oe.prototype.reset=function reset(e,t,n){var r=n.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=n;this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchN=r&&this.parser.options.ecmaVersion>=9};Oe.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Oe.prototype.at=function at(e,t){if(t===void 0)t=false;var n=this.source;var r=n.length;if(e>=r){return-1}var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r){return i}var s=n.charCodeAt(e+1);return s>=56320&&s<=57343?(i<<10)+s-56613888:i};Oe.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var n=this.source;var r=n.length;if(e>=r){return r}var i=n.charCodeAt(e),s;if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(s=n.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};Oe.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Oe.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Oe.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Oe.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Te.validateRegExpFlags=function(e){var t=e.validFlags;var n=e.flags;for(var r=0;r-1){this.raise(e.start,"Duplicate regular expression flag")}}};Te.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};Te.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,n=e.backReferenceNames;t=9){n=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!n;return true}}e.pos=t;return false};Te.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Te.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Te.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)){r=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){i=e.lastIntValue}if(e.eat(125)){if(i!==-1&&i=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};Te.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Te.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Te.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Te.regexp_eatPatternCharacters=function(e){var t=e.pos;var n=0;while((n=e.current())!==-1&&!isSyntaxCharacter(n)){e.advance()}return e.pos!==t};Te.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};Te.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Te.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};Te.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};Te.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var n=this.options.ecmaVersion>=11;var r=e.current(n);e.advance(n);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)){r=e.lastIntValue}if(isRegExpIdentifierStart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Te.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var n=this.options.ecmaVersion>=11;var r=e.current(n);e.advance(n);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)){r=e.lastIntValue}if(isRegExpIdentifierPart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Te.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};Te.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU){if(n>e.maxBackReference){e.maxBackReference=n}return true}if(n<=e.numCapturingParens){return true}e.pos=t}return false};Te.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};Te.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Te.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Te.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Te.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};Te.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}Te.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var n=e.pos;var r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(i-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=i}return true}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(r){e.raise("Invalid unicode escape")}e.pos=n}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Te.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};Te.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};Te.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Te.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,n,r);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,i);return true}return false};Te.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(n)){e.raise("Invalid property value")}};Te.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};Te.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}Te.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}Te.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Te.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};Te.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;if(e.switchU&&(t===-1||n===-1)){e.raise("Invalid character class")}if(t!==-1&&n!==-1&&t>n){e.raise("Range out of order in character class")}}}};Te.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var n=e.current();if(n===99||isOctalDigit(n)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var r=e.current();if(r!==93){e.lastIntValue=r;e.advance();return true}return false};Te.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Te.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Te.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};Te.regexp_eatDecimalDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isDecimalDigit(n=e.current())){e.lastIntValue=10*e.lastIntValue+(n-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}Te.regexp_eatHexDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isHexDigit(n=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(n);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}Te.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+n*8+e.lastIntValue}else{e.lastIntValue=t*8+n}}else{e.lastIntValue=t}return true}return false};Te.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}Te.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r=this.input.length){return this.finishToken(y.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Fe.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Fe.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};Fe.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=n+2;if(this.options.locations){b.lastIndex=t;var r;while((r=b.exec(this.input))&&r.index8&&e<14||e>=5760&&x.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Fe.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var n=this.type;this.type=e;this.value=t;this.updateContext(n)};Fe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(y.ellipsis)}else{++this.pos;return this.finishToken(y.dot)}};Fe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(y.assign,2)}return this.finishOp(y.slash,1)};Fe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;var r=e===42?y.star:y.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++n;r=y.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(y.assign,n+1)}return this.finishOp(r,n)};Fe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61){return this.finishOp(y.assign,3)}}return this.finishOp(e===124?y.logicalOR:y.logicalAND,2)}if(t===61){return this.finishOp(y.assign,2)}return this.finishOp(e===124?y.bitwiseOR:y.bitwiseAND,1)};Fe.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(y.assign,2)}return this.finishOp(y.bitwiseXOR,1)};Fe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||_.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(y.incDec,2)}if(t===61){return this.finishOp(y.assign,2)}return this.finishOp(y.plusMin,1)};Fe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;if(t===e){n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+n)===61){return this.finishOp(y.assign,n+1)}return this.finishOp(y.bitShift,n)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){n=2}return this.finishOp(y.relational,n)};Fe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(y.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(y.arrow)}return this.finishOp(e===61?y.eq:y.prefix,1)};Fe.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57){return this.finishOp(y.questionDot,2)}}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(y.assign,3)}}return this.finishOp(y.coalesce,2)}}return this.finishOp(y.question,1)};Fe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(y.parenL);case 41:++this.pos;return this.finishToken(y.parenR);case 59:++this.pos;return this.finishToken(y.semi);case 44:++this.pos;return this.finishToken(y.comma);case 91:++this.pos;return this.finishToken(y.bracketL);case 93:++this.pos;return this.finishToken(y.bracketR);case 123:++this.pos;return this.finishToken(y.braceL);case 125:++this.pos;return this.finishToken(y.braceR);case 58:++this.pos;return this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(y.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Fe.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,n)};Fe.readRegexp=function(){var e,t,n=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(n,"Unterminated regular expression")}var r=this.input.charAt(this.pos);if(_.test(r)){this.raise(n,"Unterminated regular expression")}if(!e){if(r==="["){t=true}else if(r==="]"&&t){t=false}else if(r==="/"&&!t){break}e=r==="\\"}else{e=false}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var c=this.regexpState||(this.regexpState=new Oe(this));c.reset(n,i,a);this.validateRegExpFlags(c);this.validateRegExpPattern(c);var u=null;try{u=new RegExp(i,a)}catch(e){}return this.finishToken(y.regexp,{pattern:i,flags:a,value:u})};Fe.readInt=function(e,t,n){var r=this.options.ecmaVersion>=12&&t===undefined;var i=n&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,c=0;for(var u=0,l=t==null?Infinity:t;u=97){p=d-97+10}else if(d>=65){p=d-65+10}else if(d>=48&&d<=57){p=d-48}else{p=Infinity}if(p>=e){break}c=d;a=a*e+p}if(r&&c===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Fe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);if(n==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){n=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(y.num,n)};Fe.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(n&&this.strict){this.raise(t,"Invalid number")}var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(y.num,i)}if(n&&/[89]/.test(this.input.slice(t,this.pos))){n=false}if(r===46&&!n){++this.pos;this.readInt(10);r=this.input.charCodeAt(this.pos)}if((r===69||r===101)&&!n){r=this.input.charCodeAt(++this.pos);if(r===43||r===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),n);return this.finishToken(y.num,s)};Fe.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(n,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Fe.readString=function(e){var t="",n=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var r=this.input.charCodeAt(this.pos);if(r===e){break}if(r===92){t+=this.input.slice(n,this.pos);t+=this.readEscapedChar(false);n=this.pos}else{if(isNewLine(r,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(n,this.pos++);return this.finishToken(y.string,t)};var Ne={};Fe.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ne){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Fe.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ne}else{this.raise(e,t)}};Fe.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)){if(n===36){this.pos+=2;return this.finishToken(y.dollarBraceL)}else{++this.pos;return this.finishToken(y.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(y.template,e)}if(n===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.pos);++this.pos;switch(n){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Fe.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var i=parseInt(r,8);if(i>255){r=r.slice(0,-1);i=parseInt(r,8)}this.pos+=r.length-1;t=this.input.charCodeAt(this.pos);if((r!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(i)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Fe.readHexChar=function(e){var t=this.pos;var n=this.readInt(16,e);if(n===null){this.invalidStringToken(t,"Bad character escape sequence")}return n};Fe.readWord1=function(){this.containsEsc=false;var e="",t=true,n=this.pos;var r=this.options.ecmaVersion>=6;while(this.pos{"use strict";const r=n(33839);const mapToBufferedMap=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=Buffer.from(e.mappings,"utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map((e=>e&&Buffer.from(e,"utf-8")))}return t};const bufferedMapToMap=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=e.mappings.toString("utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map((e=>e&&e.toString("utf-8")))}return t};class CachedSource extends r{constructor(e,t){super();this._source=e;this._cachedSourceType=t?t.source:undefined;this._cachedSource=undefined;this._cachedBuffer=t?t.buffer:undefined;this._cachedSize=t?t.size:undefined;this._cachedMaps=t?t.maps:new Map;this._cachedHashUpdate=t?t.hash:undefined}getCachedData(){if(this._cachedSource){this.buffer()}const e=new Map;for(const t of this._cachedMaps){if(t[1].bufferedMap===undefined){t[1].bufferedMap=mapToBufferedMap(t[1].map)}e.set(t[0],{map:undefined,bufferedMap:t[1].bufferedMap})}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:e,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}else{return this._cachedSource=this.original().source()}}buffer(){if(typeof this._cachedBuffer!=="undefined")return this._cachedBuffer;if(typeof this._cachedSource!=="undefined"){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const e=this.source();if(Buffer.isBuffer(e)){return this._cachedBuffer=e}return this._cachedBuffer=Buffer.from(e,"utf-8")}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){return this._cachedSize=Buffer.byteLength(this._cachedSource)}if(typeof this._cachedBuffer!=="undefined"){return this._cachedSize=this._cachedBuffer.length}return this._cachedSize=this.original().size()}sourceAndMap(e){const t=e?JSON.stringify(e):"{}";let n=this._cachedMaps.get(t);if(n&&n.map===undefined){n.map=bufferedMapToMap(n.bufferedMap)}if(typeof this._cachedSource!=="undefined"){if(n===undefined){const n=this.original().map(e);this._cachedMaps.set(t,{map:n,bufferedMap:undefined});return{source:this._cachedSource,map:n}}else{return{source:this._cachedSource,map:n.map}}}else if(n!==undefined){return{source:this._cachedSource=this.original().source(),map:n.map}}else{const n=this.original().sourceAndMap(e);this._cachedSource=n.source;this._cachedMaps.set(t,{map:n.map,bufferedMap:undefined});return n}}map(e){const t=e?JSON.stringify(e):"{}";let n=this._cachedMaps.get(t);if(n!==undefined){if(n.map===undefined){n.map=bufferedMapToMap(n.bufferedMap)}return n.map}const r=this.original().map(e);this._cachedMaps.set(t,{map:r,bufferedMap:undefined});return r}updateHash(e){if(this._cachedHashUpdate!==undefined){for(const t of this._cachedHashUpdate)e.update(t);return}const t=[];let n=undefined;const r={update:e=>{if(typeof e==="string"&&e.length<10240){if(n===undefined){n=e}else{n+=e;if(n>102400){t.push(Buffer.from(n));n=undefined}}}else{if(n!==undefined){t.push(Buffer.from(n));n=undefined}t.push(e)}}};this.original().updateHash(r);if(n!==undefined){t.push(Buffer.from(n))}for(const n of t)e.update(n);this._cachedHashUpdate=t}}e.exports=CachedSource},7961:(e,t,n)=>{"use strict";const r=n(33839);class CompatSource extends r{static from(e){return e instanceof r?e:new CompatSource(e)}constructor(e){super();this._sourceLike=e}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(e){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(e)}return super.map(e)}sourceAndMap(e){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(e)}return super.sourceAndMap(e)}updateHash(e){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(e)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}e.update(this.buffer())}}e.exports=CompatSource},96123:(e,t,n)=>{"use strict";const r=n(33839);const i=n(76274);const{SourceNode:s,SourceMapConsumer:a}=n(99596);const{SourceListMap:c,fromStringWithSourceMap:u}=n(6900);const{getSourceAndMap:l,getMap:d}=n(89588);const p=new WeakSet;class ConcatSource extends r{constructor(){super();this._children=[];for(let e=0;e{if(n===undefined){n=e}else if(Array.isArray(n)){n.push(e)}else{n=[typeof n==="string"?n:n.source(),e]}};const addSourceToRawSources=e=>{if(n===undefined){n=e}else if(Array.isArray(n)){n.push(e.source())}else{n=[typeof n==="string"?n:n.source(),e.source()]}};const mergeRawSources=()=>{if(Array.isArray(n)){const t=new i(n.join(""));p.add(t);e.push(t)}else if(typeof n==="string"){const t=new i(n);p.add(t);e.push(t)}else{e.push(n)}};for(const r of this._children){if(typeof r==="string"){if(t===undefined){t=r}else{t+=r}}else{if(t!==undefined){addStringToRawSources(t);t=undefined}if(p.has(r)){addSourceToRawSources(r)}else{if(n!==undefined){mergeRawSources();n=undefined}e.push(r)}}}if(t!==undefined){addStringToRawSources(t)}if(n!==undefined){mergeRawSources()}this._children=e;this._isOptimized=true}}e.exports=ConcatSource},11176:(e,t,n)=>{"use strict";const r=n(33839);const{SourceNode:i}=n(99596);const{SourceListMap:s}=n(6900);const{getSourceAndMap:a,getMap:c}=n(89588);const u=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(e){return e.match(u)||[]}class OriginalSource extends r{constructor(e,t){super();const n=Buffer.isBuffer(e);this._value=n?undefined:e;this._valueAsBuffer=n?e:undefined;this._name=t}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return c(this,e)}sourceAndMap(e){return a(this,e)}node(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}const t=this._value;const n=this._name;const r=t.split("\n");const s=new i(null,null,null,r.map((function(t,s){let a=0;if(e&&e.columns===false){const e=t+(s!==r.length-1?"\n":"");return new i(s+1,0,n,e)}return new i(null,null,null,_splitCode(t+(s!==r.length-1?"\n":"")).map((function(e){if(/^\s*$/.test(e)){a+=e.length;return e}const t=new i(s+1,a,n,e);a+=e.length;return t})))})));s.setSourceContent(n,t);return s}listMap(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new s(this._value,this._name,this._value)}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("OriginalSource");e.update(this._valueAsBuffer);e.update(this._name||"")}}e.exports=OriginalSource},96276:(e,t,n)=>{"use strict";const r=n(33839);const i=n(76274);const{SourceNode:s}=n(99596);const{getSourceAndMap:a,getMap:c}=n(89588);const u=/\n(?=.|\s)/g;class PrefixSource extends r{constructor(e,t){super();this._source=typeof t==="string"||Buffer.isBuffer(t)?new i(t,true):t;this._prefix=e}getPrefix(){return this._prefix}original(){return this._source}source(){const e=this._source.source();const t=this._prefix;return t+e.replace(u,"\n"+t)}map(e){return c(this,e)}sourceAndMap(e){return a(this,e)}node(e){const t=this._source.node(e);const n=this._prefix;const r=[];const i=new s;t.walkSourceContents((function(e,t){i.setSourceContent(e,t)}));let a=true;t.walk((function(e,t){const i=e.split(/(\n)/);for(let e=0;e{"use strict";const r=n(33839);const{SourceNode:i}=n(99596);const{SourceListMap:s}=n(6900);class RawSource extends r{constructor(e,t=false){super();const n=Buffer.isBuffer(e);if(!n&&typeof e!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!t&&n;this._value=t&&n?undefined:e;this._valueAsBuffer=n?e:undefined}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return null}node(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new i(null,null,null,this._value)}listMap(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new s(this._value)}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("RawSource");e.update(this._valueAsBuffer)}}e.exports=RawSource},79722:(e,t,n)=>{"use strict";const r=n(33839);const{SourceNode:i}=n(99596);const{getSourceAndMap:s,getMap:a,getNode:c,getListMap:u}=n(89588);class Replacement{constructor(e,t,n,r,i){this.start=e;this.end=t;this.content=n;this.insertIndex=r;this.name=i}}class ReplaceSource extends r{constructor(e,t){super();this._source=e;this._name=t;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){const e=Array.from(this._replacements);e.sort(((e,t)=>e.insertIndex-t.insertIndex));return e}replace(e,t,n,r){if(typeof n!=="string")throw new Error("insertion must be a string, but is a "+typeof n);this._replacements.push(new Replacement(e,t,n,this._replacements.length,r));this._isSorted=false}insert(e,t,n){if(typeof t!=="string")throw new Error("insertion must be a string, but is a "+typeof t+": "+t);this._replacements.push(new Replacement(e,e-1,t,this._replacements.length,n));this._isSorted=false}source(){return this._replaceString(this._source.source())}map(e){if(this._replacements.length===0){return this._source.map(e)}return a(this,e)}sourceAndMap(e){if(this._replacements.length===0){return this._source.sourceAndMap(e)}return s(this,e)}original(){return this._source}_sortReplacements(){if(this._isSorted)return;this._replacements.sort((function(e,t){const n=t.end-e.end;if(n!==0)return n;const r=t.start-e.start;if(r!==0)return r;return t.insertIndex-e.insertIndex}));this._isSorted=true}_replaceString(e){if(typeof e!=="string")throw new Error("str must be a string, but is a "+typeof e+": "+e);this._sortReplacements();const t=[e];this._replacements.forEach((function(e){const n=t.pop();const r=this._splitString(n,Math.floor(e.end+1));const i=this._splitString(r[0],Math.floor(e.start));t.push(r[1],e.content,i[0])}),this);let n="";for(let e=t.length-1;e>=0;--e){n+=t[e]}return n}node(e){const t=c(this._source,e);if(this._replacements.length===0){return t}this._sortReplacements();const n=new ReplacementEnumerator(this._replacements);const r=[];let s=0;const a=Object.create(null);const u=Object.create(null);const l=new i;t.walkSourceContents((function(e,t){l.setSourceContent(e,t);a["$"+e]=t}));const d=this._replaceInStringNode.bind(this,r,n,(function getOriginalSource(e){const t="$"+e.source;let n=u[t];if(!n){const e=a[t];if(!e)return null;n=e.split("\n").map((function(e){return e+"\n"}));u[t]=n}if(e.line>n.length)return null;const r=n[e.line-1];return r.substr(e.column)}));t.walk((function(e,t){s=d(e,s,t)}));const p=n.footer();if(p){r.push(p)}l.add(r);return l}listMap(e){let t=u(this._source,e);this._sortReplacements();let n=0;const r=this._replacements;let i=r.length-1;let s=0;t=t.mapGeneratedCode((function(e){const t=n+e.length;if(s>e.length){s-=e.length;e=""}else{if(s>0){e=e.substr(s);n+=s;s=0}let a="";while(i>=0&&r[i].start=0){a+=r[i].content;i--}if(a){t.add(a)}return t}_splitString(e,t){return t<=0?["",e]:[e.substr(0,t),e.substr(t)]}_replaceInStringNode(e,t,n,r,s,a){let c=undefined;do{let u=t.position-s;if(u<0){u=0}if(u>=r.length||t.done){if(t.emit){const t=new i(a.line,a.column,a.source,r,a.name);e.push(t)}return s+r.length}const l=a.column;let d;if(u>0){d=r.slice(0,u);if(c===undefined){c=n(a)}if(c&&c.length>=u&&c.startsWith(d)){a.column+=u;c=c.substr(u)}}const p=t.next();if(!p){if(u>0){const t=new i(a.line,l,a.source,d,a.name);e.push(t)}if(t.value){e.push(new i(a.line,a.column,a.source,t.value,a.name||t.name))}}r=r.substr(u);s+=u}while(true)}updateHash(e){this._sortReplacements();e.update("ReplaceSource");this._source.updateHash(e);e.update(this._name||"");for(const t of this._replacements){e.update(`${t.start}`);e.update(`${t.end}`);e.update(`${t.content}`);e.update(`${t.insertIndex}`);e.update(`${t.name}`)}}}class ReplacementEnumerator{constructor(e){this.replacements=e||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){const e=this.replacements[this.index];const t=Math.floor(e.end+1);this.position=t;this.value=e.content;this.name=e.name}else{this.index--;if(this.index<0){this.done=true}else{const e=this.replacements[this.index];const t=Math.floor(e.start);this.position=t}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{let e="";for(let t=this.index;t>=0;t--){const n=this.replacements[t];e+=n.content}return e}}}e.exports=ReplaceSource},93883:(e,t,n)=>{"use strict";const r=n(33839);class SizeOnlySource extends r{constructor(e){super();this._size=e}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(e){throw this._error()}updateHash(){throw this._error()}}e.exports=SizeOnlySource},33839:e=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const e=this.source();if(Buffer.isBuffer(e))return e;return Buffer.from(e,"utf-8")}size(){return this.buffer().length}map(e){return null}sourceAndMap(e){return{source:this.source(),map:this.map(e)}}updateHash(e){throw new Error("Abstract")}}e.exports=Source},82340:(e,t,n)=>{"use strict";const r=n(33839);const{SourceNode:i,SourceMapConsumer:s}=n(99596);const{SourceListMap:a,fromStringWithSourceMap:c}=n(6900);const{getSourceAndMap:u,getMap:l}=n(89588);const d=n(70701);class SourceMapSource extends r{constructor(e,t,n,r,i,s){super();const a=Buffer.isBuffer(e);this._valueAsString=a?undefined:e;this._valueAsBuffer=a?e:undefined;this._name=t;this._hasSourceMap=!!n;const c=Buffer.isBuffer(n);const u=typeof n==="string";this._sourceMapAsObject=c||u?undefined:n;this._sourceMapAsString=u?n:undefined;this._sourceMapAsBuffer=c?n:undefined;this._hasOriginalSource=!!r;const l=Buffer.isBuffer(r);this._originalSourceAsString=l?undefined:r;this._originalSourceAsBuffer=l?r:undefined;this._hasInnerSourceMap=!!i;const d=Buffer.isBuffer(i);const p=typeof i==="string";this._innerSourceMapAsObject=d||p?undefined:i;this._innerSourceMapAsString=p?i:undefined;this._innerSourceMapAsBuffer=d?i:undefined;this._removeOriginalSource=s}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}source(){this._ensureValueString();return this._valueAsString}map(e){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return l(this,e)}sourceAndMap(e){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return u(this,e)}node(e){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();let t=i.fromStringWithSourceMap(this._valueAsString,new s(this._sourceMapAsObject));t.setSourceContent(this._name,this._originalSourceAsString);if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();t=d(t,new s(this._innerSourceMapAsObject),this._name,this._removeOriginalSource)}return t}listMap(e){this._ensureValueString();this._ensureSourceMapObject();e=e||{};if(e.module===false)return new a(this._valueAsString,this._name,this._valueAsString);return c(this._valueAsString,this._sourceMapAsObject)}updateHash(e){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();e.update("SourceMapSource");e.update(this._valueAsBuffer);e.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){e.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){e.update(this._innerSourceMapAsBuffer)}e.update(this._removeOriginalSource?"true":"false")}}e.exports=SourceMapSource},70701:(e,t,n)=>{"use strict";const r=n(99596).SourceNode;const i=n(99596).SourceMapConsumer;const applySourceMap=function(e,t,n,s){const a=new r;const c=[];const u={};const l={};const d={};const p={};t.eachMapping((function(e){(l[e.generatedLine]=l[e.generatedLine]||[]).push(e)}),null,i.GENERATED_ORDER);const findM2rMapping=(e,t)=>{const n=l[e];let r=0;let i=n.length;while(r>1;if(n[e].generatedColumn<=t){r=e+1}else{i=e}}if(r===0)return undefined;return n[r-1]};e.walkSourceContents((function(e,t){u["$"+e]=t}));const h=u["$"+n];const m=h?h.split("\n"):undefined;e.walk((function(e,i){if(i.source===n&&i.line&&l[i.line]){let n=findM2rMapping(i.line,i.column);if(n){let s=false;let u;let l;let h;const g=n.source;if(m&&g&&(u=m[n.generatedLine-1])&&((h=p[g])||(l=t.sourceContentFor(g,true)))){if(!h){h=p[g]=l.split("\n")}const e=h[n.originalLine-1];if(e){const t=i.column-n.generatedColumn;if(t>0){const r=u.slice(n.generatedColumn,i.column);const s=e.slice(n.originalColumn,n.originalColumn+t);if(r===s){n=Object.assign({},n,{originalColumn:n.originalColumn+t,generatedColumn:i.column,name:undefined})}}if(!n.name&&i.name){s=e.slice(n.originalColumn,n.originalColumn+i.name.length)===i.name}}}let y=n.source;if(y&&y!=="."){c.push(new r(n.originalLine,n.originalColumn,y,e,s?i.name:n.name));if(!("$"+y in d)){d["$"+y]=true;const e=t.sourceContentFor(y,true);if(e){a.setSourceContent(y,e)}}return}}}if(s&&i.source===n||!i.source){c.push(e);return}const h=i.source;c.push(new r(i.line,i.column,h,e,i.name));if("$"+h in u){if(!("$"+h in d)){a.setSourceContent(h,u["$"+h]);delete u["$"+h]}}}));a.add(c);return a};e.exports=applySourceMap},89588:(e,t,n)=>{"use strict";const{SourceNode:r,SourceMapConsumer:i}=n(99596);const{SourceListMap:s,fromStringWithSourceMap:a}=n(6900);t.getSourceAndMap=(e,t)=>{let n;let r;if(t&&t.columns===false){const i=e.listMap(t).toStringWithSourceMap({file:"x"});n=i.source;r=i.map}else{const i=e.node(t).toStringWithSourceMap({file:"x"});n=i.code;r=i.map.toJSON()}if(!r||!r.sources||r.sources.length===0)r=null;return{source:n,map:r}};t.getMap=(e,t)=>{let n;if(t&&t.columns===false){n=e.listMap(t).toStringWithSourceMap({file:"x"}).map}else{n=e.node(t).toStringWithSourceMap({file:"x"}).map.toJSON()}if(!n||!n.sources||n.sources.length===0)return null;return n};t.getNode=(e,t)=>{if(typeof e.node==="function"){return e.node(t)}else{const n=e.sourceAndMap(t);if(n.map){return r.fromStringWithSourceMap(n.source,new i(n.map))}else{return new r(null,null,null,n.source)}}};t.getListMap=(e,t)=>{if(typeof e.listMap==="function"){return e.listMap(t)}else{const n=e.sourceAndMap(t);if(n.map){return a(n.source,n.map)}else{return new s(n.source)}}}},48135:(e,t,n)=>{const defineExport=(e,n)=>{let r;Object.defineProperty(t,e,{get:()=>{if(n!==undefined){r=n();n=undefined}return r},configurable:true})};defineExport("Source",(()=>n(33839)));defineExport("RawSource",(()=>n(76274)));defineExport("OriginalSource",(()=>n(11176)));defineExport("SourceMapSource",(()=>n(82340)));defineExport("CachedSource",(()=>n(76185)));defineExport("ConcatSource",(()=>n(96123)));defineExport("ReplaceSource",(()=>n(79722)));defineExport("PrefixSource",(()=>n(96276)));defineExport("SizeOnlySource",(()=>n(93883)));defineExport("CompatSource",(()=>n(7961)))},74395:e=>{class Node{constructor(e){this.value=e;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(e){const t=new Node(e);if(this._head){this._tail.next=t;this._tail=t}else{this._head=t;this._tail=t}this._size++}dequeue(){const e=this._head;if(!e){return}this._head=this._head.next;this._size--;return e.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;while(e){yield e.value;e=e.next}}}e.exports=Queue},77086:(module,__unused_webpack_exports,__webpack_require__)=>{const resolve=__webpack_require__(47030);const fs=__webpack_require__(15808);const crypto=__webpack_require__(76417);const{join:join,dirname:dirname,extname:extname,relative:relative,resolve:pathResolve}=__webpack_require__(85622);const webpack=__webpack_require__(86443);const MemoryFS=__webpack_require__(56342);const terser=__webpack_require__(57217);const tsconfigPaths=__webpack_require__(46543);const{loadTsconfig:loadTsconfig}=__webpack_require__(9492);const TsconfigPathsPlugin=__webpack_require__(96217);const shebangRegEx=__webpack_require__(89681);const nccCacheDir=__webpack_require__(13946);const LicenseWebpackPlugin=__webpack_require__(58907).s;const{version:nccVersion}=__webpack_require__(60306);fs.gracefulify(__webpack_require__(35747));const SUPPORTED_EXTENSIONS=[".js",".json",".node",".mjs",".ts",".tsx"];const hashOf=e=>crypto.createHash("md4").update(e).digest("hex").slice(0,10);const defaultPermissions=438;const relocateLoader=eval('require(__dirname + "/loaders/relocate-loader.js")');module.exports=ncc;function ncc(entry,{cache:cache,customEmit:customEmit=undefined,externals:externals=[],filename:filename="index"+(entry.endsWith(".cjs")?".cjs":".js"),minify:minify=false,sourceMap:sourceMap=false,sourceMapRegister:sourceMapRegister=true,sourceMapBasePrefix:sourceMapBasePrefix="../",noAssetBuilds:noAssetBuilds=false,watch:watch=false,v8cache:v8cache=false,filterAssetBase:filterAssetBase=process.cwd(),existingAssetNames:existingAssetNames=[],quiet:quiet=false,debugLog:debugLog=false,transpileOnly:transpileOnly=false,license:license="",target:target,production:production=true}={}){const cjsDeps=()=>({mainFields:["main"],extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["require","node",production?"production":"development"]});const esmDeps=()=>({mainFields:["main"],extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["import","node",production?"production":"development"]});const ext=extname(filename);if(!quiet){console.log(`ncc: Version ${nccVersion}`);console.log(`ncc: Compiling file ${filename}`)}if(target&&!target.startsWith("es")){throw new Error(`Invalid "target" value provided ${target}, value must be es version e.g. es2015`)}const resolvedEntry=resolve.sync(entry);process.env.__NCC_OPTS=JSON.stringify({quiet:quiet,typescriptLookupPath:resolvedEntry});const shebangMatch=fs.readFileSync(resolvedEntry).toString().match(shebangRegEx);const mfs=new MemoryFS;existingAssetNames.push(filename);if(sourceMap){existingAssetNames.push(`${filename}.map`);existingAssetNames.push(`sourcemap-register${ext}`)}if(v8cache){existingAssetNames.push(`${filename}.cache`);existingAssetNames.push(`${filename}.cache${ext}`)}const resolvePlugins=[];let fullTsconfig;try{const e=tsconfigPaths.loadConfig();fullTsconfig=loadTsconfig(e.configFileAbsolutePath)||{compilerOptions:{}};const t={silent:true};if(fullTsconfig.compilerOptions.allowJs){t.extensions=SUPPORTED_EXTENSIONS}resolvePlugins.push(new TsconfigPathsPlugin(t));if(e.resultType==="success"){tsconfigMatchPath=tsconfigPaths.createMatchPath(e.absoluteBaseUrl,e.paths)}}catch(e){}resolvePlugins.push({apply(e){const t=e.resolve;e.resolve=function(e,n,r,i,s){const a=this;t.call(a,e,n,r,i,(function(c,u,l){if(l)return s(null,u,l);if(c&&!c.message.startsWith("Can't resolve"))return s(c);if(r.endsWith(".js")&&e.issuer&&(e.issuer.endsWith(".ts")||e.issuer.endsWith(".tsx"))){return t.call(a,e,n,r.slice(0,-3),i,(function(e,t,n){if(n)return s(null,t,n);if(e&&!e.message.startsWith("Can't resolve"))return s(e);s(null,__dirname+"/@@notfound.js?"+(externalMap.get(r)||r),r)}))}s(null,__dirname+"/@@notfound.js?"+(externalMap.get(r)||r),r)}))}}});const externalMap=(()=>{const e=[];const t=new Map;function set(n,r){if(n instanceof RegExp)e.push(n);t.set(n,r)}function get(n){if(t.has(n))return t.get(n);const r=e.find((e=>e.test(n)));return r!==null?t.get(r):null}return{get:get,set:set}})();if(Array.isArray(externals))externals.forEach((e=>externalMap.set(e,e)));else if(typeof externals==="object")Object.keys(externals).forEach((e=>externalMap.set(e[0]==="/"&&e[e.length-1]==="/"?new RegExp(e.slice(1,-1)):e,externals[e])));let watcher,watchHandler,rebuildHandler;const compilationStack=[];var plugins=[{apply(e){e.hooks.compilation.tap("relocate-loader",(e=>{compilationStack.push(e);relocateLoader.initAssetCache(e)}));e.hooks.watchRun.tap("ncc",(()=>{if(rebuildHandler)rebuildHandler()}));e.hooks.normalModuleFactory.tap("ncc",(e=>{function handler(e){e.hooks.assign.for("require").intercept({register:e=>{if(e.name!=="CommonJsPlugin"){return e}e.fn=()=>{};return e}})}e.hooks.parser.for("javascript/auto").tap("ncc",handler);e.hooks.parser.for("javascript/dynamic").tap("ncc",handler);return e}))}}];if(typeof license==="string"&&license.length>0){plugins.push(new LicenseWebpackPlugin({outputFilename:license}))}const compiler=webpack({entry:entry,cache:cache===false?undefined:{type:"filesystem",cacheDirectory:typeof cache==="string"?cache:nccCacheDir,name:`ncc_${hashOf(entry)}`,version:nccVersion},snapshot:{managedPaths:[],module:{hash:true}},amd:false,experiments:{topLevelAwait:true},optimization:{nodeEnv:false,minimize:false,moduleIds:"deterministic",chunkIds:"deterministic",mangleExports:true,concatenateModules:true,innerGraph:true,sideEffects:true},devtool:sourceMap?"cheap-module-source-map":false,mode:"production",target:target?["node",target]:"node",stats:{logging:"error"},infrastructureLogging:{level:"error"},output:{path:"/",filename:ext===".cjs"?filename+".js":filename,libraryTarget:"commonjs2",strictModuleExceptionHandling:true},resolve:{extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],byDependency:{wasm:esmDeps(),esm:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()},mainFields:["main"],plugins:resolvePlugins},node:false,externals({context:e,request:t},n){const r=externalMap.get(t);if(r)return n(null,`commonjs ${r}`);return n()},module:{rules:[{test:/@@notfound\.js$/,use:[{loader:eval('__dirname + "/loaders/notfound-loader.js"')}]},{test:/\.(js|mjs|tsx?|node)$/,use:[{loader:eval('__dirname + "/loaders/empty-loader.js"')},{loader:eval('__dirname + "/loaders/relocate-loader.js"'),options:{customEmit:customEmit,filterAssetBase:filterAssetBase,existingAssetNames:existingAssetNames,escapeNonAnalyzableRequires:true,wrapperCompatibility:true,debugLog:debugLog}}]},{test:/\.tsx?$/,use:[{loader:eval('__dirname + "/loaders/uncacheable.js"')},{loader:eval('__dirname + "/loaders/ts-loader.js"'),options:{transpileOnly:transpileOnly,compiler:eval('__dirname + "/typescript.js"'),compilerOptions:{allowSyntheticDefaultImports:true,module:"esnext",outDir:"//",...fullTsconfig&&fullTsconfig.compilerOptions&&fullTsconfig.compilerOptions.incremental?{incremental:false}:{},noEmit:false}}}]},{parser:{amd:false},exclude:/\.(node|json)$/,use:[{loader:eval('__dirname + "/loaders/shebang-loader.js"')}]}]},plugins:plugins});compiler.outputFileSystem=mfs;if(!watch){return new Promise(((e,t)=>{compiler.run(((n,r)=>{if(n)return t(n);compiler.close((n=>{if(n)return t(n);if(r.hasErrors()){const e=[...r.compilation.errors].map((e=>e.message)).join("\n");return t(new Error(e))}e(r)}))}))})).then(finalizeHandler,(function(e){compilationStack.pop();throw e}))}else{if(typeof watch==="object"){if(!watch.watch)throw new Error("Watcher class must be a valid Webpack WatchFileSystem class instance (https://github.com/webpack/webpack/blob/master/lib/node/NodeWatchFileSystem.js)");compiler.watchFileSystem=watch;watch.inputFileSystem=compiler.inputFileSystem}let e;watcher=compiler.watch({},(async(t,n)=>{if(t){compilationStack.pop();return watchHandler({err:t})}if(n.hasErrors()){compilationStack.pop();return watchHandler({err:n.toString()})}const r=await finalizeHandler(n);if(watchHandler)watchHandler(r);else e=r}));let t=false;return{close(){if(!watcher)throw new Error("No watcher to close.");if(t)throw new Error("Watcher already closed.");t=true;watcher.close()},handler(t){if(watchHandler)throw new Error("Watcher handler already provided.");watchHandler=t;if(e){t(e);e=null}},rebuild(e){if(rebuildHandler)throw new Error("Rebuild handler already provided.");rebuildHandler=e}}}async function finalizeHandler(e){const t=Object.create(null);getFlatFiles(mfs.data,t,relocateLoader.getAssetMeta,fullTsconfig);const n=Object.create(null);for(const[e,r]of Object.entries(relocateLoader.getSymlinks())){const i=join(dirname(e),r);if(i in t)n[e]=r}delete t[filename+(ext===".cjs"?".js":"")];delete t[`${filename}${ext===".cjs"?".js":""}.map`];let r=mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}`,"utf8");let i=sourceMap?mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}.map`,"utf8"):null;if(i){i=JSON.parse(i);i.sources=i.sources.map((e=>{while(e.startsWith("webpack:///"))e=e.slice(11);if(e.startsWith("//"))e=e.slice(1);if(e.startsWith("/"))e=relative(process.cwd(),e).replace(/\\/g,"/");if(e.startsWith("external "))e="node:"+e.slice(9);if(e.startsWith("./"))e=e.slice(2);if(e.startsWith("(webpack)"))e="webpack"+e.slice(9);if(e.startsWith("webpack/"))return"/webpack/"+e.slice(8);return sourceMapBasePrefix+e}))}if(minify){let e;try{e=await terser.minify(r,{compress:false,mangle:{keep_classnames:true,keep_fnames:true},sourceMap:sourceMap?{content:i,filename:filename,url:`${filename}.map`}:false});if(!e||e.code===undefined)throw null;({code:r,map:i}={code:e.code,map:sourceMap?JSON.parse(e.map):undefined})}catch{console.log("An error occurred while minifying. The result will not be minified.")}}if(v8cache){const{Script:e}=__webpack_require__(92184);t[`${filename}.cache`]={source:new e(r).createCachedData(),permissions:defaultPermissions};t[`${filename}.cache${ext}`]={source:r,permissions:defaultPermissions};if(i){t[filename+".map"]={source:JSON.stringify(i),permissions:defaultPermissions};i=undefined}const n=-"(function (exports, require, module, __filename, __dirname) { ".length;r=`const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module');\n`+`const basename = __dirname + '/${filename}';\n`+`const source = readFileSync(basename + '.cache${ext}', 'utf-8');\n`+`const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache');\n`+`const scriptOpts = { filename: basename + '.cache${ext}', columnOffset: ${n} }\n`+`const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts);\n`+`(script.runInThisContext())(exports, require, module, __filename, __dirname);\n`+`if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} });\n`}if(sourceMap&&sourceMapRegister){r=`require('./sourcemap-register${ext}');`+r;t[`sourcemap-register${ext}`]={source:fs.readFileSync(`${__dirname}/sourcemap-register.js.cache.js`),permissions:defaultPermissions}}if(shebangMatch){r=shebangMatch[0]+r;if(i)i.mappings=";"+i.mappings}if(r.indexOf('"__webpack_require__"')===-1)r=r.replace(/__webpack_require__/g,"__nccwpck_require__");if(!noAssetBuilds){const r=compilationStack[compilationStack.length-1];let i=Object.keys(t);i.push(`${filename}${ext===".cjs"?".js":""}`);const s=[];for(const e of Object.keys(t)){if(!e.endsWith(".js")&&!e.endsWith(".cjs")&&!e.endsWith(".ts")&&!e.endsWith(".mjs")||e.endsWith(".cache.js")||e.endsWith(".cache.cjs")||e.endsWith(".cache.ts")||e.endsWith(".cache.mjs")||e.endsWith(".d.ts")){i.push(e);continue}const t=relocateLoader.getAssetMeta(e,r);if(!t||!t.path){i.push(e);continue}s.push(e)}for(const a of s){const s=relocateLoader.getAssetMeta(a,r);const c=s.path;const{code:u,assets:l,symlinks:d,stats:p}=await ncc(c,{cache:cache,externals:externals,filename:a,minify:minify,sourceMap:sourceMap,sourceMapRegister:sourceMapRegister,sourceMapBasePrefix:sourceMapBasePrefix,noAssetBuilds:true,v8cache:v8cache,filterAssetBase:filterAssetBase,existingAssetNames:i,quiet:quiet,debugLog:debugLog,transpileOnly:true,license:license,target:target});Object.assign(n,d);Object.assign(e,p);for(const e of Object.keys(l)){t[e]=l[e];if(!i.includes(e))i.push(e)}t[a]={source:u,permissions:s.permissions}}}compilationStack.pop();return{code:r,map:i?JSON.stringify(i):undefined,assets:t,symlinks:n,stats:e}}}function getFlatFiles(e,t,n,r,i=""){for(const s of Object.keys(e)){const a=e[s];let c=`${i}/${s}`;if(a[""]===true)getFlatFiles(a,t,n,r,c);else if(!c.endsWith("/")){const i=n(c.substr(1))||{};if(c.endsWith(".d.ts")){const e=r.compilerOptions.outDir?pathResolve(r.compilerOptions.outDir):__webpack_require__.ab+"dist";c=c.replace(e,"").replace(process.cwd(),"")}t[c.substr(1)]={source:e[s],permissions:i.permissions}}}}},13946:(e,t,n)=>{e.exports=n(12087).tmpdir()+"/ncc-cache"},89681:e=>{e.exports=/^#![^\n\r]*[\r\n]/},92915:module=>{module.exports=eval("require")("enhanced-resolve/lib/createInnerCallback")},98063:module=>{module.exports=eval("require")("pnpapi")},30247:(e,t)=>{"use strict";t.parse=parse;t.init=void 0;const n=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(e,t="@"){if(!r)return i.then((()=>parse(e)));const s=e.length+1,a=(r.__heap_base.value||r.__heap_base)+4*s-r.memory.buffer.byteLength;a>0&&r.memory.grow(Math.ceil(a/65536));const c=r.sa(s-1);if((n?B:Q)(e,new Uint16Array(r.memory.buffer,c,s)),!r.parse())throw Object.assign(new Error(`Parse error ${t}:${e.slice(0,r.e()).split("\n").length}:${r.e()-e.lastIndexOf("\n",r.e()-1)}`),{idx:r.e()});const u=[],l=[];for(;r.ri();){const t=r.is(),n=r.ie();let i;r.ip()&&(i=o(e.slice(t-1,n+1))),u.push({n:i,s:t,e:n,ss:r.ss(),se:r.se(),d:r.id()})}for(;r.re();)l.push(e.slice(r.es(),r.ee()));function o(e){try{return(0,eval)(e)}catch{}}return[u,l,!!r.f()]}function Q(e,t){const n=e.length;let r=0;for(;r>>8}}function B(e,t){const n=e.length;let r=0;for(;re.charCodeAt(0))):Buffer.from(s,"base64"))).then(WebAssembly.instantiate).then((({exports:e})=>{r=e}));t.init=i;var s},42357:e=>{"use strict";e.exports=require("assert")},64293:e=>{"use strict";e.exports=require("buffer")},63129:e=>{"use strict";e.exports=require("child_process")},57082:e=>{"use strict";e.exports=require("console")},27619:e=>{"use strict";e.exports=require("constants")},76417:e=>{"use strict";e.exports=require("crypto")},28614:e=>{"use strict";e.exports=require("events")},35747:e=>{"use strict";e.exports=require("fs")},98605:e=>{"use strict";e.exports=require("http")},57211:e=>{"use strict";e.exports=require("https")},57012:e=>{"use strict";e.exports=require("inspector")},32282:e=>{"use strict";e.exports=require("module")},12087:e=>{"use strict";e.exports=require("os")},85622:e=>{"use strict";e.exports=require("path")},61765:e=>{"use strict";e.exports=require("process")},71191:e=>{"use strict";e.exports=require("querystring")},92413:e=>{"use strict";e.exports=require("stream")},33867:e=>{"use strict";e.exports=require("tty")},78835:e=>{"use strict";e.exports=require("url")},31669:e=>{"use strict";e.exports=require("util")},92184:e=>{"use strict";e.exports=require("vm")},65013:e=>{"use strict";e.exports=require("worker_threads")}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var n=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var r=true;try{__webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__);r=false}finally{if(r)delete __webpack_module_cache__[e]}n.loaded=true;return n.exports}(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(77086);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js deleted file mode 100644 index d6926e338d..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js +++ /dev/null @@ -1,31 +0,0 @@ -// returns the base-level package folder based on detecting "node_modules" -// package name boundaries -const pkgNameRegEx = /^(@[^\\\/]+[\\\/])?[^\\\/]+/; -function getPackageBase(id) { - const pkgIndex = id.lastIndexOf('node_modules'); - if (pkgIndex !== -1 && - (id[pkgIndex - 1] === '/' || id[pkgIndex - 1] === '\\') && - (id[pkgIndex + 12] === '/' || id[pkgIndex + 12] === '\\')) { - const pkgNameMatch = id.substr(pkgIndex + 13).match(pkgNameRegEx); - if (pkgNameMatch) - return id.substr(0, pkgIndex + 13 + pkgNameMatch[0].length); - } -} - -const emptyModules = { 'uglify-js': true, 'uglify-es': true }; - -module.exports = function (input, map) { - const id = this.resourcePath; - const pkgBase = getPackageBase(id); - if (pkgBase) { - const baseParts = pkgBase.split('/'); - if (baseParts[baseParts.length - 2] === 'node_modules') { - const pkgName = baseParts[baseParts.length - 1]; - if (pkgName in emptyModules) { - console.warn(`ncc: Ignoring build of ${pkgName}, as it is not statically analyzable. Build with "--external ${pkgName}" if this package is needed.`); - return ''; - } - } - } - this.callback(null, input, map); -}; diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js deleted file mode 100644 index 5b925fa361..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = function (input, map) { - if (this.cacheable) - this.cacheable(); - const id = this.resourceQuery.substr(1); - input = input.replace('\'UNKNOWN\'', JSON.stringify(id)); - this.callback(null, input, map); -}; diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md b/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md deleted file mode 100644 index 98cad61a1b..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -# About this directory - -This directory will contain: - -- `relocate-loader.js` the ncc loader for handling CommonJS asset and reference relocations -- `shebang-loader.js` the ncc loader to ensure proper hash bang support in Node.js CLI files -- `ts-loader.js` the ncc loader for handling TypeScript - -These are generated by the `build` step defined in `../../../package.json`. - -These files are published to npm. diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js deleted file mode 100644 index e6e9f73d62..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js +++ /dev/null @@ -1,8 +0,0 @@ -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/relocate-loader.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache deleted file mode 100644 index 5dc6a27fba..0000000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js deleted file mode 100644 index 54a2274dff..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js +++ /dev/null @@ -1,12 +0,0 @@ -(()=>{var __webpack_modules__={901:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=(()=>{var __webpack_modules__={4259:(e,t,r)=>{"use strict";const s=r(9406);e.exports=function(e){const t=e.acorn||r(390);const a=t.tokTypes;e=s(e);return class extends e{_maybeParseFieldValue(e){if(this.eat(a.eq)){const t=this._inFieldValue;this._inFieldValue=true;if(this.type===a.name&&this.value==="await"&&(this.inAsync||this.options.allowAwaitOutsideFunction)){e.value=this.parseAwait()}else e.value=this.parseExpression();this._inFieldValue=t}else e.value=null}parseClassElement(e){if(this.options.ecmaVersion>=8&&(this.type==a.name||this.type.keyword||this.type==this.privateIdentifierToken||this.type==a.bracketL||this.type==a.string||this.type==a.num)){const e=this._branch();if(e.type==a.bracketL){let t=0;do{if(e.eat(a.bracketL))++t;else if(e.eat(a.bracketR))--t;else e.next()}while(t>0)}else e.next(true);let t=e.type==a.eq||e.type==a.semi;if(!t&&e.canInsertSemicolon()){t=e.type!=a.parenL}if(t){const e=this.startNode();if(this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(e)}else{this.parsePropertyName(e)}if(e.key.type==="Identifier"&&e.key.name==="constructor"||e.key.type==="Literal"&&e.key.value==="constructor"){this.raise(e.key.start,"Classes may not have a field called constructor")}this.enterScope(64|2|1);this._maybeParseFieldValue(e);this.exitScope();this.finishNode(e,"PropertyDefinition");this.semicolon();return e}}return super.parseClassElement.apply(this,arguments)}parseIdent(e,t){const r=super.parseIdent(e,t);if(this._inFieldValue&&r.name=="arguments")this.raise(r.start,"A class field initializer may not contain arguments");return r}}}},9406:(e,t,r)=>{"use strict";const s=Object.getPrototypeOf||(e=>e.__proto__);const getAcorn=e=>{if(e.acorn)return e.acorn;const t=r(390);if(t.version.indexOf("6.")!=0&&t.version.indexOf("6.0.")==0&&t.version.indexOf("7.")!=0){throw new Error(`acorn-private-class-elements requires acorn@^6.1.0 or acorn@7.0.0, not ${t.version}`)}for(let r=e;r&&r!==t.Parser;r=s(r)){if(r!==t.Parser){throw new Error("acorn-private-class-elements does not support mixing different acorn copies")}}return t};e.exports=function(e){if(e.prototype.parsePrivateName){return e}const t=getAcorn(e);e=class extends e{_branch(){this.__branch=this.__branch||new e({ecmaVersion:this.options.ecmaVersion},this.input);this.__branch.end=this.end;this.__branch.pos=this.pos;this.__branch.type=this.type;this.__branch.value=this.value;this.__branch.containsEsc=this.containsEsc;return this.__branch}parsePrivateClassElementName(e){e.computed=false;e.key=this.parsePrivateName();if(e.key.name=="constructor")this.raise(e.key.start,"Classes may not have a private element named constructor");const t={get:"set",set:"get"}[e.kind];const r=this._privateBoundNames;if(Object.prototype.hasOwnProperty.call(r,e.key.name)&&r[e.key.name]!==t){this.raise(e.start,"Duplicate private element")}r[e.key.name]=e.kind||true;delete this._unresolvedPrivateNames[e.key.name];return e.key}parsePrivateName(){const e=this.startNode();e.name=this.value;this.next();this.finishNode(e,"PrivateIdentifier");if(this.options.allowReserved=="never")this.checkUnreserved(e);return e}getTokenFromCode(e){if(e===35){++this.pos;const e=this.readWord1();return this.finishToken(this.privateIdentifierToken,e)}return super.getTokenFromCode(e)}parseClass(e,t){const r=this._outerPrivateBoundNames;this._outerPrivateBoundNames=this._privateBoundNames;this._privateBoundNames=Object.create(this._privateBoundNames||null);const s=this._outerUnresolvedPrivateNames;this._outerUnresolvedPrivateNames=this._unresolvedPrivateNames;this._unresolvedPrivateNames=Object.create(null);const a=super.parseClass(e,t);const o=this._unresolvedPrivateNames;this._privateBoundNames=this._outerPrivateBoundNames;this._outerPrivateBoundNames=r;this._unresolvedPrivateNames=this._outerUnresolvedPrivateNames;this._outerUnresolvedPrivateNames=s;if(!this._unresolvedPrivateNames){const e=Object.keys(o);if(e.length){e.sort(((e,t)=>o[e]-o[t]));this.raise(o[e[0]],"Usage of undeclared private name")}}else Object.assign(this._unresolvedPrivateNames,o);return a}parseClassSuper(e){const t=this._privateBoundNames;this._privateBoundNames=this._outerPrivateBoundNames;const r=this._unresolvedPrivateNames;this._unresolvedPrivateNames=this._outerUnresolvedPrivateNames;const s=super.parseClassSuper(e);this._privateBoundNames=t;this._unresolvedPrivateNames=r;return s}parseSubscript(e,r,s,a,o,u){const c=this.options.ecmaVersion>=11&&t.tokTypes.questionDot;const h=this._branch();if(!((h.eat(t.tokTypes.dot)||c&&h.eat(t.tokTypes.questionDot))&&h.type==this.privateIdentifierToken)){return super.parseSubscript.apply(this,arguments)}let p=false;if(!this.eat(t.tokTypes.dot)){this.expect(t.tokTypes.questionDot);p=true}let d=this.startNodeAt(r,s);d.object=e;d.computed=false;if(c){d.optional=p}if(this.type==this.privateIdentifierToken){if(e.type=="Super"){this.raise(this.start,"Cannot access private element on super")}d.property=this.parsePrivateName();if(!this._privateBoundNames||!this._privateBoundNames[d.property.name]){if(!this._unresolvedPrivateNames){this.raise(d.property.start,"Usage of undeclared private name")}this._unresolvedPrivateNames[d.property.name]=d.property.start}}else{d.property=this.parseIdent(true)}return this.finishNode(d,"MemberExpression")}parseMaybeUnary(e,t){const r=super.parseMaybeUnary(e,t);if(r.operator=="delete"){if(r.argument.type=="MemberExpression"&&r.argument.property.type=="PrivateIdentifier"){this.raise(r.start,"Private elements may not be deleted")}}return r}};e.prototype.privateIdentifierToken=new t.TokenType("privateIdentifier");return e}},104:(e,t,r)=>{"use strict";const s=r(9406);e.exports=function(e){const t=s(e);const a=e.acorn||r(390);const o=a.tokTypes;return class extends t{_maybeParseFieldValue(e){if(this.eat(o.eq)){const t=this._inStaticFieldScope;this._inStaticFieldScope=this.currentThisScope();e.value=this.parseExpression();this._inStaticFieldScope=t}else e.value=null}parseClassElement(e){if(this.options.ecmaVersion<8||!this.isContextual("static")){return super.parseClassElement.apply(this,arguments)}const t=this._branch();t.next();if([o.name,o.bracketL,o.string,o.num,this.privateIdentifierToken].indexOf(t.type)==-1&&!t.type.keyword){return super.parseClassElement.apply(this,arguments)}if(t.type==o.bracketL){let e=0;do{if(t.eat(o.bracketL))++e;else if(t.eat(o.bracketR))--e;else t.next()}while(e>0)}else t.next();if(t.type!=o.eq&&!t.canInsertSemicolon()&&t.type!=o.semi){return super.parseClassElement.apply(this,arguments)}const r=this.startNode();r.static=this.eatContextual("static");if(this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(r)}else{this.parsePropertyName(r)}if(r.key.type==="Identifier"&&r.key.name==="constructor"||r.key.type==="Literal"&&!r.computed&&r.key.value==="constructor"){this.raise(r.key.start,"Classes may not have a field called constructor")}if((r.key.name||r.key.value)==="prototype"&&!r.computed){this.raise(r.key.start,"Classes may not have a static property named prototype")}this.enterScope(64|2|1);this._maybeParseFieldValue(r);this.exitScope();this.finishNode(r,"PropertyDefinition");this.semicolon();return r}parsePropertyName(e){if(e.static&&this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(e)}else{super.parsePropertyName(e)}}parseIdent(e,t){const r=super.parseIdent(e,t);if(this._inStaticFieldScope&&this.currentThisScope()===this._inStaticFieldScope&&r.name=="arguments"){this.raise(r.start,"A static class field initializer may not contain arguments")}return r}}}},390:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var r="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var s={5:r,"5module":r+" export import",6:r+" const class extends export import super"};var a=/^in(stanceof)?$/;var o="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var c=new RegExp("["+o+"]");var h=new RegExp("["+o+u+"]");o=u=null;var p=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var d=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var r=65536;for(var s=0;se){return false}r+=t[s+1];if(r>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&c.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,p)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&h.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,p)||isInAstralSet(e,d)}var v=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new v(e,{beforeExpr:true,binop:t})}var m={beforeExpr:true},g={startsExpr:true};var y={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return y[e]=new v(e,t)}var _={num:new v("num",g),regexp:new v("regexp",g),string:new v("string",g),name:new v("name",g),eof:new v("eof"),bracketL:new v("[",{beforeExpr:true,startsExpr:true}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:true,startsExpr:true}),braceR:new v("}"),parenL:new v("(",{beforeExpr:true,startsExpr:true}),parenR:new v(")"),comma:new v(",",m),semi:new v(";",m),colon:new v(":",m),dot:new v("."),question:new v("?",m),questionDot:new v("?."),arrow:new v("=>",m),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",m),backQuote:new v("`",g),dollarBraceL:new v("${",{beforeExpr:true,startsExpr:true}),eq:new v("=",{beforeExpr:true,isAssign:true}),assign:new v("_=",{beforeExpr:true,isAssign:true}),incDec:new v("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new v("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new v("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",m),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",m),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",m),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",g),_if:kw("if"),_return:kw("return",m),_switch:kw("switch"),_throw:kw("throw",m),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",g),_super:kw("super",g),_class:kw("class",g),_extends:kw("extends",m),_export:kw("export"),_import:kw("import",g),_null:kw("null",g),_true:kw("true",g),_false:kw("false",g),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var E=/\r\n?|\n|\u2028|\u2029/;var x=new RegExp(E.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var w=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var D=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var C=Object.prototype;var A=C.hasOwnProperty;var S=C.toString;function has(e,t){return A.call(e,t)}var k=Array.isArray||function(e){return S.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var F=function Position(e,t){this.line=e;this.column=t};F.prototype.offset=function offset(e){return new F(this.line,this.column+e)};var R=function SourceLocation(e,t,r){this.start=t;this.end=r;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var r=1,s=0;;){x.lastIndex=s;var a=x.exec(e);if(a&&a.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(k(t.onToken)){var s=t.onToken;t.onToken=function(e){return s.push(e)}}if(k(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(r,s,a,o,u,c){var h={type:r?"Block":"Line",value:s,start:a,end:o};if(e.locations){h.loc=new R(this,u,c)}if(e.ranges){h.range=[a,o]}t.push(h)}}var B=1,N=2,O=B|N,L=4,P=8,j=16,M=32,V=64,q=128;function functionFlags(e,t){return N|(e?L:0)|(t?P:0)}var U=0,$=1,H=2,G=3,W=4,z=5;var K=function Parser(e,r,a){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(s[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var o="";if(e.allowReserved!==true){o=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){o+=" await"}}this.reservedWords=wordsRegexp(o);var u=(o?o+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(u);this.reservedWordsStrictBind=wordsRegexp(u+" "+t.strictBind);this.input=String(r);this.containsEsc=false;if(a){this.pos=a;this.lineStart=this.input.lastIndexOf("\n",a-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(E).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=_.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(B);this.regexpState=null};var Q={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};K.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Q.inFunction.get=function(){return(this.currentVarScope().flags&N)>0};Q.inGenerator.get=function(){return(this.currentVarScope().flags&P)>0};Q.inAsync.get=function(){return(this.currentVarScope().flags&L)>0};Q.allowSuper.get=function(){return(this.currentThisScope().flags&V)>0};Q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&q)>0};Q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Q.inNonArrowFunction.get=function(){return(this.currentThisScope().flags&N)>0};K.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var r=this;for(var s=0;s=,?^&]/.test(a)||a==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length;D.lastIndex=e;e+=D.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};X.eat=function(e){if(this.type===e){this.next();return true}else{return false}};X.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc};X.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};X.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};X.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))};X.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};X.semicolon=function(){if(!this.eat(_.semi)&&!this.insertSemicolon()){this.unexpected()}};X.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};X.expect=function(e){this.eat(e)||this.unexpected()};X.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}X.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var r=t?e.parenthesizedAssign:e.parenthesizedBind;if(r>-1){this.raiseRecoverable(r,"Parenthesized pattern")}};X.checkExpressionErrors=function(e,t){if(!e){return false}var r=e.shorthandAssign;var s=e.doubleProto;if(!t){return r>=0||s>=0}if(r>=0){this.raise(r,"Shorthand property assignments are valid only in destructuring patterns")}if(s>=0){this.raiseRecoverable(s,"Redefinition of __proto__ property")}};X.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(a,false,!e);case _._class:if(e){this.unexpected()}return this.parseClass(a,true);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:o=o||this.value;if(e&&o!=="var"){this.unexpected()}return this.parseVarStatement(a,o);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock(true,a);case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:if(this.options.ecmaVersion>10&&s===_._import){D.lastIndex=this.pos;var u=D.exec(this.input);var c=this.pos+u[0].length,h=this.input.charCodeAt(c);if(h===40||h===46){return this.parseExpressionStatement(a,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return s===_._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(a,true,!e)}var p=this.value,d=this.parseExpression();if(s===_.name&&d.type==="Identifier"&&this.eat(_.colon)){return this.parseLabeledStatement(a,p,d,e)}else{return this.parseExpressionStatement(a,d)}}};Z.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next();if(this.eat(_.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==_.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var s=0;for(;s=6){this.eat(_.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};Z.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(Y);this.enterScope(0);this.expect(_.parenL);if(this.type===_.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var r=this.isLet();if(this.type===_._var||this.type===_._const||r){var s=this.startNode(),a=r?"let":this.value;this.next();this.parseVar(s,true,a);this.finishNode(s,"VariableDeclaration");if((this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===_._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,s)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}var o=new DestructuringErrors;var u=this.parseExpression(true,o);if(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===_._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(u,false,o);this.checkLValPattern(u);return this.parseForIn(e,u)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,u)};Z.parseFunctionStatement=function(e,t,r){this.next();return this.parseFunction(e,re|(r?0:ie),false,t)};Z.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(_._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};Z.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(_.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};Z.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(_.braceL);this.labels.push(ee);this.enterScope(0);var t;for(var r=false;this.type!==_.braceR;){if(this.type===_._case||this.type===_._default){var s=this.type===_._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(s){t.test=this.parseExpression()}else{if(r){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}r=true;t.test=null}this.expect(_.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};Z.parseThrowStatement=function(e){this.next();if(E.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var te=[];Z.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===_._catch){var t=this.startNode();this.next();if(this.eat(_.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?M:0);this.checkLValPattern(t.param,r?W:H);this.expect(_.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(_._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};Z.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};Z.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(Y);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};Z.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};Z.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};Z.parseLabeledStatement=function(e,t,r,s){for(var a=0,o=this.labels;a=0;h--){var p=this.labels[h];if(p.statementStart===e.start){p.statementStart=this.start;p.kind=c}else{break}}this.labels.push({name:t,kind:c,statementStart:this.start});e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label");this.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")};Z.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};Z.parseBlock=function(e,t,r){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(_.braceL);if(e){this.enterScope(0)}while(this.type!==_.braceR){var s=this.parseStatement(null);t.body.push(s)}if(r){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};Z.parseFor=function(e,t){e.init=t;this.expect(_.semi);e.test=this.type===_.semi?null:this.parseExpression();this.expect(_.semi);e.update=this.type===_.parenR?null:this.parseExpression();this.expect(_.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};Z.parseForIn=function(e,t){var r=this.type===_._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssign();this.expect(_.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")};Z.parseVar=function(e,t,r){e.declarations=[];e.kind=r;for(;;){var s=this.startNode();this.parseVarId(s,r);if(this.eat(_.eq)){s.init=this.parseMaybeAssign(t)}else if(r==="const"&&!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(s.id.type!=="Identifier"&&!(t&&(this.type===_._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{s.init=null}e.declarations.push(this.finishNode(s,"VariableDeclarator"));if(!this.eat(_.comma)){break}}return e};Z.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?$:H,false)};var re=1,ie=2,ne=4;Z.parseFunction=function(e,t,r,s){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s){if(this.type===_.star&&t&ie){this.unexpected()}e.generator=this.eat(_.star)}if(this.options.ecmaVersion>=8){e.async=!!s}if(t&re){e.id=t&ne&&this.type!==_.name?null:this.parseIdent();if(e.id&&!(t&ie)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?$:H:G)}}var a=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&re)){e.id=this.type===_.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,r,false);this.yieldPos=a;this.awaitPos=o;this.awaitIdentPos=u;return this.finishNode(e,t&re?"FunctionDeclaration":"FunctionExpression")};Z.parseFunctionParams=function(e){this.expect(_.parenL);e.params=this.parseBindingList(_.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};Z.parseClass=function(e,t){this.next();var r=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var s=this.startNode();var a=false;s.body=[];this.expect(_.braceL);while(this.type!==_.braceR){var o=this.parseClassElement(e.superClass!==null);if(o){s.body.push(o);if(o.type==="MethodDefinition"&&o.kind==="constructor"){if(a){this.raise(o.start,"Duplicate constructor in the same class")}a=true}}}this.strict=r;this.next();e.body=this.finishNode(s,"ClassBody");return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};Z.parseClassElement=function(e){var t=this;if(this.eat(_.semi)){return null}var r=this.startNode();var tryContextual=function(e,s){if(s===void 0)s=false;var a=t.start,o=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==_.parenL&&(!s||!t.canInsertSemicolon())){return true}if(r.key){t.unexpected()}r.computed=false;r.key=t.startNodeAt(a,o);r.key.name=e;t.finishNode(r.key,"Identifier");return false};r.kind="method";r.static=tryContextual("static");var s=this.eat(_.star);var a=false;if(!s){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){a=true;s=this.options.ecmaVersion>=9&&this.eat(_.star)}else if(tryContextual("get")){r.kind="get"}else if(tryContextual("set")){r.kind="set"}}if(!r.key){this.parsePropertyName(r)}var o=r.key;var u=false;if(!r.computed&&!r.static&&(o.type==="Identifier"&&o.name==="constructor"||o.type==="Literal"&&o.value==="constructor")){if(r.kind!=="method"){this.raise(o.start,"Constructor can't have get/set modifier")}if(s){this.raise(o.start,"Constructor can't be a generator")}if(a){this.raise(o.start,"Constructor can't be an async method")}r.kind="constructor";u=e}else if(r.static&&o.type==="Identifier"&&o.name==="prototype"){this.raise(o.start,"Classes may not have a static property named prototype")}this.parseClassMethod(r,s,a,u);if(r.kind==="get"&&r.value.params.length!==0){this.raiseRecoverable(r.value.start,"getter should have no params")}if(r.kind==="set"&&r.value.params.length!==1){this.raiseRecoverable(r.value.start,"setter should have exactly one param")}if(r.kind==="set"&&r.value.params[0].type==="RestElement"){this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params")}return r};Z.parseClassMethod=function(e,t,r,s){e.value=this.parseMethod(t,r,s);return this.finishNode(e,"MethodDefinition")};Z.parseClassId=function(e,t){if(this.type===_.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,H,false)}}else{if(t===true){this.unexpected()}e.id=null}};Z.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null};Z.parseExport=function(e,t){this.next();if(this.eat(_.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==_.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(_._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===_._function||(r=this.isAsyncFunction())){var s=this.startNode();this.next();if(r){this.next()}e.declaration=this.parseFunction(s,re|ne,false,r)}else if(this.type===_._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==_.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var o=0,u=e.specifiers;o=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(r){this.checkPatternErrors(r,true)}for(var s=0,a=e.properties;s=8&&!o&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(_._function)){return this.parseFunction(this.startNodeAt(s,a),0,false,true)}if(r&&!this.canInsertSemicolon()){if(this.eat(_.arrow)){return this.parseArrowExpression(this.startNodeAt(s,a),[u],false)}if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===_.name&&!o){u=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(_.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(s,a),[u],true)}}return u;case _.regexp:var c=this.value;t=this.parseLiteral(c.value);t.regex={pattern:c.pattern,flags:c.flags};return t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:t=this.startNode();t.value=this.type===_._null?null:this.type===_._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case _.parenL:var h=this.start,p=this.parseParenAndDistinguishExpression(r);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)){e.parenthesizedAssign=h}if(e.parenthesizedBind<0){e.parenthesizedBind=h}}return p;case _.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(_.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(false,e);case _._function:t=this.startNode();this.next();return this.parseFunction(t,0);case _._class:return this.parseClass(this.startNode(),false);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();case _._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ae.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case _.parenL:return this.parseDynamicImport(e);case _.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ae.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(_.parenR)){var t=this.start;if(this.eat(_.comma)&&this.eat(_.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ae.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ae.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ae.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();this.expect(_.parenR);return e};ae.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc;var c=[],h=true,p=false;var d=new DestructuringErrors,v=this.yieldPos,m=this.awaitPos,g;this.yieldPos=0;this.awaitPos=0;while(this.type!==_.parenR){h?h=false:this.expect(_.comma);if(a&&this.afterTrailingComma(_.parenR,true)){p=true;break}else if(this.type===_.ellipsis){g=this.start;c.push(this.parseParenItem(this.parseRestBinding()));if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{c.push(this.parseMaybeAssign(false,d,this.parseParenItem))}}var y=this.start,E=this.startLoc;this.expect(_.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(_.arrow)){this.checkPatternErrors(d,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=v;this.awaitPos=m;return this.parseParenArrowList(t,r,c)}if(!c.length||p){this.unexpected(this.lastTokStart)}if(g){this.unexpected(g)}this.checkExpressionErrors(d,true);this.yieldPos=v||this.yieldPos;this.awaitPos=m||this.awaitPos;if(c.length>1){s=this.startNodeAt(o,u);s.expressions=c;this.finishNodeAt(s,"SequenceExpression",y,E)}else{s=c[0]}}else{s=this.parseParenExpression()}if(this.options.preserveParens){var x=this.startNodeAt(t,r);x.expression=s;return this.finishNode(x,"ParenthesizedExpression")}else{return s}};ae.parseParenItem=function(e){return e};ae.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var oe=[];ae.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var r=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(r){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var s=this.start,a=this.startLoc,o=this.type===_._import;e.callee=this.parseSubscripts(this.parseExprAtom(),s,a,true);if(o&&e.callee.type==="ImportExpression"){this.raise(s,"Cannot use new with import()")}if(this.eat(_.parenL)){e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=oe}return this.finishNode(e,"NewExpression")};ae.parseTemplateElement=function(e){var t=e.isTagged;var r=this.startNode();if(this.type===_.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}r.value={raw:this.value,cooked:null}}else{r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();r.tail=this.type===_.backQuote;return this.finishNode(r,"TemplateElement")};ae.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var r=this.startNode();this.next();r.expressions=[];var s=this.parseTemplateElement({isTagged:t});r.quasis=[s];while(!s.tail){if(this.type===_.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(_.dollarBraceL);r.expressions.push(this.parseExpression());this.expect(_.braceR);r.quasis.push(s=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(r,"TemplateLiteral")};ae.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))};ae.parseObj=function(e,t){var r=this.startNode(),s=true,a={};r.properties=[];this.next();while(!this.eat(_.braceR)){if(!s){this.expect(_.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(_.braceR)){break}}else{s=false}var o=this.parseProperty(e,t);if(!e){this.checkPropClash(o,a,t)}r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};ae.parseProperty=function(e,t){var r=this.startNode(),s,a,o,u;if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis)){if(e){r.argument=this.parseIdent(false);if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(r,"RestElement")}if(this.type===_.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}r.argument=this.parseMaybeAssign(false,t);if(this.type===_.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(r,"SpreadElement")}if(this.options.ecmaVersion>=6){r.method=false;r.shorthand=false;if(e||t){o=this.start;u=this.startLoc}if(!e){s=this.eat(_.star)}}var c=this.containsEsc;this.parsePropertyName(r);if(!e&&!c&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(r)){a=true;s=this.options.ecmaVersion>=9&&this.eat(_.star);this.parsePropertyName(r,t)}else{a=false}this.parsePropertyValue(r,e,s,a,o,u,t,c);return this.finishNode(r,"Property")};ae.parsePropertyValue=function(e,t,r,s,a,o,u,c){if((r||s)&&this.type===_.colon){this.unexpected()}if(this.eat(_.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,u);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===_.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(r,s)}else if(!t&&!c&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==_.comma&&this.type!==_.braceR&&this.type!==_.eq)){if(r||s){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var h=e.kind==="get"?0:1;if(e.value.params.length!==h){var p=e.value.start;if(e.kind==="get"){this.raiseRecoverable(p,"getter should have no params")}else{this.raiseRecoverable(p,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(r||s){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=a}e.kind="init";if(t){e.value=this.parseMaybeDefault(a,o,this.copyNode(e.key))}else if(this.type===_.eq&&u){if(u.shorthandAssign<0){u.shorthandAssign=this.start}e.value=this.parseMaybeDefault(a,o,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};ae.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(_.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ae.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ae.parseMethod=function(e,t,r){var s=this.startNode(),a=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;this.initFunction(s);if(this.options.ecmaVersion>=6){s.generator=e}if(this.options.ecmaVersion>=8){s.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,s.generator)|V|(r?q:0));this.expect(_.parenL);s.params=this.parseBindingList(_.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(s,false,true);this.yieldPos=a;this.awaitPos=o;this.awaitIdentPos=u;return this.finishNode(s,"FunctionExpression")};ae.parseArrowExpression=function(e,t,r){var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.enterScope(functionFlags(r,false)|j);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!r}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=s;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,"ArrowFunctionExpression")};ae.parseFunctionBody=function(e,t,r){var s=t&&this.type!==_.braceL;var a=this.strict,o=false;if(s){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!a||u){o=this.strictDirective(this.end);if(o&&u){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var c=this.labels;this.labels=[];if(o){this.strict=true}this.checkParams(e,!a&&!o&&!t&&!r&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,z)}e.body=this.parseBlock(false,undefined,o&&!a);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=c}this.exitScope()};ae.isSimpleParamList=function(e){for(var t=0,r=e;t-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1;a.lexical.push(e);if(this.inModule&&a.flags&B){delete this.undefinedExports[e]}}else if(t===W){var o=this.currentScope();o.lexical.push(e)}else if(t===G){var u=this.currentScope();if(this.treatFunctionsAsVar){s=u.lexical.indexOf(e)>-1}else{s=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1}u.functions.push(e)}else{for(var c=this.scopeStack.length-1;c>=0;--c){var h=this.scopeStack[c];if(h.lexical.indexOf(e)>-1&&!(h.flags&M&&h.lexical[0]===e)||!this.treatFunctionsAsVarInScope(h)&&h.functions.indexOf(e)>-1){s=true;break}h.var.push(e);if(this.inModule&&h.flags&B){delete this.undefinedExports[e]}if(h.flags&O){break}}}if(s){this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")}};le.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};le.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};le.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&O){return t}}};le.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&O&&!(t.flags&j)){return t}}};var fe=function Node(e,t,r){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new R(e,r)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var he=K.prototype;he.startNode=function(){return new fe(this,this.start,this.startLoc)};he.startNodeAt=function(e,t){return new fe(this,e,t)};function finishNodeAt(e,t,r,s){e.type=t;e.end=r;if(this.options.locations){e.loc.end=s}if(this.options.ranges){e.range[1]=r}return e}he.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};he.finishNodeAt=function(e,t,r,s){return finishNodeAt.call(this,e,t,r,s)};he.copyNode=function(e){var t=new fe(this,e.start,this.startLoc);for(var r in e){t[r]=e[r]}return t};var pe=function TokContext(e,t,r,s,a){this.token=e;this.isExpr=!!t;this.preserveSpace=!!r;this.override=s;this.generator=!!a};var de={b_stat:new pe("{",false),b_expr:new pe("{",true),b_tmpl:new pe("${",false),p_stat:new pe("(",false),p_expr:new pe("(",true),q_tmpl:new pe("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new pe("function",false),f_expr:new pe("function",true),f_expr_gen:new pe("function",true,false,null,true),f_gen:new pe("function",false,false,null,true)};var ve=K.prototype;ve.initialContext=function(){return[de.b_stat]};ve.braceIsBlock=function(e){var t=this.curContext();if(t===de.f_expr||t===de.f_stat){return true}if(e===_.colon&&(t===de.b_stat||t===de.b_expr)){return!t.isExpr}if(e===_._return||e===_.name&&this.exprAllowed){return E.test(this.input.slice(this.lastTokEnd,this.start))}if(e===_._else||e===_.semi||e===_.eof||e===_.parenR||e===_.arrow){return true}if(e===_.braceL){return t===de.b_stat}if(e===_._var||e===_._const||e===_.name){return false}return!this.exprAllowed};ve.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ve.updateContext=function(e){var t,r=this.type;if(r.keyword&&e===_.dot){this.exprAllowed=false}else if(t=r.updateContext){t.call(this,e)}else{this.exprAllowed=r.beforeExpr}};_.parenR.updateContext=_.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===de.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?de.b_stat:de.b_expr);this.exprAllowed=true};_.dollarBraceL.updateContext=function(){this.context.push(de.b_tmpl);this.exprAllowed=true};_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?de.p_stat:de.p_expr);this.exprAllowed=true};_.incDec.updateContext=function(){};_._function.updateContext=_._class.updateContext=function(e){if(e.beforeExpr&&e!==_._else&&!(e===_.semi&&this.curContext()!==de.p_stat)&&!(e===_._return&&E.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===_.colon||e===_.braceL)&&this.curContext()===de.b_stat)){this.context.push(de.f_expr)}else{this.context.push(de.f_stat)}this.exprAllowed=false};_.backQuote.updateContext=function(){if(this.curContext()===de.q_tmpl){this.context.pop()}else{this.context.push(de.q_tmpl)}this.exprAllowed=false};_.star.updateContext=function(e){if(e===_._function){var t=this.context.length-1;if(this.context[t]===de.f_expr){this.context[t]=de.f_expr_gen}else{this.context[t]=de.f_gen}}this.exprAllowed=true};_.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==_.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var me="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var ge=me+" Extended_Pictographic";var be=ge;var ye=be+" EBase EComp EMod EPres ExtPict";var _e={9:me,10:ge,11:be,12:ye};var Ee="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var xe="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var we=xe+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var De=we+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ce=De+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Ae={9:xe,10:we,11:De,12:Ce};var Se={};function buildUnicodeData(e){var t=Se[e]={binary:wordsRegexp(_e[e]+" "+Ee),nonBinary:{General_Category:wordsRegexp(Ee),Script:wordsRegexp(Ae[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var ke=K.prototype;var Fe=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=Se[e.options.ecmaVersion>=12?12:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Fe.prototype.reset=function reset(e,t,r){var s=r.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=r;this.switchU=s&&this.parser.options.ecmaVersion>=6;this.switchN=s&&this.parser.options.ecmaVersion>=9};Fe.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Fe.prototype.at=function at(e,t){if(t===void 0)t=false;var r=this.source;var s=r.length;if(e>=s){return-1}var a=r.charCodeAt(e);if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=s){return a}var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a};Fe.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var r=this.source;var s=r.length;if(e>=s){return s}var a=r.charCodeAt(e),o;if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=s||(o=r.charCodeAt(e+1))<56320||o>57343){return e+1}return e+2};Fe.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Fe.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Fe.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Fe.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}ke.validateRegExpFlags=function(e){var t=e.validFlags;var r=e.flags;for(var s=0;s-1){this.raise(e.start,"Duplicate regular expression flag")}}};ke.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};ke.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,r=e.backReferenceNames;t=9){r=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!r;return true}}e.pos=t;return false};ke.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};ke.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};ke.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var s=0,a=-1;if(this.regexp_eatDecimalDigits(e)){s=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){a=e.lastIntValue}if(e.eat(125)){if(a!==-1&&a=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};ke.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};ke.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};ke.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}ke.regexp_eatPatternCharacters=function(e){var t=e.pos;var r=0;while((r=e.current())!==-1&&!isSyntaxCharacter(r)){e.advance()}return e.pos!==t};ke.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};ke.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};ke.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};ke.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};ke.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var r=this.options.ecmaVersion>=11;var s=e.current(r);e.advance(r);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)){s=e.lastIntValue}if(isRegExpIdentifierStart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}ke.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var r=this.options.ecmaVersion>=11;var s=e.current(r);e.advance(r);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)){s=e.lastIntValue}if(isRegExpIdentifierPart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}ke.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};ke.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU){if(r>e.maxBackReference){e.maxBackReference=r}return true}if(r<=e.numCapturingParens){return true}e.pos=t}return false};ke.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};ke.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};ke.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};ke.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};ke.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};ke.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}ke.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var r=e.pos;var s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(s&&a>=55296&&a<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343){e.lastIntValue=(a-55296)*1024+(u-56320)+65536;return true}}e.pos=o;e.lastIntValue=a}return true}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(s){e.raise("Invalid unicode escape")}e.pos=r}return false};function isValidUnicode(e){return e>=0&&e<=1114111}ke.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};ke.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};ke.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}ke.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,r,s);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,a);return true}return false};ke.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(r)){e.raise("Invalid property value")}};ke.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};ke.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}ke.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}ke.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};ke.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};ke.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;if(e.switchU&&(t===-1||r===-1)){e.raise("Invalid character class")}if(t!==-1&&r!==-1&&t>r){e.raise("Range out of order in character class")}}}};ke.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var r=e.current();if(r===99||isOctalDigit(r)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var s=e.current();if(s!==93){e.lastIntValue=s;e.advance();return true}return false};ke.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};ke.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};ke.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};ke.regexp_eatDecimalDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(isDecimalDigit(r=e.current())){e.lastIntValue=10*e.lastIntValue+(r-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}ke.regexp_eatHexDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(isHexDigit(r=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}ke.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+r*8+e.lastIntValue}else{e.lastIntValue=t*8+r}}else{e.lastIntValue=t}return true}return false};ke.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}ke.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length){return this.finishToken(_.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Te.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};Te.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=r+2;if(this.options.locations){x.lastIndex=t;var s;while((s=x.exec(this.input))&&s.index8&&e<14||e>=5760&&w.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Te.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var r=this.type;this.type=e;this.value=t;this.updateContext(r)};Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(_.ellipsis)}else{++this.pos;return this.finishToken(_.dot)}};Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(_.assign,2)}return this.finishOp(_.slash,1)};Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;var s=e===42?_.star:_.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++r;s=_.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(_.assign,r+1)}return this.finishOp(s,r)};Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(_.assign,3)}}return this.finishOp(e===124?_.logicalOR:_.logicalAND,2)}if(t===61){return this.finishOp(_.assign,2)}return this.finishOp(e===124?_.bitwiseOR:_.bitwiseAND,1)};Te.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(_.assign,2)}return this.finishOp(_.bitwiseXOR,1)};Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||E.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(_.incDec,2)}if(t===61){return this.finishOp(_.assign,2)}return this.finishOp(_.plusMin,1)};Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;if(t===e){r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+r)===61){return this.finishOp(_.assign,r+1)}return this.finishOp(_.bitShift,r)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){r=2}return this.finishOp(_.relational,r)};Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(_.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(_.arrow)}return this.finishOp(e===61?_.eq:_.prefix,1)};Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57){return this.finishOp(_.questionDot,2)}}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61){return this.finishOp(_.assign,3)}}return this.finishOp(_.coalesce,2)}}return this.finishOp(_.question,1)};Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(_.parenL);case 41:++this.pos;return this.finishToken(_.parenR);case 59:++this.pos;return this.finishToken(_.semi);case 44:++this.pos;return this.finishToken(_.comma);case 91:++this.pos;return this.finishToken(_.bracketL);case 93:++this.pos;return this.finishToken(_.bracketR);case 123:++this.pos;return this.finishToken(_.braceL);case 125:++this.pos;return this.finishToken(_.braceR);case 58:++this.pos;return this.finishToken(_.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Te.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,r)};Te.readRegexp=function(){var e,t,r=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(r,"Unterminated regular expression")}var s=this.input.charAt(this.pos);if(E.test(s)){this.raise(r,"Unterminated regular expression")}if(!e){if(s==="["){t=true}else if(s==="]"&&t){t=false}else if(s==="/"&&!t){break}e=s==="\\"}else{e=false}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos;var u=this.readWord1();if(this.containsEsc){this.unexpected(o)}var c=this.regexpState||(this.regexpState=new Fe(this));c.reset(r,a,u);this.validateRegExpFlags(c);this.validateRegExpPattern(c);var h=null;try{h=new RegExp(a,u)}catch(e){}return this.finishToken(_.regexp,{pattern:a,flags:u,value:h})};Te.readInt=function(e,t,r){var s=this.options.ecmaVersion>=12&&t===undefined;var a=r&&this.input.charCodeAt(this.pos)===48;var o=this.pos,u=0,c=0;for(var h=0,p=t==null?Infinity:t;h=97){v=d-97+10}else if(d>=65){v=d-65+10}else if(d>=48&&d<=57){v=d-48}else{v=Infinity}if(v>=e){break}c=d;u=u*e+v}if(s&&c===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===o||t!=null&&this.pos-o!==t){return null}return u};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);if(r==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){r=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(_.num,r)};Te.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(r&&this.strict){this.raise(t,"Invalid number")}var s=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&s===110){var a=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(_.num,a)}if(r&&/[89]/.test(this.input.slice(t,this.pos))){r=false}if(s===46&&!r){++this.pos;this.readInt(10);s=this.input.charCodeAt(this.pos)}if((s===69||s===101)&&!r){s=this.input.charCodeAt(++this.pos);if(s===43||s===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var o=stringToNumber(this.input.slice(t,this.pos),r);return this.finishToken(_.num,o)};Te.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(r,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Te.readString=function(e){var t="",r=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var s=this.input.charCodeAt(this.pos);if(s===e){break}if(s===92){t+=this.input.slice(r,this.pos);t+=this.readEscapedChar(false);r=this.pos}else{if(isNewLine(s,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(r,this.pos++);return this.finishToken(_.string,t)};var Ie={};Te.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ie){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ie}else{this.raise(e,t)}};Te.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===_.template||this.type===_.invalidTemplate)){if(r===36){this.pos+=2;return this.finishToken(_.dollarBraceL)}else{++this.pos;return this.finishToken(_.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(_.template,e)}if(r===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.pos);++this.pos;switch(r){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var a=parseInt(s,8);if(a>255){s=s.slice(0,-1);a=parseInt(s,8)}this.pos+=s.length-1;t=this.input.charCodeAt(this.pos);if((s!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(a)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Te.readHexChar=function(e){var t=this.pos;var r=this.readInt(16,e);if(r===null){this.invalidStringToken(t,"Bad character escape sequence")}return r};Te.readWord1=function(){this.containsEsc=false;var e="",t=true,r=this.pos;var s=this.options.ecmaVersion>=6;while(this.pos{"use strict";t.TrackerGroup=r(660);t.Tracker=r(8074);t.TrackerStream=r(1375)},165:(e,t,r)=>{"use strict";var s=r(8614).EventEmitter;var a=r(1669);var o=0;var u=e.exports=function(e){s.call(this);this.id=++o;this.name=e};a.inherits(u,s)},660:(e,t,r)=>{"use strict";var s=r(1669);var a=r(165);var o=r(8074);var u=r(1375);var c=e.exports=function(e){a.call(this,e);this.parentGroup=null;this.trackers=[];this.completion={};this.weight={};this.totalWeight=0;this.finished=false;this.bubbleChange=bubbleChange(this)};s.inherits(c,a);function bubbleChange(e){return function(t,r,s){e.completion[s.id]=r;if(e.finished)return;e.emit("change",t||e.name,e.completed(),e)}}c.prototype.nameInTree=function(){var e=[];var t=this;while(t){e.unshift(t.name);t=t.parentGroup}return e.join("/")};c.prototype.addUnit=function(e,t){if(e.addUnit){var r=this;while(r){if(e===r){throw new Error("Attempted to add tracker group "+e.name+" to tree that already includes it "+this.nameInTree(this))}r=r.parentGroup}e.parentGroup=this}this.weight[e.id]=t||1;this.totalWeight+=this.weight[e.id];this.trackers.push(e);this.completion[e.id]=e.completed();e.on("change",this.bubbleChange);if(!this.finished)this.emit("change",e.name,this.completion[e.id],e);return e};c.prototype.completed=function(){if(this.trackers.length===0)return 0;var e=1/this.totalWeight;var t=0;for(var r=0;r{"use strict";var s=r(1669);var a=r(1642);var o=r(1318);var u=r(8074);var c=e.exports=function(e,t,r){a.Transform.call(this,r);this.tracker=new u(e,t);this.name=e;this.id=this.tracker.id;this.tracker.on("change",delegateChange(this))};s.inherits(c,a.Transform);function delegateChange(e){return function(t,r,s){e.emit("change",t,r,e)}}c.prototype._transform=function(e,t,r){this.tracker.completeWork(e.length?e.length:1);this.push(e);r()};c.prototype._flush=function(e){this.tracker.finish();e()};o(c.prototype,"tracker").method("completed").method("addWork").method("finish")},8074:(e,t,r)=>{"use strict";var s=r(1669);var a=r(165);var o=e.exports=function(e,t){a.call(this,e);this.workDone=0;this.workTodo=t||0};s.inherits(o,a);o.prototype.completed=function(){return this.workTodo===0?0:this.workDone/this.workTodo};o.prototype.addWork=function(e){this.workTodo+=e;this.emit("change",this.name,this.completed(),this)};o.prototype.completeWork=function(e){this.workDone+=e;if(this.workDone>this.workTodo)this.workDone=this.workTodo;this.emit("change",this.name,this.completed(),this)};o.prototype.finish=function(){this.workTodo=this.workDone=1;this.emit("change",this.name,1,this)}},9417:e=>{"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var s=range(e,t,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+e.length,s[1]),post:r.slice(s[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var s,a,o,u,c;var h=r.indexOf(e);var p=r.indexOf(t,h+1);var d=h;if(h>=0&&p>0){s=[];o=r.length;while(d>=0&&!c){if(d==h){s.push(d);h=r.indexOf(e,d+1)}else if(s.length==1){c=[s.pop(),p]}else{a=s.pop();if(a=0?h:p}if(s.length){c=[o,u]}}return c}},8738:function(e){(function(t){"use strict";var r,s=20,a=1,o=1e6,u=1e6,c=-7,h=21,p="[big.js] ",d=p+"Invalid ",v=d+"decimal places",m=d+"rounding mode",g=p+"Division by zero",y={},_=void 0,E=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(e){var t=this;if(!(t instanceof Big))return e===_?_Big_():new Big(e);if(e instanceof Big){t.s=e.s;t.e=e.e;t.c=e.c.slice()}else{parse(t,e)}t.constructor=Big}Big.prototype=y;Big.DP=s;Big.RM=a;Big.NE=c;Big.PE=h;Big.version="5.2.2";return Big}function parse(e,t){var r,s,a;if(t===0&&1/t<0)t="-0";else if(!E.test(t+=""))throw Error(d+"number");e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1;if((r=t.indexOf("."))>-1)t=t.replace(".","");if((s=t.search(/e/i))>0){if(r<0)r=s;r+=+t.slice(s+1);t=t.substring(0,s)}else if(r<0){r=t.length}a=t.length;for(s=0;s0&&t.charAt(--a)=="0";);e.e=r-s-1;e.c=[];for(r=0;s<=a;)e.c[r++]=+t.charAt(s++)}return e}function round(e,t,r,s){var a=e.c,o=e.e+t+1;if(o=5}else if(r===2){s=a[o]>5||a[o]==5&&(s||o<0||a[o+1]!==_||a[o-1]&1)}else if(r===3){s=s||!!a[0]}else{s=false;if(r!==0)throw Error(m)}if(o<1){a.length=1;if(s){e.e=-t;a[0]=1}else{a[0]=e.e=0}}else{a.length=o--;if(s){for(;++a[o]>9;){a[o]=0;if(!o--){++e.e;a.unshift(1)}}}for(o=a.length;!a[--o];)a.pop()}}else if(r<0||r>3||r!==~~r){throw Error(m)}return e}function stringify(e,t,r,s){var a,u,c=e.constructor,h=!e.c[0];if(r!==_){if(r!==~~r||r<(t==3)||r>o){throw Error(t==3?d+"precision":v)}e=new c(e);r=s-e.e;if(e.c.length>++s)round(e,r,c.RM);if(t==2)s=e.e+r+1;for(;e.c.length=c.PE)){u=u.charAt(0)+(r>1?"."+u.slice(1):"")+(a<0?"e":"e+")+a}else if(a<0){for(;++a;)u="0"+u;u="0."+u}else if(a>0){if(++a>r)for(a-=r;a--;)u+="0";else if(a1){u=u.charAt(0)+"."+u.slice(1)}return e.s<0&&(!h||t==4)?"-"+u:u}y.abs=function(){var e=new this.constructor(this);e.s=1;return e};y.cmp=function(e){var t,r=this,s=r.c,a=(e=new r.constructor(e)).c,o=r.s,u=e.s,c=r.e,h=e.e;if(!s[0]||!a[0])return!s[0]?!a[0]?0:-u:o;if(o!=u)return o;t=o<0;if(c!=h)return c>h^t?1:-1;u=(c=s.length)<(h=a.length)?c:h;for(o=-1;++oa[o]^t?1:-1}return c==h?0:c>h^t?1:-1};y.div=function(e){var t=this,r=t.constructor,s=t.c,a=(e=new r(e)).c,u=t.s==e.s?1:-1,c=r.DP;if(c!==~~c||c<0||c>o)throw Error(v);if(!a[0])throw Error(g);if(!s[0])return new r(u*0);var h,p,d,m,y,E=a.slice(),x=h=a.length,w=s.length,D=s.slice(0,h),C=D.length,A=e,S=A.c=[],k=0,F=c+(A.e=t.e-e.e)+1;A.s=u;u=F<0?0:F;E.unshift(0);for(;C++C?1:-1}else{for(y=-1,m=0;++yD[y]?1:-1;break}}}if(m<0){for(p=C==h?a:E;C;){if(D[--C]F)round(A,c,r.RM,D[0]!==_);return A};y.eq=function(e){return!this.cmp(e)};y.gt=function(e){return this.cmp(e)>0};y.gte=function(e){return this.cmp(e)>-1};y.lt=function(e){return this.cmp(e)<0};y.lte=function(e){return this.cmp(e)<1};y.minus=y.sub=function(e){var t,r,s,a,o=this,u=o.constructor,c=o.s,h=(e=new u(e)).s;if(c!=h){e.s=-h;return o.plus(e)}var p=o.c.slice(),d=o.e,v=e.c,m=e.e;if(!p[0]||!v[0]){return v[0]?(e.s=-h,e):new u(p[0]?o:0)}if(c=d-m){if(a=c<0){c=-c;s=p}else{m=d;s=v}s.reverse();for(h=c;h--;)s.push(0);s.reverse()}else{r=((a=p.length0)for(;h--;)p[t++]=0;for(h=t;r>c;){if(p[--r]0){h=u;t=p}else{a=-a;t=c}t.reverse();for(;a--;)t.push(0);t.reverse()}if(c.length-p.length<0){t=p;p=c;c=t}a=p.length;for(o=0;a;c[a]%=10)o=(c[--a]=c[a]+p[a]+o)/10|0;if(o){c.unshift(o);++h}for(a=c.length;c[--a]===0;)c.pop();e.c=c;e.e=h;return e};y.pow=function(e){var t=this,r=new t.constructor(1),s=r,a=e<0;if(e!==~~e||e<-u||e>u)throw Error(d+"exponent");if(a)e=-e;for(;;){if(e&1)s=s.times(t);e>>=1;if(!e)break;t=t.times(t)}return a?r.div(s):s};y.round=function(e,t){var r=this.constructor;if(e===_)e=0;else if(e!==~~e||e<-o||e>o)throw Error(v);return round(new r(this),e,t===_?r.RM:t)};y.sqrt=function(){var e,t,r,s=this,a=s.constructor,o=s.s,u=s.e,c=new a(.5);if(!s.c[0])return new a(s);if(o<0)throw Error(p+"No square root");o=Math.sqrt(s+"");if(o===0||o===1/0){t=s.c.join("");if(!(t.length+u&1))t+="0";o=Math.sqrt(t);u=((u+1)/2|0)-(u<0||u&1);e=new a((o==1/0?"1e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+u)}else{e=new a(o)}u=e.e+(a.DP+=4);do{r=e;e=c.times(r.plus(s.div(r)))}while(r.c.slice(0,u).join("")!==e.c.slice(0,u).join(""));return round(e,a.DP-=4,a.RM)};y.times=y.mul=function(e){var t,r=this,s=r.constructor,a=r.c,o=(e=new s(e)).c,u=a.length,c=o.length,h=r.e,p=e.e;e.s=r.s==e.s?1:-1;if(!a[0]||!o[0])return new s(e.s*0);e.e=h+p;if(uh;){c=t[p]+o[h]*a[p-h-1]+c;t[p--]=c%10;c=c/10|0}t[p]=(t[p]+c)%10}if(c)++e.e;else t.shift();for(h=t.length;!t[--h];)t.pop();e.c=t;return e};y.toExponential=function(e){return stringify(this,1,e,e)};y.toFixed=function(e){return stringify(this,2,e,this.e+e)};y.toPrecision=function(e){return stringify(this,3,e,e-1)};y.toString=function(){return stringify(this)};y.valueOf=y.toJSON=function(){return stringify(this,4)};r=_Big_();r["default"]=r.Big=r;if(typeof define==="function"&&define.amd){define((function(){return r}))}else if(true&&e.exports){e.exports=r}else{t.Big=r}})(this)},8384:(module,exports,__nested_webpack_require_248061__)=>{var fs=__nested_webpack_require_248061__(5747),path=__nested_webpack_require_248061__(5622),fileURLToPath=__nested_webpack_require_248061__(912),join=path.join,dirname=path.dirname,exists=fs.accessSync&&function(e){try{fs.accessSync(e)}catch(e){return false}return true}||fs.existsSync||path.existsSync,defaults={arrow:process.env.NODE_BINDINGS_ARROW||" → ",compiled:process.env.NODE_BINDINGS_COMPILED_DIR||"compiled",platform:process.platform,arch:process.arch,nodePreGyp:"node-v"+process.versions.modules+"-"+process.platform+"-"+process.arch,version:process.versions.node,bindings:"bindings.node",try:[["module_root","build","bindings"],["module_root","build","Debug","bindings"],["module_root","build","Release","bindings"],["module_root","out","Debug","bindings"],["module_root","Debug","bindings"],["module_root","out","Release","bindings"],["module_root","Release","bindings"],["module_root","build","default","bindings"],["module_root","compiled","version","platform","arch","bindings"],["module_root","addon-build","release","install-root","bindings"],["module_root","addon-build","debug","install-root","bindings"],["module_root","addon-build","default","install-root","bindings"],["module_root","lib","binding","nodePreGyp","bindings"]]};function bindings(opts){if(typeof opts=="string"){opts={bindings:opts}}else if(!opts){opts={}}Object.keys(defaults).map((function(e){if(!(e in opts))opts[e]=defaults[e]}));if(!opts.module_root){opts.module_root=exports.getRoot(exports.getFileName())}if(path.extname(opts.bindings)!=".node"){opts.bindings+=".node"}var requireFunc=true?eval("require"):0;var tries=[],i=0,l=opts.try.length,n,b,err;for(;i{var s=r(6891);var a=r(9417);e.exports=expandTop;var o="\0SLASH"+Math.random()+"\0";var u="\0OPEN"+Math.random()+"\0";var c="\0CLOSE"+Math.random()+"\0";var h="\0COMMA"+Math.random()+"\0";var p="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(o).split("\\{").join(u).split("\\}").join(c).split("\\,").join(h).split("\\.").join(p)}function unescapeBraces(e){return e.split(o).join("\\").split(u).join("{").split(c).join("}").split(h).join(",").split(p).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=a("{","}",e);if(!r)return e.split(",");var s=r.pre;var o=r.body;var u=r.post;var c=s.split(",");c[c.length-1]+="{"+o+"}";var h=parseCommaParts(u);if(u.length){c[c.length-1]+=h.shift();c.push.apply(c,h)}t.push.apply(t,c);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var o=a("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body);var h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body);var p=u||h;var d=o.body.indexOf(",")>=0;if(!p&&!d){if(o.post.match(/,.*\}/)){e=o.pre+"{"+o.body+c+o.post;return expand(e)}return[e]}var v;if(p){v=o.body.split(/\.\./)}else{v=parseCommaParts(o.body);if(v.length===1){v=expand(v[0],false).map(embrace);if(v.length===1){var m=o.post.length?expand(o.post,false):[""];return m.map((function(e){return o.pre+v[0]+e}))}}}var g=o.pre;var m=o.post.length?expand(o.post,false):[""];var y;if(p){var _=numeric(v[0]);var E=numeric(v[1]);var x=Math.max(v[0].length,v[1].length);var w=v.length==3?Math.abs(numeric(v[2])):1;var D=lte;var C=E<_;if(C){w*=-1;D=gte}var A=v.some(isPadded);y=[];for(var S=_;D(S,E);S+=w){var k;if(h){k=String.fromCharCode(S);if(k==="\\")k=""}else{k=String(S);if(A){var F=x-k.length;if(F>0){var R=new Array(F+1).join("0");if(S<0)k="-"+R+k.slice(1);else k=R+k}}}y.push(k)}}else{y=s(v,(function(e){return expand(e,false)}))}for(var T=0;T{"use strict";e.exports=function(e,t){if(e===null||e===undefined){throw TypeError()}e=String(e);var r=e.length;var s=t?Number(t):0;if(Number.isNaN(s)){s=0}if(s<0||s>=r){return undefined}var a=e.charCodeAt(s);if(a>=55296&&a<=56319&&r>s+1){var o=e.charCodeAt(s+1);if(o>=56320&&o<=57343){return(a-55296)*1024+o-56320+65536}}return a}},6891:e=>{e.exports=function(e,r){var s=[];for(var a=0;a{"use strict";var r="[";t.up=function up(e){return r+(e||"")+"A"};t.down=function down(e){return r+(e||"")+"B"};t.forward=function forward(e){return r+(e||"")+"C"};t.back=function back(e){return r+(e||"")+"D"};t.nextLine=function nextLine(e){return r+(e||"")+"E"};t.previousLine=function previousLine(e){return r+(e||"")+"F"};t.horizontalAbsolute=function horizontalAbsolute(e){if(e==null)throw new Error("horizontalAboslute requires a column to position to");return r+e+"G"};t.eraseData=function eraseData(){return r+"J"};t.eraseLine=function eraseLine(){return r+"K"};t.goto=function(e,t){return r+t+";"+e+"H"};t.gotoSOL=function(){return"\r"};t.beep=function(){return""};t.hideCursor=function hideCursor(){return r+"?25l"};t.showCursor=function showCursor(){return r+"?25h"};var s={reset:0,bold:1,italic:3,underline:4,inverse:7,stopBold:22,stopItalic:23,stopUnderline:24,stopInverse:27,white:37,black:30,blue:34,cyan:36,green:32,magenta:35,red:31,yellow:33,bgWhite:47,bgBlack:40,bgBlue:44,bgCyan:46,bgGreen:42,bgMagenta:45,bgRed:41,bgYellow:43,grey:90,brightBlack:90,brightRed:91,brightGreen:92,brightYellow:93,brightBlue:94,brightMagenta:95,brightCyan:96,brightWhite:97,bgGrey:100,bgBrightBlack:100,bgBrightRed:101,bgBrightGreen:102,bgBrightYellow:103,bgBrightBlue:104,bgBrightMagenta:105,bgBrightCyan:106,bgBrightWhite:107};t.color=function color(e){if(arguments.length!==1||!Array.isArray(e)){e=Array.prototype.slice.call(arguments)}return r+e.map(colorNameToCode).join(";")+"m"};function colorNameToCode(e){if(s[e]!=null)return s[e];throw new Error("Unknown color or style name: "+e)}},5898:(e,t)=>{function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}t.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}t.isBoolean=isBoolean;function isNull(e){return e===null}t.isNull=isNull;function isNullOrUndefined(e){return e==null}t.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}t.isNumber=isNumber;function isString(e){return typeof e==="string"}t.isString=isString;function isSymbol(e){return typeof e==="symbol"}t.isSymbol=isSymbol;function isUndefined(e){return e===void 0}t.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}t.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}t.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.isError=isError;function isFunction(e){return typeof e==="function"}t.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=isPrimitive;t.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},1318:e=>{e.exports=Delegator;function Delegator(e,t){if(!(this instanceof Delegator))return new Delegator(e,t);this.proto=e;this.target=t;this.methods=[];this.getters=[];this.setters=[];this.fluents=[]}Delegator.prototype.method=function(e){var t=this.proto;var r=this.target;this.methods.push(e);t[e]=function(){return this[r][e].apply(this[r],arguments)};return this};Delegator.prototype.access=function(e){return this.getter(e).setter(e)};Delegator.prototype.getter=function(e){var t=this.proto;var r=this.target;this.getters.push(e);t.__defineGetter__(e,(function(){return this[r][e]}));return this};Delegator.prototype.setter=function(e){var t=this.proto;var r=this.target;this.setters.push(e);t.__defineSetter__(e,(function(t){return this[r][e]=t}));return this};Delegator.prototype.fluent=function(e){var t=this.proto;var r=this.target;this.fluents.push(e);t[e]=function(t){if("undefined"!=typeof t){this[r][e]=t;return this}else{return this[r][e]}};return this}},4889:(e,t,r)=>{"use strict";var s=r(2087).platform();var a=r(3129).spawnSync;var o=r(5747).readdirSync;var u="glibc";var c="musl";var h={encoding:"utf8",env:process.env};if(!a){a=function(){return{status:126,stdout:"",stderr:""}}}function contains(e){return function(t){return t.indexOf(e)!==-1}}function versionFromMuslLdd(e){return e.split(/[\r\n]+/)[1].trim().split(/\s/)[1]}function safeReaddirSync(e){try{return o(e)}catch(e){}return[]}var p="";var d="";var v="";if(s==="linux"){var m=a("getconf",["GNU_LIBC_VERSION"],h);if(m.status===0){p=u;d=m.stdout.trim().split(" ")[1];v="getconf"}else{var g=a("ldd",["--version"],h);if(g.status===0&&g.stdout.indexOf(c)!==-1){p=c;d=versionFromMuslLdd(g.stdout);v="ldd"}else if(g.status===1&&g.stderr.indexOf(c)!==-1){p=c;d=versionFromMuslLdd(g.stderr);v="ldd"}else{var y=safeReaddirSync("/lib");if(y.some(contains("-linux-gnu"))){p=u;v="filesystem"}else if(y.some(contains("libc.musl-"))){p=c;v="filesystem"}else if(y.some(contains("ld-musl-"))){p=c;v="filesystem"}else{var _=safeReaddirSync("/usr/sbin");if(_.some(contains("glibc"))){p=u;v="filesystem"}}}}}var E=p!==""&&p!==u;e.exports={GLIBC:u,MUSL:c,family:p,version:d,method:v,isNonGlibcLinux:E}},3887:e=>{e.exports=["🀄","🃏","🅰","🅱","🅾","🅿","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂","🈚","🈯","🈲","🈳","🈴","🈵","🈶","🈷","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡","🌤","🌥","🌦","🌧","🌨","🌩","🌪","🌫","🌬","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖","🎗","🎙","🎚","🎛","🎞","🎟","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌","🏍","🏎","🏏","🏐","🏑","🏒","🏓","🏔","🏕","🏖","🏗","🏘","🏙","🏚","🏛","🏜","🏝","🏞","🏟","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳","🏴‍☠️","🏴","🏵","🏷","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿","👀","👁‍🗨","👁","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪🏻","👪🏼","👪🏽","👪🏾","👪🏿","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯🏻‍♀️","👯🏻‍♂️","👯🏻","👯🏼‍♀️","👯🏼‍♂️","👯🏼","👯🏽‍♀️","👯🏽‍♂️","👯🏽","👯🏾‍♀️","👯🏾‍♂️","👯🏾","👯🏿‍♀️","👯🏿‍♂️","👯🏿","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉","🕊","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯","🕰","🕳","🕴🏻","🕴🏼","🕴🏽","🕴🏾","🕴🏿","🕴","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵","🕶","🕷","🕸","🕹","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇","🖊","🖋","🖌","🖍","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥","🖨","🖱","🖲","🖼","🗂","🗃","🗄","🗑","🗒","🗓","🗜","🗝","🗞","🗡","🗣","🗨","🗯","🗳","🗺","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍","🛎","🛏","🛐","🛑","🛒","🛠","🛡","🛢","🛣","🛤","🛥","🛩","🛫","🛬","🛰","🛳","🛴","🛵","🛶","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝🏻","🤝🏼","🤝🏽","🤝🏾","🤝🏿","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻","🤵🏼","🤵🏽","🤵🏾","🤵🏿","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼🏻‍♀️","🤼🏻‍♂️","🤼🏻","🤼🏼‍♀️","🤼🏼‍♂️","🤼🏼","🤼🏽‍♀️","🤼🏽‍♂️","🤼🏽","🤼🏾‍♀️","🤼🏾‍♂️","🤼🏾","🤼🏿‍♀️","🤼🏿‍♂️","🤼🏿","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🧀","‼","⁉","™","ℹ","↔","↕","↖","↗","↘","↙","↩","↪","#⃣","⌚","⌛","⌨","⏏","⏩","⏪","⏫","⏬","⏭","⏮","⏯","⏰","⏱","⏲","⏳","⏸","⏹","⏺","Ⓜ","▪","▫","▶","◀","◻","◼","◽","◾","☀","☁","☂","☃","☄","☎","☑","☔","☕","☘","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝","☠","☢","☣","☦","☪","☮","☯","☸","☹","☺","♀","♂","♈","♉","♊","♋","♌","♍","♎","♏","♐","♑","♒","♓","♠","♣","♥","♦","♨","♻","♿","⚒","⚓","⚔","⚕","⚖","⚗","⚙","⚛","⚜","⚠","⚡","⚪","⚫","⚰","⚱","⚽","⚾","⛄","⛅","⛈","⛎","⛏","⛑","⛓","⛔","⛩","⛪","⛰","⛱","⛲","⛳","⛴","⛵","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷","⛸","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹","⛺","⛽","✂","✅","✈","✉","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍","✏","✒","✔","✖","✝","✡","✨","✳","✴","❄","❇","❌","❎","❓","❔","❕","❗","❣","❤","➕","➖","➗","➡","➰","➿","⤴","⤵","*⃣","⬅","⬆","⬇","⬛","⬜","⭐","⭕","0⃣","〰","〽","1⃣","2⃣","㊗","㊙","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©","®",""]},6465:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";function walk(e,{enter:t,leave:r}){visit(e,null,t,r)}let t=false;const r={skip:()=>t=true};const s={};const a=Object.prototype.toString;function isArray(e){return a.call(e)==="[object Array]"}function visit(e,a,o,u,c,h){if(!e)return;if(o){const s=t;t=false;o.call(r,e,a,c,h);const u=t;t=s;if(u)return}const p=e.type&&s[e.type]||(s[e.type]=Object.keys(e).filter((t=>typeof e[t]==="object")));for(let t=0;t{var s=r(5622).sep||"/";e.exports=fileUriToPath;function fileUriToPath(e){if("string"!=typeof e||e.length<=7||"file://"!=e.substring(0,7)){throw new TypeError("must pass in a file:// URI to convert to a file path")}var t=decodeURI(e.substring(7));var r=t.indexOf("/");var a=t.substring(0,r);var o=t.substring(r+1);if("localhost"==a)a="";if(a){a=s+s+a}o=o.replace(/^(.+)\|/,"$1:");if(s=="\\"){o=o.replace(/\//g,"\\")}if(/^.+\:/.test(o)){}else{o=s+o}return a+o}},6863:(e,t,r)=>{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var s=r(5747);var a=s.realpath;var o=s.realpathSync;var u=process.version;var c=/^v[0-5]\./.test(u);var h=r(1734);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,r){if(c){return a(e,t,r)}if(typeof t==="function"){r=t;t=null}a(e,t,(function(s,a){if(newError(s)){h.realpath(e,t,r)}else{r(s,a)}}))}function realpathSync(e,t){if(c){return o(e,t)}try{return o(e,t)}catch(r){if(newError(r)){return h.realpathSync(e,t)}else{throw r}}}function monkeypatch(){s.realpath=realpath;s.realpathSync=realpathSync}function unmonkeypatch(){s.realpath=a;s.realpathSync=o}},1734:(e,t,r)=>{var s=r(5622);var a=process.platform==="win32";var o=r(5747);var u=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(u){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var c=s.normalize;if(a){var h=/(.*?)(?:[\/\\]+|$)/g}else{var h=/(.*?)(?:[\/]+|$)/g}if(a){var p=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var p=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=s.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var r=e,u={},c={};var d;var v;var m;var g;start();function start(){var t=p.exec(e);d=t[0].length;v=t[0];m=t[0];g="";if(a&&!c[m]){o.lstatSync(m);c[m]=true}}while(d=e.length){if(t)t[u]=e;return r(null,e)}h.lastIndex=v;var s=h.exec(e);y=m;m+=s[0];g=y+s[1];v=h.lastIndex;if(d[g]||t&&t[g]===g){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,g)){return gotResolvedLink(t[g])}return o.lstat(g,gotStat)}function gotStat(e,s){if(e)return r(e);if(!s.isSymbolicLink()){d[g]=true;if(t)t[g]=g;return process.nextTick(LOOP)}if(!a){var u=s.dev.toString(32)+":"+s.ino.toString(32);if(c.hasOwnProperty(u)){return gotTarget(null,c[u],g)}}o.stat(g,(function(e){if(e)return r(e);o.readlink(g,(function(e,t){if(!a)c[u]=t;gotTarget(e,t)}))}))}function gotTarget(e,a,o){if(e)return r(e);var u=s.resolve(y,a);if(t)t[o]=u;gotResolvedLink(u)}function gotResolvedLink(t){e=s.resolve(t,e.slice(v));start()}}},4369:(e,t,r)=>{"use strict";var s=r(5543);var a=r(6834);e.exports={activityIndicator:function(e,t,r){if(e.spun==null)return;return s(t,e.spun)},progressbar:function(e,t,r){if(e.completed==null)return;return a(t,r,e.completed)}}},7291:(e,t,r)=>{"use strict";var s=r(1669);var a=t.User=function User(e){var t=new Error(e);Error.captureStackTrace(t,User);t.code="EGAUGE";return t};t.MissingTemplateValue=function MissingTemplateValue(e,t){var r=new a(s.format('Missing template value "%s"',e.type));Error.captureStackTrace(r,MissingTemplateValue);r.template=e;r.values=t;return r};t.Internal=function Internal(e){var t=new Error(e);Error.captureStackTrace(t,Internal);t.code="EGAUGEINTERNAL";return t}},5586:e=>{"use strict";e.exports=isWin32()||isColorTerm();function isWin32(){return process.platform==="win32"}function isColorTerm(){var e=/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i;return!!process.env.COLORTERM||e.test(process.env.TERM)}},1800:(e,t,r)=>{"use strict";var s=r(7305);var a=r(5885);var o=r(5586);var u=r(4931);var c=r(6605);var h=r(5121);var p=r(9279);var d=r(6806);e.exports=Gauge;function callWith(e,t){return function(){return t.call(e)}}function Gauge(e,t){var r,a;if(e&&e.write){a=e;r=t||{}}else if(t&&t.write){a=t;r=e||{}}else{a=p.stderr;r=e||t||{}}this._status={spun:0,section:"",subsection:""};this._paused=false;this._disabled=true;this._showing=false;this._onScreen=false;this._needsRedraw=false;this._hideCursor=r.hideCursor==null?true:r.hideCursor;this._fixedFramerate=r.fixedFramerate==null?!/^v0\.8\./.test(p.version):r.fixedFramerate;this._lastUpdateAt=null;this._updateInterval=r.updateInterval==null?50:r.updateInterval;this._themes=r.themes||c;this._theme=r.theme;var o=this._computeTheme(r.theme);var u=r.template||[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",kerning:1,default:""},{type:"subsection",kerning:1,default:""}];this.setWriteTo(a,r.tty);var h=r.Plumbing||s;this._gauge=new h(o,u,this.getWidth());this._$$doRedraw=callWith(this,this._doRedraw);this._$$handleSizeChange=callWith(this,this._handleSizeChange);this._cleanupOnExit=r.cleanupOnExit==null||r.cleanupOnExit;this._removeOnExit=null;if(r.enabled||r.enabled==null&&this._tty&&this._tty.isTTY){this.enable()}else{this.disable()}}Gauge.prototype={};Gauge.prototype.isEnabled=function(){return!this._disabled};Gauge.prototype.setTemplate=function(e){this._gauge.setTemplate(e);if(this._showing)this._requestRedraw()};Gauge.prototype._computeTheme=function(e){if(!e)e={};if(typeof e==="string"){e=this._themes.getTheme(e)}else if(e&&(Object.keys(e).length===0||e.hasUnicode!=null||e.hasColor!=null)){var t=e.hasUnicode==null?a():e.hasUnicode;var r=e.hasColor==null?o:e.hasColor;e=this._themes.getDefault({hasUnicode:t,hasColor:r,platform:e.platform})}return e};Gauge.prototype.setThemeset=function(e){this._themes=e;this.setTheme(this._theme)};Gauge.prototype.setTheme=function(e){this._gauge.setTheme(this._computeTheme(e));if(this._showing)this._requestRedraw();this._theme=e};Gauge.prototype._requestRedraw=function(){this._needsRedraw=true;if(!this._fixedFramerate)this._doRedraw()};Gauge.prototype.getWidth=function(){return(this._tty&&this._tty.columns||80)-1};Gauge.prototype.setWriteTo=function(e,t){var r=!this._disabled;if(r)this.disable();this._writeTo=e;this._tty=t||e===p.stderr&&p.stdout.isTTY&&p.stdout||e.isTTY&&e||this._tty;if(this._gauge)this._gauge.setWidth(this.getWidth());if(r)this.enable()};Gauge.prototype.enable=function(){if(!this._disabled)return;this._disabled=false;if(this._tty)this._enableEvents();if(this._showing)this.show()};Gauge.prototype.disable=function(){if(this._disabled)return;if(this._showing){this._lastUpdateAt=null;this._showing=false;this._doRedraw();this._showing=true}this._disabled=true;if(this._tty)this._disableEvents()};Gauge.prototype._enableEvents=function(){if(this._cleanupOnExit){this._removeOnExit=u(callWith(this,this.disable))}this._tty.on("resize",this._$$handleSizeChange);if(this._fixedFramerate){this.redrawTracker=h(this._$$doRedraw,this._updateInterval);if(this.redrawTracker.unref)this.redrawTracker.unref()}};Gauge.prototype._disableEvents=function(){this._tty.removeListener("resize",this._$$handleSizeChange);if(this._fixedFramerate)clearInterval(this.redrawTracker);if(this._removeOnExit)this._removeOnExit()};Gauge.prototype.hide=function(e){if(this._disabled)return e&&p.nextTick(e);if(!this._showing)return e&&p.nextTick(e);this._showing=false;this._doRedraw();e&&d(e)};Gauge.prototype.show=function(e,t){this._showing=true;if(typeof e==="string"){this._status.section=e}else if(typeof e==="object"){var r=Object.keys(e);for(var s=0;s{"use strict";function isArguments(e){return e!=null&&typeof e==="object"&&e.hasOwnProperty("callee")}var t={"*":{label:"any",check:function(){return true}},A:{label:"array",check:function(e){return Array.isArray(e)||isArguments(e)}},S:{label:"string",check:function(e){return typeof e==="string"}},N:{label:"number",check:function(e){return typeof e==="number"}},F:{label:"function",check:function(e){return typeof e==="function"}},O:{label:"object",check:function(e){return typeof e==="object"&&e!=null&&!t.A.check(e)&&!t.E.check(e)}},B:{label:"boolean",check:function(e){return typeof e==="boolean"}},E:{label:"error",check:function(e){return e instanceof Error}},Z:{label:"null",check:function(e){return e==null}}};function addSchema(e,t){var r=t[e.length]=t[e.length]||[];if(r.indexOf(e)===-1)r.push(e)}var r=e.exports=function(e,r){if(arguments.length!==2)throw wrongNumberOfArgs(["SA"],arguments.length);if(!e)throw missingRequiredArg(0,"rawSchemas");if(!r)throw missingRequiredArg(1,"args");if(!t.S.check(e))throw invalidType(0,["string"],e);if(!t.A.check(r))throw invalidType(1,["array"],r);var s=e.split("|");var a={};s.forEach((function(e){for(var r=0;r{"use strict";var s=r(6325);e.exports=function(e){if(s(e)){return false}if(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false}},6529:(e,t,r)=>{"use strict";var s=r(5591);var a=r(8929);var o=r(3737);e.exports=function(e){if(typeof e!=="string"||e.length===0){return 0}var t=0;e=s(e);for(var r=0;r=127&&u<=159){continue}if(u>=65536){r++}if(o(u)){t+=2}else{t++}}return t}},7305:(e,t,r)=>{"use strict";var s=r(3645);var a=r(3444);var o=r(4186);var u=e.exports=function(e,t,r){if(!r)r=80;o("OAN",[e,t,r]);this.showing=false;this.theme=e;this.width=r;this.template=t};u.prototype={};u.prototype.setTheme=function(e){o("O",[e]);this.theme=e};u.prototype.setTemplate=function(e){o("A",[e]);this.template=e};u.prototype.setWidth=function(e){o("N",[e]);this.width=e};u.prototype.hide=function(){return s.gotoSOL()+s.eraseLine()};u.prototype.hideCursor=s.hideCursor;u.prototype.showCursor=s.showCursor;u.prototype.show=function(e){var t=Object.create(this.theme);for(var r in e){t[r]=e[r]}return a(this.width,this.template,t).trim()+s.color("reset")+s.eraseLine()+s.gotoSOL()}},9279:e=>{"use strict";e.exports=process},6834:(e,t,r)=>{"use strict";var s=r(4186);var a=r(3444);var o=r(8413);var u=r(6529);e.exports=function(e,t,r){s("ONN",[e,t,r]);if(r<0)r=0;if(r>1)r=1;if(t<=0)return"";var o=Math.round(t*r);var u=t-o;var c=[{type:"complete",value:repeat(e.complete,o),length:o},{type:"remaining",value:repeat(e.remaining,u),length:u}];return a(t,c,e)};function repeat(e,t){var r="";var s=t;do{if(s%2){r+=e}s=Math.floor(s/2);e+=e}while(s&&u(r){"use strict";var s=r(8034);var a=r(4186);var o=r(7426);var u=r(8413);var c=r(7291);var h=r(2131);function renderValueWithValues(e){return function(t){return renderValue(t,e)}}var p=e.exports=function(e,t,r){var a=prepareItems(e,t,r);var o=a.map(renderValueWithValues(r)).join("");return s.left(u(o,e),e)};function preType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"pre"+t}function postType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"post"+t}function hasPreOrPost(e,t){if(!e.type)return;return t[preType(e)]||t[postType(e)]}function generatePreAndPost(e,t){var r=o({},e);var s=Object.create(t);var a=[];var u=preType(r);var c=postType(r);if(s[u]){a.push({value:s[u]});s[u]=null}r.minLength=null;r.length=null;r.maxLength=null;a.push(r);s[r.type]=s[r.type];if(s[c]){a.push({value:s[c]});s[c]=null}return function(e,t,r){return p(r,a,s)}}function prepareItems(e,t,r){function cloneAndObjectify(t,s,a){var o=new h(t,e);var u=o.type;if(o.value==null){if(!(u in r)){if(o.default==null){throw new c.MissingTemplateValue(o,r)}else{o.value=o.default}}else{o.value=r[u]}}if(o.value==null||o.value==="")return null;o.index=s;o.first=s===0;o.last=s===a.length-1;if(hasPreOrPost(o,r))o.value=generatePreAndPost(o,r);return o}var s=t.map(cloneAndObjectify).filter((function(e){return e!=null}));var a=0;var o=e;var u=s.length;function consumeSpace(e){if(e>o)e=o;a+=e;o-=e}function finishSizing(e,t){if(e.finished)throw new c.Internal("Tried to finish template item that was already finished");if(t===Infinity)throw new c.Internal("Length of template item cannot be infinity");if(t!=null)e.length=t;e.minLength=null;e.maxLength=null;--u;e.finished=true;if(e.length==null)e.length=e.getBaseLength();if(e.length==null)throw new c.Internal("Finished template items must have a length");consumeSpace(e.getLength())}s.forEach((function(e){if(!e.kerning)return;var t=e.first?0:s[e.index-1].padRight;if(!e.first&&t=v){finishSizing(e,e.minLength);d=true}}))}while(d&&p++{"use strict";var s=r(9279);try{e.exports=setImmediate}catch(t){e.exports=s.nextTick}},5121:e=>{"use strict";e.exports=setInterval},5543:e=>{"use strict";e.exports=function spin(e,t){return e[t%e.length]}},2131:(e,t,r)=>{"use strict";var s=r(6529);e.exports=TemplateItem;function isPercent(e){if(typeof e!=="string")return false;return e.slice(-1)==="%"}function percent(e){return Number(e.slice(0,-1))/100}function TemplateItem(e,t){this.overallOutputLength=t;this.finished=false;this.type=null;this.value=null;this.length=null;this.maxLength=null;this.minLength=null;this.kerning=null;this.align="left";this.padLeft=0;this.padRight=0;this.index=null;this.first=null;this.last=null;if(typeof e==="string"){this.value=e}else{for(var r in e)this[r]=e[r]}if(isPercent(this.length)){this.length=Math.round(this.overallOutputLength*percent(this.length))}if(isPercent(this.minLength)){this.minLength=Math.round(this.overallOutputLength*percent(this.minLength))}if(isPercent(this.maxLength)){this.maxLength=Math.round(this.overallOutputLength*percent(this.maxLength))}return this}TemplateItem.prototype={};TemplateItem.prototype.getBaseLength=function(){var e=this.length;if(e==null&&typeof this.value==="string"&&this.maxLength==null&&this.minLength==null){e=s(this.value)}return e};TemplateItem.prototype.getLength=function(){var e=this.getBaseLength();if(e==null)return null;return e+this.padLeft+this.padRight};TemplateItem.prototype.getMaxLength=function(){if(this.maxLength==null)return null;return this.maxLength+this.padLeft+this.padRight};TemplateItem.prototype.getMinLength=function(){if(this.minLength==null)return null;return this.minLength+this.padLeft+this.padRight}},1519:(e,t,r)=>{"use strict";var s=r(7426);e.exports=function(){return a.newThemeSet()};var a={};a.baseTheme=r(4369);a.newTheme=function(e,t){if(!t){t=e;e=this.baseTheme}return s({},e,t)};a.getThemeNames=function(){return Object.keys(this.themes)};a.addTheme=function(e,t,r){this.themes[e]=this.newTheme(t,r)};a.addToAllThemes=function(e){var t=this.themes;Object.keys(t).forEach((function(r){s(t[r],e)}));s(this.baseTheme,e)};a.getTheme=function(e){if(!this.themes[e])throw this.newMissingThemeError(e);return this.themes[e]};a.setDefault=function(e,t){if(t==null){t=e;e={}}var r=e.platform==null?"fallback":e.platform;var s=!!e.hasUnicode;var a=!!e.hasColor;if(!this.defaults[r])this.defaults[r]={true:{},false:{}};this.defaults[r][s][a]=t};a.getDefault=function(e){if(!e)e={};var t=e.platform||process.platform;var r=this.defaults[t]||this.defaults.fallback;var a=!!e.hasUnicode;var o=!!e.hasColor;if(!r)throw this.newMissingDefaultThemeError(t,a,o);if(!r[a][o]){if(a&&o&&r[!a][o]){a=false}else if(a&&o&&r[a][!o]){o=false}else if(a&&o&&r[!a][!o]){a=false;o=false}else if(a&&!o&&r[!a][o]){a=false}else if(!a&&o&&r[a][!o]){o=false}else if(r===this.defaults.fallback){throw this.newMissingDefaultThemeError(t,a,o)}}if(r[a][o]){return this.getTheme(r[a][o])}else{return this.getDefault(s({},e,{platform:"fallback"}))}};a.newMissingThemeError=function newMissingThemeError(e){var t=new Error('Could not find a gauge theme named "'+e+'"');Error.captureStackTrace.call(t,newMissingThemeError);t.theme=e;t.code="EMISSINGTHEME";return t};a.newMissingDefaultThemeError=function newMissingDefaultThemeError(e,t,r){var s=new Error("Could not find a gauge theme for your platform/unicode/color use combo:\n"+" platform = "+e+"\n"+" hasUnicode = "+t+"\n"+" hasColor = "+r);Error.captureStackTrace.call(s,newMissingDefaultThemeError);s.platform=e;s.hasUnicode=t;s.hasColor=r;s.code="EMISSINGTHEME";return s};a.newThemeSet=function(){var themeset=function(e){return themeset.getDefault(e)};return s(themeset,a,{themes:s({},this.themes),baseTheme:s({},this.baseTheme),defaults:JSON.parse(JSON.stringify(this.defaults||{}))})}},6605:(e,t,r)=>{"use strict";var s=r(3645);var a=r(1519);var o=e.exports=new a;o.addTheme("ASCII",{preProgressbar:"[",postProgressbar:"]",progressbarTheme:{complete:"#",remaining:"."},activityIndicatorTheme:"-\\|/",preSubsection:">"});o.addTheme("colorASCII",o.getTheme("ASCII"),{progressbarTheme:{preComplete:s.color("inverse"),complete:" ",postComplete:s.color("stopInverse"),preRemaining:s.color("brightBlack"),remaining:".",postRemaining:s.color("reset")}});o.addTheme("brailleSpinner",{preProgressbar:"⸨",postProgressbar:"⸩",progressbarTheme:{complete:"░",remaining:"⠂"},activityIndicatorTheme:"⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏",preSubsection:">"});o.addTheme("colorBrailleSpinner",o.getTheme("brailleSpinner"),{progressbarTheme:{preComplete:s.color("inverse"),complete:" ",postComplete:s.color("stopInverse"),preRemaining:s.color("brightBlack"),remaining:"░",postRemaining:s.color("reset")}});o.setDefault({},"ASCII");o.setDefault({hasColor:true},"colorASCII");o.setDefault({platform:"darwin",hasUnicode:true},"brailleSpinner");o.setDefault({platform:"darwin",hasUnicode:true,hasColor:true},"colorBrailleSpinner")},8413:(e,t,r)=>{"use strict";var s=r(6529);var a=r(5591);e.exports=wideTruncate;function wideTruncate(e,t){if(s(e)===0)return e;if(t<=0)return"";if(s(e)<=t)return e;var r=a(e);var o=e.length+r.length;var u=e.slice(0,t+o);while(s(u)>t){u=u.slice(0,-1)}return u}},7625:(e,t,r)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var s=r(5622);var a=r(3973);var o=r(8714);var u=a.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new u(r,{dot:true})}return{matcher:new u(e,{dot:true}),gmatcher:t}}function setopts(e,t,r){if(!r)r={};if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!r.silent;e.pattern=t;e.strict=r.strict!==false;e.realpath=!!r.realpath;e.realpathCache=r.realpathCache||Object.create(null);e.follow=!!r.follow;e.dot=!!r.dot;e.mark=!!r.mark;e.nodir=!!r.nodir;if(e.nodir)e.mark=true;e.sync=!!r.sync;e.nounique=!!r.nounique;e.nonull=!!r.nonull;e.nosort=!!r.nosort;e.nocase=!!r.nocase;e.stat=!!r.stat;e.noprocess=!!r.noprocess;e.absolute=!!r.absolute;e.maxLength=r.maxLength||Infinity;e.cache=r.cache||Object.create(null);e.statCache=r.statCache||Object.create(null);e.symlinks=r.symlinks||Object.create(null);setupIgnores(e,r);e.changedCwd=false;var a=process.cwd();if(!ownProp(r,"cwd"))e.cwd=a;else{e.cwd=s.resolve(r.cwd);e.changedCwd=e.cwd!==a}e.root=r.root||s.resolve(e.cwd,"/");e.root=s.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=o(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;e.minimatch=new u(t,r);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var r=t?[]:Object.create(null);for(var s=0,a=e.matches.length;s{e.exports=glob;var s=r(5747);var a=r(6863);var o=r(3973);var u=o.Minimatch;var c=r(4124);var h=r(8614).EventEmitter;var p=r(5622);var d=r(2357);var v=r(8714);var m=r(9010);var g=r(7625);var y=g.alphasort;var _=g.alphasorti;var E=g.setopts;var x=g.ownProp;var w=r(2492);var D=r(1669);var C=g.childrenIgnored;var A=g.isIgnored;var S=r(1223);function glob(e,t,r){if(typeof t==="function")r=t,t={};if(!t)t={};if(t.sync){if(r)throw new TypeError("callback provided to sync glob");return m(e,t)}return new Glob(e,t,r)}glob.sync=m;var k=glob.GlobSync=m.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var r=Object.keys(t);var s=r.length;while(s--){e[r[s]]=t[r[s]]}return e}glob.hasMagic=function(e,t){var r=extend({},t);r.noprocess=true;var s=new Glob(e,r);var a=s.minimatch.set;if(!e)return false;if(a.length>1)return true;for(var o=0;othis.maxLength)return t();if(!this.stat&&x(this.cache,r)){var o=this.cache[r];if(Array.isArray(o))o="DIR";if(!a||o==="DIR")return t(null,o);if(a&&o==="FILE")return t()}var u;var c=this.statCache[r];if(c!==undefined){if(c===false)return t(null,c);else{var h=c.isDirectory()?"DIR":"FILE";if(a&&h==="FILE")return t();else return t(null,h,c)}}var p=this;var d=w("stat\0"+r,lstatcb_);if(d)s.lstat(r,d);function lstatcb_(a,o){if(o&&o.isSymbolicLink()){return s.stat(r,(function(s,a){if(s)p._stat2(e,r,null,o,t);else p._stat2(e,r,s,a,t)}))}else{p._stat2(e,r,a,o,t)}}};Glob.prototype._stat2=function(e,t,r,s,a){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[t]=false;return a()}var o=e.slice(-1)==="/";this.statCache[t]=s;if(t.slice(-1)==="/"&&s&&!s.isDirectory())return a(null,false,s);var u=true;if(s)u=s.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||u;if(o&&u==="FILE")return a();return a(null,u,s)}},9010:(e,t,r)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var s=r(5747);var a=r(6863);var o=r(3973);var u=o.Minimatch;var c=r(1957).Glob;var h=r(1669);var p=r(5622);var d=r(2357);var v=r(8714);var m=r(7625);var g=m.alphasort;var y=m.alphasorti;var _=m.setopts;var E=m.ownProp;var x=m.childrenIgnored;var w=m.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);_(this,e,t);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var s=0;sthis.maxLength)return false;if(!this.stat&&E(this.cache,t)){var a=this.cache[t];if(Array.isArray(a))a="DIR";if(!r||a==="DIR")return a;if(r&&a==="FILE")return false}var o;var u=this.statCache[t];if(!u){var c;try{c=s.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(c&&c.isSymbolicLink()){try{u=s.statSync(t)}catch(e){u=c}}else{u=c}}this.statCache[t]=u;var a=true;if(u)a=u.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||a;if(r&&a==="FILE")return false;return a};GlobSync.prototype._mark=function(e){return m.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return m.makeAbs(this,e)}},7356:e=>{"use strict";e.exports=clone;function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:e.__proto__};else var t=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}));return t}},7758:(e,t,r)=>{var s=r(5747);var a=r(263);var o=r(3086);var u=r(7356);var c=[];var h=r(1669);function noop(){}var p=noop;if(h.debuglog)p=h.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))p=function(){var e=h.format.apply(h,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){p(c);r(2357).equal(c.length,0)}))}e.exports=patch(u(s));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!s.__patched){e.exports=patch(s);s.__patched=true}e.exports.close=function(e){return function(t,r){return e.call(s,t,(function(e){if(!e)retry();if(typeof r==="function")r.apply(this,arguments)}))}}(s.close);e.exports.closeSync=function(e){return function(t){var r=e.apply(s,arguments);retry();return r}}(s.closeSync);if(!/\bgraceful-fs\b/.test(s.closeSync.toString())){s.closeSync=e.exports.closeSync;s.close=e.exports.close}function patch(e){a(e);e.gracefulify=patch;e.FileReadStream=ReadStream;e.FileWriteStream=WriteStream;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,r,s){if(typeof r==="function")s=r,r=null;return go$readFile(e,r,s);function go$readFile(e,r,s){return t(e,r,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,r,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}}))}}var r=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,s,a){if(typeof s==="function")a=s,s=null;return go$writeFile(e,t,s,a);function go$writeFile(e,t,s,a){return r(e,t,s,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$writeFile,[e,t,s,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var s=e.appendFile;if(s)e.appendFile=appendFile;function appendFile(e,t,r,a){if(typeof r==="function")a=r,r=null;return go$appendFile(e,t,r,a);function go$appendFile(e,t,r,a){return s(e,t,r,(function(s){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$appendFile,[e,t,r,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var u=e.readdir;e.readdir=readdir;function readdir(e,t,r){var s=[e];if(typeof t!=="function"){s.push(t)}else{r=t}s.push(go$readdir$cb);return go$readdir(s);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[s]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}}}function go$readdir(t){return u.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var c=o(e);ReadStream=c.ReadStream;WriteStream=c.WriteStream}var h=e.ReadStream;if(h){ReadStream.prototype=Object.create(h.prototype);ReadStream.prototype.open=ReadStream$open}var p=e.WriteStream;if(p){WriteStream.prototype=Object.create(p.prototype);WriteStream.prototype.open=WriteStream$open}e.ReadStream=ReadStream;e.WriteStream=WriteStream;function ReadStream(e,t){if(this instanceof ReadStream)return h.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return p.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r)}}))}function createReadStream(e,t){return new ReadStream(e,t)}function createWriteStream(e,t){return new WriteStream(e,t)}var d=e.open;e.open=open;function open(e,t,r,s){if(typeof r==="function")s=r,r=null;return go$open(e,t,r,s);function go$open(e,t,r,s){return d(e,t,r,(function(a,o){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[e,t,r,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}}))}}return e}function enqueue(e){p("ENQUEUE",e[0].name,e[1]);c.push(e)}function retry(){var e=c.shift();if(e){p("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},3086:(e,t,r)=>{var s=r(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,r){if(!(this instanceof ReadStream))return new ReadStream(t,r);s.call(this);var a=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;r=r||{};var o=Object.keys(r);for(var u=0,c=o.length;uthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){a._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){a.emit("error",e);a.readable=false;return}a.fd=t;a.emit("open",t);a._read()}))}function WriteStream(t,r){if(!(this instanceof WriteStream))return new WriteStream(t,r);s.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;r=r||{};var a=Object.keys(r);for(var o=0,u=a.length;o= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},263:(e,t,r)=>{var s=r(7619);var a=process.cwd;var o=null;var u=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!o)o=a.call(process);return o};try{process.cwd()}catch(e){}var c=process.chdir;process.chdir=function(e){o=null;c.call(process,e)};e.exports=patch;function patch(e){if(s.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,r){if(r)process.nextTick(r)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,r,s){if(s)process.nextTick(s)};e.lchownSync=function(){}}if(u==="win32"){e.rename=function(t){return function(r,s,a){var o=Date.now();var u=0;t(r,s,(function CB(c){if(c&&(c.code==="EACCES"||c.code==="EPERM")&&Date.now()-o<6e4){setTimeout((function(){e.stat(s,(function(e,o){if(e&&e.code==="ENOENT")t(r,s,CB);else a(c)}))}),u);if(u<100)u+=10;return}if(a)a(c)}))}}(e.rename)}e.read=function(t){return function(r,s,a,o,u,c){var h;if(c&&typeof c==="function"){var p=0;h=function(d,v,m){if(d&&d.code==="EAGAIN"&&p<10){p++;return t.call(e,r,s,a,o,u,h)}c.apply(this,arguments)}}return t.call(e,r,s,a,o,u,h)}}(e.read);e.readSync=function(t){return function(r,s,a,o,u){var c=0;while(true){try{return t.call(e,r,s,a,o,u)}catch(e){if(e.code==="EAGAIN"&&c<10){c++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,r,a){e.open(t,s.O_WRONLY|s.O_SYMLINK,r,(function(t,s){if(t){if(a)a(t);return}e.fchmod(s,r,(function(t){e.close(s,(function(e){if(a)a(t||e)}))}))}))};e.lchmodSync=function(t,r){var a=e.openSync(t,s.O_WRONLY|s.O_SYMLINK,r);var o=true;var u;try{u=e.fchmodSync(a,r);o=false}finally{if(o){try{e.closeSync(a)}catch(e){}}else{e.closeSync(a)}}return u}}function patchLutimes(e){if(s.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,r,a,o){e.open(t,s.O_SYMLINK,(function(t,s){if(t){if(o)o(t);return}e.futimes(s,r,a,(function(t){e.close(s,(function(e){if(o)o(t||e)}))}))}))};e.lutimesSync=function(t,r,a){var o=e.openSync(t,s.O_SYMLINK);var u;var c=true;try{u=e.futimesSync(o,r,a);c=false}finally{if(c){try{e.closeSync(o)}catch(e){}}else{e.closeSync(o)}}return u}}else{e.lutimes=function(e,t,r,s){if(s)process.nextTick(s)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(r,s,a){return t.call(e,r,s,(function(e){if(chownErOk(e))e=null;if(a)a.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(r,s){try{return t.call(e,r,s)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(r,s,a,o){return t.call(e,r,s,a,(function(e){if(chownErOk(e))e=null;if(o)o.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(r,s,a){try{return t.call(e,r,s,a)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(r,s){return t.call(e,r,(function(e,t){if(!t)return s.apply(this,arguments);if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296;if(s)s.apply(this,arguments)}))}}function statFixSync(t){if(!t)return t;return function(r){var s=t.call(e,r);if(s.uid<0)s.uid+=4294967296;if(s.gid<0)s.gid+=4294967296;return s}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},5885:(e,t,r)=>{"use strict";var s=r(2087);var a=e.exports=function(){if(s.type()=="Windows_NT"){return false}var e=/UTF-?8$/i;var t=process.env.LC_ALL||process.env.LC_CTYPE||process.env.LANG;return e.test(t)}},2492:(e,t,r)=>{var s=r(2940);var a=Object.create(null);var o=r(1223);e.exports=s(inflight);function inflight(e,t){if(a[e]){a[e].push(t);return null}else{a[e]=[t];return makeres(e)}}function makeres(e){return o((function RES(){var t=a[e];var r=t.length;var s=slice(arguments);try{for(var o=0;or){t.splice(0,r);process.nextTick((function(){RES.apply(null,s)}))}else{delete a[e]}}}))}function slice(e){var t=e.length;var r=[];for(var s=0;s{try{var s=r(1669);if(typeof s.inherits!=="function")throw"";e.exports=s.inherits}catch(t){e.exports=r(8544)}},8544:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},4882:e=>{"use strict";e.exports=e=>{if(Number.isNaN(e)){return false}if(e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false}},893:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},6904:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(7583);var a=_interopRequireDefault(s);var o=r(749);var u=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default={parse:a.default,stringify:u.default};e.exports=t["default"]},7583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=parse;var a=r(7393);var o=_interopRequireWildcard(a);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}var u=void 0;var c=void 0;var h=void 0;var p=void 0;var d=void 0;var v=void 0;var m=void 0;var g=void 0;var y=void 0;function parse(e,t){u=String(e);c="start";h=[];p=0;d=1;v=0;m=undefined;g=undefined;y=undefined;do{m=lex();A[c]()}while(m.type!=="eof");if(typeof t==="function"){return internalize({"":y},"",t)}return y}function internalize(e,t,r){var a=e[t];if(a!=null&&(typeof a==="undefined"?"undefined":s(a))==="object"){for(var o in a){var u=internalize(a,o,r);if(u===undefined){delete a[o]}else{a[o]=u}}}return r.call(e,t,a)}var _=void 0;var E=void 0;var x=void 0;var w=void 0;var D=void 0;function lex(){_="default";E="";x=false;w=1;for(;;){D=peek();var e=C[_]();if(e){return e}}}function peek(){if(u[p]){return String.fromCodePoint(u.codePointAt(p))}}function read(){var e=peek();if(e==="\n"){d++;v=0}else if(e){v+=e.length}else{v++}if(e){p+=e.length}return e}var C={default:function _default(){switch(D){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();_="comment";return;case undefined:read();return newToken("eof")}if(o.isSpaceSeparator(D)){read();return}return C[c]()},comment:function comment(){switch(D){case"*":read();_="multiLineComment";return;case"/":read();_="singleLineComment";return}throw invalidChar(read())},multiLineComment:function multiLineComment(){switch(D){case"*":read();_="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk:function multiLineCommentAsterisk(){switch(D){case"*":read();return;case"/":read();_="default";return;case undefined:throw invalidChar(read())}read();_="multiLineComment"},singleLineComment:function singleLineComment(){switch(D){case"\n":case"\r":case"\u2028":case"\u2029":read();_="default";return;case undefined:read();return newToken("eof")}read()},value:function value(){switch(D){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){w=-1}_="sign";return;case".":E=read();_="decimalPointLeading";return;case"0":E=read();_="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":E=read();_="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":x=read()==='"';E="";_="string";return}throw invalidChar(read())},identifierNameStartEscape:function identifierNameStartEscape(){if(D!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!o.isIdStartChar(e)){throw invalidIdentifier()}break}E+=e;_="identifierName"},identifierName:function identifierName(){switch(D){case"$":case"_":case"‌":case"‍":E+=read();return;case"\\":read();_="identifierNameEscape";return}if(o.isIdContinueChar(D)){E+=read();return}return newToken("identifier",E)},identifierNameEscape:function identifierNameEscape(){if(D!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!o.isIdContinueChar(e)){throw invalidIdentifier()}break}E+=e;_="identifierName"},sign:function sign(){switch(D){case".":E=read();_="decimalPointLeading";return;case"0":E=read();_="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":E=read();_="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",w*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero:function zero(){switch(D){case".":E+=read();_="decimalPoint";return;case"e":case"E":E+=read();_="decimalExponent";return;case"x":case"X":E+=read();_="hexadecimal";return}return newToken("numeric",w*0)},decimalInteger:function decimalInteger(){switch(D){case".":E+=read();_="decimalPoint";return;case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},decimalPointLeading:function decimalPointLeading(){if(o.isDigit(D)){E+=read();_="decimalFraction";return}throw invalidChar(read())},decimalPoint:function decimalPoint(){switch(D){case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();_="decimalFraction";return}return newToken("numeric",w*Number(E))},decimalFraction:function decimalFraction(){switch(D){case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},decimalExponent:function decimalExponent(){switch(D){case"+":case"-":E+=read();_="decimalExponentSign";return}if(o.isDigit(D)){E+=read();_="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign:function decimalExponentSign(){if(o.isDigit(D)){E+=read();_="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger:function decimalExponentInteger(){if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},hexadecimal:function hexadecimal(){if(o.isHexDigit(D)){E+=read();_="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger:function hexadecimalInteger(){if(o.isHexDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},string:function string(){switch(D){case"\\":read();E+=escape();return;case'"':if(x){read();return newToken("string",E)}E+=read();return;case"'":if(!x){read();return newToken("string",E)}E+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(D);break;case undefined:throw invalidChar(read())}E+=read()},start:function start(){switch(D){case"{":case"[":return newToken("punctuator",read())}_="value"},beforePropertyName:function beforePropertyName(){switch(D){case"$":case"_":E=read();_="identifierName";return;case"\\":read();_="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":x=read()==='"';_="string";return}if(o.isIdStartChar(D)){E+=read();_="identifierName";return}throw invalidChar(read())},afterPropertyName:function afterPropertyName(){if(D===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue:function beforePropertyValue(){_="value"},afterPropertyValue:function afterPropertyValue(){switch(D){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue:function beforeArrayValue(){if(D==="]"){return newToken("punctuator",read())}_="value"},afterArrayValue:function afterArrayValue(){switch(D){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end:function end(){throw invalidChar(read())}};function newToken(e,t){return{type:e,value:t,line:d,column:v}}function literal(e){var t=true;var r=false;var s=undefined;try{for(var a=e[Symbol.iterator](),o;!(t=(o=a.next()).done);t=true){var u=o.value;var c=peek();if(c!==u){throw invalidChar(read())}read()}}catch(e){r=true;s=e}finally{try{if(!t&&a.return){a.return()}}finally{if(r){throw s}}}}function escape(){var e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(o.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){var e="";var t=peek();if(!o.isHexDigit(t)){throw invalidChar(read())}e+=read();t=peek();if(!o.isHexDigit(t)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){var e="";var t=4;while(t-- >0){var r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}var A={start:function start(){if(m.type==="eof"){throw invalidEOF()}push()},beforePropertyName:function beforePropertyName(){switch(m.type){case"identifier":case"string":g=m.value;c="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName:function afterPropertyName(){if(m.type==="eof"){throw invalidEOF()}c="beforePropertyValue"},beforePropertyValue:function beforePropertyValue(){if(m.type==="eof"){throw invalidEOF()}push()},beforeArrayValue:function beforeArrayValue(){if(m.type==="eof"){throw invalidEOF()}if(m.type==="punctuator"&&m.value==="]"){pop();return}push()},afterPropertyValue:function afterPropertyValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":c="beforePropertyName";return;case"}":pop()}},afterArrayValue:function afterArrayValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":c="beforeArrayValue";return;case"]":pop()}},end:function end(){}};function push(){var e=void 0;switch(m.type){case"punctuator":switch(m.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=m.value;break}if(y===undefined){y=e}else{var t=h[h.length-1];if(Array.isArray(t)){t.push(e)}else{t[g]=e}}if(e!==null&&(typeof e==="undefined"?"undefined":s(e))==="object"){h.push(e);if(Array.isArray(e)){c="beforeArrayValue"}else{c="beforePropertyName"}}else{var r=h[h.length-1];if(r==null){c="end"}else if(Array.isArray(r)){c="afterArrayValue"}else{c="afterPropertyValue"}}}function pop(){h.pop();var e=h[h.length-1];if(e==null){c="end"}else if(Array.isArray(e)){c="afterArrayValue"}else{c="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError("JSON5: invalid end of input at "+d+":"+v)}return syntaxError("JSON5: invalid character '"+formatChar(e)+"' at "+d+":"+v)}function invalidEOF(){return syntaxError("JSON5: invalid end of input at "+d+":"+v)}function invalidIdentifier(){v-=5;return syntaxError("JSON5: invalid identifier character at "+d+":"+v)}function separatorChar(e){console.warn("JSON5: '"+e+"' is not valid ECMAScript; consider escaping")}function formatChar(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e]){return t[e]}if(e<" "){var r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function syntaxError(e){var t=new SyntaxError(e);t.lineNumber=d;t.columnNumber=v;return t}e.exports=t["default"]},749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=stringify;var a=r(7393);var o=_interopRequireWildcard(a);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}function stringify(e,t,r){var a=[];var u="";var c=void 0;var h=void 0;var p="";var d=void 0;if(t!=null&&(typeof t==="undefined"?"undefined":s(t))==="object"&&!Array.isArray(t)){r=t.space;d=t.quote;t=t.replacer}if(typeof t==="function"){h=t}else if(Array.isArray(t)){c=[];var v=true;var m=false;var g=undefined;try{for(var y=t[Symbol.iterator](),_;!(v=(_=y.next()).done);v=true){var E=_.value;var x=void 0;if(typeof E==="string"){x=E}else if(typeof E==="number"||E instanceof String||E instanceof Number){x=String(E)}if(x!==undefined&&c.indexOf(x)<0){c.push(x)}}}catch(e){m=true;g=e}finally{try{if(!v&&y.return){y.return()}}finally{if(m){throw g}}}}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}if(typeof r==="number"){if(r>0){r=Math.min(10,Math.floor(r));p=" ".substr(0,r)}}else if(typeof r==="string"){p=r.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,t){var r=t[e];if(r!=null){if(typeof r.toJSON5==="function"){r=r.toJSON5(e)}else if(typeof r.toJSON==="function"){r=r.toJSON(e)}}if(h){r=h.call(t,e,r)}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}else if(r instanceof Boolean){r=r.valueOf()}switch(r){case null:return"null";case true:return"true";case false:return"false"}if(typeof r==="string"){return quoteString(r,false)}if(typeof r==="number"){return String(r)}if((typeof r==="undefined"?"undefined":s(r))==="object"){return Array.isArray(r)?serializeArray(r):serializeObject(r)}return undefined}function quoteString(e){var t={"'":.1,'"':.2};var r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var s="";var a=true;var o=false;var u=undefined;try{for(var c=e[Symbol.iterator](),h;!(a=(h=c.next()).done);a=true){var p=h.value;switch(p){case"'":case'"':t[p]++;s+=p;continue}if(r[p]){s+=r[p];continue}if(p<" "){var v=p.charCodeAt(0).toString(16);s+="\\x"+("00"+v).substring(v.length);continue}s+=p}}catch(e){o=true;u=e}finally{try{if(!a&&c.return){c.return()}}finally{if(o){throw u}}}var m=d||Object.keys(t).reduce((function(e,r){return t[e]=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);var t=u;u=u+p;var r=c||Object.keys(e);var s=[];var o=true;var h=false;var d=undefined;try{for(var v=r[Symbol.iterator](),m;!(o=(m=v.next()).done);o=true){var g=m.value;var y=serializeProperty(g,e);if(y!==undefined){var _=serializeKey(g)+":";if(p!==""){_+=" "}_+=y;s.push(_)}}}catch(e){h=true;d=e}finally{try{if(!o&&v.return){v.return()}}finally{if(h){throw d}}}var E=void 0;if(s.length===0){E="{}"}else{var x=void 0;if(p===""){x=s.join(",");E="{"+x+"}"}else{var w=",\n"+u;x=s.join(w);E="{\n"+u+x+",\n"+t+"}"}}a.pop();u=t;return E}function serializeKey(e){if(e.length===0){return quoteString(e,true)}var t=String.fromCodePoint(e.codePointAt(0));if(!o.isIdStartChar(t)){return quoteString(e,true)}for(var r=t.length;r=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);var t=u;u=u+p;var r=[];for(var s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=t.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var s=t.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/;var a=t.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},7393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isSpaceSeparator=isSpaceSeparator;t.isIdStartChar=isIdStartChar;t.isIdContinueChar=isIdContinueChar;t.isDigit=isDigit;t.isHexDigit=isHexDigit;var s=r(1927);var a=_interopRequireWildcard(s);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}function isSpaceSeparator(e){return a.Space_Separator.test(e)}function isIdStartChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||a.ID_Start.test(e)}function isIdContinueChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||a.ID_Continue.test(e)}function isDigit(e){return/[0-9]/.test(e)}function isHexDigit(e){return/[0-9A-Fa-f]/.test(e)}},2821:e=>{"use strict";function getCurrentRequest(e){if(e.currentRequest){return e.currentRequest}const t=e.loaders.slice(e.loaderIndex).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getCurrentRequest},3567:(e,t,r)=>{"use strict";const s={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(e,t){const a=s[t];if(!a){throw new Error("Unknown encoding base"+t)}const o=e.length;const u=r(8738);u.RM=u.DP=0;let c=new u(0);for(let t=o-1;t>=0;t--){c=c.times(256).plus(e[t])}let h="";while(c.gt(0)){h=a[c.mod(t)]+h;c=c.div(t)}u.DP=20;u.RM=1;return h}function getHashDigest(e,t,s,a){t=t||"md5";a=a||9999;const o=r(6417).createHash(t);o.update(e);if(s==="base26"||s==="base32"||s==="base36"||s==="base49"||s==="base52"||s==="base58"||s==="base62"||s==="base64"){return encodeBufferToBase(o.digest(),s.substr(4)).substr(0,a)}else{return o.digest(s||"hex").substr(0,a)}}e.exports=getHashDigest},6445:(e,t,r)=>{"use strict";const s=r(5867);function getOptions(e){const t=e.query;if(typeof t==="string"&&t!==""){return s(e.query)}if(!t||typeof t!=="object"){return null}return t}e.exports=getOptions},8715:e=>{"use strict";function getRemainingRequest(e){if(e.remainingRequest){return e.remainingRequest}const t=e.loaders.slice(e.loaderIndex+1).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getRemainingRequest},3432:(e,t,r)=>{"use strict";const s=r(6445);const a=r(5867);const o=r(4252);const u=r(8715);const c=r(2821);const h=r(507);const p=r(2685);const d=r(5784);const v=r(3567);const m=r(939);t.getOptions=s;t.parseQuery=a;t.stringifyRequest=o;t.getRemainingRequest=u;t.getCurrentRequest=c;t.isUrlRequest=h;t.urlToRequest=p;t.parseString=d;t.getHashDigest=v;t.interpolateName=m},939:(e,t,r)=>{"use strict";const s=r(5622);const a=r(3887);const o=r(3567);const u=/[\uD800-\uDFFF]./;const c=a.filter((e=>u.test(e)));const h={};function encodeStringToEmoji(e,t){if(h[e]){return h[e]}t=t||1;const r=[];do{if(!c.length){throw new Error("Ran out of emoji")}const e=Math.floor(Math.random()*c.length);r.push(c[e]);c.splice(e,1)}while(--t>0);const s=r.join("");h[e]=s;return s}function interpolateName(e,t,r){let a;if(typeof t==="function"){a=t(e.resourcePath)}else{a=t||"[hash].[ext]"}const u=r.context;const c=r.content;const h=r.regExp;let p="bin";let d="file";let v="";let m="";if(e.resourcePath){const t=s.parse(e.resourcePath);let r=e.resourcePath;if(t.ext){p=t.ext.substr(1)}if(t.dir){d=t.name;r=t.dir+s.sep}if(typeof u!=="undefined"){v=s.relative(u,r+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");v=v.substr(0,v.length-1)}else{v=r.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(v.length===1){v=""}else if(v.length>1){m=s.basename(v)}}let g=a;if(c){g=g.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((e,t,r,s)=>o(c,t,r,parseInt(s,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((e,t)=>encodeStringToEmoji(c,parseInt(t,10))))}g=g.replace(/\[ext\]/gi,(()=>p)).replace(/\[name\]/gi,(()=>d)).replace(/\[path\]/gi,(()=>v)).replace(/\[folder\]/gi,(()=>m));if(h&&e.resourcePath){const t=e.resourcePath.match(new RegExp(h));t&&t.forEach(((e,t)=>{g=g.replace(new RegExp("\\["+t+"\\]","ig"),e)}))}if(typeof e.options==="object"&&typeof e.options.customInterpolateName==="function"){g=e.options.customInterpolateName.call(e,g,t,r)}return g}e.exports=interpolateName},507:(e,t,r)=>{"use strict";const s=r(5622);function isUrlRequest(e,t){if(/^[a-z][a-z0-9+.-]*:/i.test(e)&&!s.win32.isAbsolute(e)){return false}if(/^\/\//.test(e)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(e)){return false}if((t===undefined||t===false)&&/^\//.test(e)){return false}return true}e.exports=isUrlRequest},5867:(e,t,r)=>{"use strict";const s=r(6904);const a={null:null,true:true,false:false};function parseQuery(e){if(e.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}e=e.substr(1);if(!e){return{}}if(e.substr(0,1)==="{"&&e.substr(-1)==="}"){return s.parse(e)}const t=e.split(/[,&]/g);const r={};t.forEach((e=>{const t=e.indexOf("=");if(t>=0){let s=e.substr(0,t);let o=decodeURIComponent(e.substr(t+1));if(a.hasOwnProperty(o)){o=a[o]}if(s.substr(-2)==="[]"){s=decodeURIComponent(s.substr(0,s.length-2));if(!Array.isArray(r[s])){r[s]=[]}r[s].push(o)}else{s=decodeURIComponent(s);r[s]=o}}else{if(e.substr(0,1)==="-"){r[decodeURIComponent(e.substr(1))]=false}else if(e.substr(0,1)==="+"){r[decodeURIComponent(e.substr(1))]=true}else{r[decodeURIComponent(e)]=true}}}));return r}e.exports=parseQuery},5784:e=>{"use strict";function parseString(e){try{if(e[0]==='"'){return JSON.parse(e)}if(e[0]==="'"&&e.substr(e.length-1)==="'"){return parseString(e.replace(/\\.|"/g,(e=>e==='"'?'\\"':e)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+e+'"')}catch(t){return e}}e.exports=parseString},4252:(e,t,r)=>{"use strict";const s=r(5622);const a=/^\.\.?[/\\]/;function isAbsolutePath(e){return s.posix.isAbsolute(e)||s.win32.isAbsolute(e)}function isRelativePath(e){return a.test(e)}function stringifyRequest(e,t){const r=t.split("!");const a=e.context||e.options&&e.options.context;return JSON.stringify(r.map((e=>{const t=e.match(/^(.*?)(\?.*)/);const r=t?t[2]:"";let o=t?t[1]:e;if(isAbsolutePath(o)&&a){o=s.relative(a,o);if(isAbsolutePath(o)){return o+r}if(isRelativePath(o)===false){o="./"+o}}return o.replace(/\\/g,"/")+r})).join("!"))}e.exports=stringifyRequest},2685:e=>{"use strict";const t=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(e,r){if(e===""){return""}const s=/^[^?]*~/;let a;if(t.test(e)){a=e}else if(r!==undefined&&r!==false&&/^\//.test(e)){switch(typeof r){case"string":if(s.test(r)){a=r.replace(/([^~/])$/,"$1/")+e.slice(1)}else{a=r+e}break;case"boolean":a=e;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+e+", root = "+r+".")}}else if(/^\.\.?\//.test(e)){a=e}else{a="./"+e}if(s.test(a)){a=a.replace(s,"")}return a}e.exports=urlToRequest},5734:(e,t,r)=>{"use strict";var s=r(4957);var a=function Chunk(e,t,r){this.start=e;this.end=t;this.original=r;this.intro="";this.outro="";this.content=r;this.storeName=false;this.edited=false;Object.defineProperties(this,{previous:{writable:true,value:null},next:{writable:true,value:null}})};a.prototype.appendLeft=function appendLeft(e){this.outro+=e};a.prototype.appendRight=function appendRight(e){this.intro=this.intro+e};a.prototype.clone=function clone(){var e=new a(this.start,this.end,this.original);e.intro=this.intro;e.outro=this.outro;e.content=this.content;e.storeName=this.storeName;e.edited=this.edited;return e};a.prototype.contains=function contains(e){return this.start=s.length){return"\t"}var a=s.reduce((function(e,t){var r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),Infinity);return new Array(a+1).join(" ")}function getRelativePath(e,t){var r=e.split(/[/\\]/);var s=t.split(/[/\\]/);r.pop();while(r[0]===s[0]){r.shift();s.shift()}if(r.length){var a=r.length;while(a--){r[a]=".."}}return r.concat(s).join("/")}var u=Object.prototype.toString;function isObject(e){return u.call(e)==="[object Object]"}function getLocator(e){var t=e.split("\n");var r=[];for(var s=0,a=0;s>1;if(e=0){a.push(s)}this.rawSegments.push(a)}else if(this.pending){this.rawSegments.push(this.pending)}this.advance(t);this.pending=null};c.prototype.addUneditedChunk=function addUneditedChunk(e,t,r,s,a){var o=t.start;var u=true;while(o1){for(var r=0;r=e&&r<=t){throw new Error("Cannot move a selection inside itself")}this._split(e);this._split(t);this._split(r);var s=this.byStart[e];var a=this.byEnd[t];var o=s.previous;var u=a.next;var c=this.byStart[r];if(!c&&a===this.lastChunk){return this}var h=c?c.previous:this.lastChunk;if(o){o.next=u}if(u){u.previous=o}if(h){h.next=s}if(c){c.previous=a}if(!s.previous){this.firstChunk=a.next}if(!a.next){this.lastChunk=s.previous;this.lastChunk.next=null}s.previous=h;a.next=c||null;if(!h){this.firstChunk=s}if(!c){this.lastChunk=a}return this};d.prototype.overwrite=function overwrite(e,t,r,s){if(typeof r!=="string"){throw new TypeError("replacement content must be a string")}while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}if(t>this.original.length){throw new Error("end is out of bounds")}if(e===t){throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead")}this._split(e);this._split(t);if(s===true){if(!p.storeName){console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string");p.storeName=true}s={storeName:true}}var o=s!==undefined?s.storeName:false;var u=s!==undefined?s.contentOnly:false;if(o){var c=this.original.slice(e,t);this.storedNames[c]=true}var h=this.byStart[e];var d=this.byEnd[t];if(h){if(t>h.end&&h.next!==this.byStart[h.end]){throw new Error("Cannot overwrite across a split point")}h.edit(r,o,u);if(h!==d){var v=h.next;while(v!==d){v.edit("",false);v=v.next}v.edit("",false)}}else{var m=new a(e,t,"").edit(r,o);d.next=m;m.previous=d}return this};d.prototype.prepend=function prepend(e){if(typeof e!=="string"){throw new TypeError("outro content must be a string")}this.intro=e+this.intro;return this};d.prototype.prependLeft=function prependLeft(e,t){if(typeof t!=="string"){throw new TypeError("inserted content must be a string")}this._split(e);var r=this.byEnd[e];if(r){r.prependLeft(t)}else{this.intro=t+this.intro}return this};d.prototype.prependRight=function prependRight(e,t){if(typeof t!=="string"){throw new TypeError("inserted content must be a string")}this._split(e);var r=this.byStart[e];if(r){r.prependRight(t)}else{this.outro=t+this.outro}return this};d.prototype.remove=function remove(e,t){while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}if(e===t){return this}if(e<0||t>this.original.length){throw new Error("Character is out of bounds")}if(e>t){throw new Error("end must be greater than start")}this._split(e);this._split(t);var r=this.byStart[e];while(r){r.intro="";r.outro="";r.edit("");r=t>r.end?this.byStart[r.end]:null}return this};d.prototype.lastChar=function lastChar(){if(this.outro.length){return this.outro[this.outro.length-1]}var e=this.lastChunk;do{if(e.outro.length){return e.outro[e.outro.length-1]}if(e.content.length){return e.content[e.content.length-1]}if(e.intro.length){return e.intro[e.intro.length-1]}}while(e=e.previous);if(this.intro.length){return this.intro[this.intro.length-1]}return""};d.prototype.lastLine=function lastLine(){var e=this.outro.lastIndexOf(h);if(e!==-1){return this.outro.substr(e+1)}var t=this.outro;var r=this.lastChunk;do{if(r.outro.length>0){e=r.outro.lastIndexOf(h);if(e!==-1){return r.outro.substr(e+1)+t}t=r.outro+t}if(r.content.length>0){e=r.content.lastIndexOf(h);if(e!==-1){return r.content.substr(e+1)+t}t=r.content+t}if(r.intro.length>0){e=r.intro.lastIndexOf(h);if(e!==-1){return r.intro.substr(e+1)+t}t=r.intro+t}}while(r=r.previous);e=this.intro.lastIndexOf(h);if(e!==-1){return this.intro.substr(e+1)+t}return this.intro+t};d.prototype.slice=function slice(e,t){if(e===void 0)e=0;if(t===void 0)t=this.original.length;while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}var r="";var s=this.firstChunk;while(s&&(s.start>e||s.end<=e)){if(s.start=t){return r}s=s.next}if(s&&s.edited&&s.start!==e){throw new Error("Cannot use replaced character "+e+" as slice start anchor.")}var a=s;while(s){if(s.intro&&(a!==s||s.start===e)){r+=s.intro}var o=s.start=t;if(o&&s.edited&&s.end!==t){throw new Error("Cannot use replaced character "+t+" as slice end anchor.")}var u=a===s?e-s.start:0;var c=o?s.content.length+t-s.end:s.content.length;r+=s.content.slice(u,c);if(s.outro&&(!o||s.end===t)){r+=s.outro}if(o){break}s=s.next}return r};d.prototype.snip=function snip(e,t){var r=this.clone();r.remove(0,e);r.remove(t,r.original.length);return r};d.prototype._split=function _split(e){if(this.byStart[e]||this.byEnd[e]){return}var t=this.lastSearchedChunk;var r=e>t.end;while(t){if(t.contains(e)){return this._splitChunk(t,e)}t=r?this.byStart[t.end]:this.byEnd[t.start]}};d.prototype._splitChunk=function _splitChunk(e,t){if(e.edited&&e.content.length){var r=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' – "'+e.original+'")')}var s=e.split(t);this.byEnd[t]=e;this.byStart[t]=s;this.byEnd[s.end]=s;if(e===this.lastChunk){this.lastChunk=s}this.lastSearchedChunk=e;return true};d.prototype.toString=function toString(){var e=this.intro;var t=this.firstChunk;while(t){e+=t.toString();t=t.next}return e+this.outro};d.prototype.isEmpty=function isEmpty(){var e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim()){return false}}while(e=e.next);return true};d.prototype.length=function length(){var e=this.firstChunk;var length=0;do{length+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return length};d.prototype.trimLines=function trimLines(){return this.trim("[\\r\\n]")};d.prototype.trim=function trim(e){return this.trimStart(e).trimEnd(e)};d.prototype.trimEndAborted=function trimEndAborted(e){var t=new RegExp((e||"\\s")+"+$");this.outro=this.outro.replace(t,"");if(this.outro.length){return true}var r=this.lastChunk;do{var s=r.end;var a=r.trimEnd(t);if(r.end!==s){if(this.lastChunk===r){this.lastChunk=r.next}this.byEnd[r.end]=r;this.byStart[r.next.start]=r.next;this.byEnd[r.next.end]=r.next}if(a){return true}r=r.previous}while(r);return false};d.prototype.trimEnd=function trimEnd(e){this.trimEndAborted(e);return this};d.prototype.trimStartAborted=function trimStartAborted(e){var t=new RegExp("^"+(e||"\\s")+"+");this.intro=this.intro.replace(t,"");if(this.intro.length){return true}var r=this.firstChunk;do{var s=r.end;var a=r.trimStart(t);if(r.end!==s){if(r===this.lastChunk){this.lastChunk=r.next}this.byEnd[r.end]=r;this.byStart[r.next.start]=r.next;this.byEnd[r.next.end]=r.next}if(a){return true}r=r.next}while(r);return false};d.prototype.trimStart=function trimStart(e){this.trimStartAborted(e);return this};var v=Object.prototype.hasOwnProperty;var m=function Bundle(e){if(e===void 0)e={};this.intro=e.intro||"";this.separator=e.separator!==undefined?e.separator:"\n";this.sources=[];this.uniqueSources=[];this.uniqueSourceIndexByFilename={}};m.prototype.addSource=function addSource(e){if(e instanceof d){return this.addSource({content:e,filename:e.filename,separator:this.separator})}if(!isObject(e)||!e.content){throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`")}["filename","indentExclusionRanges","separator"].forEach((function(t){if(!v.call(e,t)){e[t]=e.content[t]}}));if(e.separator===undefined){e.separator=this.separator}if(e.filename){if(!v.call(this.uniqueSourceIndexByFilename,e.filename)){this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length;this.uniqueSources.push({filename:e.filename,content:e.content.original})}else{var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content){throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}}}this.sources.push(e);return this};m.prototype.append=function append(e,t){this.addSource({content:new d(e),separator:t&&t.separator||""});return this};m.prototype.clone=function clone(){var e=new m({intro:this.intro,separator:this.separator});this.sources.forEach((function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}));return e};m.prototype.generateDecodedMap=function generateDecodedMap(e){var t=this;if(e===void 0)e={};var r=[];this.sources.forEach((function(e){Object.keys(e.content.storedNames).forEach((function(e){if(!~r.indexOf(e)){r.push(e)}}))}));var s=new c(e.hires);if(this.intro){s.advance(this.intro)}this.sources.forEach((function(e,a){if(a>0){s.advance(t.separator)}var o=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1;var u=e.content;var c=getLocator(u.original);if(u.intro){s.advance(u.intro)}u.firstChunk.eachNext((function(t){var a=c(t.start);if(t.intro.length){s.advance(t.intro)}if(e.filename){if(t.edited){s.addEdit(o,t.content,a,t.storeName?r.indexOf(t.original):-1)}else{s.addUneditedChunk(o,t,u.original,a,u.sourcemapLocations)}}else{s.advance(t.content)}if(t.outro.length){s.advance(t.outro)}}));if(u.outro){s.advance(u.outro)}}));return{file:e.file?e.file.split(/[/\\]/).pop():null,sources:this.uniqueSources.map((function(t){return e.file?getRelativePath(e.file,t.filename):t.filename})),sourcesContent:this.uniqueSources.map((function(t){return e.includeContent?t.content:null})),names:r,mappings:s.raw}};m.prototype.generateMap=function generateMap(e){return new o(this.generateDecodedMap(e))};m.prototype.getIndentString=function getIndentString(){var e={};this.sources.forEach((function(t){var r=t.content.indentStr;if(r===null){return}if(!e[r]){e[r]=0}e[r]+=1}));return Object.keys(e).sort((function(t,r){return e[t]-e[r]}))[0]||"\t"};m.prototype.indent=function indent(e){var t=this;if(!arguments.length){e=this.getIndentString()}if(e===""){return this}var r=!this.intro||this.intro.slice(-1)==="\n";this.sources.forEach((function(s,a){var o=s.separator!==undefined?s.separator:t.separator;var u=r||a>0&&/\r?\n$/.test(o);s.content.indent(e,{exclude:s.indentExclusionRanges,indentStart:u});r=s.content.lastChar()==="\n"}));if(this.intro){this.intro=e+this.intro.replace(/^[^\n]/gm,(function(t,r){return r>0?e+t:t}))}return this};m.prototype.prepend=function prepend(e){this.intro=e+this.intro;return this};m.prototype.toString=function toString(){var e=this;var t=this.sources.map((function(t,r){var s=t.separator!==undefined?t.separator:e.separator;var a=(r>0?s:"")+t.content.toString();return a})).join("");return this.intro+t};m.prototype.isEmpty=function isEmpty(){if(this.intro.length&&this.intro.trim()){return false}if(this.sources.some((function(e){return!e.content.isEmpty()}))){return false}return true};m.prototype.length=function length(){return this.sources.reduce((function(e,t){return e+t.content.length()}),this.intro.length)};m.prototype.trimLines=function trimLines(){return this.trim("[\\r\\n]")};m.prototype.trim=function trim(e){return this.trimStart(e).trimEnd(e)};m.prototype.trimStart=function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");this.intro=this.intro.replace(t,"");if(!this.intro){var r;var s=0;do{r=this.sources[s++];if(!r){break}}while(!r.content.trimStartAborted(e))}return this};m.prototype.trimEnd=function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");var r;var s=this.sources.length-1;do{r=this.sources[s--];if(!r){this.intro=this.intro.replace(t,"");break}}while(!r.content.trimEndAborted(e));return this};d.Bundle=m;d.default=d;e.exports=d},3973:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var s={sep:"/"};try{s=r(5622)}catch(e){}var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var o=r(3717);var u={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var c="[^/]";var h=c+"*?";var p="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var d="(?:(?!(?:\\/|^)\\.).)*?";var v=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var m=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,s,a){return minimatch(r,e,t)}}function ext(e,t){e=e||{};t=t||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var r=function minimatch(r,s,a){return t.minimatch(r,s,ext(e,a))};r.Minimatch=function Minimatch(r,s){return new t.Minimatch(r,ext(e,s))};return r};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(s.sep!=="/"){e=e.split(s.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(m)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var s=0;if(r.nonegate)return;for(var a=0,o=e.length;a1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&e==="**")return a;if(e==="")return"";var s="";var o=!!r.nocase;var p=false;var d=[];var m=[];var y;var _=false;var E=-1;var x=-1;var w=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var D=this;function clearStateChar(){if(y){switch(y){case"*":s+=h;o=true;break;case"?":s+=c;o=true;break;default:s+="\\"+y;break}D.debug("clearStateChar %j %j",y,s);y=false}}for(var C=0,A=e.length,S;C-1;N--){var O=m[N];var L=s.slice(0,O.reStart);var P=s.slice(O.reStart,O.reEnd-8);var j=s.slice(O.reEnd-8,O.reEnd);var M=s.slice(O.reEnd);j+=M;var V=L.split("(").length-1;var q=M;for(C=0;C=0;u--){o=e[u];if(o)break}for(u=0;u>> no match, partial?",e,v,t,m);if(v===c)return true}return false}var y;if(typeof p==="string"){if(s.nocase){y=d.toLowerCase()===p.toLowerCase()}else{y=d===p}this.debug("string match",p,d,y)}else{y=d.match(p);this.debug("pattern match",p,d,y)}if(!y)return false}if(o===c&&u===h){return true}else if(o===c){return r}else if(u===h){var _=o===c-1&&e[o]==="";return _}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},4090:(module,__unused_webpack_exports,__nested_webpack_require_512790__)=>{var fs=__nested_webpack_require_512790__(5747);var path=__nested_webpack_require_512790__(5622);var os=__nested_webpack_require_512790__(2087);var runtimeRequire=true?eval("require"):0;var vars=process.config&&process.config.variables||{};var prebuildsOnly=!!process.env.PREBUILDS_ONLY;var abi=process.versions.modules;var runtime=isElectron()?"electron":"node";var arch=os.arch();var platform=os.platform();var libc=process.env.LIBC||(isAlpine(platform)?"musl":"glibc");var armv=process.env.ARM_VERSION||(arch==="arm64"?"8":vars.arm_version)||"";var uv=(process.versions.uv||"").split(".")[0];module.exports=load;function load(e){return runtimeRequire(load.path(e))}load.path=function(e){e=path.resolve(e||".");try{var t=runtimeRequire(path.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");if(process.env[t+"_PREBUILD"])e=process.env[t+"_PREBUILD"]}catch(e){}if(!prebuildsOnly){var r=getFirst(path.join(e,"build/Release"),matchBuild);if(r)return r;var s=getFirst(path.join(e,"build/Debug"),matchBuild);if(s)return s}var a=resolve(e);if(a)return a;var o=resolve(path.dirname(process.execPath));if(o)return o;var u=["platform="+platform,"arch="+arch,"runtime="+runtime,"abi="+abi,"uv="+uv,armv?"armv="+armv:"","libc="+libc].filter(Boolean).join(" ");throw new Error("No native build was found for "+u);function resolve(e){var t=path.join(e,"prebuilds",platform+"-"+arch);var r=readdirSync(t).map(parseTags);var s=r.filter(matchTags(runtime,abi));var a=s.sort(compareTags(runtime))[0];if(a)return path.join(t,a.file)}};function readdirSync(e){try{return fs.readdirSync(e)}catch(e){return[]}}function getFirst(e,t){var r=readdirSync(e).filter(t);return r[0]&&path.join(e,r[0])}function matchBuild(e){return/\.node$/.test(e)}function parseTags(e){var t=e.split(".");var r=t.pop();var s={file:e,specificity:0};if(r!=="node")return;for(var a=0;ar.specificity?-1:1}else{return 0}}}function isElectron(){if(process.versions&&process.versions.electron)return true;if(process.env.ELECTRON_RUN_AS_NODE)return true;return typeof window!=="undefined"&&window.process&&window.process.type==="renderer"}function isAlpine(e){return e==="linux"&&fs.existsSync("/etc/alpine-release")}load.parseTags=parseTags;load.matchTags=matchTags;load.compareTags=compareTags},480:(e,t,r)=>{"use strict";var s=r(5747);var a=r(4959);var o=r(4314);e.exports=t;var u=process.version.substr(1).replace(/-.*$/,"").split(".").map((function(e){return+e}));var c=["build","clean","configure","package","publish","reveal","testbinary","testpackage","unpublish"];var h="napi_build_version=";e.exports.get_napi_version=function(e){var t=process.versions.napi;if(!t){if(u[0]===9&&u[1]>=3)t=2;else if(u[0]===8)t=1}return t};e.exports.get_napi_version_as_string=function(t){var r=e.exports.get_napi_version(t);return r?""+r:""};e.exports.validate_package_json=function(t,r){var s=t.binary;var a=pathOK(s.module_path);var o=pathOK(s.remote_path);var u=pathOK(s.package_name);var c=e.exports.get_napi_build_versions(t,r,true);var h=e.exports.get_napi_build_versions_raw(t);if(c){c.forEach((function(e){if(!(parseInt(e,10)===e&&e>0)){throw new Error("All values specified in napi_versions must be positive integers.")}}))}if(c&&(!a||!o&&!u)){throw new Error("When napi_versions is specified; module_path and either remote_path or "+"package_name must contain the substitution string '{napi_build_version}`.")}if((a||o||u)&&!h){throw new Error("When the substitution string '{napi_build_version}` is specified in "+"module_path, remote_path, or package_name; napi_versions must also be specified.")}if(c&&!e.exports.get_best_napi_build_version(t,r)&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(r?r.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}if(h&&!c&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(r?r.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}};function pathOK(e){return e&&(e.indexOf("{napi_build_version}")!==-1||e.indexOf("{node_napi_label}")!==-1)}e.exports.expand_commands=function(t,r,s){var a=[];var o=e.exports.get_napi_build_versions(t,r);s.forEach((function(s){if(o&&s.name==="install"){var u=e.exports.get_best_napi_build_version(t,r);var p=u?[h+u]:[];a.push({name:s.name,args:p})}else if(o&&c.indexOf(s.name)!==-1){o.forEach((function(e){var t=s.args.slice();t.push(h+e);a.push({name:s.name,args:t})}))}else{a.push(s)}}));return a};e.exports.get_napi_build_versions=function(t,r,s){var a=[];var u=e.exports.get_napi_version(r?r.target:undefined);if(t.binary&&t.binary.napi_versions){t.binary.napi_versions.forEach((function(e){var t=a.indexOf(e)!==-1;if(!t&&u&&e<=u){a.push(e)}else if(s&&!t&&u){o.info("This Node instance does not support builds for N-API version",e)}}))}if(r&&r["build-latest-napi-version-only"]){var c=0;a.forEach((function(e){if(e>c)c=e}));a=c?[c]:[]}return a.length?a:undefined};e.exports.get_napi_build_versions_raw=function(e){var t=[];if(e.binary&&e.binary.napi_versions){e.binary.napi_versions.forEach((function(e){if(t.indexOf(e)===-1){t.push(e)}}))}return t.length?t:undefined};e.exports.get_command_arg=function(e){return h+e};e.exports.get_napi_build_version_from_command_args=function(e){for(var t=0;ts&&e<=o){s=e}}))}return s===0?undefined:s};e.exports.build_napi_only=function(e){return e.binary&&e.binary.package_name&&e.binary.package_name.indexOf("{node_napi_label}")===-1}},887:(e,t,r)=>{"use strict";e.exports=t;var s=r(5622);var a=r(5911);var o=r(8835);var u=r(4889);var c=r(480);var h;if(process.env.NODE_PRE_GYP_ABI_CROSSWALK){h=require(process.env.NODE_PRE_GYP_ABI_CROSSWALK)}else{h=r(282)}var p={};Object.keys(h).forEach((function(e){var t=e.split(".")[0];if(!p[t]){p[t]=e}}));function get_electron_abi(e,t){if(!e){throw new Error("get_electron_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if electron is the target.")}var r=a.parse(t);return e+"-v"+r.major+"."+r.minor}e.exports.get_electron_abi=get_electron_abi;function get_node_webkit_abi(e,t){if(!e){throw new Error("get_node_webkit_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if node-webkit is the target.")}return e+"-v"+t}e.exports.get_node_webkit_abi=get_node_webkit_abi;function get_node_abi(e,t){if(!e){throw new Error("get_node_abi requires valid runtime arg")}if(!t){throw new Error("get_node_abi requires valid process.versions object")}var r=a.parse(t.node);if(r.major===0&&r.minor%2){return e+"-v"+t.node}else{return t.modules?e+"-v"+ +t.modules:"v8-"+t.v8.split(".").slice(0,2).join(".")}}e.exports.get_node_abi=get_node_abi;function get_runtime_abi(e,t){if(!e){throw new Error("get_runtime_abi requires valid runtime arg")}if(e==="node-webkit"){return get_node_webkit_abi(e,t||process.versions["node-webkit"])}else if(e==="electron"){return get_electron_abi(e,t||process.versions.electron)}else{if(e!="node"){throw new Error("Unknown Runtime: '"+e+"'")}if(!t){return get_node_abi(e,process.versions)}else{var r;if(h[t]){r=h[t]}else{var s=t.split(".").map((function(e){return+e}));if(s.length!=3){throw new Error("Unknown target version: "+t)}var a=s[0];var o=s[1];var u=s[2];if(a===1){while(true){if(o>0)--o;if(u>0)--u;var c=""+a+"."+o+"."+u;if(h[c]){r=h[c];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+c+" as ABI compatible target");break}if(o===0&&u===0){break}}}else if(a>=2){if(p[a]){r=h[p[a]];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+p[a]+" as ABI compatible target")}}else if(a===0){if(s[1]%2===0){while(--u>0){var d=""+a+"."+o+"."+u;if(h[d]){r=h[d];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+d+" as ABI compatible target");break}}}}}if(!r){throw new Error("Unsupported target version: "+t)}var v={node:t,v8:r.v8+".0",modules:r.node_abi>1?r.node_abi:undefined};return get_node_abi(e,v)}}}e.exports.get_runtime_abi=get_runtime_abi;var d=["module_name","module_path","host"];function validate_config(e,t){var r=e.name+" package.json is not node-pre-gyp ready:\n";var s=[];if(!e.main){s.push("main")}if(!e.version){s.push("version")}if(!e.name){s.push("name")}if(!e.binary){s.push("binary")}var a=e.binary;d.forEach((function(e){if(s.indexOf("binary")>-1){s.pop("binary")}if(!a||a[e]===undefined||a[e]===""){s.push("binary."+e)}}));if(s.length>=1){throw new Error(r+"package.json must declare these properties: \n"+s.join("\n"))}if(a){var u=o.parse(a.host).protocol;if(u==="http:"){throw new Error("'host' protocol ("+u+") is invalid - only 'https:' is accepted")}}c.validate_package_json(e,t)}e.exports.validate_config=validate_config;function eval_template(e,t){Object.keys(t).forEach((function(r){var s="{"+r+"}";while(e.indexOf(s)>-1){e=e.replace(s,t[r])}}));return e}function fix_slashes(e){if(e.slice(-1)!="/"){return e+"/"}return e}function drop_double_slashes(e){return e.replace(/\/\//g,"/")}function get_process_runtime(e){var t="node";if(e["node-webkit"]){t="node-webkit"}else if(e.electron){t="electron"}return t}e.exports.get_process_runtime=get_process_runtime;var v="{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz";var m="";e.exports.evaluate=function(e,t,r){t=t||{};validate_config(e,t);var h=e.version;var p=a.parse(h);var d=t.runtime||get_process_runtime(process.versions);var g={name:e.name,configuration:Boolean(t.debug)?"Debug":"Release",debug:t.debug,module_name:e.binary.module_name,version:p.version,prerelease:p.prerelease.length?p.prerelease.join("."):"",build:p.build.length?p.build.join("."):"",major:p.major,minor:p.minor,patch:p.patch,runtime:d,node_abi:get_runtime_abi(d,t.target),node_abi_napi:c.get_napi_version(t.target)?"napi":get_runtime_abi(d,t.target),napi_version:c.get_napi_version(t.target),napi_build_version:r||"",node_napi_label:r?"napi-v"+r:get_runtime_abi(d,t.target),target:t.target||"",platform:t.target_platform||process.platform,target_platform:t.target_platform||process.platform,arch:t.target_arch||process.arch,target_arch:t.target_arch||process.arch,libc:t.target_libc||u.family||"unknown",module_main:e.main,toolset:t.toolset||""};var y=process.env["npm_config_"+g.module_name+"_binary_host_mirror"]||e.binary.host;g.host=fix_slashes(eval_template(y,g));g.module_path=eval_template(e.binary.module_path,g);if(t.module_root){g.module_path=s.join(t.module_root,g.module_path)}else{g.module_path=s.resolve(g.module_path)}g.module=s.join(g.module_path,g.module_name+".node");g.remote_path=e.binary.remote_path?drop_double_slashes(fix_slashes(eval_template(e.binary.remote_path,g))):m;var _=e.binary.package_name?e.binary.package_name:v;g.package_name=eval_template(_,g);g.staged_tarball=s.join("build/stage",g.remote_path,g.package_name);g.hosted_path=o.resolve(g.host,g.remote_path);g.hosted_tarball=o.resolve(g.hosted_path,g.package_name);return g}},4314:(e,t,r)=>{"use strict";var s=r(1083);var a=r(1800);var o=r(8614).EventEmitter;var u=t=e.exports=new o;var c=r(1669);var h=r(9344);var p=r(3645);h(true);var d=process.stderr;Object.defineProperty(u,"stream",{set:function(e){d=e;if(this.gauge)this.gauge.setWriteTo(d,d)},get:function(){return d}});var v;u.useColor=function(){return v!=null?v:d.isTTY};u.enableColor=function(){v=true;this.gauge.setTheme({hasColor:v,hasUnicode:m})};u.disableColor=function(){v=false;this.gauge.setTheme({hasColor:v,hasUnicode:m})};u.level="info";u.gauge=new a(d,{enabled:false,theme:{hasColor:u.useColor()},template:[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",default:""},":",{type:"logline",kerning:1,default:""}]});u.tracker=new s.TrackerGroup;u.progressEnabled=u.gauge.isEnabled();var m;u.enableUnicode=function(){m=true;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:m})};u.disableUnicode=function(){m=false;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:m})};u.setGaugeThemeset=function(e){this.gauge.setThemeset(e)};u.setGaugeTemplate=function(e){this.gauge.setTemplate(e)};u.enableProgress=function(){if(this.progressEnabled)return;this.progressEnabled=true;this.tracker.on("change",this.showProgress);if(this._pause)return;this.gauge.enable()};u.disableProgress=function(){if(!this.progressEnabled)return;this.progressEnabled=false;this.tracker.removeListener("change",this.showProgress);this.gauge.disable()};var g=["newGroup","newItem","newStream"];var mixinLog=function(e){Object.keys(u).forEach((function(t){if(t[0]==="_")return;if(g.filter((function(e){return e===t})).length)return;if(e[t])return;if(typeof u[t]!=="function")return;var r=u[t];e[t]=function(){return r.apply(u,arguments)}}));if(e instanceof s.TrackerGroup){g.forEach((function(t){var r=e[t];e[t]=function(){return mixinLog(r.apply(e,arguments))}}))}return e};g.forEach((function(e){u[e]=function(){return mixinLog(this.tracker[e].apply(this.tracker,arguments))}}));u.clearProgress=function(e){if(!this.progressEnabled)return e&&process.nextTick(e);this.gauge.hide(e)};u.showProgress=function(e,t){if(!this.progressEnabled)return;var r={};if(e)r.section=e;var s=u.record[u.record.length-1];if(s){r.subsection=s.prefix;var a=u.disp[s.level]||s.level;var o=this._format(a,u.style[s.level]);if(s.prefix)o+=" "+this._format(s.prefix,this.prefixStyle);o+=" "+s.message.split(/\r?\n/)[0];r.logline=o}r.completed=t||this.tracker.completed();this.gauge.show(r)}.bind(u);u.pause=function(){this._paused=true;if(this.progressEnabled)this.gauge.disable()};u.resume=function(){if(!this._paused)return;this._paused=false;var e=this._buffer;this._buffer=[];e.forEach((function(e){this.emitLog(e)}),this);if(this.progressEnabled)this.gauge.enable()};u._buffer=[];var y=0;u.record=[];u.maxRecordSize=1e4;u.log=function(e,t,r){var s=this.levels[e];if(s===undefined){return this.emit("error",new Error(c.format("Undefined log level: %j",e)))}var a=new Array(arguments.length-2);var o=null;for(var u=2;ud/10){var m=Math.floor(d*.9);this.record=this.record.slice(-1*m)}this.emitLog(p)}.bind(u);u.emitLog=function(e){if(this._paused){this._buffer.push(e);return}if(this.progressEnabled)this.gauge.pulse(e.prefix);var t=this.levels[e.level];if(t===undefined)return;if(t0&&!isFinite(t))return;var r=u.disp[e.level]!=null?u.disp[e.level]:e.level;this.clearProgress();e.message.split(/\r?\n/).forEach((function(t){if(this.heading){this.write(this.heading,this.headingStyle);this.write(" ")}this.write(r,u.style[e.level]);var s=e.prefix||"";if(s)this.write(" ");this.write(s,this.prefixStyle);this.write(" "+t+"\n")}),this);this.showProgress()};u._format=function(e,t){if(!d)return;var r="";if(this.useColor()){t=t||{};var s=[];if(t.fg)s.push(t.fg);if(t.bg)s.push("bg"+t.bg[0].toUpperCase()+t.bg.slice(1));if(t.bold)s.push("bold");if(t.underline)s.push("underline");if(t.inverse)s.push("inverse");if(s.length)r+=p.color(s);if(t.beep)r+=p.beep()}r+=e;if(this.useColor()){r+=p.color("reset")}return r};u.write=function(e,t){if(!d)return;d.write(this._format(e,t))};u.addLevel=function(e,t,r,s){if(s==null)s=e;this.levels[e]=t;this.style[e]=r;if(!this[e]){this[e]=function(){var t=new Array(arguments.length+1);t[0]=e;for(var r=0;r{"use strict";e.exports=Number.isNaN||function(e){return e!==e}},7426:e=>{"use strict"; -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var t=Object.getOwnPropertySymbols;var r=Object.prototype.hasOwnProperty;var s=Object.prototype.propertyIsEnumerable;function toObject(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function shouldUseNative(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var t={};for(var r=0;r<10;r++){t["_"+String.fromCharCode(r)]=r}var s=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if(s.join("")!=="0123456789"){return false}var a={};"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e}));if(Object.keys(Object.assign({},a)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(e){return false}}e.exports=shouldUseNative()?Object.assign:function(e,a){var o;var u=toObject(e);var c;for(var h=1;h{var s=r(2940);e.exports=s(once);e.exports.strict=s(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},8714:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=t.exec(e);var s=r[1]||"";var a=Boolean(s&&s.charAt(1)!==":");return Boolean(r[2]||a)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},5980:e=>{"use strict";var t=process.platform==="win32";var r=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var s=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;var a={};function win32SplitPath(e){var t=r.exec(e),a=(t[1]||"")+(t[2]||""),o=t[3]||"";var u=s.exec(o),c=u[1],h=u[2],p=u[3];return[a,c,h,p]}a.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var u={};function posixSplitPath(e){return o.exec(e).slice(1)}u.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}t[1]=t[1]||"";t[2]=t[2]||"";t[3]=t[3]||"";return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};if(t)e.exports=a.parse;else e.exports=u.parse;e.exports.posix=u.parse;e.exports.win32=a.parse},7810:e=>{"use strict";if(!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,r,s){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var a=arguments.length;var o,u;switch(a){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function afterTickOne(){e.call(null,t)}));case 3:return process.nextTick((function afterTickTwo(){e.call(null,t,r)}));case 4:return process.nextTick((function afterTickThree(){e.call(null,t,r,s)}));default:o=new Array(a-1);u=0;while(u{"use strict";var s=r(7810);var a=Object.keys||function(e){var t=[];for(var r in e){t.push(r)}return t};e.exports=Duplex;var o=r(5898);o.inherits=r(4124);var u=r(1433);var c=r(6993);o.inherits(Duplex,u);{var h=a(c.prototype);for(var p=0;p{"use strict";e.exports=PassThrough;var s=r(4415);var a=r(5898);a.inherits=r(4124);a.inherits(PassThrough,s);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);s.call(this,e)}PassThrough.prototype._transform=function(e,t,r){r(null,e)}},1433:(e,t,r)=>{"use strict";var s=r(7810);e.exports=Readable;var a=r(893);var o;Readable.ReadableState=ReadableState;var u=r(8614).EventEmitter;var EElistenerCount=function(e,t){return e.listeners(t).length};var c=r(2387);var h=r(1867).Buffer;var p=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return h.from(e)}function _isUint8Array(e){return h.isBuffer(e)||e instanceof p}var d=r(5898);d.inherits=r(4124);var v=r(1669);var m=void 0;if(v&&v.debuglog){m=v.debuglog("stream")}else{m=function(){}}var g=r(7053);var y=r(7049);var _;d.inherits(Readable,c);var E=["error","close","destroy","pause","resume"];function prependListener(e,t,r){if(typeof e.prependListener==="function")return e.prependListener(t,r);if(!e._events||!e._events[t])e.on(t,r);else if(a(e._events[t]))e._events[t].unshift(r);else e._events[t]=[r,e._events[t]]}function ReadableState(e,t){o=o||r(1359);e=e||{};var s=t instanceof o;this.objectMode=!!e.objectMode;if(s)this.objectMode=this.objectMode||!!e.readableObjectMode;var a=e.highWaterMark;var u=e.readableHighWaterMark;var c=this.objectMode?16:16*1024;if(a||a===0)this.highWaterMark=a;else if(s&&(u||u===0))this.highWaterMark=u;else this.highWaterMark=c;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new g;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!_)_=r(4841).s;this.decoder=new _(e.encoding);this.encoding=e.encoding}}function Readable(e){o=o||r(1359);if(!(this instanceof Readable))return new Readable(e);this._readableState=new ReadableState(e,this);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}c.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=y.destroy;Readable.prototype._undestroy=y.undestroy;Readable.prototype._destroy=function(e,t){this.push(null);t(e)};Readable.prototype.push=function(e,t){var r=this._readableState;var s;if(!r.objectMode){if(typeof e==="string"){t=t||r.defaultEncoding;if(t!==r.encoding){e=h.from(e,t);t=""}s=true}}else{s=true}return readableAddChunk(this,e,t,false,s)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,r,s,a){var o=e._readableState;if(t===null){o.reading=false;onEofChunk(e,o)}else{var u;if(!a)u=chunkInvalid(o,t);if(u){e.emit("error",u)}else if(o.objectMode||t&&t.length>0){if(typeof t!=="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==h.prototype){t=_uint8ArrayToBuffer(t)}if(s){if(o.endEmitted)e.emit("error",new Error("stream.unshift() after end event"));else addChunk(e,o,t,true)}else if(o.ended){e.emit("error",new Error("stream.push() after EOF"))}else{o.reading=false;if(o.decoder&&!r){t=o.decoder.write(t);if(o.objectMode||t.length!==0)addChunk(e,o,t,false);else maybeReadMore(e,o)}else{addChunk(e,o,t,false)}}}else if(!s){o.reading=false}}return needMoreData(o)}function addChunk(e,t,r,s){if(t.flowing&&t.length===0&&!t.sync){e.emit("data",r);e.read(0)}else{t.length+=t.objectMode?1:r.length;if(s)t.buffer.unshift(r);else t.buffer.push(r);if(t.needReadable)emitReadable(e)}maybeReadMore(e,t)}function chunkInvalid(e,t){var r;if(!_isUint8Array(t)&&typeof t!=="string"&&t!==undefined&&!e.objectMode){r=new TypeError("Invalid non-string/buffer chunk")}return r}function needMoreData(e){return!e.ended&&(e.needReadable||e.length=x){e=x}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){m("read",e);e=parseInt(e,10);var t=this._readableState;var r=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){m("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var s=t.needReadable;m("need readable",s);if(t.length===0||t.length-e0)a=fromList(e,t);else a=null;if(a===null){t.needReadable=true;e=0}else{t.length-=e}if(t.length===0){if(!t.ended)t.needReadable=true;if(r!==e&&t.ended)endReadable(this)}if(a!==null)this.emit("data",a);return a};function onEofChunk(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();if(r&&r.length){t.buffer.push(r);t.length+=t.objectMode?1:r.length}}t.ended=true;emitReadable(e)}function emitReadable(e){var t=e._readableState;t.needReadable=false;if(!t.emittedReadable){m("emitReadable",t.flowing);t.emittedReadable=true;if(t.sync)s.nextTick(emitReadable_,e);else emitReadable_(e)}}function emitReadable_(e){m("emit readable");e.emit("readable");flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;s.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length1&&indexOf(a.pipes,e)!==-1)&&!h){m("false write response, pause",r._readableState.awaitDrain);r._readableState.awaitDrain++;p=true}r.pause()}}function onerror(t){m("onerror",t);unpipe();e.removeListener("error",onerror);if(EElistenerCount(e,"error")===0)e.emit("error",t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){m("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){m("unpipe");r.unpipe(e)}e.emit("pipe",r);if(!a.flowing){m("pipe resume");r.resume()}return e};function pipeOnDrain(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&EElistenerCount(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var r={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,r);return this}if(!e){var s=t.pipes;var a=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var o=0;o=t.length){if(t.decoder)r=t.buffer.join("");else if(t.buffer.length===1)r=t.buffer.head.data;else r=t.buffer.concat(t.length);t.buffer.clear()}else{r=fromListPartial(e,t.buffer,t.decoder)}return r}function fromListPartial(e,t,r){var s;if(eo.length?o.length:e;if(u===o.length)a+=o;else a+=o.slice(0,e);e-=u;if(e===0){if(u===o.length){++s;if(r.next)t.head=r.next;else t.head=t.tail=null}else{t.head=r;r.data=o.slice(u)}break}++s}t.length-=s;return a}function copyFromBuffer(e,t){var r=h.allocUnsafe(e);var s=t.head;var a=1;s.data.copy(r);e-=s.data.length;while(s=s.next){var o=s.data;var u=e>o.length?o.length:e;o.copy(r,r.length-e,0,u);e-=u;if(e===0){if(u===o.length){++a;if(s.next)t.head=s.next;else t.head=t.tail=null}else{t.head=s;s.data=o.slice(u)}break}++a}t.length-=a;return r}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!t.endEmitted){t.ended=true;s.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end")}}function indexOf(e,t){for(var r=0,s=e.length;r{"use strict";e.exports=Transform;var s=r(1359);var a=r(5898);a.inherits=r(4124);a.inherits(Transform,s);function afterTransform(e,t){var r=this._transformState;r.transforming=false;var s=r.writecb;if(!s){return this.emit("error",new Error("write callback called multiple times"))}r.writechunk=null;r.writecb=null;if(t!=null)this.push(t);s(e);var a=this._readableState;a.reading=false;if(a.needReadable||a.length{"use strict";var s=r(7810);e.exports=Writable;function WriteReq(e,t,r){this.chunk=e;this.encoding=t;this.callback=r;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var a=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:s.nextTick;var o;Writable.WritableState=WritableState;var u=r(5898);u.inherits=r(4124);var c={deprecate:r(5278)};var h=r(2387);var p=r(1867).Buffer;var d=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return p.from(e)}function _isUint8Array(e){return p.isBuffer(e)||e instanceof d}var v=r(7049);u.inherits(Writable,h);function nop(){}function WritableState(e,t){o=o||r(1359);e=e||{};var s=t instanceof o;this.objectMode=!!e.objectMode;if(s)this.objectMode=this.objectMode||!!e.writableObjectMode;var a=e.highWaterMark;var u=e.writableHighWaterMark;var c=this.objectMode?16:16*1024;if(a||a===0)this.highWaterMark=a;else if(s&&(u||u===0))this.highWaterMark=u;else this.highWaterMark=c;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var h=e.decodeStrings===false;this.decodeStrings=!h;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var m;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){m=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(e){if(m.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{m=function(e){return e instanceof this}}function Writable(e){o=o||r(1359);if(!m.call(Writable,this)&&!(this instanceof o)){return new Writable(e)}this._writableState=new WritableState(e,this);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}h.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(e,t){var r=new Error("write after end");e.emit("error",r);s.nextTick(t,r)}function validChunk(e,t,r,a){var o=true;var u=false;if(r===null){u=new TypeError("May not write null values to stream")}else if(typeof r!=="string"&&r!==undefined&&!t.objectMode){u=new TypeError("Invalid non-string/buffer chunk")}if(u){e.emit("error",u);s.nextTick(a,u);o=false}return o}Writable.prototype.write=function(e,t,r){var s=this._writableState;var a=false;var o=!s.objectMode&&_isUint8Array(e);if(o&&!p.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){r=t;t=null}if(o)t="buffer";else if(!t)t=s.defaultEncoding;if(typeof r!=="function")r=nop;if(s.ended)writeAfterEnd(this,r);else if(o||validChunk(this,s,e,r)){s.pendingcb++;a=writeOrBuffer(this,s,o,e,t,r)}return a};Writable.prototype.cork=function(){var e=this._writableState;e.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e;return this};function decodeChunk(e,t,r){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=p.from(t,r)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,r,s,a,o){if(!r){var u=decodeChunk(t,s,a);if(s!==u){r=true;a="buffer";s=u}}var c=t.objectMode?1:s.length;t.length+=c;var h=t.length{"use strict";function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var s=r(1867).Buffer;var a=r(1669);function copyBuffer(e,t,r){e.copy(t,r)}e.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(e){var t={data:e,next:null};if(this.length>0)this.tail.next=t;else this.head=t;this.tail=t;++this.length};BufferList.prototype.unshift=function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(e){if(this.length===0)return"";var t=this.head;var r=""+t.data;while(t=t.next){r+=e+t.data}return r};BufferList.prototype.concat=function concat(e){if(this.length===0)return s.alloc(0);if(this.length===1)return this.head.data;var t=s.allocUnsafe(e>>>0);var r=this.head;var a=0;while(r){copyBuffer(r.data,t,a);a+=r.data.length;r=r.next}return t};return BufferList}();if(a&&a.inspect&&a.inspect.custom){e.exports.prototype[a.inspect.custom]=function(){var e=a.inspect({length:this.length});return this.constructor.name+" "+e}}},7049:(e,t,r)=>{"use strict";var s=r(7810);function destroy(e,t){var r=this;var a=this._readableState&&this._readableState.destroyed;var o=this._writableState&&this._writableState.destroyed;if(a||o){if(t){t(e)}else if(e&&(!this._writableState||!this._writableState.errorEmitted)){s.nextTick(emitErrorNT,this,e)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,(function(e){if(!t&&e){s.nextTick(emitErrorNT,r,e);if(r._writableState){r._writableState.errorEmitted=true}}else if(t){t(e)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy}},2387:(e,t,r)=>{e.exports=r(2413)},1642:(e,t,r)=>{var s=r(2413);if(process.env.READABLE_STREAM==="disable"&&s){e.exports=s;t=e.exports=s.Readable;t.Readable=s.Readable;t.Writable=s.Writable;t.Duplex=s.Duplex;t.Transform=s.Transform;t.PassThrough=s.PassThrough;t.Stream=s}else{t=e.exports=r(1433);t.Stream=s||t;t.Readable=t;t.Writable=r(6993);t.Duplex=r(1359);t.Transform=r(4415);t.PassThrough=r(1542)}},9283:(e,t,r)=>{var s=r(6226);var a=r(2125);a.core=s;a.isCore=function isCore(e){return s[e]};a.sync=r(5284);t=a;e.exports=a},2125:(e,t,r)=>{var s=r(6226);var a=r(5747);var o=r(5622);var u=r(6155);var c=r(3265);var h=r(7990);var p=function isFile(e,t){a.stat(e,(function(e,r){if(!e){return t(null,r.isFile()||r.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};e.exports=function resolve(e,t,r){var d=r;var v=t;if(typeof t==="function"){d=v;v={}}if(typeof e!=="string"){var m=new TypeError("Path must be a string.");return process.nextTick((function(){d(m)}))}v=h(e,v);var g=v.isFile||p;var y=v.readFile||a.readFile;var _=v.extensions||[".js"];var E=v.basedir||o.dirname(u());var x=v.filename||E;v.paths=v.paths||[];var w=o.resolve(E);if(v.preserveSymlinks===false){a.realpath(w,(function(e,t){if(e&&e.code!=="ENOENT")d(m);else init(e?w:t)}))}else{init(w)}var D;function init(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){D=o.resolve(t,e);if(e===".."||e.slice(-1)==="/")D+="/";if(/\/$/.test(e)&&D===t){loadAsDirectory(D,v.package,onfile)}else loadAsFile(D,v.package,onfile)}else loadNodeModules(e,t,(function(t,r,a){if(t)d(t);else if(r)d(null,r,a);else if(s[e])return d(null,e);else{var o=new Error("Cannot find module '"+e+"' from '"+x+"'");o.code="MODULE_NOT_FOUND";d(o)}}))}function onfile(t,r,s){if(t)d(t);else if(r)d(null,r,s);else loadAsDirectory(D,(function(t,r,s){if(t)d(t);else if(r)d(null,r,s);else{var a=new Error("Cannot find module '"+e+"' from '"+x+"'");a.code="MODULE_NOT_FOUND";d(a)}}))}function loadAsFile(e,t,r){var s=t;var a=r;if(typeof s==="function"){a=s;s=undefined}var u=[""].concat(_);load(u,e,s);function load(e,t,r){if(e.length===0)return a(null,undefined,r);var s=t+e[0];var u=r;if(u)onpkg(null,u);else loadpkg(o.dirname(s),onpkg);function onpkg(r,c,h){u=c;if(r)return a(r);if(h&&u&&v.pathFilter){var p=o.relative(h,s);var d=p.slice(0,p.length-e[0].length);var m=v.pathFilter(u,t,d);if(m)return load([""].concat(_.slice()),o.resolve(h,m),u)}g(s,onex)}function onex(r,o){if(r)return a(r);if(o)return a(null,s,u);load(e.slice(1),t,u)}}}function loadpkg(e,t){if(e===""||e==="/")return t(null);if(process.platform==="win32"&&/^\w:[/\\]*$/.test(e)){return t(null)}if(/[/\\]node_modules[/\\]*$/.test(e))return t(null);var r=o.join(e,"package.json");g(r,(function(s,a){if(!a)return loadpkg(o.dirname(e),t);y(r,(function(s,a){if(s)t(s);try{var o=JSON.parse(a)}catch(e){}if(o&&v.packageFilter){o=v.packageFilter(o,r)}t(null,o,e)}))}))}function loadAsDirectory(e,t,r){var s=r;var a=t;if(typeof a==="function"){s=a;a=v.package}var u=o.join(e,"package.json");g(u,(function(t,r){if(t)return s(t);if(!r)return loadAsFile(o.join(e,"index"),a,s);y(u,(function(t,r){if(t)return s(t);try{var a=JSON.parse(r)}catch(e){}if(v.packageFilter){a=v.packageFilter(a,u)}if(a.main){if(typeof a.main!=="string"){var c=new TypeError("package “"+a.name+"” `main` must be a string");c.code="INVALID_PACKAGE_MAIN";return s(c)}if(a.main==="."||a.main==="./"){a.main="index"}loadAsFile(o.resolve(e,a.main),a,(function(t,r,a){if(t)return s(t);if(r)return s(null,r,a);if(!a)return loadAsFile(o.join(e,"index"),a,s);var u=o.resolve(e,a.main);loadAsDirectory(u,a,(function(t,r,a){if(t)return s(t);if(r)return s(null,r,a);loadAsFile(o.join(e,"index"),a,s)}))}));return}loadAsFile(o.join(e,"/index"),a,s)}))}))}function processDirs(t,r){if(r.length===0)return t(null,undefined);var s=r[0];var a=o.join(s,e);loadAsFile(a,v.package,onfile);function onfile(r,a,u){if(r)return t(r);if(a)return t(null,a,u);loadAsDirectory(o.join(s,e),v.package,ondir)}function ondir(e,s,a){if(e)return t(e);if(s)return t(null,s,a);processDirs(t,r.slice(1))}}function loadNodeModules(e,t,r){processDirs(r,c(t,v,e))}}},6155:e=>{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},6226:(e,t,r)=>{var s=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var r=t.length>1?t[0]:"=";var a=(t.length>1?t[1]:t[0]).split(".");for(var o=0;o<3;++o){var u=Number(s[o]||0);var c=Number(a[o]||0);if(u===c){continue}if(r==="<"){return u="){return u>=c}else{return false}}return r===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var r=0;r{var s=r(5622);var a=s.parse||r(5980);var o=function getNodeModulesDirs(e,t){var r="/";if(/^([A-Za-z]:)/.test(e)){r=""}else if(/^\\\\/.test(e)){r="\\\\"}var o=[e];var u=a(e);while(u.dir!==o[o.length-1]){o.push(u.dir);u=a(u.dir)}return o.reduce((function(e,a){return e.concat(t.map((function(e){return s.join(r,a,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,r){var s=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(r,e,(function(){return o(e,s)}),t)}var a=o(e,s);return t&&t.paths?a.concat(t.paths):a}},7990:e=>{e.exports=function(e,t){return t||{}}},5284:(e,t,r)=>{var s=r(6226);var a=r(5747);var o=r(5622);var u=r(6155);var c=r(3265);var h=r(7990);var p=function isFile(e){try{var t=a.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("Path must be a string.")}var r=h(e,t);var d=r.isFile||p;var v=r.readFileSync||a.readFileSync;var m=r.extensions||[".js"];var g=r.basedir||o.dirname(u());var y=r.filename||g;r.paths=r.paths||[];var _=o.resolve(g);if(r.preserveSymlinks===false){try{_=a.realpathSync(_)}catch(e){if(e.code!=="ENOENT"){throw e}}}if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var E=o.resolve(_,e);if(e===".."||e.slice(-1)==="/")E+="/";var x=loadAsFileSync(E)||loadAsDirectorySync(E);if(x)return x}else{var w=loadNodeModulesSync(e,_);if(w)return w}if(s[e])return e;var D=new Error("Cannot find module '"+e+"' from '"+y+"'");D.code="MODULE_NOT_FOUND";throw D;function loadAsFileSync(e){var t=loadpkg(o.dirname(e));if(t&&t.dir&&t.pkg&&r.pathFilter){var s=o.relative(t.dir,e);var a=r.pathFilter(t.pkg,e,s);if(a){e=o.resolve(t.dir,a)}}if(d(e)){return e}for(var u=0;u{e.exports=rimraf;rimraf.sync=rimrafSync;var s=r(2357);var a=r(5622);var o=r(5747);var u=r(1957);var c=parseInt("666",8);var h={nosort:true,silent:true};var p=0;var d=process.platform==="win32";function defaults(e){var t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((function(t){e[t]=e[t]||o[t];t=t+"Sync";e[t]=e[t]||o[t]}));e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}e.disableGlob=e.disableGlob||false;e.glob=e.glob||h}function rimraf(e,t,r){if(typeof t==="function"){r=t;t={}}s(e,"rimraf: missing path");s.equal(typeof e,"string","rimraf: path should be a string");s.equal(typeof r,"function","rimraf: callback function required");s(t,"rimraf: invalid options argument provided");s.equal(typeof t,"object","rimraf: options should be object");defaults(t);var a=0;var o=null;var c=0;if(t.disableGlob||!u.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,(function(r,s){if(!r)return afterGlob(null,[e]);u(e,t.glob,afterGlob)}));function next(e){o=o||e;if(--c===0)r(o)}function afterGlob(e,s){if(e)return r(e);c=s.length;if(c===0)return r();s.forEach((function(e){rimraf_(e,t,(function CB(r){if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&a{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var s=r(5622);var a=_interopDefault(s);var o=r(6465);var u=_interopDefault(r(1669));const c=function addExtension(e,t=".js"){if(!s.extname(e))e+=t;return e};const h={ArrayPattern(e,t){for(const r of t.elements){if(r)h[r.type](e,r)}},AssignmentPattern(e,t){h[t.left.type](e,t.left)},Identifier(e,t){e.push(t.name)},MemberExpression(){},ObjectPattern(e,t){for(const r of t.properties){if(r.type==="RestElement"){h.RestElement(e,r)}else{h[r.value.type](e,r.value)}}},RestElement(e,t){h[t.argument.type](e,t.argument)}};const p=function extractAssignedNames(e){const t=[];h[e.type](t,e);return t};const d={const:true,let:true};class Scope{constructor(e={}){this.parent=e.parent;this.isBlockScope=!!e.block;this.declarations=Object.create(null);if(e.params){e.params.forEach((e=>{p(e).forEach((e=>{this.declarations[e]=true}))}))}}addDeclaration(e,t,r){if(!t&&this.isBlockScope){this.parent.addDeclaration(e,t,r)}else if(e.id){p(e.id).forEach((e=>{this.declarations[e]=true}))}}contains(e){return this.declarations[e]||(this.parent?this.parent.contains(e):false)}}const v=function attachScopes(e,t="scope"){let r=new Scope;o.walk(e,{enter(e,s){if(/(Function|Class)Declaration/.test(e.type)){r.addDeclaration(e,false,false)}if(e.type==="VariableDeclaration"){const t=e.kind;const s=d[t];e.declarations.forEach((e=>{r.addDeclaration(e,s,true)}))}let a;if(/Function/.test(e.type)){a=new Scope({parent:r,block:false,params:e.params});if(e.type==="FunctionExpression"&&e.id){a.addDeclaration(e,false,false)}}if(e.type==="BlockStatement"&&!/Function/.test(s.type)){a=new Scope({parent:r,block:true})}if(e.type==="CatchClause"){a=new Scope({parent:r,params:e.param?[e.param]:[],block:true})}if(a){Object.defineProperty(e,t,{value:a,configurable:true});r=a}},leave(e){if(e[t])r=r.parent}});return r};function createCommonjsModule(e,t){return t={exports:{}},e(t,t.exports),t.exports}var m=createCommonjsModule((function(e,t){t.isInteger=e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false};t.find=(e,t)=>e.nodes.find((e=>e.type===t));t.exceedsLimit=(e,r,s=1,a)=>{if(a===false)return false;if(!t.isInteger(e)||!t.isInteger(r))return false;return(Number(r)-Number(e))/Number(s)>=a};t.escapeNode=(e,t=0,r)=>{let s=e.nodes[t];if(!s)return;if(r&&s.type===r||s.type==="open"||s.type==="close"){if(s.escaped!==true){s.value="\\"+s.value;s.escaped=true}}};t.encloseBrace=e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false};t.isInvalidBrace=e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false};t.isOpenOrClose=e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true};t.reduce=e=>e.reduce(((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e}),[]);t.flatten=(...e)=>{const t=[];const flat=e=>{for(let r=0;r{let stringify=(e,r={})=>{let s=t.escapeInvalid&&m.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((s||a)&&m.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){o+=stringify(t)}}return o};return stringify(e)}; -/*! - * is-number - * - * Copyright (c) 2014-present, Jon Schlinkert. - * Released under the MIT License. - */var isNumber=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false};const toRegexRange=(e,t,r)=>{if(isNumber(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(isNumber(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s=Object.assign({relaxZeros:true},r);if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let a=String(s.relaxZeros);let o=String(s.shorthand);let u=String(s.capture);let c=String(s.wrap);let h=e+":"+t+"="+a+o+u+c;if(toRegexRange.cache.hasOwnProperty(h)){return toRegexRange.cache[h].result}let p=Math.min(e,t);let d=Math.max(e,t);if(Math.abs(p-d)===1){let r=e+"|"+t;if(s.capture){return`(${r})`}if(s.wrap===false){return r}return`(?:${r})`}let v=hasPadding(e)||hasPadding(t);let m={min:e,max:t,a:p,b:d};let g=[];let y=[];if(v){m.isPadded=v;m.maxLen=String(m.max).length}if(p<0){let e=d<0?Math.abs(d):1;y=splitToPatterns(e,Math.abs(p),m,s);p=m.a=0}if(d>=0){g=splitToPatterns(p,d,m,s)}m.negatives=y;m.positives=g;m.result=collatePatterns(y,g,s);if(s.capture===true){m.result=`(${m.result})`}else if(s.wrap!==false&&g.length+y.length>1){m.result=`(?:${m.result})`}toRegexRange.cache[h]=m;return m.result};function collatePatterns(e,t,r){let s=filterPatterns(e,t,"-",false,r)||[];let a=filterPatterns(t,e,"",false,r)||[];let o=filterPatterns(e,t,"-?",true,r)||[];let u=s.concat(o).concat(a);return u.join("|")}function splitToRanges(e,t){let r=1;let s=1;let a=countNines(e,r);let o=new Set([t]);while(e<=a&&a<=t){o.add(a);r+=1;a=countNines(e,r)}a=countZeros(t+1,s)-1;while(e1){c.count.pop()}c.count.push(h.count[0]);c.string=c.pattern+toQuantifier(c.count);u=t+1;continue}if(r.isPadded){p=padZeros(t,r,s)}h.string=p+h.pattern+toQuantifier(h.count);o.push(h);u=t+1;c=h}return o}function filterPatterns(e,t,r,s,a){let o=[];for(let a of e){let{string:e}=a;if(!s&&!contains(t,"string",e)){o.push(r+e)}if(s&&contains(t,"string",e)){o.push(r+e)}}return o}function zip(e,t){let r=[];for(let s=0;st?1:t>e?-1:0}function contains(e,t,r){return e.some((e=>e[t]===r))}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,r=""]=e;if(r||t>1){return`{${t+(r?","+r:"")}}`}return""}function toCharacterClass(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,r){if(!t.isPadded){return e}let s=Math.abs(t.maxLen-String(e).length);let a=r.relaxZeros!==false;switch(s){case 0:return"";case 1:return a?"0?":"0";case 2:return a?"0{0,2}":"00";default:{return a?`0{0,${s}}`:`0{${s}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};var S=toRegexRange;const isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const transform=e=>t=>e===true?Number(t):String(t);const isValidValue=e=>typeof e==="number"||typeof e==="string"&&e!=="";const isNumber$1=e=>Number.isInteger(+e);const zeros=e=>{let t=`${e}`;let r=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++r]==="0");return r>0};const stringify$1=(e,t,r)=>{if(typeof e==="string"||typeof t==="string"){return true}return r.stringify===true};const pad=(e,t,r)=>{if(t>0){let r=e[0]==="-"?"-":"";if(r)e=e.slice(1);e=r+e.padStart(r?t-1:t,"0")}if(r===false){return String(e)}return e};const toMaxLen=(e,t)=>{let r=e[0]==="-"?"-":"";if(r){e=e.slice(1);t--}while(e.length{e.negatives.sort(((e,t)=>et?1:0));e.positives.sort(((e,t)=>et?1:0));let r=t.capture?"":"?:";let s="";let a="";let o;if(e.positives.length){s=e.positives.join("|")}if(e.negatives.length){a=`-(${r}${e.negatives.join("|")})`}if(s&&a){o=`${s}|${a}`}else{o=s||a}if(t.wrap){return`(${r}${o})`}return o};const toRange=(e,t,r,s)=>{if(r){return S(e,t,Object.assign({wrap:false},s))}let a=String.fromCharCode(e);if(e===t)return a;let o=String.fromCharCode(t);return`[${a}-${o}]`};const toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=r.wrap===true;let s=r.capture?"":"?:";return t?`(${s}${e.join("|")})`:e.join("|")}return S(e,t,r)};const rangeError=(...e)=>new RangeError("Invalid range arguments: "+u.inspect(...e));const invalidRange=(e,t,r)=>{if(r.strictRanges===true)throw rangeError([e,t]);return[]};const invalidStep=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const fillNumbers=(e,t,r=1,s={})=>{let a=Number(e);let o=Number(t);if(!Number.isInteger(a)||!Number.isInteger(o)){if(s.strictRanges===true)throw rangeError([e,t]);return[]}if(a===0)a=0;if(o===0)o=0;let u=a>o;let c=String(e);let h=String(t);let p=String(r);r=Math.max(Math.abs(r),1);let d=zeros(c)||zeros(h)||zeros(p);let v=d?Math.max(c.length,h.length,p.length):0;let m=d===false&&stringify$1(e,t,s)===false;let g=s.transform||transform(m);if(s.toRegex&&r===1){return toRange(toMaxLen(e,v),toMaxLen(t,v),true,s)}let y={negatives:[],positives:[]};let push=e=>y[e<0?"negatives":"positives"].push(Math.abs(e));let _=[];let E=0;while(u?a>=o:a<=o){if(s.toRegex===true&&r>1){push(a)}else{_.push(pad(g(a,E),v,m))}a=u?a-r:a+r;E++}if(s.toRegex===true){return r>1?toSequence(y,s):toRegex(_,null,Object.assign({wrap:false},s))}return _};const fillLetters=(e,t,r=1,s={})=>{if(!isNumber$1(e)&&e.length>1||!isNumber$1(t)&&t.length>1){return invalidRange(e,t,s)}let a=s.transform||(e=>String.fromCharCode(e));let o=`${e}`.charCodeAt(0);let u=`${t}`.charCodeAt(0);let c=o>u;let h=Math.min(o,u);let p=Math.max(o,u);if(s.toRegex&&r===1){return toRange(h,p,false,s)}let d=[];let v=0;while(c?o>=u:o<=u){d.push(a(o,v));o=c?o-r:o+r;v++}if(s.toRegex===true){return toRegex(d,null,{wrap:false,options:s})}return d};const fill=(e,t,r,s={})=>{if(t==null&&isValidValue(e)){return[e]}if(!isValidValue(e)||!isValidValue(t)){return invalidRange(e,t,s)}if(typeof r==="function"){return fill(e,t,1,{transform:r})}if(isObject(r)){return fill(e,t,0,r)}let a=Object.assign({},s);if(a.capture===true)a.wrap=true;r=r||a.step||1;if(!isNumber$1(r)){if(r!=null&&!isObject(r))return invalidStep(r,a);return fill(e,t,1,r)}if(isNumber$1(e)&&isNumber$1(t)){return fillNumbers(e,t,r,a)}return fillLetters(e,t,Math.max(Math.abs(r),1),a)};var k=fill;const compile=(e,t={})=>{let walk=(e,r={})=>{let s=m.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o=s===true||a===true;let u=t.escapeInvalid===true?"\\":"";let c="";if(e.isOpen===true){return u+e.value}if(e.isClose===true){return u+e.value}if(e.type==="open"){return o?u+e.value:"("}if(e.type==="close"){return o?u+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":o?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let r=m.reduce(e.nodes);let s=k(...r,Object.assign({},t,{wrap:false,toRegex:true}));if(s.length!==0){return r.length>1&&s.length>1?`(${s})`:s}}if(e.nodes){for(let t of e.nodes){c+=walk(t,e)}}return c};return walk(e)};var F=compile;const append=(e="",t="",r=false)=>{let s=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?m.flatten(t).map((e=>`{${e}}`)):t}for(let a of e){if(Array.isArray(a)){for(let e of a){s.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;s.push(Array.isArray(e)?append(a,e,r):a+e)}}}return m.flatten(s)};const expand=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit;let walk=(e,s={})=>{e.queue=[];let a=s;let o=s.queue;while(a.type!=="brace"&&a.type!=="root"&&a.parent){a=a.parent;o=a.queue}if(e.invalid||e.dollar){o.push(append(o.pop(),stringify(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){o.push(append(o.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let s=m.reduce(e.nodes);if(m.exceedsLimit(...s,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let a=k(...s,t);if(a.length===0){a=stringify(e,t)}o.push(append(o.pop(),a));e.nodes=[];return}let u=m.encloseBrace(e);let c=e.queue;let h=e;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;c=h.queue}for(let t=0;t",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const{MAX_LENGTH:I,CHAR_BACKSLASH:B,CHAR_BACKTICK:N,CHAR_COMMA:O,CHAR_DOT:L,CHAR_LEFT_PARENTHESES:P,CHAR_RIGHT_PARENTHESES:j,CHAR_LEFT_CURLY_BRACE:M,CHAR_RIGHT_CURLY_BRACE:V,CHAR_LEFT_SQUARE_BRACKET:q,CHAR_RIGHT_SQUARE_BRACKET:U,CHAR_DOUBLE_QUOTE:$,CHAR_SINGLE_QUOTE:H,CHAR_NO_BREAK_SPACE:G,CHAR_ZERO_WIDTH_NOBREAK_SPACE:W}=T;const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let r=t||{};let s=typeof r.maxLength==="number"?Math.min(I,r.maxLength):I;if(e.length>s){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${s})`)}let a={type:"root",input:e,nodes:[]};let o=[a];let u=a;let c=a;let h=0;let p=e.length;let d=0;let v=0;let m;const advance=()=>e[d++];const push=e=>{if(e.type==="text"&&c.type==="dot"){c.type="text"}if(c&&c.type==="text"&&e.type==="text"){c.value+=e.value;return}u.nodes.push(e);e.parent=u;e.prev=c;c=e;return e};push({type:"bos"});while(d0){if(u.ranges>0){u.ranges=0;let e=u.nodes.shift();u.nodes=[e,{type:"text",value:stringify(u)}]}push({type:"comma",value:m});u.commas++;continue}if(m===L&&v>0&&u.commas===0){let e=u.nodes;if(v===0||e.length===0){push({type:"text",value:m});continue}if(c.type==="dot"){u.range=[];c.value+=m;c.type="range";if(u.nodes.length!==3&&u.nodes.length!==5){u.invalid=true;u.ranges=0;c.type="text";continue}u.ranges++;u.args=[];continue}if(c.type==="range"){e.pop();let t=e[e.length-1];t.value+=c.value+m;c=t;u.ranges--;continue}push({type:"dot",value:m});continue}push({type:"text",value:m})}do{u=o.pop();if(u.type!=="root"){u.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));let e=o[o.length-1];let t=e.nodes.indexOf(u);e.nodes.splice(t,1,...u.nodes)}}while(o.length>0);push({type:"eos"});return a};var z=parse;const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(let s of e){let e=braces.create(s,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>z(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return stringify(braces.parse(e,t),t)}return stringify(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return F(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=R(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};var K=braces;const Q="\\\\/";const X=`[^${Q}]`;const J="\\.";const Z="\\+";const Y="\\?";const ee="\\/";const te="(?=.)";const re="[^/]";const ie=`(?:${ee}|$)`;const ne=`(?:^|${ee})`;const se=`${J}{1,2}${ie}`;const ae=`(?!${J})`;const oe=`(?!${ne}${se})`;const ue=`(?!${J}{0,1}${ie})`;const le=`(?!${se})`;const ce=`[^.${ee}]`;const fe=`${re}*?`;const he={DOT_LITERAL:J,PLUS_LITERAL:Z,QMARK_LITERAL:Y,SLASH_LITERAL:ee,ONE_CHAR:te,QMARK:re,END_ANCHOR:ie,DOTS_SLASH:se,NO_DOT:ae,NO_DOTS:oe,NO_DOT_SLASH:ue,NO_DOTS_SLASH:le,QMARK_NO_DOT:ce,STAR:fe,START_ANCHOR:ne};const pe=Object.assign({},he,{SLASH_LITERAL:`[${Q}]`,QMARK:X,STAR:`${X}*?`,DOTS_SLASH:`${J}{1,2}(?:[${Q}]|$)`,NO_DOT:`(?!${J})`,NO_DOTS:`(?!(?:^|[${Q}])${J}{1,2}(?:[${Q}]|$))`,NO_DOT_SLASH:`(?!${J}{0,1}(?:[${Q}]|$))`,NO_DOTS_SLASH:`(?!${J}{1,2}(?:[${Q}]|$))`,QMARK_NO_DOT:`[^.${Q}]`,START_ANCHOR:`(?:^|[${Q}])`,END_ANCHOR:`(?:[${Q}]|$)`});const de={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};var ve={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:de,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHAR:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:a.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?pe:he}};var me=createCommonjsModule((function(e,t){const r=process.platform==="win32";const{REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:o,REGEX_REMOVE_BACKSLASH:u}=ve;t.isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);t.hasRegexChars=e=>s.test(e);t.isRegexChar=e=>e.length===1&&t.hasRegexChars(e);t.escapeRegex=e=>e.replace(o,"\\$1");t.toPosixSlashes=e=>e.replace(/\\/g,"/");t.removeBackslashes=e=>e.replace(u,(e=>e==="\\"?"":e));t.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".");if(e.length===3&&+e[0]>=9||+e[0]===8&&+e[1]>=10){return true}return false};t.isWindows=e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return r===true||a.sep==="\\"};t.escapeLast=(e,r,s)=>{let a=e.lastIndexOf(r,s);if(a===-1)return e;if(e[a-1]==="\\")return t.escapeLast(e,r,a-1);return e.slice(0,a)+"\\"+e.slice(a)}}));var ge=me.isObject;var be=me.hasRegexChars;var ye=me.isRegexChar;var _e=me.escapeRegex;var Ee=me.toPosixSlashes;var xe=me.removeBackslashes;var we=me.supportsLookbehinds;var De=me.isWindows;var Ce=me.escapeLast;const{CHAR_ASTERISK:Ae,CHAR_AT:Se,CHAR_BACKWARD_SLASH:ke,CHAR_COMMA:Fe,CHAR_DOT:Re,CHAR_EXCLAMATION_MARK:Te,CHAR_FORWARD_SLASH:Ie,CHAR_LEFT_CURLY_BRACE:Be,CHAR_LEFT_PARENTHESES:Ne,CHAR_LEFT_SQUARE_BRACKET:Oe,CHAR_PLUS:Le,CHAR_QUESTION_MARK:Pe,CHAR_RIGHT_CURLY_BRACE:je,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Ve}=ve;const isPathSeparator=e=>e===Ie||e===ke;var scan=(e,t)=>{let r=t||{};let s=e.length-1;let a=-1;let o=0;let u=0;let c=false;let h=false;let p=false;let d=0;let v;let m;let g=false;let eos=()=>a>=s;let advance=()=>{v=m;return e.charCodeAt(++a)};while(a0){y=e.slice(0,o);e=e.slice(o);u-=o}if(E&&c===true&&u>0){E=e.slice(0,u);x=e.slice(u)}else if(c===true){E="";x=e}else{E=e}if(E&&E!==""&&E!=="/"&&E!==e){if(isPathSeparator(E.charCodeAt(E.length-1))){E=E.slice(0,-1)}}if(r.unescape===true){if(x)x=me.removeBackslashes(x);if(E&&h===true){E=me.removeBackslashes(E)}}return{prefix:y,input:_,base:E,glob:x,negated:p,isGlob:c}};const{MAX_LENGTH:qe,POSIX_REGEX_SOURCE:Ue,REGEX_NON_SPECIAL_CHAR:$e,REGEX_SPECIAL_CHARS_BACKREF:He,REPLACEMENTS:Ge}=ve;const expandRange=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();let r=`[${e.join("-")}]`;try{}catch(t){return e.map((e=>me.escapeRegex(e))).join("..")}return r};const negate=e=>{let t=1;while(e.peek()==="!"&&(e.peek(2)!=="("||e.peek(3)==="?")){e.advance();e.start++;t++}if(t%2===0){return false}e.negated=true;e.start++;return true};const syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`;const parse$1=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=Ge[e]||e;let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}let o={type:"bos",value:"",output:r.prepend||""};let u=[o];let c=r.capture?"":"?:";let h=me.isWindows(t);const p=ve.globChars(h);const d=ve.extglobChars(p);const{DOT_LITERAL:v,PLUS_LITERAL:m,SLASH_LITERAL:g,ONE_CHAR:y,DOTS_SLASH:_,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:w,QMARK:D,QMARK_NO_DOT:C,STAR:A,START_ANCHOR:S}=p;const globstar=e=>`(${c}(?:(?!${S}${e.dot?_:v}).)*?)`;let k=r.dot?"":E;let F=r.bash===true?globstar(r):A;let R=r.dot?D:C;if(r.capture){F=`(${F})`}if(typeof r.noext==="boolean"){r.noextglob=r.noext}let T={index:-1,start:0,consumed:"",output:"",backtrack:false,brackets:0,braces:0,parens:0,quotes:0,tokens:u};let I=[];let B=[];let N=o;let O;const eos=()=>T.index===a-1;const L=T.peek=(t=1)=>e[T.index+t];const P=T.advance=()=>e[++T.index];const append=e=>{T.output+=e.output!=null?e.output:e.value;T.consumed+=e.value||""};const increment=e=>{T[e]++;B.push(e)};const decrement=e=>{T[e]--;B.pop()};const push=e=>{if(N.type==="globstar"){let t=T.braces>0&&(e.type==="comma"||e.type==="brace");let r=I.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!r){T.output=T.output.slice(0,-N.output.length);N.type="star";N.value="*";N.output=F;T.output+=N.output}}if(I.length&&e.type!=="paren"&&!d[e.value]){I[I.length-1].inner+=e.value}if(e.value||e.output)append(e);if(N&&N.type==="text"&&e.type==="text"){N.value+=e.value;return}e.prev=N;u.push(e);N=e};const extglobOpen=(e,t)=>{let s=Object.assign({},d[t],{conditions:1,inner:""});s.prev=N;s.parens=T.parens;s.output=T.output;let a=(r.capture?"(":"")+s.open;push({type:e,value:t,output:T.output?"":y});push({type:"paren",extglob:true,value:P(),output:a});increment("parens");I.push(s)};const extglobClose=t=>{let s=t.close+(r.capture?")":"");if(t.type==="negate"){let a=F;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){a=globstar(r)}if(a!==F||eos()||/^\)+$/.test(e.slice(T.index+1))){s=t.close=")$))"+a}if(t.prev.type==="bos"&&eos()){T.negatedExtglob=true}}push({type:"paren",extglob:true,value:O,output:s});decrement("parens")};if(r.fastpaths!==false&&!/(^[*!]|[/{[()\]}"])/.test(e)){let t=false;let s=e.replace(He,((e,r,s,a,o,u)=>{if(a==="\\"){t=true;return e}if(a==="?"){if(r){return r+a+(o?D.repeat(o.length):"")}if(u===0){return R+(o?D.repeat(o.length):"")}return D.repeat(s.length)}if(a==="."){return v.repeat(s.length)}if(a==="*"){if(r){return r+a+(o?F:"")}return F}return r?e:"\\"+e}));if(t===true){if(r.unescape===true){s=s.replace(/\\/g,"")}else{s=s.replace(/\\+/g,(e=>e.length%2===0?"\\\\":e?"\\":""))}}T.output=s;return T}while(!eos()){O=P();if(O==="\0"){continue}if(O==="\\"){let t=L();if(t==="/"&&r.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){O+="\\";push({type:"text",value:O});continue}let s=/^\\+/.exec(e.slice(T.index+1));let a=0;if(s&&s[0].length>2){a=s[0].length;T.index+=a;if(a%2!==0){O+="\\"}}if(r.unescape===true){O=P()||""}else{O+=P()||""}if(T.brackets===0){push({type:"text",value:O});continue}}if(T.brackets>0&&(O!=="]"||N.value==="["||N.value==="[^")){if(r.posix!==false&&O===":"){let e=N.value.slice(1);if(e.includes("[")){N.posix=true;if(e.includes(":")){let e=N.value.lastIndexOf("[");let t=N.value.slice(0,e);let r=N.value.slice(e+2);let s=Ue[r];if(s){N.value=t+s;T.backtrack=true;P();if(!o.output&&u.indexOf(N)===1){o.output=y}continue}}}}if(O==="["&&L()!==":"||O==="-"&&L()==="]"){O="\\"+O}if(O==="]"&&(N.value==="["||N.value==="[^")){O="\\"+O}if(r.posix===true&&O==="!"&&N.value==="["){O="^"}N.value+=O;append({value:O});continue}if(T.quotes===1&&O!=='"'){O=me.escapeRegex(O);N.value+=O;append({value:O});continue}if(O==='"'){T.quotes=T.quotes===1?0:1;if(r.keepQuotes===true){push({type:"text",value:O})}continue}if(O==="("){push({type:"paren",value:O});increment("parens");continue}if(O===")"){if(T.parens===0&&r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}let e=I[I.length-1];if(e&&T.parens===e.parens+1){extglobClose(I.pop());continue}push({type:"paren",value:O,output:T.parens?")":"\\)"});decrement("parens");continue}if(O==="["){if(r.nobracket===true||!e.slice(T.index+1).includes("]")){if(r.nobracket!==true&&r.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}O="\\"+O}else{increment("brackets")}push({type:"bracket",value:O});continue}if(O==="]"){if(r.nobracket===true||N&&N.type==="bracket"&&N.value.length===1){push({type:"text",value:O,output:"\\"+O});continue}if(T.brackets===0){if(r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:O,output:"\\"+O});continue}decrement("brackets");let e=N.value.slice(1);if(N.posix!==true&&e[0]==="^"&&!e.includes("/")){O="/"+O}N.value+=O;append({value:O});if(r.literalBrackets===false||me.hasRegexChars(e)){continue}let t=me.escapeRegex(N.value);T.output=T.output.slice(0,-N.value.length);if(r.literalBrackets===true){T.output+=t;N.value=t;continue}N.value=`(${c}${t}|${N.value})`;T.output+=N.value;continue}if(O==="{"&&r.nobrace!==true){push({type:"brace",value:O,output:"("});increment("braces");continue}if(O==="}"){if(r.nobrace===true||T.braces===0){push({type:"text",value:O,output:"\\"+O});continue}let e=")";if(T.dots===true){let t=u.slice();let s=[];for(let e=t.length-1;e>=0;e--){u.pop();if(t[e].type==="brace"){break}if(t[e].type!=="dots"){s.unshift(t[e].value)}}e=expandRange(s,r);T.backtrack=true}push({type:"brace",value:O,output:e});decrement("braces");continue}if(O==="|"){if(I.length>0){I[I.length-1].conditions++}push({type:"text",value:O});continue}if(O===","){let e=O;if(T.braces>0&&B[B.length-1]==="braces"){e="|"}push({type:"comma",value:O,output:e});continue}if(O==="/"){if(N.type==="dot"&&T.index===1){T.start=T.index+1;T.consumed="";T.output="";u.pop();N=o;continue}push({type:"slash",value:O,output:g});continue}if(O==="."){if(T.braces>0&&N.type==="dot"){if(N.value===".")N.output=v;N.type="dots";N.output+=O;N.value+=O;T.dots=true;continue}push({type:"dot",value:O,output:v});continue}if(O==="?"){if(N&&N.type==="paren"){let e=L();let t=O;if(e==="<"&&!me.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(N.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/[!=]/.test(L(2))){t="\\"+O}push({type:"text",value:O,output:t});continue}if(r.noextglob!==true&&L()==="("&&L(2)!=="?"){extglobOpen("qmark",O);continue}if(r.dot!==true&&(N.type==="slash"||N.type==="bos")){push({type:"qmark",value:O,output:C});continue}push({type:"qmark",value:O,output:D});continue}if(O==="!"){if(r.noextglob!==true&&L()==="("){if(L(2)!=="?"||!/[!=<:]/.test(L(3))){extglobOpen("negate",O);continue}}if(r.nonegate!==true&&T.index===0){negate(T);continue}}if(O==="+"){if(r.noextglob!==true&&L()==="("&&L(2)!=="?"){extglobOpen("plus",O);continue}if(N&&(N.type==="bracket"||N.type==="paren"||N.type==="brace")){let e=N.extglob===true?"\\"+O:O;push({type:"plus",value:O,output:e});continue}if(T.parens>0&&r.regex!==false){push({type:"plus",value:O});continue}push({type:"plus",value:m});continue}if(O==="@"){if(r.noextglob!==true&&L()==="("&&L(2)!=="?"){push({type:"at",value:O,output:""});continue}push({type:"text",value:O});continue}if(O!=="*"){if(O==="$"||O==="^"){O="\\"+O}let t=$e.exec(e.slice(T.index+1));if(t){O+=t[0];T.index+=t[0].length}push({type:"text",value:O});continue}if(N&&(N.type==="globstar"||N.star===true)){N.type="star";N.star=true;N.value+=O;N.output=F;T.backtrack=true;T.consumed+=O;continue}if(r.noextglob!==true&&L()==="("&&L(2)!=="?"){extglobOpen("star",O);continue}if(N.type==="star"){if(r.noglobstar===true){T.consumed+=O;continue}let t=N.prev;let s=t.prev;let a=t.type==="slash"||t.type==="bos";let o=s&&(s.type==="star"||s.type==="globstar");if(r.bash===true&&(!a||!eos()&&L()!=="/")){push({type:"star",value:O,output:""});continue}let u=T.braces>0&&(t.type==="comma"||t.type==="brace");let c=I.length&&(t.type==="pipe"||t.type==="paren");if(!a&&t.type!=="paren"&&!u&&!c){push({type:"star",value:O,output:""});continue}while(e.slice(T.index+1,T.index+4)==="/**"){let t=e[T.index+4];if(t&&t!=="/"){break}T.consumed+="/**";T.index+=3}if(t.type==="bos"&&eos()){N.type="globstar";N.value+=O;N.output=globstar(r);T.output=N.output;T.consumed+=O;continue}if(t.type==="slash"&&t.prev.type!=="bos"&&!o&&eos()){T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=globstar(r)+"|$)";N.value+=O;T.output+=t.output+N.output;T.consumed+=O;continue}let h=L();if(t.type==="slash"&&t.prev.type!=="bos"&&h==="/"){let e=L(2)!==void 0?"|$":"";T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=`${globstar(r)}${g}|${g}${e})`;N.value+=O;T.output+=t.output+N.output;T.consumed+=O+P();push({type:"slash",value:O,output:""});continue}if(t.type==="bos"&&h==="/"){N.type="globstar";N.value+=O;N.output=`(?:^|${g}|${globstar(r)}${g})`;T.output=N.output;T.consumed+=O+P();push({type:"slash",value:O,output:""});continue}T.output=T.output.slice(0,-N.output.length);N.type="globstar";N.output=globstar(r);N.value+=O;T.output+=N.output;T.consumed+=O;continue}let t={type:"star",value:O,output:F};if(r.bash===true){t.output=".*?";if(N.type==="bos"||N.type==="slash"){t.output=k+t.output}push(t);continue}if(N&&(N.type==="bracket"||N.type==="paren")&&r.regex===true){t.output=O;push(t);continue}if(T.index===T.start||N.type==="slash"||N.type==="dot"){if(N.type==="dot"){T.output+=x;N.output+=x}else if(r.dot===true){T.output+=w;N.output+=w}else{T.output+=k;N.output+=k}if(L()!=="*"){T.output+=y;N.output+=y}}push(t)}while(T.brackets>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));T.output=me.escapeLast(T.output,"[");decrement("brackets")}while(T.parens>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));T.output=me.escapeLast(T.output,"(");decrement("parens")}while(T.braces>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));T.output=me.escapeLast(T.output,"{");decrement("braces")}if(r.strictSlashes!==true&&(N.type==="star"||N.type==="bracket")){push({type:"maybe_slash",value:"",output:`${g}?`})}if(T.backtrack===true){T.output="";for(let e of T.tokens){T.output+=e.output!=null?e.output:e.value;if(e.suffix){T.output+=e.suffix}}}return T};parse$1.fastpaths=(e,t)=>{let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}e=Ge[e]||e;let o=me.isWindows(t);const{DOT_LITERAL:u,SLASH_LITERAL:c,ONE_CHAR:h,DOTS_SLASH:p,NO_DOT:d,NO_DOTS:v,NO_DOTS_SLASH:m,STAR:g,START_ANCHOR:y}=ve.globChars(o);let _=r.capture?"":"?:";let E=r.bash===true?".*?":g;let x=r.dot?v:d;let w=r.dot?m:d;if(r.capture){E=`(${E})`}const globstar=e=>`(${_}(?:(?!${y}${e.dot?p:u}).)*?)`;const create=e=>{switch(e){case"*":return`${x}${h}${E}`;case".*":return`${u}${h}${E}`;case"*.*":return`${x}${E}${u}${h}${E}`;case"*/*":return`${x}${E}${c}${h}${w}${E}`;case"**":return x+globstar(r);case"**/*":return`(?:${x}${globstar(r)}${c})?${w}${h}${E}`;case"**/*.*":return`(?:${x}${globstar(r)}${c})?${w}${E}${u}${h}${E}`;case"**/.*":return`(?:${x}${globstar(r)}${c})?${u}${h}${E}`;default:{let r=/^(.*?)\.(\w+)$/.exec(e);if(!r)return;let s=create(r[1],t);if(!s)return;return s+u+r[2]}}};let D=create(e);if(D&&r.strictSlashes!==true){D+=`${c}?`}return D};var We=parse$1;const picomatch=(e,t,r=false)=>{if(Array.isArray(e)){let s=e.map((e=>picomatch(e,t,r)));return e=>{for(let t of s){let r=t(e);if(r)return r}return false}}if(typeof e!=="string"||e===""){throw new TypeError("Expected pattern to be a non-empty string")}let s=t||{};let a=me.isWindows(t);let o=picomatch.makeRe(e,t,false,true);let u=o.state;delete o.state;let isIgnored=()=>false;if(s.ignore){let e=Object.assign({},t,{ignore:null,onMatch:null,onResult:null});isIgnored=picomatch(s.ignore,e,r)}const matcher=(r,c=false)=>{let{isMatch:h,match:p,output:d}=picomatch.test(r,o,t,{glob:e,posix:a});let v={glob:e,state:u,regex:o,posix:a,input:r,output:d,match:p,isMatch:h};if(typeof s.onResult==="function"){s.onResult(v)}if(h===false){v.isMatch=false;return c?v:false}if(isIgnored(r)){if(typeof s.onIgnore==="function"){s.onIgnore(v)}v.isMatch=false;return c?v:false}if(typeof s.onMatch==="function"){s.onMatch(v)}return c?v:true};if(r){matcher.state=u}return matcher};picomatch.test=(e,t,r,{glob:s,posix:a}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}let o=r||{};let u=o.format||(a?me.toPosixSlashes:null);let c=e===s;let h=c&&u?u(e):e;if(c===false){h=u?u(e):e;c=h===s}if(c===false||o.capture===true){if(o.matchBase===true||o.basename===true){c=picomatch.matchBase(e,t,r,a)}else{c=t.exec(h)}}return{isMatch:!!c,match:c,output:h}};picomatch.matchBase=(e,t,r,s=me.isWindows(r))=>{let o=t instanceof RegExp?t:picomatch.makeRe(t,r);return o.test(a.basename(e))};picomatch.isMatch=(e,t,r)=>picomatch(t,r)(e);picomatch.parse=(e,t)=>We(e,t);picomatch.scan=(e,t)=>scan(e,t);picomatch.makeRe=(e,t,r=false,s=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}let a=t||{};let o=a.contains?"":"^";let u=a.contains?"":"$";let c={negated:false,fastpaths:true};let h="";let p;if(e.startsWith("./")){e=e.slice(2);h=c.prefix="./"}if(a.fastpaths!==false&&(e[0]==="."||e[0]==="*")){p=We.fastpaths(e,t)}if(p===void 0){c=picomatch.parse(e,t);c.prefix=h+(c.prefix||"");p=c.output}if(r===true){return p}let d=`${o}(?:${p})${u}`;if(c&&c.negated===true){d=`^(?!${d}).*$`}let v=picomatch.toRegex(d,t);if(s===true){v.state=c}return v};picomatch.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}};picomatch.constants=ve;var ze=picomatch;var Ke=ze;const isEmptyString=e=>typeof e==="string"&&(e===""||e==="./");const micromatch=(e,t,r)=>{t=[].concat(t);e=[].concat(e);let s=new Set;let a=new Set;let o=new Set;let u=0;let onResult=e=>{o.add(e.output);if(r&&r.onResult){r.onResult(e)}};for(let o=0;o!s.has(e)));if(r&&h.length===0){if(r.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(r.nonull===true||r.nullglob===true){return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}}return h};micromatch.match=micromatch;micromatch.matcher=(e,t)=>Ke(e,t);micromatch.isMatch=(e,t,r)=>Ke(t,r)(e);micromatch.any=micromatch.isMatch;micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let s=new Set;let a=[];let onResult=e=>{if(r.onResult)r.onResult(e);a.push(e.output)};let o=micromatch(e,t,Object.assign({},r,{onResult:onResult}));for(let e of a){if(!o.includes(e)){s.add(e)}}return[...s]};micromatch.contains=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}if(Array.isArray(t)){return t.some((t=>micromatch.contains(e,t,r)))}if(typeof t==="string"){if(isEmptyString(e)||isEmptyString(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return micromatch.isMatch(e,t,Object.assign({},r,{contains:true}))};micromatch.matchKeys=(e,t,r)=>{if(!me.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let s=micromatch(Object.keys(e),t,r);let a={};for(let t of s)a[t]=e[t];return a};micromatch.some=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(s.some((e=>t(e)))){return true}}return false};micromatch.every=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(!s.every((e=>t(e)))){return false}}return true};micromatch.all=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}return[].concat(t).every((t=>Ke(t,r)(e)))};micromatch.capture=(e,t,r)=>{let s=me.isWindows(r);let a=Ke.makeRe(String(e),Object.assign({},r,{capture:true}));let o=a.exec(s?me.toPosixSlashes(t):t);if(o){return o.slice(1).map((e=>e===void 0?"":e))}};micromatch.makeRe=(...e)=>Ke.makeRe(...e);micromatch.scan=(...e)=>Ke.scan(...e);micromatch.parse=(e,t)=>{let r=[];for(let s of[].concat(e||[])){for(let e of K(String(s),t)){r.push(Ke.parse(e,t))}}return r};micromatch.braces=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return K(e,t)};micromatch.braceExpand=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return micromatch.braces(e,Object.assign({},t,{expand:true}))};var Qe=micromatch;function ensureArray(e){if(Array.isArray(e))return e;if(e==undefined)return[];return[e]}function getMatcherString(e,t){if(t===false){return e}return s.resolve(...typeof t==="string"?[t,e]:[e])}const Xe=function createFilter(e,t,r){const a=r&&r.resolve;const getMatcher=e=>e instanceof RegExp?e:{test:Qe.matcher(getMatcherString(e,a).split(s.sep).join("/"),{dot:true})};const o=ensureArray(e).map(getMatcher);const u=ensureArray(t).map(getMatcher);return function(e){if(typeof e!=="string")return false;if(/\0/.test(e))return false;e=e.split(s.sep).join("/");for(let t=0;tt.toUpperCase())).replace(/[^$_a-zA-Z0-9]/g,"_");if(/\d/.test(e[0])||Ye.has(e)){e=`_${e}`}return e||"_"};function stringify$2(e){return(JSON.stringify(e)||"undefined").replace(/[\u2028\u2029]/g,(e=>`\\u${("000"+e.charCodeAt(0).toString(16)).slice(-4)}`))}function serializeArray(e,t,r){let s="[";const a=t?"\n"+r+t:"";for(let o=0;o0?",":""}${a}${serialize(u,t,r+t)}`}return s+`${t?"\n"+r:""}]`}function serializeObject(e,t,r){let s="{";const a=t?"\n"+r+t:"";const o=Object.keys(e);for(let u=0;u0?",":""}${a}${h}:${t?" ":""}${serialize(e[c],t,r+t)}`}return s+`${t?"\n"+r:""}}`}function serialize(e,t,r){if(e===Infinity)return"Infinity";if(e===-Infinity)return"-Infinity";if(e===0&&1/e===-Infinity)return"-0";if(e instanceof Date)return"new Date("+e.getTime()+")";if(e instanceof RegExp)return e.toString();if(e!==e)return"NaN";if(Array.isArray(e))return serializeArray(e,t,r);if(e===null)return"null";if(typeof e==="object")return serializeObject(e,t,r);return stringify$2(e)}const tt=function dataToEsm(e,t={}){const r=t.compact?"":"indent"in t?t.indent:"\t";const s=t.compact?"":" ";const a=t.compact?"":"\n";const o=t.preferConst?"const":"var";if(t.namedExports===false||typeof e!=="object"||Array.isArray(e)||e instanceof Date||e instanceof RegExp||e===null){const a=serialize(e,t.compact?null:r,"");const o=s||(/^[{[\-\/]/.test(a)?"":" ");return`export default${o}${a};`}let u="";const c=[];const h=Object.keys(e);for(let p=0;p{var s=r(4293);var a=s.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){e.exports=s}else{copyProps(s,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return a(e,t,r)}copyProps(a,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return a(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var s=a(e);if(t!==undefined){if(typeof r==="string"){s.fill(t,r)}else{s.fill(t)}}else{s.fill(0)}return s};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return a(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s.SlowBuffer(e)}},5911:(e,t)=>{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var s=256;var a=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var u=t.re=[];var c=t.src=[];var h=0;var p=h++;c[p]="0|[1-9]\\d*";var d=h++;c[d]="[0-9]+";var v=h++;c[v]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var m=h++;c[m]="("+c[p]+")\\."+"("+c[p]+")\\."+"("+c[p]+")";var g=h++;c[g]="("+c[d]+")\\."+"("+c[d]+")\\."+"("+c[d]+")";var y=h++;c[y]="(?:"+c[p]+"|"+c[v]+")";var _=h++;c[_]="(?:"+c[d]+"|"+c[v]+")";var E=h++;c[E]="(?:-("+c[y]+"(?:\\."+c[y]+")*))";var x=h++;c[x]="(?:-?("+c[_]+"(?:\\."+c[_]+")*))";var w=h++;c[w]="[0-9A-Za-z-]+";var D=h++;c[D]="(?:\\+("+c[w]+"(?:\\."+c[w]+")*))";var C=h++;var A="v?"+c[m]+c[E]+"?"+c[D]+"?";c[C]="^"+A+"$";var S="[v=\\s]*"+c[g]+c[x]+"?"+c[D]+"?";var k=h++;c[k]="^"+S+"$";var F=h++;c[F]="((?:<|>)?=?)";var R=h++;c[R]=c[d]+"|x|X|\\*";var T=h++;c[T]=c[p]+"|x|X|\\*";var I=h++;c[I]="[v=\\s]*("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:"+c[E]+")?"+c[D]+"?"+")?)?";var B=h++;c[B]="[v=\\s]*("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:"+c[x]+")?"+c[D]+"?"+")?)?";var N=h++;c[N]="^"+c[F]+"\\s*"+c[I]+"$";var O=h++;c[O]="^"+c[F]+"\\s*"+c[B]+"$";var L=h++;c[L]="(?:^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";var P=h++;c[P]="(?:~>?)";var j=h++;c[j]="(\\s*)"+c[P]+"\\s+";u[j]=new RegExp(c[j],"g");var M="$1~";var V=h++;c[V]="^"+c[P]+c[I]+"$";var q=h++;c[q]="^"+c[P]+c[B]+"$";var U=h++;c[U]="(?:\\^)";var $=h++;c[$]="(\\s*)"+c[U]+"\\s+";u[$]=new RegExp(c[$],"g");var H="$1^";var G=h++;c[G]="^"+c[U]+c[I]+"$";var W=h++;c[W]="^"+c[U]+c[B]+"$";var z=h++;c[z]="^"+c[F]+"\\s*("+S+")$|^$";var K=h++;c[K]="^"+c[F]+"\\s*("+A+")$|^$";var Q=h++;c[Q]="(\\s*)"+c[F]+"\\s*("+S+"|"+c[I]+")";u[Q]=new RegExp(c[Q],"g");var X="$1$2$3";var J=h++;c[J]="^\\s*("+c[I]+")"+"\\s+-\\s+"+"("+c[I]+")"+"\\s*$";var Z=h++;c[Z]="^\\s*("+c[B]+")"+"\\s+-\\s+"+"("+c[B]+")"+"\\s*$";var Y=h++;c[Y]="(<|>)?=?\\s*\\*";for(var ee=0;ees){return null}var r=t.loose?u[k]:u[C];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>s){throw new TypeError("version is longer than "+s+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?u[k]:u[C]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>a||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>a||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>a||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,r,s){if(typeof r==="string"){s=r;r=undefined}try{return new SemVer(e,r).inc(t,s).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var s=parse(t);var a="";if(r.prerelease.length||s.prerelease.length){a="pre";var o="prerelease"}for(var u in r){if(u==="major"||u==="minor"||u==="patch"){if(r[u]!==s[u]){return a+u}}}return o}}t.compareIdentifiers=compareIdentifiers;var te=/^[0-9]+$/;function compareIdentifiers(e,t){var r=te.test(e);var s=te.test(t);if(r&&s){e=+e;t=+t}return e===t?0:r&&!s?-1:s&&!r?1:e0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,s){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,s);case"!=":return neq(e,r,s);case">":return gt(e,r,s);case">=":return gte(e,r,s);case"<":return lt(e,r,s);case"<=":return lte(e,r,s);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===re){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var re={};Comparator.prototype.parse=function(e){var t=this.options.loose?u[z]:u[K];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1];if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=re}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===re){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var r;if(this.operator===""){r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){r=new Range(this.value,t);return satisfies(e.semver,r,t)}var s=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var a=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var c=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var h=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return s||a||o&&u||c||h};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var s=t?u[Z]:u[J];e=e.replace(s,hyphenReplace);r("hyphen replace",e);e=e.replace(u[Q],X);r("comparator trim",e,u[Q]);e=e.replace(u[j],M);e=e.replace(u[$],H);e=e.split(/\s+/).join(" ");var a=t?u[z]:u[K];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(a)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return r.every((function(r){return e.set.some((function(e){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var s=t.loose?u[q]:u[V];return e.replace(s,(function(t,s,a,o,u){r("tilde",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else if(u){r("replaceTilde pr",u);c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}r("tilde return",c);return c}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var s=t.loose?u[W]:u[G];return e.replace(s,(function(t,s,a,o,u){r("caret",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){if(s==="0"){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+".0 <"+(+s+1)+".0.0"}}else if(u){r("replaceCaret pr",u);if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+(+s+1)+".0.0"}}else{r("no pr");if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+" <"+(+s+1)+".0.0"}}r("caret return",c);return c}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var s=t.loose?u[O]:u[N];return e.replace(s,(function(t,s,a,o,u,c){r("xRange",e,t,s,a,o,u,c);var h=isX(a);var p=h||isX(o);var d=p||isX(u);var v=d;if(s==="="&&v){s=""}if(h){if(s===">"||s==="<"){t="<0.0.0"}else{t="*"}}else if(s&&v){if(p){o=0}u=0;if(s===">"){s=">=";if(p){a=+a+1;o=0;u=0}else{o=+o+1;u=0}}else if(s==="<="){s="<";if(p){a=+a+1}else{o=+o+1}}t=s+a+"."+o+"."+u}else if(p){t=">="+a+".0.0 <"+(+a+1)+".0.0"}else if(d){t=">="+a+"."+o+".0 <"+a+"."+(+o+1)+".0"}r("xRange return",t);return t}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(u[Y],"")}function hyphenReplace(e,t,r,s,a,o,u,c,h,p,d,v,m){if(isX(r)){t=""}else if(isX(s)){t=">="+r+".0.0"}else if(isX(a)){t=">="+r+"."+s+".0"}else{t=">="+t}if(isX(h)){c=""}else if(isX(p)){c="<"+(+h+1)+".0.0"}else if(isX(d)){c="<"+h+"."+(+p+1)+".0"}else if(v){c="<="+h+"."+p+"."+d+"-"+v}else{c="<="+c}return(t+" "+c).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t0){var o=e[a].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===-1){s=e;a=new SemVer(s,r)}}}));return s}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===1){s=e;a=new SemVer(s,r)}}}));return s}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var s=0;s":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,s){e=new SemVer(e,s);t=new Range(t,s);var a,o,u,c,h;switch(r){case">":a=gt;o=lte;u=lt;c=">";h=">=";break;case"<":a=lt;o=gte;u=gt;c="<";h="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,s)){return false}for(var p=0;p=0.0.0")}v=v||e;m=m||e;if(a(e.semver,v.semver,s)){v=e}else if(u(e.semver,m.semver,s)){m=e}}));if(v.operator===c||v.operator===h){return false}if((!m.operator||m.operator===c)&&o(e,m.semver)){return false}else if(m.operator===h&&u(e,m.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(u[L]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},9344:e=>{e.exports=function(e){[process.stdout,process.stderr].forEach((function(t){if(t._handle&&t.isTTY&&typeof t._handle.setBlocking==="function"){t._handle.setBlocking(e)}}))}},4931:(e,t,r)=>{var s=r(2357);var a=r(3710);var o=r(8614);if(typeof o!=="function"){o=o.EventEmitter}var u;if(process.__signal_exit_emitter__){u=process.__signal_exit_emitter__}else{u=process.__signal_exit_emitter__=new o;u.count=0;u.emitted={}}if(!u.infinite){u.setMaxListeners(Infinity);u.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(h===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var remove=function(){u.removeListener(r,e);if(u.listeners("exit").length===0&&u.listeners("afterexit").length===0){unload()}};u.on(r,e);return remove};e.exports.unload=unload;function unload(){if(!h){return}h=false;a.forEach((function(e){try{process.removeListener(e,c[e])}catch(e){}}));process.emit=d;process.reallyExit=p;u.count-=1}function emit(e,t,r){if(u.emitted[e]){return}u.emitted[e]=true;u.emit(e,t,r)}var c={};a.forEach((function(e){c[e]=function listener(){var t=process.listeners(e);if(t.length===u.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}}));e.exports.signals=function(){return a};e.exports.load=load;var h=false;function load(){if(h){return}h=true;u.count+=1;a=a.filter((function(e){try{process.on(e,c[e]);return true}catch(e){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var p=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);p.call(process,process.exitCode)}var d=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=d.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return d.apply(this,arguments)}}},3710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},4957:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";var t={};var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(var s=0;s>=1;var D=w?-g:g;if(v==0){r+=D;p.push(r)}else if(v===1){s+=D;p.push(s)}else if(v===2){a+=D;p.push(a)}else if(v===3){o+=D;p.push(o)}else if(v===4){u+=D;p.push(u)}v++;g=m=0}}}if(p.length)h.push(new Int32Array(p));c.push(h);return c}function encode(e){var t=0;var r=0;var s=0;var a=0;var o="";for(var u=0;u0)o+=";";if(c.length===0)continue;var h=0;var p=[];for(var d=0,v=c;d1){g+=encodeInteger(m[1]-t)+encodeInteger(m[2]-r)+encodeInteger(m[3]-s);t=m[1];r=m[2];s=m[3]}if(m.length===5){g+=encodeInteger(m[4]-a);a=m[4]}p.push(g)}o+=p.join(",")}return o}function encodeInteger(e){var t="";e=e<0?-e<<1|1:e<<1;do{var s=e&31;e>>=5;if(e>0){s|=32}t+=r[s]}while(e>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},2577:(e,t,r)=>{"use strict";const s=r(3520);const a=r(4882);e.exports=e=>{if(typeof e!=="string"||e.length===0){return 0}e=s(e);let t=0;for(let r=0;r=127&&s<=159){continue}if(s>=768&&s<=879){continue}if(s>65535){r++}t+=a(s)?2:1}return t}},9139:e=>{"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},3520:(e,t,r)=>{"use strict";const s=r(9139);e.exports=e=>typeof e==="string"?e.replace(s(),""):e},4841:(e,t,r)=>{"use strict";var s=r(1867).Buffer;var a=s.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(s.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=s.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var r;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";r=this.lastNeed;this.lastNeed=0}else{r=0}if(r>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,r){var s=t.length-1;if(s=0){if(a>0)e.lastNeed=a-1;return a}if(--s=0){if(a>0)e.lastNeed=a-2;return a}if(--s=0){if(a>0){if(a===2)a=0;else e.lastNeed=a-3}return a}return 0}function utf8CheckExtraBytes(e,t,r){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,e,t);if(r!==undefined)return r;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var r=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var s=e.length-(r-this.lastNeed);e.copy(this.lastChar,0,s);return e.toString("utf8",t,s)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var s=r.charCodeAt(r.length-1);if(s>=55296&&s<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function base64Text(e,t){var r=(e.length-t)%3;if(r===0)return e.toString("base64",t);this.lastNeed=3-r;this.lastTotal=3;if(r===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-r)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},5591:(e,t,r)=>{"use strict";var s=r(5465)();e.exports=function(e){return typeof e==="string"?e.replace(s,""):e}},5465:e=>{"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},5278:(e,t,r)=>{e.exports=r(1669).deprecate},8034:(e,t,r)=>{"use strict";var s=r(2577);t.center=alignCenter;t.left=alignLeft;t.right=alignRight;function createPadding(e){var t="";var r=" ";var s=e;do{if(s%2){t+=r}s=Math.floor(s/2);r+=r}while(s);return t}function alignLeft(e,t){var r=e.trimRight();if(r.length===0&&e.length>=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o="";var u=s(r);if(u{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{const s=r(5622);const{readFileSync:a,readFile:o,stat:u,lstat:c,readlink:h,statSync:p}=r(7758);const{walk:d}=r(6465);const v=r(5734);const{attachScopes:m}=r(5648);const g=r(798);let y=r(390);const _=r(8384);const E=r(8357);const x=r(1331);const w=r(1957);const D=r(8011);const C=r(3953);const{pregyp:A,nbind:S}=r(5277);const k=r(9646);const{getOptions:F}=r(3432);const R=r(9283);const T=r(4723);const I=r(2087);const B=r(4090);const{pathToFileURL:N,fileURLToPath:O}=r(8835);y=y.Parser.extend(r(4259),r(104));const L=[".js",".json",".node"];const{UNKNOWN:P,FUNCTION:j,WILDCARD:M,wildcardRegEx:V}=g;function isIdentifierRead(e,t){switch(t.type){case"ObjectPattern":case"ArrayPattern":return false;case"AssignmentExpression":return t.right===e;case"MemberExpression":return t.computed||e===t.object;case"Property":return e===t.value;case"MethodDefinition":return false;case"VariableDeclarator":return t.id!==e;case"ExportSpecifier":return false;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":return false;default:return true}}function isVarLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"}function isLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="WhileStatement"||e.type==="DoWhileStatement"}const q=new Map;let U;let $=0;function getAssetState(e,t){let r=q.get(t);if(!r){q.set(t,r={stateId:++$,entryIds:getEntryIds(t),assets:Object.create(null),assetNames:Object.create(null),assetMeta:Object.create(null),hadOptions:false})}if(!r.hadOptions){r.hadOptions=true;if(e&&e.existingAssetNames){e.existingAssetNames.forEach((e=>{r.assetNames[e]=true}))}}return U=r}const flattenArray=e=>Array.prototype.concat.apply([],e);function getEntryIds(e){if(e.options.entry){if(typeof e.options.entry==="string"){try{return[R.sync(e.options.entry,{extensions:L})]}catch(e){return}}else if(typeof e.options.entry==="object"){try{return flattenArray(Object.values(e.options.entry).map((e=>{if(typeof e==="string"){return[e]}if(e&&Array.isArray(e.import)){return e.import}return[]}))).map((e=>R.sync(e,{extensions:L})))}catch(e){return}}}}function assetBase(e){if(!e)return"";if(e.endsWith("/")||e.endsWith("\\"))return e;return e+"/"}const H={cwd:()=>se,env:{NODE_ENV:P,[P]:true},[P]:true};const G=Symbol();const W=Symbol();const z=Symbol();const K=Symbol();const Q=Symbol();const X=Symbol();const J=Symbol();const Z={access:K,accessSync:K,createReadStream:K,exists:K,existsSync:K,fstat:K,fstatSync:K,lstat:K,lstatSync:K,open:K,readFile:K,readFileSync:K,stat:K,statSync:K};const Y=Object.assign(Object.create(null),{bindings:{default:X},express:{default:function(){return{[P]:true,set:G,engine:W}}},fs:{default:Z,...Z},process:{default:H,...H},path:{default:{}},os:{default:I,...I},"node-pre-gyp":A,"node-pre-gyp/lib/pre-binding":A,"node-pre-gyp/lib/pre-binding.js":A,"@mapbox/node-pre-gyp":A,"@mapbox/node-pre-gyp/lib/pre-binding":A,"@mapbox/node-pre-gyp/lib/pre-binding.js":A,"node-gyp-build":{default:J},nbind:{init:z,default:{init:z}},"resolve-from":{default:Q}});const ee={MONGOOSE_DRIVER_PATH:undefined,URL:URL};ee.global=ee.GLOBAL=ee.globalThis=ee;const te=Symbol();A.find[te]=true;const re=Y.path;Object.keys(s).forEach((e=>{const t=s[e];if(typeof t==="function"){const fn=function(){return t.apply(this,arguments)};fn[te]=true;re[e]=re.default[e]=fn}else{re[e]=re.default[e]=t}}));re.resolve=re.default.resolve=function(...e){return s.resolve.apply(this,[se,...e])};re.resolve[te]=true;const ie=new Set([".h",".cmake",".c",".cpp"]);const ne=new Set(["CHANGELOG.md","README.md","readme.md","changelog.md"]);let se;function backtrack(e,t){if(!t||t.type!=="ArrayExpression")return e.skip()}const ae=/^\/[^\/]+|^[a-z]:[\\/][^\\/]+/i;function isAbsolutePathOrUrl(e){if(e instanceof URL)return e.protocol==="file:";if(typeof e==="string"){if(e.startsWith("file:")){try{new URL(e);return true}catch{return false}}return ae.test(e)}return false}const oe=Symbol();function generateWildcardRequire(e,t,r,a,o){const u=a.length;const c=t.endsWith(M);const h=t.indexOf(M);const p=t.substr(0,h);const d=t.substr(h+1);const v=d?"?(.@(js|json|node))":".@(js|json|node)";if(o)console.log("Generating wildcard requires for "+t.replace(M,"*"));let m=w.sync(p+"**"+d+v,{mark:true,ignore:"node_modules/**/*"});if(!m.length)return;const g=m.map(((t,r)=>{const a=JSON.stringify(t.substring(p.length,t.lastIndexOf(d)));let o=s.relative(e,t).replace(/\\/g,"/");if(!o.startsWith("../"))o="./"+o;let u=r===0?" ":" else ";if(c&&a.endsWith('.js"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-4)}")`;else if(c&&a.endsWith('.json"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-6)}")`;else if(c&&a.endsWith('.node"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-6)}")`;else u+=`if (arg === ${a})`;u+=` return require(${JSON.stringify(o)});`;return u})).join("\n");a.push(`function __ncc_wildcard$${u} (arg) {\n${g}\n}`);return`__ncc_wildcard$${u}(${r})`}const ue=new WeakSet;function injectPathHook(e,t){const{mainTemplate:r}=e;if(!ue.has(r)){ue.add(r);r.hooks.requireExtensions.tap("asset-relocator-loader",((e,r)=>{let a="";if(r.name){a=s.relative(s.dirname(r.name),".").replace(/\\/g,"/");if(a.length)a="/"+a}return`${e}\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + ${JSON.stringify(a+"/"+assetBase(t))};`}))}}e.exports=async function(e,t){if(this.cacheable)this.cacheable();this.async();const r=this.resourcePath;const A=s.dirname(r);const T=F(this);injectPathHook(this._compilation,T.outputAssetBase);if(r.endsWith(".node")){const t=getAssetState(T,this._compilation);const s=D(this.resourcePath)||A;await x(s,t,assetBase(T.outputAssetBase),this.emitFile);let a;if(!(a=t.assets[r]))a=t.assets[r]=E(r.substr(s.length+1).replace(/\\/g,"/"),r,t.assetNames);const o=await new Promise(((e,t)=>u(r,((r,s)=>r?t(r):e(s.mode)))));t.assetMeta[a]={path:r,permissions:o};this.emitFile(assetBase(T.outputAssetBase)+a,e);this.callback(null,"module.exports = __non_webpack_require__(__webpack_require__.ab + "+JSON.stringify(a)+")");return}if(r.endsWith(".json"))return this.callback(null,I,t);let I=e.toString();if(typeof T.production==="boolean"&&H.env.NODE_ENV===P){H.env.NODE_ENV=T.production?"production":"dev"}if(!se){if(typeof T.cwd==="string")se=s.resolve(T.cwd);else se=process.cwd()}const q=getAssetState(T,this._compilation);const U=q.entryIds;const $=D(r);const emitAsset=e=>{let t=s.basename(e);if(e.endsWith(".node")){if($)t=e.substr($.length+1).replace(/\\/g,"/");const r=x($,q,assetBase(T.outputAssetBase),this.emitFile);Z=Z.then((()=>r))}let a;if(!(a=q.assets[e])){a=q.assets[e]=E(t,e,q.assetNames);if(T.debugLog)console.log("Emitting "+e+" for static use in module "+r)}Z=Z.then((async()=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+a]=s.relative(r,s.resolve(r,t))}else{q.assetMeta[assetBase(T.outputAssetBase)+a]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+a,t)}}));return"__webpack_require__.ab + "+JSON.stringify(a).replace(/\\/g,"/")};const emitAssetDirectory=(e,t)=>{const a=e.indexOf(M);const u=a===-1?e.length:e.lastIndexOf(s.sep,a);const p=e.substr(0,u);const d=e.substr(u);const v=d.replace(V,((e,t)=>d[t-1]===s.sep?"**/*":"*/**/*"))||"/**/*";if(T.debugLog)console.log("Emitting directory "+p+v+" for static use in module "+r);const m=s.basename(p);const g=q.assets[p]||(q.assets[p]=E(m,p,q.assetNames,true));q.assets[p]=g;const y=w.sync(p+v,{mark:true,ignore:"node_modules/**/*"}).filter((e=>!ie.has(s.extname(e))&&!ne.has(s.basename(e))&&!e.endsWith("/")));if(!y.length)return;Z=Z.then((async()=>{await Promise.all(y.map((async e=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+g+e.substr(p.length)]=s.relative(r,s.resolve(r,t)).replace(/\\/g,"/")}else{q.assetMeta[assetBase(T.outputAssetBase)+g+e.substr(p.length)]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+g+e.substr(p.length),t)}})))}));let _="";let x="";if(t){let e=d;let r=true;for(const s of t){const t=e.indexOf(M);const a=e.substr(0,t);e=e.substr(t+1);if(r){x=a;r=false}else{_+=" + '"+JSON.stringify(a).slice(1,-1)+"'"}if(s.type==="SpreadElement")_+=" + "+I.substring(s.argument.start,s.argument.end)+".join('/')";else _+=" + "+I.substring(s.start,s.end)}if(e.length){_+=" + '"+JSON.stringify(e).replace(/\\/g,"/").slice(1,-1)+"'"}}return"__webpack_require__.ab + "+JSON.stringify((g+x).replace(/\\/g,"/"))+_};let Z=Promise.resolve();const re=new v(I);let ue,le;try{ue=y.parse(I,{allowReturnOutsideFunction:true,ecmaVersion:2020});le=false}catch(e){}if(!ue){try{ue=y.parse(I,{sourceType:"module",ecmaVersion:2020,allowAwaitOutsideFunction:true});le=true}catch(e){return this.callback(null,I,t)}}let ce=m(ue,"scope");let fe=false;const he=N(r).href;const pe=Object.assign(Object.create(null),{__dirname:{shadowDepth:0,value:s.resolve(r,"..")},__filename:{shadowDepth:0,value:r},process:{shadowDepth:0,value:H}});if(!le){pe.require={shadowDepth:0,value:{[j](e){const t=Y[e];return t.default},resolve(e){return R.sync(e,{basedir:A,extensions:L})}}};pe.require.value.resolve[te]=true}let de=[];function setKnownBinding(e,t){if(e==="require")return;pe[e]={shadowDepth:0,value:t}}function getKnownBinding(e){const t=pe[e];if(t){if(t.shadowDepth===0){return t.value}}}if(le){for(const e of ue.body){if(e.type==="ImportDeclaration"){const t=e.source.value;const r=Y[t];if(r){for(const t of e.specifiers){if(t.type==="ImportNamespaceSpecifier")setKnownBinding(t.local.name,r);else if(t.type==="ImportDefaultSpecifier"&&"default"in r)setKnownBinding(t.local.name,r.default);else if(t.type==="ImportSpecifier"&&t.imported.name in r)setKnownBinding(t.local.name,r[t.imported.name])}}}}}function computePureStaticValue(e,t=true){const r=Object.create(null);Object.keys(pe).forEach((e=>{r[e]=getKnownBinding(e)}));Object.keys(ee).forEach((e=>{r[e]=ee[e]}));r["import.meta"]={url:he};const s=g(e,r,t);return s}let ve,me;let ge=false;let be;function isStaticRequire(e){return e&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length===1&&e.arguments[0].type==="Literal"}({ast:ue=ue,scope:ce=ce,transformed:fe=fe}=k({id:r,ast:ue,scope:ce,pkgBase:$,magicString:re,options:T,emitAsset:emitAsset,emitAssetDirectory:emitAssetDirectory})||{});d(ue,{enter(e,t){if(e.scope){ce=e.scope;for(const t in e.scope.declarations){if(t in pe)pe[t].shadowDepth++}}if(ve)return backtrack(this,t);if(e.type==="Identifier"){if(isIdentifierRead(e,t)){let r;if(typeof(r=getKnownBinding(e.name))==="string"&&r.match(ae)||r&&(typeof r==="function"||typeof r==="object")&&r[te]){me={value:typeof r==="string"?r:undefined};ve=e;return this.skip()}else if(!le&&e.name==="require"&&pe.require.shadowDepth===0&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,"__non_webpack_require__");fe=true;return this.skip()}else if(!le&&e.name==="__non_webpack_require__"&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,'eval("require")');fe=true;return this.skip()}}}else if(e.type==="MemberExpression"&&e.object.type==="MetaProperty"&&e.object.meta.name==="import"&&e.object.property.name==="meta"&&(e.property.computed?e.property.value:e.property.name)==="url"){me={value:he};ve=e;return this.skip()}else if(!le&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length){const c=e.arguments[0];const{result:h,sawIdentifier:p}=computePureStaticValue(c,true);if(!h){if(c.type==="LogicalExpression"&&c.operator==="||"&&c.left.type==="Identifier"){fe=true;re.overwrite(c.start,c.end,I.substring(c.right.start,c.right.end));return this.skip()}fe=true;re.overwrite(e.callee.start,e.callee.end,"__non_webpack_require__");return this.skip()}else if(typeof h.value==="string"&&p){if(h.wildcards){const t=s.resolve(A,h.value);if(h.wildcards.length===1&&validAssetEmission(t)){const r=generateWildcardRequire(A,t,I.substring(h.wildcards[0].start,h.wildcards[0].end),de,T.debugLog);if(r){re.overwrite(e.start,e.end,r);fe=true;return this.skip()}}}else if(h.value){let e;if(T.customEmit)e=T.customEmit(h.value,true);if(e===undefined)e=JSON.stringify(h.value);if(e!==false){re.overwrite(c.start,c.end,e);fe=true;return this.skip()}}}else if(h&&typeof h.then==="string"&&typeof h.else==="string"&&p){const e=computePureStaticValue(h.test,true).result;if(e&&"value"in e){if(e){fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.then));return this.skip()}else{fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.else));return this.skip()}}else{const e=I.substring(h.test.start,h.test.end);fe=true;re.overwrite(c.start,c.end,`${e} ? ${JSON.stringify(h.then)} : ${JSON.stringify(h.else)}`);return this.skip()}}else if(t.type==="CallExpression"&&t.callee===e){if(h.value==="pkginfo"&&t.arguments.length&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="module"){let e=new Set;for(let r=1;re.id.type==="Identifier"&&e.init&&e.init.type==="CallExpression"&&e.init.callee.type==="Identifier"&&e.init.callee.name==="require"&&pe.require.shadowDepth===0&&e.init.arguments[0]&&e.init.arguments[0].type==="Identifier"&&e.init.arguments[0].name===s[0].name));if(a)o=e.body.body[t]}if(a&&e.body.body[t].type==="ReturnStatement"&&e.body.body[t].argument&&e.body.body[t].argument.type==="Identifier"&&e.body.body[t].argument.name===a.id.name){u=true;break}}if(u){let u=";";const c=e.type==="ArrowFunctionExpression"&&e.params[0].start===e.start;if(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){e=t;u=","}be=r.name+"$$mod";setKnownBinding(r.name,oe);const h=u+I.substring(e.start,r.start)+be+I.substring(r.end,s[0].start+!c)+(c?"(":"")+a.id.name+", "+I.substring(s[0].start,s[s.length-1].end+!c)+(c?")":"")+I.substring(s[0].end+!c,o.start)+I.substring(o.end,e.end);re.appendRight(e.end,h)}}}},leave(e,t){if(e.scope){ce=ce.parent;for(const t in e.scope.declarations){if(t in pe){if(pe[t].shadowDepth>0)pe[t].shadowDepth--;else delete pe[t]}}}if(ve){const t=computePureStaticValue(e,true).result;if(t){if("value"in t&&typeof t.value!=="symbol"||typeof t.then!=="symbol"&&typeof t.else!=="symbol"){me=t;ve=e;return}}emitStaticChildAsset()}}});if(!fe)return this.callback(null,I,t);Z.then((()=>{if(de.length)re.appendLeft(ue.body[0].start,de.join("\n")+"\n");I=re.toString();t=t||re.generateMap();if(t){t.sources=[r]}this.callback(null,I,t)}));function validAssetEmission(e){if(!e)return;if(e===r)return;let t="";if(e.endsWith(s.sep))t=s.sep;else if(e.endsWith(s.sep+M))t=s.sep+M;else if(e.endsWith(M))t=M;if(!T.emitDirnameAll&&e===A+t)return;if(!T.emitFilterAssetBaseAll&&e===(T.filterAssetBase||se)+t)return;if(e.endsWith(s.sep+"node_modules"+t))return;if(A.startsWith(e.substr(0,e.length-t.length)+s.sep))return;if($){const t=r.substr(0,r.indexOf(s.sep+"node_modules"))+s.sep+"node_modules"+s.sep;if(!e.startsWith(t)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the package base "+$)}return}}else if(!e.startsWith(T.filterAssetBase||se)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the filterAssetBase directory "+(T.filterAssetBase||se))}return}if(T.customEmit){const t=T.customEmit(e,{id:r,isRequire:false});if(t===false)return;if(typeof t==="string")return()=>t}return assetEmission(e)}function assetEmission(e){const t=e.indexOf(M);const r=t===-1?e.length:e.lastIndexOf(s.sep,t);const a=e.substr(0,r);try{const e=p(a);if(t!==-1&&e.isFile())return;if(e.isFile())return emitAsset;if(e.isDirectory())return emitAssetDirectory}catch(e){return}}function resolveAbsolutePathOrUrl(e){return e instanceof URL?O(e):e.startsWith("file:")?O(new URL(e)):s.resolve(e)}function emitStaticChildAsset(e=false){if(isAbsolutePathOrUrl(me.value)){let t;try{t=resolveAbsolutePathOrUrl(me.value)}catch(e){}let r;if(r=validAssetEmission(t)){let s=r(t,me.wildcards);if(s){if(e)s="__non_webpack_require__("+s+")";re.overwrite(ve.start,ve.end,s);fe=true}}}else if(isAbsolutePathOrUrl(me.then)&&isAbsolutePathOrUrl(me.else)){let t;try{t=resolveAbsolutePathOrUrl(me.then)}catch(e){}let r;try{r=resolveAbsolutePathOrUrl(me.else)}catch(e){}let s;if(!e&&(s=validAssetEmission(t))&&s===validAssetEmission(r)){const e=s(t);const a=s(r);if(e&&a){re.overwrite(ve.start,ve.end,`${I.substring(me.test.start,me.test.end)} ? ${e} : ${a}`);fe=true}}}else if(ve.type==="ArrayExpression"&&me.value instanceof Array){for(let t=0;t{if(e)console.error(e);if(t){const e=JSON.parse(t);if(e.assetMeta)s.assetMeta=e.assetMeta;if(e.assetSymlinks)s.assetSymlinks=e.assetSymlinks}}));e.compiler.hooks.afterCompile.tap("relocate-loader",(e=>{const t=e.getCache?e.getCache():e.cache;if(t)t.store("/RelocateLoader/AssetState/"+JSON.stringify(r),null,JSON.stringify({assetMeta:s.assetMeta,assetSymlinks:s.assetSymlinks}),(e=>{if(e)console.error(e)}))}))}},5277:(__unused_webpack_module,exports,__nested_webpack_require_884770__)=>{const path=__nested_webpack_require_884770__(5622);const fs=__nested_webpack_require_884770__(5747);const versioning=__nested_webpack_require_884770__(887);const napi=__nested_webpack_require_884770__(480);const pregypFind=(e,t)=>{const r=JSON.parse(fs.readFileSync(e).toString());versioning.validate_config(r,t);var s;if(napi.get_napi_build_versions(r,t)){s=napi.get_best_napi_build_version(r,t)}t=t||{};if(!t.module_root)t.module_root=path.dirname(e);var a=versioning.evaluate(r,t,s);return a.module};exports.pregyp={default:{find:pregypFind},find:pregypFind};function makeModulePathList(e,t){return[[e,t],[e,"build",t],[e,"build","Debug",t],[e,"build","Release",t],[e,"out","Debug",t],[e,"Debug",t],[e,"out","Release",t],[e,"Release",t],[e,"build","default",t],[e,process.env["NODE_BINDINGS_COMPILED_DIR"]||"compiled",process.versions.node,process.platform,process.arch,t]]}function findCompiledModule(basePath,specList){var resolvedList=[];var ext=path.extname(basePath);for(var _i=0,specList_1=specList;_i{const s=r(5622);e.exports=getUniqueAssetName;function getUniqueAssetName(e,t,r,a){const o=s.extname(e);let u=e,c=0;while((u in r||a&&Object.keys(r).some((e=>e.startsWith(u+s.sep))))&&r[u]!==t){u=e.substr(0,e.length-o.length)+ ++c+o}r[u]=t;return u}},8011:e=>{const t=/^(@[^\\\/]+[\\\/])?[^\\\/]+/;e.exports=function(e){const r=e.lastIndexOf("node_modules");if(r!==-1&&(e[r-1]==="/"||e[r-1]==="\\")&&(e[r+12]==="/"||e[r+12]==="\\")){const s=e.substr(r+13).match(t);if(s)return e.substr(0,r+13+s[0].length)}};e.exports.pkgNameRegEx=t},3953:(e,t,r)=>{const{existsSync:s}=r(5747);const{dirname:a}=r(5622);e.exports=function getPackageScope(e){let t=a(e);do{e=t;t=a(e);if(s(e+"/package.json"))return e}while(e!==t)}},4723:(e,t,r)=>{const{encode:s,decode:a}=r(4957);function traceSegment(e,t,r,s,a){const o=t[r];if(!o)return null;let u=0;let c=o.length-1;while(u<=c){const t=u+c>>1;const r=o[t];if(r[0]===s){return{source:r[1],line:r[2],column:r[3],name:e.names[r[4]]||a}}if(r[0]>s)c=t-1;else u=t+1}return null}e.exports=function(e,t){const r=[];const o=[];const u=[];const c=[];const h=a(e.mappings);for(const s of a(t.mappings)){const a=[];for(const c of s){const s=traceSegment(e,h,c[2],c[3],t.names[c[4]]);if(s){const t=e.sources[s.source];let h=r.lastIndexOf(t);if(h===-1){h=r.length;r.push(t);o[h]=e.sourcesContent[s.source]}else if(o[h]==null){o[h]=e.sourcesContent[s.source]}const p=[c[0],h,s.line,s.column];if(s.name){let e=u.indexOf(s.name);if(e===-1){e=u.length;u.push(s.name)}p[4]=e}a.push(p)}}c.push(a)}return{version:3,file:null,sources:r,mappings:s(c),names:u,sourcesContent:o}}},1331:(e,t,r)=>{const s=r(2087);const a=r(7758);const o=r(1957);const u=r(5622);let c;switch(s.platform()){case"darwin":c="/**/*.@(dylib|so?(.*))";break;case"win32":c="/**/*.dll";break;default:c="/**/*.so?(.*)"}e.exports=async function(e,t,r,s,h){const p=await new Promise(((t,r)=>o(e+c,{ignore:"node_modules/**/*"},((e,s)=>e?r(e):t(s)))));await Promise.all(p.map((async o=>{const[c,p]=await Promise.all([new Promise(((e,t)=>a.readFile(o,((r,s)=>r?t(r):e(s))))),await new Promise(((e,t)=>a.lstat(o,((r,s)=>r?t(r):e(s)))))]);if(p.isSymbolicLink()){const s=await new Promise(((e,t)=>{a.readlink(o,((r,s)=>r?t(r):e(s)))}));const c=u.dirname(o);t.assetSymlinks[r+o.substr(e.length+1)]=u.relative(c,u.resolve(c,s))}else{t.assetMeta[o.substr(e.length)]={path:o,permissions:p.mode};if(h)console.log("Emitting "+o+" for shared library support in "+e);s(r+o.substr(e.length+1),c)}})))}},9646:(e,t,r)=>{const s=r(5622);const a=r(9283);const o=r(5747);const u=r(5094);e.exports=function({id:e,code:t,pkgBase:r,ast:c,scope:h,magicString:p,emitAssetDirectory:d}){let v;({transformed:v,ast:c,scope:h}=u(c,h,p));if(v)return{transformed:v,ast:c,scope:h};if(e.endsWith("google-gax/build/src/grpc.js")||global._unit&&e.includes("google-gax")){for(const t of c.body){if(t.type==="VariableDeclaration"&&t.declarations[0].id.type==="Identifier"&&t.declarations[0].id.name==="googleProtoFilesDir"){const r=d(s.resolve(s.dirname(e),global._unit?"./":"../../../google-proto-files"));if(r){p.overwrite(t.declarations[0].init.start,t.declarations[0].init.end,r);t.declarations[0].init=null;return{transformed:true}}}}}else if(e.endsWith("socket.io/lib/index.js")||global._unit&&e.includes("socket.io")){function replaceResolvePathStatement(t){if(t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="read"&&t.expression.right.arguments.length>=1&&t.expression.right.arguments[0].type==="CallExpression"&&t.expression.right.arguments[0].callee.type==="Identifier"&&t.expression.right.arguments[0].callee.name==="resolvePath"&&t.expression.right.arguments[0].arguments.length===1&&t.expression.right.arguments[0].arguments[0].type==="Literal"){const o=t.expression.right.arguments[0].arguments[0].value;try{var r=a.sync(o,{basedir:s.dirname(e)})}catch(e){return{transformed:false}}const u="/"+s.relative(s.dirname(e),r);t.expression.right.arguments[0]={type:"BinaryExpression",start:t.expression.right.arguments[0].start,end:t.expression.right.arguments[0].end,operator:"+",left:{type:"Identifier",name:"__dirname"},right:{type:"Literal",value:u,raw:JSON.stringify(u)}};return{transformed:true}}return{transformed:false}}for(const e of c.body){if(e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&e.expression.operator==="="&&e.expression.left.type==="MemberExpression"&&e.expression.left.object.type==="MemberExpression"&&e.expression.left.object.object.type==="Identifier"&&e.expression.left.object.object.name==="Server"&&e.expression.left.object.property.type==="Identifier"&&e.expression.left.object.property.name==="prototype"&&e.expression.left.property.type==="Identifier"&&e.expression.left.property.name==="serveClient"&&e.expression.right.type==="FunctionExpression"){let t;for(const r of e.expression.right.body.body)if(r.type==="IfStatement")t=r;const r=t&&t.consequent.body;let s=false;if(r&&r[0]&&r[0].type==="ExpressionStatement")s=replaceResolvePathStatement(r[0]);const a=r&&r[1]&&r[1].type==="TryStatement"&&r[1].block.body;if(a&&a[0])s=replaceResolvePathStatement(a[0])||s;return{transformed:s}}}}else if(e.endsWith("oracledb/lib/oracledb.js")||global._unit&&e.includes("oracledb")){for(const t of c.body){if(t.type==="ForStatement"&&t.body.body&&t.body.body[0]&&t.body.body[0].type==="TryStatement"&&t.body.body[0].block.body[0]&&t.body.body[0].block.body[0].type==="ExpressionStatement"&&t.body.body[0].block.body[0].expression.type==="AssignmentExpression"&&t.body.body[0].block.body[0].expression.operator==="="&&t.body.body[0].block.body[0].expression.left.type==="Identifier"&&t.body.body[0].block.body[0].expression.left.name==="oracledbCLib"&&t.body.body[0].block.body[0].expression.right.type==="CallExpression"&&t.body.body[0].block.body[0].expression.right.callee.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.callee.name==="require"&&t.body.body[0].block.body[0].expression.right.arguments.length===1&&t.body.body[0].block.body[0].expression.right.arguments[0].type==="MemberExpression"&&t.body.body[0].block.body[0].expression.right.arguments[0].computed===true&&t.body.body[0].block.body[0].expression.right.arguments[0].object.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].object.name==="binaryLocations"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.name==="i"){const r=t.body.body[0].block.body[0].expression.right.arguments[0];t.body.body[0].block.body[0].expression.right.arguments=[{type:"Literal",value:"_"}];const s=global._unit?"3.0.0":JSON.parse(o.readFileSync(e.slice(0,-15)+"package.json")).version;const a=Number(s.slice(0,s.indexOf(".")))>=4;const u="oracledb-"+(a?s:"abi"+process.versions.modules)+"-"+process.platform+"-"+process.arch+".node";p.overwrite(r.start,r.end,global._unit?"'./oracledb.js'":"'../build/Release/"+u+"'");return{transformed:true}}}}return{transformed:false}}},798:e=>{e.exports=function(e,t={},r=true){const s={computeBranches:r,sawIdentifier:false,vars:t};const a=walk(e);return{result:a,sawIdentifier:s.sawIdentifier};function walk(e){const t=o[e.type];if(t)return t.call(s,e,walk)}};const t=e.exports.UNKNOWN=Symbol();const r=e.exports.FUNCTION=Symbol();const s=e.exports.WILDCARD="";const a=e.exports.wildcardRegEx=/\x1a/g;function countWildcards(e){a.lastIndex=0;let t=0;while(a.exec(e))t++;return t}const o={ArrayExpression(e,t){const r=[];for(let s=0,a=e.elements.length;s")return{test:a.test,then:a.then>o,else:a.else>o};if(r===">=")return{test:a.test,then:a.then>=o,else:a.else>=o};if(r==="|")return{test:a.test,then:a.then|o,else:a.else|o};if(r==="&")return{test:a.test,then:a.then&o,else:a.else&o};if(r==="^")return{test:a.test,then:a.then^o,else:a.else^o};if(r==="&&")return{test:a.test,then:a.then&&o,else:a.else&&o};if(r==="||")return{test:a.test,then:a.then||o,else:a.else||o}}else if("test"in o){a=a.value;if(r==="==")return{test:o.test,then:a==o.then,else:a==o.else};if(r==="===")return{test:o.test,then:a===o.then,else:a===o.else};if(r==="!=")return{test:o.test,then:a!=o.then,else:a!=o.else};if(r==="!==")return{test:o.test,then:a!==o.then,else:a!==o.else};if(r==="+")return{test:o.test,then:a+o.then,else:a+o.else};if(r==="-")return{test:o.test,then:a-o.then,else:a-o.else};if(r==="*")return{test:o.test,then:a*o.then,else:a*o.else};if(r==="/")return{test:o.test,then:a/o.then,else:a/o.else};if(r==="%")return{test:o.test,then:a%o.then,else:a%o.else};if(r==="<")return{test:o.test,then:a")return{test:o.test,then:a>o.then,else:a>o.else};if(r===">=")return{test:o.test,then:a>=o.then,else:a>=o.else};if(r==="|")return{test:o.test,then:a|o.then,else:a|o.else};if(r==="&")return{test:o.test,then:a&o.then,else:a&o.else};if(r==="^")return{test:o.test,then:a^o.then,else:a^o.else};if(r==="&&")return{test:o.test,then:a&&o.then,else:a&&o.else};if(r==="||")return{test:o.test,then:a||o.then,else:a||o.else}}else{if(r==="==")return{value:a.value==o.value};if(r==="===")return{value:a.value===o.value};if(r==="!=")return{value:a.value!=o.value};if(r==="!==")return{value:a.value!==o.value};if(r==="+"){const e={value:a.value+o.value};if(a.wildcards||o.wildcards)e.wildcards=[...a.wildcards||[],...o.wildcards||[]];return e}if(r==="-")return{value:a.value-o.value};if(r==="*")return{value:a.value*o.value};if(r==="/")return{value:a.value/o.value};if(r==="%")return{value:a.value%o.value};if(r==="<")return{value:a.value")return{value:a.value>o.value};if(r===">=")return{value:a.value>=o.value};if(r==="|")return{value:a.value|o.value};if(r==="&")return{value:a.value&o.value};if(r==="^")return{value:a.value^o.value};if(r==="&&")return{value:a.value&&o.value};if(r==="||")return{value:a.value||o.value}}return},CallExpression(e,a){const o=a(e.callee);if(!o||"test"in o)return;let u=o.value;if(typeof u==="object"&&u!==null)u=u[r];if(typeof u!=="function")return;const c=e.callee.object&&a(e.callee.object).value||null;let h;let p=[];let d;let v=e.arguments.length>0;const m=[];for(let t=0,r=e.arguments.length;tm.push(e)))}else{if(!this.computeBranches)return;r={value:s};m.push(e.arguments[t])}if("test"in r){if(m.length)return;if(h)return;h=r.test;d=p.concat([]);p.push(r.then);d.push(r.else)}else{p.push(r.value);if(d)d.push(r.value)}}if(v)return;try{const e=u.apply(c,p);if(e===t)return;if(!h){if(m.length){if(typeof e!=="string"||countWildcards(e)!==m.length)return;return{value:e,wildcards:m}}return{value:e}}const r=u.apply(c,d);if(e===t)return;return{test:h,then:e,else:r}}catch(e){return}},ConditionalExpression(e,t){const r=t(e.test);if(r&&"value"in r)return r.value?t(e.consequent):t(e.alternate);if(!this.computeBranches)return;const s=t(e.consequent);if(!s||"wildcards"in s||"test"in s)return;const a=t(e.alternate);if(!a||"wildcards"in a||"test"in a)return;return{test:e.test,then:s.value,else:a.value}},ExpressionStatement(e,t){return t(e.expression)},Identifier(e){this.sawIdentifier=true;if(Object.hasOwnProperty.call(this.vars,e.name)){const r=this.vars[e.name];if(r===t)return;return{value:r}}return},Literal(e){return{value:e.value}},MemberExpression(e,r){const s=r(e.object);if(!s||"test"in s||typeof s.value==="function")return;if(e.property.type==="Identifier"){if(typeof s.value==="object"&&s.value!==null){if(e.property.name in s.value){const r=s.value[e.property.name];if(r===t)return;return{value:r}}else if(s.value[t])return}else{return{value:undefined}}}const a=r(e.property);if(!a||"test"in a)return;if(typeof s.value==="object"&&s.value!==null){if(a.value in s.value){const e=s.value[a.value];if(e===t)return;return{value:e}}else if(s.value[t]){return}}else{return{value:undefined}}},MetaProperty:function MetaProperty(e){if(e.meta.name==="import"&&e.property.name==="meta"){return{value:this.vars["import.meta"]}}return undefined},NewExpression:function NewExpression(e,t){const r=t(e.callee);if(r&&"value"in r&&r.value===URL&&e.arguments.length){const r=t(e.arguments[0]);if(!r)return undefined;let s=null;if(e.arguments[1]){s=t(e.arguments[1]);if(!s||!("value"in s))return undefined}if("value"in r){if(s){try{return{value:new URL(r.value,s.value)}}catch{return undefined}}try{return{value:new URL(r.value)}}catch{return undefined}}else{const e=r.test;if(s){try{return{test:e,then:new URL(r.then,s.value),else:new URL(r.else,s.value)}}catch{return undefined}}try{return{test:e,then:new URL(r.then),else:new URL(r.else)}}catch{return undefined}}}return undefined},ObjectExpression(e,r){const s={};for(let a=0;a{const{walk:s}=r(6465);function isUndefinedOrVoid(e){return e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function handleWrappers(e,t,r){let a=false;let o;if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="UnaryExpression"&&e.body[0].expression.operator==="!"&&e.body[0].expression.argument.type==="CallExpression"&&e.body[0].expression.argument.callee.type==="FunctionExpression"&&e.body[0].expression.argument.arguments.length===1)o=e.body[0].expression.argument;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="CallExpression"&&e.body[0].expression.callee.type==="FunctionExpression"&&e.body[0].expression.arguments.length===1)o=e.body[0].expression;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="AssgnmentExpression"&&e.body[0].expression.left.type==="MemberExpression"&&e.body[0].expression.left.object.type==="Identifier"&&e.body[0].expression.left.object.name==="module"&&e.body[0].expression.left.property.type==="Identifier"&&e.body[0].expression.left.property.name==="exports"&&e.body[0].expression.right.type==="CallExpression"&&e.body[0].expression.right.callee.type==="FunctionExpression"&&e.body[0].expression.right.arguments.length===1)o=e.body[0].expression.right;if(o){if(o.arguments[0].type==="ConditionalExpression"&&o.arguments[0].test.type==="LogicalExpression"&&o.arguments[0].test.operator==="&&"&&o.arguments[0].test.left.type==="BinaryExpression"&&o.arguments[0].test.left.operator==="==="&&o.arguments[0].test.left.left.type==="UnaryExpression"&&o.arguments[0].test.left.left.operator==="typeof"&&o.arguments[0].test.left.left.argument.name==="define"&&o.arguments[0].test.left.right.type==="Literal"&&o.arguments[0].test.left.right.value==="function"&&o.arguments[0].test.right.type==="MemberExpression"&&o.arguments[0].test.right.object.type==="Identifier"&&o.arguments[0].test.right.property.type==="Identifier"&&o.arguments[0].test.right.property.name==="amd"&&o.arguments[0].test.right.computed===false&&o.arguments[0].alternate.type==="FunctionExpression"&&o.arguments[0].alternate.params.length===1&&o.arguments[0].alternate.params[0].type==="Identifier"&&o.arguments[0].alternate.body.body.length===1&&o.arguments[0].alternate.body.body[0].type==="ExpressionStatement"&&o.arguments[0].alternate.body.body[0].expression.type==="AssignmentExpression"&&o.arguments[0].alternate.body.body[0].expression.left.type==="MemberExpression"&&o.arguments[0].alternate.body.body[0].expression.left.object.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.object.name==="module"&&o.arguments[0].alternate.body.body[0].expression.left.property.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.property.name==="exports"&&o.arguments[0].alternate.body.body[0].expression.left.computed===false&&o.arguments[0].alternate.body.body[0].expression.right.type==="CallExpression"&&o.arguments[0].alternate.body.body[0].expression.right.callee.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.callee.name===o.arguments[0].alternate.params[0].name&&o.arguments[0].alternate.body.body[0].expression.right.arguments.length===1&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].name==="require"){let e=o.callee.body.body;if(e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal"&&e[0].expression.value==="use strict"){e=e.slice(1)}if(e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Identifier"&&e[0].expression.callee.name===o.arguments[0].test.right.object.name&&e[0].expression.arguments.length===1&&e[0].expression.arguments[0].type==="FunctionExpression"&&e[0].expression.arguments[0].params.length===1&&e[0].expression.arguments[0].params[0].type==="Identifier"&&e[0].expression.arguments[0].params[0].name==="require"){r.remove(e[0].expression.arguments[0].params[0].start,e[0].expression.arguments[0].params[0].end);a=true}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===0&&(o.arguments[0].body.body.length===1||o.arguments[0].body.body.length===2&&o.arguments[0].body.body[0].type==="VariableDeclaration"&&o.arguments[0].body.body[0].declarations.length===3&&o.arguments[0].body.body[0].declarations.every((e=>e.init===null&&e.id.type==="Identifier")))&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].type==="ReturnStatement"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.length&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.every((e=>e.type==="Literal"&&typeof e.value==="number"))&&(o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"||o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.type==="FunctionExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.arguments.length===0)&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments.length===3&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[1].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[2].type==="ArrayExpression"){const e=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].properties;const t=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"?o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee:o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.body.body[0];let s;if(t.type==="FunctionDeclaration")s=t.body;else if(t.type==="ReturnStatement")s=t.argument.body;if(s){const e=s.body[0].body.body[0].consequent.body[0].consequent.body[0].declarations[0].init;const t=s.body[1].init.declarations[0].init;e.right.name="_";t.right.name="_";r.overwrite(e.start,e.end,"__non_webpack_require__");r.overwrite(t.start,t.end,"__non_webpack_require__");a=true}const u={};if(e.every((e=>{if(e.type!=="Property"||e.computed!==false||e.key.type!=="Literal"||typeof e.key.value!=="number"||e.value.type!=="ArrayExpression"||e.value.elements.length!==2||e.value.elements[0].type!=="FunctionExpression"||e.value.elements[1].type!=="ObjectExpression")return false;const t=e.value.elements[1].properties;for(const e of t){if(e.type!=="Property"||e.value.type!=="Identifier"&&e.value.type!=="Literal"&&!isUndefinedOrVoid(e.value)||!(e.key.type==="Literal"&&typeof e.key.value==="string"||e.key.type==="Identifier")||e.computed)return false;if(isUndefinedOrVoid(e.value))u[e.key.value||e.key.name]=true}return true}))){const e=Object.keys(u);if(e.length){const t=(o.arguments[0].body.body[1]||o.arguments[0].body.body[0]).argument.callee.arguments[1];const s=e.map((e=>`"${e}": { exports: require("${e}") }`)).join(",\n ");r.appendRight(t.end-1,s);a=true}}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===2&&o.arguments[0].params[0].type==="Identifier"&&o.arguments[0].params[1].type==="Identifier"&&o.callee.body.body.length===1){const e=o.callee.body.body[0];if(e.type==="IfStatement"&&e.test.type==="LogicalExpression"&&e.test.operator==="&&"&&e.test.left.type==="BinaryExpression"&&e.test.left.left.type==="UnaryExpression"&&e.test.left.left.operator==="typeof"&&e.test.left.left.argument.type==="Identifier"&&e.test.left.left.argument.name==="module"&&e.test.left.right.type==="Literal"&&e.test.left.right.value==="object"&&e.test.right.type==="BinaryExpression"&&e.test.right.left.type==="UnaryExpression"&&e.test.right.left.operator==="typeof"&&e.test.right.left.argument.type==="MemberExpression"&&e.test.right.left.argument.object.type==="Identifier"&&e.test.right.left.argument.object.name==="module"&&e.test.right.left.argument.property.type==="Identifier"&&e.test.right.left.argument.property.name==="exports"&&e.test.right.right.type==="Literal"&&e.test.right.right.value==="object"&&e.consequent.type==="BlockStatement"&&e.consequent.body.length>0){let t;if(e.consequent.body[0].type==="VariableDeclaration"&&e.consequent.body[0].declarations[0].init&&e.consequent.body[0].declarations[0].init.type==="CallExpression")t=e.consequent.body[0].declarations[0].init;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="CallExpression")t=e.consequent.body[0].expression;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="AssignmentExpression"&&e.consequent.body[0].expression.right.type==="CallExpression")t=e.consequent.body[0].expression.right;if(t&&t.callee.type==="Identifier"&&t.callee.name===o.callee.params[0].name&&t.arguments.length===2&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="require"&&t.arguments[1].type==="Identifier"&&t.arguments[1].name==="exports"){r.remove(o.arguments[0].params[0].start,o.arguments[0].params[o.arguments[0].params.length-1].end);a=true}}}else if(o.callee.type==="FunctionExpression"&&o.callee.params.length===1&&o.callee.body.body.length>2&&o.callee.body.body[0].type==="VariableDeclaration"&&o.callee.body.body[0].declarations.length===1&&o.callee.body.body[0].declarations[0].type==="VariableDeclarator"&&o.callee.body.body[0].declarations[0].id.type==="Identifier"&&o.callee.body.body[0].declarations[0].init.type==="ObjectExpression"&&o.callee.body.body[0].declarations[0].init.properties.length===0&&o.callee.body.body[1].type==="FunctionDeclaration"&&o.callee.body.body[1].params.length===1&&o.callee.body.body[1].body.body.length===3&&o.arguments[0].type==="ArrayExpression"&&o.arguments[0].elements.length>0&&o.arguments[0].elements.every((e=>e.type==="FunctionExpression"))){const e=new Map;for(let t=0;te===t)))s.arguments=s.arguments.map((r=>r===t?e:r));else if(s.init===t)s.init=e}}}})}}}}return{ast:e,scope:t,transformed:a}}e.exports=handleWrappers},282:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"}}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debugger":"< 8","dgram":true,"dns":true,"domain":true,"events":true,"freelist":"< 6","fs":true,"fs/promises":">= 10 && < 10.1","_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0","node-inspect/lib/internal/inspect_client":">= 7.6.0","node-inspect/lib/internal/inspect_repl":">= 7.6.0","os":true,"path":true,"perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"string_decoder":true,"sys":true,"timers":true,"_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"v8/tools/arguments":">= 10","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0"],"v8":">= 1","vm":true,"worker_threads":">= 11.7","zlib":true}')},2357:e=>{"use strict";e.exports=__webpack_require__(357)},4293:e=>{"use strict";e.exports=__webpack_require__(293)},3129:e=>{"use strict";e.exports=__webpack_require__(129)},7619:e=>{"use strict";e.exports=__webpack_require__(619)},6417:e=>{"use strict";e.exports=__webpack_require__(417)},8614:e=>{"use strict";e.exports=__webpack_require__(614)},5747:e=>{"use strict";e.exports=__webpack_require__(747)},2087:e=>{"use strict";e.exports=__webpack_require__(87)},5622:e=>{"use strict";e.exports=__webpack_require__(622)},2413:e=>{"use strict";e.exports=__webpack_require__(413)},8835:e=>{"use strict";e.exports=__webpack_require__(835)},1669:e=>{"use strict";e.exports=__webpack_require__(669)}};var __webpack_module_cache__={};function __nested_webpack_require_962742__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__nested_webpack_require_962742__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return t.exports}__nested_webpack_require_962742__.ab=__dirname+"/";return __nested_webpack_require_962742__(6265)})()},300:(e,t,r)=>{e.exports=r(901)},357:e=>{"use strict";e.exports=require("assert")},293:e=>{"use strict";e.exports=require("buffer")},129:e=>{"use strict";e.exports=require("child_process")},619:e=>{"use strict";e.exports=require("constants")},417:e=>{"use strict";e.exports=require("crypto")},614:e=>{"use strict";e.exports=require("events")},747:e=>{"use strict";e.exports=require("fs")},87:e=>{"use strict";e.exports=require("os")},622:e=>{"use strict";e.exports=require("path")},413:e=>{"use strict";e.exports=require("stream")},835:e=>{"use strict";e.exports=require("url")},669:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var s=true;try{__webpack_modules__[e](r,r.exports,__webpack_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}return r.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(300);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js deleted file mode 100644 index a904f52dd8..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js +++ /dev/null @@ -1,8 +0,0 @@ -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/shebang-loader.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache deleted file mode 100644 index ec5e79a0d9..0000000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js deleted file mode 100644 index 1a66cd1982..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={170:e=>{e.exports=function(e){this.cacheable&&this.cacheable();if(typeof e==="string"&&/^#!/.test(e)){e=e.replace(/^#![^\n\r]*[\r\n]/,"")}return e}},431:(e,r,_)=>{e.exports=_(170)}};var r={};function __webpack_require__(_){var t=r[_];if(t!==undefined){return t.exports}var a=r[_]={exports:{}};var i=true;try{e[_](a,a.exports,__webpack_require__);i=false}finally{if(i)delete r[_]}return a.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var _=__webpack_require__(431);module.exports=_})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js deleted file mode 100644 index d8cb47f547..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js +++ /dev/null @@ -1,8 +0,0 @@ -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/ts-loader.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache deleted file mode 100644 index 1959590d4a..0000000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js deleted file mode 100644 index 1e2514b07c..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js +++ /dev/null @@ -1,33 +0,0 @@ -(()=>{var e={9182:function(e){(function(t){"use strict";var r,n=20,i=1,a=1e6,o=1e6,s=-7,c=21,l="[big.js] ",u=l+"Invalid ",d=u+"decimal places",p=u+"rounding mode",f=l+"Division by zero",g={},m=void 0,_=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(e){var t=this;if(!(t instanceof Big))return e===m?_Big_():new Big(e);if(e instanceof Big){t.s=e.s;t.e=e.e;t.c=e.c.slice()}else{parse(t,e)}t.constructor=Big}Big.prototype=g;Big.DP=n;Big.RM=i;Big.NE=s;Big.PE=c;Big.version="5.2.2";return Big}function parse(e,t){var r,n,i;if(t===0&&1/t<0)t="-0";else if(!_.test(t+=""))throw Error(u+"number");e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1;if((r=t.indexOf("."))>-1)t=t.replace(".","");if((n=t.search(/e/i))>0){if(r<0)r=n;r+=+t.slice(n+1);t=t.substring(0,n)}else if(r<0){r=t.length}i=t.length;for(n=0;n0&&t.charAt(--i)=="0";);e.e=r-n-1;e.c=[];for(r=0;n<=i;)e.c[r++]=+t.charAt(n++)}return e}function round(e,t,r,n){var i=e.c,a=e.e+t+1;if(a=5}else if(r===2){n=i[a]>5||i[a]==5&&(n||a<0||i[a+1]!==m||i[a-1]&1)}else if(r===3){n=n||!!i[0]}else{n=false;if(r!==0)throw Error(p)}if(a<1){i.length=1;if(n){e.e=-t;i[0]=1}else{i[0]=e.e=0}}else{i.length=a--;if(n){for(;++i[a]>9;){i[a]=0;if(!a--){++e.e;i.unshift(1)}}}for(a=i.length;!i[--a];)i.pop()}}else if(r<0||r>3||r!==~~r){throw Error(p)}return e}function stringify(e,t,r,n){var i,o,s=e.constructor,c=!e.c[0];if(r!==m){if(r!==~~r||r<(t==3)||r>a){throw Error(t==3?u+"precision":d)}e=new s(e);r=n-e.e;if(e.c.length>++n)round(e,r,s.RM);if(t==2)n=e.e+r+1;for(;e.c.length=s.PE)){o=o.charAt(0)+(r>1?"."+o.slice(1):"")+(i<0?"e":"e+")+i}else if(i<0){for(;++i;)o="0"+o;o="0."+o}else if(i>0){if(++i>r)for(i-=r;i--;)o+="0";else if(i1){o=o.charAt(0)+"."+o.slice(1)}return e.s<0&&(!c||t==4)?"-"+o:o}g.abs=function(){var e=new this.constructor(this);e.s=1;return e};g.cmp=function(e){var t,r=this,n=r.c,i=(e=new r.constructor(e)).c,a=r.s,o=e.s,s=r.e,c=e.e;if(!n[0]||!i[0])return!n[0]?!i[0]?0:-o:a;if(a!=o)return a;t=a<0;if(s!=c)return s>c^t?1:-1;o=(s=n.length)<(c=i.length)?s:c;for(a=-1;++ai[a]^t?1:-1}return s==c?0:s>c^t?1:-1};g.div=function(e){var t=this,r=t.constructor,n=t.c,i=(e=new r(e)).c,o=t.s==e.s?1:-1,s=r.DP;if(s!==~~s||s<0||s>a)throw Error(d);if(!i[0])throw Error(f);if(!n[0])return new r(o*0);var c,l,u,p,g,_=i.slice(),y=c=i.length,h=n.length,v=n.slice(0,c),T=v.length,b=e,S=b.c=[],x=0,D=s+(b.e=t.e-e.e)+1;b.s=o;o=D<0?0:D;_.unshift(0);for(;T++T?1:-1}else{for(g=-1,p=0;++gv[g]?1:-1;break}}}if(p<0){for(l=T==c?i:_;T;){if(v[--T]D)round(b,s,r.RM,v[0]!==m);return b};g.eq=function(e){return!this.cmp(e)};g.gt=function(e){return this.cmp(e)>0};g.gte=function(e){return this.cmp(e)>-1};g.lt=function(e){return this.cmp(e)<0};g.lte=function(e){return this.cmp(e)<1};g.minus=g.sub=function(e){var t,r,n,i,a=this,o=a.constructor,s=a.s,c=(e=new o(e)).s;if(s!=c){e.s=-c;return a.plus(e)}var l=a.c.slice(),u=a.e,d=e.c,p=e.e;if(!l[0]||!d[0]){return d[0]?(e.s=-c,e):new o(l[0]?a:0)}if(s=u-p){if(i=s<0){s=-s;n=l}else{p=u;n=d}n.reverse();for(c=s;c--;)n.push(0);n.reverse()}else{r=((i=l.length0)for(;c--;)l[t++]=0;for(c=t;r>s;){if(l[--r]0){c=o;t=l}else{i=-i;t=s}t.reverse();for(;i--;)t.push(0);t.reverse()}if(s.length-l.length<0){t=l;l=s;s=t}i=l.length;for(a=0;i;s[i]%=10)a=(s[--i]=s[i]+l[i]+a)/10|0;if(a){s.unshift(a);++c}for(i=s.length;s[--i]===0;)s.pop();e.c=s;e.e=c;return e};g.pow=function(e){var t=this,r=new t.constructor(1),n=r,i=e<0;if(e!==~~e||e<-o||e>o)throw Error(u+"exponent");if(i)e=-e;for(;;){if(e&1)n=n.times(t);e>>=1;if(!e)break;t=t.times(t)}return i?r.div(n):n};g.round=function(e,t){var r=this.constructor;if(e===m)e=0;else if(e!==~~e||e<-a||e>a)throw Error(d);return round(new r(this),e,t===m?r.RM:t)};g.sqrt=function(){var e,t,r,n=this,i=n.constructor,a=n.s,o=n.e,s=new i(.5);if(!n.c[0])return new i(n);if(a<0)throw Error(l+"No square root");a=Math.sqrt(n+"");if(a===0||a===1/0){t=n.c.join("");if(!(t.length+o&1))t+="0";a=Math.sqrt(t);o=((o+1)/2|0)-(o<0||o&1);e=new i((a==1/0?"1e":(a=a.toExponential()).slice(0,a.indexOf("e")+1))+o)}else{e=new i(a)}o=e.e+(i.DP+=4);do{r=e;e=s.times(r.plus(n.div(r)))}while(r.c.slice(0,o).join("")!==e.c.slice(0,o).join(""));return round(e,i.DP-=4,i.RM)};g.times=g.mul=function(e){var t,r=this,n=r.constructor,i=r.c,a=(e=new n(e)).c,o=i.length,s=a.length,c=r.e,l=e.e;e.s=r.s==e.s?1:-1;if(!i[0]||!a[0])return new n(e.s*0);e.e=c+l;if(oc;){s=t[l]+a[c]*i[l-c-1]+s;t[l--]=s%10;s=s/10|0}t[l]=(t[l]+s)%10}if(s)++e.e;else t.shift();for(c=t.length;!t[--c];)t.pop();e.c=t;return e};g.toExponential=function(e){return stringify(this,1,e,e)};g.toFixed=function(e){return stringify(this,2,e,this.e+e)};g.toPrecision=function(e){return stringify(this,3,e,e-1)};g.toString=function(){return stringify(this)};g.valueOf=g.toJSON=function(){return stringify(this,4)};r=_Big_();r["default"]=r.Big=r;if(typeof define==="function"&&define.amd){define((function(){return r}))}else if(true&&e.exports){e.exports=r}else{t.Big=r}})(this)},6650:e=>{var t=Object.prototype.toString;var r=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return t.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,t,n){t>>>=0;var i=e.byteLength-t;if(i<0){throw new RangeError("'offset' is out of bounds")}if(n===undefined){n=i}else{n>>>=0;if(n>i){throw new RangeError("'length' is out of bounds")}}return r?Buffer.from(e.slice(t,t+n)):new Buffer(new Uint8Array(e.slice(t,t+n)))}function fromString(e,t){if(typeof t!=="string"||t===""){t="utf8"}if(!Buffer.isEncoding(t)){throw new TypeError('"encoding" must be a valid string encoding')}return r?Buffer.from(e,t):new Buffer(e,t)}function bufferFrom(e,t,n){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,t,n)}if(typeof e==="string"){return fromString(e,t)}return r?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},3644:(e,t,r)=>{var n=r(9187);var i={};for(var a in n){if(n.hasOwnProperty(a)){i[n[a]]=a}}var o=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in o){if(o.hasOwnProperty(s)){if(!("channels"in o[s])){throw new Error("missing channels property: "+s)}if(!("labels"in o[s])){throw new Error("missing channel labels property: "+s)}if(o[s].labels.length!==o[s].channels){throw new Error("channel and label counts mismatch: "+s)}var c=o[s].channels;var l=o[s].labels;delete o[s].channels;delete o[s].labels;Object.defineProperty(o[s],"channels",{value:c});Object.defineProperty(o[s],"labels",{value:l})}}o.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var i=Math.min(t,r,n);var a=Math.max(t,r,n);var o=a-i;var s;var c;var l;if(a===i){s=0}else if(t===a){s=(r-n)/o}else if(r===a){s=2+(n-t)/o}else if(n===a){s=4+(t-r)/o}s=Math.min(s*60,360);if(s<0){s+=360}l=(i+a)/2;if(a===i){c=0}else if(l<=.5){c=o/(a+i)}else{c=o/(2-a-i)}return[s,c*100,l*100]};o.rgb.hsv=function(e){var t;var r;var n;var i;var a;var o=e[0]/255;var s=e[1]/255;var c=e[2]/255;var l=Math.max(o,s,c);var u=l-Math.min(o,s,c);var diffc=function(e){return(l-e)/6/u+1/2};if(u===0){i=a=0}else{a=u/l;t=diffc(o);r=diffc(s);n=diffc(c);if(o===l){i=n-r}else if(s===l){i=1/3+t-n}else if(c===l){i=2/3+r-t}if(i<0){i+=1}else if(i>1){i-=1}}return[i*360,a*100,l*100]};o.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var i=o.rgb.hsl(e)[0];var a=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[i,a*100,n*100]};o.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var i;var a;var o;var s;s=Math.min(1-t,1-r,1-n);i=(1-t-s)/(1-s)||0;a=(1-r-s)/(1-s)||0;o=(1-n-s)/(1-s)||0;return[i*100,a*100,o*100,s*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}o.rgb.keyword=function(e){var t=i[e];if(t){return t}var r=Infinity;var a;for(var o in n){if(n.hasOwnProperty(o)){var s=n[o];var c=comparativeDistance(e,s);if(c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=t*.4124+r*.3576+n*.1805;var a=t*.2126+r*.7152+n*.0722;var o=t*.0193+r*.1192+n*.9505;return[i*100,a*100,o*100]};o.rgb.lab=function(e){var t=o.rgb.xyz(e);var r=t[0];var n=t[1];var i=t[2];var a;var s;var c;r/=95.047;n/=100;i/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;a=116*n-16;s=500*(r-n);c=200*(n-i);return[a,s,c]};o.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var i;var a;var o;var s;var c;if(r===0){c=n*255;return[c,c,c]}if(n<.5){a=n*(1+r)}else{a=n+r-n*r}i=2*n-a;s=[0,0,0];for(var l=0;l<3;l++){o=t+1/3*-(l-1);if(o<0){o++}if(o>1){o--}if(6*o<1){c=i+(a-i)*6*o}else if(2*o<1){c=a}else if(3*o<2){c=i+(a-i)*(2/3-o)*6}else{c=i}s[l]=c*255}return s};o.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var i=r;var a=Math.max(n,.01);var o;var s;n*=2;r*=n<=1?n:2-n;i*=a<=1?a:2-a;s=(n+r)/2;o=n===0?2*i/(a+i):2*r/(n+r);return[t,o*100,s*100]};o.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var i=Math.floor(t)%6;var a=t-Math.floor(t);var o=255*n*(1-r);var s=255*n*(1-r*a);var c=255*n*(1-r*(1-a));n*=255;switch(i){case 0:return[n,c,o];case 1:return[s,n,o];case 2:return[o,n,c];case 3:return[o,s,n];case 4:return[c,o,n];case 5:return[n,o,s]}};o.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var i=Math.max(n,.01);var a;var o;var s;s=(2-r)*n;a=(2-r)*i;o=r*i;o/=a<=1?a:2-a;o=o||0;s/=2;return[t,o*100,s*100]};o.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var i=r+n;var a;var o;var s;var c;if(i>1){r/=i;n/=i}a=Math.floor(6*t);o=1-n;s=6*t-a;if((a&1)!==0){s=1-s}c=r+s*(o-r);var l;var u;var d;switch(a){default:case 6:case 0:l=o;u=c;d=r;break;case 1:l=c;u=o;d=r;break;case 2:l=r;u=o;d=c;break;case 3:l=r;u=c;d=o;break;case 4:l=c;u=r;d=o;break;case 5:l=o;u=r;d=c;break}return[l*255,u*255,d*255]};o.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var i=e[3]/100;var a;var o;var s;a=1-Math.min(1,t*(1-i)+i);o=1-Math.min(1,r*(1-i)+i);s=1-Math.min(1,n*(1-i)+i);return[a*255,o*255,s*255]};o.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var i;var a;var o;i=t*3.2406+r*-1.5372+n*-.4986;a=t*-.9689+r*1.8758+n*.0415;o=t*.0557+r*-.204+n*1.057;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;i=Math.min(Math.max(0,i),1);a=Math.min(Math.max(0,a),1);o=Math.min(Math.max(0,o),1);return[i*255,a*255,o*255]};o.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var i;var a;var o;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;i=116*r-16;a=500*(t-r);o=200*(r-n);return[i,a,o]};o.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var i;var a;var o;a=(t+16)/116;i=r/500+a;o=a-n/200;var s=Math.pow(a,3);var c=Math.pow(i,3);var l=Math.pow(o,3);a=s>.008856?s:(a-16/116)/7.787;i=c>.008856?c:(i-16/116)/7.787;o=l>.008856?l:(o-16/116)/7.787;i*=95.047;a*=100;o*=108.883;return[i,a,o]};o.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var i;var a;var o;i=Math.atan2(n,r);a=i*360/2/Math.PI;if(a<0){a+=360}o=Math.sqrt(r*r+n*n);return[t,o,a]};o.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var i;var a;var o;o=n/360*2*Math.PI;i=r*Math.cos(o);a=r*Math.sin(o);return[t,i,a]};o.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var i=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];i=Math.round(i/50);if(i===0){return 30}var a=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(i===2){a+=60}return a};o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])};o.rgb.ansi256=function(e){var t=e[0];var r=e[1];var n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var i=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return i};o.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var n=(t&1)*r*255;var i=(t>>1&1)*r*255;var a=(t>>2&1)*r*255;return[n,i,a]};o.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var n=Math.floor(e/36)/5*255;var i=Math.floor((r=e%36)/6)/5*255;var a=r%6/5*255;return[n,i,a]};o.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var n=parseInt(r,16);var i=n>>16&255;var a=n>>8&255;var o=n&255;return[i,a,o]};o.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var i=Math.max(Math.max(t,r),n);var a=Math.min(Math.min(t,r),n);var o=i-a;var s;var c;if(o<1){s=a/(1-o)}else{s=0}if(o<=0){c=0}else if(i===t){c=(r-n)/o%6}else if(i===r){c=2+(n-t)/o}else{c=4+(t-r)/o+4}c/=6;c%=1;return[c*360,o*100,s*100]};o.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var i=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){i=(r-.5*n)/(1-n)}return[e[0],n*100,i*100]};o.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var i=0;if(n<1){i=(r-n)/(1-n)}return[e[0],n*100,i*100]};o.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}var i=[0,0,0];var a=t%1*6;var o=a%1;var s=1-o;var c=0;switch(Math.floor(a)){case 0:i[0]=1;i[1]=o;i[2]=0;break;case 1:i[0]=s;i[1]=1;i[2]=0;break;case 2:i[0]=0;i[1]=1;i[2]=o;break;case 3:i[0]=0;i[1]=s;i[2]=1;break;case 4:i[0]=o;i[1]=0;i[2]=1;break;default:i[0]=1;i[1]=0;i[2]=s}c=(1-r)*n;return[(r*i[0]+c)*255,(r*i[1]+c)*255,(r*i[2]+c)*255]};o.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var i=0;if(n>0){i=t/n}return[e[0],i*100,n*100]};o.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var i=0;if(n>0&&n<.5){i=t/(2*n)}else if(n>=.5&&n<1){i=t/(2*(1-n))}return[e[0],i*100,n*100]};o.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};o.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var i=n-t;var a=0;if(i<1){a=(n-i)/(1-i)}return[e[0],i*100,a*100]};o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]};o.gray.hwb=function(e){return[0,100,e[0]]};o.gray.cmyk=function(e){return[0,0,0,e[0]]};o.gray.lab=function(e){return[e[0],0,0]};o.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};o.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},8215:(e,t,r)=>{var n=r(3644);var i=r(2076);var a={};var o=Object.keys(n);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var n=r.length,i=0;i{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},2076:(e,t,r)=>{var n=r(3644);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,i=0;i{e.exports=["🀄️","🃏","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂️","🈚️","🈯️","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶️","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖️","🎗️","🎙️","🎚️","🎛️","🎞️","🎟️","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋️","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌️","🏍️","🏎️","🏏","🏐","🏑","🏒","🏓","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳️","🏴‍☠️","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🏴","🏵️","🏷️","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕‍🦺","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿️","👀","👁‍🗨","👁️","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍🦯","👨🏻‍🦰","👨🏻‍🦱","👨🏻‍🦲","👨🏻‍🦳","👨🏻‍🦼","👨🏻‍🦽","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍🤝‍👨🏻","👨🏼‍🦯","👨🏼‍🦰","👨🏼‍🦱","👨🏼‍🦲","👨🏼‍🦳","👨🏼‍🦼","👨🏼‍🦽","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍🤝‍👨🏻","👨🏽‍🤝‍👨🏼","👨🏽‍🦯","👨🏽‍🦰","👨🏽‍🦱","👨🏽‍🦲","👨🏽‍🦳","👨🏽‍🦼","👨🏽‍🦽","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍🤝‍👨🏻","👨🏾‍🤝‍👨🏼","👨🏾‍🤝‍👨🏽","👨🏾‍🦯","👨🏾‍🦰","👨🏾‍🦱","👨🏾‍🦲","👨🏾‍🦳","👨🏾‍🦼","👨🏾‍🦽","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍🤝‍👨🏻","👨🏿‍🤝‍👨🏼","👨🏿‍🤝‍👨🏽","👨🏿‍🤝‍👨🏾","👨🏿‍🦯","👨🏿‍🦰","👨🏿‍🦱","👨🏿‍🦲","👨🏿‍🦳","👨🏿‍🦼","👨🏿‍🦽","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍🦯","👨‍🦰","👨‍🦱","👨‍🦲","👨‍🦳","👨‍🦼","👨‍🦽","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍🤝‍👨🏼","👩🏻‍🤝‍👨🏽","👩🏻‍🤝‍👨🏾","👩🏻‍🤝‍👨🏿","👩🏻‍🦯","👩🏻‍🦰","👩🏻‍🦱","👩🏻‍🦲","👩🏻‍🦳","👩🏻‍🦼","👩🏻‍🦽","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍🤝‍👨🏻","👩🏼‍🤝‍👨🏽","👩🏼‍🤝‍👨🏾","👩🏼‍🤝‍👨🏿","👩🏼‍🤝‍👩🏻","👩🏼‍🦯","👩🏼‍🦰","👩🏼‍🦱","👩🏼‍🦲","👩🏼‍🦳","👩🏼‍🦼","👩🏼‍🦽","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍🤝‍👨🏻","👩🏽‍🤝‍👨🏼","👩🏽‍🤝‍👨🏾","👩🏽‍🤝‍👨🏿","👩🏽‍🤝‍👩🏻","👩🏽‍🤝‍👩🏼","👩🏽‍🦯","👩🏽‍🦰","👩🏽‍🦱","👩🏽‍🦲","👩🏽‍🦳","👩🏽‍🦼","👩🏽‍🦽","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍🤝‍👨🏻","👩🏾‍🤝‍👨🏼","👩🏾‍🤝‍👨🏽","👩🏾‍🤝‍👨🏿","👩🏾‍🤝‍👩🏻","👩🏾‍🤝‍👩🏼","👩🏾‍🤝‍👩🏽","👩🏾‍🦯","👩🏾‍🦰","👩🏾‍🦱","👩🏾‍🦲","👩🏾‍🦳","👩🏾‍🦼","👩🏾‍🦽","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍🤝‍👨🏻","👩🏿‍🤝‍👨🏼","👩🏿‍🤝‍👨🏽","👩🏿‍🤝‍👨🏾","👩🏿‍🤝‍👩🏻","👩🏿‍🤝‍👩🏼","👩🏿‍🤝‍👩🏽","👩🏿‍🤝‍👩🏾","👩🏿‍🦯","👩🏿‍🦰","👩🏿‍🦱","👩🏿‍🦲","👩🏿‍🦳","👩🏿‍🦼","👩🏿‍🦽","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍🦯","👩‍🦰","👩‍🦱","👩‍🦲","👩‍🦳","👩‍🦼","👩‍🦽","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽️","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕊️","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯️","🕰️","🕳️","🕴🏻‍♀️","🕴🏻‍♂️","🕴🏻","🕴🏼‍♀️","🕴🏼‍♂️","🕴🏼","🕴🏽‍♀️","🕴🏽‍♂️","🕴🏽","🕴🏾‍♀️","🕴🏾‍♂️","🕴🏾","🕴🏿‍♀️","🕴🏿‍♂️","🕴🏿","🕴️‍♀️","🕴️‍♂️","🕴️","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵️","🕶️","🕷️","🕸️","🕹️","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇️","🖊️","🖋️","🖌️","🖍️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥️","🖨️","🖱️","🖲️","🖼️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗣️","🗨️","🗯️","🗳️","🗺️","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋️","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍️","🛎️","🛏️","🛐","🛑","🛒","🛕","🛠️","🛡️","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛷","🛸","🛹","🛺","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫","🤍","🤎","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤱","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤲","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻‍♀️","🤵🏻‍♂️","🤵🏻","🤵🏼‍♀️","🤵🏼‍♂️","🤵🏼","🤵🏽‍♀️","🤵🏽‍♂️","🤵🏽","🤵🏾‍♀️","🤵🏾‍♂️","🤵🏾","🤵🏿‍♀️","🤵🏿‍♂️","🤵🏿","🤵‍♀️","🤵‍♂️","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🤿","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🥰","🥱","🥳","🥴","🥵","🥶","🥺","🥻","🥼","🥽","🥾","🥿","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦞","🦟","🦠","🦡","🦢","🦥","🦦","🦧","🦨","🦩","🦪","🦮","🦯","🦰","🦱","🦲","🦳","🦴","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦵","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦶","🦷","🦸🏻‍♀️","🦸🏻‍♂️","🦸🏻","🦸🏼‍♀️","🦸🏼‍♂️","🦸🏼","🦸🏽‍♀️","🦸🏽‍♂️","🦸🏽","🦸🏾‍♀️","🦸🏾‍♂️","🦸🏾","🦸🏿‍♀️","🦸🏿‍♂️","🦸🏿","🦸‍♀️","🦸‍♂️","🦸","🦹🏻‍♀️","🦹🏻‍♂️","🦹🏻","🦹🏼‍♀️","🦹🏼‍♂️","🦹🏼","🦹🏽‍♀️","🦹🏽‍♂️","🦹🏽","🦹🏾‍♀️","🦹🏾‍♂️","🦹🏾","🦹🏿‍♀️","🦹🏿‍♂️","🦹🏿","🦹‍♀️","🦹‍♂️","🦹","🦺","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦻","🦼","🦽","🦾","🦿","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧍🏻‍♀️","🧍🏻‍♂️","🧍🏻","🧍🏼‍♀️","🧍🏼‍♂️","🧍🏼","🧍🏽‍♀️","🧍🏽‍♂️","🧍🏽","🧍🏾‍♀️","🧍🏾‍♂️","🧍🏾","🧍🏿‍♀️","🧍🏿‍♂️","🧍🏿","🧍‍♀️","🧍‍♂️","🧍","🧎🏻‍♀️","🧎🏻‍♂️","🧎🏻","🧎🏼‍♀️","🧎🏼‍♂️","🧎🏼","🧎🏽‍♀️","🧎🏽‍♂️","🧎🏽","🧎🏾‍♀️","🧎🏾‍♂️","🧎🏾","🧎🏿‍♀️","🧎🏿‍♂️","🧎🏿","🧎‍♀️","🧎‍♂️","🧎","🧏🏻‍♀️","🧏🏻‍♂️","🧏🏻","🧏🏼‍♀️","🧏🏼‍♂️","🧏🏼","🧏🏽‍♀️","🧏🏽‍♂️","🧏🏽","🧏🏾‍♀️","🧏🏾‍♂️","🧏🏾","🧏🏿‍♀️","🧏🏿‍♂️","🧏🏿","🧏‍♀️","🧏‍♂️","🧏","🧐","🧑🏻‍🤝‍🧑🏻","🧑🏻","🧑🏼‍🤝‍🧑🏻","🧑🏼‍🤝‍🧑🏼","🧑🏼","🧑🏽‍🤝‍🧑🏻","🧑🏽‍🤝‍🧑🏼","🧑🏽‍🤝‍🧑🏽","🧑🏽","🧑🏾‍🤝‍🧑🏻","🧑🏾‍🤝‍🧑🏼","🧑🏾‍🤝‍🧑🏽","🧑🏾‍🤝‍🧑🏾","🧑🏾","🧑🏿‍🤝‍🧑🏻","🧑🏿‍🤝‍🧑🏼","🧑🏿‍🤝‍🧑🏽","🧑🏿‍🤝‍🧑🏾","🧑🏿‍🤝‍🧑🏿","🧑🏿","🧑‍🤝‍🧑","🧑","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧒","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧓","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧕","🧖🏻‍♀️","🧖🏻‍♂️","🧖🏻","🧖🏼‍♀️","🧖🏼‍♂️","🧖🏼","🧖🏽‍♀️","🧖🏽‍♂️","🧖🏽","🧖🏾‍♀️","🧖🏾‍♂️","🧖🏾","🧖🏿‍♀️","🧖🏿‍♂️","🧖🏿","🧖‍♀️","🧖‍♂️","🧖","🧗🏻‍♀️","🧗🏻‍♂️","🧗🏻","🧗🏼‍♀️","🧗🏼‍♂️","🧗🏼","🧗🏽‍♀️","🧗🏽‍♂️","🧗🏽","🧗🏾‍♀️","🧗🏾‍♂️","🧗🏾","🧗🏿‍♀️","🧗🏿‍♂️","🧗🏿","🧗‍♀️","🧗‍♂️","🧗","🧘🏻‍♀️","🧘🏻‍♂️","🧘🏻","🧘🏼‍♀️","🧘🏼‍♂️","🧘🏼","🧘🏽‍♀️","🧘🏽‍♂️","🧘🏽","🧘🏾‍♀️","🧘🏾‍♂️","🧘🏾","🧘🏿‍♀️","🧘🏿‍♂️","🧘🏿","🧘‍♀️","🧘‍♂️","🧘","🧙🏻‍♀️","🧙🏻‍♂️","🧙🏻","🧙🏼‍♀️","🧙🏼‍♂️","🧙🏼","🧙🏽‍♀️","🧙🏽‍♂️","🧙🏽","🧙🏾‍♀️","🧙🏾‍♂️","🧙🏾","🧙🏿‍♀️","🧙🏿‍♂️","🧙🏿","🧙‍♀️","🧙‍♂️","🧙","🧚🏻‍♀️","🧚🏻‍♂️","🧚🏻","🧚🏼‍♀️","🧚🏼‍♂️","🧚🏼","🧚🏽‍♀️","🧚🏽‍♂️","🧚🏽","🧚🏾‍♀️","🧚🏾‍♂️","🧚🏾","🧚🏿‍♀️","🧚🏿‍♂️","🧚🏿","🧚‍♀️","🧚‍♂️","🧚","🧛🏻‍♀️","🧛🏻‍♂️","🧛🏻","🧛🏼‍♀️","🧛🏼‍♂️","🧛🏼","🧛🏽‍♀️","🧛🏽‍♂️","🧛🏽","🧛🏾‍♀️","🧛🏾‍♂️","🧛🏾","🧛🏿‍♀️","🧛🏿‍♂️","🧛🏿","🧛‍♀️","🧛‍♂️","🧛","🧜🏻‍♀️","🧜🏻‍♂️","🧜🏻","🧜🏼‍♀️","🧜🏼‍♂️","🧜🏼","🧜🏽‍♀️","🧜🏽‍♂️","🧜🏽","🧜🏾‍♀️","🧜🏾‍♂️","🧜🏾","🧜🏿‍♀️","🧜🏿‍♂️","🧜🏿","🧜‍♀️","🧜‍♂️","🧜","🧝🏻‍♀️","🧝🏻‍♂️","🧝🏻","🧝🏼‍♀️","🧝🏼‍♂️","🧝🏼","🧝🏽‍♀️","🧝🏽‍♂️","🧝🏽","🧝🏾‍♀️","🧝🏾‍♂️","🧝🏾","🧝🏿‍♀️","🧝🏿‍♂️","🧝🏿","🧝‍♀️","🧝‍♂️","🧝","🧞‍♀️","🧞‍♂️","🧞","🧟‍♀️","🧟‍♂️","🧟","🧠","🧡","🧢","🧣","🧤","🧥","🧦","🧧","🧨","🧩","🧪","🧫","🧬","🧭","🧮","🧯","🧰","🧱","🧲","🧳","🧴","🧵","🧶","🧷","🧸","🧹","🧺","🧻","🧼","🧽","🧾","🧿","🩰","🩱","🩲","🩳","🩸","🩹","🩺","🪀","🪁","🪂","🪐","🪑","🪒","🪓","🪔","🪕","‼️","⁉️","™️","ℹ️","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","#⃣","⌚️","⌛️","⌨️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏰","⏱️","⏲️","⏳","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽️","◾️","☀️","☁️","☂️","☃️","☄️","☎️","☑️","☔️","☕️","☘️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","☠️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","☹️","☺️","♀️","♂️","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","♟️","♠️","♣️","♥️","♦️","♨️","♻️","♾","♿️","⚒️","⚓️","⚔️","⚕️","⚖️","⚗️","⚙️","⚛️","⚜️","⚠️","⚡️","⚪️","⚫️","⚰️","⚱️","⚽️","⚾️","⛄️","⛅️","⛈️","⛎","⛏️","⛑️","⛓️","⛔️","⛩️","⛪️","⛰️","⛱️","⛲️","⛳️","⛴️","⛵️","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷️","⛸️","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹️","⛺️","⛽️","✂️","✅","✈️","✉️","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","✏️","✒️","✔️","✖️","✝️","✡️","✨","✳️","✴️","❄️","❇️","❌","❎","❓","❔","❕","❗️","❣️","❤️","➕","➖","➗","➡️","➰","➿","⤴️","⤵️","*⃣","⬅️","⬆️","⬇️","⬛️","⬜️","⭐️","⭕️","0⃣","〰️","〽️","1⃣","2⃣","㊗️","㊙️","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©️","®️",""]},8732:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},858:e=>{"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var r={__proto__:t(e)};else var r=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}));return r}},5808:(e,t,r)=>{var n=r(5747);var i=r(2444);var a=r(4073);var o=r(858);var s=r(1669);var c;var l;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){c=Symbol.for("graceful-fs.queue");l=Symbol.for("graceful-fs.previous")}else{c="___graceful-fs.queue";l="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,c,{get:function(){return t}})}var u=noop;if(s.debuglog)u=s.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))u=function(){var e=s.format.apply(s,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!n[c]){var d=global[c]||[];publishQueue(n,d);n.close=function(e){function close(t,r){return e.call(n,t,(function(e){if(!e){retry()}if(typeof r==="function")r.apply(this,arguments)}))}Object.defineProperty(close,l,{value:e});return close}(n.close);n.closeSync=function(e){function closeSync(t){e.apply(n,arguments);retry()}Object.defineProperty(closeSync,l,{value:e});return closeSync}(n.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){u(n[c]);r(2357).equal(n[c].length,0)}))}}if(!global[c]){publishQueue(global,n[c])}e.exports=patch(o(n));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!n.__patched){e.exports=patch(n);n.__patched=true}function patch(e){i(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,r,n){if(typeof r==="function")n=r,r=null;return go$readFile(e,r,n);function go$readFile(e,r,n){return t(e,r,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,r,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}))}}var r=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,n,i){if(typeof n==="function")i=n,n=null;return go$writeFile(e,t,n,i);function go$writeFile(e,t,n,i){return r(e,t,n,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$writeFile,[e,t,n,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}))}}var n=e.appendFile;if(n)e.appendFile=appendFile;function appendFile(e,t,r,i){if(typeof r==="function")i=r,r=null;return go$appendFile(e,t,r,i);function go$appendFile(e,t,r,i){return n(e,t,r,(function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$appendFile,[e,t,r,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}))}}var o=e.copyFile;if(o)e.copyFile=copyFile;function copyFile(e,t,r,n){if(typeof r==="function"){n=r;r=0}return o(e,t,r,(function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([o,[e,t,r,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}))}var s=e.readdir;e.readdir=readdir;function readdir(e,t,r){var n=[e];if(typeof t!=="function"){n.push(t)}else{r=t}n.push(go$readdir$cb);return go$readdir(n);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[n]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}}}function go$readdir(t){return s.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var c=a(e);ReadStream=c.ReadStream;WriteStream=c.WriteStream}var l=e.ReadStream;if(l){ReadStream.prototype=Object.create(l.prototype);ReadStream.prototype.open=ReadStream$open}var u=e.WriteStream;if(u){WriteStream.prototype=Object.create(u.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var d=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return d},set:function(e){d=e},enumerable:true,configurable:true});var p=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return p},set:function(e){p=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return l.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return u.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r)}}))}function createReadStream(t,r){return new e.ReadStream(t,r)}function createWriteStream(t,r){return new e.WriteStream(t,r)}var f=e.open;e.open=open;function open(e,t,r,n){if(typeof r==="function")n=r,r=null;return go$open(e,t,r,n);function go$open(e,t,r,n){return f(e,t,r,(function(i,a){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$open,[e,t,r,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}))}}return e}function enqueue(e){u("ENQUEUE",e[0].name,e[1]);n[c].push(e)}function retry(){var e=n[c].shift();if(e){u("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},4073:(e,t,r)=>{var n=r(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,r){if(!(this instanceof ReadStream))return new ReadStream(t,r);n.call(this);var i=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;r=r||{};var a=Object.keys(r);for(var o=0,s=a.length;othis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){i._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){i.emit("error",e);i.readable=false;return}i.fd=t;i.emit("open",t);i._read()}))}function WriteStream(t,r){if(!(this instanceof WriteStream))return new WriteStream(t,r);n.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;r=r||{};var i=Object.keys(r);for(var a=0,o=i.length;a= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},2444:(e,t,r)=>{var n=r(7619);var i=process.cwd;var a=null;var o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!a)a=i.call(process);return a};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var s=process.chdir;process.chdir=function(e){a=null;s.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,s)}e.exports=patch;function patch(e){if(n.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,r){if(r)process.nextTick(r)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,r,n){if(n)process.nextTick(n)};e.lchownSync=function(){}}if(o==="win32"){e.rename=function(t){return function(r,n,i){var a=Date.now();var o=0;t(r,n,(function CB(s){if(s&&(s.code==="EACCES"||s.code==="EPERM")&&Date.now()-a<6e4){setTimeout((function(){e.stat(n,(function(e,a){if(e&&e.code==="ENOENT")t(r,n,CB);else i(s)}))}),o);if(o<100)o+=10;return}if(i)i(s)}))}}(e.rename)}e.read=function(t){function read(r,n,i,a,o,s){var c;if(s&&typeof s==="function"){var l=0;c=function(u,d,p){if(u&&u.code==="EAGAIN"&&l<10){l++;return t.call(e,r,n,i,a,o,c)}s.apply(this,arguments)}}return t.call(e,r,n,i,a,o,c)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,t);return read}(e.read);e.readSync=function(t){return function(r,n,i,a,o){var s=0;while(true){try{return t.call(e,r,n,i,a,o)}catch(e){if(e.code==="EAGAIN"&&s<10){s++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,r,i){e.open(t,n.O_WRONLY|n.O_SYMLINK,r,(function(t,n){if(t){if(i)i(t);return}e.fchmod(n,r,(function(t){e.close(n,(function(e){if(i)i(t||e)}))}))}))};e.lchmodSync=function(t,r){var i=e.openSync(t,n.O_WRONLY|n.O_SYMLINK,r);var a=true;var o;try{o=e.fchmodSync(i,r);a=false}finally{if(a){try{e.closeSync(i)}catch(e){}}else{e.closeSync(i)}}return o}}function patchLutimes(e){if(n.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,r,i,a){e.open(t,n.O_SYMLINK,(function(t,n){if(t){if(a)a(t);return}e.futimes(n,r,i,(function(t){e.close(n,(function(e){if(a)a(t||e)}))}))}))};e.lutimesSync=function(t,r,i){var a=e.openSync(t,n.O_SYMLINK);var o;var s=true;try{o=e.futimesSync(a,r,i);s=false}finally{if(s){try{e.closeSync(a)}catch(e){}}else{e.closeSync(a)}}return o}}else{e.lutimes=function(e,t,r,n){if(n)process.nextTick(n)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(r,n,i){return t.call(e,r,n,(function(e){if(chownErOk(e))e=null;if(i)i.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(r,n){try{return t.call(e,r,n)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(r,n,i,a){return t.call(e,r,n,i,(function(e){if(chownErOk(e))e=null;if(a)a.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(r,n,i){try{return t.call(e,r,n,i)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(r,n,i){if(typeof n==="function"){i=n;n=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(i)i.apply(this,arguments)}return n?t.call(e,r,n,callback):t.call(e,r,callback)}}function statFixSync(t){if(!t)return t;return function(r,n){var i=n?t.call(e,r,n):t.call(e,r);if(i.uid<0)i.uid+=4294967296;if(i.gid<0)i.gid+=4294967296;return i}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},5278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(4465);var i=_interopRequireDefault(n);var a=r(9977);var o=_interopRequireDefault(a);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default={parse:i.default,stringify:o.default};e.exports=t["default"]},4465:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=parse;var i=r(8034);var a=_interopRequireWildcard(i);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}var o=void 0;var s=void 0;var c=void 0;var l=void 0;var u=void 0;var d=void 0;var p=void 0;var f=void 0;var g=void 0;function parse(e,t){o=String(e);s="start";c=[];l=0;u=1;d=0;p=undefined;f=undefined;g=undefined;do{p=lex();b[s]()}while(p.type!=="eof");if(typeof t==="function"){return internalize({"":g},"",t)}return g}function internalize(e,t,r){var i=e[t];if(i!=null&&(typeof i==="undefined"?"undefined":n(i))==="object"){for(var a in i){var o=internalize(i,a,r);if(o===undefined){delete i[a]}else{i[a]=o}}}return r.call(e,t,i)}var m=void 0;var _=void 0;var y=void 0;var h=void 0;var v=void 0;function lex(){m="default";_="";y=false;h=1;for(;;){v=peek();var e=T[m]();if(e){return e}}}function peek(){if(o[l]){return String.fromCodePoint(o.codePointAt(l))}}function read(){var e=peek();if(e==="\n"){u++;d=0}else if(e){d+=e.length}else{d++}if(e){l+=e.length}return e}var T={default:function _default(){switch(v){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();m="comment";return;case undefined:read();return newToken("eof")}if(a.isSpaceSeparator(v)){read();return}return T[s]()},comment:function comment(){switch(v){case"*":read();m="multiLineComment";return;case"/":read();m="singleLineComment";return}throw invalidChar(read())},multiLineComment:function multiLineComment(){switch(v){case"*":read();m="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk:function multiLineCommentAsterisk(){switch(v){case"*":read();return;case"/":read();m="default";return;case undefined:throw invalidChar(read())}read();m="multiLineComment"},singleLineComment:function singleLineComment(){switch(v){case"\n":case"\r":case"\u2028":case"\u2029":read();m="default";return;case undefined:read();return newToken("eof")}read()},value:function value(){switch(v){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){h=-1}m="sign";return;case".":_=read();m="decimalPointLeading";return;case"0":_=read();m="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":_=read();m="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":y=read()==='"';_="";m="string";return}throw invalidChar(read())},identifierNameStartEscape:function identifierNameStartEscape(){if(v!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!a.isIdStartChar(e)){throw invalidIdentifier()}break}_+=e;m="identifierName"},identifierName:function identifierName(){switch(v){case"$":case"_":case"‌":case"‍":_+=read();return;case"\\":read();m="identifierNameEscape";return}if(a.isIdContinueChar(v)){_+=read();return}return newToken("identifier",_)},identifierNameEscape:function identifierNameEscape(){if(v!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!a.isIdContinueChar(e)){throw invalidIdentifier()}break}_+=e;m="identifierName"},sign:function sign(){switch(v){case".":_=read();m="decimalPointLeading";return;case"0":_=read();m="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":_=read();m="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",h*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero:function zero(){switch(v){case".":_+=read();m="decimalPoint";return;case"e":case"E":_+=read();m="decimalExponent";return;case"x":case"X":_+=read();m="hexadecimal";return}return newToken("numeric",h*0)},decimalInteger:function decimalInteger(){switch(v){case".":_+=read();m="decimalPoint";return;case"e":case"E":_+=read();m="decimalExponent";return}if(a.isDigit(v)){_+=read();return}return newToken("numeric",h*Number(_))},decimalPointLeading:function decimalPointLeading(){if(a.isDigit(v)){_+=read();m="decimalFraction";return}throw invalidChar(read())},decimalPoint:function decimalPoint(){switch(v){case"e":case"E":_+=read();m="decimalExponent";return}if(a.isDigit(v)){_+=read();m="decimalFraction";return}return newToken("numeric",h*Number(_))},decimalFraction:function decimalFraction(){switch(v){case"e":case"E":_+=read();m="decimalExponent";return}if(a.isDigit(v)){_+=read();return}return newToken("numeric",h*Number(_))},decimalExponent:function decimalExponent(){switch(v){case"+":case"-":_+=read();m="decimalExponentSign";return}if(a.isDigit(v)){_+=read();m="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign:function decimalExponentSign(){if(a.isDigit(v)){_+=read();m="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger:function decimalExponentInteger(){if(a.isDigit(v)){_+=read();return}return newToken("numeric",h*Number(_))},hexadecimal:function hexadecimal(){if(a.isHexDigit(v)){_+=read();m="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger:function hexadecimalInteger(){if(a.isHexDigit(v)){_+=read();return}return newToken("numeric",h*Number(_))},string:function string(){switch(v){case"\\":read();_+=escape();return;case'"':if(y){read();return newToken("string",_)}_+=read();return;case"'":if(!y){read();return newToken("string",_)}_+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(v);break;case undefined:throw invalidChar(read())}_+=read()},start:function start(){switch(v){case"{":case"[":return newToken("punctuator",read())}m="value"},beforePropertyName:function beforePropertyName(){switch(v){case"$":case"_":_=read();m="identifierName";return;case"\\":read();m="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":y=read()==='"';m="string";return}if(a.isIdStartChar(v)){_+=read();m="identifierName";return}throw invalidChar(read())},afterPropertyName:function afterPropertyName(){if(v===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue:function beforePropertyValue(){m="value"},afterPropertyValue:function afterPropertyValue(){switch(v){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue:function beforeArrayValue(){if(v==="]"){return newToken("punctuator",read())}m="value"},afterArrayValue:function afterArrayValue(){switch(v){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end:function end(){throw invalidChar(read())}};function newToken(e,t){return{type:e,value:t,line:u,column:d}}function literal(e){var t=true;var r=false;var n=undefined;try{for(var i=e[Symbol.iterator](),a;!(t=(a=i.next()).done);t=true){var o=a.value;var s=peek();if(s!==o){throw invalidChar(read())}read()}}catch(e){r=true;n=e}finally{try{if(!t&&i.return){i.return()}}finally{if(r){throw n}}}}function escape(){var e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(a.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){var e="";var t=peek();if(!a.isHexDigit(t)){throw invalidChar(read())}e+=read();t=peek();if(!a.isHexDigit(t)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){var e="";var t=4;while(t-- >0){var r=peek();if(!a.isHexDigit(r)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}var b={start:function start(){if(p.type==="eof"){throw invalidEOF()}push()},beforePropertyName:function beforePropertyName(){switch(p.type){case"identifier":case"string":f=p.value;s="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName:function afterPropertyName(){if(p.type==="eof"){throw invalidEOF()}s="beforePropertyValue"},beforePropertyValue:function beforePropertyValue(){if(p.type==="eof"){throw invalidEOF()}push()},beforeArrayValue:function beforeArrayValue(){if(p.type==="eof"){throw invalidEOF()}if(p.type==="punctuator"&&p.value==="]"){pop();return}push()},afterPropertyValue:function afterPropertyValue(){if(p.type==="eof"){throw invalidEOF()}switch(p.value){case",":s="beforePropertyName";return;case"}":pop()}},afterArrayValue:function afterArrayValue(){if(p.type==="eof"){throw invalidEOF()}switch(p.value){case",":s="beforeArrayValue";return;case"]":pop()}},end:function end(){}};function push(){var e=void 0;switch(p.type){case"punctuator":switch(p.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=p.value;break}if(g===undefined){g=e}else{var t=c[c.length-1];if(Array.isArray(t)){t.push(e)}else{t[f]=e}}if(e!==null&&(typeof e==="undefined"?"undefined":n(e))==="object"){c.push(e);if(Array.isArray(e)){s="beforeArrayValue"}else{s="beforePropertyName"}}else{var r=c[c.length-1];if(r==null){s="end"}else if(Array.isArray(r)){s="afterArrayValue"}else{s="afterPropertyValue"}}}function pop(){c.pop();var e=c[c.length-1];if(e==null){s="end"}else if(Array.isArray(e)){s="afterArrayValue"}else{s="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError("JSON5: invalid end of input at "+u+":"+d)}return syntaxError("JSON5: invalid character '"+formatChar(e)+"' at "+u+":"+d)}function invalidEOF(){return syntaxError("JSON5: invalid end of input at "+u+":"+d)}function invalidIdentifier(){d-=5;return syntaxError("JSON5: invalid identifier character at "+u+":"+d)}function separatorChar(e){console.warn("JSON5: '"+e+"' is not valid ECMAScript; consider escaping")}function formatChar(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e]){return t[e]}if(e<" "){var r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function syntaxError(e){var t=new SyntaxError(e);t.lineNumber=u;t.columnNumber=d;return t}e.exports=t["default"]},9977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=stringify;var i=r(8034);var a=_interopRequireWildcard(i);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}function stringify(e,t,r){var i=[];var o="";var s=void 0;var c=void 0;var l="";var u=void 0;if(t!=null&&(typeof t==="undefined"?"undefined":n(t))==="object"&&!Array.isArray(t)){r=t.space;u=t.quote;t=t.replacer}if(typeof t==="function"){c=t}else if(Array.isArray(t)){s=[];var d=true;var p=false;var f=undefined;try{for(var g=t[Symbol.iterator](),m;!(d=(m=g.next()).done);d=true){var _=m.value;var y=void 0;if(typeof _==="string"){y=_}else if(typeof _==="number"||_ instanceof String||_ instanceof Number){y=String(_)}if(y!==undefined&&s.indexOf(y)<0){s.push(y)}}}catch(e){p=true;f=e}finally{try{if(!d&&g.return){g.return()}}finally{if(p){throw f}}}}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}if(typeof r==="number"){if(r>0){r=Math.min(10,Math.floor(r));l=" ".substr(0,r)}}else if(typeof r==="string"){l=r.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,t){var r=t[e];if(r!=null){if(typeof r.toJSON5==="function"){r=r.toJSON5(e)}else if(typeof r.toJSON==="function"){r=r.toJSON(e)}}if(c){r=c.call(t,e,r)}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}else if(r instanceof Boolean){r=r.valueOf()}switch(r){case null:return"null";case true:return"true";case false:return"false"}if(typeof r==="string"){return quoteString(r,false)}if(typeof r==="number"){return String(r)}if((typeof r==="undefined"?"undefined":n(r))==="object"){return Array.isArray(r)?serializeArray(r):serializeObject(r)}return undefined}function quoteString(e){var t={"'":.1,'"':.2};var r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var n="";var i=true;var a=false;var o=undefined;try{for(var s=e[Symbol.iterator](),c;!(i=(c=s.next()).done);i=true){var l=c.value;switch(l){case"'":case'"':t[l]++;n+=l;continue}if(r[l]){n+=r[l];continue}if(l<" "){var d=l.charCodeAt(0).toString(16);n+="\\x"+("00"+d).substring(d.length);continue}n+=l}}catch(e){a=true;o=e}finally{try{if(!i&&s.return){s.return()}}finally{if(a){throw o}}}var p=u||Object.keys(t).reduce((function(e,r){return t[e]=0){throw TypeError("Converting circular structure to JSON5")}i.push(e);var t=o;o=o+l;var r=s||Object.keys(e);var n=[];var a=true;var c=false;var u=undefined;try{for(var d=r[Symbol.iterator](),p;!(a=(p=d.next()).done);a=true){var f=p.value;var g=serializeProperty(f,e);if(g!==undefined){var m=serializeKey(f)+":";if(l!==""){m+=" "}m+=g;n.push(m)}}}catch(e){c=true;u=e}finally{try{if(!a&&d.return){d.return()}}finally{if(c){throw u}}}var _=void 0;if(n.length===0){_="{}"}else{var y=void 0;if(l===""){y=n.join(",");_="{"+y+"}"}else{var h=",\n"+o;y=n.join(h);_="{\n"+o+y+",\n"+t+"}"}}i.pop();o=t;return _}function serializeKey(e){if(e.length===0){return quoteString(e,true)}var t=String.fromCodePoint(e.codePointAt(0));if(!a.isIdStartChar(t)){return quoteString(e,true)}for(var r=t.length;r=0){throw TypeError("Converting circular structure to JSON5")}i.push(e);var t=o;o=o+l;var r=[];for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=t.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var n=t.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/;var i=t.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},8034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isSpaceSeparator=isSpaceSeparator;t.isIdStartChar=isIdStartChar;t.isIdContinueChar=isIdContinueChar;t.isDigit=isDigit;t.isHexDigit=isHexDigit;var n=r(4059);var i=_interopRequireWildcard(n);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}function isSpaceSeparator(e){return i.Space_Separator.test(e)}function isIdStartChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||i.ID_Start.test(e)}function isIdContinueChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||i.ID_Continue.test(e)}function isDigit(e){return/[0-9]/.test(e)}function isHexDigit(e){return/[0-9A-Fa-f]/.test(e)}},6559:e=>{"use strict";function getCurrentRequest(e){if(e.currentRequest){return e.currentRequest}const t=e.loaders.slice(e.loaderIndex).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getCurrentRequest},2669:(e,t,r)=>{"use strict";const n={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(e,t){const i=n[t];if(!i){throw new Error("Unknown encoding base"+t)}const a=e.length;const o=r(9182);o.RM=o.DP=0;let s=new o(0);for(let t=a-1;t>=0;t--){s=s.times(256).plus(e[t])}let c="";while(s.gt(0)){c=i[s.mod(t)]+c;s=s.div(t)}o.DP=20;o.RM=1;return c}function getHashDigest(e,t,n,i){t=t||"md5";i=i||9999;const a=r(6417).createHash(t);a.update(e);if(n==="base26"||n==="base32"||n==="base36"||n==="base49"||n==="base52"||n==="base58"||n==="base62"||n==="base64"){return encodeBufferToBase(a.digest(),n.substr(4)).substr(0,i)}else{return a.digest(n||"hex").substr(0,i)}}e.exports=getHashDigest},2245:(e,t,r)=>{"use strict";const n=r(9170);function getOptions(e){const t=e.query;if(typeof t==="string"&&t!==""){return n(e.query)}if(!t||typeof t!=="object"){return null}return t}e.exports=getOptions},2078:e=>{"use strict";function getRemainingRequest(e){if(e.remainingRequest){return e.remainingRequest}const t=e.loaders.slice(e.loaderIndex+1).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getRemainingRequest},8244:(e,t,r)=>{"use strict";const n=r(2245);const i=r(9170);const a=r(1412);const o=r(2078);const s=r(6559);const c=r(1077);const l=r(4608);const u=r(5231);const d=r(2669);const p=r(7872);t.getOptions=n;t.parseQuery=i;t.stringifyRequest=a;t.getRemainingRequest=o;t.getCurrentRequest=s;t.isUrlRequest=c;t.urlToRequest=l;t.parseString=u;t.getHashDigest=d;t.interpolateName=p},7872:(e,t,r)=>{"use strict";const n=r(5622);const i=r(1356);const a=r(2669);const o=/[\uD800-\uDFFF]./;const s=i.filter((e=>o.test(e)));const c={};function encodeStringToEmoji(e,t){if(c[e]){return c[e]}t=t||1;const r=[];do{if(!s.length){throw new Error("Ran out of emoji")}const e=Math.floor(Math.random()*s.length);r.push(s[e]);s.splice(e,1)}while(--t>0);const n=r.join("");c[e]=n;return n}function interpolateName(e,t,r){let i;const o=e.resourceQuery&&e.resourceQuery.length>1;if(typeof t==="function"){i=t(e.resourcePath,o?e.resourceQuery:undefined)}else{i=t||"[hash].[ext]"}const s=r.context;const c=r.content;const l=r.regExp;let u="bin";let d="file";let p="";let f="";let g="";if(e.resourcePath){const t=n.parse(e.resourcePath);let r=e.resourcePath;if(t.ext){u=t.ext.substr(1)}if(t.dir){d=t.name;r=t.dir+n.sep}if(typeof s!=="undefined"){p=n.relative(s,r+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");p=p.substr(0,p.length-1)}else{p=r.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(p.length===1){p=""}else if(p.length>1){f=n.basename(p)}}if(e.resourceQuery&&e.resourceQuery.length>1){g=e.resourceQuery;const t=g.indexOf("#");if(t>=0){g=g.substr(0,t)}}let m=i;if(c){m=m.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((e,t,r,n)=>a(c,t,r,parseInt(n,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((e,t)=>encodeStringToEmoji(c,parseInt(t,10))))}m=m.replace(/\[ext\]/gi,(()=>u)).replace(/\[name\]/gi,(()=>d)).replace(/\[path\]/gi,(()=>p)).replace(/\[folder\]/gi,(()=>f)).replace(/\[query\]/gi,(()=>g));if(l&&e.resourcePath){const t=e.resourcePath.match(new RegExp(l));t&&t.forEach(((e,t)=>{m=m.replace(new RegExp("\\["+t+"\\]","ig"),e)}))}if(typeof e.options==="object"&&typeof e.options.customInterpolateName==="function"){m=e.options.customInterpolateName.call(e,m,t,r)}return m}e.exports=interpolateName},1077:(e,t,r)=>{"use strict";const n=r(5622);function isUrlRequest(e,t){if(/^[a-z][a-z0-9+.-]*:/i.test(e)&&!n.win32.isAbsolute(e)){return false}if(/^\/\//.test(e)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(e)){return false}if((t===undefined||t===false)&&/^\//.test(e)){return false}return true}e.exports=isUrlRequest},9170:(e,t,r)=>{"use strict";const n=r(5278);const i={null:null,true:true,false:false};function parseQuery(e){if(e.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}e=e.substr(1);if(!e){return{}}if(e.substr(0,1)==="{"&&e.substr(-1)==="}"){return n.parse(e)}const t=e.split(/[,&]/g);const r={};t.forEach((e=>{const t=e.indexOf("=");if(t>=0){let n=e.substr(0,t);let a=decodeURIComponent(e.substr(t+1));if(i.hasOwnProperty(a)){a=i[a]}if(n.substr(-2)==="[]"){n=decodeURIComponent(n.substr(0,n.length-2));if(!Array.isArray(r[n])){r[n]=[]}r[n].push(a)}else{n=decodeURIComponent(n);r[n]=a}}else{if(e.substr(0,1)==="-"){r[decodeURIComponent(e.substr(1))]=false}else if(e.substr(0,1)==="+"){r[decodeURIComponent(e.substr(1))]=true}else{r[decodeURIComponent(e)]=true}}}));return r}e.exports=parseQuery},5231:e=>{"use strict";function parseString(e){try{if(e[0]==='"'){return JSON.parse(e)}if(e[0]==="'"&&e.substr(e.length-1)==="'"){return parseString(e.replace(/\\.|"/g,(e=>e==='"'?'\\"':e)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+e+'"')}catch(t){return e}}e.exports=parseString},1412:(e,t,r)=>{"use strict";const n=r(5622);const i=/^\.\.?[/\\]/;function isAbsolutePath(e){return n.posix.isAbsolute(e)||n.win32.isAbsolute(e)}function isRelativePath(e){return i.test(e)}function stringifyRequest(e,t){const r=t.split("!");const i=e.context||e.options&&e.options.context;return JSON.stringify(r.map((e=>{const t=e.match(/^(.*?)(\?.*)/);const r=t?t[2]:"";let a=t?t[1]:e;if(isAbsolutePath(a)&&i){a=n.relative(i,a);if(isAbsolutePath(a)){return a+r}if(isRelativePath(a)===false){a="./"+a}}return a.replace(/\\/g,"/")+r})).join("!"))}e.exports=stringifyRequest},4608:e=>{"use strict";const t=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(e,r){if(e===""){return""}const n=/^[^?]*~/;let i;if(t.test(e)){i=e}else if(r!==undefined&&r!==false&&/^\//.test(e)){switch(typeof r){case"string":if(n.test(r)){i=r.replace(/([^~/])$/,"$1/")+e.slice(1)}else{i=r+e}break;case"boolean":i=e;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+e+", root = "+r+".")}}else if(/^\.\.?\//.test(e)){i=e}else{i="./"+e}if(n.test(i)){i=i.replace(n,"")}return i}e.exports=urlToRequest},9987:(e,t,r)=>{"use strict";const n=r(8333);const i=/^[A-Z]:([\\\/]|$)/i;const a=/^\//i;e.exports=function join(e,t){if(!t)return n(e);if(i.test(t))return n(t.replace(/\//g,"\\"));if(a.test(t))return n(t);if(e=="/")return n(e+t);if(i.test(e))return n(e.replace(/\//g,"\\")+"\\"+t.replace(/\//g,"\\"));if(a.test(e))return n(e+"/"+t);return n(e+"/"+t)}},8333:e=>{"use strict";e.exports=function normalize(e){var t=e.split(/(\\+|\/+)/);if(t.length===1)return e;var r=[];var n=0;for(var i=0,a=false;i{"use strict";const n=r(1669);const i=r(2303);const a=r(5782);const o=r(2661);const isEmptyString=e=>typeof e==="string"&&(e===""||e==="./");const micromatch=(e,t,r)=>{t=[].concat(t);e=[].concat(e);let n=new Set;let i=new Set;let o=new Set;let s=0;let onResult=e=>{o.add(e.output);if(r&&r.onResult){r.onResult(e)}};for(let o=0;o!n.has(e)));if(r&&l.length===0){if(r.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(r.nonull===true||r.nullglob===true){return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}}return l};micromatch.match=micromatch;micromatch.matcher=(e,t)=>a(e,t);micromatch.isMatch=(e,t,r)=>a(t,r)(e);micromatch.any=micromatch.isMatch;micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set;let i=[];let onResult=e=>{if(r.onResult)r.onResult(e);i.push(e.output)};let a=micromatch(e,t,{...r,onResult:onResult});for(let e of i){if(!a.includes(e)){n.add(e)}}return[...n]};micromatch.contains=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${n.inspect(e)}"`)}if(Array.isArray(t)){return t.some((t=>micromatch.contains(e,t,r)))}if(typeof t==="string"){if(isEmptyString(e)||isEmptyString(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return micromatch.isMatch(e,t,{...r,contains:true})};micromatch.matchKeys=(e,t,r)=>{if(!o.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let n=micromatch(Object.keys(e),t,r);let i={};for(let t of n)i[t]=e[t];return i};micromatch.some=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=a(String(e),r);if(n.some((e=>t(e)))){return true}}return false};micromatch.every=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=a(String(e),r);if(!n.every((e=>t(e)))){return false}}return true};micromatch.all=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${n.inspect(e)}"`)}return[].concat(t).every((t=>a(t,r)(e)))};micromatch.capture=(e,t,r)=>{let n=o.isWindows(r);let i=a.makeRe(String(e),{...r,capture:true});let s=i.exec(n?o.toPosixSlashes(t):t);if(s){return s.slice(1).map((e=>e===void 0?"":e))}};micromatch.makeRe=(...e)=>a.makeRe(...e);micromatch.scan=(...e)=>a.scan(...e);micromatch.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[])){for(let e of i(String(n),t)){r.push(a.parse(e,t))}}return r};micromatch.braces=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return i(e,t)};micromatch.braceExpand=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return micromatch.braces(e,{...t,expand:true})};e.exports=micromatch},2303:(e,t,r)=>{"use strict";const n=r(6476);const i=r(2730);const a=r(9e3);const o=r(7640);const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(let n of e){let e=braces.create(n,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>o(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return n(braces.parse(e,t),t)}return n(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return i(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=a(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};e.exports=braces},2730:(e,t,r)=>{"use strict";const n=r(1877);const i=r(7490);const compile=(e,t={})=>{let walk=(e,r={})=>{let a=i.isInvalidBrace(r);let o=e.invalid===true&&t.escapeInvalid===true;let s=a===true||o===true;let c=t.escapeInvalid===true?"\\":"";let l="";if(e.isOpen===true){return c+e.value}if(e.isClose===true){return c+e.value}if(e.type==="open"){return s?c+e.value:"("}if(e.type==="close"){return s?c+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":s?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let r=i.reduce(e.nodes);let a=n(...r,{...t,wrap:false,toRegex:true});if(a.length!==0){return r.length>1&&a.length>1?`(${a})`:a}}if(e.nodes){for(let t of e.nodes){l+=walk(t,e)}}return l};return walk(e)};e.exports=compile},2656:e=>{"use strict";e.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},9e3:(e,t,r)=>{"use strict";const n=r(1877);const i=r(6476);const a=r(7490);const append=(e="",t="",r=false)=>{let n=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?a.flatten(t).map((e=>`{${e}}`)):t}for(let i of e){if(Array.isArray(i)){for(let e of i){n.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;n.push(Array.isArray(e)?append(i,e,r):i+e)}}}return a.flatten(n)};const expand=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit;let walk=(e,o={})=>{e.queue=[];let s=o;let c=o.queue;while(s.type!=="brace"&&s.type!=="root"&&s.parent){s=s.parent;c=s.queue}if(e.invalid||e.dollar){c.push(append(c.pop(),i(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){c.push(append(c.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let o=a.reduce(e.nodes);if(a.exceedsLimit(...o,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let s=n(...o,t);if(s.length===0){s=i(e,t)}c.push(append(c.pop(),s));e.nodes=[];return}let l=a.encloseBrace(e);let u=e.queue;let d=e;while(d.type!=="brace"&&d.type!=="root"&&d.parent){d=d.parent;u=d.queue}for(let t=0;t{"use strict";const n=r(6476);const{MAX_LENGTH:i,CHAR_BACKSLASH:a,CHAR_BACKTICK:o,CHAR_COMMA:s,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:d,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_RIGHT_SQUARE_BRACKET:g,CHAR_DOUBLE_QUOTE:m,CHAR_SINGLE_QUOTE:_,CHAR_NO_BREAK_SPACE:y,CHAR_ZERO_WIDTH_NOBREAK_SPACE:h}=r(2656);const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let r=t||{};let v=typeof r.maxLength==="number"?Math.min(i,r.maxLength):i;if(e.length>v){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${v})`)}let T={type:"root",input:e,nodes:[]};let b=[T];let S=T;let x=T;let D=0;let C=e.length;let E=0;let N=0;let k;let A={};const advance=()=>e[E++];const push=e=>{if(e.type==="text"&&x.type==="dot"){x.type="text"}if(x&&x.type==="text"&&e.type==="text"){x.value+=e.value;return}S.nodes.push(e);e.parent=S;e.prev=x;x=e;return e};push({type:"bos"});while(E0){if(S.ranges>0){S.ranges=0;let e=S.nodes.shift();S.nodes=[e,{type:"text",value:n(S)}]}push({type:"comma",value:k});S.commas++;continue}if(k===c&&N>0&&S.commas===0){let e=S.nodes;if(N===0||e.length===0){push({type:"text",value:k});continue}if(x.type==="dot"){S.range=[];x.value+=k;x.type="range";if(S.nodes.length!==3&&S.nodes.length!==5){S.invalid=true;S.ranges=0;x.type="text";continue}S.ranges++;S.args=[];continue}if(x.type==="range"){e.pop();let t=e[e.length-1];t.value+=x.value+k;x=t;S.ranges--;continue}push({type:"dot",value:k});continue}push({type:"text",value:k})}do{S=b.pop();if(S.type!=="root"){S.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));let e=b[b.length-1];let t=e.nodes.indexOf(S);e.nodes.splice(t,1,...S.nodes)}}while(b.length>0);push({type:"eos"});return T};e.exports=parse},6476:(e,t,r)=>{"use strict";const n=r(7490);e.exports=(e,t={})=>{let stringify=(e,r={})=>{let i=t.escapeInvalid&&n.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((i||a)&&n.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){o+=stringify(t)}}return o};return stringify(e)}},7490:(e,t)=>{"use strict";t.isInteger=e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false};t.find=(e,t)=>e.nodes.find((e=>e.type===t));t.exceedsLimit=(e,r,n=1,i)=>{if(i===false)return false;if(!t.isInteger(e)||!t.isInteger(r))return false;return(Number(r)-Number(e))/Number(n)>=i};t.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];if(!n)return;if(r&&n.type===r||n.type==="open"||n.type==="close"){if(n.escaped!==true){n.value="\\"+n.value;n.escaped=true}}};t.encloseBrace=e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false};t.isInvalidBrace=e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false};t.isOpenOrClose=e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true};t.reduce=e=>e.reduce(((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e}),[]);t.flatten=(...e)=>{const t=[];const flat=e=>{for(let r=0;r{"use strict"; -/*! - * fill-range - * - * Copyright (c) 2014-present, Jon Schlinkert. - * Licensed under the MIT License. - */const n=r(1669);const i=r(8423);const isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const transform=e=>t=>e===true?Number(t):String(t);const isValidValue=e=>typeof e==="number"||typeof e==="string"&&e!=="";const isNumber=e=>Number.isInteger(+e);const zeros=e=>{let t=`${e}`;let r=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++r]==="0");return r>0};const stringify=(e,t,r)=>{if(typeof e==="string"||typeof t==="string"){return true}return r.stringify===true};const pad=(e,t,r)=>{if(t>0){let r=e[0]==="-"?"-":"";if(r)e=e.slice(1);e=r+e.padStart(r?t-1:t,"0")}if(r===false){return String(e)}return e};const toMaxLen=(e,t)=>{let r=e[0]==="-"?"-":"";if(r){e=e.slice(1);t--}while(e.length{e.negatives.sort(((e,t)=>et?1:0));e.positives.sort(((e,t)=>et?1:0));let r=t.capture?"":"?:";let n="";let i="";let a;if(e.positives.length){n=e.positives.join("|")}if(e.negatives.length){i=`-(${r}${e.negatives.join("|")})`}if(n&&i){a=`${n}|${i}`}else{a=n||i}if(t.wrap){return`(${r}${a})`}return a};const toRange=(e,t,r,n)=>{if(r){return i(e,t,{wrap:false,...n})}let a=String.fromCharCode(e);if(e===t)return a;let o=String.fromCharCode(t);return`[${a}-${o}]`};const toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=r.wrap===true;let n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return i(e,t,r)};const rangeError=(...e)=>new RangeError("Invalid range arguments: "+n.inspect(...e));const invalidRange=(e,t,r)=>{if(r.strictRanges===true)throw rangeError([e,t]);return[]};const invalidStep=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const fillNumbers=(e,t,r=1,n={})=>{let i=Number(e);let a=Number(t);if(!Number.isInteger(i)||!Number.isInteger(a)){if(n.strictRanges===true)throw rangeError([e,t]);return[]}if(i===0)i=0;if(a===0)a=0;let o=i>a;let s=String(e);let c=String(t);let l=String(r);r=Math.max(Math.abs(r),1);let u=zeros(s)||zeros(c)||zeros(l);let d=u?Math.max(s.length,c.length,l.length):0;let p=u===false&&stringify(e,t,n)===false;let f=n.transform||transform(p);if(n.toRegex&&r===1){return toRange(toMaxLen(e,d),toMaxLen(t,d),true,n)}let g={negatives:[],positives:[]};let push=e=>g[e<0?"negatives":"positives"].push(Math.abs(e));let m=[];let _=0;while(o?i>=a:i<=a){if(n.toRegex===true&&r>1){push(i)}else{m.push(pad(f(i,_),d,p))}i=o?i-r:i+r;_++}if(n.toRegex===true){return r>1?toSequence(g,n):toRegex(m,null,{wrap:false,...n})}return m};const fillLetters=(e,t,r=1,n={})=>{if(!isNumber(e)&&e.length>1||!isNumber(t)&&t.length>1){return invalidRange(e,t,n)}let i=n.transform||(e=>String.fromCharCode(e));let a=`${e}`.charCodeAt(0);let o=`${t}`.charCodeAt(0);let s=a>o;let c=Math.min(a,o);let l=Math.max(a,o);if(n.toRegex&&r===1){return toRange(c,l,false,n)}let u=[];let d=0;while(s?a>=o:a<=o){u.push(i(a,d));a=s?a-r:a+r;d++}if(n.toRegex===true){return toRegex(u,null,{wrap:false,options:n})}return u};const fill=(e,t,r,n={})=>{if(t==null&&isValidValue(e)){return[e]}if(!isValidValue(e)||!isValidValue(t)){return invalidRange(e,t,n)}if(typeof r==="function"){return fill(e,t,1,{transform:r})}if(isObject(r)){return fill(e,t,0,r)}let i={...n};if(i.capture===true)i.wrap=true;r=r||i.step||1;if(!isNumber(r)){if(r!=null&&!isObject(r))return invalidStep(r,i);return fill(e,t,1,r)}if(isNumber(e)&&isNumber(t)){return fillNumbers(e,t,r,i)}return fillLetters(e,t,Math.max(Math.abs(r),1),i)};e.exports=fill},4884:e=>{"use strict"; -/*! - * is-number - * - * Copyright (c) 2014-present, Jon Schlinkert. - * Released under the MIT License. - */e.exports=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false}},8423:(e,t,r)=>{"use strict"; -/*! - * to-regex-range - * - * Copyright (c) 2015-present, Jon Schlinkert. - * Released under the MIT License. - */const n=r(4884);const toRegexRange=(e,t,r)=>{if(n(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(n(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let i={relaxZeros:true,...r};if(typeof i.strictZeros==="boolean"){i.relaxZeros=i.strictZeros===false}let a=String(i.relaxZeros);let o=String(i.shorthand);let s=String(i.capture);let c=String(i.wrap);let l=e+":"+t+"="+a+o+s+c;if(toRegexRange.cache.hasOwnProperty(l)){return toRegexRange.cache[l].result}let u=Math.min(e,t);let d=Math.max(e,t);if(Math.abs(u-d)===1){let r=e+"|"+t;if(i.capture){return`(${r})`}if(i.wrap===false){return r}return`(?:${r})`}let p=hasPadding(e)||hasPadding(t);let f={min:e,max:t,a:u,b:d};let g=[];let m=[];if(p){f.isPadded=p;f.maxLen=String(f.max).length}if(u<0){let e=d<0?Math.abs(d):1;m=splitToPatterns(e,Math.abs(u),f,i);u=f.a=0}if(d>=0){g=splitToPatterns(u,d,f,i)}f.negatives=m;f.positives=g;f.result=collatePatterns(m,g,i);if(i.capture===true){f.result=`(${f.result})`}else if(i.wrap!==false&&g.length+m.length>1){f.result=`(?:${f.result})`}toRegexRange.cache[l]=f;return f.result};function collatePatterns(e,t,r){let n=filterPatterns(e,t,"-",false,r)||[];let i=filterPatterns(t,e,"",false,r)||[];let a=filterPatterns(e,t,"-?",true,r)||[];let o=n.concat(a).concat(i);return o.join("|")}function splitToRanges(e,t){let r=1;let n=1;let i=countNines(e,r);let a=new Set([t]);while(e<=i&&i<=t){a.add(i);r+=1;i=countNines(e,r)}i=countZeros(t+1,n)-1;while(e1){s.count.pop()}s.count.push(c.count[0]);s.string=s.pattern+toQuantifier(s.count);o=t+1;continue}if(r.isPadded){l=padZeros(t,r,n)}c.string=l+c.pattern+toQuantifier(c.count);a.push(c);o=t+1;s=c}return a}function filterPatterns(e,t,r,n,i){let a=[];for(let i of e){let{string:e}=i;if(!n&&!contains(t,"string",e)){a.push(r+e)}if(n&&contains(t,"string",e)){a.push(r+e)}}return a}function zip(e,t){let r=[];for(let n=0;nt?1:t>e?-1:0}function contains(e,t,r){return e.some((e=>e[t]===r))}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,r=""]=e;if(r||t>1){return`{${t+(r?","+r:"")}}`}return""}function toCharacterClass(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,r){if(!t.isPadded){return e}let n=Math.abs(t.maxLen-String(e).length);let i=r.relaxZeros!==false;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:{return i?`0{0,${n}}`:`0{${n}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};e.exports=toRegexRange},5782:(e,t,r)=>{"use strict";e.exports=r(3162)},6949:(e,t,r)=>{"use strict";const n=r(5622);const i="\\\\/";const a=`[^${i}]`;const o="\\.";const s="\\+";const c="\\?";const l="\\/";const u="(?=.)";const d="[^/]";const p=`(?:${l}|$)`;const f=`(?:^|${l})`;const g=`${o}{1,2}${p}`;const m=`(?!${o})`;const _=`(?!${f}${g})`;const y=`(?!${o}{0,1}${p})`;const h=`(?!${g})`;const v=`[^.${l}]`;const T=`${d}*?`;const b={DOT_LITERAL:o,PLUS_LITERAL:s,QMARK_LITERAL:c,SLASH_LITERAL:l,ONE_CHAR:u,QMARK:d,END_ANCHOR:p,DOTS_SLASH:g,NO_DOT:m,NO_DOTS:_,NO_DOT_SLASH:y,NO_DOTS_SLASH:h,QMARK_NO_DOT:v,STAR:T,START_ANCHOR:f};const S={...b,SLASH_LITERAL:`[${i}]`,QMARK:a,STAR:`${a}*?`,DOTS_SLASH:`${o}{1,2}(?:[${i}]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[${i}])${o}{1,2}(?:[${i}]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[${i}]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[${i}]|$))`,QMARK_NO_DOT:`[^.${i}]`,START_ANCHOR:`(?:^|[${i}])`,END_ANCHOR:`(?:[${i}]|$)`};const x={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};e.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:x,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:n.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?S:b}}},9934:(e,t,r)=>{"use strict";const n=r(6949);const i=r(2661);const{MAX_LENGTH:a,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=n;const expandRange=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>i.escapeRegex(e))).join("..")}return r};const syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`;const parse=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=l[e]||e;const r={...t};const u=typeof r.maxLength==="number"?Math.min(a,r.maxLength):a;let d=e.length;if(d>u){throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${u}`)}const p={type:"bos",value:"",output:r.prepend||""};const f=[p];const g=r.capture?"":"?:";const m=i.isWindows(t);const _=n.globChars(m);const y=n.extglobChars(_);const{DOT_LITERAL:h,PLUS_LITERAL:v,SLASH_LITERAL:T,ONE_CHAR:b,DOTS_SLASH:S,NO_DOT:x,NO_DOT_SLASH:D,NO_DOTS_SLASH:C,QMARK:E,QMARK_NO_DOT:N,STAR:k,START_ANCHOR:A}=_;const globstar=e=>`(${g}(?:(?!${A}${e.dot?S:h}).)*?)`;const F=r.dot?"":x;const P=r.dot?E:N;let O=r.bash===true?globstar(r):k;if(r.capture){O=`(${O})`}if(typeof r.noext==="boolean"){r.noextglob=r.noext}const I={input:e,index:-1,start:0,dot:r.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:f};e=i.removePrefix(e,I);d=e.length;const w=[];const M=[];const L=[];let R=p;let B;const eos=()=>I.index===d-1;const j=I.peek=(t=1)=>e[I.index+t];const J=I.advance=()=>e[++I.index];const remaining=()=>e.slice(I.index+1);const consume=(e="",t=0)=>{I.consumed+=e;I.index+=t};const append=e=>{I.output+=e.output!=null?e.output:e.value;consume(e.value)};const negate=()=>{let e=1;while(j()==="!"&&(j(2)!=="("||j(3)==="?")){J();I.start++;e++}if(e%2===0){return false}I.negated=true;I.start++;return true};const increment=e=>{I[e]++;L.push(e)};const decrement=e=>{I[e]--;L.pop()};const push=e=>{if(R.type==="globstar"){const t=I.braces>0&&(e.type==="comma"||e.type==="brace");const r=e.extglob===true||w.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!r){I.output=I.output.slice(0,-R.output.length);R.type="star";R.value="*";R.output=O;I.output+=R.output}}if(w.length&&e.type!=="paren"&&!y[e.value]){w[w.length-1].inner+=e.value}if(e.value||e.output)append(e);if(R&&R.type==="text"&&e.type==="text"){R.value+=e.value;R.output=(R.output||"")+e.value;return}e.prev=R;f.push(e);R=e};const extglobOpen=(e,t)=>{const n={...y[t],conditions:1,inner:""};n.prev=R;n.parens=I.parens;n.output=I.output;const i=(r.capture?"(":"")+n.open;increment("parens");push({type:e,value:t,output:I.output?"":b});push({type:"paren",extglob:true,value:J(),output:i});w.push(n)};const extglobClose=e=>{let t=e.close+(r.capture?")":"");if(e.type==="negate"){let n=O;if(e.inner&&e.inner.length>1&&e.inner.includes("/")){n=globstar(r)}if(n!==O||eos()||/^\)+$/.test(remaining())){t=e.close=`)$))${n}`}if(e.prev.type==="bos"&&eos()){I.negatedExtglob=true}}push({type:"paren",extglob:true,value:B,output:t});decrement("parens")};if(r.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=false;let a=e.replace(c,((e,t,r,i,a,o)=>{if(i==="\\"){n=true;return e}if(i==="?"){if(t){return t+i+(a?E.repeat(a.length):"")}if(o===0){return P+(a?E.repeat(a.length):"")}return E.repeat(r.length)}if(i==="."){return h.repeat(r.length)}if(i==="*"){if(t){return t+i+(a?O:"")}return O}return t?e:`\\${e}`}));if(n===true){if(r.unescape===true){a=a.replace(/\\/g,"")}else{a=a.replace(/\\+/g,(e=>e.length%2===0?"\\\\":e?"\\":""))}}if(a===e&&r.contains===true){I.output=e;return I}I.output=i.wrapOutput(a,I,t);return I}while(!eos()){B=J();if(B==="\0"){continue}if(B==="\\"){const e=j();if(e==="/"&&r.bash!==true){continue}if(e==="."||e===";"){continue}if(!e){B+="\\";push({type:"text",value:B});continue}const t=/^\\+/.exec(remaining());let n=0;if(t&&t[0].length>2){n=t[0].length;I.index+=n;if(n%2!==0){B+="\\"}}if(r.unescape===true){B=J()||""}else{B+=J()||""}if(I.brackets===0){push({type:"text",value:B});continue}}if(I.brackets>0&&(B!=="]"||R.value==="["||R.value==="[^")){if(r.posix!==false&&B===":"){const e=R.value.slice(1);if(e.includes("[")){R.posix=true;if(e.includes(":")){const e=R.value.lastIndexOf("[");const t=R.value.slice(0,e);const r=R.value.slice(e+2);const n=o[r];if(n){R.value=t+n;I.backtrack=true;J();if(!p.output&&f.indexOf(R)===1){p.output=b}continue}}}}if(B==="["&&j()!==":"||B==="-"&&j()==="]"){B=`\\${B}`}if(B==="]"&&(R.value==="["||R.value==="[^")){B=`\\${B}`}if(r.posix===true&&B==="!"&&R.value==="["){B="^"}R.value+=B;append({value:B});continue}if(I.quotes===1&&B!=='"'){B=i.escapeRegex(B);R.value+=B;append({value:B});continue}if(B==='"'){I.quotes=I.quotes===1?0:1;if(r.keepQuotes===true){push({type:"text",value:B})}continue}if(B==="("){increment("parens");push({type:"paren",value:B});continue}if(B===")"){if(I.parens===0&&r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const e=w[w.length-1];if(e&&I.parens===e.parens+1){extglobClose(w.pop());continue}push({type:"paren",value:B,output:I.parens?")":"\\)"});decrement("parens");continue}if(B==="["){if(r.nobracket===true||!remaining().includes("]")){if(r.nobracket!==true&&r.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}B=`\\${B}`}else{increment("brackets")}push({type:"bracket",value:B});continue}if(B==="]"){if(r.nobracket===true||R&&R.type==="bracket"&&R.value.length===1){push({type:"text",value:B,output:`\\${B}`});continue}if(I.brackets===0){if(r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:B,output:`\\${B}`});continue}decrement("brackets");const e=R.value.slice(1);if(R.posix!==true&&e[0]==="^"&&!e.includes("/")){B=`/${B}`}R.value+=B;append({value:B});if(r.literalBrackets===false||i.hasRegexChars(e)){continue}const t=i.escapeRegex(R.value);I.output=I.output.slice(0,-R.value.length);if(r.literalBrackets===true){I.output+=t;R.value=t;continue}R.value=`(${g}${t}|${R.value})`;I.output+=R.value;continue}if(B==="{"&&r.nobrace!==true){increment("braces");const e={type:"brace",value:B,output:"(",outputIndex:I.output.length,tokensIndex:I.tokens.length};M.push(e);push(e);continue}if(B==="}"){const e=M[M.length-1];if(r.nobrace===true||!e){push({type:"text",value:B,output:B});continue}let t=")";if(e.dots===true){const e=f.slice();const n=[];for(let t=e.length-1;t>=0;t--){f.pop();if(e[t].type==="brace"){break}if(e[t].type!=="dots"){n.unshift(e[t].value)}}t=expandRange(n,r);I.backtrack=true}if(e.comma!==true&&e.dots!==true){const r=I.output.slice(0,e.outputIndex);const n=I.tokens.slice(e.tokensIndex);e.value=e.output="\\{";B=t="\\}";I.output=r;for(const e of n){I.output+=e.output||e.value}}push({type:"brace",value:B,output:t});decrement("braces");M.pop();continue}if(B==="|"){if(w.length>0){w[w.length-1].conditions++}push({type:"text",value:B});continue}if(B===","){let e=B;const t=M[M.length-1];if(t&&L[L.length-1]==="braces"){t.comma=true;e="|"}push({type:"comma",value:B,output:e});continue}if(B==="/"){if(R.type==="dot"&&I.index===I.start+1){I.start=I.index+1;I.consumed="";I.output="";f.pop();R=p;continue}push({type:"slash",value:B,output:T});continue}if(B==="."){if(I.braces>0&&R.type==="dot"){if(R.value===".")R.output=h;const e=M[M.length-1];R.type="dots";R.output+=B;R.value+=B;e.dots=true;continue}if(I.braces+I.parens===0&&R.type!=="bos"&&R.type!=="slash"){push({type:"text",value:B,output:h});continue}push({type:"dot",value:B,output:h});continue}if(B==="?"){const e=R&&R.value==="(";if(!e&&r.noextglob!==true&&j()==="("&&j(2)!=="?"){extglobOpen("qmark",B);continue}if(R&&R.type==="paren"){const e=j();let t=B;if(e==="<"&&!i.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(R.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/<([!=]|\w+>)/.test(remaining())){t=`\\${B}`}push({type:"text",value:B,output:t});continue}if(r.dot!==true&&(R.type==="slash"||R.type==="bos")){push({type:"qmark",value:B,output:N});continue}push({type:"qmark",value:B,output:E});continue}if(B==="!"){if(r.noextglob!==true&&j()==="("){if(j(2)!=="?"||!/[!=<:]/.test(j(3))){extglobOpen("negate",B);continue}}if(r.nonegate!==true&&I.index===0){negate();continue}}if(B==="+"){if(r.noextglob!==true&&j()==="("&&j(2)!=="?"){extglobOpen("plus",B);continue}if(R&&R.value==="("||r.regex===false){push({type:"plus",value:B,output:v});continue}if(R&&(R.type==="bracket"||R.type==="paren"||R.type==="brace")||I.parens>0){push({type:"plus",value:B});continue}push({type:"plus",value:v});continue}if(B==="@"){if(r.noextglob!==true&&j()==="("&&j(2)!=="?"){push({type:"at",extglob:true,value:B,output:""});continue}push({type:"text",value:B});continue}if(B!=="*"){if(B==="$"||B==="^"){B=`\\${B}`}const e=s.exec(remaining());if(e){B+=e[0];I.index+=e[0].length}push({type:"text",value:B});continue}if(R&&(R.type==="globstar"||R.star===true)){R.type="star";R.star=true;R.value+=B;R.output=O;I.backtrack=true;I.globstar=true;consume(B);continue}let t=remaining();if(r.noextglob!==true&&/^\([^?]/.test(t)){extglobOpen("star",B);continue}if(R.type==="star"){if(r.noglobstar===true){consume(B);continue}const n=R.prev;const i=n.prev;const a=n.type==="slash"||n.type==="bos";const o=i&&(i.type==="star"||i.type==="globstar");if(r.bash===true&&(!a||t[0]&&t[0]!=="/")){push({type:"star",value:B,output:""});continue}const s=I.braces>0&&(n.type==="comma"||n.type==="brace");const c=w.length&&(n.type==="pipe"||n.type==="paren");if(!a&&n.type!=="paren"&&!s&&!c){push({type:"star",value:B,output:""});continue}while(t.slice(0,3)==="/**"){const r=e[I.index+4];if(r&&r!=="/"){break}t=t.slice(3);consume("/**",3)}if(n.type==="bos"&&eos()){R.type="globstar";R.value+=B;R.output=globstar(r);I.output=R.output;I.globstar=true;consume(B);continue}if(n.type==="slash"&&n.prev.type!=="bos"&&!o&&eos()){I.output=I.output.slice(0,-(n.output+R.output).length);n.output=`(?:${n.output}`;R.type="globstar";R.output=globstar(r)+(r.strictSlashes?")":"|$)");R.value+=B;I.globstar=true;I.output+=n.output+R.output;consume(B);continue}if(n.type==="slash"&&n.prev.type!=="bos"&&t[0]==="/"){const e=t[1]!==void 0?"|$":"";I.output=I.output.slice(0,-(n.output+R.output).length);n.output=`(?:${n.output}`;R.type="globstar";R.output=`${globstar(r)}${T}|${T}${e})`;R.value+=B;I.output+=n.output+R.output;I.globstar=true;consume(B+J());push({type:"slash",value:"/",output:""});continue}if(n.type==="bos"&&t[0]==="/"){R.type="globstar";R.value+=B;R.output=`(?:^|${T}|${globstar(r)}${T})`;I.output=R.output;I.globstar=true;consume(B+J());push({type:"slash",value:"/",output:""});continue}I.output=I.output.slice(0,-R.output.length);R.type="globstar";R.output=globstar(r);R.value+=B;I.output+=R.output;I.globstar=true;consume(B);continue}const n={type:"star",value:B,output:O};if(r.bash===true){n.output=".*?";if(R.type==="bos"||R.type==="slash"){n.output=F+n.output}push(n);continue}if(R&&(R.type==="bracket"||R.type==="paren")&&r.regex===true){n.output=B;push(n);continue}if(I.index===I.start||R.type==="slash"||R.type==="dot"){if(R.type==="dot"){I.output+=D;R.output+=D}else if(r.dot===true){I.output+=C;R.output+=C}else{I.output+=F;R.output+=F}if(j()!=="*"){I.output+=b;R.output+=b}}push(n)}while(I.brackets>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));I.output=i.escapeLast(I.output,"[");decrement("brackets")}while(I.parens>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));I.output=i.escapeLast(I.output,"(");decrement("parens")}while(I.braces>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));I.output=i.escapeLast(I.output,"{");decrement("braces")}if(r.strictSlashes!==true&&(R.type==="star"||R.type==="bracket")){push({type:"maybe_slash",value:"",output:`${T}?`})}if(I.backtrack===true){I.output="";for(const e of I.tokens){I.output+=e.output!=null?e.output:e.value;if(e.suffix){I.output+=e.suffix}}}return I};parse.fastpaths=(e,t)=>{const r={...t};const o=typeof r.maxLength==="number"?Math.min(a,r.maxLength):a;const s=e.length;if(s>o){throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${o}`)}e=l[e]||e;const c=i.isWindows(t);const{DOT_LITERAL:u,SLASH_LITERAL:d,ONE_CHAR:p,DOTS_SLASH:f,NO_DOT:g,NO_DOTS:m,NO_DOTS_SLASH:_,STAR:y,START_ANCHOR:h}=n.globChars(c);const v=r.dot?m:g;const T=r.dot?_:g;const b=r.capture?"":"?:";const S={negated:false,prefix:""};let x=r.bash===true?".*?":y;if(r.capture){x=`(${x})`}const globstar=e=>{if(e.noglobstar===true)return x;return`(${b}(?:(?!${h}${e.dot?f:u}).)*?)`};const create=e=>{switch(e){case"*":return`${v}${p}${x}`;case".*":return`${u}${p}${x}`;case"*.*":return`${v}${x}${u}${p}${x}`;case"*/*":return`${v}${x}${d}${p}${T}${x}`;case"**":return v+globstar(r);case"**/*":return`(?:${v}${globstar(r)}${d})?${T}${p}${x}`;case"**/*.*":return`(?:${v}${globstar(r)}${d})?${T}${x}${u}${p}${x}`;case"**/.*":return`(?:${v}${globstar(r)}${d})?${u}${p}${x}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=create(t[1]);if(!r)return;return r+u+t[2]}}};const D=i.removePrefix(e,S);let C=create(D);if(C&&r.strictSlashes!==true){C+=`${d}?`}return C};e.exports=parse},3162:(e,t,r)=>{"use strict";const n=r(5622);const i=r(5788);const a=r(9934);const o=r(2661);const s=r(6949);const isObject=e=>e&&typeof e==="object"&&!Array.isArray(e);const picomatch=(e,t,r=false)=>{if(Array.isArray(e)){const n=e.map((e=>picomatch(e,t,r)));const arrayMatcher=e=>{for(const t of n){const r=t(e);if(r)return r}return false};return arrayMatcher}const n=isObject(e)&&e.tokens&&e.input;if(e===""||typeof e!=="string"&&!n){throw new TypeError("Expected pattern to be a non-empty string")}const i=t||{};const a=o.isWindows(t);const s=n?picomatch.compileRe(e,t):picomatch.makeRe(e,t,false,true);const c=s.state;delete s.state;let isIgnored=()=>false;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(i.ignore,e,r)}const matcher=(r,n=false)=>{const{isMatch:o,match:l,output:u}=picomatch.test(r,s,t,{glob:e,posix:a});const d={glob:e,state:c,regex:s,posix:a,input:r,output:u,match:l,isMatch:o};if(typeof i.onResult==="function"){i.onResult(d)}if(o===false){d.isMatch=false;return n?d:false}if(isIgnored(r)){if(typeof i.onIgnore==="function"){i.onIgnore(d)}d.isMatch=false;return n?d:false}if(typeof i.onMatch==="function"){i.onMatch(d)}return n?d:true};if(r){matcher.state=c}return matcher};picomatch.test=(e,t,r,{glob:n,posix:i}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}const a=r||{};const s=a.format||(i?o.toPosixSlashes:null);let c=e===n;let l=c&&s?s(e):e;if(c===false){l=s?s(e):e;c=l===n}if(c===false||a.capture===true){if(a.matchBase===true||a.basename===true){c=picomatch.matchBase(e,t,r,i)}else{c=t.exec(l)}}return{isMatch:Boolean(c),match:c,output:l}};picomatch.matchBase=(e,t,r,i=o.isWindows(r))=>{const a=t instanceof RegExp?t:picomatch.makeRe(t,r);return a.test(n.basename(e))};picomatch.isMatch=(e,t,r)=>picomatch(t,r)(e);picomatch.parse=(e,t)=>{if(Array.isArray(e))return e.map((e=>picomatch.parse(e,t)));return a(e,{...t,fastpaths:false})};picomatch.scan=(e,t)=>i(e,t);picomatch.compileRe=(e,t,r=false,n=false)=>{if(r===true){return e.output}const i=t||{};const a=i.contains?"":"^";const o=i.contains?"":"$";let s=`${a}(?:${e.output})${o}`;if(e&&e.negated===true){s=`^(?!${s}).*$`}const c=picomatch.toRegex(s,t);if(n===true){c.state=e}return c};picomatch.makeRe=(e,t,r=false,n=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}const i=t||{};let o={negated:false,fastpaths:true};let s="";let c;if(e.startsWith("./")){e=e.slice(2);s=o.prefix="./"}if(i.fastpaths!==false&&(e[0]==="."||e[0]==="*")){c=a.fastpaths(e,t)}if(c===undefined){o=a(e,t);o.prefix=s+(o.prefix||"")}else{o.output=c}return picomatch.compileRe(o,t,r,n)};picomatch.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}};picomatch.constants=s;e.exports=picomatch},5788:(e,t,r)=>{"use strict";const n=r(2661);const{CHAR_ASTERISK:i,CHAR_AT:a,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:s,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:d,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_PLUS:g,CHAR_QUESTION_MARK:m,CHAR_RIGHT_CURLY_BRACE:_,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:h}=r(6949);const isPathSeparator=e=>e===u||e===o;const depth=e=>{if(e.isPrefix!==true){e.depth=e.isGlobstar?Infinity:1}};const scan=(e,t)=>{const r=t||{};const v=e.length-1;const T=r.parts===true||r.scanToEnd===true;const b=[];const S=[];const x=[];let D=e;let C=-1;let E=0;let N=0;let k=false;let A=false;let F=false;let P=false;let O=false;let I=false;let w=false;let M=false;let L=false;let R=0;let B;let j;let J={value:"",depth:0,isGlob:false};const eos=()=>C>=v;const peek=()=>D.charCodeAt(C+1);const advance=()=>{B=j;return D.charCodeAt(++C)};while(C0){U=D.slice(0,E);D=D.slice(E);N-=E}if(W&&F===true&&N>0){W=D.slice(0,N);V=D.slice(N)}else if(F===true){W="";V=D}else{W=D}if(W&&W!==""&&W!=="/"&&W!==D){if(isPathSeparator(W.charCodeAt(W.length-1))){W=W.slice(0,-1)}}if(r.unescape===true){if(V)V=n.removeBackslashes(V);if(W&&w===true){W=n.removeBackslashes(W)}}const z={prefix:U,input:e,start:E,base:W,glob:V,isBrace:k,isBracket:A,isGlob:F,isExtglob:P,isGlobstar:O,negated:M};if(r.tokens===true){z.maxDepth=0;if(!isPathSeparator(j)){S.push(J)}z.tokens=S}if(r.parts===true||r.tokens===true){let t;for(let n=0;n{"use strict";const n=r(5622);const i=process.platform==="win32";const{REGEX_BACKSLASH:a,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:c}=r(6949);t.isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);t.hasRegexChars=e=>s.test(e);t.isRegexChar=e=>e.length===1&&t.hasRegexChars(e);t.escapeRegex=e=>e.replace(c,"\\$1");t.toPosixSlashes=e=>e.replace(a,"/");t.removeBackslashes=e=>e.replace(o,(e=>e==="\\"?"":e));t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);if(e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10){return true}return false};t.isWindows=e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return i===true||n.sep==="\\"};t.escapeLast=(e,r,n)=>{const i=e.lastIndexOf(r,n);if(i===-1)return e;if(e[i-1]==="\\")return t.escapeLast(e,r,i-1);return`${e.slice(0,i)}\\${e.slice(i)}`};t.removePrefix=(e,t={})=>{let r=e;if(r.startsWith("./")){r=r.slice(2);t.prefix="./"}return r};t.wrapOutput=(e,t={},r={})=>{const n=r.contains?"":"^";const i=r.contains?"":"$";let a=`${n}(?:${e})${i}`;if(t.negated===true){a=`(?:^(?!${a}).*$)`}return a}},2284:(e,t,r)=>{e=r.nmd(e);var n=r(9596).SourceMapConsumer;var i=r(5622);var a;try{a=r(5747);if(!a.existsSync||!a.readFileSync){a=null}}catch(e){}var o=r(6650);function dynamicRequire(e,t){return e.require(t)}var s=false;var c=false;var l=false;var u="auto";var d={};var p={};var f=/^data:application\/json[^,]+base64,/;var g=[];var m=[];function isInBrowser(){if(u==="browser")return true;if(u==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function handlerExec(e){return function(t){for(var r=0;r"}var r=this.getLineNumber();if(r!=null){t+=":"+r;var n=this.getColumnNumber();if(n){t+=":"+n}}}var i="";var a=this.getFunctionName();var o=true;var s=this.isConstructor();var c=!(this.isToplevel()||s);if(c){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var u=this.getMethodName();if(a){if(l&&a.indexOf(l)!=0){i+=l+"."}i+=a;if(u&&a.indexOf("."+u)!=a.length-u.length-1){i+=" [as "+u+"]"}}else{i+=l+"."+(u||"")}}else if(s){i+="new "+(a||"")}else if(a){i+=a}else{i+=t;o=false}if(o){i+=" ("+t+")"}return i}function cloneCallSite(e){var t={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(r){t[r]=/^(?:is|get)/.test(r)?function(){return e[r].call(e)}:e[r]}));t.toString=CallSiteToString;return t}function wrapCallSite(e,t){if(t===undefined){t={nextPosition:null,curPosition:null}}if(e.isNative()){t.curPosition=null;return e}var r=e.getFileName()||e.getScriptNameOrSourceURL();if(r){var n=e.getLineNumber();var i=e.getColumnNumber()-1;var a=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var o=a.test(process.version)?0:62;if(n===1&&i>o&&!isInBrowser()&&!e.isEval()){i-=o}var s=mapSourcePosition({source:r,line:n,column:i});t.curPosition=s;e=cloneCallSite(e);var c=e.getFunctionName;e.getFunctionName=function(){if(t.nextPosition==null){return c()}return t.nextPosition.name||c()};e.getFileName=function(){return s.source};e.getLineNumber=function(){return s.line};e.getColumnNumber=function(){return s.column+1};e.getScriptNameOrSourceURL=function(){return s.source};return e}var l=e.isEval()&&e.getEvalOrigin();if(l){l=mapEvalOrigin(l);e=cloneCallSite(e);e.getEvalOrigin=function(){return l};return e}return e}function prepareStackTrace(e,t){if(l){d={};p={}}var r=e.name||"Error";var n=e.message||"";var i=r+": "+n;var a={nextPosition:null,curPosition:null};var o=[];for(var s=t.length-1;s>=0;s--){o.push("\n at "+wrapCallSite(t[s],a));a.nextPosition=a.curPosition}a.curPosition=a.nextPosition=null;return i+o.reverse().join("")}function getErrorSource(e){var t=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(t){var r=t[1];var n=+t[2];var i=+t[3];var o=d[r];if(!o&&a&&a.existsSync(r)){try{o=a.readFileSync(r,"utf8")}catch(e){o=""}}if(o){var s=o.split(/(?:\r\n|\r|\n)/)[n-1];if(s){return r+":"+n+"\n"+s+"\n"+new Array(i).join(" ")+"^"}}}return null}function printErrorAndExit(e){var t=getErrorSource(e);if(process.stderr._handle&&process.stderr._handle.setBlocking){process.stderr._handle.setBlocking(true)}if(t){console.error();console.error(t)}console.error(e.stack);process.exit(1)}function shimEmitUncaughtException(){var e=process.emit;process.emit=function(t){if(t==="uncaughtException"){var r=arguments[1]&&arguments[1].stack;var n=this.listeners(t).length>0;if(r&&!n){return printErrorAndExit(arguments[1])}}return e.apply(this,arguments)}}var h=g.slice(0);var v=m.slice(0);t.wrapCallSite=wrapCallSite;t.getErrorSource=getErrorSource;t.mapSourcePosition=mapSourcePosition;t.retrieveSourceMap=y;t.install=function(t){t=t||{};if(t.environment){u=t.environment;if(["node","browser","auto"].indexOf(u)===-1){throw new Error("environment "+u+" was unknown. Available options are {auto, browser, node}")}}if(t.retrieveFile){if(t.overrideRetrieveFile){g.length=0}g.unshift(t.retrieveFile)}if(t.retrieveSourceMap){if(t.overrideRetrieveSourceMap){m.length=0}m.unshift(t.retrieveSourceMap)}if(t.hookRequire&&!isInBrowser()){var r=dynamicRequire(e,"module");var n=r.prototype._compile;if(!n.__sourceMapSupport){r.prototype._compile=function(e,t){d[t]=e;p[t]=undefined;return n.call(this,e,t)};r.prototype._compile.__sourceMapSupport=true}}if(!l){l="emptyCacheBetweenOperations"in t?t.emptyCacheBetweenOperations:false}if(!s){s=true;Error.prepareStackTrace=prepareStackTrace}if(!c){var i="handleUncaughtExceptions"in t?t.handleUncaughtExceptions:true;try{var a=dynamicRequire(e,"worker_threads");if(a.isMainThread===false){i=false}}catch(e){}if(i&&hasGlobalProcessEventEmitter()){c=true;shimEmitUncaughtException()}}};t.resetRetrieveHandlers=function(){g.length=0;m.length=0;g=h.slice(0);m=v.slice(0);y=handlerExec(m);_=handlerExec(g)}},6837:(e,t,r)=>{var n=r(1983);var i=Object.prototype.hasOwnProperty;var a=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=a?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,t){var r=new ArraySet;for(var n=0,i=e.length;n=0){return t}}else{var r=n.toSetString(e);if(i.call(this._set,r)){return this._set[r]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var n=r(6537);var i=5;var a=1<>1;return t?-r:r}t.encode=function base64VLQ_encode(e){var t="";var r;var a=toVLQSigned(e);do{r=a&o;a>>>=i;if(a>0){r|=s}t+=n.encode(r)}while(a>0);return t};t.decode=function base64VLQ_decode(e,t,r){var a=e.length;var c=0;var l=0;var u,d;do{if(t>=a){throw new Error("Expected more digits in base 64 VLQ value.")}d=n.decode(e.charCodeAt(t++));if(d===-1){throw new Error("Invalid base64 digit: "+e.charAt(t-1))}u=!!(d&s);d&=o;c=c+(d<{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e{t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function recursiveSearch(e,r,n,i,a,o){var s=Math.floor((r-e)/2)+e;var c=a(n,i[s],true);if(c===0){return s}else if(c>0){if(r-s>1){return recursiveSearch(s,r,n,i,a,o)}if(o==t.LEAST_UPPER_BOUND){return r1){return recursiveSearch(e,s,n,i,a,o)}if(o==t.LEAST_UPPER_BOUND){return s}else{return e<0?-1:e}}}t.search=function search(e,r,n,i){if(r.length===0){return-1}var a=recursiveSearch(-1,r.length,e,r,n,i||t.GREATEST_LOWER_BOUND);if(a<0){return-1}while(a-1>=0){if(n(r[a],r[a-1],true)!==0){break}--a}return a}},1740:(e,t,r)=>{var n=r(1983);function generatedPositionAfter(e,t){var r=e.generatedLine;var i=t.generatedLine;var a=e.generatedColumn;var o=t.generatedColumn;return i>r||i==r&&o>=a||n.compareByGeneratedPositionsInflated(e,t)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,t){this._array.forEach(e,t)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(n.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};t.H=MappingList},8226:(e,t)=>{function swap(e,t,r){var n=e[t];e[t]=e[r];e[r]=n}function randomIntInRange(e,t){return Math.round(e+Math.random()*(t-e))}function doQuickSort(e,t,r,n){if(r{var n;var i=r(1983);var a=r(3164);var o=r(6837).I;var s=r(4215);var c=r(8226).U;function SourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=i.parseSourceMapInput(e)}return r.sections!=null?new IndexedSourceMapConsumer(r,t):new BasicSourceMapConsumer(r,t)}SourceMapConsumer.fromSourceMap=function(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,t){var r=e.charAt(t);return r===";"||r===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,t,r){var n=t||null;var a=r||SourceMapConsumer.GENERATED_ORDER;var o;switch(a){case SourceMapConsumer.GENERATED_ORDER:o=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;o.map((function(e){var t=e.source===null?null:this._sources.at(e.source);t=i.computeSourceURL(s,t,this._sourceMapURL);return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,n)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var t=i.getArg(e,"line");var r={source:i.getArg(e,"source"),originalLine:t,originalColumn:i.getArg(e,"column",0)};r.source=this._findSourceIndex(r.source);if(r.source<0){return[]}var n=[];var o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,a.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===undefined){var c=s.originalLine;while(s&&s.originalLine===c){n.push({line:i.getArg(s,"generatedLine",null),column:i.getArg(s,"generatedColumn",null),lastColumn:i.getArg(s,"lastGeneratedColumn",null)});s=this._originalMappings[++o]}}else{var l=s.originalColumn;while(s&&s.originalLine===t&&s.originalColumn==l){n.push({line:i.getArg(s,"generatedLine",null),column:i.getArg(s,"generatedColumn",null),lastColumn:i.getArg(s,"lastGeneratedColumn",null)});s=this._originalMappings[++o]}}}return n};t.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=i.parseSourceMapInput(e)}var n=i.getArg(r,"version");var a=i.getArg(r,"sources");var s=i.getArg(r,"names",[]);var c=i.getArg(r,"sourceRoot",null);var l=i.getArg(r,"sourcesContent",null);var u=i.getArg(r,"mappings");var d=i.getArg(r,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}if(c){c=i.normalize(c)}a=a.map(String).map(i.normalize).map((function(e){return c&&i.isAbsolute(c)&&i.isAbsolute(e)?i.relative(c,e):e}));this._names=o.fromArray(s.map(String),true);this._sources=o.fromArray(a,true);this._absoluteSources=this._sources.toArray().map((function(e){return i.computeSourceURL(c,e,t)}));this.sourceRoot=c;this.sourcesContent=l;this._mappings=u;this._sourceMapURL=t;this.file=d}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null){t=i.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}var r;for(r=0;r1){y.source=l+v[1];l+=v[1];y.originalLine=a+v[2];a=y.originalLine;y.originalLine+=1;y.originalColumn=o+v[3];o=y.originalColumn;if(v.length>4){y.name=u+v[4];u+=v[4]}}_.push(y);if(typeof y.originalLine==="number"){m.push(y)}}}c(_,i.compareByGeneratedPositionsDeflated);this.__generatedMappings=_;c(m,i.compareByOriginalPositions);this.__originalMappings=m};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,t,r,n,i,o){if(e[r]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[r])}if(e[n]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[n])}return a.search(e,t,i,o)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var n=this._generatedMappings[r];if(n.generatedLine===t.generatedLine){var a=i.getArg(n,"source",null);if(a!==null){a=this._sources.at(a);a=i.computeSourceURL(this.sourceRoot,a,this._sourceMapURL)}var o=i.getArg(n,"name",null);if(o!==null){o=this._names.at(o)}return{source:a,line:i.getArg(n,"originalLine",null),column:i.getArg(n,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,t){if(!this.sourcesContent){return null}var r=this._findSourceIndex(e);if(r>=0){return this.sourcesContent[r]}var n=e;if(this.sourceRoot!=null){n=i.relative(this.sourceRoot,n)}var a;if(this.sourceRoot!=null&&(a=i.urlParse(this.sourceRoot))){var o=n.replace(/^file:\/\//,"");if(a.scheme=="file"&&this._sources.has(o)){return this.sourcesContent[this._sources.indexOf(o)]}if((!a.path||a.path=="/")&&this._sources.has("/"+n)){return this.sourcesContent[this._sources.indexOf("/"+n)]}}if(t){return null}else{throw new Error('"'+n+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var t=i.getArg(e,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}var r={source:t,originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};var n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,i.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(n>=0){var a=this._originalMappings[n];if(a.source===r.source){return{line:i.getArg(a,"generatedLine",null),column:i.getArg(a,"generatedColumn",null),lastColumn:i.getArg(a,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};n=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=i.parseSourceMapInput(e)}var n=i.getArg(r,"version");var a=i.getArg(r,"sections");if(n!=this._version){throw new Error("Unsupported version: "+n)}this._sources=new o;this._names=new o;var s={line:-1,column:0};this._sections=a.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var r=i.getArg(e,"offset");var n=i.getArg(r,"line");var a=i.getArg(r,"column");if(n{var n=r(4215);var i=r(1983);var a=r(6837).I;var o=r(1740).H;function SourceMapGenerator(e){if(!e){e={}}this._file=i.getArg(e,"file",null);this._sourceRoot=i.getArg(e,"sourceRoot",null);this._skipValidation=i.getArg(e,"skipValidation",false);this._sources=new a;this._names=new a;this._mappings=new o;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var t=e.sourceRoot;var r=new SourceMapGenerator({file:e.file,sourceRoot:t});e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){n.source=e.source;if(t!=null){n.source=i.relative(t,n.source)}n.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){n.name=e.name}}r.addMapping(n)}));e.sources.forEach((function(n){var a=n;if(t!==null){a=i.relative(t,n)}if(!r._sources.has(a)){r._sources.add(a)}var o=e.sourceContentFor(n);if(o!=null){r.setSourceContent(n,o)}}));return r};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var t=i.getArg(e,"generated");var r=i.getArg(e,"original",null);var n=i.getArg(e,"source",null);var a=i.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,r,n,a)}if(n!=null){n=String(n);if(!this._sources.has(n)){this._sources.add(n)}}if(a!=null){a=String(a);if(!this._names.has(a)){this._names.add(a)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:n,name:a})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,t){var r=e;if(this._sourceRoot!=null){r=i.relative(this._sourceRoot,r)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[i.toSetString(r)]=t}else if(this._sourcesContents){delete this._sourcesContents[i.toSetString(r)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,t,r){var n=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}n=e.file}var o=this._sourceRoot;if(o!=null){n=i.relative(o,n)}var s=new a;var c=new a;this._mappings.unsortedForEach((function(t){if(t.source===n&&t.originalLine!=null){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(a.source!=null){t.source=a.source;if(r!=null){t.source=i.join(r,t.source)}if(o!=null){t.source=i.relative(o,t.source)}t.originalLine=a.line;t.originalColumn=a.column;if(a.name!=null){t.name=a.name}}}var l=t.source;if(l!=null&&!s.has(l)){s.add(l)}var u=t.name;if(u!=null&&!c.has(u)){c.add(u)}}),this);this._sources=s;this._names=c;e.sources.forEach((function(t){var n=e.sourceContentFor(t);if(n!=null){if(r!=null){t=i.join(r,t)}if(o!=null){t=i.relative(o,t)}this.setSourceContent(t,n)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,t,r,n){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!r&&!n){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var t=1;var r=0;var a=0;var o=0;var s=0;var c="";var l;var u;var d;var p;var f=this._mappings.toArray();for(var g=0,m=f.length;g0){if(!i.compareByGeneratedPositionsInflated(u,f[g-1])){continue}l+=","}}l+=n.encode(u.generatedColumn-e);e=u.generatedColumn;if(u.source!=null){p=this._sources.indexOf(u.source);l+=n.encode(p-s);s=p;l+=n.encode(u.originalLine-1-a);a=u.originalLine-1;l+=n.encode(u.originalColumn-r);r=u.originalColumn;if(u.name!=null){d=this._names.indexOf(u.name);l+=n.encode(d-o);o=d}}c+=l}return c};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents){return null}if(t!=null){e=i.relative(t,e)}var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};t.h=SourceMapGenerator},9990:(e,t,r)=>{var n;var i=r(1341).h;var a=r(1983);var o=/(\r?\n)/;var s=10;var c="$$$isSourceNode$$$";function SourceNode(e,t,r,n,i){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=r==null?null:r;this.name=i==null?null:i;this[c]=true;if(n!=null)this.add(n)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,t,r){var n=new SourceNode;var i=e.split(o);var s=0;var shiftNextLine=function(){var e=getNextLine();var t=getNextLine()||"";return e+t;function getNextLine(){return s=0;t--){this.prepend(e[t])}}else if(e[c]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var t;for(var r=0,n=this.children.length;r0){t=[];for(r=0;r{function getArg(e,t,r){if(t in e){return e[t]}else if(arguments.length===3){return r}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=getArg;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var n=/^data:.+\,.+$/;function urlParse(e){var t=e.match(r);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=urlGenerate;function normalize(e){var r=e;var n=urlParse(e);if(n){if(!n.path){return e}r=n.path}var i=t.isAbsolute(r);var a=r.split(/\/+/);for(var o,s=0,c=a.length-1;c>=0;c--){o=a[c];if(o==="."){a.splice(c,1)}else if(o===".."){s++}else if(s>0){if(o===""){a.splice(c+1,s);s=0}else{a.splice(c,2);s--}}}r=a.join("/");if(r===""){r=i?"/":"."}if(n){n.path=r;return urlGenerate(n)}return r}t.normalize=normalize;function join(e,t){if(e===""){e="."}if(t===""){t="."}var r=urlParse(t);var i=urlParse(e);if(i){e=i.path||"/"}if(r&&!r.scheme){if(i){r.scheme=i.scheme}return urlGenerate(r)}if(r||t.match(n)){return t}if(i&&!i.host&&!i.path){i.host=t;return urlGenerate(i)}var a=t.charAt(0)==="/"?t:normalize(e.replace(/\/+$/,"")+"/"+t);if(i){i.path=a;return urlGenerate(i)}return a}t.join=join;t.isAbsolute=function(e){return e.charAt(0)==="/"||r.test(e)};function relative(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var r=0;while(t.indexOf(e+"/")!==0){var n=e.lastIndexOf("/");if(n<0){return t}e=e.slice(0,n);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++r}return Array(r+1).join("../")+t.substr(e.length+1)}t.relative=relative;var i=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}t.toSetString=i?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}t.fromSetString=i?identity:fromSetString;function isProtoString(e){if(!e){return false}var t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(var r=t-10;r>=0;r--){if(e.charCodeAt(r)!==36){return false}}return true}function compareByOriginalPositions(e,t,r){var n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0||r){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=e.generatedLine-t.generatedLine;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,t,r){var n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0||r){return n}n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function compareByGeneratedPositionsInflated(e,t){var r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,t,r){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(r){var n=urlParse(r);if(!n){throw new Error("sourceMapURL could not be parsed")}if(n.path){var i=n.path.lastIndexOf("/");if(i>=0){n.path=n.path.substring(0,i+1)}}t=join(urlGenerate(n),t)}return normalize(t)}t.computeSourceURL=computeSourceURL},9596:(e,t,r)=>{r(1341).h;t.SourceMapConsumer=r(6327).SourceMapConsumer;r(9990)},6619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(5622);const i=r(9635);const a=r(557);const o=r(6507);function makeAfterCompile(e,t){let r=true;let n=true;return(i,a)=>{if(i.compiler.isChild()){a();return}removeTSLoaderErrors(i.errors);provideCompilerOptionDiagnosticErrorsToWebpack(r,i,e,t);r=false;const o=determineModules(i);const s=determineFilesToCheckForErrors(n,e);n=false;const c=new Map;provideErrorsToWebpack(s,c,i,o,e);provideDeclarationFilesToWebpack(s,e,i);provideSolutionErrorsToWebpack(i,o,e);provideTsBuildInfoFilesToWebpack(e,i);e.filesWithErrors=c;e.modifiedFiles=undefined;e.projectsMissingSourceMaps=new Set;a()}}t.makeAfterCompile=makeAfterCompile;function provideCompilerOptionDiagnosticErrorsToWebpack(e,t,r,n){if(e){const{languageService:e,loaderOptions:i,compiler:a,program:s}=r;const c=o.formatErrors(s===undefined?e.getCompilerOptionsDiagnostics():s.getOptionsDiagnostics(),i,r.colors,a,{file:n||"tsconfig.json"},t.compiler.context);t.errors.push(...c)}}function determineModules(e){return e.modules.reduce(((e,t)=>{if(t.resource){const r=n.normalize(t.resource);const i=e.get(r);if(i!==undefined){if(i.indexOf(t)===-1){i.push(t)}}else{e.set(r,[t])}}return e}),new Map)}function determineFilesToCheckForErrors(e,t){const{files:r,modifiedFiles:n,filesWithErrors:i,otherFiles:a}=t;const s=new Map;if(e){for(const[e,t]of r){s.set(e,t)}for(const[e,t]of a){s.set(e,t)}}else if(n!==null&&n!==undefined){for(const e of n.keys()){o.collectAllDependants(t.reverseDependencyGraph,e).forEach((e=>{const t=r.get(e)||a.get(e);s.set(e,t)}))}}if(i!==undefined){for(const[e,t]of i){s.set(e,t)}}return s}function provideErrorsToWebpack(e,t,r,n,a){const{compiler:s,files:c,loaderOptions:l,compilerOptions:u,otherFiles:d}=a;const p=u.allowJs===true?i.dtsTsTsxJsJsxRegex:i.dtsTsTsxRegex;const f=o.ensureProgram(a);for(const i of e.keys()){if(i.match(p)===null){continue}const e=f&&f.getSourceFile(i);if(o.isUsingProjectReferences(a)&&e===undefined){continue}const u=[];if(f&&e){u.push(...f.getSyntacticDiagnostics(e),...f.getSemanticDiagnostics(e).filter((({code:e})=>e!==6305)))}if(u.length>0){const e=c.get(i)||d.get(i);t.set(i,e)}const g=n.get(i);if(g!==undefined){g.forEach((e=>{removeTSLoaderErrors(e.errors);const t=o.formatErrors(u,l,a.colors,s,{module:e},r.compiler.context);e.errors.push(...t);r.errors.push(...t)}))}else{const e=o.formatErrors(u,l,a.colors,s,{file:i},r.compiler.context);r.errors.push(...e)}}}function provideSolutionErrorsToWebpack(e,t,r){if(!r.solutionBuilderHost||!(r.solutionBuilderHost.diagnostics.global.length||r.solutionBuilderHost.diagnostics.perFile.size)){return}const{compiler:n,loaderOptions:i,solutionBuilderHost:{diagnostics:a}}=r;for(const[s,c]of a.perFile){const a=t.get(s);if(a!==undefined){a.forEach((t=>{removeTSLoaderErrors(t.errors);const a=o.formatErrors(c,i,r.colors,n,{module:t},e.compiler.context);t.errors.push(...a);e.errors.push(...a)}))}else{const t=o.formatErrors(c,i,r.colors,n,{file:s},e.compiler.context);e.errors.push(...t)}}e.errors.push(...o.formatErrors(a.global,r.loaderOptions,r.colors,r.compiler,{file:"tsconfig.json"},e.compiler.context))}function provideDeclarationFilesToWebpack(e,t,r){for(const o of e.keys()){if(o.match(i.tsTsxRegex)===null){continue}const e=a.getEmitOutput(t,o);const s=e.filter((e=>e.name.match(i.dtsDtsxOrDtsDtsxMapRegex)));s.forEach((e=>{const t=n.relative(r.compiler.outputPath,e.name);r.assets[t]={source:()=>e.text,size:()=>e.text.length}}))}}function getOutputPathForBuildInfo(e,t){return e.getTsBuildInfoEmitOutputFilePath?e.getTsBuildInfoEmitOutputFilePath(t):e.getOutputPathForBuildInfo(t)}function provideTsBuildInfoFilesToWebpack(e,t){if(e.solutionBuilderHost&&e.modifiedFiles){const r=o.ensureProgram(e);if(r){a.forEachResolvedProjectReference(r.getResolvedProjectReferences(),(r=>{if(r.commandLine.fileNames.some((t=>e.modifiedFiles.has(n.resolve(t))))){const i=getOutputPathForBuildInfo(e.compiler,r.commandLine.options);if(i){const r=e.compiler.sys.readFile(i);if(r){const e=n.relative(t.compiler.outputPath,n.resolve(i));t.assets[e]={source:()=>r,size:()=>r.length}}}}}))}}if(e.watchHost){a.getEmitFromWatchHost(e);if(e.watchHost.tsbuildinfo){const{tsbuildinfo:r}=e.watchHost;const i=n.relative(t.compiler.outputPath,n.resolve(r.name));t.assets[i]={source:()=>r.text,size:()=>r.text.length}}e.watchHost.outputFiles.clear();e.watchHost.tsbuildinfo=undefined}}function removeTSLoaderErrors(e){let t=-1;let r=e.length;while(++t{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9997);const i=r(3779);function getCompiler(e,t){let r;let i;let a;let o=false;try{r=require(e.compiler)}catch(t){i=e.compiler==="typescript"?"Could not load TypeScript. Try installing with `yarn add typescript` or `npm install typescript`. If TypeScript is installed globally, try using `yarn link typescript` or `npm link typescript`.":`Could not load TypeScript compiler with NPM package name \`${e.compiler}\`. Are you sure it is correctly installed?`}if(i===undefined){a=`ts-loader: Using ${e.compiler}@${r.version}`;o=false;if(e.compiler==="typescript"){if(r.version!==undefined&&n.gte(r.version,"2.4.1")){o=true}else{t.logError(`${a}. This version is incompatible with ts-loader. Please upgrade to the latest version of TypeScript.`)}}else{t.logWarning(`${a}. This version may or may not be compatible with ts-loader.`)}}return{compiler:r,compilerCompatible:o,compilerDetailsLogMessage:a,errorMessage:i}}t.getCompiler=getCompiler;function getCompilerOptions(e){const t=Object.assign({},e.options,{skipLibCheck:true,suppressOutputPathCheck:true});if(t.module===undefined&&(t.target!==undefined&&t.target{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(5622);const i=r(9997);const a=r(7464);const o=r(6507);function getConfigFile(e,t,r,i,a,s,c){const l=findConfigFile(e,n.dirname(r.resourcePath),i.configFile);let u;let d;if(l!==undefined){if(a){s.logInfo(`${c} and ${l}`)}else{s.logInfo(`ts-loader: Using config file at ${l}`)}d=e.readConfigFile(l,e.sys.readFile);if(d.error!==undefined){u=o.formatErrors([d.error],i,t,e,{file:l},r.context)[0]}}else{if(a){s.logInfo(c)}d={config:{compilerOptions:{},files:[]}}}if(u===undefined){d.config.compilerOptions=Object.assign({},d.config.compilerOptions,i.compilerOptions)}return{configFilePath:l,configFile:d,configFileError:u}}t.getConfigFile=getConfigFile;function findConfigFile(e,t,r){if(n.isAbsolute(r)){return e.sys.fileExists(r)?r:undefined}if(r.match(/^\.\.?(\/|\\)/)!==null){const i=n.resolve(t,r);return e.sys.fileExists(i)?i:undefined}else{while(true){const i=n.join(t,r);if(e.sys.fileExists(i)){return i}const a=n.dirname(t);if(a===t){break}t=a}return undefined}}function getConfigParseResult(e,t,r,n,a){const o=e.parseJsonConfigFileContent(t.config,e.sys,r);if(!a){o.projectReferences=undefined}if(i.gte(e.version,"3.5.0")){o.options=Object.assign({},o.options,{configFilePath:n})}return o}t.getConfigParseResult=getConfigParseResult;const s=new Map;function getParsedCommandLine(e,t,r){const n=e.getParsedCommandLineOfConfigFile(r,t.compilerOptions,Object.assign(Object.assign({},e.sys),{onUnRecoverableConfigFileDiagnostic:()=>{}}),s);if(n){n.options=a.getCompilerOptions(n)}return n}t.getParsedCommandLine=getParsedCommandLine},9635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2087);t.EOL=n.EOL;t.CarriageReturnLineFeed="\r\n";t.LineFeed="\n";t.CarriageReturnLineFeedCode=0;t.LineFeedCode=1;t.extensionRegex=/\.[^.]+$/;t.tsxRegex=/\.tsx$/i;t.tsTsxRegex=/\.ts(x?)$/i;t.dtsDtsxOrDtsDtsxMapRegex=/\.d\.ts(x?)(\.map)?$/i;t.dtsTsTsxRegex=/(\.d)?\.ts(x?)$/i;t.dtsTsTsxJsJsxRegex=/((\.d)?\.ts(x?)|js(x?))$/i;t.tsTsxJsJsxRegex=/\.tsx?$|\.jsx?$/i;t.jsJsx=/\.js(x?)$/i;t.jsJsxMap=/\.js(x?)\.map$/i;t.jsonRegex=/\.json$/i;t.nodeModules=/node_modules/i},2956:(e,t,r)=>{"use strict";const n=r(8244);const i=r(5622);const a=r(9635);const o=r(557);const s=r(6507);const c=[];const l={};function loader(e){this.cacheable&&this.cacheable();const t=this.async();const r=getLoaderOptions(this);const n=o.getTypeScriptInstance(r,this);if(n.error!==undefined){t(new Error(n.error.message));return}return successLoader(this,e,t,r,n.instance)}function successLoader(e,t,r,n,a){const o=i.normalize(e.resourcePath);const c=n.appendTsSuffixTo.length>0||n.appendTsxSuffixTo.length>0?s.appendSuffixesIfMatch({".ts":n.appendTsSuffixTo,".tsx":n.appendTsxSuffixTo},o):o;const l=updateFileInCache(n,c,t,a);const u=s.getAndCacheProjectReference(c,a);if(u!==undefined){const[o,d]=[i.relative(e.rootContext,u.sourceFile.fileName),i.relative(e.rootContext,c)];if(u.commandLine.options.outFile!==undefined){throw new Error(`The referenced project at ${o} is using `+`the outFile' option, which is not supported with ts-loader.`)}const p=s.getAndCacheOutputJSFileName(c,u,a);const f=i.relative(e.rootContext,p);if(!a.compiler.sys.fileExists(p)){throw new Error(`Could not find output JavaScript file for input `+`${d} (looked at ${f}).\n`+`The input file is part of a project reference located at `+`${o}, so ts-loader is looking for the `+"project’s pre-built output on disk. Try running `tsc --build` "+"to build project references.")}e.clearDependencies();e.addDependency(p);s.validateSourceMapOncePerProject(a,e,p,u);const g=p+".map";const m=a.compiler.sys.readFile(p);const _=a.compiler.sys.readFile(g);makeSourceMapAndFinish(_,m,c,t,e,n,l,r,a)}else{const{outputText:i,sourceMapText:s}=n.transpileOnly?getTranspilationEmit(c,t,a,e):getEmit(o,c,a,e);makeSourceMapAndFinish(s,i,c,t,e,n,l,r,a)}}function makeSourceMapAndFinish(e,t,r,n,i,a,s,c,l){if(t===null||t===undefined){const e=o.isReferencedFile(l,r)?" The most common cause for this is having errors when building referenced projects.":!a.allowTsInNodeModules&&r.indexOf("node_modules")!==-1?" By default, ts-loader will not compile .ts files in node_modules.\n"+"You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.\n"+"See: https://github.com/Microsoft/TypeScript/issues/12358":"";throw new Error(`TypeScript emitted no output for ${r}.${e}`)}const{sourceMap:u,output:d}=makeSourceMap(e,t,r,n,i);if(!a.happyPackMode&&i._module.buildMeta!==undefined){i._module.buildMeta.tsLoaderFileVersion=s}c(null,d,u)}function getLoaderOptions(e){let t=c.indexOf(e._compiler);if(t===-1){t=c.push(e._compiler)-1}const r=n.getOptions(e)||{};const i=t+"_"+(r.instance||"default");if(!l.hasOwnProperty(i)){l[i]=new WeakMap}const a=l[i];if(a.has(r)){return a.get(r)}validateLoaderOptions(r);const o=makeLoaderOptions(i,r);a.set(r,o);return o}const u=["silent","logLevel","logInfoToStdOut","instance","compiler","context","configFile","transpileOnly","ignoreDiagnostics","errorFormatter","colors","compilerOptions","appendTsSuffixTo","appendTsxSuffixTo","onlyCompileBundledFiles","happyPackMode","getCustomTransformers","reportFiles","experimentalWatchApi","allowTsInNodeModules","experimentalFileCaching","projectReferences","resolveModuleName","resolveTypeReferenceDirective"];function validateLoaderOptions(e){const t=Object.keys(e);for(let e=0;ee.match(a.dtsDtsxOrDtsDtsxMapRegex)));const o=n.addDependency.bind(n);i.forEach(o);const c=r.dependencyGraph[t];const l=c===undefined?[]:c.map((({resolvedFileName:e,originalFileName:t})=>{const n=s.getAndCacheProjectReference(e,r);return n!==undefined?s.getAndCacheOutputJSFileName(e,n,r):t}));if(l.length>0){l.forEach(o)}n._module.buildMeta.tsLoaderDefinitionFileVersions=i.concat(l).map((e=>e+"@"+(r.files.get(e)||{version:"?"}).version))}const c=i.filter((e=>e.name.match(a.jsJsx))).pop();const l=c===undefined?undefined:c.text;const u=i.filter((e=>e.name.match(a.jsJsxMap))).pop();const d=u===undefined?undefined:u.text;return{outputText:l,sourceMapText:d}}function getTranspilationEmit(e,t,r,n){const{outputText:i,sourceMapText:a,diagnostics:c}=r.compiler.transpileModule(t,{compilerOptions:Object.assign(Object.assign({},r.compilerOptions),{rootDir:undefined}),transformers:r.transformers,reportDiagnostics:true,fileName:e});if(!r.loaderOptions.happyPackMode&&!o.isReferencedFile(r,e)){const e=s.formatErrors(c,r.loaderOptions,r.colors,r.compiler,{module:n._module},n.context);n._module.errors.push(...e)}return{outputText:i,sourceMapText:a}}function makeSourceMap(e,t,r,i,a){if(e===undefined){return{output:t,sourceMap:undefined}}return{output:t.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm,""),sourceMap:Object.assign(JSON.parse(e),{sources:[n.getRemainingRequest(a)],file:r,sourcesContent:[i]})}}e.exports=loader},557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3551);const i=r(5747);const a=r(5622);const o=r(6619);const s=r(7464);const c=r(852);const l=r(9635);const u=r(3686);const d=r(9674);const p=r(6507);const f=r(573);const g={};function getTypeScriptInstance(e,t){if(g.hasOwnProperty(e.instance)){const t=g[e.instance];p.ensureProgram(t);return{instance:g[e.instance]}}const r=new n.default.constructor({enabled:e.colors});const i=u.makeLogger(e,r);const a=s.getCompiler(e,i);if(a.errorMessage!==undefined){return{error:p.makeError(r.red(a.errorMessage),undefined)}}return successfulTypeScriptInstance(e,t,i,r,a.compiler,a.compilerCompatible,a.compilerDetailsLogMessage)}t.getTypeScriptInstance=getTypeScriptInstance;function successfulTypeScriptInstance(e,t,r,n,u,m,_){const y=c.getConfigFile(u,n,t,e,m,r,_);if(y.configFileError!==undefined){const{message:e,file:t}=y.configFileError;return{error:p.makeError(n.red("error while reading tsconfig.json:"+l.EOL+e),t)}}const{configFilePath:h,configFile:v}=y;const T=e.context||a.dirname(h||"");const b=c.getConfigParseResult(u,v,T,h,e.projectReferences);if(b.errors.length>0&&!e.happyPackMode){const r=p.formatErrors(b.errors,e,n,u,{file:h},t.context);t._module.errors.push(...r);return{error:p.makeError(n.red("error while parsing tsconfig.json"),h)}}const S=s.getCompilerOptions(b);const x=new Set;const D=new Map;const C=new Map;const E=e.appendTsSuffixTo.length>0||e.appendTsxSuffixTo.length>0?t=>p.appendSuffixesIfMatch({".ts":e.appendTsSuffixTo,".tsx":e.appendTsxSuffixTo},t):e=>e;let{getCustomTransformers:N}=e;let k=Function.prototype;if(typeof N==="function"){k=N}else if(typeof N==="string"){try{N=require(N)}catch(t){throw new Error(`Failed to load customTransformers from "${e.getCustomTransformers}": ${t.message}`)}if(typeof N!=="function"){throw new Error(`Custom transformers in "${e.getCustomTransformers}" should export a function, got ${typeof k}`)}k=N}const A=b.options.allowJs===true?/\.tsx?$|\.jsx?$/i:/\.tsx?$/i;if(e.transpileOnly){const i=g[e.instance]={compiler:u,compilerOptions:S,appendTsTsxSuffixesIfRequired:E,loaderOptions:e,rootFileNames:x,files:D,otherFiles:C,program:undefined,dependencyGraph:{},reverseDependencyGraph:{},transformers:{},colors:n};tryAndBuildSolutionReferences(i,t,r,A,h);const a=i.program=b.projectReferences!==undefined?u.createProgram({rootNames:b.fileNames,options:b.options,projectReferences:b.projectReferences}):u.createProgram([],S);if(!e.happyPackMode){const r=d.getSolutionErrors(i,t.context);const o=a.getOptionsDiagnostics();const s=p.formatErrors(o,e,n,u,{file:h||"tsconfig.json"},t.context);t._module.errors.push(...r,...s)}i.transformers=k(a);return{instance:i}}let F;try{const t=e.onlyCompileBundledFiles?b.fileNames.filter((e=>l.dtsDtsxOrDtsDtsxMapRegex.test(e))):b.fileNames;t.forEach((e=>{F=a.normalize(e);D.set(F,{text:i.readFileSync(F,"utf-8"),version:0});x.add(F)}))}catch(e){return{error:p.makeError(n.red(`A file specified in tsconfig.json could not be found: ${F}`),F)}}const P=g[e.instance]={compiler:u,compilerOptions:S,appendTsTsxSuffixesIfRequired:E,loaderOptions:e,rootFileNames:x,files:D,otherFiles:C,languageService:null,version:0,transformers:{},dependencyGraph:{},reverseDependencyGraph:{},colors:n};if(!t._compiler.hooks){throw new Error("You may be using an old version of webpack; please check you're using at least version 4")}tryAndBuildSolutionReferences(P,t,r,A,h);if(e.experimentalWatchApi&&u.createWatchProgram){r.logInfo("Using watch api");P.watchHost=d.makeWatchHost(A,r,t,P,b.projectReferences);P.watchOfFilesAndCompilerOptions=u.createWatchProgram(P.watchHost);P.builderProgram=P.watchOfFilesAndCompilerOptions.getProgram();P.program=P.builderProgram.getProgram();P.transformers=k(P.program)}else{const n=d.makeServicesHost(A,r,t,P,e.experimentalFileCaching,b.projectReferences);P.languageService=u.createLanguageService(n.servicesHost,u.createDocumentRegistry());if(n.clearCache!==null){t._compiler.hooks.watchRun.tap("ts-loader",n.clearCache)}P.transformers=k(P.languageService.getProgram())}t._compiler.hooks.afterCompile.tapAsync("ts-loader",o.makeAfterCompile(P,h));t._compiler.hooks.watchRun.tapAsync("ts-loader",f.makeWatchRun(P));return{instance:P}}function tryAndBuildSolutionReferences(e,t,r,n,i){if(i&&p.supportsSolutionBuild(e.loaderOptions,e.compiler)){r.logInfo("Using SolutionBuilder api");e.configFilePath=i;e.solutionBuilderHost=d.makeSolutionBuilderHost(n,r,t,e);e.solutionBuilder=e.compiler.createSolutionBuilderWithWatch(e.solutionBuilderHost,[i],{verbose:true});e.solutionBuilder.buildReferences(e.configFilePath)}}function forEachResolvedProjectReference(e,t){let r;return worker(e);function worker(e){if(e){for(const n of e){if(!n){continue}if(r&&r.some((e=>e===n))){continue}(r||(r=[])).push(n);const e=t(n)||worker(n.references);if(e){return e}}}return undefined}}t.forEachResolvedProjectReference=forEachResolvedProjectReference;function fileExtensionIs(e,t){return e.endsWith(t)}function rootDirOfOptions(e,t){return t.options.rootDir||e.compiler.getDirectoryPath(t.options.configFilePath)}function getOutputPathWithoutChangingExt(e,t,r,n,i){return i?e.compiler.resolvePath(i,e.compiler.getRelativePathFromDirectory(rootDirOfOptions(e,r),t,n)):t}function getOutputJSFileName(e,t,r,n){if(r.options.emitDeclarationOnly){return undefined}const i=fileExtensionIs(t,".json");const a=e.compiler.changeExtension(getOutputPathWithoutChangingExt(e,t,r,n,r.options.outDir),i?".json":fileExtensionIs(t,".tsx")&&r.options.jsx===e.compiler.JsxEmit.Preserve?".jsx":".js");return!i||e.compiler.comparePaths(t,a,r.options.configFilePath,n)!==e.compiler.Comparison.EqualTo?a:undefined}function getOutputFileNames(e,t,r){const n=!e.compiler.sys.useCaseSensitiveFileNames;if(e.compiler.getOutputFileNames){return e.compiler.getOutputFileNames(t,r,n)}const i=[];const addOutput=e=>e&&i.push(e);const a=getOutputJSFileName(e,r,t,n);addOutput(a);if(!fileExtensionIs(r,".json")){if(a&&t.options.sourceMap){addOutput(`${a}.map`)}if((t.options.declaration||t.options.composite)&&e.compiler.hasTSFileExtension(r)){const i=e.compiler.getOutputDeclarationFileName(r,t,n);addOutput(i);if(t.options.declarationMap){addOutput(`${i}.map`)}}}return i}function getOutputFilesFromReference(e,t,r){return forEachResolvedProjectReference(e.getResolvedProjectReferences(),(({commandLine:e})=>{const{options:n,fileNames:i}=e;if(!n.outFile&&!n.out&&i.some((e=>a.normalize(e)===r))){const n=[];getOutputFileNames(t,e,t.compiler.resolvePath(r)).forEach((e=>{const r=t.compiler.sys.readFile(e);if(r){n.push({name:e,text:r,writeByteOrderMark:false})}}));return n}return undefined}))}function isReferencedFile(e,t){return!!e.solutionBuilderHost&&!!e.solutionBuilderHost.watchedFiles.get(t)}t.isReferencedFile=isReferencedFile;function getEmitFromWatchHost(e,t){const r=p.ensureProgram(e);const n=e.builderProgram;if(n&&r){if(t){const r=e.watchHost.outputFiles.get(t);if(r){return r}}const i=[];const writeFile=(t,r,n)=>{if(t.endsWith(".tsbuildinfo")){e.watchHost.tsbuildinfo={name:t,writeByteOrderMark:n,text:r}}else{i.push({name:t,writeByteOrderMark:n,text:r})}};const o=t?r.getSourceFile(t):undefined;while(true){const t=n.emitNextAffectedFile(writeFile,undefined,false,e.transformers);if(!t){break}if(t.affected.fileName){e.watchHost.outputFiles.set(a.resolve(t.affected.fileName),i.slice())}if(t.affected===o){return i}}}return undefined}t.getEmitFromWatchHost=getEmitFromWatchHost;function getEmitOutput(e,t){if(fileExtensionIs(t,e.compiler.Extension.Dts)){return[]}const r=p.ensureProgram(e);if(r!==undefined){const n=r.getSourceFile(t);if(isReferencedFile(e,t)){const n=getOutputFilesFromReference(r,e,t);if(n){return n}}const i=[];const writeFile=(e,t,r)=>i.push({name:e,writeByteOrderMark:r,text:t});if(n!==undefined||!p.isUsingProjectReferences(e)){const i=getEmitFromWatchHost(e,t);if(i){return i}r.emit(n,writeFile,undefined,false,e.transformers)}return i}else{return e.languageService.getProgram().getSourceFile(t)===undefined?[]:e.languageService.getEmitOutput(t).outputFiles}}t.getEmitOutput=getEmitOutput},3686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7082);var i;(function(e){e[e["INFO"]=1]="INFO";e[e["WARN"]=2]="WARN";e[e["ERROR"]=3]="ERROR"})(i=t.LogLevel||(t.LogLevel={}));const a=new n.Console(process.stderr);const o=new n.Console(process.stdout);const doNothingLogger=e=>{};const makeLoggerFunc=e=>e.silent?(e,t)=>{}:(e,t)=>console.log.call(e,t);const makeExternalLogger=(e,t)=>r=>t(e.logInfoToStdOut?o:a,r);const makeLogInfo=(e,t,r)=>i[e.logLevel]<=i.INFO?n=>t(e.logInfoToStdOut?o:a,r(n)):doNothingLogger;const makeLogError=(e,t,r)=>i[e.logLevel]<=i.ERROR?e=>t(a,r(e)):doNothingLogger;const makeLogWarning=(e,t,r)=>i[e.logLevel]<=i.WARN?e=>t(a,r(e)):doNothingLogger;function makeLogger(e,t){const r=makeLoggerFunc(e);return{log:makeExternalLogger(e,r),logInfo:makeLogInfo(e,r,t.green),logWarning:makeLogWarning(e,r,t.yellow),logError:makeLogError(e,r,t.red)}}t.makeLogger=makeLogger},8535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9921);function makeResolver(e){return n.create.sync(e.resolve)}t.makeResolver=makeResolver},9674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(5622);const i=r(852);const a=r(9635);const o=r(8535);const s=r(6507);function makeServicesHost(e,t,r,i,c,l){const{compiler:u,compilerOptions:d,appendTsTsxSuffixesIfRequired:p,files:f,loaderOptions:{resolveModuleName:g,resolveTypeReferenceDirective:m}}=i;const _=d.newLine===a.CarriageReturnLineFeedCode?a.CarriageReturnLineFeed:d.newLine===a.LineFeedCode?a.LineFeed:a.EOL;const y=o.makeResolver(r._compiler.options);const readFileWithFallback=(e,t)=>u.sys.readFile(e,t)||s.readFile(e,t);const fileExists=e=>u.sys.fileExists(e)||s.readFile(e)!==undefined;let h=null;let v={fileExists:fileExists,readFile:readFileWithFallback,realpath:u.sys.realpath,directoryExists:u.sys.directoryExists,getCurrentDirectory:u.sys.getCurrentDirectory,getDirectories:u.sys.getDirectories};if(c){const e=addCache(v);h=e.clearCache;v=e.moduleResolutionHost}const getCurrentDirectory=()=>r.context;const T=makeResolvers(u,d,v,m,g,y,p,e,i);const b={getProjectVersion:()=>`${i.version}`,getProjectReferences:()=>l,getScriptFileNames:()=>[...f.keys()].filter((t=>t.match(e))),getScriptVersion:e=>{e=n.normalize(e);const t=f.get(e);return t===undefined?"":t.version.toString()},getScriptSnapshot:e=>{e=n.normalize(e);let t=f.get(e);if(t===undefined){const r=s.readFile(e);if(r===undefined){return undefined}t={version:0,text:r};f.set(e,t)}return u.ScriptSnapshot.fromString(t.text)},getDirectories:u.sys.getDirectories,directoryExists:v.directoryExists,useCaseSensitiveFileNames:()=>u.sys.useCaseSensitiveFileNames,realpath:v.realpath,fileExists:v.fileExists,readFile:v.readFile,readDirectory:u.sys.readDirectory,getCurrentDirectory:getCurrentDirectory,getCompilationSettings:()=>d,getDefaultLibFileName:e=>u.getDefaultLibFilePath(e),getNewLine:()=>_,trace:t.log,log:t.log,resolveTypeReferenceDirectives:T.resolveTypeReferenceDirectives,resolveModuleNames:T.resolveModuleNames,getCustomTransformers:()=>i.transformers};return{servicesHost:b,clearCache:h}}t.makeServicesHost=makeServicesHost;function makeResolvers(e,t,r,n,i,a,o,s,c){const l=makeResolveTypeReferenceDirective(e,t,r,n);const resolveTypeReferenceDirectives=(e,t,r)=>e.map((e=>l(e,t,r).resolvedTypeReferenceDirective));const u=makeResolveModuleName(e,t,r,i);const resolveModuleNames=(e,t,r,n)=>{const i=e.map((e=>resolveModule(a,u,o,s,e,t)));populateDependencyGraphs(i,c,t);return i};return{resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,resolveModuleNames:resolveModuleNames}}function createWatchFactory(e){const t=new Map;const r=new Map;const i=new Map;return{watchedFiles:t,watchedDirectories:r,watchedDirectoriesRecursive:i,invokeFileWatcher:invokeFileWatcher,invokeDirectoryWatcher:invokeDirectoryWatcher,watchFile:watchFile,watchDirectory:watchDirectory};function invokeWatcherCallbacks(t,r,n,i){const a=t.get(r);if(a!==undefined&&a.length){const t=a.slice();if(e){e(r,t)}for(const e of t){e(n,i)}}}function invokeFileWatcher(e,r){e=n.normalize(e);invokeWatcherCallbacks(t,e,e,r)}function invokeDirectoryWatcher(e,t){e=n.normalize(e);invokeWatcherCallbacks(r,e,t);invokeRecursiveDirectoryWatcher(e,t)}function invokeRecursiveDirectoryWatcher(e,t){e=n.normalize(e);invokeWatcherCallbacks(i,e,t);const r=n.dirname(e);if(e!==r){invokeRecursiveDirectoryWatcher(r,t)}}function createWatcher(e,t,r){e=n.normalize(e);const i=t.get(e);if(i===undefined){t.set(e,[r])}else{i.push(r)}return{close:()=>{const n=t.get(e);if(n!==undefined){s.unorderedRemoveItem(n,r);if(!n.length){t.delete(e)}}}}}function watchFile(e,r,n){return createWatcher(e,t,r)}function watchDirectory(e,t,n){return createWatcher(e,n===true?i:r,t)}}function updateFileWithText(e,t,r){const i=n.normalize(t);const a=e.files.get(i)||e.otherFiles.get(i);if(a!==undefined){const t=r(i);if(t!==a.text){a.text=t;a.version++;e.version++;if(!e.modifiedFiles){e.modifiedFiles=new Map}e.modifiedFiles.set(i,a);if(e.watchHost!==undefined){e.watchHost.invokeFileWatcher(i,e.compiler.FileWatcherEventKind.Changed)}if(e.solutionBuilderHost!==undefined){e.solutionBuilderHost.invokeFileWatcher(i,e.compiler.FileWatcherEventKind.Changed)}}}}t.updateFileWithText=updateFileWithText;function makeWatchHost(e,t,r,i,c){const{compiler:l,compilerOptions:u,appendTsTsxSuffixesIfRequired:d,files:p,otherFiles:f,loaderOptions:{resolveModuleName:g,resolveTypeReferenceDirective:m}}=i;const _=u.newLine===a.CarriageReturnLineFeedCode?a.CarriageReturnLineFeed:u.newLine===a.LineFeedCode?a.LineFeed:a.EOL;const y=o.makeResolver(r._compiler.options);const readFileWithFallback=(e,t)=>l.sys.readFile(e,t)||s.readFile(e,t);const h={fileExists:fileExists,readFile:readFileWithFallback,realpath:l.sys.realpath};const getCurrentDirectory=()=>r.context;const{watchFile:v,watchDirectory:T,invokeFileWatcher:b,invokeDirectoryWatcher:S}=createWatchFactory();const x=makeResolvers(l,u,h,m,g,y,d,e,i);const D={rootFiles:getRootFileNames(),options:u,useCaseSensitiveFileNames:()=>l.sys.useCaseSensitiveFileNames,getNewLine:()=>_,getCurrentDirectory:getCurrentDirectory,getDefaultLibFileName:e=>l.getDefaultLibFilePath(e),fileExists:fileExists,readFile:readFileWithCachingText,directoryExists:e=>l.sys.directoryExists(n.normalize(e)),getDirectories:e=>l.sys.getDirectories(n.normalize(e)),readDirectory:(e,t,r,i,a)=>l.sys.readDirectory(n.normalize(e),t,r,i,a),realpath:e=>l.sys.resolvePath(n.normalize(e)),trace:e=>t.log(e),watchFile:v,watchDirectory:T,resolveTypeReferenceDirectives:x.resolveTypeReferenceDirectives,resolveModuleNames:x.resolveModuleNames,invokeFileWatcher:b,invokeDirectoryWatcher:S,updateRootFileNames:()=>{i.changedFilesList=false;if(i.watchOfFilesAndCompilerOptions!==undefined){i.watchOfFilesAndCompilerOptions.updateRootFileNames(getRootFileNames())}},createProgram:c===undefined?l.createEmitAndSemanticDiagnosticsBuilderProgram:createBuilderProgramWithReferences,outputFiles:new Map};return D;function getRootFileNames(){return[...p.keys()].filter((t=>t.match(e)))}function readFileWithCachingText(e,t){e=n.normalize(e);const r=p.get(e)||f.get(e);if(r!==undefined){return r.text}const i=readFileWithFallback(e,t);if(i===undefined){return undefined}f.set(e,{version:0,text:i});return i}function fileExists(e){const t=n.normalize(e);return p.has(t)||l.sys.fileExists(t)}function createBuilderProgramWithReferences(e,t,r,n,i){const a=l.createProgram({rootNames:e,options:t,host:r,oldProgram:n&&n.getProgram(),configFileParsingDiagnostics:i,projectReferences:c});const o=r;return l.createEmitAndSemanticDiagnosticsBuilderProgram(a,o,n,i)}}t.makeWatchHost=makeWatchHost;function makeSolutionBuilderHost(e,t,r,a){const{compiler:s,compilerOptions:c,appendTsTsxSuffixesIfRequired:l,loaderOptions:{resolveModuleName:u,resolveTypeReferenceDirective:d,transpileOnly:p}}=a;const getCurrentDirectory=()=>r.context;const f={getCurrentDirectory:s.sys.getCurrentDirectory,getCanonicalFileName:s.sys.useCaseSensitiveFileNames?e=>e:e=>e.toLowerCase(),getNewLine:()=>s.sys.newLine};const g={global:[],perFile:new Map,transpileErrors:[]};const reportDiagnostic=e=>{if(p){const t=e.file?n.resolve(e.file.fileName):undefined;const r=g.transpileErrors[g.transpileErrors.length-1];if(g.transpileErrors.length&&r[0]===t){r[1].push(e)}else{g.transpileErrors.push([t,[e]])}}else if(e.file){const t=n.resolve(e.file.fileName);const r=g.perFile.get(t);if(r){r.push(e)}else{g.perFile.set(t,[e])}}else{g.global.push(e)}t.logInfo(s.formatDiagnostic(e,f))};const reportSolutionBuilderStatus=e=>t.logInfo(s.formatDiagnostic(e,f));const reportWatchStatus=(e,r,n)=>t.logInfo(`${s.flattenDiagnosticMessageText(e.messageText,s.sys.newLine)}${r+r}`);const m=Object.assign(Object.assign(Object.assign(Object.assign({},s.createSolutionBuilderWithWatchHost(s.sys,s.createEmitAndSemanticDiagnosticsBuilderProgram,reportDiagnostic,reportSolutionBuilderStatus,reportWatchStatus)),{diagnostics:g}),createWatchFactory(beforeWatchCallbacks)),{getCurrentDirectory:getCurrentDirectory,writeFile:(e,t,r)=>{s.sys.writeFile(e,t,r);updateFileWithText(a,e,(()=>t))},setTimeout:undefined,clearTimeout:undefined});m.trace=e=>t.logInfo(e);m.getParsedCommandLine=e=>i.getParsedCommandLine(s,a.loaderOptions,e);const _=o.makeResolver(r._compiler.options);const y=makeResolvers(s,c,m,d,u,_,l,e,a);m.resolveTypeReferenceDirectives=y.resolveTypeReferenceDirectives;m.resolveModuleNames=y.resolveModuleNames;return m;function beforeWatchCallbacks(){g.global.length=0;g.perFile.clear();g.transpileErrors.length=0}}t.makeSolutionBuilderHost=makeSolutionBuilderHost;function getSolutionErrors(e,t){const r=[];if(e.solutionBuilderHost&&e.solutionBuilderHost.diagnostics.transpileErrors.length){e.solutionBuilderHost.diagnostics.transpileErrors.forEach((([n,i])=>r.push(...s.formatErrors(i,e.loaderOptions,e.colors,e.compiler,{file:n?undefined:"tsconfig.json"},t))))}return r}t.getSolutionErrors=getSolutionErrors;function makeResolveTypeReferenceDirective(e,t,r,n){if(n===undefined){return(n,i,a)=>e.resolveTypeReferenceDirective(n,i,t,r,a)}return(i,a)=>n(i,a,t,r,e.resolveTypeReferenceDirective)}function isJsImplementationOfTypings(e,t){return e.resolvedFileName.endsWith("js")&&/\.d\.ts$/.test(t.resolvedFileName)}function resolveModule(e,t,r,i,a,o){let s;try{const t=e(undefined,n.normalize(n.dirname(o)),a);const c=r(t);if(c.match(i)!==null){s={resolvedFileName:c,originalFileName:t}}}catch(e){}const c=t(a,o);if(c.resolvedModule!==undefined){const e=n.normalize(c.resolvedModule.resolvedFileName);const t={originalFileName:e,resolvedFileName:e,isExternalLibraryImport:c.resolvedModule.isExternalLibraryImport};return s===undefined||s.resolvedFileName===t.resolvedFileName||isJsImplementationOfTypings(s,t)?t:s}return s}function makeResolveModuleName(e,t,r,n){if(n===undefined){return(n,i)=>e.resolveModuleName(n,i,t,r)}return(i,a)=>n(i,a,t,r,e.resolveModuleName)}function populateDependencyGraphs(e,t,r){e=e.filter((e=>e!==null&&e!==undefined));t.dependencyGraph[n.normalize(r)]=e;e.forEach((e=>{if(t.reverseDependencyGraph[e.resolvedFileName]===undefined){t.reverseDependencyGraph[e.resolvedFileName]={}}t.reverseDependencyGraph[e.resolvedFileName][n.normalize(r)]=true}))}function addCache(e){const t=[];return{moduleResolutionHost:Object.assign(Object.assign({},e),{fileExists:createCache(e.fileExists),directoryExists:e.directoryExists&&createCache(e.directoryExists),realpath:e.realpath&&createCache(e.realpath)}),clearCache:()=>t.forEach((e=>e()))};function createCache(e){const r=new Map;t.push((()=>r.clear()));return function getCached(t){let n=r.get(t);if(n!==undefined){return n}n=e(t);r.set(t,n);return n}}}},6507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(5747);const i=r(3509);const a=r(5622);const o=r(3779);const s=r(9635);function defaultErrorFormatter(e,t){const r=e.severity==="warning"?t.bold.yellow:t.bold.red;return t.grey("[tsl] ")+r(e.severity.toUpperCase())+(e.file===""?"":r(" in ")+t.bold.cyan(`${e.file}(${e.line},${e.character})`))+s.EOL+r(` TS${e.code}: ${e.content}`)}function formatErrors(e,t,r,n,o,c){return e===undefined?[]:e.filter((e=>{if(t.ignoreDiagnostics.indexOf(e.code)!==-1){return false}if(t.reportFiles.length>0&&e.file!==undefined){const r=a.relative(c,e.file.fileName);const n=i([r],t.reportFiles);if(n.length===0){return false}}return true})).map((e=>{const i=e.file;const l=i===undefined?undefined:i.getLineAndCharacterOfPosition(e.start);const u={code:e.code,severity:n.DiagnosticCategory[e.category].toLowerCase(),content:n.flattenDiagnosticMessageText(e.messageText,s.EOL),file:i===undefined?"":a.normalize(i.fileName),line:l===undefined?0:l.line+1,character:l===undefined?0:l.character+1,context:c};const d=t.errorFormatter===undefined?defaultErrorFormatter(u,r):t.errorFormatter(u,r);const p=makeError(d,o.file===undefined?u.file:o.file,l===undefined?undefined:{line:u.line,character:u.character});return Object.assign(p,o)}))}t.formatErrors=formatErrors;function readFile(e,t="utf8"){e=a.normalize(e);try{return n.readFileSync(e,t)}catch(e){return undefined}}t.readFile=readFile;function makeError(e,t,r){return{message:e,location:r,file:t,loaderSource:"ts-loader"}}t.makeError=makeError;function appendSuffixIfMatch(e,t,r){if(e.length>0){for(const n of e){if(t.match(n)!==null){return t+r}}}return t}t.appendSuffixIfMatch=appendSuffixIfMatch;function appendSuffixesIfMatch(e,t){let r=t;for(const t in e){r=appendSuffixIfMatch(e[t],r,t)}return r}t.appendSuffixesIfMatch=appendSuffixesIfMatch;function unorderedRemoveItem(e,t){for(let r=0;r{if(!r[t]){collectAllDependants(e,t,r).forEach((e=>n[e]=true))}}))}return Object.keys(n)}t.collectAllDependants=collectAllDependants;function collectAllDependencies(e,t,r={}){const n={};n[t]=true;r[t]=true;const i=e[t];if(i!==undefined){i.forEach((t=>{if(!r[t.originalFileName]){collectAllDependencies(e,t.resolvedFileName,r).forEach((e=>n[e]=true))}}))}return Object.keys(n)}t.collectAllDependencies=collectAllDependencies;function arrify(e){if(e===null||e===undefined){return[]}return Array.isArray(e)?e:[e]}t.arrify=arrify;function ensureProgram(e){if(e.solutionBuilder){e.solutionBuilder.buildReferences(e.configFilePath)}if(e&&e.watchHost){if(e.hasUnaccountedModifiedFiles){if(e.changedFilesList){e.watchHost.updateRootFileNames()}if(e.watchOfFilesAndCompilerOptions){e.builderProgram=e.watchOfFilesAndCompilerOptions.getProgram();e.program=e.builderProgram.getProgram()}e.hasUnaccountedModifiedFiles=false}return e.program}if(e.languageService){return e.languageService.getProgram()}return e.program}t.ensureProgram=ensureProgram;function supportsProjectReferences(e){const t=ensureProgram(e);return t&&!!t.getProjectReferences}t.supportsProjectReferences=supportsProjectReferences;function isUsingProjectReferences(e){if(e.loaderOptions.projectReferences&&supportsProjectReferences(e)){const t=ensureProgram(e);return Boolean(t&&t.getProjectReferences())}return false}t.isUsingProjectReferences=isUsingProjectReferences;function getAndCacheProjectReference(e,t){if(t.solutionBuilderHost){return undefined}const r=t.files.get(e);if(r!==undefined&&r.projectReference){return r.projectReference.project}const n=getProjectReferenceForFile(e,t);if(r!==undefined){r.projectReference={project:n}}return n}t.getAndCacheProjectReference=getAndCacheProjectReference;function getResolvedProjectReferences(e){const t=e.getResolvedProjectReferences||e.getProjectReferences;if(t){return t()}return}function getProjectReferenceForFile(e,t){if(isUsingProjectReferences(t)){const r=ensureProgram(t);return r&&getResolvedProjectReferences(r).find((t=>t&&t.commandLine.fileNames.some((t=>a.normalize(t)===e))||false))}return}function validateSourceMapOncePerProject(e,t,r,n){const{projectsMissingSourceMaps:i=new Set}=e;if(!i.has(n.sourceFile.fileName)){e.projectsMissingSourceMaps=i;i.add(n.sourceFile.fileName);const o=r+".map";if(!e.compiler.sys.fileExists(o)){const[e,i]=[a.relative(t.rootContext,r),a.relative(t.rootContext,n.sourceFile.fileName)];t.emitWarning(new Error("Could not find source map file for referenced project output "+`${e}. Ensure the 'sourceMap' compiler option `+`is enabled in ${i} to ensure Webpack `+"can map project references to the appropriate source files."))}}}t.validateSourceMapOncePerProject=validateSourceMapOncePerProject;function supportsSolutionBuild(e,t){return!!e.projectReferences&&!!t.InvalidatedProjectKind}t.supportsSolutionBuild=supportsSolutionBuild;function getAndCacheOutputJSFileName(e,t,r){const n=r.files.get(e);if(n&&n.projectReference&&n.projectReference.outputFileName){return n.projectReference.outputFileName}const i=getOutputJavaScriptFileName(e,t);if(n!==undefined){n.projectReference=n.projectReference||{project:t};n.projectReference.outputFileName=i}return i}t.getAndCacheOutputJSFileName=getAndCacheOutputJSFileName;function getOutputJavaScriptFileName(e,t){const{options:r}=t.commandLine;const n=r.rootDir||a.dirname(t.sourceFile.fileName);const i=a.relative(n,e);const c=a.resolve(r.outDir||n,i);const l=s.jsonRegex.test(e)?".json":s.tsxRegex.test(e)&&r.jsx===o.JsxEmit.Preserve?".jsx":".js";return c.replace(s.extensionRegex,l)}},573:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9635);const i=r(9674);const a=r(6507);function makeWatchRun(e){const t=new Map;const r=0;return(i,a)=>{const o=i.fileTimestamps;for(const[i,a]of o){if(a>(t.get(i)||r)&&i.match(n.tsTsxJsJsxRegex)!==null){continue}t.set(i,a);updateFile(e,i)}for(const t of e.files.keys()){if(t.match(n.dtsDtsxOrDtsDtsxMapRegex)!==null&&t.match(n.nodeModules)===null){updateFile(e,t)}}if(e.solutionBuilderHost){for(const t of e.solutionBuilderHost.watchedFiles.keys()){updateFile(e,t)}}a()}}t.makeWatchRun=makeWatchRun;function updateFile(e,t){i.updateFileWithText(e,t,(e=>a.readFile(e)||""))}},2070:(e,t,r)=>{var n=r(2956);e.exports=n},9577:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(8215);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const i=n[r];t[r]={open:`[${i[0]}m`,close:`[${i[1]}m`};n[r]=t[r];e.set(i[0],i[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="";t.bgColor.close="";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},3551:(e,t,r)=>{"use strict";const n=r(8732);const i=r(9577);const a=r(1816).stdout;const o=r(5333);const s=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const c=["ansi","ansi","ansi256","ansi16m"];const l=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=a?a.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(s){i.blue.open=""}for(const e of Object.keys(i)){i[e].closeRe=new RegExp(n(i[e].close),"g");u[e]={get(){const t=i[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}u.visible={get(){return build.call(this,this._styles||[],true,"visible")}};i.color.closeRe=new RegExp(n(i.color.close),"g");for(const e of Object.keys(i.color.ansi)){if(l.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=i.color[c[t]][e].apply(null,arguments);const n={open:r,close:i.color.close,closeRe:i.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}i.bgColor.closeRe=new RegExp(n(i.bgColor.close),"g");for(const e of Object.keys(i.bgColor.ansi)){if(l.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=i.bgColor[c[t]][e].apply(null,arguments);const n={open:r,close:i.bgColor.close,closeRe:i.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const d=Object.defineProperties((()=>{}),u);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=d;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const i=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const a=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return a.get(e)||e}function parseArguments(e,t){const r=[];const a=t.trim().split(/\s*,\s*/g);let o;for(const t of a){if(!isNaN(t)){r.push(Number(t))}else if(o=t.match(n)){r.push(o[2].replace(i,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const i=[];let a=[];r.replace(t,((t,r,o,s,c,l)=>{if(r){a.push(unescape(r))}else if(s){const t=a.join("");a=[];i.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:o,styles:parseStyle(s)})}else if(c){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}i.push(buildStyle(e,n)(a.join("")));a=[];n.pop()}else{a.push(l)}}));i.push(a.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")}},6325:(e,t,r)=>{"use strict";const n=r(8194);const i=r(7575);e.exports=class AliasFieldPlugin{constructor(e,t,r){this.source=e;this.field=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasFieldPlugin",((r,a,o)=>{if(!r.descriptionFileData)return o();const s=i(e,r);if(!s)return o();const c=n.getField(r.descriptionFileData,this.field);if(typeof c!=="object"){if(a.log)a.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return o()}const l=c[s];const u=c[s.replace(/^\.\//,"")];const d=typeof l!=="undefined"?l:u;if(d===s)return o();if(d===undefined)return o();if(d===false){const e=Object.assign({},r,{path:false});return o(null,e)}const p=Object.assign({},r,{path:r.descriptionFileRoot,request:d});e.doResolve(t,p,"aliased from description file "+r.descriptionFilePath+" with mapping '"+s+"' to '"+d+"'",a,((e,t)=>{if(e)return o(e);if(t===undefined)return o(null,null);o(null,t)}))}))}}},1648:e=>{"use strict";function startsWith(e,t){const r=e.length;const n=t.length;if(n>r){return false}let i=-1;while(++i{const a=r.request||r.path;if(!a)return i();for(const o of this.options){if(a===o.name||!o.onlyModule&&startsWith(a,o.name+"/")){if(a!==o.alias&&!startsWith(a,o.alias+"/")){const s=o.alias+a.substr(o.name.length);const c=Object.assign({},r,{request:s});return e.doResolve(t,c,"aliased with mapping '"+o.name+"': '"+o.alias+"' to '"+s+"'",n,((e,t)=>{if(e)return i(e);if(t===undefined)return i(null,null);i(null,t)}))}}}return i()}))}}},3554:e=>{"use strict";e.exports=class AppendPlugin{constructor(e,t,r){this.source=e;this.appending=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AppendPlugin",((r,n,i)=>{const a=Object.assign({},r,{path:r.path+this.appending,relativePath:r.relativePath&&r.relativePath+this.appending});e.doResolve(t,a,this.appending,n,i)}))}}},7507:e=>{"use strict";class Storage{constructor(e){this.duration=e;this.running=new Map;this.data=new Map;this.levels=[];if(e>0){this.levels.push(new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set);for(let t=8e3;t0&&!this.nextTick)this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length))}finished(e,t,r){const n=this.running.get(e);this.running.delete(e);if(this.duration>0){this.data.set(e,[t,r]);const n=this.levels[0];this.count-=n.size;n.add(e);this.count+=n.size;this.ensureTick()}for(let e=0;e0){this.data.set(e,[t,r]);const n=this.levels[0];this.count-=n.size;n.add(e);this.count+=n.size;this.ensureTick()}}provide(e,t,r){if(typeof e!=="string"){r(new TypeError("path must be a string"));return}let n=this.running.get(e);if(n){n.push(r);return}if(this.duration>0){this.checkTicks();const t=this.data.get(e);if(t){return process.nextTick((()=>{r.apply(null,t)}))}}this.running.set(e,n=[r]);t(e,((t,r)=>{this.finished(e,t,r)}))}provideSync(e,t){if(typeof e!=="string"){throw new TypeError("path must be a string")}if(this.duration>0){this.checkTicks();const t=this.data.get(e);if(t){if(t[0])throw t[0];return t[1]}}let r;try{r=t(e)}catch(t){this.finishedSync(e,t);throw t}this.finishedSync(e,null,r);return r}tick(){const e=this.levels.pop();for(let t of e){this.data.delete(t)}this.count-=e.size;e.clear();this.levels.unshift(e);if(this.count===0){clearInterval(this.interval);this.interval=null;this.nextTick=null;return true}else if(this.nextTick){this.nextTick+=Math.floor(this.duration/this.levels.length);const e=(new Date).getTime();if(this.nextTick>e){this.nextTick=null;this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length));return true}}else if(this.passive){clearInterval(this.interval);this.interval=null;this.nextTick=(new Date).getTime()+Math.floor(this.duration/this.levels.length)}else{this.passive=true}}checkTicks(){this.passive=false;if(this.nextTick){while(!this.tick());}}purge(e){if(!e){this.count=0;clearInterval(this.interval);this.nextTick=null;this.data.clear();this.levels.forEach((e=>{e.clear()}))}else if(typeof e==="string"){for(let t of this.data.keys()){if(t.startsWith(e))this.data.delete(t)}}else{for(let t=e.length-1;t>=0;t--){this.purge(e[t])}}}}e.exports=class CachedInputFileSystem{constructor(e,t){this.fileSystem=e;this._statStorage=new Storage(t);this._readdirStorage=new Storage(t);this._readFileStorage=new Storage(t);this._readJsonStorage=new Storage(t);this._readlinkStorage=new Storage(t);this._stat=this.fileSystem.stat?this.fileSystem.stat.bind(this.fileSystem):null;if(!this._stat)this.stat=null;this._statSync=this.fileSystem.statSync?this.fileSystem.statSync.bind(this.fileSystem):null;if(!this._statSync)this.statSync=null;this._readdir=this.fileSystem.readdir?this.fileSystem.readdir.bind(this.fileSystem):null;if(!this._readdir)this.readdir=null;this._readdirSync=this.fileSystem.readdirSync?this.fileSystem.readdirSync.bind(this.fileSystem):null;if(!this._readdirSync)this.readdirSync=null;this._readFile=this.fileSystem.readFile?this.fileSystem.readFile.bind(this.fileSystem):null;if(!this._readFile)this.readFile=null;this._readFileSync=this.fileSystem.readFileSync?this.fileSystem.readFileSync.bind(this.fileSystem):null;if(!this._readFileSync)this.readFileSync=null;if(this.fileSystem.readJson){this._readJson=this.fileSystem.readJson.bind(this.fileSystem)}else if(this.readFile){this._readJson=(e,t)=>{this.readFile(e,((e,r)=>{if(e)return t(e);let n;try{n=JSON.parse(r.toString("utf-8"))}catch(e){return t(e)}t(null,n)}))}}else{this.readJson=null}if(this.fileSystem.readJsonSync){this._readJsonSync=this.fileSystem.readJsonSync.bind(this.fileSystem)}else if(this.readFileSync){this._readJsonSync=e=>{const t=this.readFileSync(e);const r=JSON.parse(t.toString("utf-8"));return r}}else{this.readJsonSync=null}this._readlink=this.fileSystem.readlink?this.fileSystem.readlink.bind(this.fileSystem):null;if(!this._readlink)this.readlink=null;this._readlinkSync=this.fileSystem.readlinkSync?this.fileSystem.readlinkSync.bind(this.fileSystem):null;if(!this._readlinkSync)this.readlinkSync=null}stat(e,t){this._statStorage.provide(e,this._stat,t)}readdir(e,t){this._readdirStorage.provide(e,this._readdir,t)}readFile(e,t){this._readFileStorage.provide(e,this._readFile,t)}readJson(e,t){this._readJsonStorage.provide(e,this._readJson,t)}readlink(e,t){this._readlinkStorage.provide(e,this._readlink,t)}statSync(e){return this._statStorage.provideSync(e,this._statSync)}readdirSync(e){return this._readdirStorage.provideSync(e,this._readdirSync)}readFileSync(e){return this._readFileStorage.provideSync(e,this._readFileSync)}readJsonSync(e){return this._readJsonStorage.provideSync(e,this._readJsonSync)}readlinkSync(e){return this._readlinkStorage.provideSync(e,this._readlinkSync)}purge(e){this._statStorage.purge(e);this._readdirStorage.purge(e);this._readFileStorage.purge(e);this._readlinkStorage.purge(e);this._readJsonStorage.purge(e)}}},4428:(e,t,r)=>{"use strict";const n=r(4164);const i=r(8194);const a=r(3457);e.exports=class ConcordExtensionsPlugin{constructor(e,t,r){this.source=e;this.options=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ConcordExtensionsPlugin",((r,o,s)=>{const c=i.getField(r.descriptionFileData,"concord");if(!c)return s();const l=n.getExtensions(r.context,c);if(!l)return s();a(l,((n,i)=>{const a=Object.assign({},r,{path:r.path+n,relativePath:r.relativePath&&r.relativePath+n});e.doResolve(t,a,"concord extension: "+n,o,i)}),((e,t)=>{if(e)return s(e);if(t===undefined)return s(null,null);s(null,t)}))}))}}},3483:(e,t,r)=>{"use strict";const n=r(5622);const i=r(4164);const a=r(8194);e.exports=class ConcordMainPlugin{constructor(e,t,r){this.source=e;this.options=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ConcordMainPlugin",((r,o,s)=>{if(r.path!==r.descriptionFileRoot)return s();const c=a.getField(r.descriptionFileData,"concord");if(!c)return s();const l=i.getMain(r.context,c);if(!l)return s();const u=Object.assign({},r,{request:l});const d=n.basename(r.descriptionFilePath);return e.doResolve(t,u,"use "+l+" from "+d,o,s)}))}}},2379:(e,t,r)=>{"use strict";const n=r(4164);const i=r(8194);const a=r(7575);e.exports=class ConcordModulesPlugin{constructor(e,t,r){this.source=e;this.options=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ConcordModulesPlugin",((r,o,s)=>{const c=a(e,r);if(!c)return s();const l=i.getField(r.descriptionFileData,"concord");if(!l)return s();const u=n.matchModule(r.context,l,c);if(u===c)return s();if(u===undefined)return s();if(u===false){const e=Object.assign({},r,{path:false});return s(null,e)}const d=Object.assign({},r,{path:r.descriptionFileRoot,request:u});e.doResolve(t,d,"aliased from description file "+r.descriptionFilePath+" with mapping '"+c+"' to '"+u+"'",o,((e,t)=>{if(e)return s(e);if(t===undefined)return s(null,null);s(null,t)}))}))}}},1878:(e,t,r)=>{"use strict";const n=r(8194);e.exports=class DescriptionFilePlugin{constructor(e,t,r){this.source=e;this.filenames=[].concat(t);this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DescriptionFilePlugin",((r,i,a)=>{const o=r.path;n.loadDescriptionFile(e,o,this.filenames,i,((n,s)=>{if(n)return a(n);if(!s){if(i.missing){this.filenames.forEach((t=>{i.missing.add(e.join(o,t))}))}if(i.log)i.log("No description file found");return a()}const c="."+r.path.substr(s.directory.length).replace(/\\/g,"/");const l=Object.assign({},r,{descriptionFilePath:s.path,descriptionFileData:s.content,descriptionFileRoot:s.directory,relativePath:c});e.doResolve(t,l,"using description file: "+s.path+" (relative path: "+c+")",i,((e,t)=>{if(e)return a(e);if(t===undefined)return a(null,null);a(null,t)}))}))}))}}},8194:(e,t,r)=>{"use strict";const n=r(3457);function loadDescriptionFile(e,t,r,i,a){(function findDescriptionFile(){n(r,((r,n)=>{const a=e.join(t,r);if(e.fileSystem.readJson){e.fileSystem.readJson(a,((e,t)=>{if(e){if(typeof e.code!=="undefined")return n();return onJson(e)}onJson(null,t)}))}else{e.fileSystem.readFile(a,((e,t)=>{if(e)return n();let r;try{r=JSON.parse(t)}catch(e){onJson(e)}onJson(null,r)}))}function onJson(e,r){if(e){if(i.log)i.log(a+" (directory description file): "+e);else e.message=a+" (directory description file): "+e;return n(e)}n(null,{content:r,directory:t,path:a})}}),((e,r)=>{if(e)return a(e);if(r){return a(null,r)}else{t=cdUp(t);if(!t){return a()}else{return findDescriptionFile()}}}))})()}function getField(e,t){if(!e)return undefined;if(Array.isArray(t)){let r=e;for(let e=0;e{"use strict";e.exports=class DirectoryExistsPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DirectoryExistsPlugin",((r,n,i)=>{const a=e.fileSystem;const o=r.path;a.stat(o,((a,s)=>{if(a||!s){if(n.missing)n.missing.add(o);if(n.log)n.log(o+" doesn't exist");return i()}if(!s.isDirectory()){if(n.missing)n.missing.add(o);if(n.log)n.log(o+" is not a directory");return i()}e.doResolve(t,r,"existing directory",n,i)}))}))}}},7841:e=>{"use strict";e.exports=class FileExistsPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);const r=e.fileSystem;e.getHook(this.source).tapAsync("FileExistsPlugin",((n,i,a)=>{const o=n.path;r.stat(o,((r,s)=>{if(r||!s){if(i.missing)i.missing.add(o);if(i.log)i.log(o+" doesn't exist");return a()}if(!s.isFile()){if(i.missing)i.missing.add(o);if(i.log)i.log(o+" is not a file");return a()}e.doResolve(t,n,"existing file: "+o,i,a)}))}))}}},530:e=>{"use strict";e.exports=class FileKindPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("FileKindPlugin",((r,n,i)=>{if(r.directory)return i();const a=Object.assign({},r);delete a.directory;e.doResolve(t,a,null,n,i)}))}}},2703:e=>{"use strict";e.exports=class JoinRequestPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPlugin",((r,n,i)=>{const a=Object.assign({},r,{path:e.join(r.path,r.request),relativePath:r.relativePath&&e.join(r.relativePath,r.request),request:undefined});e.doResolve(t,a,null,n,i)}))}}},2265:(e,t,r)=>{"use strict";const n=r(5622);e.exports=class MainFieldPlugin{constructor(e,t,r){this.source=e;this.options=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("MainFieldPlugin",((r,i,a)=>{if(r.path!==r.descriptionFileRoot)return a();if(r.alreadyTriedMainField===r.descriptionFilePath)return a();const o=r.descriptionFileData;const s=n.basename(r.descriptionFilePath);let c;const l=this.options.name;if(Array.isArray(l)){let e=o;for(let t=0;t{"use strict";e.exports=class ModuleAppendPlugin{constructor(e,t,r){this.source=e;this.appending=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModuleAppendPlugin",((r,n,i)=>{const a=r.request.indexOf("/"),o=r.request.indexOf("\\");const s=a<0?o:o<0?a:a{"use strict";e.exports=class ModuleKindPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModuleKindPlugin",((r,n,i)=>{if(!r.module)return i();const a=Object.assign({},r);delete a.module;e.doResolve(t,a,"resolve as module",n,((e,t)=>{if(e)return i(e);if(t===undefined)return i(null,null);i(null,t)}))}))}}},3401:(e,t,r)=>{"use strict";const n=r(3457);const i=r(4585);e.exports=class ModulesInHierachicDirectoriesPlugin{constructor(e,t,r){this.source=e;this.directories=[].concat(t);this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((r,a,o)=>{const s=e.fileSystem;const c=i(r.path).paths.map((t=>this.directories.map((r=>e.join(t,r))))).reduce(((e,t)=>{e.push.apply(e,t);return e}),[]);n(c,((n,i)=>{s.stat(n,((o,s)=>{if(!o&&s&&s.isDirectory()){const o=Object.assign({},r,{path:n,request:"./"+r.request});const s="looking for modules in "+n;return e.doResolve(t,o,s,a,i)}if(a.log)a.log(n+" doesn't exist or is not a directory");if(a.missing)a.missing.add(n);return i()}))}),o)}))}}},3620:e=>{"use strict";e.exports=class ModulesInRootPlugin{constructor(e,t,r){this.source=e;this.path=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInRootPlugin",((r,n,i)=>{const a=Object.assign({},r,{path:this.path,request:"./"+r.request});e.doResolve(t,a,"looking for modules in "+this.path,n,i)}))}}},8467:e=>{"use strict";e.exports=class NextPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("NextPlugin",((r,n,i)=>{e.doResolve(t,r,null,n,i)}))}}},2831:(e,t,r)=>{"use strict";const n=r(5808);class NodeJsInputFileSystem{readdir(e,t){n.readdir(e,((e,r)=>{t(e,r&&r.map((e=>e.normalize?e.normalize("NFC"):e)))}))}readdirSync(e){const t=n.readdirSync(e);return t&&t.map((e=>e.normalize?e.normalize("NFC"):e))}}const i=["stat","statSync","readFile","readFileSync","readlink","readlinkSync"];for(const e of i){Object.defineProperty(NodeJsInputFileSystem.prototype,e,{configurable:true,writable:true,value:n[e].bind(n)})}e.exports=NodeJsInputFileSystem},4829:e=>{"use strict";e.exports=class ParsePlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ParsePlugin",((r,n,i)=>{const a=e.parse(r.request);const o=Object.assign({},r,a);if(r.query&&!a.query){o.query=r.query}if(a&&n.log){if(a.module)n.log("Parsed request is a module");if(a.directory)n.log("Parsed request is a directory")}e.doResolve(t,o,null,n,i)}))}}},5625:(e,t,r)=>{"use strict";const n=r(1669);const i=r(6118);const a=r(352);const o=r(3706);const s=r(7046);const c=r(9591);const l=/^\.$|^\.[\\/]|^\.\.$|^\.\.[\\/]|^\/|^[A-Z]:[\\/]/i;const u=/[\\/]$/i;const d=r(9987);const p=new Map;const f=r(8333);function withName(e,t){t.name=e;return t}function toCamelCase(e){return e.replace(/-([a-z])/g,(e=>e.substr(1).toUpperCase()))}const g=n.deprecate(((e,t)=>{e.add(t)}),"Resolver: 'missing' is now a Set. Use add instead of push.");const m=n.deprecate((e=>e),"Resolver: The callback argument was splitted into resolveContext and callback.");const _=n.deprecate((e=>e),"Resolver#doResolve: The type arguments (string) is now a hook argument (Hook). Pass a reference to the hook instead.");class Resolver extends i{constructor(e){super();this.fileSystem=e;this.hooks={resolveStep:withName("resolveStep",new a(["hook","request"])),noResolve:withName("noResolve",new a(["request","error"])),resolve:withName("resolve",new o(["request","resolveContext"])),result:new s(["result","resolveContext"])};this._pluginCompat.tap("Resolver: before/after",(e=>{if(/^before-/.test(e.name)){e.name=e.name.substr(7);e.stage=-10}else if(/^after-/.test(e.name)){e.name=e.name.substr(6);e.stage=10}}));this._pluginCompat.tap("Resolver: step hooks",(e=>{const t=e.name;const r=!/^resolve(-s|S)tep$|^no(-r|R)esolve$/.test(t);if(r){e.async=true;this.ensureHook(t);const r=e.fn;e.fn=(e,t,n)=>{const innerCallback=(e,t)=>{if(e)return n(e);if(t!==undefined)return n(null,t);n()};for(const e in t){innerCallback[e]=t[e]}r.call(this,e,innerCallback)}}}))}ensureHook(e){if(typeof e!=="string")return e;e=toCamelCase(e);if(/^before/.test(e)){return this.ensureHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10})}if(/^after/.test(e)){return this.ensureHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10})}const t=this.hooks[e];if(!t){return this.hooks[e]=withName(e,new o(["request","resolveContext"]))}return t}getHook(e){if(typeof e!=="string")return e;e=toCamelCase(e);if(/^before/.test(e)){return this.getHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10})}if(/^after/.test(e)){return this.getHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10})}const t=this.hooks[e];if(!t){throw new Error(`Hook ${e} doesn't exist`)}return t}resolveSync(e,t,r){let n,i,a=false;this.resolve(e,t,r,{},((e,t)=>{n=e;i=t;a=true}));if(!a)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(n)throw n;return i}resolve(e,t,r,n,i){if(typeof i!=="function"){i=m(n)}const a={context:e,path:t,request:r};const o="resolve '"+r+"' in '"+t+"'";return this.doResolve(this.hooks.resolve,a,o,{missing:n.missing,stack:n.stack},((e,t)=>{if(!e&&t){return i(null,t.path===false?false:t.path+(t.query||""),t)}const r=new Set;r.push=e=>g(r,e);const s=[];return this.doResolve(this.hooks.resolve,a,o,{log:e=>{if(n.log){n.log(e)}s.push(e)},missing:r,stack:n.stack},((e,t)=>{if(e)return i(e);const n=new Error("Can't "+o);n.details=s.join("\n");n.missing=Array.from(r);this.hooks.noResolve.call(a,n);return i(n)}))}))}doResolve(e,t,r,n,i){if(typeof i!=="function"){i=m(n)}if(typeof e==="string"){const t=toCamelCase(e);e=_(this.hooks[t]);if(!e){throw new Error(`Hook "${t}" doesn't exist`)}}if(typeof i!=="function")throw new Error("callback is not a function "+Array.from(arguments));if(!n)throw new Error("resolveContext is not an object "+Array.from(arguments));const a=e.name+": ("+t.path+") "+(t.request||"")+(t.query||"")+(t.directory?" directory":"")+(t.module?" module":"");let o;if(n.stack){o=new Set(n.stack);if(n.stack.has(a)){const e=new Error("Recursion in resolving\nStack:\n "+Array.from(o).join("\n "));e.recursion=true;if(n.log)n.log("abort resolving because of recursion");return i(e)}o.add(a)}else{o=new Set([a])}this.hooks.resolveStep.call(e,t);if(e.isUsed()){const a=c({log:n.log,missing:n.missing,stack:o},r);return e.callAsync(t,a,((e,t)=>{if(e)return i(e);if(t)return i(null,t);i()}))}else{i()}}parse(e){if(e==="")return null;const t={request:"",query:"",module:false,directory:false,file:false};const r=e.indexOf("?");if(r===0){t.query=e}else if(r>0){t.request=e.slice(0,r);t.query=e.slice(r)}else{t.request=e}if(t.request){t.module=this.isModule(t.request);t.directory=this.isDirectory(t.request);if(t.directory){t.request=t.request.substr(0,t.request.length-1)}}return t}isModule(e){return!l.test(e)}isDirectory(e){return u.test(e)}join(e,t){let r;let n=p.get(e);if(typeof n==="undefined"){p.set(e,n=new Map)}else{r=n.get(t);if(typeof r!=="undefined")return r}r=d(e,t);n.set(t,r);return r}normalize(e){return f(e)}}e.exports=Resolver},7e3:(e,t,r)=>{"use strict";const n=r(5625);const i=r(2627);const a=r(4829);const o=r(1878);const s=r(8467);const c=r(7473);const l=r(869);const u=r(530);const d=r(2703);const p=r(3401);const f=r(3620);const g=r(1648);const m=r(6325);const _=r(4428);const y=r(3483);const h=r(2379);const v=r(7197);const T=r(7841);const b=r(5098);const S=r(2265);const x=r(6069);const D=r(3554);const C=r(8573);const E=r(6997);const N=r(6605);const k=r(6513);const A=r(5329);t.createResolver=function(e){let t=e.modules||["node_modules"];const r=e.descriptionFiles||["package.json"];const F=e.plugins&&e.plugins.slice()||[];let P=e.mainFields||["main"];const O=e.aliasFields||[];const I=e.mainFiles||["index"];let w=e.extensions||[".js",".json",".node"];const M=e.enforceExtension||false;let L=e.moduleExtensions||[];const R=e.enforceModuleExtension||false;let B=e.alias||[];const j=typeof e.symlinks!=="undefined"?e.symlinks:true;const J=e.resolveToContext||false;const W=e.roots||[];const U=e.ignoreRootsErrors||false;const V=e.preferAbsolute||false;const z=e.restrictions||[];let H=e.unsafeCache||false;const K=typeof e.cacheWithContext!=="undefined"?e.cacheWithContext:true;const q=e.concord||false;const G=e.cachePredicate||function(){return true};const $=e.fileSystem;const Q=e.useSyncFileSystemCalls;let X=e.resolver;if(!X){X=new n(Q?new i($):$)}w=[].concat(w);L=[].concat(L);t=mergeFilteredToArray([].concat(t),(e=>!isAbsolutePath(e)));P=P.map((e=>{if(typeof e==="string"||Array.isArray(e)){e={name:e,forceRelative:true}}return e}));if(typeof B==="object"&&!Array.isArray(B)){B=Object.keys(B).map((e=>{let t=false;let r=B[e];if(/\$$/.test(e)){t=true;e=e.substr(0,e.length-1)}if(typeof r==="string"){r={alias:r}}r=Object.assign({name:e,onlyModule:t},r);return r}))}if(H&&typeof H!=="object"){H={}}X.ensureHook("resolve");X.ensureHook("parsedResolve");X.ensureHook("describedResolve");X.ensureHook("rawModule");X.ensureHook("module");X.ensureHook("relative");X.ensureHook("describedRelative");X.ensureHook("directory");X.ensureHook("existingDirectory");X.ensureHook("undescribedRawFile");X.ensureHook("rawFile");X.ensureHook("file");X.ensureHook("existingFile");X.ensureHook("resolved");if(H){F.push(new A("resolve",G,H,K,"new-resolve"));F.push(new a("new-resolve","parsed-resolve"))}else{F.push(new a("resolve","parsed-resolve"))}F.push(new o("parsed-resolve",r,"described-resolve"));F.push(new s("after-parsed-resolve","described-resolve"));if(B.length>0)F.push(new g("described-resolve",B,"resolve"));if(q){F.push(new h("described-resolve",{},"resolve"))}O.forEach((e=>{F.push(new m("described-resolve",e,"resolve"))}));F.push(new l("after-described-resolve","raw-module"));if(V){F.push(new d("after-described-resolve","relative"))}W.forEach((e=>{F.push(new C("after-described-resolve",e,"relative",U))}));if(!V){F.push(new d("after-described-resolve","relative"))}L.forEach((e=>{F.push(new k("raw-module",e,"module"))}));if(!R)F.push(new c("raw-module",null,"module"));t.forEach((e=>{if(Array.isArray(e))F.push(new p("module",e,"resolve"));else F.push(new f("module",e,"resolve"))}));F.push(new o("relative",r,"described-relative"));F.push(new s("after-relative","described-relative"));F.push(new u("described-relative","raw-file"));F.push(new c("described-relative","as directory","directory"));F.push(new v("directory","existing-directory"));if(J){F.push(new s("existing-directory","resolved"))}else{if(q){F.push(new y("existing-directory",{},"resolve"))}P.forEach((e=>{F.push(new S("existing-directory",e,"resolve"))}));I.forEach((e=>{F.push(new x("existing-directory",e,"undescribed-raw-file"))}));F.push(new o("undescribed-raw-file",r,"raw-file"));F.push(new s("after-undescribed-raw-file","raw-file"));if(!M){F.push(new c("raw-file","no extension","file"))}if(q){F.push(new _("raw-file",{},"file"))}w.forEach((e=>{F.push(new D("raw-file",e,"file"))}));if(B.length>0)F.push(new g("file",B,"resolve"));if(q){F.push(new h("file",{},"resolve"))}O.forEach((e=>{F.push(new m("file",e,"resolve"))}));if(j)F.push(new b("file","relative"));F.push(new T("file","existing-file"));F.push(new s("existing-file","resolved"))}if(z.length>0){F.push(new E(X.hooks.resolved,z))}F.push(new N(X.hooks.resolved));F.forEach((e=>{e.apply(X)}));return X};function mergeFilteredToArray(e,t){return e.reduce(((e,r)=>{if(t(r)){const t=e[e.length-1];if(Array.isArray(t)){t.push(r)}else{e.push([r])}return e}else{e.push(r);return e}}),[])}function isAbsolutePath(e){return/^[A-Z]:|^\//.test(e)}},6997:e=>{"use strict";const t="/".charCodeAt(0);const r="\\".charCodeAt(0);const isInside=(e,n)=>{if(!e.startsWith(n))return false;if(e.length===n.length)return true;const i=e.charCodeAt(n.length);return i===t||i===r};e.exports=class RestrictionsPlugin{constructor(e,t){this.source=e;this.restrictions=t}apply(e){e.getHook(this.source).tapAsync("RestrictionsPlugin",((e,t,r)=>{if(typeof e.path==="string"){const n=e.path;for(let e=0;e{"use strict";e.exports=class ResultPlugin{constructor(e){this.source=e}apply(e){this.source.tapAsync("ResultPlugin",((t,r,n)=>{const i=Object.assign({},t);if(r.log)r.log("reporting result "+i.path);e.hooks.result.callAsync(i,r,(e=>{if(e)return n(e);n(null,i)}))}))}}},8573:e=>{"use strict";class RootPlugin{constructor(e,t,r,n){this.root=t;this.source=e;this.target=r;this._ignoreErrors=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("RootPlugin",((r,n,i)=>{const a=r.request;if(!a)return i();if(!a.startsWith("/"))return i();const o=e.join(this.root,a.slice(1));const s=Object.assign(r,{path:o,relativePath:r.relativePath&&o});e.doResolve(t,s,`root path ${this.root}`,n,this._ignoreErrors?(e,t)=>{if(e){if(n.log){n.log(`Ignored fatal error while resolving root path:\n${e}`)}return i()}if(t)return i(null,t);i()}:i)}))}}e.exports=RootPlugin},5098:(e,t,r)=>{"use strict";const n=r(4585);const i=r(3457);e.exports=class SymlinkPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);const r=e.fileSystem;e.getHook(this.source).tapAsync("SymlinkPlugin",((a,o,s)=>{const c=n(a.path);const l=c.seqments;const u=c.paths;let d=false;i.withIndex(u,((e,t,n)=>{r.readlink(e,((e,r)=>{if(!e&&r){l[t]=r;d=true;if(/^(\/|[a-zA-Z]:($|\\))/.test(r))return n(null,t)}n()}))}),((r,n)=>{if(!d)return s();const i=typeof n==="number"?l.slice(0,n+1):l.slice();const c=i.reverse().reduce(((t,r)=>e.join(t,r)));const u=Object.assign({},a,{path:c});e.doResolve(t,u,"resolved symlink to "+c,o,s)}))}))}}},2627:e=>{"use strict";function SyncAsyncFileSystemDecorator(e){this.fs=e;if(e.statSync){this.stat=function(t,r){let n;try{n=e.statSync(t)}catch(e){return r(e)}r(null,n)}}if(e.readdirSync){this.readdir=function(t,r){let n;try{n=e.readdirSync(t)}catch(e){return r(e)}r(null,n)}}if(e.readFileSync){this.readFile=function(t,r){let n;try{n=e.readFileSync(t)}catch(e){return r(e)}r(null,n)}}if(e.readlinkSync){this.readlink=function(t,r){let n;try{n=e.readlinkSync(t)}catch(e){return r(e)}r(null,n)}}if(e.readJsonSync){this.readJson=function(t,r){let n;try{n=e.readJsonSync(t)}catch(e){return r(e)}r(null,n)}}}e.exports=SyncAsyncFileSystemDecorator},7473:e=>{"use strict";e.exports=class TryNextPlugin{constructor(e,t,r){this.source=e;this.message=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("TryNextPlugin",((r,n,i)=>{e.doResolve(t,r,this.message,n,i)}))}}},5329:e=>{"use strict";function getCacheId(e,t){return JSON.stringify({context:t?e.context:"",path:e.path,query:e.query,request:e.request})}e.exports=class UnsafeCachePlugin{constructor(e,t,r,n,i){this.source=e;this.filterPredicate=t;this.withContext=n;this.cache=r||{};this.target=i}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UnsafeCachePlugin",((r,n,i)=>{if(!this.filterPredicate(r))return i();const a=getCacheId(r,this.withContext);const o=this.cache[a];if(o){return i(null,o)}e.doResolve(t,r,null,n,((e,t)=>{if(e)return i(e);if(t)return i(null,this.cache[a]=t);i()}))}))}}},6069:e=>{"use strict";e.exports=class UseFilePlugin{constructor(e,t,r){this.source=e;this.filename=t;this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UseFilePlugin",((r,n,i)=>{const a=e.join(r.path,this.filename);const o=Object.assign({},r,{path:a,relativePath:r.relativePath&&e.join(r.relativePath,this.filename)});e.doResolve(t,o,"using path: "+a,n,i)}))}}},4164:(e,t,r)=>{"use strict";const n=r(129).P;function parseType(e){const t=e.split("+");const r=t.shift();return{type:r==="*"?null:r,features:t}}function isTypeMatched(e,t){if(typeof e==="string")e=parseType(e);if(typeof t==="string")t=parseType(t);if(t.type&&t.type!==e.type)return false;return t.features.every((t=>e.features.indexOf(t)>=0))}function isResourceTypeMatched(e,t){e=e.split("/");t=t.split("/");if(e.length!==t.length)return false;for(let r=0;risResourceTypeMatched(e,t)))}function isEnvironment(e,t){return e.environments&&e.environments.every((e=>isTypeMatched(e,t)))}const i={};function getGlobRegExp(e){const t=i[e]||(i[e]=n(e));return t}function matchGlob(e,t){const r=getGlobRegExp(e);return r.exec(t)}function isGlobMatched(e,t){return!!matchGlob(e,t)}function isConditionMatched(e,t){const r=t.split("|");return r.some((function testFn(t){t=t.trim();const r=/^!/.test(t);if(r)return!testFn(t.substr(1));if(/^[a-z]+:/.test(t)){const r=/^([a-z]+):\s*/.exec(t);const n=t.substr(r[0].length);const i=r[1];switch(i){case"referrer":return isGlobMatched(n,e.referrer);default:return false}}else if(t.indexOf("/")>=0){return isResourceTypeSupported(e,t)}else{return isEnvironment(e,t)}}))}function isKeyMatched(e,t){for(;;){const r=/^\[([^\]]+)\]\s*/.exec(t);if(!r)return t;t=t.substr(r[0].length);const n=r[1];if(!isConditionMatched(e,n)){return false}}}function getField(e,t,r){let n;Object.keys(t).forEach((i=>{const a=isKeyMatched(e,i);if(a===r){n=t[i]}}));return n}function getMain(e,t){return getField(e,t,"main")}function getExtensions(e,t){return getField(e,t,"extensions")}function matchModule(e,t,r){const n=getField(e,t,"modules");if(!n)return r;let i=r;const a=Object.keys(n);let o=0;let s;let c;for(let t=0;ta.length){throw new Error("Request '"+r+"' matches recursively")}}}return i;function replaceMatcher(e){switch(e){case"/**":{const e=s[c++];return e?"/"+e:""}case"**":case"*":return s[c++]}}}function matchType(e,t,r){const n=getField(e,t,"types");if(!n)return undefined;let i;Object.keys(n).forEach((t=>{const a=isKeyMatched(e,t);if(isGlobMatched(a,r)){const e=n[t];if(!i&&/\/\*$/.test(e))throw new Error("value ('"+e+"') of key '"+t+"' contains '*', but there is no previous value defined");i=e.replace(/\/\*$/,"/"+i)}}));return i}t.parseType=parseType;t.isTypeMatched=isTypeMatched;t.isResourceTypeSupported=isResourceTypeSupported;t.isEnvironment=isEnvironment;t.isGlobMatched=isGlobMatched;t.isConditionMatched=isConditionMatched;t.isKeyMatched=isKeyMatched;t.getField=getField;t.getMain=getMain;t.getExtensions=getExtensions;t.matchModule=matchModule;t.matchType=matchType},9591:e=>{"use strict";e.exports=function createInnerContext(e,t,r){let n=false;const i={log:(()=>{if(!e.log)return undefined;if(!t)return e.log;const logFunction=r=>{if(!n){e.log(t);n=true}e.log(" "+r)};return logFunction})(),stack:e.stack,missing:e.missing};return i}},3457:e=>{"use strict";e.exports=function forEachBail(e,t,r){if(e.length===0)return r();let n=e.length;let i;let a=[];for(let r=0;r{if(e>=n)return;a.push(e);if(t.length>0){n=e+1;a=a.filter((t=>t<=e));i=t}if(a.length===n){r.apply(null,i);n=0}}}};e.exports.withIndex=function forEachBailWithIndex(e,t,r){if(e.length===0)return r();let n=e.length;let i;let a=[];for(let r=0;r{if(e>=n)return;a.push(e);if(t.length>0){n=e+1;a=a.filter((t=>t<=e));i=t}if(a.length===n){r.apply(null,i);n=0}}}}},7575:e=>{"use strict";e.exports=function getInnerRequest(e,t){if(typeof t.__innerRequest==="string"&&t.__innerRequest_request===t.request&&t.__innerRequest_relativePath===t.relativePath)return t.__innerRequest;let r;if(t.request){r=t.request;if(/^\.\.?\//.test(r)&&t.relativePath){r=e.join(t.relativePath,r)}}else{r=t.relativePath}t.__innerRequest_request=t.request;t.__innerRequest_relativePath=t.relativePath;return t.__innerRequest=r}},4585:e=>{"use strict";e.exports=function getPaths(e){const t=e.split(/(.*?[\\/]+)/);const r=[e];const n=[t[t.length-1]];let i=t[t.length-1];e=e.substr(0,e.length-i.length-1);for(let a=t.length-2;a>2;a-=2){r.push(e);i=t[a];e=e.substr(0,e.length-i.length)||"/";n.push(i.substr(0,i.length-1))}i=t[1];n.push(i);r.push(i);return{paths:r,seqments:n}};e.exports.basename=function basename(e){const t=e.lastIndexOf("/"),r=e.lastIndexOf("\\");const n=t<0?r:r<0?t:t{"use strict";function globToRegExp(e){if(/^\(.+\)$/.test(e)){return new RegExp(e.substr(1,e.length-2))}const t=tokenize(e);const r=createRoot();const n=t.map(r).join("");return new RegExp("^"+n+"$")}const r={"@(":"one","?(":"zero-one","+(":"one-many","*(":"zero-many","|":"segment-sep","/**/":"any-path-segments","**":"any-path","*":"any-path-segment","?":"any-char","{":"or","/":"path-sep",",":"comma",")":"closing-segment","}":"closing-or"};function tokenize(e){return e.split(/([@?+*]\(|\/\*\*\/|\*\*|[?*]|\[[!^]?(?:[^\]\\]|\\.)+\]|\{|,|\/|[|)}])/g).map((e=>{if(!e)return null;const t=r[e];if(t){return{type:t}}if(e[0]==="["){if(e[1]==="^"||e[1]==="!"){return{type:"inverted-char-set",value:e.substr(2,e.length-3)}}else{return{type:"char-set",value:e.substr(1,e.length-2)}}}return{type:"string",value:e}})).filter(Boolean).concat({type:"end"})}function createRoot(){const e=[];const t=createSeqment();let r=true;return function(n){switch(n.type){case"or":e.push(r);return"(";case"comma":if(e.length){r=e[e.length-1];return"|"}else{return t({type:"string",value:","},r)}case"closing-or":if(e.length===0)throw new Error("Unmatched '}'");e.pop();return")";case"end":if(e.length)throw new Error("Unmatched '{'");return t(n,r);default:{const e=t(n,r);r=false;return e}}}}function createSeqment(){const e=[];const t=createSimple();return function(r,n){switch(r.type){case"one":case"one-many":case"zero-many":case"zero-one":e.push(r.type);return"(";case"segment-sep":if(e.length){return"|"}else{return t({type:"string",value:"|"},n)}case"closing-segment":{const t=e.pop();switch(t){case"one":return")";case"one-many":return")+";case"zero-many":return")*";case"zero-one":return")?"}throw new Error("Unexcepted segment "+t)}case"end":if(e.length>0){throw new Error("Unmatched segment, missing ')'")}return t(r,n);default:return t(r,n)}}}function createSimple(){return function(e,t){switch(e.type){case"path-sep":return"[\\\\/]+";case"any-path-segments":return"[\\\\/]+(?:(.+)[\\\\/]+)?";case"any-path":return"(.*)";case"any-path-segment":if(t){return"\\.[\\\\/]+(?:.*[\\\\/]+)?([^\\\\/]+)"}else{return"([^\\\\/]*)"}case"any-char":return"[^\\\\/]";case"inverted-char-set":return"[^"+e.value+"]";case"char-set":return"["+e.value+"]";case"string":return e.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");case"end":return"";default:throw new Error("Unsupported token '"+e.type+"'")}}}t.P=globToRegExp},9921:(e,t,r)=>{"use strict";const n=r(7e3);const i=r(2831);const a=r(7507);const o=new a(new i,4e3);const s={environments:["node+es3+es5+process+native"]};const c=n.createResolver({extensions:[".js",".json",".node"],fileSystem:o});e.exports=function resolve(e,t,r,n,i){if(typeof e==="string"){i=n;n=r;r=t;t=e;e=s}if(typeof i!=="function"){i=n}c.resolve(e,t,r,n,i)};const l=n.createResolver({extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:o});e.exports.sync=function resolveSync(e,t,r){if(typeof e==="string"){r=t;t=e;e=s}return l.resolveSync(e,t,r)};const u=n.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,fileSystem:o});e.exports.context=function resolveContext(e,t,r,resolveContext,n){if(typeof e==="string"){n=resolveContext;resolveContext=r;r=t;t=e;e=s}if(typeof n!=="function"){n=resolveContext}u.resolve(e,t,r,resolveContext,n)};const d=n.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,useSyncFileSystemCalls:true,fileSystem:o});e.exports.context.sync=function resolveContextSync(e,t,r){if(typeof e==="string"){r=t;t=e;e=s}return d.resolveSync(e,t,r)};const p=n.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],fileSystem:o});e.exports.loader=function resolveLoader(e,t,r,n,i){if(typeof e==="string"){i=n;n=r;r=t;t=e;e=s}if(typeof i!=="function"){i=n}p.resolve(e,t,r,n,i)};const f=n.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],useSyncFileSystemCalls:true,fileSystem:o});e.exports.loader.sync=function resolveLoaderSync(e,t,r){if(typeof e==="string"){r=t;t=e;e=s}return f.resolveSync(e,t,r)};e.exports.create=function create(e){e=Object.assign({fileSystem:o},e);const t=n.createResolver(e);return function(e,r,n,i,a){if(typeof e==="string"){a=i;i=n;n=r;r=e;e=s}if(typeof a!=="function"){a=i}t.resolve(e,r,n,i,a)}};e.exports.create.sync=function createSync(e){e=Object.assign({useSyncFileSystemCalls:true,fileSystem:o},e);const t=n.createResolver(e);return function(e,r,n){if(typeof e==="string"){n=r;r=e;e=s}return t.resolveSync(e,r,n)}};e.exports.ResolverFactory=n;e.exports.NodeJsInputFileSystem=i;e.exports.CachedInputFileSystem=a},7239:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const i=t.indexOf("--");return n!==-1&&(i===-1?true:n{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var n=256;var i=Number.MAX_SAFE_INTEGER||9007199254740991;var a=16;var o=t.re=[];var s=t.src=[];var c=t.tokens={};var l=0;function tok(e){c[e]=l++}tok("NUMERICIDENTIFIER");s[c.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");s[c.NUMERICIDENTIFIERLOOSE]="[0-9]+";tok("NONNUMERICIDENTIFIER");s[c.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";tok("MAINVERSION");s[c.MAINVERSION]="("+s[c.NUMERICIDENTIFIER]+")\\."+"("+s[c.NUMERICIDENTIFIER]+")\\."+"("+s[c.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");s[c.MAINVERSIONLOOSE]="("+s[c.NUMERICIDENTIFIERLOOSE]+")\\."+"("+s[c.NUMERICIDENTIFIERLOOSE]+")\\."+"("+s[c.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");s[c.PRERELEASEIDENTIFIER]="(?:"+s[c.NUMERICIDENTIFIER]+"|"+s[c.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");s[c.PRERELEASEIDENTIFIERLOOSE]="(?:"+s[c.NUMERICIDENTIFIERLOOSE]+"|"+s[c.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");s[c.PRERELEASE]="(?:-("+s[c.PRERELEASEIDENTIFIER]+"(?:\\."+s[c.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");s[c.PRERELEASELOOSE]="(?:-?("+s[c.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+s[c.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");s[c.BUILDIDENTIFIER]="[0-9A-Za-z-]+";tok("BUILD");s[c.BUILD]="(?:\\+("+s[c.BUILDIDENTIFIER]+"(?:\\."+s[c.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");s[c.FULLPLAIN]="v?"+s[c.MAINVERSION]+s[c.PRERELEASE]+"?"+s[c.BUILD]+"?";s[c.FULL]="^"+s[c.FULLPLAIN]+"$";tok("LOOSEPLAIN");s[c.LOOSEPLAIN]="[v=\\s]*"+s[c.MAINVERSIONLOOSE]+s[c.PRERELEASELOOSE]+"?"+s[c.BUILD]+"?";tok("LOOSE");s[c.LOOSE]="^"+s[c.LOOSEPLAIN]+"$";tok("GTLT");s[c.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");s[c.XRANGEIDENTIFIERLOOSE]=s[c.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");s[c.XRANGEIDENTIFIER]=s[c.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");s[c.XRANGEPLAIN]="[v=\\s]*("+s[c.XRANGEIDENTIFIER]+")"+"(?:\\.("+s[c.XRANGEIDENTIFIER]+")"+"(?:\\.("+s[c.XRANGEIDENTIFIER]+")"+"(?:"+s[c.PRERELEASE]+")?"+s[c.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");s[c.XRANGEPLAINLOOSE]="[v=\\s]*("+s[c.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+s[c.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+s[c.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+s[c.PRERELEASELOOSE]+")?"+s[c.BUILD]+"?"+")?)?";tok("XRANGE");s[c.XRANGE]="^"+s[c.GTLT]+"\\s*"+s[c.XRANGEPLAIN]+"$";tok("XRANGELOOSE");s[c.XRANGELOOSE]="^"+s[c.GTLT]+"\\s*"+s[c.XRANGEPLAINLOOSE]+"$";tok("COERCE");s[c.COERCE]="(^|[^\\d])"+"(\\d{1,"+a+"})"+"(?:\\.(\\d{1,"+a+"}))?"+"(?:\\.(\\d{1,"+a+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");o[c.COERCERTL]=new RegExp(s[c.COERCE],"g");tok("LONETILDE");s[c.LONETILDE]="(?:~>?)";tok("TILDETRIM");s[c.TILDETRIM]="(\\s*)"+s[c.LONETILDE]+"\\s+";o[c.TILDETRIM]=new RegExp(s[c.TILDETRIM],"g");var u="$1~";tok("TILDE");s[c.TILDE]="^"+s[c.LONETILDE]+s[c.XRANGEPLAIN]+"$";tok("TILDELOOSE");s[c.TILDELOOSE]="^"+s[c.LONETILDE]+s[c.XRANGEPLAINLOOSE]+"$";tok("LONECARET");s[c.LONECARET]="(?:\\^)";tok("CARETTRIM");s[c.CARETTRIM]="(\\s*)"+s[c.LONECARET]+"\\s+";o[c.CARETTRIM]=new RegExp(s[c.CARETTRIM],"g");var d="$1^";tok("CARET");s[c.CARET]="^"+s[c.LONECARET]+s[c.XRANGEPLAIN]+"$";tok("CARETLOOSE");s[c.CARETLOOSE]="^"+s[c.LONECARET]+s[c.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");s[c.COMPARATORLOOSE]="^"+s[c.GTLT]+"\\s*("+s[c.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");s[c.COMPARATOR]="^"+s[c.GTLT]+"\\s*("+s[c.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");s[c.COMPARATORTRIM]="(\\s*)"+s[c.GTLT]+"\\s*("+s[c.LOOSEPLAIN]+"|"+s[c.XRANGEPLAIN]+")";o[c.COMPARATORTRIM]=new RegExp(s[c.COMPARATORTRIM],"g");var p="$1$2$3";tok("HYPHENRANGE");s[c.HYPHENRANGE]="^\\s*("+s[c.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+s[c.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");s[c.HYPHENRANGELOOSE]="^\\s*("+s[c.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+s[c.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");s[c.STAR]="(<|>)?=?\\s*\\*";for(var f=0;fn){return null}var r=t.loose?o[c.LOOSE]:o[c.FULL];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>n){throw new TypeError("version is longer than "+n+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var a=e.trim().match(t.loose?o[c.LOOSE]:o[c.FULL]);if(!a){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+a[1];this.minor=+a[2];this.patch=+a[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!a[4]){this.prerelease=[]}else{this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,r,n){if(typeof r==="string"){n=r;r=undefined}try{return new SemVer(e,r).inc(t,n).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var n=parse(t);var i="";if(r.prerelease.length||n.prerelease.length){i="pre";var a="prerelease"}for(var o in r){if(o==="major"||o==="minor"||o==="patch"){if(r[o]!==n[o]){return i+o}}}return a}}t.compareIdentifiers=compareIdentifiers;var g=/^[0-9]+$/;function compareIdentifiers(e,t){var r=g.test(e);var n=g.test(t);if(r&&n){e=+e;t=+t}return e===t?0:r&&!n?-1:n&&!r?1:e0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,n){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,n);case"!=":return neq(e,r,n);case">":return gt(e,r,n);case">=":return gte(e,r,n);case"<":return lt(e,r,n);case"<=":return lte(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===m){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var m={};Comparator.prototype.parse=function(e){var t=this.options.loose?o[c.COMPARATORLOOSE]:o[c.COMPARATOR];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=m}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===m||e===m){return true}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var r;if(this.operator===""){if(this.value===""){return true}r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){if(e.value===""){return true}r=new Range(this.value,t);return satisfies(e.semver,r,t)}var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var i=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var a=this.semver.version===e.semver.version;var o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var s=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var c=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return n||i||a&&o||s||c};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?o[c.HYPHENRANGELOOSE]:o[c.HYPHENRANGE];e=e.replace(n,hyphenReplace);r("hyphen replace",e);e=e.replace(o[c.COMPARATORTRIM],p);r("comparator trim",e,o[c.COMPARATORTRIM]);e=e.replace(o[c.TILDETRIM],u);e=e.replace(o[c.CARETTRIM],d);e=e.split(/\s+/).join(" ");var i=t?o[c.COMPARATORLOOSE]:o[c.COMPARATOR];var a=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){a=a.filter((function(e){return!!e.match(i)}))}a=a.map((function(e){return new Comparator(e,this.options)}),this);return a};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return isSatisfiable(r,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var r=true;var n=e.slice();var i=n.pop();while(r&&n.length){r=n.every((function(e){return i.intersects(e,t)}));i=n.pop()}return r}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var n=t.loose?o[c.TILDELOOSE]:o[c.TILDE];return e.replace(n,(function(t,n,i,a,o){r("tilde",e,t,n,i,a,o);var s;if(isX(n)){s=""}else if(isX(i)){s=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(a)){s=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0"}else if(o){r("replaceTilde pr",o);s=">="+n+"."+i+"."+a+"-"+o+" <"+n+"."+(+i+1)+".0"}else{s=">="+n+"."+i+"."+a+" <"+n+"."+(+i+1)+".0"}r("tilde return",s);return s}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var n=t.loose?o[c.CARETLOOSE]:o[c.CARET];return e.replace(n,(function(t,n,i,a,o){r("caret",e,t,n,i,a,o);var s;if(isX(n)){s=""}else if(isX(i)){s=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(a)){if(n==="0"){s=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0"}else{s=">="+n+"."+i+".0 <"+(+n+1)+".0.0"}}else if(o){r("replaceCaret pr",o);if(n==="0"){if(i==="0"){s=">="+n+"."+i+"."+a+"-"+o+" <"+n+"."+i+"."+(+a+1)}else{s=">="+n+"."+i+"."+a+"-"+o+" <"+n+"."+(+i+1)+".0"}}else{s=">="+n+"."+i+"."+a+"-"+o+" <"+(+n+1)+".0.0"}}else{r("no pr");if(n==="0"){if(i==="0"){s=">="+n+"."+i+"."+a+" <"+n+"."+i+"."+(+a+1)}else{s=">="+n+"."+i+"."+a+" <"+n+"."+(+i+1)+".0"}}else{s=">="+n+"."+i+"."+a+" <"+(+n+1)+".0.0"}}r("caret return",s);return s}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var n=t.loose?o[c.XRANGELOOSE]:o[c.XRANGE];return e.replace(n,(function(n,i,a,o,s,c){r("xRange",e,n,i,a,o,s,c);var l=isX(a);var u=l||isX(o);var d=u||isX(s);var p=d;if(i==="="&&p){i=""}c=t.includePrerelease?"-0":"";if(l){if(i===">"||i==="<"){n="<0.0.0-0"}else{n="*"}}else if(i&&p){if(u){o=0}s=0;if(i===">"){i=">=";if(u){a=+a+1;o=0;s=0}else{o=+o+1;s=0}}else if(i==="<="){i="<";if(u){a=+a+1}else{o=+o+1}}n=i+a+"."+o+"."+s+c}else if(u){n=">="+a+".0.0"+c+" <"+(+a+1)+".0.0"+c}else if(d){n=">="+a+"."+o+".0"+c+" <"+a+"."+(+o+1)+".0"+c}r("xRange return",n);return n}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(o[c.STAR],"")}function hyphenReplace(e,t,r,n,i,a,o,s,c,l,u,d,p){if(isX(r)){t=""}else if(isX(n)){t=">="+r+".0.0"}else if(isX(i)){t=">="+r+"."+n+".0"}else{t=">="+t}if(isX(c)){s=""}else if(isX(l)){s="<"+(+c+1)+".0.0"}else if(isX(u)){s="<"+c+"."+(+l+1)+".0"}else if(d){s="<="+c+"."+l+"."+u+"-"+d}else{s="<="+s}return(t+" "+s).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}for(var t=0;t0){var a=e[i].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var n=null;var i=null;try{var a=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(a.test(e)){if(!n||i.compare(e)===-1){n=e;i=new SemVer(n,r)}}}));return n}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var n=null;var i=null;try{var a=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(a.test(e)){if(!n||i.compare(e)===1){n=e;i=new SemVer(n,r)}}}));return n}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var n=0;n":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,n){e=new SemVer(e,n);t=new Range(t,n);var i,a,o,s,c;switch(r){case">":i=gt;a=lte;o=lt;s=">";c=">=";break;case"<":i=lt;a=gte;o=gt;s="<";c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,n)){return false}for(var l=0;l=0.0.0")}d=d||e;p=p||e;if(i(e.semver,d.semver,n)){d=e}else if(o(e.semver,p.semver,n)){p=e}}));if(d.operator===s||d.operator===c){return false}if((!p.operator||p.operator===s)&&a(e,p.semver)){return false}else if(p.operator===c&&o(e,p.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};var r=null;if(!t.rtl){r=e.match(o[c.COERCE])}else{var n;while((n=o[c.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||n.index+n[0].length!==r.index+r[0].length){r=n}o[c.COERCERTL].lastIndex=n.index+n[1].length+n[2].length}o[c.COERCERTL].lastIndex=-1}if(r===null){return null}return parse(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}},1816:(e,t,r)=>{"use strict";const n=r(2087);const i=r(7239);const a=process.env;let o;if(i("no-color")||i("no-colors")||i("color=false")){o=false}else if(i("color")||i("colors")||i("color=true")||i("color=always")){o=true}if("FORCE_COLOR"in a){o=a.FORCE_COLOR.length===0||parseInt(a.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(o===false){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!e.isTTY&&o!==true){return 0}const t=o?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in a){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in a))||a.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in a){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0}if(a.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(a.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)){return 1}if("COLORTERM"in a){return 1}if(a.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},3706:(e,t,r)=>{"use strict";const n=r(3782);const i=r(6018);class AsyncSeriesBailHookCodeFactory extends i{content({onError:e,onResult:t,resultReturns:r,onDone:n}){return this.callTapsSeries({onError:(t,r,n,i)=>e(r)+i(true),onResult:(e,r,n)=>`if(${r} !== undefined) {\n${t(r)};\n} else {\n${n()}}\n`,resultReturns:r,onDone:n})}}const a=new AsyncSeriesBailHookCodeFactory;class AsyncSeriesBailHook extends n{compile(e){a.setup(this,e);return a.create(e)}}Object.defineProperties(AsyncSeriesBailHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});e.exports=AsyncSeriesBailHook},7046:(e,t,r)=>{"use strict";const n=r(3782);const i=r(6018);class AsyncSeriesHookCodeFactory extends i{content({onError:e,onDone:t}){return this.callTapsSeries({onError:(t,r,n,i)=>e(r)+i(true),onDone:t})}}const a=new AsyncSeriesHookCodeFactory;class AsyncSeriesHook extends n{compile(e){a.setup(this,e);return a.create(e)}}Object.defineProperties(AsyncSeriesHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});e.exports=AsyncSeriesHook},3782:e=>{"use strict";class Hook{constructor(e){if(!Array.isArray(e))e=[];this._args=e;this.taps=[];this.interceptors=[];this.call=this._call;this.promise=this._promise;this.callAsync=this._callAsync;this._x=undefined}compile(e){throw new Error("Abstract: should be overriden")}_createCall(e){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:e})}tap(e,t){if(typeof e==="string")e={name:e};if(typeof e!=="object"||e===null)throw new Error("Invalid arguments to tap(options: Object, fn: function)");e=Object.assign({type:"sync",fn:t},e);if(typeof e.name!=="string"||e.name==="")throw new Error("Missing name for tap");e=this._runRegisterInterceptors(e);this._insert(e)}tapAsync(e,t){if(typeof e==="string")e={name:e};if(typeof e!=="object"||e===null)throw new Error("Invalid arguments to tapAsync(options: Object, fn: function)");e=Object.assign({type:"async",fn:t},e);if(typeof e.name!=="string"||e.name==="")throw new Error("Missing name for tapAsync");e=this._runRegisterInterceptors(e);this._insert(e)}tapPromise(e,t){if(typeof e==="string")e={name:e};if(typeof e!=="object"||e===null)throw new Error("Invalid arguments to tapPromise(options: Object, fn: function)");e=Object.assign({type:"promise",fn:t},e);if(typeof e.name!=="string"||e.name==="")throw new Error("Missing name for tapPromise");e=this._runRegisterInterceptors(e);this._insert(e)}_runRegisterInterceptors(e){for(const t of this.interceptors){if(t.register){const r=t.register(e);if(r!==undefined)e=r}}return e}withOptions(e){const mergeOptions=t=>Object.assign({},e,typeof t==="string"?{name:t}:t);e=Object.assign({},e,this._withOptions);const t=this._withOptionsBase||this;const r=Object.create(t);r.tapAsync=(e,r)=>t.tapAsync(mergeOptions(e),r),r.tap=(e,r)=>t.tap(mergeOptions(e),r);r.tapPromise=(e,r)=>t.tapPromise(mergeOptions(e),r);r._withOptions=e;r._withOptionsBase=t;return r}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(e){this._resetCompilation();this.interceptors.push(Object.assign({},e));if(e.register){for(let t=0;t0){n--;const e=this.taps[n];this.taps[n+1]=e;const i=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0){continue}}if(i>r){continue}n++;break}this.taps[n]=e}}function createCompileDelegate(e,t){return function lazyCompileHook(...r){this[e]=this._createCall(t);return this[e](...r)}}Object.defineProperties(Hook.prototype,{_call:{value:createCompileDelegate("call","sync"),configurable:true,writable:true},_promise:{value:createCompileDelegate("promise","promise"),configurable:true,writable:true},_callAsync:{value:createCompileDelegate("callAsync","async"),configurable:true,writable:true}});e.exports=Hook},6018:e=>{"use strict";class HookCodeFactory{constructor(e){this.config=e;this.options=undefined;this._args=undefined}create(e){this.init(e);let t;switch(this.options.type){case"sync":t=new Function(this.args(),'"use strict";\n'+this.header()+this.content({onError:e=>`throw ${e};\n`,onResult:e=>`return ${e};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":t=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.content({onError:e=>`_callback(${e});\n`,onResult:e=>`_callback(null, ${e});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let e=false;const r=this.content({onError:t=>{e=true;return`_error(${t});\n`},onResult:e=>`_resolve(${e});\n`,onDone:()=>"_resolve();\n"});let n="";n+='"use strict";\n';n+="return new Promise((_resolve, _reject) => {\n";if(e){n+="var _sync = true;\n";n+="function _error(_err) {\n";n+="if(_sync)\n";n+="_resolve(Promise.resolve().then(() => { throw _err; }));\n";n+="else\n";n+="_reject(_err);\n";n+="};\n"}n+=this.header();n+=r;if(e){n+="_sync = false;\n"}n+="});\n";t=new Function(this.args(),n);break}this.deinit();return t}setup(e,t){e._x=t.taps.map((e=>e.fn))}init(e){this.options=e;this._args=e.args.slice()}deinit(){this.options=undefined;this._args=undefined}header(){let e="";if(this.needContext()){e+="var _context = {};\n"}else{e+="var _context;\n"}e+="var _x = this._x;\n";if(this.options.interceptors.length>0){e+="var _taps = this.taps;\n";e+="var _interceptors = this.interceptors;\n"}for(let t=0;t {\n`;else o+=`_err${e} => {\n`;o+=`if(_err${e}) {\n`;o+=t(`_err${e}`);o+="} else {\n";if(r){o+=r(`_result${e}`)}if(n){o+=n()}o+="}\n";o+="}";a+=`_fn${e}(${this.args({before:s.context?"_context":undefined,after:o})});\n`;break;case"promise":a+=`var _hasResult${e} = false;\n`;a+=`var _promise${e} = _fn${e}(${this.args({before:s.context?"_context":undefined})});\n`;a+=`if (!_promise${e} || !_promise${e}.then)\n`;a+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${e} + ')');\n`;a+=`_promise${e}.then(_result${e} => {\n`;a+=`_hasResult${e} = true;\n`;if(r){a+=r(`_result${e}`)}if(n){a+=n()}a+=`}, _err${e} => {\n`;a+=`if(_hasResult${e}) throw _err${e};\n`;a+=t(`_err${e}`);a+="});\n";break}return a}callTapsSeries({onError:e,onResult:t,resultReturns:r,onDone:n,doneReturns:i,rethrowIfPossible:a}){if(this.options.taps.length===0)return n();const o=this.options.taps.findIndex((e=>e.type!=="sync"));const s=r||i||false;let c="";let l=n;for(let r=this.options.taps.length-1;r>=0;r--){const i=r;const u=l!==n&&this.options.taps[i].type!=="sync";if(u){c+=`function _next${i}() {\n`;c+=l();c+=`}\n`;l=()=>`${s?"return ":""}_next${i}();\n`}const d=l;const doneBreak=e=>{if(e)return"";return n()};const p=this.callTap(i,{onError:t=>e(i,t,d,doneBreak),onResult:t&&(e=>t(i,e,d,doneBreak)),onDone:!t&&d,rethrowIfPossible:a&&(o<0||ip}c+=l();return c}callTapsLooping({onError:e,onDone:t,rethrowIfPossible:r}){if(this.options.taps.length===0)return t();const n=this.options.taps.every((e=>e.type==="sync"));let i="";if(!n){i+="var _looper = () => {\n";i+="var _loopAsync = false;\n"}i+="var _loop;\n";i+="do {\n";i+="_loop = false;\n";for(let e=0;e{let a="";a+=`if(${t} !== undefined) {\n`;a+="_loop = true;\n";if(!n)a+="if(_loopAsync) _looper();\n";a+=i(true);a+=`} else {\n`;a+=r();a+=`}\n`;return a},onDone:t&&(()=>{let e="";e+="if(!_loop) {\n";e+=t();e+="}\n";return e}),rethrowIfPossible:r&&n});i+="} while(_loop);\n";if(!n){i+="_loopAsync = true;\n";i+="};\n";i+="_looper();\n"}return i}callTapsParallel({onError:e,onResult:t,onDone:r,rethrowIfPossible:n,onTap:i=((e,t)=>t())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:e,onResult:t,onDone:r,rethrowIfPossible:n})}let a="";a+="do {\n";a+=`var _counter = ${this.options.taps.length};\n`;if(r){a+="var _done = () => {\n";a+=r();a+="};\n"}for(let o=0;o{if(r)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=e=>{if(e||!r)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};a+="if(_counter <= 0) break;\n";a+=i(o,(()=>this.callTap(o,{onError:t=>{let r="";r+="if(_counter > 0) {\n";r+=e(o,t,done,doneBreak);r+="}\n";return r},onResult:t&&(e=>{let r="";r+="if(_counter > 0) {\n";r+=t(o,e,done,doneBreak);r+="}\n";return r}),onDone:!t&&(()=>done()),rethrowIfPossible:n})),done,doneBreak)}a+="} while(false);\n";return a}args({before:e,after:t}={}){let r=this._args;if(e)r=[e].concat(r);if(t)r=r.concat(t);if(r.length===0){return""}else{return r.join(", ")}}getTapFn(e){return`_x[${e}]`}getTap(e){return`_taps[${e}]`}getInterceptor(e){return`_interceptors[${e}]`}}e.exports=HookCodeFactory},4333:(e,t,r)=>{"use strict";const n=r(3782);const i=r(6018);class SyncBailHookCodeFactory extends i{content({onError:e,onResult:t,resultReturns:r,onDone:n,rethrowIfPossible:i}){return this.callTapsSeries({onError:(t,r)=>e(r),onResult:(e,r,n)=>`if(${r} !== undefined) {\n${t(r)};\n} else {\n${n()}}\n`,resultReturns:r,onDone:n,rethrowIfPossible:i})}}const a=new SyncBailHookCodeFactory;class SyncBailHook extends n{tapAsync(){throw new Error("tapAsync is not supported on a SyncBailHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncBailHook")}compile(e){a.setup(this,e);return a.create(e)}}e.exports=SyncBailHook},352:(e,t,r)=>{"use strict";const n=r(3782);const i=r(6018);class SyncHookCodeFactory extends i{content({onError:e,onDone:t,rethrowIfPossible:r}){return this.callTapsSeries({onError:(t,r)=>e(r),onDone:t,rethrowIfPossible:r})}}const a=new SyncHookCodeFactory;class SyncHook extends n{tapAsync(){throw new Error("tapAsync is not supported on a SyncHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncHook")}compile(e){a.setup(this,e);return a.create(e)}}e.exports=SyncHook},6118:(e,t,r)=>{"use strict";const n=r(1669);const i=r(4333);function Tapable(){this._pluginCompat=new i(["options"]);this._pluginCompat.tap({name:"Tapable camelCase",stage:100},(e=>{e.names.add(e.name.replace(/[- ]([a-z])/g,((e,t)=>t.toUpperCase())))}));this._pluginCompat.tap({name:"Tapable this.hooks",stage:200},(e=>{let t;for(const r of e.names){t=this.hooks[r];if(t!==undefined){break}}if(t!==undefined){const r={name:e.fn.name||"unnamed compat plugin",stage:e.stage||0};if(e.async)t.tapAsync(r,e.fn);else t.tap(r,e.fn);return true}}))}e.exports=Tapable;Tapable.addCompatLayer=function addCompatLayer(e){Tapable.call(e);e.plugin=Tapable.prototype.plugin;e.apply=Tapable.prototype.apply};Tapable.prototype.plugin=n.deprecate((function plugin(e,t){if(Array.isArray(e)){e.forEach((function(e){this.plugin(e,t)}),this);return}const r=this._pluginCompat.call({name:e,fn:t,names:new Set([e])});if(!r){throw new Error(`Plugin could not be registered at '${e}'. Hook was not found.\n`+"BREAKING CHANGE: There need to exist a hook at 'this.hooks'. "+"To create a compatibility layer for this hook, hook into 'this._pluginCompat'.")}}),"Tapable.plugin is deprecated. Use new API on `.hooks` instead");Tapable.prototype.apply=n.deprecate((function apply(){for(var e=0;e0&&a[a.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]=0;r--){var n=t(e[r],r);if(n){return n}}}return undefined}e.forEachRight=forEachRight;function firstDefined(e,t){if(e===undefined){return undefined}for(var r=0;r=0;r--){var n=e[r];if(t(n,r)){return n}}return undefined}e.findLast=findLast;function findIndex(e,t,r){for(var n=r||0;n=0;n--){if(t(e[n],n)){return n}}return-1}e.findLastIndex=findLastIndex;function findMap(t,r){for(var n=0;n0}}return false}e.some=some;function getRangesWhere(e,t,r){var n;for(var i=0;i0){e.Debug.assertGreaterThanOrEqual(n(r[o],r[o-1]),0)}t:for(var s=a;as){e.Debug.assertGreaterThanOrEqual(n(t[a],t[a-1]),0)}switch(n(r[o],t[a])){case-1:i.push(r[o]);continue e;case 0:continue e;case 1:continue t}}}return i}e.relativeComplement=relativeComplement;function sum(e,t){var r=0;for(var n=0,i=e;n>1);var c=r(e[s]);switch(n(c,t)){case-1:a=s+1;break;case 0:return s;case 1:o=s-1;break}}return~a}e.binarySearchKey=binarySearchKey;function reduceLeft(e,t,r,n,i){if(e&&e.length>0){var a=e.length;if(a>0){var o=n===undefined||n<0?0:n;var s=i===undefined||o+i>a-1?a-1:o+i;var c=void 0;if(arguments.length<=2){c=e[o];o++}else{c=r}while(o<=s){c=t(c,e[o],o);o++}return c}}return r}e.reduceLeft=reduceLeft;var t=Object.prototype.hasOwnProperty;function hasProperty(e,r){return t.call(e,r)}e.hasProperty=hasProperty;function getProperty(e,r){return t.call(e,r)?e[r]:undefined}e.getProperty=getProperty;function getOwnKeys(e){var r=[];for(var n in e){if(t.call(e,n)){r.push(n)}}return r}e.getOwnKeys=getOwnKeys;function getAllKeys(e){var t=[];do{var r=Object.getOwnPropertyNames(e);for(var n=0,i=r;nt?1:0}e.compareStringsCaseInsensitive=compareStringsCaseInsensitive;function compareStringsCaseSensitive(e,t){return compareComparableValues(e,t)}e.compareStringsCaseSensitive=compareStringsCaseSensitive;function getStringComparer(e){return e?compareStringsCaseInsensitive:compareStringsCaseSensitive}e.getStringComparer=getStringComparer;var a=function(){var e;var t;var r=getStringComparerFactory();return createStringComparer;function compareWithCallback(e,t,r){if(e===t)return 0;if(e===undefined)return-1;if(t===undefined)return 1;var n=r(e,t);return n<0?-1:n>0?1:0}function createIntlCollatorStringComparer(e){var t=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,r){return compareWithCallback(e,r,t)}}function createLocaleCompareStringComparer(e){if(e!==undefined)return createFallbackStringComparer();return function(e,t){return compareWithCallback(e,t,compareStrings)};function compareStrings(e,t){return e.localeCompare(t)}}function createFallbackStringComparer(){return function(e,t){return compareWithCallback(e,t,compareDictionaryOrder)};function compareDictionaryOrder(e,t){return compareStrings(e.toUpperCase(),t.toUpperCase())||compareStrings(e,t)}function compareStrings(e,t){return et?1:0}}function getStringComparerFactory(){if(typeof Intl==="object"&&typeof Intl.Collator==="function"){return createIntlCollatorStringComparer}if(typeof String.prototype.localeCompare==="function"&&typeof String.prototype.toLocaleUpperCase==="function"&&"a".localeCompare("B")<0){return createLocaleCompareStringComparer}return createFallbackStringComparer}function createStringComparer(n){if(n===undefined){return e||(e=r(n))}else if(n==="en-US"){return t||(t=r(n))}else{return r(n)}}}();var o;var s;function getUILocale(){return s}e.getUILocale=getUILocale;function setUILocale(e){if(s!==e){s=e;o=undefined}}e.setUILocale=setUILocale;function compareStringsCaseSensitiveUI(e,t){var r=o||(o=a(s));return r(e,t)}e.compareStringsCaseSensitiveUI=compareStringsCaseSensitiveUI;function compareProperties(e,t,r,n){return e===t?0:e===undefined?-1:t===undefined?1:n(e[r],t[r])}e.compareProperties=compareProperties;function compareBooleans(e,t){return compareValues(e?1:0,t?1:0)}e.compareBooleans=compareBooleans;function getSpellingSuggestion(t,r,n){var i=Math.min(2,Math.floor(t.length*.34));var a=Math.floor(t.length*.4)+1;var o;var s=false;var c=t.toLowerCase();for(var l=0,u=r;lr?o-r:1;var l=t.length>r+o?r+o:t.length;i[0]=o;var u=o;for(var d=1;dr){return undefined}var f=n;n=i;i=f}var g=n[t.length];return g>r?undefined:g}function endsWith(e,t){var r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}e.endsWith=endsWith;function removeSuffix(e,t){return endsWith(e,t)?e.slice(0,e.length-t.length):e}e.removeSuffix=removeSuffix;function tryRemoveSuffix(e,t){return endsWith(e,t)?e.slice(0,e.length-t.length):undefined}e.tryRemoveSuffix=tryRemoveSuffix;function stringContains(e,t){return e.indexOf(t)!==-1}e.stringContains=stringContains;function removeMinAndVersionNumbers(e){var t=/[.-]((min)|(\d+(\.\d+)*))$/;return e.replace(t,"").replace(t,"")}e.removeMinAndVersionNumbers=removeMinAndVersionNumbers;function orderedRemoveItem(e,t){for(var r=0;ri){i=c.prefix.length;n=s}}return n}e.findBestPatternMatch=findBestPatternMatch;function startsWith(e,t){return e.lastIndexOf(t,0)===0}e.startsWith=startsWith;function removePrefix(e,t){return startsWith(e,t)?e.substr(t.length):e}e.removePrefix=removePrefix;function tryRemovePrefix(e,t,r){if(r===void 0){r=identity}return startsWith(r(e),r(t))?e.substring(t.length):undefined}e.tryRemovePrefix=tryRemovePrefix;function isPatternMatch(e,t){var r=e.prefix,n=e.suffix;return t.length>=r.length+n.length&&startsWith(t,r)&&endsWith(t,n)}function and(e,t){return function(r){return e(r)&&t(r)}}e.and=and;function or(){var e=[];for(var t=0;ta){for(var o=0,s=e.getOwnKeys(n);o=l.level){t[c]=l;n[c]=undefined}}}}t.setAssertionLevel=setAssertionLevel;function shouldAssert(e){return r>=e}t.shouldAssert=shouldAssert;function shouldAssertFunction(r,i){if(!shouldAssert(r)){n[i]={level:r,assertion:t[i]};t[i]=e.noop;return false}return true}function fail(e,t){debugger;var r=new Error(e?"Debug Failure. "+e:"Debug Failure.");if(Error.captureStackTrace){Error.captureStackTrace(r,t||fail)}throw r}t.fail=fail;function failBadSyntaxKind(e,t,r){return fail((t||"Unexpected node.")+"\r\nNode "+formatSyntaxKind(e.kind)+" was unexpected.",r||failBadSyntaxKind)}t.failBadSyntaxKind=failBadSyntaxKind;function assert(e,t,r,n){if(!e){t=t?"False expression: "+t:"False expression.";if(r){t+="\r\nVerbose Debug Information: "+(typeof r==="string"?r:r())}fail(t,n||assert)}}t.assert=assert;function assertEqual(e,t,r,n,i){if(e!==t){var a=r?n?r+" "+n:r:"";fail("Expected "+e+" === "+t+". "+a,i||assertEqual)}}t.assertEqual=assertEqual;function assertLessThan(e,t,r,n){if(e>=t){fail("Expected "+e+" < "+t+". "+(r||""),n||assertLessThan)}}t.assertLessThan=assertLessThan;function assertLessThanOrEqual(e,t,r){if(e>t){fail("Expected "+e+" <= "+t,r||assertLessThanOrEqual)}}t.assertLessThanOrEqual=assertLessThanOrEqual;function assertGreaterThanOrEqual(e,t,r){if(e= "+t,r||assertGreaterThanOrEqual)}}t.assertGreaterThanOrEqual=assertGreaterThanOrEqual;function assertIsDefined(e,t,r){if(e===undefined||e===null){fail(t,r||assertIsDefined)}}t.assertIsDefined=assertIsDefined;function checkDefined(e,t,r){assertIsDefined(e,t,r||checkDefined);return e}t.checkDefined=checkDefined;t.assertDefined=checkDefined;function assertEachIsDefined(e,t,r){for(var n=0,i=e;n0&&n[0][0]===0?n[0][1]:"0"}if(r){var i="";var a=e;for(var o=0,s=n;oe){break}if(l!==0&&l&e){i=""+i+(i?"|":"")+u;a&=~l}}if(a===0){return i}}else{for(var d=0,p=n;d=0,"Invalid argument: major");e.Debug.assert(i>=0,"Invalid argument: minor");e.Debug.assert(a>=0,"Invalid argument: patch");e.Debug.assert(!o||r.test(o),"Invalid argument: prerelease");e.Debug.assert(!s||n.test(s),"Invalid argument: build");this.major=t;this.minor=i;this.patch=a;this.prerelease=o?o.split("."):e.emptyArray;this.build=s?s.split("."):e.emptyArray}Version.tryParse=function(e){var t=tryParseComponents(e);if(!t)return undefined;var r=t.major,n=t.minor,i=t.patch,a=t.prerelease,o=t.build;return new Version(r,n,i,a,o)};Version.prototype.compareTo=function(t){if(this===t)return 0;if(t===undefined)return 1;return e.compareValues(this.major,t.major)||e.compareValues(this.minor,t.minor)||e.compareValues(this.patch,t.patch)||comparePrerelaseIdentifiers(this.prerelease,t.prerelease)};Version.prototype.increment=function(t){switch(t){case"major":return new Version(this.major+1,0,0);case"minor":return new Version(this.major,this.minor+1,0);case"patch":return new Version(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(t)}};Version.prototype.toString=function(){var t=this.major+"."+this.minor+"."+this.patch;if(e.some(this.prerelease))t+="-"+this.prerelease.join(".");if(e.some(this.build))t+="+"+this.build.join(".");return t};Version.zero=new Version(0,0,0);return Version}();e.Version=a;function tryParseComponents(e){var i=t.exec(e);if(!i)return undefined;var a=i[1],o=i[2],s=o===void 0?"0":o,c=i[3],l=c===void 0?"0":c,u=i[4],d=u===void 0?"":u,p=i[5],f=p===void 0?"":p;if(d&&!r.test(d))return undefined;if(f&&!n.test(f))return undefined;return{major:parseInt(a,10),minor:parseInt(s,10),patch:parseInt(l,10),prerelease:d,build:f}}function comparePrerelaseIdentifiers(t,r){if(t===r)return 0;if(t.length===0)return r.length===0?0:1;if(r.length===0)return-1;var n=Math.min(t.length,r.length);for(var a=0;a|>=|=)?\s*([a-z0-9-+.*]+)$/i;function parseRange(e){var t=[];for(var r=0,n=e.trim().split(s);r=",n.version))}if(!isWildcard(i.major)){r.push(isWildcard(i.minor)?createComparator("<",i.version.increment("major")):isWildcard(i.patch)?createComparator("<",i.version.increment("minor")):createComparator("<=",i.version))}return true}function parseComparator(e,t,r){var n=parsePartial(t);if(!n)return false;var i=n.version,o=n.major,s=n.minor,c=n.patch;if(!isWildcard(o)){switch(e){case"~":r.push(createComparator(">=",i));r.push(createComparator("<",i.increment(isWildcard(s)?"major":"minor")));break;case"^":r.push(createComparator(">=",i));r.push(createComparator("<",i.increment(i.major>0||isWildcard(s)?"major":i.minor>0||isWildcard(c)?"minor":"patch")));break;case"<":case">=":r.push(createComparator(e,i));break;case"<=":case">":r.push(isWildcard(s)?createComparator(e==="<="?"<":">=",i.increment("major")):isWildcard(c)?createComparator(e==="<="?"<":">=",i.increment("minor")):createComparator(e,i));break;case"=":case undefined:if(isWildcard(s)||isWildcard(c)){r.push(createComparator(">=",i));r.push(createComparator("<",i.increment(isWildcard(s)?"major":"minor")))}else{r.push(createComparator("=",i))}break;default:return false}}else if(e==="<"||e===">"){r.push(createComparator("<",a.zero))}return true}function isWildcard(e){return e==="*"||e==="x"||e==="X"}function createComparator(e,t){return{operator:e,operand:t}}function testDisjunction(e,t){if(t.length===0)return true;for(var r=0,n=t;r":return i>0;case">=":return i>=0;case"=":return i===0;default:return e.Debug.assertNever(r)}}function formatDisjunction(t){return e.map(t,formatAlternative).join(" || ")||"*"}function formatAlternative(t){return e.map(t,formatComparator).join(" ")}function formatComparator(e){return""+e.operator+e.operand}})(l||(l={}));var l;(function(e){var t;(function(e){e[e["Unknown"]=0]="Unknown";e[e["EndOfFileToken"]=1]="EndOfFileToken";e[e["SingleLineCommentTrivia"]=2]="SingleLineCommentTrivia";e[e["MultiLineCommentTrivia"]=3]="MultiLineCommentTrivia";e[e["NewLineTrivia"]=4]="NewLineTrivia";e[e["WhitespaceTrivia"]=5]="WhitespaceTrivia";e[e["ShebangTrivia"]=6]="ShebangTrivia";e[e["ConflictMarkerTrivia"]=7]="ConflictMarkerTrivia";e[e["NumericLiteral"]=8]="NumericLiteral";e[e["BigIntLiteral"]=9]="BigIntLiteral";e[e["StringLiteral"]=10]="StringLiteral";e[e["JsxText"]=11]="JsxText";e[e["JsxTextAllWhiteSpaces"]=12]="JsxTextAllWhiteSpaces";e[e["RegularExpressionLiteral"]=13]="RegularExpressionLiteral";e[e["NoSubstitutionTemplateLiteral"]=14]="NoSubstitutionTemplateLiteral";e[e["TemplateHead"]=15]="TemplateHead";e[e["TemplateMiddle"]=16]="TemplateMiddle";e[e["TemplateTail"]=17]="TemplateTail";e[e["OpenBraceToken"]=18]="OpenBraceToken";e[e["CloseBraceToken"]=19]="CloseBraceToken";e[e["OpenParenToken"]=20]="OpenParenToken";e[e["CloseParenToken"]=21]="CloseParenToken";e[e["OpenBracketToken"]=22]="OpenBracketToken";e[e["CloseBracketToken"]=23]="CloseBracketToken";e[e["DotToken"]=24]="DotToken";e[e["DotDotDotToken"]=25]="DotDotDotToken";e[e["SemicolonToken"]=26]="SemicolonToken";e[e["CommaToken"]=27]="CommaToken";e[e["QuestionDotToken"]=28]="QuestionDotToken";e[e["LessThanToken"]=29]="LessThanToken";e[e["LessThanSlashToken"]=30]="LessThanSlashToken";e[e["GreaterThanToken"]=31]="GreaterThanToken";e[e["LessThanEqualsToken"]=32]="LessThanEqualsToken";e[e["GreaterThanEqualsToken"]=33]="GreaterThanEqualsToken";e[e["EqualsEqualsToken"]=34]="EqualsEqualsToken";e[e["ExclamationEqualsToken"]=35]="ExclamationEqualsToken";e[e["EqualsEqualsEqualsToken"]=36]="EqualsEqualsEqualsToken";e[e["ExclamationEqualsEqualsToken"]=37]="ExclamationEqualsEqualsToken";e[e["EqualsGreaterThanToken"]=38]="EqualsGreaterThanToken";e[e["PlusToken"]=39]="PlusToken";e[e["MinusToken"]=40]="MinusToken";e[e["AsteriskToken"]=41]="AsteriskToken";e[e["AsteriskAsteriskToken"]=42]="AsteriskAsteriskToken";e[e["SlashToken"]=43]="SlashToken";e[e["PercentToken"]=44]="PercentToken";e[e["PlusPlusToken"]=45]="PlusPlusToken";e[e["MinusMinusToken"]=46]="MinusMinusToken";e[e["LessThanLessThanToken"]=47]="LessThanLessThanToken";e[e["GreaterThanGreaterThanToken"]=48]="GreaterThanGreaterThanToken";e[e["GreaterThanGreaterThanGreaterThanToken"]=49]="GreaterThanGreaterThanGreaterThanToken";e[e["AmpersandToken"]=50]="AmpersandToken";e[e["BarToken"]=51]="BarToken";e[e["CaretToken"]=52]="CaretToken";e[e["ExclamationToken"]=53]="ExclamationToken";e[e["TildeToken"]=54]="TildeToken";e[e["AmpersandAmpersandToken"]=55]="AmpersandAmpersandToken";e[e["BarBarToken"]=56]="BarBarToken";e[e["QuestionToken"]=57]="QuestionToken";e[e["ColonToken"]=58]="ColonToken";e[e["AtToken"]=59]="AtToken";e[e["QuestionQuestionToken"]=60]="QuestionQuestionToken";e[e["BacktickToken"]=61]="BacktickToken";e[e["EqualsToken"]=62]="EqualsToken";e[e["PlusEqualsToken"]=63]="PlusEqualsToken";e[e["MinusEqualsToken"]=64]="MinusEqualsToken";e[e["AsteriskEqualsToken"]=65]="AsteriskEqualsToken";e[e["AsteriskAsteriskEqualsToken"]=66]="AsteriskAsteriskEqualsToken";e[e["SlashEqualsToken"]=67]="SlashEqualsToken";e[e["PercentEqualsToken"]=68]="PercentEqualsToken";e[e["LessThanLessThanEqualsToken"]=69]="LessThanLessThanEqualsToken";e[e["GreaterThanGreaterThanEqualsToken"]=70]="GreaterThanGreaterThanEqualsToken";e[e["GreaterThanGreaterThanGreaterThanEqualsToken"]=71]="GreaterThanGreaterThanGreaterThanEqualsToken";e[e["AmpersandEqualsToken"]=72]="AmpersandEqualsToken";e[e["BarEqualsToken"]=73]="BarEqualsToken";e[e["CaretEqualsToken"]=74]="CaretEqualsToken";e[e["Identifier"]=75]="Identifier";e[e["PrivateIdentifier"]=76]="PrivateIdentifier";e[e["BreakKeyword"]=77]="BreakKeyword";e[e["CaseKeyword"]=78]="CaseKeyword";e[e["CatchKeyword"]=79]="CatchKeyword";e[e["ClassKeyword"]=80]="ClassKeyword";e[e["ConstKeyword"]=81]="ConstKeyword";e[e["ContinueKeyword"]=82]="ContinueKeyword";e[e["DebuggerKeyword"]=83]="DebuggerKeyword";e[e["DefaultKeyword"]=84]="DefaultKeyword";e[e["DeleteKeyword"]=85]="DeleteKeyword";e[e["DoKeyword"]=86]="DoKeyword";e[e["ElseKeyword"]=87]="ElseKeyword";e[e["EnumKeyword"]=88]="EnumKeyword";e[e["ExportKeyword"]=89]="ExportKeyword";e[e["ExtendsKeyword"]=90]="ExtendsKeyword";e[e["FalseKeyword"]=91]="FalseKeyword";e[e["FinallyKeyword"]=92]="FinallyKeyword";e[e["ForKeyword"]=93]="ForKeyword";e[e["FunctionKeyword"]=94]="FunctionKeyword";e[e["IfKeyword"]=95]="IfKeyword";e[e["ImportKeyword"]=96]="ImportKeyword";e[e["InKeyword"]=97]="InKeyword";e[e["InstanceOfKeyword"]=98]="InstanceOfKeyword";e[e["NewKeyword"]=99]="NewKeyword";e[e["NullKeyword"]=100]="NullKeyword";e[e["ReturnKeyword"]=101]="ReturnKeyword";e[e["SuperKeyword"]=102]="SuperKeyword";e[e["SwitchKeyword"]=103]="SwitchKeyword";e[e["ThisKeyword"]=104]="ThisKeyword";e[e["ThrowKeyword"]=105]="ThrowKeyword";e[e["TrueKeyword"]=106]="TrueKeyword";e[e["TryKeyword"]=107]="TryKeyword";e[e["TypeOfKeyword"]=108]="TypeOfKeyword";e[e["VarKeyword"]=109]="VarKeyword";e[e["VoidKeyword"]=110]="VoidKeyword";e[e["WhileKeyword"]=111]="WhileKeyword";e[e["WithKeyword"]=112]="WithKeyword";e[e["ImplementsKeyword"]=113]="ImplementsKeyword";e[e["InterfaceKeyword"]=114]="InterfaceKeyword";e[e["LetKeyword"]=115]="LetKeyword";e[e["PackageKeyword"]=116]="PackageKeyword";e[e["PrivateKeyword"]=117]="PrivateKeyword";e[e["ProtectedKeyword"]=118]="ProtectedKeyword";e[e["PublicKeyword"]=119]="PublicKeyword";e[e["StaticKeyword"]=120]="StaticKeyword";e[e["YieldKeyword"]=121]="YieldKeyword";e[e["AbstractKeyword"]=122]="AbstractKeyword";e[e["AsKeyword"]=123]="AsKeyword";e[e["AssertsKeyword"]=124]="AssertsKeyword";e[e["AnyKeyword"]=125]="AnyKeyword";e[e["AsyncKeyword"]=126]="AsyncKeyword";e[e["AwaitKeyword"]=127]="AwaitKeyword";e[e["BooleanKeyword"]=128]="BooleanKeyword";e[e["ConstructorKeyword"]=129]="ConstructorKeyword";e[e["DeclareKeyword"]=130]="DeclareKeyword";e[e["GetKeyword"]=131]="GetKeyword";e[e["InferKeyword"]=132]="InferKeyword";e[e["IsKeyword"]=133]="IsKeyword";e[e["KeyOfKeyword"]=134]="KeyOfKeyword";e[e["ModuleKeyword"]=135]="ModuleKeyword";e[e["NamespaceKeyword"]=136]="NamespaceKeyword";e[e["NeverKeyword"]=137]="NeverKeyword";e[e["ReadonlyKeyword"]=138]="ReadonlyKeyword";e[e["RequireKeyword"]=139]="RequireKeyword";e[e["NumberKeyword"]=140]="NumberKeyword";e[e["ObjectKeyword"]=141]="ObjectKeyword";e[e["SetKeyword"]=142]="SetKeyword";e[e["StringKeyword"]=143]="StringKeyword";e[e["SymbolKeyword"]=144]="SymbolKeyword";e[e["TypeKeyword"]=145]="TypeKeyword";e[e["UndefinedKeyword"]=146]="UndefinedKeyword";e[e["UniqueKeyword"]=147]="UniqueKeyword";e[e["UnknownKeyword"]=148]="UnknownKeyword";e[e["FromKeyword"]=149]="FromKeyword";e[e["GlobalKeyword"]=150]="GlobalKeyword";e[e["BigIntKeyword"]=151]="BigIntKeyword";e[e["OfKeyword"]=152]="OfKeyword";e[e["QualifiedName"]=153]="QualifiedName";e[e["ComputedPropertyName"]=154]="ComputedPropertyName";e[e["TypeParameter"]=155]="TypeParameter";e[e["Parameter"]=156]="Parameter";e[e["Decorator"]=157]="Decorator";e[e["PropertySignature"]=158]="PropertySignature";e[e["PropertyDeclaration"]=159]="PropertyDeclaration";e[e["MethodSignature"]=160]="MethodSignature";e[e["MethodDeclaration"]=161]="MethodDeclaration";e[e["Constructor"]=162]="Constructor";e[e["GetAccessor"]=163]="GetAccessor";e[e["SetAccessor"]=164]="SetAccessor";e[e["CallSignature"]=165]="CallSignature";e[e["ConstructSignature"]=166]="ConstructSignature";e[e["IndexSignature"]=167]="IndexSignature";e[e["TypePredicate"]=168]="TypePredicate";e[e["TypeReference"]=169]="TypeReference";e[e["FunctionType"]=170]="FunctionType";e[e["ConstructorType"]=171]="ConstructorType";e[e["TypeQuery"]=172]="TypeQuery";e[e["TypeLiteral"]=173]="TypeLiteral";e[e["ArrayType"]=174]="ArrayType";e[e["TupleType"]=175]="TupleType";e[e["OptionalType"]=176]="OptionalType";e[e["RestType"]=177]="RestType";e[e["UnionType"]=178]="UnionType";e[e["IntersectionType"]=179]="IntersectionType";e[e["ConditionalType"]=180]="ConditionalType";e[e["InferType"]=181]="InferType";e[e["ParenthesizedType"]=182]="ParenthesizedType";e[e["ThisType"]=183]="ThisType";e[e["TypeOperator"]=184]="TypeOperator";e[e["IndexedAccessType"]=185]="IndexedAccessType";e[e["MappedType"]=186]="MappedType";e[e["LiteralType"]=187]="LiteralType";e[e["ImportType"]=188]="ImportType";e[e["ObjectBindingPattern"]=189]="ObjectBindingPattern";e[e["ArrayBindingPattern"]=190]="ArrayBindingPattern";e[e["BindingElement"]=191]="BindingElement";e[e["ArrayLiteralExpression"]=192]="ArrayLiteralExpression";e[e["ObjectLiteralExpression"]=193]="ObjectLiteralExpression";e[e["PropertyAccessExpression"]=194]="PropertyAccessExpression";e[e["ElementAccessExpression"]=195]="ElementAccessExpression";e[e["CallExpression"]=196]="CallExpression";e[e["NewExpression"]=197]="NewExpression";e[e["TaggedTemplateExpression"]=198]="TaggedTemplateExpression";e[e["TypeAssertionExpression"]=199]="TypeAssertionExpression";e[e["ParenthesizedExpression"]=200]="ParenthesizedExpression";e[e["FunctionExpression"]=201]="FunctionExpression";e[e["ArrowFunction"]=202]="ArrowFunction";e[e["DeleteExpression"]=203]="DeleteExpression";e[e["TypeOfExpression"]=204]="TypeOfExpression";e[e["VoidExpression"]=205]="VoidExpression";e[e["AwaitExpression"]=206]="AwaitExpression";e[e["PrefixUnaryExpression"]=207]="PrefixUnaryExpression";e[e["PostfixUnaryExpression"]=208]="PostfixUnaryExpression";e[e["BinaryExpression"]=209]="BinaryExpression";e[e["ConditionalExpression"]=210]="ConditionalExpression";e[e["TemplateExpression"]=211]="TemplateExpression";e[e["YieldExpression"]=212]="YieldExpression";e[e["SpreadElement"]=213]="SpreadElement";e[e["ClassExpression"]=214]="ClassExpression";e[e["OmittedExpression"]=215]="OmittedExpression";e[e["ExpressionWithTypeArguments"]=216]="ExpressionWithTypeArguments";e[e["AsExpression"]=217]="AsExpression";e[e["NonNullExpression"]=218]="NonNullExpression";e[e["MetaProperty"]=219]="MetaProperty";e[e["SyntheticExpression"]=220]="SyntheticExpression";e[e["TemplateSpan"]=221]="TemplateSpan";e[e["SemicolonClassElement"]=222]="SemicolonClassElement";e[e["Block"]=223]="Block";e[e["EmptyStatement"]=224]="EmptyStatement";e[e["VariableStatement"]=225]="VariableStatement";e[e["ExpressionStatement"]=226]="ExpressionStatement";e[e["IfStatement"]=227]="IfStatement";e[e["DoStatement"]=228]="DoStatement";e[e["WhileStatement"]=229]="WhileStatement";e[e["ForStatement"]=230]="ForStatement";e[e["ForInStatement"]=231]="ForInStatement";e[e["ForOfStatement"]=232]="ForOfStatement";e[e["ContinueStatement"]=233]="ContinueStatement";e[e["BreakStatement"]=234]="BreakStatement";e[e["ReturnStatement"]=235]="ReturnStatement";e[e["WithStatement"]=236]="WithStatement";e[e["SwitchStatement"]=237]="SwitchStatement";e[e["LabeledStatement"]=238]="LabeledStatement";e[e["ThrowStatement"]=239]="ThrowStatement";e[e["TryStatement"]=240]="TryStatement";e[e["DebuggerStatement"]=241]="DebuggerStatement";e[e["VariableDeclaration"]=242]="VariableDeclaration";e[e["VariableDeclarationList"]=243]="VariableDeclarationList";e[e["FunctionDeclaration"]=244]="FunctionDeclaration";e[e["ClassDeclaration"]=245]="ClassDeclaration";e[e["InterfaceDeclaration"]=246]="InterfaceDeclaration";e[e["TypeAliasDeclaration"]=247]="TypeAliasDeclaration";e[e["EnumDeclaration"]=248]="EnumDeclaration";e[e["ModuleDeclaration"]=249]="ModuleDeclaration";e[e["ModuleBlock"]=250]="ModuleBlock";e[e["CaseBlock"]=251]="CaseBlock";e[e["NamespaceExportDeclaration"]=252]="NamespaceExportDeclaration";e[e["ImportEqualsDeclaration"]=253]="ImportEqualsDeclaration";e[e["ImportDeclaration"]=254]="ImportDeclaration";e[e["ImportClause"]=255]="ImportClause";e[e["NamespaceImport"]=256]="NamespaceImport";e[e["NamedImports"]=257]="NamedImports";e[e["ImportSpecifier"]=258]="ImportSpecifier";e[e["ExportAssignment"]=259]="ExportAssignment";e[e["ExportDeclaration"]=260]="ExportDeclaration";e[e["NamedExports"]=261]="NamedExports";e[e["NamespaceExport"]=262]="NamespaceExport";e[e["ExportSpecifier"]=263]="ExportSpecifier";e[e["MissingDeclaration"]=264]="MissingDeclaration";e[e["ExternalModuleReference"]=265]="ExternalModuleReference";e[e["JsxElement"]=266]="JsxElement";e[e["JsxSelfClosingElement"]=267]="JsxSelfClosingElement";e[e["JsxOpeningElement"]=268]="JsxOpeningElement";e[e["JsxClosingElement"]=269]="JsxClosingElement";e[e["JsxFragment"]=270]="JsxFragment";e[e["JsxOpeningFragment"]=271]="JsxOpeningFragment";e[e["JsxClosingFragment"]=272]="JsxClosingFragment";e[e["JsxAttribute"]=273]="JsxAttribute";e[e["JsxAttributes"]=274]="JsxAttributes";e[e["JsxSpreadAttribute"]=275]="JsxSpreadAttribute";e[e["JsxExpression"]=276]="JsxExpression";e[e["CaseClause"]=277]="CaseClause";e[e["DefaultClause"]=278]="DefaultClause";e[e["HeritageClause"]=279]="HeritageClause";e[e["CatchClause"]=280]="CatchClause";e[e["PropertyAssignment"]=281]="PropertyAssignment";e[e["ShorthandPropertyAssignment"]=282]="ShorthandPropertyAssignment";e[e["SpreadAssignment"]=283]="SpreadAssignment";e[e["EnumMember"]=284]="EnumMember";e[e["UnparsedPrologue"]=285]="UnparsedPrologue";e[e["UnparsedPrepend"]=286]="UnparsedPrepend";e[e["UnparsedText"]=287]="UnparsedText";e[e["UnparsedInternalText"]=288]="UnparsedInternalText";e[e["UnparsedSyntheticReference"]=289]="UnparsedSyntheticReference";e[e["SourceFile"]=290]="SourceFile";e[e["Bundle"]=291]="Bundle";e[e["UnparsedSource"]=292]="UnparsedSource";e[e["InputFiles"]=293]="InputFiles";e[e["JSDocTypeExpression"]=294]="JSDocTypeExpression";e[e["JSDocAllType"]=295]="JSDocAllType";e[e["JSDocUnknownType"]=296]="JSDocUnknownType";e[e["JSDocNullableType"]=297]="JSDocNullableType";e[e["JSDocNonNullableType"]=298]="JSDocNonNullableType";e[e["JSDocOptionalType"]=299]="JSDocOptionalType";e[e["JSDocFunctionType"]=300]="JSDocFunctionType";e[e["JSDocVariadicType"]=301]="JSDocVariadicType";e[e["JSDocNamepathType"]=302]="JSDocNamepathType";e[e["JSDocComment"]=303]="JSDocComment";e[e["JSDocTypeLiteral"]=304]="JSDocTypeLiteral";e[e["JSDocSignature"]=305]="JSDocSignature";e[e["JSDocTag"]=306]="JSDocTag";e[e["JSDocAugmentsTag"]=307]="JSDocAugmentsTag";e[e["JSDocImplementsTag"]=308]="JSDocImplementsTag";e[e["JSDocAuthorTag"]=309]="JSDocAuthorTag";e[e["JSDocClassTag"]=310]="JSDocClassTag";e[e["JSDocPublicTag"]=311]="JSDocPublicTag";e[e["JSDocPrivateTag"]=312]="JSDocPrivateTag";e[e["JSDocProtectedTag"]=313]="JSDocProtectedTag";e[e["JSDocReadonlyTag"]=314]="JSDocReadonlyTag";e[e["JSDocCallbackTag"]=315]="JSDocCallbackTag";e[e["JSDocEnumTag"]=316]="JSDocEnumTag";e[e["JSDocParameterTag"]=317]="JSDocParameterTag";e[e["JSDocReturnTag"]=318]="JSDocReturnTag";e[e["JSDocThisTag"]=319]="JSDocThisTag";e[e["JSDocTypeTag"]=320]="JSDocTypeTag";e[e["JSDocTemplateTag"]=321]="JSDocTemplateTag";e[e["JSDocTypedefTag"]=322]="JSDocTypedefTag";e[e["JSDocPropertyTag"]=323]="JSDocPropertyTag";e[e["SyntaxList"]=324]="SyntaxList";e[e["NotEmittedStatement"]=325]="NotEmittedStatement";e[e["PartiallyEmittedExpression"]=326]="PartiallyEmittedExpression";e[e["CommaListExpression"]=327]="CommaListExpression";e[e["MergeDeclarationMarker"]=328]="MergeDeclarationMarker";e[e["EndOfDeclarationMarker"]=329]="EndOfDeclarationMarker";e[e["SyntheticReferenceExpression"]=330]="SyntheticReferenceExpression";e[e["Count"]=331]="Count";e[e["FirstAssignment"]=62]="FirstAssignment";e[e["LastAssignment"]=74]="LastAssignment";e[e["FirstCompoundAssignment"]=63]="FirstCompoundAssignment";e[e["LastCompoundAssignment"]=74]="LastCompoundAssignment";e[e["FirstReservedWord"]=77]="FirstReservedWord";e[e["LastReservedWord"]=112]="LastReservedWord";e[e["FirstKeyword"]=77]="FirstKeyword";e[e["LastKeyword"]=152]="LastKeyword";e[e["FirstFutureReservedWord"]=113]="FirstFutureReservedWord";e[e["LastFutureReservedWord"]=121]="LastFutureReservedWord";e[e["FirstTypeNode"]=168]="FirstTypeNode";e[e["LastTypeNode"]=188]="LastTypeNode";e[e["FirstPunctuation"]=18]="FirstPunctuation";e[e["LastPunctuation"]=74]="LastPunctuation";e[e["FirstToken"]=0]="FirstToken";e[e["LastToken"]=152]="LastToken";e[e["FirstTriviaToken"]=2]="FirstTriviaToken";e[e["LastTriviaToken"]=7]="LastTriviaToken";e[e["FirstLiteralToken"]=8]="FirstLiteralToken";e[e["LastLiteralToken"]=14]="LastLiteralToken";e[e["FirstTemplateToken"]=14]="FirstTemplateToken";e[e["LastTemplateToken"]=17]="LastTemplateToken";e[e["FirstBinaryOperator"]=29]="FirstBinaryOperator";e[e["LastBinaryOperator"]=74]="LastBinaryOperator";e[e["FirstStatement"]=225]="FirstStatement";e[e["LastStatement"]=241]="LastStatement";e[e["FirstNode"]=153]="FirstNode";e[e["FirstJSDocNode"]=294]="FirstJSDocNode";e[e["LastJSDocNode"]=323]="LastJSDocNode";e[e["FirstJSDocTagNode"]=306]="FirstJSDocTagNode";e[e["LastJSDocTagNode"]=323]="LastJSDocTagNode";e[e["FirstContextualKeyword"]=122]="FirstContextualKeyword";e[e["LastContextualKeyword"]=152]="LastContextualKeyword"})(t=e.SyntaxKind||(e.SyntaxKind={}));var r;(function(e){e[e["None"]=0]="None";e[e["Let"]=1]="Let";e[e["Const"]=2]="Const";e[e["NestedNamespace"]=4]="NestedNamespace";e[e["Synthesized"]=8]="Synthesized";e[e["Namespace"]=16]="Namespace";e[e["OptionalChain"]=32]="OptionalChain";e[e["ExportContext"]=64]="ExportContext";e[e["ContainsThis"]=128]="ContainsThis";e[e["HasImplicitReturn"]=256]="HasImplicitReturn";e[e["HasExplicitReturn"]=512]="HasExplicitReturn";e[e["GlobalAugmentation"]=1024]="GlobalAugmentation";e[e["HasAsyncFunctions"]=2048]="HasAsyncFunctions";e[e["DisallowInContext"]=4096]="DisallowInContext";e[e["YieldContext"]=8192]="YieldContext";e[e["DecoratorContext"]=16384]="DecoratorContext";e[e["AwaitContext"]=32768]="AwaitContext";e[e["ThisNodeHasError"]=65536]="ThisNodeHasError";e[e["JavaScriptFile"]=131072]="JavaScriptFile";e[e["ThisNodeOrAnySubNodesHasError"]=262144]="ThisNodeOrAnySubNodesHasError";e[e["HasAggregatedChildData"]=524288]="HasAggregatedChildData";e[e["PossiblyContainsDynamicImport"]=1048576]="PossiblyContainsDynamicImport";e[e["PossiblyContainsImportMeta"]=2097152]="PossiblyContainsImportMeta";e[e["JSDoc"]=4194304]="JSDoc";e[e["Ambient"]=8388608]="Ambient";e[e["InWithStatement"]=16777216]="InWithStatement";e[e["JsonFile"]=33554432]="JsonFile";e[e["TypeCached"]=67108864]="TypeCached";e[e["BlockScoped"]=3]="BlockScoped";e[e["ReachabilityCheckFlags"]=768]="ReachabilityCheckFlags";e[e["ReachabilityAndEmitFlags"]=2816]="ReachabilityAndEmitFlags";e[e["ContextFlags"]=25358336]="ContextFlags";e[e["TypeExcludesFlags"]=40960]="TypeExcludesFlags";e[e["PermanentlySetIncrementalFlags"]=3145728]="PermanentlySetIncrementalFlags"})(r=e.NodeFlags||(e.NodeFlags={}));var n;(function(e){e[e["None"]=0]="None";e[e["Export"]=1]="Export";e[e["Ambient"]=2]="Ambient";e[e["Public"]=4]="Public";e[e["Private"]=8]="Private";e[e["Protected"]=16]="Protected";e[e["Static"]=32]="Static";e[e["Readonly"]=64]="Readonly";e[e["Abstract"]=128]="Abstract";e[e["Async"]=256]="Async";e[e["Default"]=512]="Default";e[e["Const"]=2048]="Const";e[e["HasComputedFlags"]=536870912]="HasComputedFlags";e[e["AccessibilityModifier"]=28]="AccessibilityModifier";e[e["ParameterPropertyModifier"]=92]="ParameterPropertyModifier";e[e["NonPublicAccessibilityModifier"]=24]="NonPublicAccessibilityModifier";e[e["TypeScriptModifier"]=2270]="TypeScriptModifier";e[e["ExportDefault"]=513]="ExportDefault";e[e["All"]=3071]="All"})(n=e.ModifierFlags||(e.ModifierFlags={}));var i;(function(e){e[e["None"]=0]="None";e[e["IntrinsicNamedElement"]=1]="IntrinsicNamedElement";e[e["IntrinsicIndexedElement"]=2]="IntrinsicIndexedElement";e[e["IntrinsicElement"]=3]="IntrinsicElement"})(i=e.JsxFlags||(e.JsxFlags={}));var a;(function(e){e[e["Succeeded"]=1]="Succeeded";e[e["Failed"]=2]="Failed";e[e["Reported"]=4]="Reported";e[e["ReportsUnmeasurable"]=8]="ReportsUnmeasurable";e[e["ReportsUnreliable"]=16]="ReportsUnreliable";e[e["ReportsMask"]=24]="ReportsMask"})(a=e.RelationComparisonResult||(e.RelationComparisonResult={}));var o;(function(e){e[e["None"]=0]="None";e[e["Auto"]=1]="Auto";e[e["Loop"]=2]="Loop";e[e["Unique"]=3]="Unique";e[e["Node"]=4]="Node";e[e["KindMask"]=7]="KindMask";e[e["ReservedInNestedScopes"]=8]="ReservedInNestedScopes";e[e["Optimistic"]=16]="Optimistic";e[e["FileLevel"]=32]="FileLevel"})(o=e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={}));var s;(function(e){e[e["None"]=0]="None";e[e["PrecedingLineBreak"]=1]="PrecedingLineBreak";e[e["PrecedingJSDocComment"]=2]="PrecedingJSDocComment";e[e["Unterminated"]=4]="Unterminated";e[e["ExtendedUnicodeEscape"]=8]="ExtendedUnicodeEscape";e[e["Scientific"]=16]="Scientific";e[e["Octal"]=32]="Octal";e[e["HexSpecifier"]=64]="HexSpecifier";e[e["BinarySpecifier"]=128]="BinarySpecifier";e[e["OctalSpecifier"]=256]="OctalSpecifier";e[e["ContainsSeparator"]=512]="ContainsSeparator";e[e["UnicodeEscape"]=1024]="UnicodeEscape";e[e["ContainsInvalidEscape"]=2048]="ContainsInvalidEscape";e[e["BinaryOrOctalSpecifier"]=384]="BinaryOrOctalSpecifier";e[e["NumericLiteralFlags"]=1008]="NumericLiteralFlags"})(s=e.TokenFlags||(e.TokenFlags={}));var c;(function(e){e[e["Unreachable"]=1]="Unreachable";e[e["Start"]=2]="Start";e[e["BranchLabel"]=4]="BranchLabel";e[e["LoopLabel"]=8]="LoopLabel";e[e["Assignment"]=16]="Assignment";e[e["TrueCondition"]=32]="TrueCondition";e[e["FalseCondition"]=64]="FalseCondition";e[e["SwitchClause"]=128]="SwitchClause";e[e["ArrayMutation"]=256]="ArrayMutation";e[e["Call"]=512]="Call";e[e["ReduceLabel"]=1024]="ReduceLabel";e[e["Referenced"]=2048]="Referenced";e[e["Shared"]=4096]="Shared";e[e["Label"]=12]="Label";e[e["Condition"]=96]="Condition"})(c=e.FlowFlags||(e.FlowFlags={}));var l;(function(e){e[e["ExpectError"]=0]="ExpectError";e[e["Ignore"]=1]="Ignore"})(l=e.CommentDirectiveType||(e.CommentDirectiveType={}));var u=function(){function OperationCanceledException(){}return OperationCanceledException}();e.OperationCanceledException=u;var d;(function(e){e[e["Import"]=0]="Import";e[e["ReferenceFile"]=1]="ReferenceFile";e[e["TypeReferenceDirective"]=2]="TypeReferenceDirective"})(d=e.RefFileKind||(e.RefFileKind={}));var p;(function(e){e[e["Not"]=0]="Not";e[e["SafeModules"]=1]="SafeModules";e[e["Completely"]=2]="Completely"})(p=e.StructureIsReused||(e.StructureIsReused={}));var f;(function(e){e[e["Success"]=0]="Success";e[e["DiagnosticsPresent_OutputsSkipped"]=1]="DiagnosticsPresent_OutputsSkipped";e[e["DiagnosticsPresent_OutputsGenerated"]=2]="DiagnosticsPresent_OutputsGenerated";e[e["InvalidProject_OutputsSkipped"]=3]="InvalidProject_OutputsSkipped";e[e["ProjectReferenceCycle_OutputsSkipped"]=4]="ProjectReferenceCycle_OutputsSkipped";e[e["ProjectReferenceCycle_OutputsSkupped"]=4]="ProjectReferenceCycle_OutputsSkupped"})(f=e.ExitStatus||(e.ExitStatus={}));var g;(function(e){e[e["None"]=0]="None";e[e["Literal"]=1]="Literal";e[e["Subtype"]=2]="Subtype"})(g=e.UnionReduction||(e.UnionReduction={}));var m;(function(e){e[e["None"]=0]="None";e[e["Signature"]=1]="Signature";e[e["NoConstraints"]=2]="NoConstraints";e[e["Completions"]=4]="Completions"})(m=e.ContextFlags||(e.ContextFlags={}));var _;(function(e){e[e["None"]=0]="None";e[e["NoTruncation"]=1]="NoTruncation";e[e["WriteArrayAsGenericType"]=2]="WriteArrayAsGenericType";e[e["GenerateNamesForShadowedTypeParams"]=4]="GenerateNamesForShadowedTypeParams";e[e["UseStructuralFallback"]=8]="UseStructuralFallback";e[e["ForbidIndexedAccessSymbolReferences"]=16]="ForbidIndexedAccessSymbolReferences";e[e["WriteTypeArgumentsOfSignature"]=32]="WriteTypeArgumentsOfSignature";e[e["UseFullyQualifiedType"]=64]="UseFullyQualifiedType";e[e["UseOnlyExternalAliasing"]=128]="UseOnlyExternalAliasing";e[e["SuppressAnyReturnType"]=256]="SuppressAnyReturnType";e[e["WriteTypeParametersInQualifiedName"]=512]="WriteTypeParametersInQualifiedName";e[e["MultilineObjectLiterals"]=1024]="MultilineObjectLiterals";e[e["WriteClassExpressionAsTypeLiteral"]=2048]="WriteClassExpressionAsTypeLiteral";e[e["UseTypeOfFunction"]=4096]="UseTypeOfFunction";e[e["OmitParameterModifiers"]=8192]="OmitParameterModifiers";e[e["UseAliasDefinedOutsideCurrentScope"]=16384]="UseAliasDefinedOutsideCurrentScope";e[e["UseSingleQuotesForStringLiteralType"]=268435456]="UseSingleQuotesForStringLiteralType";e[e["NoTypeReduction"]=536870912]="NoTypeReduction";e[e["AllowThisInObjectLiteral"]=32768]="AllowThisInObjectLiteral";e[e["AllowQualifedNameInPlaceOfIdentifier"]=65536]="AllowQualifedNameInPlaceOfIdentifier";e[e["AllowAnonymousIdentifier"]=131072]="AllowAnonymousIdentifier";e[e["AllowEmptyUnionOrIntersection"]=262144]="AllowEmptyUnionOrIntersection";e[e["AllowEmptyTuple"]=524288]="AllowEmptyTuple";e[e["AllowUniqueESSymbolType"]=1048576]="AllowUniqueESSymbolType";e[e["AllowEmptyIndexInfoType"]=2097152]="AllowEmptyIndexInfoType";e[e["AllowNodeModulesRelativePaths"]=67108864]="AllowNodeModulesRelativePaths";e[e["DoNotIncludeSymbolChain"]=134217728]="DoNotIncludeSymbolChain";e[e["IgnoreErrors"]=70221824]="IgnoreErrors";e[e["InObjectTypeLiteral"]=4194304]="InObjectTypeLiteral";e[e["InTypeAlias"]=8388608]="InTypeAlias";e[e["InInitialEntityName"]=16777216]="InInitialEntityName";e[e["InReverseMappedType"]=33554432]="InReverseMappedType"})(_=e.NodeBuilderFlags||(e.NodeBuilderFlags={}));var y;(function(e){e[e["None"]=0]="None";e[e["NoTruncation"]=1]="NoTruncation";e[e["WriteArrayAsGenericType"]=2]="WriteArrayAsGenericType";e[e["UseStructuralFallback"]=8]="UseStructuralFallback";e[e["WriteTypeArgumentsOfSignature"]=32]="WriteTypeArgumentsOfSignature";e[e["UseFullyQualifiedType"]=64]="UseFullyQualifiedType";e[e["SuppressAnyReturnType"]=256]="SuppressAnyReturnType";e[e["MultilineObjectLiterals"]=1024]="MultilineObjectLiterals";e[e["WriteClassExpressionAsTypeLiteral"]=2048]="WriteClassExpressionAsTypeLiteral";e[e["UseTypeOfFunction"]=4096]="UseTypeOfFunction";e[e["OmitParameterModifiers"]=8192]="OmitParameterModifiers";e[e["UseAliasDefinedOutsideCurrentScope"]=16384]="UseAliasDefinedOutsideCurrentScope";e[e["UseSingleQuotesForStringLiteralType"]=268435456]="UseSingleQuotesForStringLiteralType";e[e["NoTypeReduction"]=536870912]="NoTypeReduction";e[e["AllowUniqueESSymbolType"]=1048576]="AllowUniqueESSymbolType";e[e["AddUndefined"]=131072]="AddUndefined";e[e["WriteArrowStyleSignature"]=262144]="WriteArrowStyleSignature";e[e["InArrayType"]=524288]="InArrayType";e[e["InElementType"]=2097152]="InElementType";e[e["InFirstTypeArgument"]=4194304]="InFirstTypeArgument";e[e["InTypeAlias"]=8388608]="InTypeAlias";e[e["WriteOwnNameForAnyLike"]=0]="WriteOwnNameForAnyLike";e[e["NodeBuilderFlagsMask"]=814775659]="NodeBuilderFlagsMask"})(y=e.TypeFormatFlags||(e.TypeFormatFlags={}));var h;(function(e){e[e["None"]=0]="None";e[e["WriteTypeParametersOrArguments"]=1]="WriteTypeParametersOrArguments";e[e["UseOnlyExternalAliasing"]=2]="UseOnlyExternalAliasing";e[e["AllowAnyNodeKind"]=4]="AllowAnyNodeKind";e[e["UseAliasDefinedOutsideCurrentScope"]=8]="UseAliasDefinedOutsideCurrentScope";e[e["DoNotIncludeSymbolChain"]=16]="DoNotIncludeSymbolChain"})(h=e.SymbolFormatFlags||(e.SymbolFormatFlags={}));var v;(function(e){e[e["Accessible"]=0]="Accessible";e[e["NotAccessible"]=1]="NotAccessible";e[e["CannotBeNamed"]=2]="CannotBeNamed"})(v=e.SymbolAccessibility||(e.SymbolAccessibility={}));var T;(function(e){e[e["UnionOrIntersection"]=0]="UnionOrIntersection";e[e["Spread"]=1]="Spread"})(T=e.SyntheticSymbolKind||(e.SyntheticSymbolKind={}));var b;(function(e){e[e["This"]=0]="This";e[e["Identifier"]=1]="Identifier";e[e["AssertsThis"]=2]="AssertsThis";e[e["AssertsIdentifier"]=3]="AssertsIdentifier"})(b=e.TypePredicateKind||(e.TypePredicateKind={}));var S;(function(e){e[e["Unknown"]=0]="Unknown";e[e["TypeWithConstructSignatureAndValue"]=1]="TypeWithConstructSignatureAndValue";e[e["VoidNullableOrNeverType"]=2]="VoidNullableOrNeverType";e[e["NumberLikeType"]=3]="NumberLikeType";e[e["BigIntLikeType"]=4]="BigIntLikeType";e[e["StringLikeType"]=5]="StringLikeType";e[e["BooleanType"]=6]="BooleanType";e[e["ArrayLikeType"]=7]="ArrayLikeType";e[e["ESSymbolType"]=8]="ESSymbolType";e[e["Promise"]=9]="Promise";e[e["TypeWithCallSignature"]=10]="TypeWithCallSignature";e[e["ObjectType"]=11]="ObjectType"})(S=e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={}));var x;(function(e){e[e["None"]=0]="None";e[e["FunctionScopedVariable"]=1]="FunctionScopedVariable";e[e["BlockScopedVariable"]=2]="BlockScopedVariable";e[e["Property"]=4]="Property";e[e["EnumMember"]=8]="EnumMember";e[e["Function"]=16]="Function";e[e["Class"]=32]="Class";e[e["Interface"]=64]="Interface";e[e["ConstEnum"]=128]="ConstEnum";e[e["RegularEnum"]=256]="RegularEnum";e[e["ValueModule"]=512]="ValueModule";e[e["NamespaceModule"]=1024]="NamespaceModule";e[e["TypeLiteral"]=2048]="TypeLiteral";e[e["ObjectLiteral"]=4096]="ObjectLiteral";e[e["Method"]=8192]="Method";e[e["Constructor"]=16384]="Constructor";e[e["GetAccessor"]=32768]="GetAccessor";e[e["SetAccessor"]=65536]="SetAccessor";e[e["Signature"]=131072]="Signature";e[e["TypeParameter"]=262144]="TypeParameter";e[e["TypeAlias"]=524288]="TypeAlias";e[e["ExportValue"]=1048576]="ExportValue";e[e["Alias"]=2097152]="Alias";e[e["Prototype"]=4194304]="Prototype";e[e["ExportStar"]=8388608]="ExportStar";e[e["Optional"]=16777216]="Optional";e[e["Transient"]=33554432]="Transient";e[e["Assignment"]=67108864]="Assignment";e[e["ModuleExports"]=134217728]="ModuleExports";e[e["All"]=67108863]="All";e[e["Enum"]=384]="Enum";e[e["Variable"]=3]="Variable";e[e["Value"]=111551]="Value";e[e["Type"]=788968]="Type";e[e["Namespace"]=1920]="Namespace";e[e["Module"]=1536]="Module";e[e["Accessor"]=98304]="Accessor";e[e["FunctionScopedVariableExcludes"]=111550]="FunctionScopedVariableExcludes";e[e["BlockScopedVariableExcludes"]=111551]="BlockScopedVariableExcludes";e[e["ParameterExcludes"]=111551]="ParameterExcludes";e[e["PropertyExcludes"]=0]="PropertyExcludes";e[e["EnumMemberExcludes"]=900095]="EnumMemberExcludes";e[e["FunctionExcludes"]=110991]="FunctionExcludes";e[e["ClassExcludes"]=899503]="ClassExcludes";e[e["InterfaceExcludes"]=788872]="InterfaceExcludes";e[e["RegularEnumExcludes"]=899327]="RegularEnumExcludes";e[e["ConstEnumExcludes"]=899967]="ConstEnumExcludes";e[e["ValueModuleExcludes"]=110735]="ValueModuleExcludes";e[e["NamespaceModuleExcludes"]=0]="NamespaceModuleExcludes";e[e["MethodExcludes"]=103359]="MethodExcludes";e[e["GetAccessorExcludes"]=46015]="GetAccessorExcludes";e[e["SetAccessorExcludes"]=78783]="SetAccessorExcludes";e[e["TypeParameterExcludes"]=526824]="TypeParameterExcludes";e[e["TypeAliasExcludes"]=788968]="TypeAliasExcludes";e[e["AliasExcludes"]=2097152]="AliasExcludes";e[e["ModuleMember"]=2623475]="ModuleMember";e[e["ExportHasLocal"]=944]="ExportHasLocal";e[e["BlockScoped"]=418]="BlockScoped";e[e["PropertyOrAccessor"]=98308]="PropertyOrAccessor";e[e["ClassMember"]=106500]="ClassMember";e[e["ExportSupportsDefaultModifier"]=112]="ExportSupportsDefaultModifier";e[e["ExportDoesNotSupportDefaultModifier"]=-113]="ExportDoesNotSupportDefaultModifier";e[e["Classifiable"]=2885600]="Classifiable";e[e["LateBindingContainer"]=6256]="LateBindingContainer"})(x=e.SymbolFlags||(e.SymbolFlags={}));var D;(function(e){e[e["Numeric"]=0]="Numeric";e[e["Literal"]=1]="Literal"})(D=e.EnumKind||(e.EnumKind={}));var C;(function(e){e[e["Instantiated"]=1]="Instantiated";e[e["SyntheticProperty"]=2]="SyntheticProperty";e[e["SyntheticMethod"]=4]="SyntheticMethod";e[e["Readonly"]=8]="Readonly";e[e["ReadPartial"]=16]="ReadPartial";e[e["WritePartial"]=32]="WritePartial";e[e["HasNonUniformType"]=64]="HasNonUniformType";e[e["HasLiteralType"]=128]="HasLiteralType";e[e["ContainsPublic"]=256]="ContainsPublic";e[e["ContainsProtected"]=512]="ContainsProtected";e[e["ContainsPrivate"]=1024]="ContainsPrivate";e[e["ContainsStatic"]=2048]="ContainsStatic";e[e["Late"]=4096]="Late";e[e["ReverseMapped"]=8192]="ReverseMapped";e[e["OptionalParameter"]=16384]="OptionalParameter";e[e["RestParameter"]=32768]="RestParameter";e[e["DeferredType"]=65536]="DeferredType";e[e["HasNeverType"]=131072]="HasNeverType";e[e["Mapped"]=262144]="Mapped";e[e["StripOptional"]=524288]="StripOptional";e[e["Synthetic"]=6]="Synthetic";e[e["Discriminant"]=192]="Discriminant";e[e["Partial"]=48]="Partial"})(C=e.CheckFlags||(e.CheckFlags={}));var E;(function(e){e["Call"]="__call";e["Constructor"]="__constructor";e["New"]="__new";e["Index"]="__index";e["ExportStar"]="__export";e["Global"]="__global";e["Missing"]="__missing";e["Type"]="__type";e["Object"]="__object";e["JSXAttributes"]="__jsxAttributes";e["Class"]="__class";e["Function"]="__function";e["Computed"]="__computed";e["Resolving"]="__resolving__";e["ExportEquals"]="export=";e["Default"]="default";e["This"]="this"})(E=e.InternalSymbolName||(e.InternalSymbolName={}));var N;(function(e){e[e["TypeChecked"]=1]="TypeChecked";e[e["LexicalThis"]=2]="LexicalThis";e[e["CaptureThis"]=4]="CaptureThis";e[e["CaptureNewTarget"]=8]="CaptureNewTarget";e[e["SuperInstance"]=256]="SuperInstance";e[e["SuperStatic"]=512]="SuperStatic";e[e["ContextChecked"]=1024]="ContextChecked";e[e["AsyncMethodWithSuper"]=2048]="AsyncMethodWithSuper";e[e["AsyncMethodWithSuperBinding"]=4096]="AsyncMethodWithSuperBinding";e[e["CaptureArguments"]=8192]="CaptureArguments";e[e["EnumValuesComputed"]=16384]="EnumValuesComputed";e[e["LexicalModuleMergesWithClass"]=32768]="LexicalModuleMergesWithClass";e[e["LoopWithCapturedBlockScopedBinding"]=65536]="LoopWithCapturedBlockScopedBinding";e[e["ContainsCapturedBlockScopeBinding"]=131072]="ContainsCapturedBlockScopeBinding";e[e["CapturedBlockScopedBinding"]=262144]="CapturedBlockScopedBinding";e[e["BlockScopedBindingInLoop"]=524288]="BlockScopedBindingInLoop";e[e["ClassWithBodyScopedClassBinding"]=1048576]="ClassWithBodyScopedClassBinding";e[e["BodyScopedClassBinding"]=2097152]="BodyScopedClassBinding";e[e["NeedsLoopOutParameter"]=4194304]="NeedsLoopOutParameter";e[e["AssignmentsMarked"]=8388608]="AssignmentsMarked";e[e["ClassWithConstructorReference"]=16777216]="ClassWithConstructorReference";e[e["ConstructorReferenceInClass"]=33554432]="ConstructorReferenceInClass";e[e["ContainsClassWithPrivateIdentifiers"]=67108864]="ContainsClassWithPrivateIdentifiers"})(N=e.NodeCheckFlags||(e.NodeCheckFlags={}));var k;(function(e){e[e["Any"]=1]="Any";e[e["Unknown"]=2]="Unknown";e[e["String"]=4]="String";e[e["Number"]=8]="Number";e[e["Boolean"]=16]="Boolean";e[e["Enum"]=32]="Enum";e[e["BigInt"]=64]="BigInt";e[e["StringLiteral"]=128]="StringLiteral";e[e["NumberLiteral"]=256]="NumberLiteral";e[e["BooleanLiteral"]=512]="BooleanLiteral";e[e["EnumLiteral"]=1024]="EnumLiteral";e[e["BigIntLiteral"]=2048]="BigIntLiteral";e[e["ESSymbol"]=4096]="ESSymbol";e[e["UniqueESSymbol"]=8192]="UniqueESSymbol";e[e["Void"]=16384]="Void";e[e["Undefined"]=32768]="Undefined";e[e["Null"]=65536]="Null";e[e["Never"]=131072]="Never";e[e["TypeParameter"]=262144]="TypeParameter";e[e["Object"]=524288]="Object";e[e["Union"]=1048576]="Union";e[e["Intersection"]=2097152]="Intersection";e[e["Index"]=4194304]="Index";e[e["IndexedAccess"]=8388608]="IndexedAccess";e[e["Conditional"]=16777216]="Conditional";e[e["Substitution"]=33554432]="Substitution";e[e["NonPrimitive"]=67108864]="NonPrimitive";e[e["AnyOrUnknown"]=3]="AnyOrUnknown";e[e["Nullable"]=98304]="Nullable";e[e["Literal"]=2944]="Literal";e[e["Unit"]=109440]="Unit";e[e["StringOrNumberLiteral"]=384]="StringOrNumberLiteral";e[e["StringOrNumberLiteralOrUnique"]=8576]="StringOrNumberLiteralOrUnique";e[e["DefinitelyFalsy"]=117632]="DefinitelyFalsy";e[e["PossiblyFalsy"]=117724]="PossiblyFalsy";e[e["Intrinsic"]=67359327]="Intrinsic";e[e["Primitive"]=131068]="Primitive";e[e["StringLike"]=132]="StringLike";e[e["NumberLike"]=296]="NumberLike";e[e["BigIntLike"]=2112]="BigIntLike";e[e["BooleanLike"]=528]="BooleanLike";e[e["EnumLike"]=1056]="EnumLike";e[e["ESSymbolLike"]=12288]="ESSymbolLike";e[e["VoidLike"]=49152]="VoidLike";e[e["DisjointDomains"]=67238908]="DisjointDomains";e[e["UnionOrIntersection"]=3145728]="UnionOrIntersection";e[e["StructuredType"]=3670016]="StructuredType";e[e["TypeVariable"]=8650752]="TypeVariable";e[e["InstantiableNonPrimitive"]=58982400]="InstantiableNonPrimitive";e[e["InstantiablePrimitive"]=4194304]="InstantiablePrimitive";e[e["Instantiable"]=63176704]="Instantiable";e[e["StructuredOrInstantiable"]=66846720]="StructuredOrInstantiable";e[e["ObjectFlagsType"]=3899393]="ObjectFlagsType";e[e["Simplifiable"]=25165824]="Simplifiable";e[e["Substructure"]=66584576]="Substructure";e[e["Narrowable"]=133970943]="Narrowable";e[e["NotUnionOrUnit"]=67637251]="NotUnionOrUnit";e[e["NotPrimitiveUnion"]=66994211]="NotPrimitiveUnion";e[e["IncludesMask"]=71041023]="IncludesMask";e[e["IncludesStructuredOrInstantiable"]=262144]="IncludesStructuredOrInstantiable";e[e["IncludesNonWideningType"]=4194304]="IncludesNonWideningType";e[e["IncludesWildcard"]=8388608]="IncludesWildcard";e[e["IncludesEmptyObject"]=16777216]="IncludesEmptyObject"})(k=e.TypeFlags||(e.TypeFlags={}));var A;(function(e){e[e["Class"]=1]="Class";e[e["Interface"]=2]="Interface";e[e["Reference"]=4]="Reference";e[e["Tuple"]=8]="Tuple";e[e["Anonymous"]=16]="Anonymous";e[e["Mapped"]=32]="Mapped";e[e["Instantiated"]=64]="Instantiated";e[e["ObjectLiteral"]=128]="ObjectLiteral";e[e["EvolvingArray"]=256]="EvolvingArray";e[e["ObjectLiteralPatternWithComputedProperties"]=512]="ObjectLiteralPatternWithComputedProperties";e[e["ContainsSpread"]=1024]="ContainsSpread";e[e["ReverseMapped"]=2048]="ReverseMapped";e[e["JsxAttributes"]=4096]="JsxAttributes";e[e["MarkerType"]=8192]="MarkerType";e[e["JSLiteral"]=16384]="JSLiteral";e[e["FreshLiteral"]=32768]="FreshLiteral";e[e["ArrayLiteral"]=65536]="ArrayLiteral";e[e["ObjectRestType"]=131072]="ObjectRestType";e[e["PrimitiveUnion"]=262144]="PrimitiveUnion";e[e["ContainsWideningType"]=524288]="ContainsWideningType";e[e["ContainsObjectOrArrayLiteral"]=1048576]="ContainsObjectOrArrayLiteral";e[e["NonInferrableType"]=2097152]="NonInferrableType";e[e["IsGenericObjectTypeComputed"]=4194304]="IsGenericObjectTypeComputed";e[e["IsGenericObjectType"]=8388608]="IsGenericObjectType";e[e["IsGenericIndexTypeComputed"]=16777216]="IsGenericIndexTypeComputed";e[e["IsGenericIndexType"]=33554432]="IsGenericIndexType";e[e["CouldContainTypeVariablesComputed"]=67108864]="CouldContainTypeVariablesComputed";e[e["CouldContainTypeVariables"]=134217728]="CouldContainTypeVariables";e[e["ContainsIntersections"]=268435456]="ContainsIntersections";e[e["IsNeverIntersectionComputed"]=268435456]="IsNeverIntersectionComputed";e[e["IsNeverIntersection"]=536870912]="IsNeverIntersection";e[e["ClassOrInterface"]=3]="ClassOrInterface";e[e["RequiresWidening"]=1572864]="RequiresWidening";e[e["PropagatingFlags"]=3670016]="PropagatingFlags"})(A=e.ObjectFlags||(e.ObjectFlags={}));var F;(function(e){e[e["Invariant"]=0]="Invariant";e[e["Covariant"]=1]="Covariant";e[e["Contravariant"]=2]="Contravariant";e[e["Bivariant"]=3]="Bivariant";e[e["Independent"]=4]="Independent";e[e["VarianceMask"]=7]="VarianceMask";e[e["Unmeasurable"]=8]="Unmeasurable";e[e["Unreliable"]=16]="Unreliable";e[e["AllowsStructuralFallback"]=24]="AllowsStructuralFallback"})(F=e.VarianceFlags||(e.VarianceFlags={}));var P;(function(e){e[e["Component"]=0]="Component";e[e["Function"]=1]="Function";e[e["Mixed"]=2]="Mixed"})(P=e.JsxReferenceKind||(e.JsxReferenceKind={}));var O;(function(e){e[e["Call"]=0]="Call";e[e["Construct"]=1]="Construct"})(O=e.SignatureKind||(e.SignatureKind={}));var I;(function(e){e[e["None"]=0]="None";e[e["HasRestParameter"]=1]="HasRestParameter";e[e["HasLiteralTypes"]=2]="HasLiteralTypes";e[e["IsInnerCallChain"]=4]="IsInnerCallChain";e[e["IsOuterCallChain"]=8]="IsOuterCallChain";e[e["IsUntypedSignatureInJSFile"]=16]="IsUntypedSignatureInJSFile";e[e["PropagatingFlags"]=3]="PropagatingFlags";e[e["CallChainFlags"]=12]="CallChainFlags"})(I=e.SignatureFlags||(e.SignatureFlags={}));var w;(function(e){e[e["String"]=0]="String";e[e["Number"]=1]="Number"})(w=e.IndexKind||(e.IndexKind={}));var M;(function(e){e[e["Simple"]=0]="Simple";e[e["Array"]=1]="Array";e[e["Function"]=2]="Function";e[e["Composite"]=3]="Composite";e[e["Merged"]=4]="Merged"})(M=e.TypeMapKind||(e.TypeMapKind={}));var L;(function(e){e[e["NakedTypeVariable"]=1]="NakedTypeVariable";e[e["HomomorphicMappedType"]=2]="HomomorphicMappedType";e[e["PartialHomomorphicMappedType"]=4]="PartialHomomorphicMappedType";e[e["MappedTypeConstraint"]=8]="MappedTypeConstraint";e[e["ContravariantConditional"]=16]="ContravariantConditional";e[e["ReturnType"]=32]="ReturnType";e[e["LiteralKeyof"]=64]="LiteralKeyof";e[e["NoConstraints"]=128]="NoConstraints";e[e["AlwaysStrict"]=256]="AlwaysStrict";e[e["MaxValue"]=512]="MaxValue";e[e["PriorityImpliesCombination"]=104]="PriorityImpliesCombination";e[e["Circularity"]=-1]="Circularity"})(L=e.InferencePriority||(e.InferencePriority={}));var R;(function(e){e[e["None"]=0]="None";e[e["NoDefault"]=1]="NoDefault";e[e["AnyDefault"]=2]="AnyDefault";e[e["SkippedGenericFunction"]=4]="SkippedGenericFunction"})(R=e.InferenceFlags||(e.InferenceFlags={}));var B;(function(e){e[e["False"]=0]="False";e[e["Maybe"]=1]="Maybe";e[e["True"]=-1]="True"})(B=e.Ternary||(e.Ternary={}));var j;(function(e){e[e["None"]=0]="None";e[e["ExportsProperty"]=1]="ExportsProperty";e[e["ModuleExports"]=2]="ModuleExports";e[e["PrototypeProperty"]=3]="PrototypeProperty";e[e["ThisProperty"]=4]="ThisProperty";e[e["Property"]=5]="Property";e[e["Prototype"]=6]="Prototype";e[e["ObjectDefinePropertyValue"]=7]="ObjectDefinePropertyValue";e[e["ObjectDefinePropertyExports"]=8]="ObjectDefinePropertyExports";e[e["ObjectDefinePrototypeProperty"]=9]="ObjectDefinePrototypeProperty"})(j=e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={}));var J;(function(e){e[e["Warning"]=0]="Warning";e[e["Error"]=1]="Error";e[e["Suggestion"]=2]="Suggestion";e[e["Message"]=3]="Message"})(J=e.DiagnosticCategory||(e.DiagnosticCategory={}));function diagnosticCategoryName(e,t){if(t===void 0){t=true}var r=J[e.category];return t?r.toLowerCase():r}e.diagnosticCategoryName=diagnosticCategoryName;var W;(function(e){e[e["Classic"]=1]="Classic";e[e["NodeJs"]=2]="NodeJs"})(W=e.ModuleResolutionKind||(e.ModuleResolutionKind={}));var U;(function(e){e[e["FixedPollingInterval"]=0]="FixedPollingInterval";e[e["PriorityPollingInterval"]=1]="PriorityPollingInterval";e[e["DynamicPriorityPolling"]=2]="DynamicPriorityPolling";e[e["UseFsEvents"]=3]="UseFsEvents";e[e["UseFsEventsOnParentDirectory"]=4]="UseFsEventsOnParentDirectory"})(U=e.WatchFileKind||(e.WatchFileKind={}));var V;(function(e){e[e["UseFsEvents"]=0]="UseFsEvents";e[e["FixedPollingInterval"]=1]="FixedPollingInterval";e[e["DynamicPriorityPolling"]=2]="DynamicPriorityPolling"})(V=e.WatchDirectoryKind||(e.WatchDirectoryKind={}));var z;(function(e){e[e["FixedInterval"]=0]="FixedInterval";e[e["PriorityInterval"]=1]="PriorityInterval";e[e["DynamicPriority"]=2]="DynamicPriority"})(z=e.PollingWatchKind||(e.PollingWatchKind={}));var H;(function(e){e[e["None"]=0]="None";e[e["CommonJS"]=1]="CommonJS";e[e["AMD"]=2]="AMD";e[e["UMD"]=3]="UMD";e[e["System"]=4]="System";e[e["ES2015"]=5]="ES2015";e[e["ES2020"]=6]="ES2020";e[e["ESNext"]=99]="ESNext"})(H=e.ModuleKind||(e.ModuleKind={}));var K;(function(e){e[e["None"]=0]="None";e[e["Preserve"]=1]="Preserve";e[e["React"]=2]="React";e[e["ReactNative"]=3]="ReactNative"})(K=e.JsxEmit||(e.JsxEmit={}));var q;(function(e){e[e["Remove"]=0]="Remove";e[e["Preserve"]=1]="Preserve";e[e["Error"]=2]="Error"})(q=e.ImportsNotUsedAsValues||(e.ImportsNotUsedAsValues={}));var G;(function(e){e[e["CarriageReturnLineFeed"]=0]="CarriageReturnLineFeed";e[e["LineFeed"]=1]="LineFeed"})(G=e.NewLineKind||(e.NewLineKind={}));var $;(function(e){e[e["Unknown"]=0]="Unknown";e[e["JS"]=1]="JS";e[e["JSX"]=2]="JSX";e[e["TS"]=3]="TS";e[e["TSX"]=4]="TSX";e[e["External"]=5]="External";e[e["JSON"]=6]="JSON";e[e["Deferred"]=7]="Deferred"})($=e.ScriptKind||(e.ScriptKind={}));var Q;(function(e){e[e["ES3"]=0]="ES3";e[e["ES5"]=1]="ES5";e[e["ES2015"]=2]="ES2015";e[e["ES2016"]=3]="ES2016";e[e["ES2017"]=4]="ES2017";e[e["ES2018"]=5]="ES2018";e[e["ES2019"]=6]="ES2019";e[e["ES2020"]=7]="ES2020";e[e["ESNext"]=99]="ESNext";e[e["JSON"]=100]="JSON";e[e["Latest"]=99]="Latest"})(Q=e.ScriptTarget||(e.ScriptTarget={}));var X;(function(e){e[e["Standard"]=0]="Standard";e[e["JSX"]=1]="JSX"})(X=e.LanguageVariant||(e.LanguageVariant={}));var Y;(function(e){e[e["None"]=0]="None";e[e["Recursive"]=1]="Recursive"})(Y=e.WatchDirectoryFlags||(e.WatchDirectoryFlags={}));var Z;(function(e){e[e["nullCharacter"]=0]="nullCharacter";e[e["maxAsciiCharacter"]=127]="maxAsciiCharacter";e[e["lineFeed"]=10]="lineFeed";e[e["carriageReturn"]=13]="carriageReturn";e[e["lineSeparator"]=8232]="lineSeparator";e[e["paragraphSeparator"]=8233]="paragraphSeparator";e[e["nextLine"]=133]="nextLine";e[e["space"]=32]="space";e[e["nonBreakingSpace"]=160]="nonBreakingSpace";e[e["enQuad"]=8192]="enQuad";e[e["emQuad"]=8193]="emQuad";e[e["enSpace"]=8194]="enSpace";e[e["emSpace"]=8195]="emSpace";e[e["threePerEmSpace"]=8196]="threePerEmSpace";e[e["fourPerEmSpace"]=8197]="fourPerEmSpace";e[e["sixPerEmSpace"]=8198]="sixPerEmSpace";e[e["figureSpace"]=8199]="figureSpace";e[e["punctuationSpace"]=8200]="punctuationSpace";e[e["thinSpace"]=8201]="thinSpace";e[e["hairSpace"]=8202]="hairSpace";e[e["zeroWidthSpace"]=8203]="zeroWidthSpace";e[e["narrowNoBreakSpace"]=8239]="narrowNoBreakSpace";e[e["ideographicSpace"]=12288]="ideographicSpace";e[e["mathematicalSpace"]=8287]="mathematicalSpace";e[e["ogham"]=5760]="ogham";e[e["_"]=95]="_";e[e["$"]=36]="$";e[e["_0"]=48]="_0";e[e["_1"]=49]="_1";e[e["_2"]=50]="_2";e[e["_3"]=51]="_3";e[e["_4"]=52]="_4";e[e["_5"]=53]="_5";e[e["_6"]=54]="_6";e[e["_7"]=55]="_7";e[e["_8"]=56]="_8";e[e["_9"]=57]="_9";e[e["a"]=97]="a";e[e["b"]=98]="b";e[e["c"]=99]="c";e[e["d"]=100]="d";e[e["e"]=101]="e";e[e["f"]=102]="f";e[e["g"]=103]="g";e[e["h"]=104]="h";e[e["i"]=105]="i";e[e["j"]=106]="j";e[e["k"]=107]="k";e[e["l"]=108]="l";e[e["m"]=109]="m";e[e["n"]=110]="n";e[e["o"]=111]="o";e[e["p"]=112]="p";e[e["q"]=113]="q";e[e["r"]=114]="r";e[e["s"]=115]="s";e[e["t"]=116]="t";e[e["u"]=117]="u";e[e["v"]=118]="v";e[e["w"]=119]="w";e[e["x"]=120]="x";e[e["y"]=121]="y";e[e["z"]=122]="z";e[e["A"]=65]="A";e[e["B"]=66]="B";e[e["C"]=67]="C";e[e["D"]=68]="D";e[e["E"]=69]="E";e[e["F"]=70]="F";e[e["G"]=71]="G";e[e["H"]=72]="H";e[e["I"]=73]="I";e[e["J"]=74]="J";e[e["K"]=75]="K";e[e["L"]=76]="L";e[e["M"]=77]="M";e[e["N"]=78]="N";e[e["O"]=79]="O";e[e["P"]=80]="P";e[e["Q"]=81]="Q";e[e["R"]=82]="R";e[e["S"]=83]="S";e[e["T"]=84]="T";e[e["U"]=85]="U";e[e["V"]=86]="V";e[e["W"]=87]="W";e[e["X"]=88]="X";e[e["Y"]=89]="Y";e[e["Z"]=90]="Z";e[e["ampersand"]=38]="ampersand";e[e["asterisk"]=42]="asterisk";e[e["at"]=64]="at";e[e["backslash"]=92]="backslash";e[e["backtick"]=96]="backtick";e[e["bar"]=124]="bar";e[e["caret"]=94]="caret";e[e["closeBrace"]=125]="closeBrace";e[e["closeBracket"]=93]="closeBracket";e[e["closeParen"]=41]="closeParen";e[e["colon"]=58]="colon";e[e["comma"]=44]="comma";e[e["dot"]=46]="dot";e[e["doubleQuote"]=34]="doubleQuote";e[e["equals"]=61]="equals";e[e["exclamation"]=33]="exclamation";e[e["greaterThan"]=62]="greaterThan";e[e["hash"]=35]="hash";e[e["lessThan"]=60]="lessThan";e[e["minus"]=45]="minus";e[e["openBrace"]=123]="openBrace";e[e["openBracket"]=91]="openBracket";e[e["openParen"]=40]="openParen";e[e["percent"]=37]="percent";e[e["plus"]=43]="plus";e[e["question"]=63]="question";e[e["semicolon"]=59]="semicolon";e[e["singleQuote"]=39]="singleQuote";e[e["slash"]=47]="slash";e[e["tilde"]=126]="tilde";e[e["backspace"]=8]="backspace";e[e["formFeed"]=12]="formFeed";e[e["byteOrderMark"]=65279]="byteOrderMark";e[e["tab"]=9]="tab";e[e["verticalTab"]=11]="verticalTab"})(Z=e.CharacterCodes||(e.CharacterCodes={}));var ee;(function(e){e["Ts"]=".ts";e["Tsx"]=".tsx";e["Dts"]=".d.ts";e["Js"]=".js";e["Jsx"]=".jsx";e["Json"]=".json";e["TsBuildInfo"]=".tsbuildinfo"})(ee=e.Extension||(e.Extension={}));var te;(function(e){e[e["None"]=0]="None";e[e["ContainsTypeScript"]=1]="ContainsTypeScript";e[e["ContainsJsx"]=2]="ContainsJsx";e[e["ContainsESNext"]=4]="ContainsESNext";e[e["ContainsES2020"]=8]="ContainsES2020";e[e["ContainsES2019"]=16]="ContainsES2019";e[e["ContainsES2018"]=32]="ContainsES2018";e[e["ContainsES2017"]=64]="ContainsES2017";e[e["ContainsES2016"]=128]="ContainsES2016";e[e["ContainsES2015"]=256]="ContainsES2015";e[e["ContainsGenerator"]=512]="ContainsGenerator";e[e["ContainsDestructuringAssignment"]=1024]="ContainsDestructuringAssignment";e[e["ContainsTypeScriptClassSyntax"]=2048]="ContainsTypeScriptClassSyntax";e[e["ContainsLexicalThis"]=4096]="ContainsLexicalThis";e[e["ContainsRestOrSpread"]=8192]="ContainsRestOrSpread";e[e["ContainsObjectRestOrSpread"]=16384]="ContainsObjectRestOrSpread";e[e["ContainsComputedPropertyName"]=32768]="ContainsComputedPropertyName";e[e["ContainsBlockScopedBinding"]=65536]="ContainsBlockScopedBinding";e[e["ContainsBindingPattern"]=131072]="ContainsBindingPattern";e[e["ContainsYield"]=262144]="ContainsYield";e[e["ContainsAwait"]=524288]="ContainsAwait";e[e["ContainsHoistedDeclarationOrCompletion"]=1048576]="ContainsHoistedDeclarationOrCompletion";e[e["ContainsDynamicImport"]=2097152]="ContainsDynamicImport";e[e["ContainsClassFields"]=4194304]="ContainsClassFields";e[e["HasComputedFlags"]=536870912]="HasComputedFlags";e[e["AssertTypeScript"]=1]="AssertTypeScript";e[e["AssertJsx"]=2]="AssertJsx";e[e["AssertESNext"]=4]="AssertESNext";e[e["AssertES2020"]=8]="AssertES2020";e[e["AssertES2019"]=16]="AssertES2019";e[e["AssertES2018"]=32]="AssertES2018";e[e["AssertES2017"]=64]="AssertES2017";e[e["AssertES2016"]=128]="AssertES2016";e[e["AssertES2015"]=256]="AssertES2015";e[e["AssertGenerator"]=512]="AssertGenerator";e[e["AssertDestructuringAssignment"]=1024]="AssertDestructuringAssignment";e[e["OuterExpressionExcludes"]=536870912]="OuterExpressionExcludes";e[e["PropertyAccessExcludes"]=536870912]="PropertyAccessExcludes";e[e["NodeExcludes"]=536870912]="NodeExcludes";e[e["ArrowFunctionExcludes"]=538920960]="ArrowFunctionExcludes";e[e["FunctionExcludes"]=538925056]="FunctionExcludes";e[e["ConstructorExcludes"]=538923008]="ConstructorExcludes";e[e["MethodOrAccessorExcludes"]=538923008]="MethodOrAccessorExcludes";e[e["PropertyExcludes"]=536875008]="PropertyExcludes";e[e["ClassExcludes"]=536905728]="ClassExcludes";e[e["ModuleExcludes"]=537991168]="ModuleExcludes";e[e["TypeExcludes"]=-2]="TypeExcludes";e[e["ObjectLiteralExcludes"]=536922112]="ObjectLiteralExcludes";e[e["ArrayLiteralOrCallOrNewExcludes"]=536879104]="ArrayLiteralOrCallOrNewExcludes";e[e["VariableDeclarationListExcludes"]=537018368]="VariableDeclarationListExcludes";e[e["ParameterExcludes"]=536870912]="ParameterExcludes";e[e["CatchClauseExcludes"]=536887296]="CatchClauseExcludes";e[e["BindingPatternExcludes"]=536879104]="BindingPatternExcludes";e[e["PropertyNamePropagatingFlags"]=4096]="PropertyNamePropagatingFlags"})(te=e.TransformFlags||(e.TransformFlags={}));var re;(function(e){e[e["None"]=0]="None";e[e["SingleLine"]=1]="SingleLine";e[e["AdviseOnEmitNode"]=2]="AdviseOnEmitNode";e[e["NoSubstitution"]=4]="NoSubstitution";e[e["CapturesThis"]=8]="CapturesThis";e[e["NoLeadingSourceMap"]=16]="NoLeadingSourceMap";e[e["NoTrailingSourceMap"]=32]="NoTrailingSourceMap";e[e["NoSourceMap"]=48]="NoSourceMap";e[e["NoNestedSourceMaps"]=64]="NoNestedSourceMaps";e[e["NoTokenLeadingSourceMaps"]=128]="NoTokenLeadingSourceMaps";e[e["NoTokenTrailingSourceMaps"]=256]="NoTokenTrailingSourceMaps";e[e["NoTokenSourceMaps"]=384]="NoTokenSourceMaps";e[e["NoLeadingComments"]=512]="NoLeadingComments";e[e["NoTrailingComments"]=1024]="NoTrailingComments";e[e["NoComments"]=1536]="NoComments";e[e["NoNestedComments"]=2048]="NoNestedComments";e[e["HelperName"]=4096]="HelperName";e[e["ExportName"]=8192]="ExportName";e[e["LocalName"]=16384]="LocalName";e[e["InternalName"]=32768]="InternalName";e[e["Indented"]=65536]="Indented";e[e["NoIndentation"]=131072]="NoIndentation";e[e["AsyncFunctionBody"]=262144]="AsyncFunctionBody";e[e["ReuseTempVariableScope"]=524288]="ReuseTempVariableScope";e[e["CustomPrologue"]=1048576]="CustomPrologue";e[e["NoHoisting"]=2097152]="NoHoisting";e[e["HasEndOfDeclarationMarker"]=4194304]="HasEndOfDeclarationMarker";e[e["Iterator"]=8388608]="Iterator";e[e["NoAsciiEscaping"]=16777216]="NoAsciiEscaping";e[e["TypeScriptClassWrapper"]=33554432]="TypeScriptClassWrapper";e[e["NeverApplyImportHelper"]=67108864]="NeverApplyImportHelper";e[e["IgnoreSourceNewlines"]=134217728]="IgnoreSourceNewlines"})(re=e.EmitFlags||(e.EmitFlags={}));var ne;(function(e){e[e["Extends"]=1]="Extends";e[e["Assign"]=2]="Assign";e[e["Rest"]=4]="Rest";e[e["Decorate"]=8]="Decorate";e[e["Metadata"]=16]="Metadata";e[e["Param"]=32]="Param";e[e["Awaiter"]=64]="Awaiter";e[e["Generator"]=128]="Generator";e[e["Values"]=256]="Values";e[e["Read"]=512]="Read";e[e["Spread"]=1024]="Spread";e[e["SpreadArrays"]=2048]="SpreadArrays";e[e["Await"]=4096]="Await";e[e["AsyncGenerator"]=8192]="AsyncGenerator";e[e["AsyncDelegator"]=16384]="AsyncDelegator";e[e["AsyncValues"]=32768]="AsyncValues";e[e["ExportStar"]=65536]="ExportStar";e[e["MakeTemplateObject"]=131072]="MakeTemplateObject";e[e["ClassPrivateFieldGet"]=262144]="ClassPrivateFieldGet";e[e["ClassPrivateFieldSet"]=524288]="ClassPrivateFieldSet";e[e["CreateBinding"]=1048576]="CreateBinding";e[e["FirstEmitHelper"]=1]="FirstEmitHelper";e[e["LastEmitHelper"]=1048576]="LastEmitHelper";e[e["ForOfIncludes"]=256]="ForOfIncludes";e[e["ForAwaitOfIncludes"]=32768]="ForAwaitOfIncludes";e[e["AsyncGeneratorIncludes"]=12288]="AsyncGeneratorIncludes";e[e["AsyncDelegatorIncludes"]=53248]="AsyncDelegatorIncludes";e[e["SpreadIncludes"]=1536]="SpreadIncludes"})(ne=e.ExternalEmitHelpers||(e.ExternalEmitHelpers={}));var ie;(function(e){e[e["SourceFile"]=0]="SourceFile";e[e["Expression"]=1]="Expression";e[e["IdentifierName"]=2]="IdentifierName";e[e["MappedTypeParameter"]=3]="MappedTypeParameter";e[e["Unspecified"]=4]="Unspecified";e[e["EmbeddedStatement"]=5]="EmbeddedStatement";e[e["JsxAttributeValue"]=6]="JsxAttributeValue"})(ie=e.EmitHint||(e.EmitHint={}));var ae;(function(e){e[e["None"]=0]="None";e[e["InParameters"]=1]="InParameters";e[e["VariablesHoistedInParameters"]=2]="VariablesHoistedInParameters"})(ae=e.LexicalEnvironmentFlags||(e.LexicalEnvironmentFlags={}));var oe;(function(e){e["Prologue"]="prologue";e["EmitHelpers"]="emitHelpers";e["NoDefaultLib"]="no-default-lib";e["Reference"]="reference";e["Type"]="type";e["Lib"]="lib";e["Prepend"]="prepend";e["Text"]="text";e["Internal"]="internal"})(oe=e.BundleFileSectionKind||(e.BundleFileSectionKind={}));var se;(function(e){e[e["None"]=0]="None";e[e["SingleLine"]=0]="SingleLine";e[e["MultiLine"]=1]="MultiLine";e[e["PreserveLines"]=2]="PreserveLines";e[e["LinesMask"]=3]="LinesMask";e[e["NotDelimited"]=0]="NotDelimited";e[e["BarDelimited"]=4]="BarDelimited";e[e["AmpersandDelimited"]=8]="AmpersandDelimited";e[e["CommaDelimited"]=16]="CommaDelimited";e[e["AsteriskDelimited"]=32]="AsteriskDelimited";e[e["DelimitersMask"]=60]="DelimitersMask";e[e["AllowTrailingComma"]=64]="AllowTrailingComma";e[e["Indented"]=128]="Indented";e[e["SpaceBetweenBraces"]=256]="SpaceBetweenBraces";e[e["SpaceBetweenSiblings"]=512]="SpaceBetweenSiblings";e[e["Braces"]=1024]="Braces";e[e["Parenthesis"]=2048]="Parenthesis";e[e["AngleBrackets"]=4096]="AngleBrackets";e[e["SquareBrackets"]=8192]="SquareBrackets";e[e["BracketsMask"]=15360]="BracketsMask";e[e["OptionalIfUndefined"]=16384]="OptionalIfUndefined";e[e["OptionalIfEmpty"]=32768]="OptionalIfEmpty";e[e["Optional"]=49152]="Optional";e[e["PreferNewLine"]=65536]="PreferNewLine";e[e["NoTrailingNewLine"]=131072]="NoTrailingNewLine";e[e["NoInterveningComments"]=262144]="NoInterveningComments";e[e["NoSpaceIfEmpty"]=524288]="NoSpaceIfEmpty";e[e["SingleElement"]=1048576]="SingleElement";e[e["SpaceAfterList"]=2097152]="SpaceAfterList";e[e["Modifiers"]=262656]="Modifiers";e[e["HeritageClauses"]=512]="HeritageClauses";e[e["SingleLineTypeLiteralMembers"]=768]="SingleLineTypeLiteralMembers";e[e["MultiLineTypeLiteralMembers"]=32897]="MultiLineTypeLiteralMembers";e[e["TupleTypeElements"]=528]="TupleTypeElements";e[e["UnionTypeConstituents"]=516]="UnionTypeConstituents";e[e["IntersectionTypeConstituents"]=520]="IntersectionTypeConstituents";e[e["ObjectBindingPatternElements"]=525136]="ObjectBindingPatternElements";e[e["ArrayBindingPatternElements"]=524880]="ArrayBindingPatternElements";e[e["ObjectLiteralExpressionProperties"]=526226]="ObjectLiteralExpressionProperties";e[e["ArrayLiteralExpressionElements"]=8914]="ArrayLiteralExpressionElements";e[e["CommaListElements"]=528]="CommaListElements";e[e["CallExpressionArguments"]=2576]="CallExpressionArguments";e[e["NewExpressionArguments"]=18960]="NewExpressionArguments";e[e["TemplateExpressionSpans"]=262144]="TemplateExpressionSpans";e[e["SingleLineBlockStatements"]=768]="SingleLineBlockStatements";e[e["MultiLineBlockStatements"]=129]="MultiLineBlockStatements";e[e["VariableDeclarationList"]=528]="VariableDeclarationList";e[e["SingleLineFunctionBodyStatements"]=768]="SingleLineFunctionBodyStatements";e[e["MultiLineFunctionBodyStatements"]=1]="MultiLineFunctionBodyStatements";e[e["ClassHeritageClauses"]=0]="ClassHeritageClauses";e[e["ClassMembers"]=129]="ClassMembers";e[e["InterfaceMembers"]=129]="InterfaceMembers";e[e["EnumMembers"]=145]="EnumMembers";e[e["CaseBlockClauses"]=129]="CaseBlockClauses";e[e["NamedImportsOrExportsElements"]=525136]="NamedImportsOrExportsElements";e[e["JsxElementOrFragmentChildren"]=262144]="JsxElementOrFragmentChildren";e[e["JsxElementAttributes"]=262656]="JsxElementAttributes";e[e["CaseOrDefaultClauseStatements"]=163969]="CaseOrDefaultClauseStatements";e[e["HeritageClauseTypes"]=528]="HeritageClauseTypes";e[e["SourceFileStatements"]=131073]="SourceFileStatements";e[e["Decorators"]=2146305]="Decorators";e[e["TypeArguments"]=53776]="TypeArguments";e[e["TypeParameters"]=53776]="TypeParameters";e[e["Parameters"]=2576]="Parameters";e[e["IndexSignatureParameters"]=8848]="IndexSignatureParameters";e[e["JSDocComment"]=33]="JSDocComment"})(se=e.ListFormat||(e.ListFormat={}));var ce;(function(e){e[e["None"]=0]="None";e[e["TripleSlashXML"]=1]="TripleSlashXML";e[e["SingleLine"]=2]="SingleLine";e[e["MultiLine"]=4]="MultiLine";e[e["All"]=7]="All";e[e["Default"]=7]="Default"})(ce=e.PragmaKindFlags||(e.PragmaKindFlags={}));e.commentPragmas={reference:{args:[{name:"types",optional:true,captureSpan:true},{name:"lib",optional:true,captureSpan:true},{name:"path",optional:true,captureSpan:true},{name:"no-default-lib",optional:true}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:true}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4}}})(l||(l={}));var l;(function(e){function generateDjb2Hash(e){var t=5381;for(var r=0;r0;nextPollIndex(),s--){var u=t[a];if(!u){continue}else if(u.isClosed){t[a]=undefined;continue}l++;var d=onWatchedFileStat(u,getModifiedTime(u.fileName));if(u.isClosed){t[a]=undefined}else if(d){u.unchangedPolls=0;if(t!==i){t[a]=undefined;addChangedFileToLowPollingIntervalQueue(u)}}else if(u.unchangedPolls!==e.unchangedPollThresholds[r]){u.unchangedPolls++}else if(t===i){u.unchangedPolls=1;t[a]=undefined;addToPollingIntervalQueue(u,n.Low)}else if(r!==n.High){u.unchangedPolls++;t[a]=undefined;addToPollingIntervalQueue(u,r===n.Low?n.Medium:n.High)}if(t[a]){if(c=4;var g=process.platform==="linux"||process.platform==="darwin";var m=s.platform();var _=isFileSystemCaseSensitive();var y=f&&(process.platform==="win32"||process.platform==="darwin");var h=createSystemWatchFunctions({pollingWatchFile:createSingleFileWatcherPerName(fsWatchFileWorker,_),getModifiedTime:getModifiedTime,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatch:fsWatch,useCaseSensitiveFileNames:_,fileExists:fileExists,fsSupportsRecursiveFsWatch:y,directoryExists:directoryExists,getAccessibleSortedChildDirectories:function(e){return getAccessibleFileSystemEntries(e).directories},realpath:realpath,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY}),v=h.watchFile,T=h.watchDirectory;var b={args:process.argv.slice(2),newLine:s.EOL,useCaseSensitiveFileNames:_,write:function(e){process.stdout.write(e)},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:readFile,writeFile:writeFile,watchFile:v,watchDirectory:T,resolvePath:function(e){return o.resolve(e)},fileExists:fileExists,directoryExists:directoryExists,createDirectory:function(e){if(!b.directoryExists(e)){try{a.mkdirSync(e)}catch(e){if(e.code!=="EEXIST"){throw e}}}},getExecutingFilePath:function(){return __filename},getCurrentDirectory:function(){return process.cwd()},getDirectories:getDirectories,getEnvironmentVariable:function(e){return process.env[e]||""},readDirectory:readDirectory,getModifiedTime:getModifiedTime,setModifiedTime:setModifiedTime,deleteFile:deleteFile,createHash:c?createSHA256Hash:generateDjb2Hash,createSHA256Hash:c?createSHA256Hash:undefined,getMemoryUsage:function(){if(global.gc){global.gc()}return process.memoryUsage().heapUsed},getFileSize:function(e){try{var t=a.statSync(e);if(t.isFile()){return t.size}}catch(e){}return 0},exit:function(e){disableCPUProfiler((function(){return process.exit(e)}))},enableCPUProfiler:enableCPUProfiler,disableCPUProfiler:disableCPUProfiler,realpath:realpath,debugMode:!!process.env.NODE_INSPECTOR_IPC||e.some(process.execArgv,(function(e){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e)})),tryEnableSourceMapsForHost:function(){try{r(2284).install()}catch(e){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){process.stdout.write("c")},setBlocking:function(){if(process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking){process.stdout._handle.setBlocking(true)}},bufferFrom:bufferFrom,base64decode:function(e){return bufferFrom(e,"base64").toString("utf8")},base64encode:function(e){return bufferFrom(e).toString("base64")},require:function(t,r){try{var n=e.resolveJSModule(r,t,b);return{module:require(n),modulePath:n,error:undefined}}catch(e){return{module:undefined,modulePath:undefined,error:e}}}};return b;function enableCPUProfiler(e,t){if(l){t();return false}var n=r(7012);if(!n||!n.Session){t();return false}var i=new n.Session;i.connect();i.post("Profiler.enable",(function(){i.post("Profiler.start",(function(){l=i;u=e;t()}))}));return true}function cleanupPaths(t){var r=0;var n=e.createMap();var a=e.normalizeSlashes(__dirname);var o="file://"+(e.getRootLength(a)===1?"":"/")+a;for(var s=0,c=t.nodes;s=2&&r[0]===254&&r[1]===255){n&=~1;for(var i=0;i=2&&r[0]===255&&r[1]===254){return r.toString("utf16le",2)}if(n>=3&&r[0]===239&&r[1]===187&&r[2]===191){return r.toString("utf8",3)}return r.toString("utf8")}function readFile(t,r){e.perfLogger.logStartReadFile(t);var n=readFileWorker(t,r);e.perfLogger.logStopReadFile();return n}function writeFile(t,r,i){e.perfLogger.logEvent("WriteFile: "+t);if(i){r=n+r}var o;try{o=a.openSync(t,"w");a.writeSync(o,r,undefined,"utf8")}finally{if(o!==undefined){a.closeSync(o)}}}function getAccessibleFileSystemEntries(t){e.perfLogger.logEvent("ReadDir: "+(t||"."));try{var r=a.readdirSync(t||".",{withFileTypes:true});var n=[];var i=[];for(var o=0,s=r;o0}e.isRootedDiskPath=isRootedDiskPath;function isDiskPathRoot(e){var t=getEncodedRootLength(e);return t>0&&t===e.length}e.isDiskPathRoot=isDiskPathRoot;function pathIsAbsolute(e){return getEncodedRootLength(e)!==0}e.pathIsAbsolute=pathIsAbsolute;function pathIsRelative(e){return/^\.\.?($|[\\/])/.test(e)}e.pathIsRelative=pathIsRelative;function hasExtension(t){return e.stringContains(getBaseFileName(t),".")}e.hasExtension=hasExtension;function fileExtensionIs(t,r){return t.length>r.length&&e.endsWith(t,r)}e.fileExtensionIs=fileExtensionIs;function fileExtensionIsOneOf(e,t){for(var r=0,n=t;r0&&isAnyDirectorySeparator(e.charCodeAt(e.length-1))}e.hasTrailingDirectorySeparator=hasTrailingDirectorySeparator;function isVolumeCharacter(e){return e>=97&&e<=122||e>=65&&e<=90}function getFileUrlVolumeSeparatorEnd(e,t){var r=e.charCodeAt(t);if(r===58)return t+1;if(r===37&&e.charCodeAt(t+1)===51){var n=e.charCodeAt(t+2);if(n===97||n===65)return t+3}return-1}function getEncodedRootLength(n){if(!n)return 0;var i=n.charCodeAt(0);if(i===47||i===92){if(n.charCodeAt(1)!==i)return 1;var a=n.indexOf(i===47?e.directorySeparator:t,2);if(a<0)return n.length;return a+1}if(isVolumeCharacter(i)&&n.charCodeAt(1)===58){var o=n.charCodeAt(2);if(o===47||o===92)return 3;if(n.length===2)return 2}var s=n.indexOf(r);if(s!==-1){var c=s+r.length;var l=n.indexOf(e.directorySeparator,c);if(l!==-1){var u=n.slice(0,s);var d=n.slice(c,l);if(u==="file"&&(d===""||d==="localhost")&&isVolumeCharacter(n.charCodeAt(l+1))){var p=getFileUrlVolumeSeparatorEnd(n,l+2);if(p!==-1){if(n.charCodeAt(p)===47){return~(p+1)}if(p===n.length){return~p}}}return~(l+1)}return~n.length}return 0}function getRootLength(e){var t=getEncodedRootLength(e);return t<0?~t:t}e.getRootLength=getRootLength;function getDirectoryPath(t){t=normalizeSlashes(t);var r=getRootLength(t);if(r===t.length)return t;t=removeTrailingDirectorySeparator(t);return t.slice(0,Math.max(r,t.lastIndexOf(e.directorySeparator)))}e.getDirectoryPath=getDirectoryPath;function getBaseFileName(t,r,n){t=normalizeSlashes(t);var i=getRootLength(t);if(i===t.length)return"";t=removeTrailingDirectorySeparator(t);var a=t.slice(Math.max(getRootLength(t),t.lastIndexOf(e.directorySeparator)+1));var o=r!==undefined&&n!==undefined?getAnyExtensionFromPath(a,r,n):undefined;return o?a.slice(0,a.length-o.length):a}e.getBaseFileName=getBaseFileName;function tryGetExtensionFromPath(t,r,n){if(!e.startsWith(r,"."))r="."+r;if(t.length>=r.length&&t.charCodeAt(t.length-r.length)===46){var i=t.slice(t.length-r.length);if(n(i,r)){return i}}}function getAnyExtensionFromPathWorker(e,t,r){if(typeof t==="string"){return tryGetExtensionFromPath(e,t,r)||""}for(var n=0,i=t;n=0){return i.substring(a)}return""}e.getAnyExtensionFromPath=getAnyExtensionFromPath;function pathComponents(t,r){var i=t.substring(0,r);var a=t.substring(r).split(e.directorySeparator);if(a.length&&!e.lastOrUndefined(a))a.pop();return n([i],a)}function getPathComponents(e,t){if(t===void 0){t=""}e=combinePaths(t,e);return pathComponents(e,getRootLength(e))}e.getPathComponents=getPathComponents;function getPathFromPathComponents(t){if(t.length===0)return"";var r=t[0]&&ensureTrailingDirectorySeparator(t[0]);return r+t.slice(1).join(e.directorySeparator)}e.getPathFromPathComponents=getPathFromPathComponents;function normalizeSlashes(t){return t.replace(i,e.directorySeparator)}e.normalizeSlashes=normalizeSlashes;function reducePathComponents(t){if(!e.some(t))return[];var r=[t[0]];for(var n=1;n1){if(r[r.length-1]!==".."){r.pop();continue}}else if(r[0])continue}r.push(i)}return r}e.reducePathComponents=reducePathComponents;function combinePaths(e){var t=[];for(var r=1;r0===getRootLength(r)>0,"Paths must either both be absolute or both be relative");var i=typeof n==="function"?n:e.identity;var a=typeof n==="boolean"?n:false;var o=getPathComponentsRelativeTo(t,r,a?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,i);return getPathFromPathComponents(o)}e.getRelativePathFromDirectory=getRelativePathFromDirectory;function convertToRelativePath(e,t,r){return!isRootedDiskPath(e)?e:getRelativePathToDirectoryOrUrl(t,e,t,r,false)}e.convertToRelativePath=convertToRelativePath;function getRelativePathFromFile(e,t,r){return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(e),t,r))}e.getRelativePathFromFile=getRelativePathFromFile;function getRelativePathToDirectoryOrUrl(t,r,n,i,a){var o=getPathComponentsRelativeTo(resolvePath(n,t),resolvePath(n,r),e.equateStringsCaseSensitive,i);var s=o[0];if(a&&isRootedDiskPath(s)){var c=s.charAt(0)===e.directorySeparator?"file://":"file:///";o[0]=c+s}return getPathFromPathComponents(o)}e.getRelativePathToDirectoryOrUrl=getRelativePathToDirectoryOrUrl;function forEachAncestorDirectory(e,t){while(true){var r=t(e);if(r!==undefined){return r}var n=getDirectoryPath(e);if(n===e){return undefined}e=n}}e.forEachAncestorDirectory=forEachAncestorDirectory;function isNodeModulesDirectory(t){return e.endsWith(t,"/node_modules")}e.isNodeModulesDirectory=isNodeModulesDirectory})(l||(l={}));var l;(function(e){function diag(e,t,r,n,i,a){return{code:e,category:t,key:r,message:n,reportsUnnecessary:i,elidedInCompatabilityPyramid:a}}e.Diagnostics={Unterminated_string_literal:diag(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:diag(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:diag(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:diag(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:diag(1007,e.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:diag(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:diag(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:diag(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:diag(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:diag(1013,e.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:diag(1014,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:diag(1015,e.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:diag(1016,e.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:diag(1017,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:diag(1018,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:diag(1019,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:diag(1020,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:diag(1021,e.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:diag(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),An_index_signature_parameter_type_must_be_either_string_or_number:diag(1023,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_either_string_or_number_1023","An index signature parameter type must be either 'string' or 'number'."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:diag(1024,e.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:diag(1025,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:diag(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:diag(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:diag(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_a_class_element:diag(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_class_element_1031","'{0}' modifier cannot appear on a class element."),super_must_be_followed_by_an_argument_list_or_member_access:diag(1034,e.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:diag(1035,e.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:diag(1036,e.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:diag(1038,e.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:diag(1039,e.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:diag(1040,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:diag(1041,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:diag(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:diag(1043,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:diag(1044,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:diag(1045,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:diag(1046,e.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:diag(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:diag(1048,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:diag(1049,e.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:diag(1051,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:diag(1052,e.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:diag(1053,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:diag(1054,e.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:diag(1055,e.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:diag(1056,e.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:diag(1057,e.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","An async function or method must have a valid awaitable return type."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1058,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:diag(1059,e.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:diag(1060,e.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:diag(1061,e.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:diag(1062,e.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:diag(1063,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:diag(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1064","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:diag(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:diag(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:diag(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:diag(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:diag(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:diag(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:diag(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:diag(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:diag(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:diag(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:diag(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:diag(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:diag(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:diag(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:diag(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:diag(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:diag(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:diag(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:diag(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:diag(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:diag(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:diag(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:diag(1103,e.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","A 'for-await-of' statement is only allowed within an async function or async generator."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:diag(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:diag(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),Jump_target_cannot_cross_function_boundary:diag(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:diag(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:diag(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:diag(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:diag(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:diag(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:diag(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:diag(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:diag(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:diag(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:diag(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:diag(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:diag(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:diag(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:diag(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:diag(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:diag(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:diag(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:diag(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:diag(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:diag(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:diag(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:diag(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:diag(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:diag(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:diag(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:diag(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:diag(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:diag(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:diag(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:diag(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:diag(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:diag(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:diag(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:diag(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:diag(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:diag(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:diag(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:diag(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:diag(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:diag(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:diag(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:diag(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:diag(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:diag(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:diag(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:diag(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:diag(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:diag(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:diag(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:diag(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:diag(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:diag(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:diag(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:diag(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:diag(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:diag(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:diag(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:diag(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:diag(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:diag(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:diag(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:diag(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:diag(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:diag(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:diag(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:diag(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:diag(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:diag(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:diag(1195,e.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_cannot_have_a_type_annotation:diag(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_a_type_annotation_1196","Catch clause variable cannot have a type annotation."),Catch_clause_variable_cannot_have_an_initializer:diag(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:diag(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:diag(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:diag(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:diag(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:diag(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:diag(1205,e.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:diag(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:diag(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),All_files_must_be_modules_when_the_isolatedModules_flag_is_provided:diag(1208,e.DiagnosticCategory.Error,"All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208","All files must be modules when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:diag(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:diag(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:diag(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:diag(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:diag(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:diag(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:diag(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:diag(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:diag(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:diag(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:diag(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:diag(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:diag(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:diag(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:diag(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:diag(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:diag(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:diag(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:diag(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:diag(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_can_only_be_used_in_a_module:diag(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:diag(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:diag(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:diag(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:diag(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:diag(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:diag(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:diag(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:diag(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:diag(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:diag(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:diag(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:diag(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:diag(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:diag(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:diag(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:diag(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:diag(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:diag(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:diag(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:diag(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:diag(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:diag(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:diag(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:diag(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_rest_element_must_be_last_in_a_tuple_type:diag(1256,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_tuple_type_1256","A rest element must be last in a tuple type."),A_required_element_cannot_follow_an_optional_element:diag(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation:diag(1258,e.DiagnosticCategory.Error,"Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation_1258","Definite assignment assertions can only be used along with a type annotation."),Module_0_can_only_be_default_imported_using_the_1_flag:diag(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:diag(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:diag(1261,e.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),with_statements_are_not_allowed_in_an_async_function_block:diag(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1308,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:diag(1312,e.DiagnosticCategory.Error,"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312","'=' can only be used in an object literal property inside a destructuring assignment."),The_body_of_an_if_statement_cannot_be_the_empty_statement:diag(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:diag(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:diag(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:diag(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:diag(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:diag(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:diag(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd:diag(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:diag(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:diag(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:diag(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:diag(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:diag(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:diag(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:diag(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:diag(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:diag(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:diag(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:diag(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:diag(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:diag(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:diag(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:diag(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:diag(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:diag(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:diag(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system:diag(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'."),A_label_is_not_allowed_here:diag(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:diag(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness"),This_parameter_is_not_allowed_with_use_strict_directive:diag(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:diag(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:diag(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:diag(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:diag(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:diag(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:diag(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:diag(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:diag(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:diag(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:diag(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:diag(1357,e.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:diag(1358,e.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:diag(1359,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Did_you_mean_to_parenthesize_this_function_type:diag(1360,e.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:diag(1361,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:diag(1362,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:diag(1363,e.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:diag(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:diag(1365,e.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:diag(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:diag(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:diag(1368,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_1368","Specify emit/checking behavior for imports that are only used for types"),Did_you_mean_0:diag(1369,e.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),Only_ECMAScript_imports_may_use_import_type:diag(1370,e.DiagnosticCategory.Error,"Only_ECMAScript_imports_may_use_import_type_1370","Only ECMAScript imports may use 'import type'."),This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error:diag(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is__1371","This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:diag(1373,e.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:diag(1374,e.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1375,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:diag(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:diag(1377,e.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:diag(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:diag(1379,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:diag(1380,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:diag(1381,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:diag(1382,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:diag(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:diag(1384,e.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),The_types_of_0_are_incompatible_between_these_types:diag(2200,e.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:diag(2201,e.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:diag(2202,e.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",undefined,true),Construct_signature_return_types_0_and_1_are_incompatible:diag(2203,e.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",undefined,true),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2204,e.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2205,e.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Duplicate_identifier_0:diag(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:diag(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:diag(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:diag(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:diag(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:diag(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:diag(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:diag(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:diag(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:diag(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:diag(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:diag(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:diag(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:diag(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:diag(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:diag(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:diag(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:diag(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:diag(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:diag(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:diag(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:diag(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:diag(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:diag(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:diag(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:diag(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:diag(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:diag(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:diag(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:diag(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:diag(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:diag(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:diag(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:diag(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:diag(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:diag(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:diag(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:diag(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:diag(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:diag(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:diag(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:diag(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:diag(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:diag(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:diag(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:diag(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:diag(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:diag(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:diag(2349,e.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:diag(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:diag(2351,e.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:diag(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:diag(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:diag(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:diag(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:diag(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:diag(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:diag(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:diag(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:diag(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:diag(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:diag(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:diag(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:diag(2367,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:diag(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:diag(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:diag(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:diag(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:diag(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:diag(2373,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:diag(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:diag(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","Duplicate number index signature."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:diag(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:diag(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:diag(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:diag(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:diag(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:diag(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:diag(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:diag(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:diag(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:diag(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:diag(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:diag(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:diag(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:diag(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:diag(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:diag(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:diag(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:diag(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:diag(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:diag(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:diag(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:diag(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:diag(2398,e.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:diag(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:diag(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:diag(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:diag(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:diag(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:diag(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:diag(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:diag(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:diag(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:diag(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:diag(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:diag(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:diag(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","Property '{0}' of type '{1}' is not assignable to string index type '{2}'."),Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:diag(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."),Numeric_index_type_0_is_not_assignable_to_string_index_type_1:diag(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:diag(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:diag(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:diag(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:diag(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:diag(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Class_0_incorrectly_implements_interface_1:diag(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:diag(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:diag(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:diag(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:diag(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:diag(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:diag(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:diag(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:diag(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:diag(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:diag(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:diag(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:diag(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:diag(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:diag(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:diag(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:diag(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:diag(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:diag(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:diag(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:diag(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:diag(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:diag(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:diag(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:diag(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:diag(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:diag(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:diag(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:diag(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:diag(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:diag(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:diag(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:diag(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:diag(2459,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:diag(2460,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:diag(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:diag(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:diag(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:diag(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:diag(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:diag(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:diag(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:diag(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:diag(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:diag(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:diag(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:diag(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:diag(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:diag(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:diag(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:diag(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:diag(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:diag(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:diag(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:diag(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:diag(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:diag(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:diag(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:diag(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:diag(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:diag(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:diag(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:diag(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:diag(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:diag(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:diag(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:diag(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:diag(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:diag(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:diag(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:diag(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:diag(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:diag(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:diag(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:diag(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:diag(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:diag(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:diag(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:diag(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:diag(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:diag(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:diag(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:diag(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:diag(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:diag(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:diag(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:diag(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:diag(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:diag(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:diag(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:diag(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:diag(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:diag(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:diag(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:diag(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:diag(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:diag(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:diag(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:diag(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:diag(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:diag(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:diag(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:diag(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:diag(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:diag(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:diag(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:diag(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:diag(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:diag(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:diag(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:diag(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:diag(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:diag(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:diag(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:diag(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:diag(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:diag(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:diag(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:diag(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_1_or_more:diag(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:diag(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:diag(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:diag(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:diag(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:diag(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:diag(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:diag(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:diag(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:diag(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:diag(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:diag(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:diag(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Object_is_of_type_unknown:diag(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:diag(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:diag(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:diag(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:diag(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_is_a_static_member_of_type_1:diag(2576,e.DiagnosticCategory.Error,"Property_0_is_a_static_member_of_type_1_2576","Property '{0}' is a static member of type '{1}'"),Return_type_annotation_circularly_references_itself:diag(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:diag(2578,e.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode:diag(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery:diag(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha:diag(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:diag(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:diag(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:diag(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:diag(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:diag(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:diag(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:diag(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:diag(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:diag(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:diag(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery` and then add `jquery` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:diag(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:diag(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:diag(2595,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2596,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:diag(2597,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2598,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_attributes_type_0_may_not_be_a_union_type:diag(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:diag(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:diag(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:diag(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:diag(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:diag(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:diag(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:diag(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:diag(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:diag(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:diag(2610,e.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:diag(2611,e.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:diag(2612,e.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:diag(2613,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:diag(2614,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:diag(2615,e.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:diag(2616,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2617,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:diag(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:diag(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:diag(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:diag(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:diag(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:diag(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:diag(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:diag(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:diag(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:diag(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:diag(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:diag(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:diag(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:diag(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:diag(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:diag(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:diag(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:diag(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:diag(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:diag(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:diag(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:diag(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:diag(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:diag(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:diag(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:diag(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:diag(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:diag(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:diag(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:diag(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:diag(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:diag(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:diag(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:diag(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:diag(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:diag(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:diag(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:diag(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:diag(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:diag(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:diag(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:diag(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:diag(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:diag(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",true),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:diag(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),Spread_types_may_only_be_created_from_object_types:diag(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:diag(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:diag(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:diag(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:diag(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:diag(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:diag(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Required_type_parameters_may_not_follow_optional_type_parameters:diag(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:diag(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:diag(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:diag(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:diag(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:diag(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:diag(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:diag(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:diag(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:diag(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:diag(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:diag(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:diag(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:diag(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:diag(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:diag(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),Module_0_has_no_exported_member_1_Did_you_mean_2:diag(2724,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:diag(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:diag(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:diag(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:diag(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:diag(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:diag(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:diag(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:diag(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension"),Property_0_was_also_declared_here:diag(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:diag(2734,e.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:diag(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:diag(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:diag(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:diag(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:diag(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:diag(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:diag(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:diag(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:diag(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:diag(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:diag(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:diag(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:diag(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:diag(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:diag(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:diag(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:diag(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:diag(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:diag(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:diag(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:diag(2755,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:diag(2756,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:diag(2757,e.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2758,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:diag(2759,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:diag(2760,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:diag(2761,e.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2762,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:diag(2763,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:diag(2764,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:diag(2765,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:diag(2766,e.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:diag(2767,e.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:diag(2768,e.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:diag(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:diag(2770,e.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:diag(2771,e.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:diag(2772,e.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:diag(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead:diag(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it__2774","This condition will always return true since the function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:diag(2775,e.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:diag(2776,e.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:diag(2777,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:diag(2778,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:diag(2779,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:diag(2780,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:diag(2781,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:diag(2782,e.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:diag(2783,e.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:diag(2784,e.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:diag(2785,e.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:diag(2786,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:diag(2787,e.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:diag(2788,e.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:diag(2789,e.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),Import_declaration_0_is_using_private_name_1:diag(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:diag(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:diag(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:diag(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:diag(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:diag(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:diag(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:diag(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:diag(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:diag(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:diag(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:diag(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:diag(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:diag(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:diag(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:diag(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:diag(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:diag(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:diag(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:diag(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:diag(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:diag(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:diag(4105,e.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:diag(4106,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:diag(4107,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4108,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:diag(4109,e.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:diag(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),The_current_host_does_not_support_the_0_option:diag(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:diag(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:diag(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:diag(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:diag(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:diag(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:diag(5025,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:diag(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:diag(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:diag(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:diag(5048,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:diag(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:diag(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:diag(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:diag(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:diag(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:diag(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:diag(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:diag(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:diag(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:diag(5060,e.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:diag(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:diag(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:diag(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:diag(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:diag(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:diag(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:diag(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:diag(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:diag(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:diag(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:diag(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:diag(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:diag(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:diag(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:diag(5077,e.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:diag(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:diag(5079,e.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:diag(5080,e.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:diag(5081,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:diag(5082,e.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:diag(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:diag(5088,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:diag(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:diag(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:diag(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:diag(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:diag(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:diag(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:diag(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:diag(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:diag(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:diag(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:diag(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:diag(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:diag(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:diag(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:diag(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT:diag(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext:diag(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'."),Print_this_message:diag(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:diag(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:diag(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:diag(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:diag(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:diag(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:diag(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:diag(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:diag(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:diag(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:diag(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:diag(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:diag(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:diag(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:diag(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:diag(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:diag(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:diag(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:diag(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:diag(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:diag(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:diag(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:diag(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:diag(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unsupported_locale_0:diag(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:diag(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:diag(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:diag(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:diag(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:diag(6054,e.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:diag(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:diag(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:diag(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:diag(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:diag(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:diag(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:diag(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:diag(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:diag(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:diag(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:diag(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:diag(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:diag(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:diag(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:diag(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:diag(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:diag(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:diag(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:diag(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:diag(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:diag(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:diag(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:diag(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:diag(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:diag(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:diag(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:diag(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:diag(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:diag(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:diag(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:diag(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:diag(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:diag(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:diag(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:diag(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:diag(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:diag(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:diag(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:diag(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:diag(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:diag(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:diag(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:diag(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:diag(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:diag(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:diag(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:diag(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:diag(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:diag(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:diag(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:diag(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:diag(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:diag(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:diag(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:diag(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:diag(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:diag(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:diag(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:diag(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:diag(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:diag(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:diag(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:diag(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:diag(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:diag(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:diag(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:diag(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:diag(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:diag(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:diag(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:diag(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:diag(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:diag(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:diag(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",true),Report_errors_on_unused_locals:diag(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:diag(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:diag(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:diag(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:diag(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",true),Import_emit_helpers_from_tslib:diag(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:diag(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:diag(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:diag(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:diag(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:diag(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:diag(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:diag(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:diag(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:diag(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:diag(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:diag(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:diag(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:diag(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:diag(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:diag(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:diag(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:diag(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:diag(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:diag(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:diag(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:diag(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:diag(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:diag(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:diag(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:diag(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:diag(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:diag(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:diag(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:diag(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:diag(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:diag(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:diag(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:diag(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:diag(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:diag(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:diag(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:diag(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:diag(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:diag(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:diag(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:diag(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:diag(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:diag(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:diag(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:diag(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:diag(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:diag(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:diag(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:diag(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:diag(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:diag(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",true),Found_1_error_Watching_for_file_changes:diag(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:diag(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:diag(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:diag(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",true),Include_modules_imported_with_json_extension:diag(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:diag(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",true),All_variables_are_unused:diag(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",true),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:diag(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:diag(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:diag(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:diag(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:diag(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:diag(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:diag(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:diag(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:diag(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:diag(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:diag(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:diag(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:diag(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:diag(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:diag(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:diag(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:diag(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:diag(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:diag(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:diag(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:diag(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:diag(6221,e.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:diag(6222,e.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:diag(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:diag(6224,e.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_UseFsEvents_UseFsEventsOnParentDirectory:diag(6225,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling:diag(6226,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority:diag(6227,e.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority'."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:diag(6228,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6228","Synchronously call callbacks and update the state of directory watchers on platforms that don't support recursive watching natively."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:diag(6229,e.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:diag(6230,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:diag(6231,e.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:diag(6232,e.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:diag(6233,e.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),Projects_to_reference:diag(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:diag(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:diag(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:diag(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:diag(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:diag(6307,e.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:diag(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:diag(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:diag(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:diag(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:diag(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:diag(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:diag(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:diag(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:diag(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:diag(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:diag(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:diag(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:diag(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:diag(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:diag(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:diag(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:diag(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:diag(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Enable_verbose_logging:diag(6366,e.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),Show_what_would_be_built_or_deleted_if_specified_with_clean:diag(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:diag(6368,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument:diag(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:diag(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:diag(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:diag(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:diag(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:diag(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:diag(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:diag(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:diag(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:diag(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:diag(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:diag(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:diag(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:diag(6382,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:diag(6383,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6384,e.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:diag(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:diag(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:diag(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:diag(6503,e.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:diag(6504,e.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Variable_0_implicitly_has_an_1_type:diag(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:diag(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:diag(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:diag(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:diag(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:diag(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:diag(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:diag(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:diag(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:diag(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:diag(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:diag(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:diag(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:diag(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",true),Unused_label:diag(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",true),Fallthrough_case_in_switch:diag(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:diag(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:diag(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:diag(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:diag(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:diag(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:diag(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:diag(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:diag(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:diag(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:diag(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:diag(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}`"),The_containing_arrow_function_captures_the_global_value_of_this:diag(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:diag(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:diag(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:diag(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:diag(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:diag(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:diag(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:diag(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:diag(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:diag(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:diag(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:diag(7055,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),You_cannot_rename_this_element:diag(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:diag(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:diag(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:diag(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:diag(8004,e.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:diag(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:diag(8006,e.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:diag(8008,e.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:diag(8009,e.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:diag(8010,e.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:diag(8011,e.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:diag(8012,e.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:diag(8013,e.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:diag(8016,e.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:diag(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:diag(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:diag(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:diag(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:diag(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:diag(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:diag(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:diag(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:diag(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one `@augments` or `@extends` tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:diag(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:diag(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:diag(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:diag(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:diag(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:diag(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:diag(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:diag(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:diag(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:diag(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9005,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9006,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:diag(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:diag(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:diag(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:diag(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:diag(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:diag(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:diag(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:diag(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:diag(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:diag(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:diag(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:diag(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:diag(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:diag(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),JSX_fragment_is_not_supported_when_using_jsxFactory:diag(17016,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_jsxFactory_17016","JSX fragment is not supported when using --jsxFactory"),JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma:diag(17017,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017","JSX fragment is not supported when using an inline JSX factory pragma"),Unknown_type_acquisition_option_0_Did_you_mean_1:diag(17018,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:diag(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:diag(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:diag(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:diag(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:diag(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:diag(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:diag(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:diag(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:diag(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:diag(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:diag(80007,e.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:diag(80008,e.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:diag(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:diag(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:diag(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:diag(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:diag(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:diag(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:diag(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:diag(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_destructuring:diag(90009,e.DiagnosticCategory.Message,"Remove_destructuring_90009","Remove destructuring"),Remove_variable_statement:diag(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:diag(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:diag(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:diag(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:diag(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:diag(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:diag(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:diag(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:diag(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:diag(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:diag(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:diag(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:diag(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:diag(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:diag(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:diag(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:diag(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:diag(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:diag(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:diag(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:diag(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:diag(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:diag(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:diag(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:diag(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:diag(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Declare_a_private_field_named_0:diag(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:diag(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:diag(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:diag(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:diag(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:diag(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:diag(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:diag(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:diag(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:diag(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:diag(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:diag(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:diag(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:diag(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:diag(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:diag(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:diag(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:diag(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:diag(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:diag(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:diag(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:diag(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:diag(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:diag(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:diag(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:diag(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:diag(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:diag(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:diag(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:diag(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:diag(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:diag(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:diag(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:diag(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:diag(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:diag(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:diag(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:diag(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:diag(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:diag(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:diag(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:diag(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:diag(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:diag(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:diag(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:diag(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:diag(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:diag(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:diag(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:diag(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:diag(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:diag(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:diag(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:diag(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:diag(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:diag(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:diag(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:diag(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:diag(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:diag(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:diag(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:diag(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:diag(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:diag(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:diag(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:diag(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:diag(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:diag(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:diag(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:diag(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:diag(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:diag(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:diag(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:diag(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Allow_accessing_UMD_globals_from_modules:diag(95076,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),Extract_type:diag(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:diag(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:diag(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:diag(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:diag(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:diag(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:diag(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:diag(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:diag(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:diag(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:diag(95087,e.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:diag(95088,e.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:diag(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:diag(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:diag(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:diag(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:diag(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:diag(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:diag(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:diag(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:diag(95097,e.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:diag(95098,e.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:diag(95099,e.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:diag(95100,e.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:diag(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:diag(95102,e.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:diag(95103,e.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:diag(95104,e.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:diag(95105,e.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:diag(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:diag(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:diag(95108,e.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:diag(95109,e.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:diag(95110,e.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:diag(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_block_body_braces:diag(95112,e.DiagnosticCategory.Message,"Remove_block_body_braces_95112","Remove block body braces"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:diag(95113,e.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:diag(95114,e.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_all_incorrect_body_block_braces:diag(95115,e.DiagnosticCategory.Message,"Remove_all_incorrect_body_block_braces_95115","Remove all incorrect body block braces"),Wrap_all_object_literal_with_parentheses:diag(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:diag(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:diag(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:diag(18007,e.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:diag(18009,e.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters"),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:diag(18010,e.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:diag(18011,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:diag(18012,e.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:diag(18013,e.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:diag(18014,e.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:diag(18015,e.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:diag(18016,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:diag(18017,e.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:diag(18018,e.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:diag(18019,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier"),A_method_cannot_be_named_with_a_private_identifier:diag(18022,e.DiagnosticCategory.Error,"A_method_cannot_be_named_with_a_private_identifier_18022","A method cannot be named with a private identifier."),An_accessor_cannot_be_named_with_a_private_identifier:diag(18023,e.DiagnosticCategory.Error,"An_accessor_cannot_be_named_with_a_private_identifier_18023","An accessor cannot be named with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:diag(18024,e.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:diag(18026,e.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:diag(18027,e.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:diag(18028,e.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:diag(18029,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:diag(18030,e.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:diag(18031,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:diag(18032,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:diag(18033,e.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead.")}})(l||(l={}));var l;(function(e){var t;function tokenIsIdentifierOrKeyword(e){return e>=75}e.tokenIsIdentifierOrKeyword=tokenIsIdentifierOrKeyword;function tokenIsIdentifierOrKeywordOrGreaterThan(e){return e===31||tokenIsIdentifierOrKeyword(e)}e.tokenIsIdentifierOrKeywordOrGreaterThan=tokenIsIdentifierOrKeywordOrGreaterThan;var r=(t={abstract:122,any:125,as:123,asserts:124,bigint:151,boolean:128,break:77,case:78,catch:79,class:80,continue:82,const:81},t[""+"constructor"]=129,t.debugger=83,t.declare=130,t.default=84,t.delete=85,t.do=86,t.else=87,t.enum=88,t.export=89,t.extends=90,t.false=91,t.finally=92,t.for=93,t.from=149,t.function=94,t.get=131,t.if=95,t.implements=113,t.import=96,t.in=97,t.infer=132,t.instanceof=98,t.interface=114,t.is=133,t.keyof=134,t.let=115,t.module=135,t.namespace=136,t.never=137,t.new=99,t.null=100,t.number=140,t.object=141,t.package=116,t.private=117,t.protected=118,t.public=119,t.readonly=138,t.require=139,t.global=150,t.return=101,t.set=142,t.static=120,t.string=143,t.super=102,t.switch=103,t.symbol=144,t.this=104,t.throw=105,t.true=106,t.try=107,t.type=145,t.typeof=108,t.undefined=146,t.unique=147,t.unknown=148,t.var=109,t.void=110,t.while=111,t.with=112,t.yield=121,t.async=126,t.await=127,t.of=152,t);var n=e.createMapFromTemplate(r);var a=e.createMapFromTemplate(i(i({},r),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":62,"+=":63,"-=":64,"*=":65,"**=":66,"/=":67,"%=":68,"<<=":69,">>=":70,">>>=":71,"&=":72,"|=":73,"^=":74,"@":59,"`":61}));var o=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var s=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500];var c=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var l=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var u=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101];var d=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999];var p=/^\s*\/\/\/?\s*@(ts-expect-error|ts-ignore)/;var f=/^\s*(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function lookupInUnicodeMap(e,t){if(e=2?lookupInUnicodeMap(e,u):t===1?lookupInUnicodeMap(e,c):lookupInUnicodeMap(e,o)}e.isUnicodeIdentifierStart=isUnicodeIdentifierStart;function isUnicodeIdentifierPart(e,t){return t>=2?lookupInUnicodeMap(e,d):t===1?lookupInUnicodeMap(e,l):lookupInUnicodeMap(e,s)}function makeReverseMap(e){var t=[];e.forEach((function(e,r){t[e]=r}));return t}var g=makeReverseMap(a);function tokenToString(e){return g[e]}e.tokenToString=tokenToString;function stringToToken(e){return a.get(e)}e.stringToToken=stringToToken;function computeLineStarts(e){var t=new Array;var r=0;var n=0;while(r127&&isLineBreak(i)){t.push(n);n=r}break}}t.push(n);return t}e.computeLineStarts=computeLineStarts;function getPositionOfLineAndCharacter(e,t,r,n){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,r,n):computePositionOfLineAndCharacter(getLineStarts(e),t,r,e.text,n)}e.getPositionOfLineAndCharacter=getPositionOfLineAndCharacter;function computePositionOfLineAndCharacter(t,r,n,i,a){if(r<0||r>=t.length){if(a){r=r<0?0:r>=t.length?t.length-1:r}else{e.Debug.fail("Bad line number. Line: "+r+", lineStarts.length: "+t.length+" , line map is correct? "+(i!==undefined?e.arraysEqual(t,computeLineStarts(i)):"unknown"))}}var o=t[r]+n;if(a){return o>t[r+1]?t[r+1]:typeof i==="string"&&o>i.length?i.length:o}if(r=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}e.isWhiteSpaceSingleLine=isWhiteSpaceSingleLine;function isLineBreak(e){return e===10||e===13||e===8232||e===8233}e.isLineBreak=isLineBreak;function isDigit(e){return e>=48&&e<=57}function isHexDigit(e){return isDigit(e)||e>=65&&e<=70||e>=97&&e<=102}function isCodePoint(e){return e<=1114111}function isOctalDigit(e){return e>=48&&e<=55}e.isOctalDigit=isOctalDigit;function couldStartTrivia(e,t){var r=e.charCodeAt(t);switch(r){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return true;case 35:return t===0;default:return r>127}}e.couldStartTrivia=couldStartTrivia;function skipTrivia(t,r,n,i){if(i===void 0){i=false}if(e.positionIsSynthesized(r)){return r}while(true){var a=t.charCodeAt(r);switch(a){case 13:if(t.charCodeAt(r+1)===10){r++}case 10:r++;if(n){return r}continue;case 9:case 11:case 12:case 32:r++;continue;case 47:if(i){break}if(t.charCodeAt(r+1)===47){r+=2;while(r127&&isWhiteSpaceLike(a)){r++;continue}break}return r}}e.skipTrivia=skipTrivia;var m="<<<<<<<".length;function isConflictMarkerTrivia(t,r){e.Debug.assert(r>=0);if(r===0||isLineBreak(t.charCodeAt(r-1))){var n=t.charCodeAt(r);if(r+m=0&&r127&&isWhiteSpaceLike(m)){if(d&&isLineBreak(m)){u=true}r++;continue}break e}}if(d){f=i(s,c,l,u,a,f)}return f}function forEachLeadingCommentRange(e,t,r,n){return iterateCommentRanges(false,e,t,false,r,n)}e.forEachLeadingCommentRange=forEachLeadingCommentRange;function forEachTrailingCommentRange(e,t,r,n){return iterateCommentRanges(false,e,t,true,r,n)}e.forEachTrailingCommentRange=forEachTrailingCommentRange;function reduceEachLeadingCommentRange(e,t,r,n,i){return iterateCommentRanges(true,e,t,false,r,n,i)}e.reduceEachLeadingCommentRange=reduceEachLeadingCommentRange;function reduceEachTrailingCommentRange(e,t,r,n,i){return iterateCommentRanges(true,e,t,true,r,n,i)}e.reduceEachTrailingCommentRange=reduceEachTrailingCommentRange;function appendCommentRange(e,t,r,n,i,a){if(!a){a=[]}a.push({kind:r,pos:e,end:t,hasTrailingNewLine:n});return a}function getLeadingCommentRanges(e,t){return reduceEachLeadingCommentRange(e,t,appendCommentRange,undefined,undefined)}e.getLeadingCommentRanges=getLeadingCommentRanges;function getTrailingCommentRanges(e,t){return reduceEachTrailingCommentRange(e,t,appendCommentRange,undefined,undefined)}e.getTrailingCommentRanges=getTrailingCommentRanges;function getShebang(e){var t=_.exec(e);if(t){return t[0]}}e.getShebang=getShebang;function isIdentifierStart(e,t){return e>=65&&e<=90||e>=97&&e<=122||e===36||e===95||e>127&&isUnicodeIdentifierStart(e,t)}e.isIdentifierStart=isIdentifierStart;function isIdentifierPart(e,t,r){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===36||e===95||(r===1?e===45||e===58:false)||e>127&&isUnicodeIdentifierPart(e,t)}e.isIdentifierPart=isIdentifierPart;function isIdentifierText(e,t,r){var n=y(e,0);if(!isIdentifierStart(n,t)){return false}for(var i=charSize(n);i112},isReservedWord:function(){return _>=77&&_<=112},isUnterminated:function(){return(v&4)!==0},getCommentDirectives:function(){return T},getTokenFlags:function(){return v},reScanGreaterToken:reScanGreaterToken,reScanSlashToken:reScanSlashToken,reScanTemplateToken:reScanTemplateToken,reScanTemplateHeadOrNoSubstitutionTemplate:reScanTemplateHeadOrNoSubstitutionTemplate,scanJsxIdentifier:scanJsxIdentifier,scanJsxAttributeValue:scanJsxAttributeValue,reScanJsxAttributeValue:reScanJsxAttributeValue,reScanJsxToken:reScanJsxToken,reScanLessThanToken:reScanLessThanToken,reScanQuestionToken:reScanQuestionToken,scanJsxToken:scanJsxToken,scanJsDocToken:scanJsDocToken,scan:scan,getText:getText,clearCommentDirectives:clearCommentDirectives,setText:setText,setScriptTarget:setScriptTarget,setLanguageVariant:setLanguageVariant,setOnError:setOnError,setTextPos:setTextPos,setInJSDocType:setInJSDocType,tryScan:tryScan,lookAhead:lookAhead,scanRange:scanRange};if(e.Debug.isDebugging){Object.defineProperty(S,"__debugShowCurrentPositionInText",{get:function(){var e=S.getText();return e.slice(0,S.getStartPos())+"║"+e.slice(S.getStartPos())}})}return S;function error(e,t,r){if(t===void 0){t=u}if(o){var n=u;u=t;o(e,r||0);u=n}}function scanNumberFragment(){var t=u;var r=false;var n=false;var i="";while(true){var a=l.charCodeAt(u);if(a===95){v|=512;if(r){r=false;n=true;i+=l.substring(t,u)}else if(n){error(e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,u,1)}else{error(e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1)}u++;t=u;continue}if(isDigit(a)){r=true;n=false;u++;continue}break}if(l.charCodeAt(u-1)===95){error(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1)}return i+l.substring(t,u)}function scanNumber(){var t=u;var r=scanNumberFragment();var n;var i;if(l.charCodeAt(u)===46){u++;n=scanNumberFragment()}var a=u;if(l.charCodeAt(u)===69||l.charCodeAt(u)===101){u++;v|=16;if(l.charCodeAt(u)===43||l.charCodeAt(u)===45)u++;var o=u;var s=scanNumberFragment();if(!s){error(e.Diagnostics.Digit_expected)}else{i=l.substring(a,o)+s;a=u}}var c;if(v&512){c=r;if(n){c+="."+n}if(i){c+=i}}else{c=l.substring(t,a)}if(n!==undefined||v&16){checkForIdentifierStartAfterNumericLiteral(t,n===undefined&&!!(v&16));return{type:8,value:""+ +c}}else{h=c;var d=checkBigIntSuffix();checkForIdentifierStartAfterNumericLiteral(t);return{type:d,value:h}}}function checkForIdentifierStartAfterNumericLiteral(r,n){if(!isIdentifierStart(y(l,u),t)){return}var i=u;var a=scanIdentifierParts().length;if(a===1&&l[i]==="n"){if(n){error(e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation,r,i-r+1)}else{error(e.Diagnostics.A_bigint_literal_must_be_an_integer,r,i-r+1)}}else{error(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,i,a);u=i}}function scanOctalDigits(){var e=u;while(isOctalDigit(l.charCodeAt(u))){u++}return+l.substring(e,u)}function scanExactNumberOfHexDigits(e,t){var r=scanHexDigits(e,false,t);return r?parseInt(r,16):-1}function scanMinimumNumberOfHexDigits(e,t){return scanHexDigits(e,true,t)}function scanHexDigits(t,r,n){var i=[];var a=false;var o=false;while(i.length=65&&s<=70){s+=97-65}else if(!(s>=48&&s<=57||s>=97&&s<=102)){break}i.push(s);u++;o=false}if(i.length=d){n+=l.substring(i,u);v|=4;error(e.Diagnostics.Unterminated_string_literal);break}var a=l.charCodeAt(u);if(a===r){n+=l.substring(i,u);u++;break}if(a===92&&!t){n+=l.substring(i,u);n+=scanEscapeSequence();i=u;continue}if(isLineBreak(a)&&!t){n+=l.substring(i,u);v|=4;error(e.Diagnostics.Unterminated_string_literal);break}u++}return n}function scanTemplateAndSetTokenValue(t){var r=l.charCodeAt(u)===96;u++;var n=u;var i="";var a;while(true){if(u>=d){i+=l.substring(n,u);v|=4;error(e.Diagnostics.Unterminated_template_literal);a=r?14:17;break}var o=l.charCodeAt(u);if(o===96){i+=l.substring(n,u);u++;a=r?14:17;break}if(o===36&&u+1=d){error(e.Diagnostics.Unexpected_end_of_text);return""}var n=l.charCodeAt(u);u++;switch(n){case 48:if(t&&u=0){return String.fromCharCode(r)}else{error(e.Diagnostics.Hexadecimal_digit_expected);return""}}function scanExtendedUnicodeEscape(){var t=scanMinimumNumberOfHexDigits(1,false);var r=t?parseInt(t,16):-1;var n=false;if(r<0){error(e.Diagnostics.Hexadecimal_digit_expected);n=true}else if(r>1114111){error(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive);n=true}if(u>=d){error(e.Diagnostics.Unexpected_end_of_text);n=true}else if(l.charCodeAt(u)===125){u++}else{error(e.Diagnostics.Unterminated_Unicode_escape_sequence);n=true}if(n){return""}return utf16EncodeAsString(r)}function peekUnicodeEscape(){if(u+5=2&&y(l,u+1)===117&&y(l,u+2)===123){var e=u;u+=3;var r=scanMinimumNumberOfHexDigits(1,false);var n=r?parseInt(r,16):-1;u=e;return n}return-1}function scanIdentifierParts(){var e="";var r=u;while(u=0&&isIdentifierPart(n,t)){u+=3;v|=8;e+=scanExtendedUnicodeEscape();r=u;continue}n=peekUnicodeEscape();if(!(n>=0&&isIdentifierPart(n,t))){break}v|=1024;e+=l.substring(r,u);e+=utf16EncodeAsString(n);u+=6;r=u}else{break}}e+=l.substring(r,u);return e}function getIdentifierToken(){var e=h.length;if(e>=2&&e<=11){var t=h.charCodeAt(0);if(t>=97&&t<=122){var r=n.get(h);if(r!==undefined){return _=r}}}return _=75}function scanBinaryOrOctalDigits(t){var r="";var n=false;var i=false;while(true){var a=l.charCodeAt(u);if(a===95){v|=512;if(n){n=false;i=true}else if(i){error(e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,u,1)}else{error(e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1)}u++;continue}n=true;if(!isDigit(a)||a-48>=t){break}r+=l[u];u++;i=false}if(l.charCodeAt(u-1)===95){error(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1)}return r}function checkBigIntSuffix(){if(l.charCodeAt(u)===110){h+="n";if(v&384){h=e.parsePseudoBigInt(h)+"n"}u++;return 9}else{var t=v&128?parseInt(h.slice(2),2):v&256?parseInt(h.slice(2),8):+h;h=""+t;return 8}}function scan(){var n;g=u;v=0;var a=false;while(true){m=u;if(u>=d){return _=1}var o=y(l,u);if(o===35&&u===0&&isShebangTrivia(l,u)){u=scanShebangTrivia(l,u);if(r){continue}else{return _=6}}switch(o){case 10:case 13:v|=1;if(r){u++;continue}else{if(o===13&&u+1=0&&isIdentifierStart(x,t)){u+=3;v|=8;h=scanExtendedUnicodeEscape()+scanIdentifierParts();return _=getIdentifierToken()}var D=peekUnicodeEscape();if(D>=0&&isIdentifierStart(D,t)){u+=6;v|=1024;h=String.fromCharCode(D)+scanIdentifierParts();return _=getIdentifierToken()}error(e.Diagnostics.Invalid_character);u++;return _=0;case 35:if(u!==0&&l[u+1]==="!"){error(e.Diagnostics.can_only_be_used_at_the_start_of_a_file);u++;return _=0}u++;if(isIdentifierStart(o=l.charCodeAt(u),t)){u++;while(u=d){v|=4;error(e.Diagnostics.Unterminated_regular_expression_literal);break}var a=l.charCodeAt(r);if(isLineBreak(a)){v|=4;error(e.Diagnostics.Unterminated_regular_expression_literal);break}if(n){n=false}else if(a===47&&!i){r++;break}else if(a===91){i=true}else if(a===92){n=true}else if(a===93){i=false}r++}while(r=d){return _=1}var t=l.charCodeAt(u);if(t===60){if(l.charCodeAt(u+1)===47){u+=2;return _=30}u++;return _=29}if(t===123){u++;return _=18}var r=0;var n=-1;while(u0)n++;if(isLineBreak(t)&&r===0){r=-1}else if(!isWhiteSpaceLike(t)){r=u}u++}var i=n===-1?u:n;h=l.substring(g,i);return r===-1?12:11}function scanJsxIdentifier(){if(tokenIsIdentifierOrKeyword(_)){while(u=d){return _=1}var e=y(l,u);u+=charSize(e);switch(e){case 9:case 11:case 12:case 32:while(u=0&&isIdentifierStart(r,t)){u+=3;v|=8;h=scanExtendedUnicodeEscape()+scanIdentifierParts();return _=getIdentifierToken()}var n=peekUnicodeEscape();if(n>=0&&isIdentifierStart(n,t)){u+=6;v|=1024;h=String.fromCharCode(n)+scanIdentifierParts();return _=getIdentifierToken()}u++;return _=0}if(isIdentifierStart(e,t)){var i=e;while(u=0);u=t;g=t;m=t;_=0;h=undefined;v=0}function setInJSDocType(e){b+=e?1:-1}}e.createScanner=createScanner;var y=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function codePointAt(e,t){var r=e.length;if(t<0||t>=r){return undefined}var n=e.charCodeAt(t);if(n>=55296&&n<=56319&&r>t+1){var i=e.charCodeAt(t+1);if(i>=56320&&i<=57343){return(n-55296)*1024+i-56320+65536}}return n};function charSize(e){if(e>=65536){return 2}return 1}function utf16EncodeAsStringFallback(t){e.Debug.assert(0<=t&&t<=1114111);if(t<=65535){return String.fromCharCode(t)}var r=Math.floor((t-65536)/1024)+55296;var n=(t-65536)%1024+56320;return String.fromCharCode(r,n)}var h=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:utf16EncodeAsStringFallback;function utf16EncodeAsString(e){return h(e)}e.utf16EncodeAsString=utf16EncodeAsString})(l||(l={}));var l;(function(e){function isExternalModuleNameRelative(t){return e.pathIsRelative(t)||e.isRootedDiskPath(t)}e.isExternalModuleNameRelative=isExternalModuleNameRelative;function sortAndDeduplicateDiagnostics(t){return e.sortAndDeduplicate(t,e.compareDiagnostics)}e.sortAndDeduplicateDiagnostics=sortAndDeduplicateDiagnostics;function getDefaultLibFileName(e){switch(e.target){case 99:return"lib.esnext.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}e.getDefaultLibFileName=getDefaultLibFileName;function textSpanEnd(e){return e.start+e.length}e.textSpanEnd=textSpanEnd;function textSpanIsEmpty(e){return e.length===0}e.textSpanIsEmpty=textSpanIsEmpty;function textSpanContainsPosition(e,t){return t>=e.start&&t=e.pos&&t<=e.end}e.textRangeContainsPositionInclusive=textRangeContainsPositionInclusive;function textSpanContainsTextSpan(e,t){return t.start>=e.start&&textSpanEnd(t)<=textSpanEnd(e)}e.textSpanContainsTextSpan=textSpanContainsTextSpan;function textSpanOverlapsWith(e,t){return textSpanOverlap(e,t)!==undefined}e.textSpanOverlapsWith=textSpanOverlapsWith;function textSpanOverlap(e,t){var r=textSpanIntersection(e,t);return r&&r.length===0?undefined:r}e.textSpanOverlap=textSpanOverlap;function textSpanIntersectsWithTextSpan(e,t){return decodedTextSpanIntersectsWith(e.start,e.length,t.start,t.length)}e.textSpanIntersectsWithTextSpan=textSpanIntersectsWithTextSpan;function textSpanIntersectsWith(e,t,r){return decodedTextSpanIntersectsWith(e.start,e.length,t,r)}e.textSpanIntersectsWith=textSpanIntersectsWith;function decodedTextSpanIntersectsWith(e,t,r,n){var i=e+t;var a=r+n;return r<=i&&a>=e}e.decodedTextSpanIntersectsWith=decodedTextSpanIntersectsWith;function textSpanIntersectsWithPosition(e,t){return t<=textSpanEnd(e)&&t>=e.start}e.textSpanIntersectsWithPosition=textSpanIntersectsWithPosition;function textSpanIntersection(e,t){var r=Math.max(e.start,t.start);var n=Math.min(textSpanEnd(e),textSpanEnd(t));return r<=n?createTextSpanFromBounds(r,n):undefined}e.textSpanIntersection=textSpanIntersection;function createTextSpan(e,t){if(e<0){throw new Error("start < 0")}if(t<0){throw new Error("length < 0")}return{start:e,length:t}}e.createTextSpan=createTextSpan;function createTextSpanFromBounds(e,t){return createTextSpan(e,t-e)}e.createTextSpanFromBounds=createTextSpanFromBounds;function textChangeRangeNewSpan(e){return createTextSpan(e.span.start,e.newLength)}e.textChangeRangeNewSpan=textChangeRangeNewSpan;function textChangeRangeIsUnchanged(e){return textSpanIsEmpty(e.span)&&e.newLength===0}e.textChangeRangeIsUnchanged=textChangeRangeIsUnchanged;function createTextChangeRange(e,t){if(t<0){throw new Error("newLength < 0")}return{span:e,newLength:t}}e.createTextChangeRange=createTextChangeRange;e.unchangedTextChangeRange=createTextChangeRange(createTextSpan(0,0),0);function collapseTextChangeRangesAcrossMultipleVersions(t){if(t.length===0){return e.unchangedTextChangeRange}if(t.length===1){return t[0]}var r=t[0];var n=r.span.start;var i=textSpanEnd(r.span);var a=n+r.newLength;for(var o=1;o=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}e.escapeLeadingUnderscores=escapeLeadingUnderscores;function unescapeLeadingUnderscores(e){var t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}e.unescapeLeadingUnderscores=unescapeLeadingUnderscores;function idText(e){return unescapeLeadingUnderscores(e.escapedText)}e.idText=idText;function symbolName(e){if(e.valueDeclaration&&isPrivateIdentifierPropertyDeclaration(e.valueDeclaration)){return idText(e.valueDeclaration.name)}return unescapeLeadingUnderscores(e.escapedName)}e.symbolName=symbolName;function nameForNamelessJSDocTypedef(e){var t=e.parent.parent;if(!t){return undefined}if(isDeclaration(t)){return getDeclarationIdentifier(t)}switch(t.kind){case 225:if(t.declarationList&&t.declarationList.declarations[0]){return getDeclarationIdentifier(t.declarationList.declarations[0])}break;case 226:var r=t.expression;if(r.kind===209&&r.operatorToken.kind===62){r=r.left}switch(r.kind){case 194:return r.name;case 195:var n=r.argumentExpression;if(isIdentifier(n)){return n}}break;case 200:{return getDeclarationIdentifier(t.expression)}case 238:{if(isDeclaration(t.statement)||isExpression(t.statement)){return getDeclarationIdentifier(t.statement)}break}}}function getDeclarationIdentifier(e){var t=getNameOfDeclaration(e);return t&&isIdentifier(t)?t:undefined}function nodeHasName(t,r){if(isNamedDeclaration(t)&&isIdentifier(t.name)&&idText(t.name)===idText(r)){return true}if(isVariableStatement(t)&&e.some(t.declarationList.declarations,(function(e){return nodeHasName(e,r)}))){return true}return false}e.nodeHasName=nodeHasName;function getNameOfJSDocTypedef(e){return e.name||nameForNamelessJSDocTypedef(e)}e.getNameOfJSDocTypedef=getNameOfJSDocTypedef;function isNamedDeclaration(e){return!!e.name}e.isNamedDeclaration=isNamedDeclaration;function getNonAssignedNameOfDeclaration(t){switch(t.kind){case 75:return t;case 323:case 317:{var r=t.name;if(r.kind===153){return r.right}break}case 196:case 209:{var n=t;switch(e.getAssignmentDeclarationKind(n)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(n.left);case 7:case 8:case 9:return n.arguments[1];default:return undefined}}case 322:return getNameOfJSDocTypedef(t);case 316:return nameForNamelessJSDocTypedef(t);case 259:{var i=t.expression;return isIdentifier(i)?i:undefined}case 195:var a=t;if(e.isBindableStaticElementAccessExpression(a)){return a.argumentExpression}}return t.name}e.getNonAssignedNameOfDeclaration=getNonAssignedNameOfDeclaration;function getNameOfDeclaration(e){if(e===undefined)return undefined;return getNonAssignedNameOfDeclaration(e)||(isFunctionExpression(e)||isClassExpression(e)?getAssignedName(e):undefined)}e.getNameOfDeclaration=getNameOfDeclaration;function getAssignedName(t){if(!t.parent){return undefined}else if(isPropertyAssignment(t.parent)||isBindingElement(t.parent)){return t.parent.name}else if(isBinaryExpression(t.parent)&&t===t.parent.right){if(isIdentifier(t.parent.left)){return t.parent.left}else if(e.isAccessExpression(t.parent.left)){return e.getElementOrPropertyAccessArgumentExpressionOrName(t.parent.left)}}else if(isVariableDeclaration(t.parent)&&isIdentifier(t.parent.name)){return t.parent.name}}function getJSDocParameterTags(t){if(t.name){if(isIdentifier(t.name)){var r=t.name.escapedText;return getJSDocTags(t.parent).filter((function(e){return isJSDocParameterTag(e)&&isIdentifier(e.name)&&e.name.escapedText===r}))}else{var n=t.parent.parameters.indexOf(t);e.Debug.assert(n>-1,"Parameters should always be in their parents' parameter list");var i=getJSDocTags(t.parent).filter(isJSDocParameterTag);if(n=153}e.isNodeKind=isNodeKind;function isToken(e){return e.kind>=0&&e.kind<=152}e.isToken=isToken;function isNodeArray(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")}e.isNodeArray=isNodeArray;function isLiteralKind(e){return 8<=e&&e<=14}e.isLiteralKind=isLiteralKind;function isLiteralExpression(e){return isLiteralKind(e.kind)}e.isLiteralExpression=isLiteralExpression;function isTemplateLiteralKind(e){return 14<=e&&e<=17}e.isTemplateLiteralKind=isTemplateLiteralKind;function isTemplateLiteralToken(e){return isTemplateLiteralKind(e.kind)}e.isTemplateLiteralToken=isTemplateLiteralToken;function isTemplateMiddleOrTemplateTail(e){var t=e.kind;return t===16||t===17}e.isTemplateMiddleOrTemplateTail=isTemplateMiddleOrTemplateTail;function isImportOrExportSpecifier(e){return isImportSpecifier(e)||isExportSpecifier(e)}e.isImportOrExportSpecifier=isImportOrExportSpecifier;function isTypeOnlyImportOrExportDeclaration(e){switch(e.kind){case 258:case 263:return e.parent.parent.isTypeOnly;case 256:return e.parent.isTypeOnly;case 255:return e.isTypeOnly;default:return false}}e.isTypeOnlyImportOrExportDeclaration=isTypeOnlyImportOrExportDeclaration;function isStringTextContainingNode(e){return e.kind===10||isTemplateLiteralKind(e.kind)}e.isStringTextContainingNode=isStringTextContainingNode;function isGeneratedIdentifier(e){return isIdentifier(e)&&(e.autoGenerateFlags&7)>0}e.isGeneratedIdentifier=isGeneratedIdentifier;function isPrivateIdentifierPropertyDeclaration(e){return isPropertyDeclaration(e)&&isPrivateIdentifier(e.name)}e.isPrivateIdentifierPropertyDeclaration=isPrivateIdentifierPropertyDeclaration;function isPrivateIdentifierPropertyAccessExpression(e){return isPropertyAccessExpression(e)&&isPrivateIdentifier(e.name)}e.isPrivateIdentifierPropertyAccessExpression=isPrivateIdentifierPropertyAccessExpression;function isModifierKind(e){switch(e){case 122:case 126:case 81:case 130:case 84:case 89:case 119:case 117:case 118:case 138:case 120:return true}return false}e.isModifierKind=isModifierKind;function isParameterPropertyModifier(t){return!!(e.modifierToFlag(t)&92)}e.isParameterPropertyModifier=isParameterPropertyModifier;function isClassMemberModifier(e){return isParameterPropertyModifier(e)||e===120}e.isClassMemberModifier=isClassMemberModifier;function isModifier(e){return isModifierKind(e.kind)}e.isModifier=isModifier;function isEntityName(e){var t=e.kind;return t===153||t===75}e.isEntityName=isEntityName;function isPropertyName(e){var t=e.kind;return t===75||t===76||t===10||t===8||t===154}e.isPropertyName=isPropertyName;function isBindingName(e){var t=e.kind;return t===75||t===189||t===190}e.isBindingName=isBindingName;function isFunctionLike(e){return e&&isFunctionLikeKind(e.kind)}e.isFunctionLike=isFunctionLike;function isFunctionLikeDeclaration(e){return e&&isFunctionLikeDeclarationKind(e.kind)}e.isFunctionLikeDeclaration=isFunctionLikeDeclaration;function isFunctionLikeDeclarationKind(e){switch(e){case 244:case 161:case 162:case 163:case 164:case 201:case 202:return true;default:return false}}function isFunctionLikeKind(e){switch(e){case 160:case 165:case 305:case 166:case 167:case 170:case 300:case 171:return true;default:return isFunctionLikeDeclarationKind(e)}}e.isFunctionLikeKind=isFunctionLikeKind;function isFunctionOrModuleBlock(e){return isSourceFile(e)||isModuleBlock(e)||isBlock(e)&&isFunctionLike(e.parent)}e.isFunctionOrModuleBlock=isFunctionOrModuleBlock;function isClassElement(e){var t=e.kind;return t===162||t===159||t===161||t===163||t===164||t===167||t===222}e.isClassElement=isClassElement;function isClassLike(e){return e&&(e.kind===245||e.kind===214)}e.isClassLike=isClassLike;function isAccessor(e){return e&&(e.kind===163||e.kind===164)}e.isAccessor=isAccessor;function isMethodOrAccessor(e){switch(e.kind){case 161:case 163:case 164:return true;default:return false}}e.isMethodOrAccessor=isMethodOrAccessor;function isTypeElement(e){var t=e.kind;return t===166||t===165||t===158||t===160||t===167}e.isTypeElement=isTypeElement;function isClassOrTypeElement(e){return isTypeElement(e)||isClassElement(e)}e.isClassOrTypeElement=isClassOrTypeElement;function isObjectLiteralElementLike(e){var t=e.kind;return t===281||t===282||t===283||t===161||t===163||t===164}e.isObjectLiteralElementLike=isObjectLiteralElementLike;function isTypeNode(t){return e.isTypeNodeKind(t.kind)}e.isTypeNode=isTypeNode;function isFunctionOrConstructorTypeNode(e){switch(e.kind){case 170:case 171:return true}return false}e.isFunctionOrConstructorTypeNode=isFunctionOrConstructorTypeNode;function isBindingPattern(e){if(e){var t=e.kind;return t===190||t===189}return false}e.isBindingPattern=isBindingPattern;function isAssignmentPattern(e){var t=e.kind;return t===192||t===193}e.isAssignmentPattern=isAssignmentPattern;function isArrayBindingElement(e){var t=e.kind;return t===191||t===215}e.isArrayBindingElement=isArrayBindingElement;function isDeclarationBindingElement(e){switch(e.kind){case 242:case 156:case 191:return true}return false}e.isDeclarationBindingElement=isDeclarationBindingElement;function isBindingOrAssignmentPattern(e){return isObjectBindingOrAssignmentPattern(e)||isArrayBindingOrAssignmentPattern(e)}e.isBindingOrAssignmentPattern=isBindingOrAssignmentPattern;function isObjectBindingOrAssignmentPattern(e){switch(e.kind){case 189:case 193:return true}return false}e.isObjectBindingOrAssignmentPattern=isObjectBindingOrAssignmentPattern;function isArrayBindingOrAssignmentPattern(e){switch(e.kind){case 190:case 192:return true}return false}e.isArrayBindingOrAssignmentPattern=isArrayBindingOrAssignmentPattern;function isPropertyAccessOrQualifiedNameOrImportTypeNode(e){var t=e.kind;return t===194||t===153||t===188}e.isPropertyAccessOrQualifiedNameOrImportTypeNode=isPropertyAccessOrQualifiedNameOrImportTypeNode;function isPropertyAccessOrQualifiedName(e){var t=e.kind;return t===194||t===153}e.isPropertyAccessOrQualifiedName=isPropertyAccessOrQualifiedName;function isCallLikeExpression(e){switch(e.kind){case 268:case 267:case 196:case 197:case 198:case 157:return true;default:return false}}e.isCallLikeExpression=isCallLikeExpression;function isCallOrNewExpression(e){return e.kind===196||e.kind===197}e.isCallOrNewExpression=isCallOrNewExpression;function isTemplateLiteral(e){var t=e.kind;return t===211||t===14}e.isTemplateLiteral=isTemplateLiteral;function isLeftHandSideExpression(e){return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(e).kind)}e.isLeftHandSideExpression=isLeftHandSideExpression;function isLeftHandSideExpressionKind(e){switch(e){case 194:case 195:case 197:case 196:case 266:case 267:case 270:case 198:case 192:case 200:case 193:case 214:case 201:case 75:case 13:case 8:case 9:case 10:case 14:case 211:case 91:case 100:case 104:case 106:case 102:case 218:case 219:case 96:return true;default:return false}}function isUnaryExpression(e){return isUnaryExpressionKind(skipPartiallyEmittedExpressions(e).kind)}e.isUnaryExpression=isUnaryExpression;function isUnaryExpressionKind(e){switch(e){case 207:case 208:case 203:case 204:case 205:case 206:case 199:return true;default:return isLeftHandSideExpressionKind(e)}}function isUnaryExpressionWithWrite(e){switch(e.kind){case 208:return true;case 207:return e.operator===45||e.operator===46;default:return false}}e.isUnaryExpressionWithWrite=isUnaryExpressionWithWrite;function isExpression(e){return isExpressionKind(skipPartiallyEmittedExpressions(e).kind)}e.isExpression=isExpression;function isExpressionKind(e){switch(e){case 210:case 212:case 202:case 209:case 213:case 217:case 215:case 327:case 326:return true;default:return isUnaryExpressionKind(e)}}function isAssertionExpression(e){var t=e.kind;return t===199||t===217}e.isAssertionExpression=isAssertionExpression;function isPartiallyEmittedExpression(e){return e.kind===326}e.isPartiallyEmittedExpression=isPartiallyEmittedExpression;function isNotEmittedStatement(e){return e.kind===325}e.isNotEmittedStatement=isNotEmittedStatement;function isSyntheticReference(e){return e.kind===330}e.isSyntheticReference=isSyntheticReference;function isNotEmittedOrPartiallyEmittedNode(e){return isNotEmittedStatement(e)||isPartiallyEmittedExpression(e)}e.isNotEmittedOrPartiallyEmittedNode=isNotEmittedOrPartiallyEmittedNode;function isIterationStatement(e,t){switch(e.kind){case 230:case 231:case 232:case 228:case 229:return true;case 238:return t&&isIterationStatement(e.statement,t)}return false}e.isIterationStatement=isIterationStatement;function isScopeMarker(e){return isExportAssignment(e)||isExportDeclaration(e)}e.isScopeMarker=isScopeMarker;function hasScopeMarker(t){return e.some(t,isScopeMarker)}e.hasScopeMarker=hasScopeMarker;function needsScopeMarker(t){return!e.isAnyImportOrReExport(t)&&!isExportAssignment(t)&&!e.hasModifier(t,1)&&!e.isAmbientModule(t)}e.needsScopeMarker=needsScopeMarker;function isExternalModuleIndicator(t){return e.isAnyImportOrReExport(t)||isExportAssignment(t)||e.hasModifier(t,1)}e.isExternalModuleIndicator=isExternalModuleIndicator;function isForInOrOfStatement(e){return e.kind===231||e.kind===232}e.isForInOrOfStatement=isForInOrOfStatement;function isConciseBody(e){return isBlock(e)||isExpression(e)}e.isConciseBody=isConciseBody;function isFunctionBody(e){return isBlock(e)}e.isFunctionBody=isFunctionBody;function isForInitializer(e){return isVariableDeclarationList(e)||isExpression(e)}e.isForInitializer=isForInitializer;function isModuleBody(e){var t=e.kind;return t===250||t===249||t===75}e.isModuleBody=isModuleBody;function isNamespaceBody(e){var t=e.kind;return t===250||t===249}e.isNamespaceBody=isNamespaceBody;function isJSDocNamespaceBody(e){var t=e.kind;return t===75||t===249}e.isJSDocNamespaceBody=isJSDocNamespaceBody;function isNamedImportBindings(e){var t=e.kind;return t===257||t===256}e.isNamedImportBindings=isNamedImportBindings;function isModuleOrEnumDeclaration(e){return e.kind===249||e.kind===248}e.isModuleOrEnumDeclaration=isModuleOrEnumDeclaration;function isDeclarationKind(e){return e===202||e===191||e===245||e===214||e===162||e===248||e===284||e===263||e===244||e===201||e===163||e===255||e===253||e===258||e===246||e===273||e===161||e===160||e===249||e===252||e===256||e===262||e===156||e===281||e===159||e===158||e===164||e===282||e===247||e===155||e===242||e===322||e===315||e===323}function isDeclarationStatementKind(e){return e===244||e===264||e===245||e===246||e===247||e===248||e===249||e===254||e===253||e===260||e===259||e===252}function isStatementKindButNotDeclarationKind(e){return e===234||e===233||e===241||e===228||e===226||e===224||e===231||e===232||e===230||e===227||e===238||e===235||e===237||e===239||e===240||e===225||e===229||e===236||e===325||e===329||e===328}function isDeclaration(t){if(t.kind===155){return t.parent&&t.parent.kind!==321||e.isInJSFile(t)}return isDeclarationKind(t.kind)}e.isDeclaration=isDeclaration;function isDeclarationStatement(e){return isDeclarationStatementKind(e.kind)}e.isDeclarationStatement=isDeclarationStatement;function isStatementButNotDeclaration(e){return isStatementKindButNotDeclarationKind(e.kind)}e.isStatementButNotDeclaration=isStatementButNotDeclaration;function isStatement(e){var t=e.kind;return isStatementKindButNotDeclarationKind(t)||isDeclarationStatementKind(t)||isBlockStatement(e)}e.isStatement=isStatement;function isBlockStatement(t){if(t.kind!==223)return false;if(t.parent!==undefined){if(t.parent.kind===240||t.parent.kind===280){return false}}return!e.isFunctionBlock(t)}function isModuleReference(e){var t=e.kind;return t===265||t===153||t===75}e.isModuleReference=isModuleReference;function isJsxTagNameExpression(e){var t=e.kind;return t===104||t===75||t===194}e.isJsxTagNameExpression=isJsxTagNameExpression;function isJsxChild(e){var t=e.kind;return t===266||t===276||t===267||t===11||t===270}e.isJsxChild=isJsxChild;function isJsxAttributeLike(e){var t=e.kind;return t===273||t===275}e.isJsxAttributeLike=isJsxAttributeLike;function isStringLiteralOrJsxExpression(e){var t=e.kind;return t===10||t===276}e.isStringLiteralOrJsxExpression=isStringLiteralOrJsxExpression;function isJsxOpeningLikeElement(e){var t=e.kind;return t===268||t===267}e.isJsxOpeningLikeElement=isJsxOpeningLikeElement;function isCaseOrDefaultClause(e){var t=e.kind;return t===277||t===278}e.isCaseOrDefaultClause=isCaseOrDefaultClause;function isJSDocNode(e){return e.kind>=294&&e.kind<=323}e.isJSDocNode=isJSDocNode;function isJSDocCommentContainingNode(e){return e.kind===303||e.kind===302||isJSDocTag(e)||isJSDocTypeLiteral(e)||isJSDocSignature(e)}e.isJSDocCommentContainingNode=isJSDocCommentContainingNode;function isJSDocTag(e){return e.kind>=306&&e.kind<=323}e.isJSDocTag=isJSDocTag;function isSetAccessor(e){return e.kind===164}e.isSetAccessor=isSetAccessor;function isGetAccessor(e){return e.kind===163}e.isGetAccessor=isGetAccessor;function hasJSDocNodes(e){var t=e.jsDoc;return!!t&&t.length>0}e.hasJSDocNodes=hasJSDocNodes;function hasType(e){return!!e.type}e.hasType=hasType;function hasInitializer(e){return!!e.initializer}e.hasInitializer=hasInitializer;function hasOnlyExpressionInitializer(e){switch(e.kind){case 242:case 156:case 191:case 158:case 159:case 281:case 284:return true;default:return false}}e.hasOnlyExpressionInitializer=hasOnlyExpressionInitializer;function isObjectLiteralElement(e){return e.kind===273||e.kind===275||isObjectLiteralElementLike(e)}e.isObjectLiteralElement=isObjectLiteralElement;function isTypeReferenceType(e){return e.kind===169||e.kind===216}e.isTypeReferenceType=isTypeReferenceType;var t=1073741823;function guessIndentation(r){var n=t;for(var i=0,a=r;i=0);return e.getLineStarts(r)[t]}e.getStartPositionOfLine=getStartPositionOfLine;function nodePosToString(t){var r=getSourceFileOfNode(t);var n=e.getLineAndCharacterOfPosition(r,t.pos);return r.fileName+"("+(n.line+1)+","+(n.character+1)+")"}e.nodePosToString=nodePosToString;function getEndLinePosition(t,r){e.Debug.assert(t>=0);var n=e.getLineStarts(r);var i=t;var a=r.text;if(i+1===n.length){return a.length-1}else{var o=n[i];var s=n[i+1]-1;e.Debug.assert(e.isLineBreak(a.charCodeAt(s)));while(o<=s&&e.isLineBreak(a.charCodeAt(s))){s--}return s}}e.getEndLinePosition=getEndLinePosition;function isFileLevelUniqueName(e,t,r){return!(r&&r(t))&&!e.identifiers.has(t)}e.isFileLevelUniqueName=isFileLevelUniqueName;function nodeIsMissing(e){if(e===undefined){return true}return e.pos===e.end&&e.pos>=0&&e.kind!==1}e.nodeIsMissing=nodeIsMissing;function nodeIsPresent(e){return!nodeIsMissing(e)}e.nodeIsPresent=nodeIsPresent;function insertStatementsAfterPrologue(e,t,r){if(t===undefined||t.length===0)return e;var i=0;for(;i0){return getTokenPosOfNode(t._children[0],r,n)}return e.skipTrivia((r||getSourceFileOfNode(t)).text,t.pos)}e.getTokenPosOfNode=getTokenPosOfNode;function getNonDecoratorTokenPosOfNode(t,r){if(nodeIsMissing(t)||!t.decorators){return getTokenPosOfNode(t,r)}return e.skipTrivia((r||getSourceFileOfNode(t)).text,t.decorators.end)}e.getNonDecoratorTokenPosOfNode=getNonDecoratorTokenPosOfNode;function getSourceTextOfNodeFromSourceFile(e,t,r){if(r===void 0){r=false}return getTextOfNodeFromSourceText(e.text,t,r)}e.getSourceTextOfNodeFromSourceFile=getSourceTextOfNodeFromSourceFile;function isJSDocTypeExpressionOrChild(t){return!!findAncestor(t,e.isJSDocTypeExpression)}function getTextOfNodeFromSourceText(t,r,n){if(n===void 0){n=false}if(nodeIsMissing(r)){return""}var i=t.substring(n?r.pos:e.skipTrivia(t,r.pos),r.end);if(isJSDocTypeExpressionOrChild(r)){i=i.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")}return i}e.getTextOfNodeFromSourceText=getTextOfNodeFromSourceText;function getTextOfNode(e,t){if(t===void 0){t=false}return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(e),e,t)}e.getTextOfNode=getTextOfNode;function getPos(e){return e.pos}function indexOfNode(t,r){return e.binarySearch(t,r,getPos,e.compareValues)}e.indexOfNode=indexOfNode;function getEmitFlags(e){var t=e.emitNode;return t&&t.flags||0}e.getEmitFlags=getEmitFlags;function getLiteralText(t,r,n,i){if(!nodeIsSynthesized(t)&&t.parent&&!(e.isNumericLiteral(t)&&t.numericLiteralFlags&512||e.isBigIntLiteral(t))){return getSourceTextOfNodeFromSourceFile(r,t)}switch(t.kind){case 10:{var a=i?escapeJsxAttributeString:n||getEmitFlags(t)&16777216?escapeString:escapeNonAsciiString;if(t.singleQuote){return"'"+a(t.text,39)+"'"}else{return'"'+a(t.text,34)+'"'}}case 14:case 15:case 16:case 17:{var a=n||getEmitFlags(t)&16777216?escapeString:escapeNonAsciiString;var o=t.rawText||escapeTemplateSubstitution(a(t.text,96));switch(t.kind){case 14:return"`"+o+"`";case 15:return"`"+o+"${";case 16:return"}"+o+"${";case 17:return"}"+o+"`"}break}case 8:case 9:case 13:return t.text}return e.Debug.fail("Literal kind '"+t.kind+"' not accounted for.")}e.getLiteralText=getLiteralText;function getTextOfConstantValue(t){return e.isString(t)?'"'+escapeNonAsciiString(t)+'"':""+t}e.getTextOfConstantValue=getTextOfConstantValue;function makeIdentifierFromModuleName(t){return e.getBaseFileName(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}e.makeIdentifierFromModuleName=makeIdentifierFromModuleName;function isBlockOrCatchScoped(t){return(e.getCombinedNodeFlags(t)&3)!==0||isCatchClauseVariableDeclarationOrBindingElement(t)}e.isBlockOrCatchScoped=isBlockOrCatchScoped;function isCatchClauseVariableDeclarationOrBindingElement(e){var t=getRootDeclaration(e);return t.kind===242&&t.parent.kind===280}e.isCatchClauseVariableDeclarationOrBindingElement=isCatchClauseVariableDeclarationOrBindingElement;function isAmbientModule(t){return e.isModuleDeclaration(t)&&(t.name.kind===10||isGlobalScopeAugmentation(t))}e.isAmbientModule=isAmbientModule;function isModuleWithStringLiteralName(t){return e.isModuleDeclaration(t)&&t.name.kind===10}e.isModuleWithStringLiteralName=isModuleWithStringLiteralName;function isNonGlobalAmbientModule(t){return e.isModuleDeclaration(t)&&e.isStringLiteral(t.name)}e.isNonGlobalAmbientModule=isNonGlobalAmbientModule;function isEffectiveModuleDeclaration(t){return e.isModuleDeclaration(t)||e.isIdentifier(t)}e.isEffectiveModuleDeclaration=isEffectiveModuleDeclaration;function isShorthandAmbientModuleSymbol(e){return isShorthandAmbientModule(e.valueDeclaration)}e.isShorthandAmbientModuleSymbol=isShorthandAmbientModuleSymbol;function isShorthandAmbientModule(e){return e&&e.kind===249&&!e.body}function isBlockScopedContainerTopLevel(t){return t.kind===290||t.kind===249||e.isFunctionLike(t)}e.isBlockScopedContainerTopLevel=isBlockScopedContainerTopLevel;function isGlobalScopeAugmentation(e){return!!(e.flags&1024)}e.isGlobalScopeAugmentation=isGlobalScopeAugmentation;function isExternalModuleAugmentation(e){return isAmbientModule(e)&&isModuleAugmentationExternal(e)}e.isExternalModuleAugmentation=isExternalModuleAugmentation;function isModuleAugmentationExternal(t){switch(t.parent.kind){case 290:return e.isExternalModule(t.parent);case 250:return isAmbientModule(t.parent.parent)&&e.isSourceFile(t.parent.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return false}e.isModuleAugmentationExternal=isModuleAugmentationExternal;function getNonAugmentationDeclaration(t){return e.find(t.declarations,(function(t){return!isExternalModuleAugmentation(t)&&!(e.isModuleDeclaration(t)&&isGlobalScopeAugmentation(t))}))}e.getNonAugmentationDeclaration=getNonAugmentationDeclaration;function isEffectiveExternalModule(t,r){return e.isExternalModule(t)||r.isolatedModules||getEmitModuleKind(r)===e.ModuleKind.CommonJS&&!!t.commonJsModuleIndicator}e.isEffectiveExternalModule=isEffectiveExternalModule;function isEffectiveStrictModeSourceFile(t,r){switch(t.scriptKind){case 1:case 3:case 2:case 4:break;default:return false}if(t.isDeclarationFile){return false}if(getStrictOptionValue(r,"alwaysStrict")){return true}if(e.startsWithUseStrict(t.statements)){return true}if(e.isExternalModule(t)||r.isolatedModules){if(getEmitModuleKind(r)>=e.ModuleKind.ES2015){return true}return!r.noImplicitUseStrict}return false}e.isEffectiveStrictModeSourceFile=isEffectiveStrictModeSourceFile;function isBlockScope(t,r){switch(t.kind){case 290:case 251:case 280:case 249:case 230:case 231:case 232:case 162:case 161:case 163:case 164:case 244:case 201:case 202:return true;case 223:return!e.isFunctionLike(r)}return false}e.isBlockScope=isBlockScope;function isDeclarationWithTypeParameters(t){switch(t.kind){case 315:case 322:case 305:return true;default:e.assertType(t);return isDeclarationWithTypeParameterChildren(t)}}e.isDeclarationWithTypeParameters=isDeclarationWithTypeParameters;function isDeclarationWithTypeParameterChildren(t){switch(t.kind){case 165:case 166:case 160:case 167:case 170:case 171:case 300:case 245:case 214:case 246:case 247:case 321:case 244:case 161:case 162:case 163:case 164:case 201:case 202:return true;default:e.assertType(t);return false}}e.isDeclarationWithTypeParameterChildren=isDeclarationWithTypeParameterChildren;function isAnyImportSyntax(e){switch(e.kind){case 254:case 253:return true;default:return false}}e.isAnyImportSyntax=isAnyImportSyntax;function isLateVisibilityPaintedStatement(e){switch(e.kind){case 254:case 253:case 225:case 245:case 244:case 249:case 247:case 246:case 248:return true;default:return false}}e.isLateVisibilityPaintedStatement=isLateVisibilityPaintedStatement;function isAnyImportOrReExport(t){return isAnyImportSyntax(t)||e.isExportDeclaration(t)}e.isAnyImportOrReExport=isAnyImportOrReExport;function getEnclosingBlockScopeContainer(e){return findAncestor(e.parent,(function(e){return isBlockScope(e,e.parent)}))}e.getEnclosingBlockScopeContainer=getEnclosingBlockScopeContainer;function declarationNameToString(e){return!e||getFullWidth(e)===0?"(Missing)":getTextOfNode(e)}e.declarationNameToString=declarationNameToString;function getNameFromIndexInfo(e){return e.declaration?declarationNameToString(e.declaration.parameters[0].name):undefined}e.getNameFromIndexInfo=getNameFromIndexInfo;function isComputedNonLiteralName(e){return e.kind===154&&!isStringOrNumericLiteralLike(e.expression)}e.isComputedNonLiteralName=isComputedNonLiteralName;function getTextOfPropertyName(t){switch(t.kind){case 75:case 76:return t.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(t.text);case 154:if(isStringOrNumericLiteralLike(t.expression))return e.escapeLeadingUnderscores(t.expression.text);return e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(t)}}e.getTextOfPropertyName=getTextOfPropertyName;function entityNameToString(t){switch(t.kind){case 104:return"this";case 76:case 75:return getFullWidth(t)===0?e.idText(t):getTextOfNode(t);case 153:return entityNameToString(t.left)+"."+entityNameToString(t.right);case 194:if(e.isIdentifier(t.name)||e.isPrivateIdentifier(t.name)){return entityNameToString(t.expression)+"."+entityNameToString(t.name)}else{return e.Debug.assertNever(t.name)}default:return e.Debug.assertNever(t)}}e.entityNameToString=entityNameToString;function createDiagnosticForNode(e,t,r,n,i,a){var o=getSourceFileOfNode(e);return createDiagnosticForNodeInSourceFile(o,e,t,r,n,i,a)}e.createDiagnosticForNode=createDiagnosticForNode;function createDiagnosticForNodeArray(t,r,n,i,a,o,s){var c=e.skipTrivia(t.text,r.pos);return createFileDiagnostic(t,c,r.end-c,n,i,a,o,s)}e.createDiagnosticForNodeArray=createDiagnosticForNodeArray;function createDiagnosticForNodeInSourceFile(e,t,r,n,i,a,o){var s=getErrorSpanForNode(e,t);return createFileDiagnostic(e,s.start,s.length,r,n,i,a,o)}e.createDiagnosticForNodeInSourceFile=createDiagnosticForNodeInSourceFile;function createDiagnosticForNodeFromMessageChain(e,t,r){var n=getSourceFileOfNode(e);var i=getErrorSpanForNode(n,e);return{file:n,start:i.start,length:i.length,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:r}}e.createDiagnosticForNodeFromMessageChain=createDiagnosticForNodeFromMessageChain;function createDiagnosticForRange(e,t,r){return{file:e,start:t.pos,length:t.end-t.pos,code:r.code,category:r.category,messageText:r.message}}e.createDiagnosticForRange=createDiagnosticForRange;function getSpanOfTokenAtPosition(t,r){var n=e.createScanner(t.languageVersion,true,t.languageVariant,t.text,undefined,r);n.scan();var i=n.getTokenPos();return e.createTextSpanFromBounds(i,n.getTextPos())}e.getSpanOfTokenAtPosition=getSpanOfTokenAtPosition;function getErrorSpanForArrowFunction(t,r){var n=e.skipTrivia(t.text,r.pos);if(r.body&&r.body.kind===223){var i=e.getLineAndCharacterOfPosition(t,r.body.pos).line;var a=e.getLineAndCharacterOfPosition(t,r.body.end).line;if(i0?r.statements[0].pos:r.end;return e.createTextSpanFromBounds(a,o)}if(n===undefined){return getSpanOfTokenAtPosition(t,r.pos)}e.Debug.assert(!e.isJSDoc(n));var s=nodeIsMissing(n);var c=s||e.isJsxText(r)?n.pos:e.skipTrivia(t.text,n.pos);if(s){e.Debug.assert(c===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");e.Debug.assert(c===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}else{e.Debug.assert(c>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");e.Debug.assert(c<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}return e.createTextSpanFromBounds(c,n.end)}e.getErrorSpanForNode=getErrorSpanForNode;function isExternalOrCommonJsModule(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==undefined}e.isExternalOrCommonJsModule=isExternalOrCommonJsModule;function isJsonSourceFile(e){return e.scriptKind===6}e.isJsonSourceFile=isJsonSourceFile;function isEnumConst(t){return!!(e.getCombinedModifierFlags(t)&2048)}e.isEnumConst=isEnumConst;function isDeclarationReadonly(t){return!!(e.getCombinedModifierFlags(t)&64&&!e.isParameterPropertyDeclaration(t,t.parent))}e.isDeclarationReadonly=isDeclarationReadonly;function isVarConst(t){return!!(e.getCombinedNodeFlags(t)&2)}e.isVarConst=isVarConst;function isLet(t){return!!(e.getCombinedNodeFlags(t)&1)}e.isLet=isLet;function isSuperCall(e){return e.kind===196&&e.expression.kind===102}e.isSuperCall=isSuperCall;function isImportCall(e){return e.kind===196&&e.expression.kind===96}e.isImportCall=isImportCall;function isImportMeta(t){return e.isMetaProperty(t)&&t.keywordToken===96&&t.name.escapedText==="meta"}e.isImportMeta=isImportMeta;function isLiteralImportTypeNode(t){return e.isImportTypeNode(t)&&e.isLiteralTypeNode(t.argument)&&e.isStringLiteral(t.argument.literal)}e.isLiteralImportTypeNode=isLiteralImportTypeNode;function isPrologueDirective(e){return e.kind===226&&e.expression.kind===10}e.isPrologueDirective=isPrologueDirective;function isCustomPrologue(e){return!!(getEmitFlags(e)&1048576)}e.isCustomPrologue=isCustomPrologue;function isHoistedFunction(t){return isCustomPrologue(t)&&e.isFunctionDeclaration(t)}e.isHoistedFunction=isHoistedFunction;function isHoistedVariable(t){return e.isIdentifier(t.name)&&!t.initializer}function isHoistedVariableStatement(t){return isCustomPrologue(t)&&e.isVariableStatement(t)&&e.every(t.declarationList.declarations,isHoistedVariable)}e.isHoistedVariableStatement=isHoistedVariableStatement;function getLeadingCommentRangesOfNode(t,r){return t.kind!==11?e.getLeadingCommentRanges(r.text,t.pos):undefined}e.getLeadingCommentRangesOfNode=getLeadingCommentRangesOfNode;function getJSDocCommentRanges(t,r){var n=t.kind===156||t.kind===155||t.kind===201||t.kind===202||t.kind===200?e.concatenate(e.getTrailingCommentRanges(r,t.pos),e.getLeadingCommentRanges(r,t.pos)):e.getLeadingCommentRanges(r,t.pos);return e.filter(n,(function(e){return r.charCodeAt(e.pos+1)===42&&r.charCodeAt(e.pos+2)===42&&r.charCodeAt(e.pos+3)!==47}))}e.getJSDocCommentRanges=getJSDocCommentRanges;e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var r=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var a=/^(\/\/\/\s*/;function isPartOfTypeNode(t){if(168<=t.kind&&t.kind<=188){return true}switch(t.kind){case 125:case 148:case 140:case 151:case 143:case 128:case 144:case 141:case 146:case 137:return true;case 110:return t.parent.kind!==205;case 216:return!isExpressionWithTypeArgumentsInClassExtendsClause(t);case 155:return t.parent.kind===186||t.parent.kind===181;case 75:if(t.parent.kind===153&&t.parent.right===t){t=t.parent}else if(t.parent.kind===194&&t.parent.name===t){t=t.parent}e.Debug.assert(t.kind===75||t.kind===153||t.kind===194,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 153:case 194:case 104:{var r=t.parent;if(r.kind===172){return false}if(r.kind===188){return!r.isTypeOf}if(168<=r.kind&&r.kind<=188){return true}switch(r.kind){case 216:return!isExpressionWithTypeArgumentsInClassExtendsClause(r);case 155:return t===r.constraint;case 321:return t===r.constraint;case 159:case 158:case 156:case 242:return t===r.type;case 244:case 201:case 202:case 162:case 161:case 160:case 163:case 164:return t===r.type;case 165:case 166:case 167:return t===r.type;case 199:return t===r.type;case 196:case 197:return e.contains(r.typeArguments,t);case 198:return false}}}return false}e.isPartOfTypeNode=isPartOfTypeNode;function isChildOfNodeWithKind(e,t){while(e){if(e.kind===t){return true}e=e.parent}return false}e.isChildOfNodeWithKind=isChildOfNodeWithKind;function forEachReturnStatement(t,r){return traverse(t);function traverse(t){switch(t.kind){case 235:return r(t);case 251:case 223:case 227:case 228:case 229:case 230:case 231:case 232:case 236:case 237:case 277:case 278:case 238:case 240:case 280:return e.forEachChild(t,traverse)}}}e.forEachReturnStatement=forEachReturnStatement;function forEachYieldExpression(t,r){return traverse(t);function traverse(t){switch(t.kind){case 212:r(t);var n=t.expression;if(n){traverse(n)}return;case 248:case 246:case 249:case 247:return;default:if(e.isFunctionLike(t)){if(t.name&&t.name.kind===154){traverse(t.name.expression);return}}else if(!isPartOfTypeNode(t)){e.forEachChild(t,traverse)}}}}e.forEachYieldExpression=forEachYieldExpression;function getRestParameterElementType(t){if(t&&t.kind===174){return t.elementType}else if(t&&t.kind===169){return e.singleOrUndefined(t.typeArguments)}else{return undefined}}e.getRestParameterElementType=getRestParameterElementType;function getMembersOfDeclaration(e){switch(e.kind){case 246:case 245:case 214:case 173:return e.members;case 193:return e.properties}}e.getMembersOfDeclaration=getMembersOfDeclaration;function isVariableLike(e){if(e){switch(e.kind){case 191:case 284:case 156:case 281:case 159:case 158:case 282:case 242:return true}}return false}e.isVariableLike=isVariableLike;function isVariableLikeOrAccessor(t){return isVariableLike(t)||e.isAccessor(t)}e.isVariableLikeOrAccessor=isVariableLikeOrAccessor;function isVariableDeclarationInVariableStatement(e){return e.parent.kind===243&&e.parent.parent.kind===225}e.isVariableDeclarationInVariableStatement=isVariableDeclarationInVariableStatement;function isValidESSymbolDeclaration(t){return e.isVariableDeclaration(t)?isVarConst(t)&&e.isIdentifier(t.name)&&isVariableDeclarationInVariableStatement(t):e.isPropertyDeclaration(t)?hasReadonlyModifier(t)&&hasStaticModifier(t):e.isPropertySignature(t)&&hasReadonlyModifier(t)}e.isValidESSymbolDeclaration=isValidESSymbolDeclaration;function introducesArgumentsExoticObject(e){switch(e.kind){case 161:case 160:case 162:case 163:case 164:case 244:case 201:return true}return false}e.introducesArgumentsExoticObject=introducesArgumentsExoticObject;function unwrapInnermostStatementOfLabel(e,t){while(true){if(t){t(e)}if(e.statement.kind!==238){return e.statement}e=e.statement}}e.unwrapInnermostStatementOfLabel=unwrapInnermostStatementOfLabel;function isFunctionBlock(t){return t&&t.kind===223&&e.isFunctionLike(t.parent)}e.isFunctionBlock=isFunctionBlock;function isObjectLiteralMethod(e){return e&&e.kind===161&&e.parent.kind===193}e.isObjectLiteralMethod=isObjectLiteralMethod;function isObjectLiteralOrClassExpressionMethod(e){return e.kind===161&&(e.parent.kind===193||e.parent.kind===214)}e.isObjectLiteralOrClassExpressionMethod=isObjectLiteralOrClassExpressionMethod;function isIdentifierTypePredicate(e){return e&&e.kind===1}e.isIdentifierTypePredicate=isIdentifierTypePredicate;function isThisTypePredicate(e){return e&&e.kind===0}e.isThisTypePredicate=isThisTypePredicate;function getPropertyAssignment(e,t,r){return e.properties.filter((function(e){if(e.kind===281){var n=getTextOfPropertyName(e.name);return t===n||!!r&&r===n}return false}))}e.getPropertyAssignment=getPropertyAssignment;function getTsConfigObjectLiteralExpression(t){if(t&&t.statements.length){var r=t.statements[0].expression;return e.tryCast(r,e.isObjectLiteralExpression)}}e.getTsConfigObjectLiteralExpression=getTsConfigObjectLiteralExpression;function getTsConfigPropArrayElementValue(t,r,n){return e.firstDefined(getTsConfigPropArray(t,r),(function(t){return e.isArrayLiteralExpression(t.initializer)?e.find(t.initializer.elements,(function(t){return e.isStringLiteral(t)&&t.text===n})):undefined}))}e.getTsConfigPropArrayElementValue=getTsConfigPropArrayElementValue;function getTsConfigPropArray(t,r){var n=getTsConfigObjectLiteralExpression(t);return n?getPropertyAssignment(n,r):e.emptyArray}e.getTsConfigPropArray=getTsConfigPropArray;function getContainingFunction(t){return findAncestor(t.parent,e.isFunctionLike)}e.getContainingFunction=getContainingFunction;function getContainingFunctionDeclaration(t){return findAncestor(t.parent,e.isFunctionLikeDeclaration)}e.getContainingFunctionDeclaration=getContainingFunctionDeclaration;function getContainingClass(t){return findAncestor(t.parent,e.isClassLike)}e.getContainingClass=getContainingClass;function getThisContainer(t,r){e.Debug.assert(t.kind!==290);while(true){t=t.parent;if(!t){return e.Debug.fail()}switch(t.kind){case 154:if(e.isClassLike(t.parent.parent)){return t}t=t.parent;break;case 157:if(t.parent.kind===156&&e.isClassElement(t.parent.parent)){t=t.parent.parent}else if(e.isClassElement(t.parent)){t=t.parent}break;case 202:if(!r){continue}case 244:case 201:case 249:case 159:case 158:case 161:case 160:case 162:case 163:case 164:case 165:case 166:case 167:case 248:case 290:return t}}}e.getThisContainer=getThisContainer;function getNewTargetContainer(e){var t=getThisContainer(e,false);if(t){switch(t.kind){case 162:case 244:case 201:return t}}return undefined}e.getNewTargetContainer=getNewTargetContainer;function getSuperContainer(t,r){while(true){t=t.parent;if(!t){return t}switch(t.kind){case 154:t=t.parent;break;case 244:case 201:case 202:if(!r){continue}case 159:case 158:case 161:case 160:case 162:case 163:case 164:return t;case 157:if(t.parent.kind===156&&e.isClassElement(t.parent.parent)){t=t.parent.parent}else if(e.isClassElement(t.parent)){t=t.parent}break}}}e.getSuperContainer=getSuperContainer;function getImmediatelyInvokedFunctionExpression(e){if(e.kind===201||e.kind===202){var t=e;var r=e.parent;while(r.kind===200){t=r;r=r.parent}if(r.kind===196&&r.expression===t){return r}}}e.getImmediatelyInvokedFunctionExpression=getImmediatelyInvokedFunctionExpression;function isSuperOrSuperProperty(e){return e.kind===102||isSuperProperty(e)}e.isSuperOrSuperProperty=isSuperOrSuperProperty;function isSuperProperty(e){var t=e.kind;return(t===194||t===195)&&e.expression.kind===102}e.isSuperProperty=isSuperProperty;function isThisProperty(e){var t=e.kind;return(t===194||t===195)&&e.expression.kind===104}e.isThisProperty=isThisProperty;function getEntityNameFromTypeNode(e){switch(e.kind){case 169:return e.typeName;case 216:return isEntityNameExpression(e.expression)?e.expression:undefined;case 75:case 153:return e}return undefined}e.getEntityNameFromTypeNode=getEntityNameFromTypeNode;function getInvokedExpression(e){switch(e.kind){case 198:return e.tag;case 268:case 267:return e.tagName;default:return e.expression}}e.getInvokedExpression=getInvokedExpression;function nodeCanBeDecorated(t,r,n){if(e.isNamedDeclaration(t)&&e.isPrivateIdentifier(t.name)){return false}switch(t.kind){case 245:return true;case 159:return r.kind===245;case 163:case 164:case 161:return t.body!==undefined&&r.kind===245;case 156:return r.body!==undefined&&(r.kind===162||r.kind===161||r.kind===164)&&n.kind===245}return false}e.nodeCanBeDecorated=nodeCanBeDecorated;function nodeIsDecorated(e,t,r){return e.decorators!==undefined&&nodeCanBeDecorated(e,t,r)}e.nodeIsDecorated=nodeIsDecorated;function nodeOrChildIsDecorated(e,t,r){return nodeIsDecorated(e,t,r)||childIsDecorated(e,t)}e.nodeOrChildIsDecorated=nodeOrChildIsDecorated;function childIsDecorated(t,r){switch(t.kind){case 245:return e.some(t.members,(function(e){return nodeOrChildIsDecorated(e,t,r)}));case 161:case 164:return e.some(t.parameters,(function(e){return nodeIsDecorated(e,t,r)}));default:return false}}e.childIsDecorated=childIsDecorated;function isJSXTagName(e){var t=e.parent;if(t.kind===268||t.kind===267||t.kind===269){return t.tagName===e}return false}e.isJSXTagName=isJSXTagName;function isExpressionNode(e){switch(e.kind){case 102:case 100:case 106:case 91:case 13:case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 217:case 199:case 218:case 200:case 201:case 214:case 202:case 205:case 203:case 204:case 207:case 208:case 209:case 210:case 213:case 211:case 215:case 266:case 267:case 270:case 212:case 206:case 219:return true;case 153:while(e.parent.kind===153){e=e.parent}return e.parent.kind===172||isJSXTagName(e);case 75:if(e.parent.kind===172||isJSXTagName(e)){return true}case 8:case 9:case 10:case 14:case 104:return isInExpressionContext(e);default:return false}}e.isExpressionNode=isExpressionNode;function isInExpressionContext(e){var t=e.parent;switch(t.kind){case 242:case 156:case 159:case 158:case 284:case 281:case 191:return t.initializer===e;case 226:case 227:case 228:case 229:case 235:case 236:case 237:case 277:case 239:return t.expression===e;case 230:var r=t;return r.initializer===e&&r.initializer.kind!==243||r.condition===e||r.incrementor===e;case 231:case 232:var n=t;return n.initializer===e&&n.initializer.kind!==243||n.expression===e;case 199:case 217:return e===t.expression;case 221:return e===t.expression;case 154:return e===t.expression;case 157:case 276:case 275:case 283:return true;case 216:return t.expression===e&&isExpressionWithTypeArgumentsInClassExtendsClause(t);case 282:return t.objectAssignmentInitializer===e;default:return isExpressionNode(t)}}e.isInExpressionContext=isInExpressionContext;function isPartOfTypeQuery(e){while(e.kind===153||e.kind===75){e=e.parent}return e.kind===172}e.isPartOfTypeQuery=isPartOfTypeQuery;function isExternalModuleImportEqualsDeclaration(e){return e.kind===253&&e.moduleReference.kind===265}e.isExternalModuleImportEqualsDeclaration=isExternalModuleImportEqualsDeclaration;function getExternalModuleImportEqualsDeclarationExpression(t){e.Debug.assert(isExternalModuleImportEqualsDeclaration(t));return t.moduleReference.expression}e.getExternalModuleImportEqualsDeclarationExpression=getExternalModuleImportEqualsDeclarationExpression;function isInternalModuleImportEqualsDeclaration(e){return e.kind===253&&e.moduleReference.kind!==265}e.isInternalModuleImportEqualsDeclaration=isInternalModuleImportEqualsDeclaration;function isSourceFileJS(e){return isInJSFile(e)}e.isSourceFileJS=isSourceFileJS;function isSourceFileNotJS(e){return!isInJSFile(e)}e.isSourceFileNotJS=isSourceFileNotJS;function isInJSFile(e){return!!e&&!!(e.flags&131072)}e.isInJSFile=isInJSFile;function isInJsonFile(e){return!!e&&!!(e.flags&33554432)}e.isInJsonFile=isInJsonFile;function isSourceFileNotJson(e){return!isJsonSourceFile(e)}e.isSourceFileNotJson=isSourceFileNotJson;function isInJSDoc(e){return!!e&&!!(e.flags&4194304)}e.isInJSDoc=isInJSDoc;function isJSDocIndexSignature(t){return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&t.typeName.escapedText==="Object"&&t.typeArguments&&t.typeArguments.length===2&&(t.typeArguments[0].kind===143||t.typeArguments[0].kind===140)}e.isJSDocIndexSignature=isJSDocIndexSignature;function isRequireCall(t,r){if(t.kind!==196){return false}var n=t,i=n.expression,a=n.arguments;if(i.kind!==75||i.escapedText!=="require"){return false}if(a.length!==1){return false}var o=a[0];return!r||e.isStringLiteralLike(o)}e.isRequireCall=isRequireCall;function isRequireVariableDeclaration(t,r){return e.isVariableDeclaration(t)&&!!t.initializer&&isRequireCall(t.initializer,r)}e.isRequireVariableDeclaration=isRequireVariableDeclaration;function isRequireVariableDeclarationStatement(t,r){if(r===void 0){r=true}return e.isVariableStatement(t)&&e.every(t.declarationList.declarations,(function(e){return isRequireVariableDeclaration(e,r)}))}e.isRequireVariableDeclarationStatement=isRequireVariableDeclarationStatement;function isSingleOrDoubleQuote(e){return e===39||e===34}e.isSingleOrDoubleQuote=isSingleOrDoubleQuote;function isStringDoubleQuoted(e,t){return getSourceTextOfNodeFromSourceFile(t,e).charCodeAt(0)===34}e.isStringDoubleQuoted=isStringDoubleQuoted;function getDeclarationOfExpando(t){if(!t.parent){return undefined}var r;var n;if(e.isVariableDeclaration(t.parent)&&t.parent.initializer===t){if(!isInJSFile(t)&&!isVarConst(t.parent)){return undefined}r=t.parent.name;n=t.parent}else if(e.isBinaryExpression(t.parent)){var i=t.parent;var a=t.parent.operatorToken.kind;if(a===62&&i.right===t){r=i.left;n=r}else if(a===56||a===60){if(e.isVariableDeclaration(i.parent)&&i.parent.initializer===i){r=i.parent.name;n=i.parent}else if(e.isBinaryExpression(i.parent)&&i.parent.operatorToken.kind===62&&i.parent.right===i){r=i.parent.left;n=r}if(!r||!isBindableStaticNameExpression(r)||!isSameEntityName(r,i.left)){return undefined}}}if(!r||!getExpandoInitializer(t,isPrototypeAccess(r))){return undefined}return n}e.getDeclarationOfExpando=getDeclarationOfExpando;function isAssignmentDeclaration(t){return e.isBinaryExpression(t)||isAccessExpression(t)||e.isIdentifier(t)||e.isCallExpression(t)}e.isAssignmentDeclaration=isAssignmentDeclaration;function getEffectiveInitializer(t){if(isInJSFile(t)&&t.initializer&&e.isBinaryExpression(t.initializer)&&(t.initializer.operatorToken.kind===56||t.initializer.operatorToken.kind===60)&&t.name&&isEntityNameExpression(t.name)&&isSameEntityName(t.name,t.initializer.left)){return t.initializer.right}return t.initializer}e.getEffectiveInitializer=getEffectiveInitializer;function getDeclaredExpandoInitializer(e){var t=getEffectiveInitializer(e);return t&&getExpandoInitializer(t,isPrototypeAccess(e.name))}e.getDeclaredExpandoInitializer=getDeclaredExpandoInitializer;function hasExpandoValueProperty(t,r){return e.forEach(t.properties,(function(t){return e.isPropertyAssignment(t)&&e.isIdentifier(t.name)&&t.name.escapedText==="value"&&t.initializer&&getExpandoInitializer(t.initializer,r)}))}function getAssignedExpandoInitializer(t){if(t&&t.parent&&e.isBinaryExpression(t.parent)&&t.parent.operatorToken.kind===62){var r=isPrototypeAccess(t.parent.left);return getExpandoInitializer(t.parent.right,r)||getDefaultedExpandoInitializer(t.parent.left,t.parent.right,r)}if(t&&e.isCallExpression(t)&&isBindableObjectDefinePropertyCall(t)){var n=hasExpandoValueProperty(t.arguments[2],t.arguments[1].text==="prototype");if(n){return n}}}e.getAssignedExpandoInitializer=getAssignedExpandoInitializer;function getExpandoInitializer(t,r){if(e.isCallExpression(t)){var n=skipParentheses(t.expression);return n.kind===201||n.kind===202?t:undefined}if(t.kind===201||t.kind===214||t.kind===202){return t}if(e.isObjectLiteralExpression(t)&&(t.properties.length===0||r)){return t}}e.getExpandoInitializer=getExpandoInitializer;function getDefaultedExpandoInitializer(t,r,n){var i=e.isBinaryExpression(r)&&(r.operatorToken.kind===56||r.operatorToken.kind===60)&&getExpandoInitializer(r.right,n);if(i&&isSameEntityName(t,r.left)){return i}}function isDefaultedExpandoInitializer(t){var r=e.isVariableDeclaration(t.parent)?t.parent.name:e.isBinaryExpression(t.parent)&&t.parent.operatorToken.kind===62?t.parent.left:undefined;return r&&getExpandoInitializer(t.right,isPrototypeAccess(r))&&isEntityNameExpression(r)&&isSameEntityName(r,t.left)}e.isDefaultedExpandoInitializer=isDefaultedExpandoInitializer;function getNameOfExpando(t){if(e.isBinaryExpression(t.parent)){var r=(t.parent.operatorToken.kind===56||t.parent.operatorToken.kind===60)&&e.isBinaryExpression(t.parent.parent)?t.parent.parent:t.parent;if(r.operatorToken.kind===62&&e.isIdentifier(r.left)){return r.left}}else if(e.isVariableDeclaration(t.parent)){return t.parent.name}}e.getNameOfExpando=getNameOfExpando;function isSameEntityName(t,r){if(isPropertyNameLiteral(t)&&isPropertyNameLiteral(r)){return getTextOfIdentifierOrLiteral(t)===getTextOfIdentifierOrLiteral(t)}if(e.isIdentifier(t)&&isLiteralLikeAccess(r)&&(r.expression.kind===104||e.isIdentifier(r.expression)&&(r.expression.escapedText==="window"||r.expression.escapedText==="self"||r.expression.escapedText==="global"))){var n=getNameOrArgument(r);if(e.isPrivateIdentifier(n)){e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access.")}return isSameEntityName(t,n)}if(isLiteralLikeAccess(t)&&isLiteralLikeAccess(r)){return getElementOrPropertyAccessName(t)===getElementOrPropertyAccessName(r)&&isSameEntityName(t.expression,r.expression)}return false}function getRightMostAssignedExpression(e){while(isAssignmentExpression(e,true)){e=e.right}return e}e.getRightMostAssignedExpression=getRightMostAssignedExpression;function isExportsIdentifier(t){return e.isIdentifier(t)&&t.escapedText==="exports"}e.isExportsIdentifier=isExportsIdentifier;function isModuleIdentifier(t){return e.isIdentifier(t)&&t.escapedText==="module"}e.isModuleIdentifier=isModuleIdentifier;function isModuleExportsAccessExpression(t){return(e.isPropertyAccessExpression(t)||isLiteralLikeElementAccess(t))&&isModuleIdentifier(t.expression)&&getElementOrPropertyAccessName(t)==="exports"}e.isModuleExportsAccessExpression=isModuleExportsAccessExpression;function getAssignmentDeclarationKind(e){var t=getAssignmentDeclarationKindWorker(e);return t===5||isInJSFile(e)?t:0}e.getAssignmentDeclarationKind=getAssignmentDeclarationKind;function isBindableObjectDefinePropertyCall(t){return e.length(t.arguments)===3&&e.isPropertyAccessExpression(t.expression)&&e.isIdentifier(t.expression.expression)&&e.idText(t.expression.expression)==="Object"&&e.idText(t.expression.name)==="defineProperty"&&isStringOrNumericLiteralLike(t.arguments[1])&&isBindableStaticNameExpression(t.arguments[0],true)}e.isBindableObjectDefinePropertyCall=isBindableObjectDefinePropertyCall;function isLiteralLikeAccess(t){return e.isPropertyAccessExpression(t)||isLiteralLikeElementAccess(t)}e.isLiteralLikeAccess=isLiteralLikeAccess;function isLiteralLikeElementAccess(t){return e.isElementAccessExpression(t)&&(isStringOrNumericLiteralLike(t.argumentExpression)||isWellKnownSymbolSyntactically(t.argumentExpression))}e.isLiteralLikeElementAccess=isLiteralLikeElementAccess;function isBindableStaticAccessExpression(t,r){return e.isPropertyAccessExpression(t)&&(!r&&t.expression.kind===104||e.isIdentifier(t.name)&&isBindableStaticNameExpression(t.expression,true))||isBindableStaticElementAccessExpression(t,r)}e.isBindableStaticAccessExpression=isBindableStaticAccessExpression;function isBindableStaticElementAccessExpression(e,t){return isLiteralLikeElementAccess(e)&&(!t&&e.expression.kind===104||isEntityNameExpression(e.expression)||isBindableStaticAccessExpression(e.expression,true))}e.isBindableStaticElementAccessExpression=isBindableStaticElementAccessExpression;function isBindableStaticNameExpression(e,t){return isEntityNameExpression(e)||isBindableStaticAccessExpression(e,t)}e.isBindableStaticNameExpression=isBindableStaticNameExpression;function getNameOrArgument(t){if(e.isPropertyAccessExpression(t)){return t.name}return t.argumentExpression}e.getNameOrArgument=getNameOrArgument;function getAssignmentDeclarationKindWorker(t){if(e.isCallExpression(t)){if(!isBindableObjectDefinePropertyCall(t)){return 0}var r=t.arguments[0];if(isExportsIdentifier(r)||isModuleExportsAccessExpression(r)){return 8}if(isBindableStaticAccessExpression(r)&&getElementOrPropertyAccessName(r)==="prototype"){return 9}return 7}if(t.operatorToken.kind!==62||!isAccessExpression(t.left)){return 0}if(isBindableStaticNameExpression(t.left.expression,true)&&getElementOrPropertyAccessName(t.left)==="prototype"&&e.isObjectLiteralExpression(getInitializerOfBinaryExpression(t))){return 6}return getAssignmentDeclarationPropertyAccessKind(t.left)}function getElementOrPropertyAccessArgumentExpressionOrName(t){if(e.isPropertyAccessExpression(t)){return t.name}var r=skipParentheses(t.argumentExpression);if(e.isNumericLiteral(r)||e.isStringLiteralLike(r)){return r}return t}e.getElementOrPropertyAccessArgumentExpressionOrName=getElementOrPropertyAccessArgumentExpressionOrName;function getElementOrPropertyAccessName(t){var r=getElementOrPropertyAccessArgumentExpressionOrName(t);if(r){if(e.isIdentifier(r)){return r.escapedText}if(e.isStringLiteralLike(r)||e.isNumericLiteral(r)){return e.escapeLeadingUnderscores(r.text)}}if(e.isElementAccessExpression(t)&&isWellKnownSymbolSyntactically(t.argumentExpression)){return getPropertyNameForKnownSymbolName(e.idText(t.argumentExpression.name))}return undefined}e.getElementOrPropertyAccessName=getElementOrPropertyAccessName;function getAssignmentDeclarationPropertyAccessKind(t){if(t.expression.kind===104){return 4}else if(isModuleExportsAccessExpression(t)){return 2}else if(isBindableStaticNameExpression(t.expression,true)){if(isPrototypeAccess(t.expression)){return 3}var r=t;while(!e.isIdentifier(r.expression)){r=r.expression}var n=r.expression;if((n.escapedText==="exports"||n.escapedText==="module"&&getElementOrPropertyAccessName(r)==="exports")&&isBindableStaticAccessExpression(t)){return 1}if(isBindableStaticNameExpression(t,true)||e.isElementAccessExpression(t)&&isDynamicName(t)){return 5}}return 0}e.getAssignmentDeclarationPropertyAccessKind=getAssignmentDeclarationPropertyAccessKind;function getInitializerOfBinaryExpression(t){while(e.isBinaryExpression(t.right)){t=t.right}return t.right}e.getInitializerOfBinaryExpression=getInitializerOfBinaryExpression;function isPrototypePropertyAssignment(t){return e.isBinaryExpression(t)&&getAssignmentDeclarationKind(t)===3}e.isPrototypePropertyAssignment=isPrototypePropertyAssignment;function isSpecialPropertyDeclaration(t){return isInJSFile(t)&&t.parent&&t.parent.kind===226&&(!e.isElementAccessExpression(t)||isLiteralLikeElementAccess(t))&&!!e.getJSDocTypeTag(t.parent)}e.isSpecialPropertyDeclaration=isSpecialPropertyDeclaration;function setValueDeclaration(e,t){var r=e.valueDeclaration;if(!r||!(t.flags&8388608&&!(r.flags&8388608))&&(isAssignmentDeclaration(r)&&!isAssignmentDeclaration(t))||r.kind!==t.kind&&isEffectiveModuleDeclaration(r)){e.valueDeclaration=t}}e.setValueDeclaration=setValueDeclaration;function isFunctionSymbol(t){if(!t||!t.valueDeclaration){return false}var r=t.valueDeclaration;return r.kind===244||e.isVariableDeclaration(r)&&r.initializer&&e.isFunctionLike(r.initializer)}e.isFunctionSymbol=isFunctionSymbol;function importFromModuleSpecifier(t){return tryGetImportFromModuleSpecifier(t)||e.Debug.failBadSyntaxKind(t.parent)}e.importFromModuleSpecifier=importFromModuleSpecifier;function tryGetImportFromModuleSpecifier(t){switch(t.parent.kind){case 254:case 260:return t.parent;case 265:return t.parent.parent;case 196:return isImportCall(t.parent)||isRequireCall(t.parent,false)?t.parent:undefined;case 187:e.Debug.assert(e.isStringLiteral(t));return e.tryCast(t.parent.parent,e.isImportTypeNode);default:return undefined}}e.tryGetImportFromModuleSpecifier=tryGetImportFromModuleSpecifier;function getExternalModuleName(t){switch(t.kind){case 254:case 260:return t.moduleSpecifier;case 253:return t.moduleReference.kind===265?t.moduleReference.expression:undefined;case 188:return isLiteralImportTypeNode(t)?t.argument.literal:undefined;default:return e.Debug.assertNever(t)}}e.getExternalModuleName=getExternalModuleName;function getNamespaceDeclarationNode(t){switch(t.kind){case 254:return t.importClause&&e.tryCast(t.importClause.namedBindings,e.isNamespaceImport);case 253:return t;case 260:return t.exportClause&&e.tryCast(t.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(t)}}e.getNamespaceDeclarationNode=getNamespaceDeclarationNode;function isDefaultImport(e){return e.kind===254&&!!e.importClause&&!!e.importClause.name}e.isDefaultImport=isDefaultImport;function forEachImportClauseDeclaration(t,r){if(t.name){var n=r(t);if(n)return n}if(t.namedBindings){var n=e.isNamespaceImport(t.namedBindings)?r(t.namedBindings):e.forEach(t.namedBindings.elements,r);if(n)return n}}e.forEachImportClauseDeclaration=forEachImportClauseDeclaration;function hasQuestionToken(e){if(e){switch(e.kind){case 156:case 161:case 160:case 282:case 281:case 159:case 158:return e.questionToken!==undefined}}return false}e.hasQuestionToken=hasQuestionToken;function isJSDocConstructSignature(t){var r=e.isJSDocFunctionType(t)?e.firstOrUndefined(t.parameters):undefined;var n=e.tryCast(r&&r.name,e.isIdentifier);return!!n&&n.escapedText==="new"}e.isJSDocConstructSignature=isJSDocConstructSignature;function isJSDocTypeAlias(e){return e.kind===322||e.kind===315||e.kind===316}e.isJSDocTypeAlias=isJSDocTypeAlias;function isTypeAlias(t){return isJSDocTypeAlias(t)||e.isTypeAliasDeclaration(t)}e.isTypeAlias=isTypeAlias;function getSourceOfAssignment(t){return e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&t.expression.operatorToken.kind===62?getRightMostAssignedExpression(t.expression):undefined}function getSourceOfDefaultedAssignment(t){return e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&getAssignmentDeclarationKind(t.expression)!==0&&e.isBinaryExpression(t.expression.right)&&(t.expression.right.operatorToken.kind===56||t.expression.right.operatorToken.kind===60)?t.expression.right.right:undefined}function getSingleInitializerOfVariableStatementOrPropertyDeclaration(e){switch(e.kind){case 225:var t=getSingleVariableOfVariableStatement(e);return t&&t.initializer;case 159:return e.initializer;case 281:return e.initializer}}e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=getSingleInitializerOfVariableStatementOrPropertyDeclaration;function getSingleVariableOfVariableStatement(t){return e.isVariableStatement(t)?e.firstOrUndefined(t.declarationList.declarations):undefined}function getNestedModuleDeclaration(t){return e.isModuleDeclaration(t)&&t.body&&t.body.kind===249?t.body:undefined}function getJSDocCommentsAndTags(t){var r;if(isVariableLike(t)&&e.hasInitializer(t)&&e.hasJSDocNodes(t.initializer)){r=e.append(r,e.last(t.initializer.jsDoc))}var n=t;while(n&&n.parent){if(e.hasJSDocNodes(n)){r=e.append(r,e.last(n.jsDoc))}if(n.kind===156){r=e.addRange(r,e.getJSDocParameterTags(n));break}if(n.kind===155){r=e.addRange(r,e.getJSDocTypeParameterTags(n));break}n=getNextJSDocCommentLocation(n)}return r||e.emptyArray}e.getJSDocCommentsAndTags=getJSDocCommentsAndTags;function getNextJSDocCommentLocation(t){var r=t.parent;if(r.kind===281||r.kind===259||r.kind===159||r.kind===226&&t.kind===194||getNestedModuleDeclaration(r)||e.isBinaryExpression(t)&&t.operatorToken.kind===62){return r}else if(r.parent&&(getSingleVariableOfVariableStatement(r.parent)===t||e.isBinaryExpression(r)&&r.operatorToken.kind===62)){return r.parent}else if(r.parent&&r.parent.parent&&(getSingleVariableOfVariableStatement(r.parent.parent)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(r.parent.parent)===t||getSourceOfDefaultedAssignment(r.parent.parent))){return r.parent.parent}}function getParameterSymbolFromJSDoc(t){if(t.symbol){return t.symbol}if(!e.isIdentifier(t.name)){return undefined}var r=t.name.escapedText;var n=getHostSignatureFromJSDoc(t);if(!n){return undefined}var i=e.find(n.parameters,(function(e){return e.name.kind===75&&e.name.escapedText===r}));return i&&i.symbol}e.getParameterSymbolFromJSDoc=getParameterSymbolFromJSDoc;function getHostSignatureFromJSDoc(t){var r=getEffectiveJSDocHost(t);return r&&e.isFunctionLike(r)?r:undefined}e.getHostSignatureFromJSDoc=getHostSignatureFromJSDoc;function getEffectiveJSDocHost(e){var t=getJSDocHost(e);var r=getSourceOfDefaultedAssignment(t)||getSourceOfAssignment(t)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(t)||getSingleVariableOfVariableStatement(t)||getNestedModuleDeclaration(t)||t;return r}e.getEffectiveJSDocHost=getEffectiveJSDocHost;function getJSDocHost(t){return e.Debug.checkDefined(findAncestor(t.parent,e.isJSDoc)).parent}e.getJSDocHost=getJSDocHost;function getTypeParameterFromJsDoc(t){var r=t.name.escapedText;var n=t.parent.parent.parent.typeParameters;return n&&e.find(n,(function(e){return e.name.escapedText===r}))}e.getTypeParameterFromJsDoc=getTypeParameterFromJsDoc;function hasRestParameter(t){var r=e.lastOrUndefined(t.parameters);return!!r&&isRestParameter(r)}e.hasRestParameter=hasRestParameter;function isRestParameter(t){var r=e.isJSDocParameterTag(t)?t.typeExpression&&t.typeExpression.type:t.type;return t.dotDotDotToken!==undefined||!!r&&r.kind===301}e.isRestParameter=isRestParameter;function hasTypeArguments(e){return!!e.typeArguments}e.hasTypeArguments=hasTypeArguments;var o;(function(e){e[e["None"]=0]="None";e[e["Definite"]=1]="Definite";e[e["Compound"]=2]="Compound"})(o=e.AssignmentKind||(e.AssignmentKind={}));function getAssignmentTargetKind(e){var t=e.parent;while(true){switch(t.kind){case 209:var r=t.operatorToken.kind;return isAssignmentOperator(r)&&t.left===e?r===62?1:2:0;case 207:case 208:var n=t.operator;return n===45||n===46?2:0;case 231:case 232:return t.initializer===e?1:0;case 200:case 192:case 213:case 218:e=t;break;case 282:if(t.name!==e){return 0}e=t.parent;break;case 281:if(t.name===e){return 0}e=t.parent;break;default:return 0}t=e.parent}}e.getAssignmentTargetKind=getAssignmentTargetKind;function isAssignmentTarget(e){return getAssignmentTargetKind(e)!==0}e.isAssignmentTarget=isAssignmentTarget;function isNodeWithPossibleHoistedDeclaration(e){switch(e.kind){case 223:case 225:case 236:case 227:case 237:case 251:case 277:case 278:case 238:case 230:case 231:case 232:case 228:case 229:case 240:case 280:return true}return false}e.isNodeWithPossibleHoistedDeclaration=isNodeWithPossibleHoistedDeclaration;function isValueSignatureDeclaration(t){return e.isFunctionExpression(t)||e.isArrowFunction(t)||e.isMethodOrAccessor(t)||e.isFunctionDeclaration(t)||e.isConstructorDeclaration(t)}e.isValueSignatureDeclaration=isValueSignatureDeclaration;function walkUp(e,t){while(e&&e.kind===t){e=e.parent}return e}function walkUpParenthesizedTypes(e){return walkUp(e,182)}e.walkUpParenthesizedTypes=walkUpParenthesizedTypes;function walkUpParenthesizedExpressions(e){return walkUp(e,200)}e.walkUpParenthesizedExpressions=walkUpParenthesizedExpressions;function skipParentheses(t){return e.skipOuterExpressions(t,1)}e.skipParentheses=skipParentheses;function skipParenthesesUp(e){while(e.kind===200){e=e.parent}return e}function isDeleteTarget(e){if(e.kind!==194&&e.kind!==195){return false}e=walkUpParenthesizedExpressions(e.parent);return e&&e.kind===203}e.isDeleteTarget=isDeleteTarget;function isNodeDescendantOf(e,t){while(e){if(e===t)return true;e=e.parent}return false}e.isNodeDescendantOf=isNodeDescendantOf;function isDeclarationName(t){return!e.isSourceFile(t)&&!e.isBindingPattern(t)&&e.isDeclaration(t.parent)&&t.parent.name===t}e.isDeclarationName=isDeclarationName;function getDeclarationFromName(t){var r=t.parent;switch(t.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(r))return r.parent;case 75:if(e.isDeclaration(r)){return r.name===t?r:undefined}else if(e.isQualifiedName(r)){var n=r.parent;return e.isJSDocParameterTag(n)&&n.name===r?n:undefined}else{var i=r.parent;return e.isBinaryExpression(i)&&getAssignmentDeclarationKind(i)!==0&&(i.left.symbol||i.symbol)&&e.getNameOfDeclaration(i)===t?i:undefined}case 76:return e.isDeclaration(r)&&r.name===t?r:undefined;default:return undefined}}e.getDeclarationFromName=getDeclarationFromName;function isLiteralComputedPropertyDeclarationName(t){return isStringOrNumericLiteralLike(t)&&t.parent.kind===154&&e.isDeclaration(t.parent.parent)}e.isLiteralComputedPropertyDeclarationName=isLiteralComputedPropertyDeclarationName;function isIdentifierName(e){var t=e.parent;switch(t.kind){case 159:case 158:case 161:case 160:case 163:case 164:case 284:case 281:case 194:return t.name===e;case 153:if(t.right===e){while(t.kind===153){t=t.parent}return t.kind===172||t.kind===169}return false;case 191:case 258:return t.propertyName===e;case 263:case 273:return true}return false}e.isIdentifierName=isIdentifierName;function isAliasSymbolDeclaration(t){return t.kind===253||t.kind===252||t.kind===255&&!!t.name||t.kind===256||t.kind===262||t.kind===258||t.kind===263||t.kind===259&&exportAssignmentIsAlias(t)||e.isBinaryExpression(t)&&getAssignmentDeclarationKind(t)===2&&exportAssignmentIsAlias(t)||e.isPropertyAccessExpression(t)&&e.isBinaryExpression(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===62&&isAliasableExpression(t.parent.right)||t.kind===282||t.kind===281&&isAliasableExpression(t.initializer)}e.isAliasSymbolDeclaration=isAliasSymbolDeclaration;function getAliasDeclarationFromName(e){switch(e.parent.kind){case 255:case 258:case 256:case 263:case 259:case 253:return e.parent;case 153:do{e=e.parent}while(e.parent.kind===153);return getAliasDeclarationFromName(e)}}e.getAliasDeclarationFromName=getAliasDeclarationFromName;function isAliasableExpression(t){return isEntityNameExpression(t)||e.isClassExpression(t)}e.isAliasableExpression=isAliasableExpression;function exportAssignmentIsAlias(e){var t=getExportAssignmentExpression(e);return isAliasableExpression(t)}e.exportAssignmentIsAlias=exportAssignmentIsAlias;function getExportAssignmentExpression(t){return e.isExportAssignment(t)?t.expression:t.right}e.getExportAssignmentExpression=getExportAssignmentExpression;function getPropertyAssignmentAliasLikeExpression(e){return e.kind===282?e.name:e.kind===281?e.initializer:e.parent.right}e.getPropertyAssignmentAliasLikeExpression=getPropertyAssignmentAliasLikeExpression;function getEffectiveBaseTypeNode(t){var r=getClassExtendsHeritageElement(t);if(r&&isInJSFile(t)){var n=e.getJSDocAugmentsTag(t);if(n){return n.class}}return r}e.getEffectiveBaseTypeNode=getEffectiveBaseTypeNode;function getClassExtendsHeritageElement(e){var t=getHeritageClause(e.heritageClauses,90);return t&&t.types.length>0?t.types[0]:undefined}e.getClassExtendsHeritageElement=getClassExtendsHeritageElement;function getEffectiveImplementsTypeNodes(t){if(isInJSFile(t)){return e.getJSDocImplementsTags(t).map((function(e){return e.class}))}else{var r=getHeritageClause(t.heritageClauses,113);return r===null||r===void 0?void 0:r.types}}e.getEffectiveImplementsTypeNodes=getEffectiveImplementsTypeNodes;function getAllSuperTypeNodes(t){return e.isInterfaceDeclaration(t)?getInterfaceBaseTypeNodes(t)||e.emptyArray:e.isClassLike(t)?e.concatenate(e.singleElementArray(getEffectiveBaseTypeNode(t)),getEffectiveImplementsTypeNodes(t))||e.emptyArray:e.emptyArray}e.getAllSuperTypeNodes=getAllSuperTypeNodes;function getInterfaceBaseTypeNodes(e){var t=getHeritageClause(e.heritageClauses,90);return t?t.types:undefined}e.getInterfaceBaseTypeNodes=getInterfaceBaseTypeNodes;function getHeritageClause(e,t){if(e){for(var r=0,n=e;r=0){return i[a]}return undefined}function add(a){var o;if(a.file){o=n.get(a.file.fileName);if(!o){o=[];n.set(a.file.fileName,o);e.insertSorted(r,a.file.fileName,e.compareStringsCaseSensitive)}}else{if(i){i=false;t=t.slice()}o=t}e.insertSorted(o,a,compareDiagnostics)}function getGlobalDiagnostics(){i=true;return t}function getDiagnostics(i){if(i){return n.get(i)||[]}var a=e.flatMapToMutable(r,(function(e){return n.get(e)}));if(!t.length){return a}a.unshift.apply(a,t);return a}}e.createDiagnosticCollection=createDiagnosticCollection;var l=/\$\{/g;function escapeTemplateSubstitution(e){return e.replace(l,"\\${")}function hasInvalidEscape(t){return t&&!!(e.isNoSubstitutionTemplateLiteral(t)?t.templateFlags:t.head.templateFlags||e.some(t.templateSpans,(function(e){return!!e.literal.templateFlags})))}e.hasInvalidEscape=hasInvalidEscape;var u=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var d=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var p=/[\\`]/g;var f=e.createMapFromTemplate({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085"});function encodeUtf16EscapeSequence(e){var t=e.toString(16).toUpperCase();var r=("0000"+t).slice(-4);return"\\u"+r}function getReplacement(e,t,r){if(e.charCodeAt(0)===0){var n=r.charCodeAt(t+e.length);if(n>=48&&n<=57){return"\\x00"}return"\\0"}return f.get(e)||encodeUtf16EscapeSequence(e.charCodeAt(0))}function escapeString(e,t){var r=t===96?p:t===39?d:u;return e.replace(r,getReplacement)}e.escapeString=escapeString;var g=/[^\u0000-\u007F]/g;function escapeNonAsciiString(e,t){e=escapeString(e,t);return g.test(e)?e.replace(g,(function(e){return encodeUtf16EscapeSequence(e.charCodeAt(0))})):e}e.escapeNonAsciiString=escapeNonAsciiString;var m=/[\"\u0000-\u001f\u2028\u2029\u0085]/g;var _=/[\'\u0000-\u001f\u2028\u2029\u0085]/g;var y=e.createMapFromTemplate({'"':""","'":"'"});function encodeJsxCharacterEntity(e){var t=e.toString(16).toUpperCase();return"&#x"+t+";"}function getJsxAttributeStringReplacement(e){if(e.charCodeAt(0)===0){return"�"}return y.get(e)||encodeJsxCharacterEntity(e.charCodeAt(0))}function escapeJsxAttributeString(e,t){var r=t===39?_:m;return e.replace(r,getJsxAttributeStringReplacement)}e.escapeJsxAttributeString=escapeJsxAttributeString;function stripQuotes(e){var t=e.length;if(t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&isQuoteOrBacktick(e.charCodeAt(0))){return e.substring(1,t-1)}return e}e.stripQuotes=stripQuotes;function isQuoteOrBacktick(e){return e===39||e===34||e===96}function isIntrinsicJsxName(t){var r=t.charCodeAt(0);return r>=97&&r<=122||e.stringContains(t,"-")}e.isIntrinsicJsxName=isIntrinsicJsxName;var h=[""," "];function getIndentString(e){if(h[e]===undefined){h[e]=getIndentString(e-1)+h[1]}return h[e]}e.getIndentString=getIndentString;function getIndentSize(){return h[1].length}e.getIndentSize=getIndentSize;function createTextWriter(t){var r;var n;var i;var a;var o;var s=false;function updateLineCountAndPosFor(t){var n=e.computeLineStarts(t);if(n.length>1){a=a+n.length-1;o=r.length-t.length+e.last(n);i=o-r.length===0}else{i=false}}function writeText(e){if(e&&e.length){if(i){e=getIndentString(n)+e;i=false}r+=e;updateLineCountAndPosFor(e)}}function write(e){if(e)s=false;writeText(e)}function writeComment(e){if(e)s=true;writeText(e)}function reset(){r="";n=0;i=true;a=0;o=0;s=false}function rawWrite(e){if(e!==undefined){r+=e;updateLineCountAndPosFor(e);s=false}}function writeLiteral(e){if(e&&e.length){write(e)}}function writeLine(e){if(!i||e){r+=t;a++;o=r.length;i=true;s=false}}function getTextPosWithWriteLine(){return i?r.length:r.length+t.length}reset();return{write:write,rawWrite:rawWrite,writeLiteral:writeLiteral,writeLine:writeLine,increaseIndent:function(){n++},decreaseIndent:function(){n--},getIndent:function(){return n},getTextPos:function(){return r.length},getLine:function(){return a},getColumn:function(){return i?n*getIndentSize():r.length-o},getText:function(){return r},isAtStartOfLine:function(){return i},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!r.length&&e.isWhiteSpaceLike(r.charCodeAt(r.length-1))},clear:reset,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:write,writeOperator:write,writeParameter:write,writeProperty:write,writePunctuation:write,writeSpace:write,writeStringLiteral:write,writeSymbol:function(e,t){return write(e)},writeTrailingSemicolon:write,writeComment:writeComment,getTextPosWithWriteLine:getTextPosWithWriteLine}}e.createTextWriter=createTextWriter;function getTrailingSemicolonDeferringWriter(e){var t=false;function commitPendingTrailingSemicolon(){if(t){e.writeTrailingSemicolon(";");t=false}}return i(i({},e),{writeTrailingSemicolon:function(){t=true},writeLiteral:function(t){commitPendingTrailingSemicolon();e.writeLiteral(t)},writeStringLiteral:function(t){commitPendingTrailingSemicolon();e.writeStringLiteral(t)},writeSymbol:function(t,r){commitPendingTrailingSemicolon();e.writeSymbol(t,r)},writePunctuation:function(t){commitPendingTrailingSemicolon();e.writePunctuation(t)},writeKeyword:function(t){commitPendingTrailingSemicolon();e.writeKeyword(t)},writeOperator:function(t){commitPendingTrailingSemicolon();e.writeOperator(t)},writeParameter:function(t){commitPendingTrailingSemicolon();e.writeParameter(t)},writeSpace:function(t){commitPendingTrailingSemicolon();e.writeSpace(t)},writeProperty:function(t){commitPendingTrailingSemicolon();e.writeProperty(t)},writeComment:function(t){commitPendingTrailingSemicolon();e.writeComment(t)},writeLine:function(){commitPendingTrailingSemicolon();e.writeLine()},increaseIndent:function(){commitPendingTrailingSemicolon();e.increaseIndent()},decreaseIndent:function(){commitPendingTrailingSemicolon();e.decreaseIndent()}})}e.getTrailingSemicolonDeferringWriter=getTrailingSemicolonDeferringWriter;function hostUsesCaseSensitiveFileNames(e){return e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames():false}e.hostUsesCaseSensitiveFileNames=hostUsesCaseSensitiveFileNames;function hostGetCanonicalFileName(t){return e.createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(t))}e.hostGetCanonicalFileName=hostGetCanonicalFileName;function getResolvedExternalModuleName(e,t,r){return t.moduleName||getExternalModuleNameFromPath(e,t.fileName,r&&r.fileName)}e.getResolvedExternalModuleName=getResolvedExternalModuleName;function getExternalModuleNameFromDeclaration(e,t,r){var n=t.getExternalModuleFileFromDeclaration(r);if(!n||n.isDeclarationFile){return undefined}return getResolvedExternalModuleName(e,n)}e.getExternalModuleNameFromDeclaration=getExternalModuleNameFromDeclaration;function getExternalModuleNameFromPath(t,r,n){var getCanonicalFileName=function(e){return t.getCanonicalFileName(e)};var i=e.toPath(n?e.getDirectoryPath(n):t.getCommonSourceDirectory(),t.getCurrentDirectory(),getCanonicalFileName);var a=e.getNormalizedAbsolutePath(r,t.getCurrentDirectory());var o=e.getRelativePathToDirectoryOrUrl(i,a,i,getCanonicalFileName,false);var s=removeFileExtension(o);return n?e.ensurePathIsNonModuleName(s):s}e.getExternalModuleNameFromPath=getExternalModuleNameFromPath;function getOwnEmitOutputFilePath(e,t,r){var n=t.getCompilerOptions();var i;if(n.outDir){i=removeFileExtension(getSourceFilePathInNewDir(e,t,n.outDir))}else{i=removeFileExtension(e)}return i+r}e.getOwnEmitOutputFilePath=getOwnEmitOutputFilePath;function getDeclarationEmitOutputFilePath(e,t){return getDeclarationEmitOutputFilePathWorker(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),(function(e){return t.getCanonicalFileName(e)}))}e.getDeclarationEmitOutputFilePath=getDeclarationEmitOutputFilePath;function getDeclarationEmitOutputFilePathWorker(e,t,r,n,i){var a=t.declarationDir||t.outDir;var o=a?getSourceFilePathInNewDirWorker(e,a,r,n,i):e;return removeFileExtension(o)+".d.ts"}e.getDeclarationEmitOutputFilePathWorker=getDeclarationEmitOutputFilePathWorker;function getSourceFilesToEmit(t,r,n){var i=t.getCompilerOptions();if(i.outFile||i.out){var a=getEmitModuleKind(i);var o=i.emitDeclarationOnly||a===e.ModuleKind.AMD||a===e.ModuleKind.System;return e.filter(t.getSourceFiles(),(function(r){return(o||!e.isExternalModule(r))&&sourceFileMayBeEmitted(r,t,n)}))}else{var s=r===undefined?t.getSourceFiles():[r];return e.filter(s,(function(e){return sourceFileMayBeEmitted(e,t,n)}))}}e.getSourceFilesToEmit=getSourceFilesToEmit;function sourceFileMayBeEmitted(e,t,r){var n=t.getCompilerOptions();return!(n.noEmitForJsFiles&&isSourceFileJS(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&!(isJsonSourceFile(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&(r||!t.isSourceOfProjectReferenceRedirect(e.fileName))}e.sourceFileMayBeEmitted=sourceFileMayBeEmitted;function getSourceFilePathInNewDir(e,t,r){return getSourceFilePathInNewDirWorker(e,r,t.getCurrentDirectory(),t.getCommonSourceDirectory(),(function(e){return t.getCanonicalFileName(e)}))}e.getSourceFilePathInNewDir=getSourceFilePathInNewDir;function getSourceFilePathInNewDirWorker(t,r,n,i,a){var o=e.getNormalizedAbsolutePath(t,n);var s=a(o).indexOf(a(i))===0;o=s?o.substring(i.length):o;return e.combinePaths(r,o)}e.getSourceFilePathInNewDirWorker=getSourceFilePathInNewDirWorker;function writeFile(t,r,n,i,a,o){t.writeFile(n,i,a,(function(t){r.add(createCompilerDiagnostic(e.Diagnostics.Could_not_write_file_0_Colon_1,n,t))}),o)}e.writeFile=writeFile;function ensureDirectoriesExist(t,r,n){if(t.length>e.getRootLength(t)&&!n(t)){var i=e.getDirectoryPath(t);ensureDirectoriesExist(i,r,n);r(t)}}function writeFileEnsuringDirectories(t,r,n,i,a,o){try{i(t,r,n)}catch(s){ensureDirectoriesExist(e.getDirectoryPath(e.normalizePath(t)),a,o);i(t,r,n)}}e.writeFileEnsuringDirectories=writeFileEnsuringDirectories;function getLineOfLocalPosition(t,r){var n=e.getLineStarts(t);return e.computeLineOfPosition(n,r)}e.getLineOfLocalPosition=getLineOfLocalPosition;function getLineOfLocalPositionFromLineMap(t,r){return e.computeLineOfPosition(t,r)}e.getLineOfLocalPositionFromLineMap=getLineOfLocalPositionFromLineMap;function getFirstConstructorWithBody(t){return e.find(t.members,(function(t){return e.isConstructorDeclaration(t)&&nodeIsPresent(t.body)}))}e.getFirstConstructorWithBody=getFirstConstructorWithBody;function getSetAccessorValueParameter(e){if(e&&e.parameters.length>0){var t=e.parameters.length===2&¶meterIsThisKeyword(e.parameters[0]);return e.parameters[t?1:0]}}e.getSetAccessorValueParameter=getSetAccessorValueParameter;function getSetAccessorTypeAnnotationNode(e){var t=getSetAccessorValueParameter(e);return t&&t.type}e.getSetAccessorTypeAnnotationNode=getSetAccessorTypeAnnotationNode;function getThisParameter(t){if(t.parameters.length&&!e.isJSDocSignature(t)){var r=t.parameters[0];if(parameterIsThisKeyword(r)){return r}}}e.getThisParameter=getThisParameter;function parameterIsThisKeyword(e){return isThisIdentifier(e.name)}e.parameterIsThisKeyword=parameterIsThisKeyword;function isThisIdentifier(e){return!!e&&e.kind===75&&identifierIsThisKeyword(e)}e.isThisIdentifier=isThisIdentifier;function identifierIsThisKeyword(e){return e.originalKeywordKind===104}e.identifierIsThisKeyword=identifierIsThisKeyword;function getAllAccessorDeclarations(t,r){var n;var i;var a;var o;if(hasDynamicName(r)){n=r;if(r.kind===163){a=r}else if(r.kind===164){o=r}else{e.Debug.fail("Accessor has wrong kind")}}else{e.forEach(t,(function(t){if(e.isAccessor(t)&&hasModifier(t,32)===hasModifier(r,32)){var s=getPropertyNameForPropertyNameNode(t.name);var c=getPropertyNameForPropertyNameNode(r.name);if(s===c){if(!n){n=t}else if(!i){i=t}if(t.kind===163&&!a){a=t}if(t.kind===164&&!o){o=t}}}}))}return{firstAccessor:n,secondAccessor:i,getAccessor:a,setAccessor:o}}e.getAllAccessorDeclarations=getAllAccessorDeclarations;function getEffectiveTypeAnnotationNode(t){if(!isInJSFile(t)&&e.isFunctionDeclaration(t))return undefined;var r=t.type;if(r||!isInJSFile(t))return r;return e.isJSDocPropertyLikeTag(t)?t.typeExpression&&t.typeExpression.type:e.getJSDocType(t)}e.getEffectiveTypeAnnotationNode=getEffectiveTypeAnnotationNode;function getTypeAnnotationNode(e){return e.type}e.getTypeAnnotationNode=getTypeAnnotationNode;function getEffectiveReturnTypeNode(t){return e.isJSDocSignature(t)?t.type&&t.type.typeExpression&&t.type.typeExpression.type:t.type||(isInJSFile(t)?e.getJSDocReturnType(t):undefined)}e.getEffectiveReturnTypeNode=getEffectiveReturnTypeNode;function getJSDocTypeParameterDeclarations(t){return e.flatMap(e.getJSDocTags(t),(function(e){return isNonTypeAliasTemplate(e)?e.typeParameters:undefined}))}e.getJSDocTypeParameterDeclarations=getJSDocTypeParameterDeclarations;function isNonTypeAliasTemplate(t){return e.isJSDocTemplateTag(t)&&!(t.parent.kind===303&&t.parent.tags.some(isJSDocTypeAlias))}function getEffectiveSetAccessorTypeAnnotationNode(e){var t=getSetAccessorValueParameter(e);return t&&getEffectiveTypeAnnotationNode(t)}e.getEffectiveSetAccessorTypeAnnotationNode=getEffectiveSetAccessorTypeAnnotationNode;function emitNewLineBeforeLeadingComments(e,t,r,n){emitNewLineBeforeLeadingCommentsOfPosition(e,t,r.pos,n)}e.emitNewLineBeforeLeadingComments=emitNewLineBeforeLeadingComments;function emitNewLineBeforeLeadingCommentsOfPosition(e,t,r,n){if(n&&n.length&&r!==n[0].pos&&getLineOfLocalPositionFromLineMap(e,r)!==getLineOfLocalPositionFromLineMap(e,n[0].pos)){t.writeLine()}}e.emitNewLineBeforeLeadingCommentsOfPosition=emitNewLineBeforeLeadingCommentsOfPosition;function emitNewLineBeforeLeadingCommentOfPosition(e,t,r,n){if(r!==n&&getLineOfLocalPositionFromLineMap(e,r)!==getLineOfLocalPositionFromLineMap(e,n)){t.writeLine()}}e.emitNewLineBeforeLeadingCommentOfPosition=emitNewLineBeforeLeadingCommentOfPosition;function emitComments(e,t,r,n,i,a,o,s){if(n&&n.length>0){if(i){r.writeSpace(" ")}var c=false;for(var l=0,u=n;l=m+2){break}}u.push(g);d=g}if(u.length){var m=getLineOfLocalPositionFromLineMap(r,e.last(u).end);var y=getLineOfLocalPositionFromLineMap(r,e.skipTrivia(t,a.pos));if(y>=m+2){emitNewLineBeforeLeadingComments(r,n,a,c);emitComments(t,r,n,u,false,true,o,i);l={nodePos:a.pos,detachedCommentEndPos:e.last(u).end}}}}return l;function isPinnedCommentLocal(e){return isPinnedComment(t,e.pos)}}e.emitDetachedComments=emitDetachedComments;function writeCommentRange(t,r,n,i,a,o){if(t.charCodeAt(i+1)===42){var s=e.computeLineAndCharacterOfPosition(r,i);var c=r.length;var l=void 0;for(var u=i,d=s.line;u0){var m=g%getIndentSize();var _=getIndentString((g-m)/getIndentSize());n.rawWrite(_);while(m){n.rawWrite(" ");m--}}else{n.rawWrite("")}}writeTrimmedCurrentLine(t,a,n,o,u,p);u=p}}else{n.writeComment(t.substring(i,a))}}e.writeCommentRange=writeCommentRange;function writeTrimmedCurrentLine(e,t,r,n,i,a){var o=Math.min(t,a-1);var s=e.substring(i,o).replace(/^\s+|\s+$/g,"");if(s){r.writeComment(s);if(o!==t){r.writeLine()}}else{r.rawWrite(n)}}function calculateIndent(t,r,n){var i=0;for(;r=0&&e.kind<=152){return 0}if(e.modifierFlagsCache&536870912){return e.modifierFlagsCache&~536870912}var t=getModifierFlagsNoCache(e);e.modifierFlagsCache=t|536870912;return t}e.getModifierFlags=getModifierFlags;function getModifierFlagsNoCache(t){var r=0;if(t.modifiers){for(var n=0,i=t.modifiers;n=62&&e<=74}e.isAssignmentOperator=isAssignmentOperator;function tryGetClassExtendingExpressionWithTypeArguments(e){var t=tryGetClassImplementingOrExtendingExpressionWithTypeArguments(e);return t&&!t.isImplements?t.class:undefined}e.tryGetClassExtendingExpressionWithTypeArguments=tryGetClassExtendingExpressionWithTypeArguments;function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(t){return e.isExpressionWithTypeArguments(t)&&e.isHeritageClause(t.parent)&&e.isClassLike(t.parent.parent)?{class:t.parent.parent,isImplements:t.parent.token===113}:undefined}e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=tryGetClassImplementingOrExtendingExpressionWithTypeArguments;function isAssignmentExpression(t,r){return e.isBinaryExpression(t)&&(r?t.operatorToken.kind===62:isAssignmentOperator(t.operatorToken.kind))&&e.isLeftHandSideExpression(t.left)}e.isAssignmentExpression=isAssignmentExpression;function isDestructuringAssignment(e){if(isAssignmentExpression(e,true)){var t=e.left.kind;return t===193||t===192}return false}e.isDestructuringAssignment=isDestructuringAssignment;function isExpressionWithTypeArgumentsInClassExtendsClause(e){return tryGetClassExtendingExpressionWithTypeArguments(e)!==undefined}e.isExpressionWithTypeArgumentsInClassExtendsClause=isExpressionWithTypeArgumentsInClassExtendsClause;function isEntityNameExpression(e){return e.kind===75||isPropertyAccessEntityNameExpression(e)}e.isEntityNameExpression=isEntityNameExpression;function getFirstIdentifier(e){switch(e.kind){case 75:return e;case 153:do{e=e.left}while(e.kind!==75);return e;case 194:do{e=e.expression}while(e.kind!==75);return e}}e.getFirstIdentifier=getFirstIdentifier;function isDottedName(e){return e.kind===75||e.kind===104||e.kind===102||e.kind===194&&isDottedName(e.expression)||e.kind===200&&isDottedName(e.expression)}e.isDottedName=isDottedName;function isPropertyAccessEntityNameExpression(t){return e.isPropertyAccessExpression(t)&&e.isIdentifier(t.name)&&isEntityNameExpression(t.expression)}e.isPropertyAccessEntityNameExpression=isPropertyAccessEntityNameExpression;function tryGetPropertyAccessOrIdentifierToString(t){if(e.isPropertyAccessExpression(t)){var r=tryGetPropertyAccessOrIdentifierToString(t.expression);if(r!==undefined){return r+"."+t.name}}else if(e.isIdentifier(t)){return e.unescapeLeadingUnderscores(t.escapedText)}return undefined}e.tryGetPropertyAccessOrIdentifierToString=tryGetPropertyAccessOrIdentifierToString;function isPrototypeAccess(e){return isBindableStaticAccessExpression(e)&&getElementOrPropertyAccessName(e)==="prototype"}e.isPrototypeAccess=isPrototypeAccess;function isRightSideOfQualifiedNameOrPropertyAccess(e){return e.parent.kind===153&&e.parent.right===e||e.parent.kind===194&&e.parent.name===e}e.isRightSideOfQualifiedNameOrPropertyAccess=isRightSideOfQualifiedNameOrPropertyAccess;function isEmptyObjectLiteral(e){return e.kind===193&&e.properties.length===0}e.isEmptyObjectLiteral=isEmptyObjectLiteral;function isEmptyArrayLiteral(e){return e.kind===192&&e.elements.length===0}e.isEmptyArrayLiteral=isEmptyArrayLiteral;function getLocalSymbolForExportDefault(e){return isExportDefaultSymbol(e)?e.declarations[0].localSymbol:undefined}e.getLocalSymbolForExportDefault=getLocalSymbolForExportDefault;function isExportDefaultSymbol(t){return t&&e.length(t.declarations)>0&&hasModifier(t.declarations[0],512)}function tryExtractTSExtension(t){return e.find(e.supportedTSExtensionsForExtractExtension,(function(r){return e.fileExtensionIs(t,r)}))}e.tryExtractTSExtension=tryExtractTSExtension;function getExpandedCharCodes(t){var r=[];var n=t.length;for(var i=0;i>6|192);r.push(a&63|128)}else if(a<65536){r.push(a>>12|224);r.push(a>>6&63|128);r.push(a&63|128)}else if(a<131072){r.push(a>>18|240);r.push(a>>12&63|128);r.push(a>>6&63|128);r.push(a&63|128)}else{e.Debug.assert(false,"Unexpected code point")}}return r}var v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function convertToBase64(e){var t="";var r=getExpandedCharCodes(e);var n=0;var i=r.length;var a,o,s,c;while(n>2;o=(r[n]&3)<<4|r[n+1]>>4;s=(r[n+1]&15)<<2|r[n+2]>>6;c=r[n+2]&63;if(n+1>=i){s=c=64}else if(n+2>=i){c=64}t+=v.charAt(a)+v.charAt(o)+v.charAt(s)+v.charAt(c);n+=3}return t}e.convertToBase64=convertToBase64;function getStringFromExpandedCharCodes(e){var t="";var r=0;var n=e.length;while(r>4&3;var u=(o&15)<<4|s>>2&15;var d=(s&3)<<6|c&63;if(u===0&&s!==0){n.push(l)}else if(d===0&&c!==0){n.push(l,u)}else{n.push(l,u,d)}i+=4}return getStringFromExpandedCharCodes(n)}e.base64decode=base64decode;function readJson(t,r){try{var n=r.readFile(t);if(!n)return{};var i=e.parseConfigFileTextToJson(t,n);if(i.error){return{}}return i.config}catch(e){return{}}}e.readJson=readJson;function directoryProbablyExists(e,t){return!t.directoryExists||t.directoryExists(e)}e.directoryProbablyExists=directoryProbablyExists;var T="\r\n";var b="\n";function getNewLineCharacter(t,r){switch(t.newLine){case 0:return T;case 1:return b}return r?r():e.sys?e.sys.newLine:T}e.getNewLineCharacter=getNewLineCharacter;function createRange(t,r){if(r===void 0){r=t}e.Debug.assert(r>=t||r===-1);return{pos:t,end:r}}e.createRange=createRange;function moveRangeEnd(e,t){return createRange(e.pos,t)}e.moveRangeEnd=moveRangeEnd;function moveRangePos(e,t){return createRange(t,e.end)}e.moveRangePos=moveRangePos;function moveRangePastDecorators(e){return e.decorators&&e.decorators.length>0?moveRangePos(e,e.decorators.end):e}e.moveRangePastDecorators=moveRangePastDecorators;function moveRangePastModifiers(e){return e.modifiers&&e.modifiers.length>0?moveRangePos(e,e.modifiers.end):moveRangePastDecorators(e)}e.moveRangePastModifiers=moveRangePastModifiers;function isCollapsedRange(e){return e.pos===e.end}e.isCollapsedRange=isCollapsedRange;function createTokenRange(t,r){return createRange(t,t+e.tokenToString(r).length)}e.createTokenRange=createTokenRange;function rangeIsOnSingleLine(e,t){return rangeStartIsOnSameLineAsRangeEnd(e,e,t)}e.rangeIsOnSingleLine=rangeIsOnSingleLine;function rangeStartPositionsAreOnSameLine(e,t,r){return positionsAreOnSameLine(getStartPositionOfRange(e,r,false),getStartPositionOfRange(t,r,false),r)}e.rangeStartPositionsAreOnSameLine=rangeStartPositionsAreOnSameLine;function rangeEndPositionsAreOnSameLine(e,t,r){return positionsAreOnSameLine(e.end,t.end,r)}e.rangeEndPositionsAreOnSameLine=rangeEndPositionsAreOnSameLine;function rangeStartIsOnSameLineAsRangeEnd(e,t,r){return positionsAreOnSameLine(getStartPositionOfRange(e,r,false),t.end,r)}e.rangeStartIsOnSameLineAsRangeEnd=rangeStartIsOnSameLineAsRangeEnd;function rangeEndIsOnSameLineAsRangeStart(e,t,r){return positionsAreOnSameLine(e.end,getStartPositionOfRange(t,r,false),r)}e.rangeEndIsOnSameLineAsRangeStart=rangeEndIsOnSameLineAsRangeStart;function getLinesBetweenRangeEndAndRangeStart(t,r,n,i){var a=getStartPositionOfRange(r,n,i);return e.getLinesBetweenPositions(n,t.end,a)}e.getLinesBetweenRangeEndAndRangeStart=getLinesBetweenRangeEndAndRangeStart;function getLinesBetweenRangeEndPositions(t,r,n){return e.getLinesBetweenPositions(n,t.end,r.end)}e.getLinesBetweenRangeEndPositions=getLinesBetweenRangeEndPositions;function isNodeArrayMultiLine(e,t){return!positionsAreOnSameLine(e.pos,e.end,t)}e.isNodeArrayMultiLine=isNodeArrayMultiLine;function positionsAreOnSameLine(t,r,n){return e.getLinesBetweenPositions(n,t,r)===0}e.positionsAreOnSameLine=positionsAreOnSameLine;function getStartPositionOfRange(t,r,n){return positionIsSynthesized(t.pos)?-1:e.skipTrivia(r.text,t.pos,false,n)}e.getStartPositionOfRange=getStartPositionOfRange;function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(t,r,n,i){var a=e.skipTrivia(n.text,t,false,i);var o=getPreviousNonWhitespacePosition(a,r,n);return e.getLinesBetweenPositions(n,o!==null&&o!==void 0?o:r,a)}e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter;function getLinesBetweenPositionAndNextNonWhitespaceCharacter(t,r,n,i){var a=e.skipTrivia(n.text,t,false,i);return e.getLinesBetweenPositions(n,t,Math.min(r,a))}e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=getLinesBetweenPositionAndNextNonWhitespaceCharacter;function getPreviousNonWhitespacePosition(t,r,n){if(r===void 0){r=0}while(t-- >r){if(!e.isWhiteSpaceLike(n.text.charCodeAt(t))){return t}}}function isDeclarationNameOfEnumOrNamespace(t){var r=e.getParseTreeNode(t);if(r){switch(r.parent.kind){case 248:case 249:return r===r.parent.name}}return false}e.isDeclarationNameOfEnumOrNamespace=isDeclarationNameOfEnumOrNamespace;function getInitializedVariables(t){return e.filter(t.declarations,isInitializedVariable)}e.getInitializedVariables=getInitializedVariables;function isInitializedVariable(e){return e.initializer!==undefined}function isWatchSet(e){return e.watch&&e.hasOwnProperty("watch")}e.isWatchSet=isWatchSet;function closeFileWatcher(e){e.close()}e.closeFileWatcher=closeFileWatcher;function getCheckFlags(e){return e.flags&33554432?e.checkFlags:0}e.getCheckFlags=getCheckFlags;function getDeclarationModifierFlagsFromSymbol(t){if(t.valueDeclaration){var r=e.getCombinedModifierFlags(t.valueDeclaration);return t.parent&&t.parent.flags&32?r:r&~28}if(getCheckFlags(t)&6){var n=t.checkFlags;var i=n&1024?8:n&256?4:16;var a=n&2048?32:0;return i|a}if(t.flags&4194304){return 4|32}return 0}e.getDeclarationModifierFlagsFromSymbol=getDeclarationModifierFlagsFromSymbol;function skipAlias(e,t){return e.flags&2097152?t.getAliasedSymbol(e):e}e.skipAlias=skipAlias;function getCombinedLocalAndExportSymbolFlags(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}e.getCombinedLocalAndExportSymbolFlags=getCombinedLocalAndExportSymbolFlags;function isWriteOnlyAccess(e){return accessKind(e)===1}e.isWriteOnlyAccess=isWriteOnlyAccess;function isWriteAccess(e){return accessKind(e)!==0}e.isWriteAccess=isWriteAccess;var S;(function(e){e[e["Read"]=0]="Read";e[e["Write"]=1]="Write";e[e["ReadWrite"]=2]="ReadWrite"})(S||(S={}));function accessKind(e){var t=e.parent;if(!t)return 0;switch(t.kind){case 200:return accessKind(t);case 208:case 207:var r=t.operator;return r===45||r===46?writeOrReadWrite():0;case 209:var n=t,i=n.left,a=n.operatorToken;return i===e&&isAssignmentOperator(a.kind)?a.kind===62?1:writeOrReadWrite():0;case 194:return t.name!==e?0:accessKind(t);case 281:{var o=accessKind(t.parent);return e===t.name?reverseAccessKind(o):o}case 282:return e===t.objectAssignmentInitializer?0:accessKind(t.parent);case 192:return accessKind(t);default:return 0}function writeOrReadWrite(){return t.parent&&skipParenthesesUp(t.parent).kind===226?1:2}}function reverseAccessKind(t){switch(t){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(t)}}function compareDataObjects(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length){return false}for(var r in e){if(typeof e[r]==="object"){if(!compareDataObjects(e[r],t[r])){return false}}else if(typeof e[r]!=="function"){if(e[r]!==t[r]){return false}}}return true}e.compareDataObjects=compareDataObjects;function clearMap(e,t){e.forEach(t);e.clear()}e.clearMap=clearMap;function mutateMapSkippingNewValues(e,t,r){var n=r.onDeleteValue,i=r.onExistingValue;e.forEach((function(r,a){var o=t.get(a);if(o===undefined){e.delete(a);n(r,a)}else if(i){i(r,o,a)}}))}e.mutateMapSkippingNewValues=mutateMapSkippingNewValues;function mutateMap(e,t,r){mutateMapSkippingNewValues(e,t,r);var n=r.createNewValue;t.forEach((function(t,r){if(!e.has(r)){e.set(r,n(r,t))}}))}e.mutateMap=mutateMap;function isAbstractConstructorType(e){return!!(getObjectFlags(e)&16)&&!!e.symbol&&isAbstractConstructorSymbol(e.symbol)}e.isAbstractConstructorType=isAbstractConstructorType;function isAbstractConstructorSymbol(e){if(e.flags&32){var t=getClassLikeDeclarationOfSymbol(e);return!!t&&hasModifier(t,128)}return false}e.isAbstractConstructorSymbol=isAbstractConstructorSymbol;function getClassLikeDeclarationOfSymbol(t){return e.find(t.declarations,e.isClassLike)}e.getClassLikeDeclarationOfSymbol=getClassLikeDeclarationOfSymbol;function getObjectFlags(e){return e.flags&3899393?e.objectFlags:0}e.getObjectFlags=getObjectFlags;function typeHasCallOrConstructSignatures(e,t){return t.getSignaturesOfType(e,0).length!==0||t.getSignaturesOfType(e,1).length!==0}e.typeHasCallOrConstructSignatures=typeHasCallOrConstructSignatures;function forSomeAncestorDirectory(t,r){return!!e.forEachAncestorDirectory(t,(function(e){return r(e)?true:undefined}))}e.forSomeAncestorDirectory=forSomeAncestorDirectory;function isUMDExportSymbol(t){return!!t&&!!t.declarations&&!!t.declarations[0]&&e.isNamespaceExportDeclaration(t.declarations[0])}e.isUMDExportSymbol=isUMDExportSymbol;function showModuleSpecifier(t){var r=t.moduleSpecifier;return e.isStringLiteral(r)?r.text:getTextOfNode(r)}e.showModuleSpecifier=showModuleSpecifier;function getLastChild(t){var r;e.forEachChild(t,(function(e){if(nodeIsPresent(e))r=e}),(function(e){for(var t=e.length-1;t>=0;t--){if(nodeIsPresent(e[t])){r=e[t];break}}}));return r}e.getLastChild=getLastChild;function addToSeen(e,t,r){if(r===void 0){r=true}t=String(t);if(e.has(t)){return false}e.set(t,r);return true}e.addToSeen=addToSeen;function isObjectTypeDeclaration(t){return e.isClassLike(t)||e.isInterfaceDeclaration(t)||e.isTypeLiteralNode(t)}e.isObjectTypeDeclaration=isObjectTypeDeclaration;function isTypeNodeKind(e){return e>=168&&e<=188||e===125||e===148||e===140||e===151||e===141||e===128||e===143||e===144||e===104||e===110||e===146||e===100||e===137||e===216||e===295||e===296||e===297||e===298||e===299||e===300||e===301}e.isTypeNodeKind=isTypeNodeKind;function isAccessExpression(e){return e.kind===194||e.kind===195}e.isAccessExpression=isAccessExpression;function getNameOfAccessExpression(t){if(t.kind===194){return t.name}e.Debug.assert(t.kind===195);return t.argumentExpression}e.getNameOfAccessExpression=getNameOfAccessExpression;function isBundleFileTextLike(e){switch(e.kind){case"text":case"internal":return true;default:return false}}e.isBundleFileTextLike=isBundleFileTextLike;function isNamedImportsOrExports(e){return e.kind===257||e.kind===261}e.isNamedImportsOrExports=isNamedImportsOrExports;function Symbol(e,t){this.flags=e;this.escapedName=t;this.declarations=undefined;this.valueDeclaration=undefined;this.id=undefined;this.mergeId=undefined;this.parent=undefined}function Type(t,r){this.flags=r;if(e.Debug.isDebugging){this.checker=t}}function Signature(t,r){this.flags=r;if(e.Debug.isDebugging){this.checker=t}}function Node(e,t,r){this.pos=t;this.end=r;this.kind=e;this.id=0;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.original=undefined}function Token(e,t,r){this.pos=t;this.end=r;this.kind=e;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined}function Identifier(e,t,r){this.pos=t;this.end=r;this.kind=e;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined;this.original=undefined;this.flowNode=undefined}function SourceMapSource(e,t,r){this.fileName=e;this.text=t;this.skipTrivia=r||function(e){return e}}e.objectAllocator={getNodeConstructor:function(){return Node},getTokenConstructor:function(){return Token},getIdentifierConstructor:function(){return Identifier},getPrivateIdentifierConstructor:function(){return Node},getSourceFileConstructor:function(){return Node},getSymbolConstructor:function(){return Symbol},getTypeConstructor:function(){return Type},getSignatureConstructor:function(){return Signature},getSourceMapSourceConstructor:function(){return SourceMapSource}};function setObjectAllocator(t){e.objectAllocator=t}e.setObjectAllocator=setObjectAllocator;function formatStringFromArgs(t,r,n){if(n===void 0){n=0}return t.replace(/{(\d+)}/g,(function(t,i){return""+e.Debug.checkDefined(r[+i+n])}))}e.formatStringFromArgs=formatStringFromArgs;function setLocalizedDiagnosticMessages(t){e.localizedDiagnosticMessages=t}e.setLocalizedDiagnosticMessages=setLocalizedDiagnosticMessages;function getLocaleSpecificMessage(t){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[t.key]||t.message}e.getLocaleSpecificMessage=getLocaleSpecificMessage;function createFileDiagnostic(t,r,n,i){e.Debug.assertGreaterThanOrEqual(r,0);e.Debug.assertGreaterThanOrEqual(n,0);if(t){e.Debug.assertLessThanOrEqual(r,t.text.length);e.Debug.assertLessThanOrEqual(r+n,t.text.length)}var a=getLocaleSpecificMessage(i);if(arguments.length>4){a=formatStringFromArgs(a,arguments,4)}return{file:t,start:r,length:n,messageText:a,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary}}e.createFileDiagnostic=createFileDiagnostic;function formatMessage(e,t){var r=getLocaleSpecificMessage(t);if(arguments.length>2){r=formatStringFromArgs(r,arguments,2)}return r}e.formatMessage=formatMessage;function createCompilerDiagnostic(e){var t=getLocaleSpecificMessage(e);if(arguments.length>1){t=formatStringFromArgs(t,arguments,1)}return{file:undefined,start:undefined,length:undefined,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary}}e.createCompilerDiagnostic=createCompilerDiagnostic;function createCompilerDiagnosticFromMessageChain(e){return{file:undefined,start:undefined,length:undefined,code:e.code,category:e.category,messageText:e.next?e:e.messageText}}e.createCompilerDiagnosticFromMessageChain=createCompilerDiagnosticFromMessageChain;function chainDiagnosticMessages(e,t){var r=getLocaleSpecificMessage(t);if(arguments.length>2){r=formatStringFromArgs(r,arguments,2)}return{messageText:r,category:t.category,code:t.code,next:e===undefined||Array.isArray(e)?e:[e]}}e.chainDiagnosticMessages=chainDiagnosticMessages;function concatenateDiagnosticMessageChains(e,t){var r=e;while(r.next){r=r.next[0]}r.next=[t]}e.concatenateDiagnosticMessageChains=concatenateDiagnosticMessageChains;function getDiagnosticFilePath(e){return e.file?e.file.path:undefined}function compareDiagnostics(e,t){return compareDiagnosticsSkipRelatedInformation(e,t)||compareRelatedInformation(e,t)||0}e.compareDiagnostics=compareDiagnostics;function compareDiagnosticsSkipRelatedInformation(t,r){return e.compareStringsCaseSensitive(getDiagnosticFilePath(t),getDiagnosticFilePath(r))||e.compareValues(t.start,r.start)||e.compareValues(t.length,r.length)||e.compareValues(t.code,r.code)||compareMessageText(t.messageText,r.messageText)||0}e.compareDiagnosticsSkipRelatedInformation=compareDiagnosticsSkipRelatedInformation;function compareRelatedInformation(t,r){if(!t.relatedInformation&&!r.relatedInformation){return 0}if(t.relatedInformation&&r.relatedInformation){return e.compareValues(t.relatedInformation.length,r.relatedInformation.length)||e.forEach(t.relatedInformation,(function(e,t){var n=r.relatedInformation[t];return compareDiagnostics(e,n)}))||0}return t.relatedInformation?-1:1}function compareMessageText(t,r){if(typeof t==="string"&&typeof r==="string"){return e.compareStringsCaseSensitive(t,r)}else if(typeof t==="string"){return-1}else if(typeof r==="string"){return 1}var n=e.compareStringsCaseSensitive(t.messageText,r.messageText);if(n){return n}if(!t.next&&!r.next){return 0}if(!t.next){return-1}if(!r.next){return 1}var i=Math.min(t.next.length,r.next.length);for(var a=0;ar.next.length){return 1}return 0}function getEmitScriptTarget(e){return e.target||0}e.getEmitScriptTarget=getEmitScriptTarget;function getEmitModuleKind(t){return typeof t.module==="number"?t.module:getEmitScriptTarget(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}e.getEmitModuleKind=getEmitModuleKind;function getEmitModuleResolutionKind(t){var r=t.moduleResolution;if(r===undefined){r=getEmitModuleKind(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic}return r}e.getEmitModuleResolutionKind=getEmitModuleResolutionKind;function hasJsonModuleEmitEnabled(t){switch(getEmitModuleKind(t)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext:return true;default:return false}}e.hasJsonModuleEmitEnabled=hasJsonModuleEmitEnabled;function unreachableCodeIsError(e){return e.allowUnreachableCode===false}e.unreachableCodeIsError=unreachableCodeIsError;function unusedLabelIsError(e){return e.allowUnusedLabels===false}e.unusedLabelIsError=unusedLabelIsError;function getAreDeclarationMapsEnabled(e){return!!(getEmitDeclarations(e)&&e.declarationMap)}e.getAreDeclarationMapsEnabled=getAreDeclarationMapsEnabled;function getAllowSyntheticDefaultImports(t){var r=getEmitModuleKind(t);return t.allowSyntheticDefaultImports!==undefined?t.allowSyntheticDefaultImports:t.esModuleInterop||r===e.ModuleKind.System}e.getAllowSyntheticDefaultImports=getAllowSyntheticDefaultImports;function getEmitDeclarations(e){return!!(e.declaration||e.composite)}e.getEmitDeclarations=getEmitDeclarations;function isIncrementalCompilation(e){return!!(e.incremental||e.composite)}e.isIncrementalCompilation=isIncrementalCompilation;function getStrictOptionValue(e,t){return e[t]===undefined?!!e.strict:!!e[t]}e.getStrictOptionValue=getStrictOptionValue;function compilerOptionsAffectSemanticDiagnostics(t,r){return r!==t&&e.semanticDiagnosticsOptionDeclarations.some((function(e){return!isJsonEqual(getCompilerOptionValue(r,e),getCompilerOptionValue(t,e))}))}e.compilerOptionsAffectSemanticDiagnostics=compilerOptionsAffectSemanticDiagnostics;function compilerOptionsAffectEmit(t,r){return r!==t&&e.affectsEmitOptionDeclarations.some((function(e){return!isJsonEqual(getCompilerOptionValue(r,e),getCompilerOptionValue(t,e))}))}e.compilerOptionsAffectEmit=compilerOptionsAffectEmit;function getCompilerOptionValue(e,t){return t.strictFlag?getStrictOptionValue(e,t.name):e[t.name]}e.getCompilerOptionValue=getCompilerOptionValue;function hasZeroOrOneAsteriskCharacter(e){var t=false;for(var r=0;r0){c+=")?";p--}return c}function replaceWildcardCharacter(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function getFileMatcherPatterns(t,r,n,i,a){t=e.normalizePath(t);a=e.normalizePath(a);var o=e.combinePaths(a,t);return{includeFilePatterns:e.map(getRegularExpressionsForWildcards(n,o,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:getRegularExpressionForWildcard(n,o,"files"),includeDirectoryPattern:getRegularExpressionForWildcard(n,o,"directories"),excludePattern:getRegularExpressionForWildcard(r,o,"exclude"),basePaths:getBasePaths(t,n,i)}}e.getFileMatcherPatterns=getFileMatcherPatterns;function getRegexFromPattern(e,t){return new RegExp(e,t?"":"i")}e.getRegexFromPattern=getRegexFromPattern;function matchFiles(t,r,n,i,a,o,s,c,l){t=e.normalizePath(t);o=e.normalizePath(o);var u=getFileMatcherPatterns(t,n,i,a,o);var d=u.includeFilePatterns&&u.includeFilePatterns.map((function(e){return getRegexFromPattern(e,a)}));var p=u.includeDirectoryPattern&&getRegexFromPattern(u.includeDirectoryPattern,a);var f=u.excludePattern&&getRegexFromPattern(u.excludePattern,a);var g=d?d.map((function(){return[]})):[[]];var m=e.createMap();var _=e.createGetCanonicalFileName(a);for(var y=0,h=u.basePaths;y=0;n--){if(e.fileExtensionIs(t,r[n])){return adjustExtensionPriority(n,r)}}return 0}e.getExtensionPriority=getExtensionPriority;function adjustExtensionPriority(e,t){if(e<2){return 0}else if(e=0)}e.positionIsSynthesized=positionIsSynthesized;function extensionIsTS(e){return e===".ts"||e===".tsx"||e===".d.ts"}e.extensionIsTS=extensionIsTS;function resolutionExtensionIsTSOrJson(e){return extensionIsTS(e)||e===".json"}e.resolutionExtensionIsTSOrJson=resolutionExtensionIsTSOrJson;function extensionFromPath(t){var r=tryGetExtensionFromPath(t);return r!==undefined?r:e.Debug.fail("File "+t+" has unknown extension.")}e.extensionFromPath=extensionFromPath;function isAnySupportedFileExtension(e){return tryGetExtensionFromPath(e)!==undefined}e.isAnySupportedFileExtension=isAnySupportedFileExtension;function tryGetExtensionFromPath(t){return e.find(I,(function(r){return e.fileExtensionIs(t,r)}))}e.tryGetExtensionFromPath=tryGetExtensionFromPath;function isCheckJsEnabledForFile(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}e.isCheckJsEnabledForFile=isCheckJsEnabledForFile;e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray};function matchPatternOrExact(t,r){var n=[];for(var i=0,a=t;ii){i=o}}return{min:n,max:i}}e.minAndMax=minAndMax;var w=function(){function NodeSet(){this.map=e.createMap()}NodeSet.prototype.add=function(t){this.map.set(String(e.getNodeId(t)),t)};NodeSet.prototype.tryAdd=function(e){if(this.has(e))return false;this.add(e);return true};NodeSet.prototype.has=function(t){return this.map.has(String(e.getNodeId(t)))};NodeSet.prototype.forEach=function(e){this.map.forEach(e)};NodeSet.prototype.some=function(e){return forEachEntry(this.map,e)||false};return NodeSet}();e.NodeSet=w;var M=function(){function NodeMap(){this.map=e.createMap()}NodeMap.prototype.get=function(t){var r=this.map.get(String(e.getNodeId(t)));return r&&r.value};NodeMap.prototype.getOrUpdate=function(e,t){var r=this.get(e);if(r)return r;var n=t();this.set(e,n);return n};NodeMap.prototype.set=function(t,r){this.map.set(String(e.getNodeId(t)),{node:t,value:r})};NodeMap.prototype.has=function(t){return this.map.has(String(e.getNodeId(t)))};NodeMap.prototype.forEach=function(e){this.map.forEach((function(t){var r=t.node,n=t.value;return e(n,r)}))};return NodeMap}();e.NodeMap=M;function rangeOfNode(e){return{pos:getTokenPosOfNode(e),end:e.end}}e.rangeOfNode=rangeOfNode;function rangeOfTypeParameters(e){return{pos:e.pos-1,end:e.end+1}}e.rangeOfTypeParameters=rangeOfTypeParameters;function skipTypeChecking(e,t,r){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||r.isSourceOfProjectReferenceRedirect(e.fileName)}e.skipTypeChecking=skipTypeChecking;function isJsonEqual(t,r){return t===r||typeof t==="object"&&t!==null&&typeof r==="object"&&r!==null&&e.equalOwnProperties(t,r,isJsonEqual)}e.isJsonEqual=isJsonEqual;function getOrUpdate(e,t,r){var n=e.get(t);if(n===undefined){var i=r();e.set(t,i);return i}else{return n}}e.getOrUpdate=getOrUpdate;function parsePseudoBigInt(e){var t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:var r=e.length-1;var n=0;while(e.charCodeAt(n)===48){n++}return e.slice(n,r)||"0"}var i=2,a=e.length-1;var o=(a-i)*t;var s=new Uint16Array((o>>>4)+(o&15?1:0));for(var c=a-1,l=0;c>=i;c--,l+=t){var u=l>>>4;var d=e.charCodeAt(c);var p=d<=57?d-48:10+d-(d<=70?65:97);var f=p<<(l&15);s[u]|=f;var g=f>>>16;if(g)s[u+1]|=g}var m="";var _=s.length-1;var y=true;while(y){var h=0;y=false;for(var u=_;u>=0;u--){var v=h<<16|s[u];var T=v/10|0;s[u]=T;h=v-T*10;if(T&&!y){_=u;y=true}}m=h+m}return m}e.parsePseudoBigInt=parsePseudoBigInt;function pseudoBigIntToString(e){var t=e.negative,r=e.base10Value;return(t&&r!=="0"?"-":"")+r}e.pseudoBigIntToString=pseudoBigIntToString;function isValidTypeOnlyAliasUseSite(e){return!!(e.flags&8388608)||isPartOfTypeQuery(e)||isIdentifierInNonEmittingHeritageClause(e)||isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(e)||!isExpressionNode(e)}e.isValidTypeOnlyAliasUseSite=isValidTypeOnlyAliasUseSite;function typeOnlyDeclarationIsExport(e){return e.kind===263}e.typeOnlyDeclarationIsExport=typeOnlyDeclarationIsExport;function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(e){while(e.kind===75||e.kind===194){e=e.parent}if(e.kind!==154){return false}if(hasModifier(e.parent,128)){return true}var t=e.parent.parent.kind;return t===246||t===173}function isIdentifierInNonEmittingHeritageClause(e){if(e.kind!==75)return false;var t=findAncestor(e.parent,(function(e){switch(e.kind){case 279:return true;case 194:case 216:return false;default:return"quit"}}));return(t===null||t===void 0?void 0:t.token)===113||(t===null||t===void 0?void 0:t.parent.kind)===246}function isIdentifierTypeReference(t){return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)}e.isIdentifierTypeReference=isIdentifierTypeReference;function arrayIsHomogeneous(t,r){if(r===void 0){r=e.equateValues}if(t.length<2)return true;var n=t[0];for(var i=1,a=t.length;i=0;u--){var d=c[u];var l=r(d,t);if(l){if(l==="skip")continue;return l}i.push(d)}}else{i.push(c);var l=r(c,t);if(l){if(l==="skip")continue;return l}}}}}e.forEachChildRecursively=forEachChildRecursively;function createSourceFile(t,r,n,i,a){if(i===void 0){i=false}e.performance.mark("beforeParse");var o;e.perfLogger.logStartParseSourceFile(t);if(n===100){o=s.parseSourceFile(t,r,n,undefined,i,6)}else{o=s.parseSourceFile(t,r,n,undefined,i,a)}e.perfLogger.logStopParseSourceFile();e.performance.mark("afterParse");e.performance.measure("Parse","beforeParse","afterParse");return o}e.createSourceFile=createSourceFile;function parseIsolatedEntityName(e,t){return s.parseIsolatedEntityName(e,t)}e.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(e,t){return s.parseJsonText(e,t)}e.parseJsonText=parseJsonText;function isExternalModule(e){return e.externalModuleIndicator!==undefined}e.isExternalModule=isExternalModule;function updateSourceFile(e,t,r,n){if(n===void 0){n=false}var i=c.updateSourceFile(e,t,r,n);i.flags|=e.flags&3145728;return i}e.updateSourceFile=updateSourceFile;function parseIsolatedJSDocComment(e,t,r){var n=s.JSDocParser.parseIsolatedJSDocComment(e,t,r);if(n&&n.jsDoc){s.fixupParentReferences(n.jsDoc)}return n}e.parseIsolatedJSDocComment=parseIsolatedJSDocComment;function parseJSDocTypeExpressionForTests(e,t,r){return s.JSDocParser.parseJSDocTypeExpressionForTests(e,t,r)}e.parseJSDocTypeExpressionForTests=parseJSDocTypeExpressionForTests;var s;(function(t){var r=e.createScanner(99,true);var n=4096|16384;var i;var a;var o;var s;var c;var l;var u;var d;var p;var f;var g;var m;var _;var y;var h;var v;var T;var b=false;function parseSourceFile(t,r,n,i,a,o){if(a===void 0){a=false}o=e.ensureScriptKind(t,o);if(o===6){var s=parseJsonText(t,r,n,i,a);e.convertToObjectWorker(s,s.parseDiagnostics,false,undefined,undefined);s.referencedFiles=e.emptyArray;s.typeReferenceDirectives=e.emptyArray;s.libReferenceDirectives=e.emptyArray;s.amdDependencies=e.emptyArray;s.hasNoDefaultLib=false;s.pragmas=e.emptyMap;return s}initializeState(r,n,i,o);var c=parseSourceFileWorker(t,n,a,o);clearState();return c}t.parseSourceFile=parseSourceFile;function parseIsolatedEntityName(e,t){initializeState(e,t,undefined,1);nextToken();var r=parseEntityName(true);var n=token()===1&&!u.length;clearState();return n?r:undefined}t.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(t,r,n,i,a){if(n===void 0){n=2}initializeState(r,n,i,6);l=createSourceFile(t,2,6,false);l.flags=T;nextToken();var o=getNodePos();if(token()===1){l.statements=createNodeArray([],o,o);l.endOfFileToken=parseTokenNode()}else{var s=createNode(226);switch(token()){case 22:s.expression=parseArrayLiteralExpression();break;case 106:case 91:case 100:s.expression=parseTokenNode();break;case 40:if(lookAhead((function(){return nextToken()===8&&nextToken()!==58}))){s.expression=parsePrefixUnaryExpression()}else{s.expression=parseObjectLiteralExpression()}break;case 8:case 10:if(lookAhead((function(){return nextToken()!==58}))){s.expression=parseLiteralNode();break}default:s.expression=parseObjectLiteralExpression();break}finishNode(s);l.statements=createNodeArray([s],o);l.endOfFileToken=parseExpectedToken(1,e.Diagnostics.Unexpected_token)}if(a){fixupParentReferences(l)}l.nodeCount=g;l.identifierCount=y;l.identifiers=m;l.parseDiagnostics=u;var c=l;clearState();return c}t.parseJsonText=parseJsonText;function getLanguageVariant(e){return e===4||e===2||e===1||e===6?1:0}function initializeState(t,n,l,p){i=e.objectAllocator.getNodeConstructor();a=e.objectAllocator.getTokenConstructor();o=e.objectAllocator.getIdentifierConstructor();s=e.objectAllocator.getPrivateIdentifierConstructor();c=e.objectAllocator.getSourceFileConstructor();f=t;d=l;u=[];h=0;m=e.createMap();_=e.createMap();y=0;g=0;switch(p){case 1:case 2:T=131072;break;case 6:T=131072|33554432;break;default:T=0;break}b=false;r.setText(f);r.setOnError(scanError);r.setScriptTarget(n);r.setLanguageVariant(getLanguageVariant(p))}function clearState(){r.clearCommentDirectives();r.setText("");r.setOnError(undefined);u=undefined;l=undefined;m=undefined;d=undefined;f=undefined;v=undefined}function parseSourceFileWorker(t,n,i,a){var o=isDeclarationFileName(t);if(o){T|=8388608}l=createSourceFile(t,n,a,o);l.flags=T;nextToken();processCommentPragmas(l,f);processPragmasIntoFields(l,reportPragmaDiagnostic);l.statements=parseList(0,parseStatement);e.Debug.assert(token()===1);l.endOfFileToken=addJSDocComment(parseTokenNode());setExternalModuleIndicator(l);l.commentDirectives=r.getCommentDirectives();l.nodeCount=g;l.identifierCount=y;l.identifiers=m;l.parseDiagnostics=u;if(i){fixupParentReferences(l)}return l;function reportPragmaDiagnostic(t,r,n){u.push(e.createFileDiagnostic(l,t,r,n))}}function addJSDocComment(t){e.Debug.assert(!t.jsDoc);var r=e.mapDefined(e.getJSDocCommentRanges(t,l.text),(function(e){return D.parseJSDocComment(t,e.pos,e.end-e.pos)}));if(r.length)t.jsDoc=r;return t}function fixupParentReferences(t){forEachChildRecursively(t,bindParentToChild);function bindParentToChild(t,r){t.parent=r;if(e.hasJSDocNodes(t)){for(var n=0,i=t.jsDoc;n112}function parseExpected(t,r,n){if(n===void 0){n=true}if(token()===t){if(n){nextToken()}return true}if(r){parseErrorAtCurrentToken(r)}else{parseErrorAtCurrentToken(e.Diagnostics._0_expected,e.tokenToString(t))}return false}function parseExpectedJSDoc(t){if(token()===t){nextTokenJSDoc();return true}parseErrorAtCurrentToken(e.Diagnostics._0_expected,e.tokenToString(t));return false}function parseOptional(e){if(token()===e){nextToken();return true}return false}function parseOptionalToken(e){if(token()===e){return parseTokenNode()}return undefined}function parseOptionalTokenJSDoc(e){if(token()===e){return parseTokenNodeJSDoc()}return undefined}function parseExpectedToken(t,r,n){return parseOptionalToken(t)||createMissingNode(t,false,r||e.Diagnostics._0_expected,n||e.tokenToString(t))}function parseExpectedTokenJSDoc(t){return parseOptionalTokenJSDoc(t)||createMissingNode(t,false,e.Diagnostics._0_expected,e.tokenToString(t))}function parseTokenNode(){var e=createNode(token());nextToken();return finishNode(e)}function parseTokenNodeJSDoc(){var e=createNode(token());nextTokenJSDoc();return finishNode(e)}function canParseSemicolon(){if(token()===26){return true}return token()===19||token()===1||r.hasPrecedingLineBreak()}function parseSemicolon(){if(canParseSemicolon()){if(token()===26){nextToken()}return true}else{return parseExpected(26)}}function createNode(t,n){g++;var c=n>=0?n:r.getStartPos();return e.isNodeKind(t)||t===0?new i(t,c,c):t===75?new o(t,c,c):t===76?new s(t,c,c):new a(t,c,c)}function createNodeWithJSDoc(e,t){var n=createNode(e,t);if(r.getTokenFlags()&2&&(e!==226||token()!==20)){addJSDocComment(n)}return n}function createNodeArray(e,t,n){var i=e.length;var a=i>=1&&i<=4?e.slice():e;a.pos=t;a.end=n===undefined?r.getStartPos():n;return a}function finishNode(e,t){e.end=t===undefined?r.getStartPos():t;if(T){e.flags|=T}if(b){b=false;e.flags|=65536}return e}function createMissingNode(t,n,i,a){if(n){parseErrorAtPosition(r.getStartPos(),0,i,a)}else if(i){parseErrorAtCurrentToken(i,a)}var o=createNode(t);if(t===75){o.escapedText=""}else if(e.isLiteralKind(t)||e.isTemplateLiteralKind(t)){o.text=""}return finishNode(o)}function internIdentifier(e){var t=m.get(e);if(t===undefined){m.set(e,t=e)}return t}function createIdentifier(t,n,i){y++;if(t){var a=createNode(75);if(token()!==75){a.originalKeywordKind=token()}a.escapedText=e.escapeLeadingUnderscores(internIdentifier(r.getTokenValue()));nextTokenWithoutCheck();return finishNode(a)}if(token()===76){parseErrorAtCurrentToken(i||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return createIdentifier(true)}var o=token()===1;var s=r.isReservedWord();var c=r.getTokenText();var l=s?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return createMissingNode(75,o,n||l,c)}function parseIdentifier(e,t){return createIdentifier(isIdentifier(),e,t)}function parseIdentifierName(t){return createIdentifier(e.tokenIsIdentifierOrKeyword(token()),t)}function isLiteralPropertyName(){return e.tokenIsIdentifierOrKeyword(token())||token()===10||token()===8}function parsePropertyNameWorker(e){if(token()===10||token()===8){var t=parseLiteralNode();t.text=internIdentifier(t.text);return t}if(e&&token()===22){return parseComputedPropertyName()}if(token()===76){return parsePrivateIdentifier()}return parseIdentifierName()}function parsePropertyName(){return parsePropertyNameWorker(true)}function parseComputedPropertyName(){var e=createNode(154);parseExpected(22);e.expression=allowInAnd(parseExpression);parseExpected(23);return finishNode(e)}function internPrivateIdentifier(e){var t=_.get(e);if(t===undefined){_.set(e,t=e)}return t}function parsePrivateIdentifier(){var t=createNode(76);t.escapedText=e.escapeLeadingUnderscores(internPrivateIdentifier(r.getTokenText()));nextToken();return finishNode(t)}function parseContextualModifier(e){return token()===e&&tryParse(nextTokenCanFollowModifier)}function nextTokenIsOnSameLineAndCanFollowModifier(){nextToken();if(r.hasPrecedingLineBreak()){return false}return canFollowModifier()}function nextTokenCanFollowModifier(){switch(token()){case 81:return nextToken()===88;case 89:nextToken();if(token()===84){return lookAhead(nextTokenCanFollowDefaultKeyword)}if(token()===145){return lookAhead(nextTokenCanFollowExportModifier)}return canFollowExportModifier();case 84:return nextTokenCanFollowDefaultKeyword();case 120:case 131:case 142:nextToken();return canFollowModifier();default:return nextTokenIsOnSameLineAndCanFollowModifier()}}function canFollowExportModifier(){return token()!==41&&token()!==123&&token()!==18&&canFollowModifier()}function nextTokenCanFollowExportModifier(){nextToken();return canFollowExportModifier()}function parseAnyContextualModifier(){return e.isModifierKind(token())&&tryParse(nextTokenCanFollowModifier)}function canFollowModifier(){return token()===22||token()===18||token()===41||token()===25||isLiteralPropertyName()}function nextTokenCanFollowDefaultKeyword(){nextToken();return token()===80||token()===94||token()===114||token()===122&&lookAhead(nextTokenIsClassKeywordOnSameLine)||token()===126&&lookAhead(nextTokenIsFunctionKeywordOnSameLine)}function isListElement(t,r){var n=currentNode(t);if(n){return true}switch(t){case 0:case 1:case 3:return!(token()===26&&r)&&isStartOfStatement();case 2:return token()===78||token()===84;case 4:return lookAhead(isTypeMemberStart);case 5:return lookAhead(isClassMemberStart)||token()===26&&!r;case 6:return token()===22||isLiteralPropertyName();case 12:switch(token()){case 22:case 41:case 25:case 24:return true;default:return isLiteralPropertyName()}case 18:return isLiteralPropertyName();case 9:return token()===22||token()===25||isLiteralPropertyName();case 7:if(token()===18){return lookAhead(isValidHeritageClauseObjectLiteral)}if(!r){return isStartOfLeftHandSideExpression()&&!isHeritageClauseExtendsOrImplementsKeyword()}else{return isIdentifier()&&!isHeritageClauseExtendsOrImplementsKeyword()}case 8:return isIdentifierOrPrivateIdentifierOrPattern();case 10:return token()===27||token()===25||isIdentifierOrPrivateIdentifierOrPattern();case 19:return isIdentifier();case 15:switch(token()){case 27:case 24:return true}case 11:return token()===25||isStartOfExpression();case 16:return isStartOfParameter(false);case 17:return isStartOfParameter(true);case 20:case 21:return token()===27||isStartOfType();case 22:return isHeritageClause();case 23:return e.tokenIsIdentifierOrKeyword(token());case 13:return e.tokenIsIdentifierOrKeyword(token())||token()===18;case 14:return true}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function isValidHeritageClauseObjectLiteral(){e.Debug.assert(token()===18);if(nextToken()===19){var t=nextToken();return t===27||t===18||t===90||t===113}return true}function nextTokenIsIdentifier(){nextToken();return isIdentifier()}function nextTokenIsIdentifierOrKeyword(){nextToken();return e.tokenIsIdentifierOrKeyword(token())}function nextTokenIsIdentifierOrKeywordOrGreaterThan(){nextToken();return e.tokenIsIdentifierOrKeywordOrGreaterThan(token())}function isHeritageClauseExtendsOrImplementsKeyword(){if(token()===113||token()===90){return lookAhead(nextTokenIsStartOfExpression)}return false}function nextTokenIsStartOfExpression(){nextToken();return isStartOfExpression()}function nextTokenIsStartOfType(){nextToken();return isStartOfType()}function isListTerminator(e){if(token()===1){return true}switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return token()===19;case 3:return token()===19||token()===78||token()===84;case 7:return token()===18||token()===90||token()===113;case 8:return isVariableDeclaratorListTerminator();case 19:return token()===31||token()===20||token()===18||token()===90||token()===113;case 11:return token()===21||token()===26;case 15:case 21:case 10:return token()===23;case 17:case 16:case 18:return token()===21||token()===23;case 20:return token()!==27;case 22:return token()===18||token()===19;case 13:return token()===31||token()===43;case 14:return token()===29&&lookAhead(nextTokenIsSlash);default:return false}}function isVariableDeclaratorListTerminator(){if(canParseSemicolon()){return true}if(isInOrOfKeyword(token())){return true}if(token()===38){return true}return false}function isInSomeParsingContext(){for(var e=0;e<24;e++){if(h&1<=0){l.hasTrailingComma=true}return l}function getExpectedCommaDiagnostic(t){return t===6?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:undefined}function createMissingList(){var e=createNodeArray([],getNodePos());e.isMissingList=true;return e}function isMissingList(e){return!!e.isMissingList}function parseBracketedList(e,t,r,n){if(parseExpected(r)){var i=parseDelimitedList(e,t);parseExpected(n);return i}return createMissingList()}function parseEntityName(e,t){var n=e?parseIdentifierName(t):parseIdentifier(t);var i=r.getStartPos();while(parseOptional(24)){if(token()===29){n.jsdocDotPos=i;break}i=r.getStartPos();n=createQualifiedName(n,parseRightSideOfDot(e,false))}return n}function createQualifiedName(e,t){var r=createNode(153,e.pos);r.left=e;r.right=t;return finishNode(r)}function parseRightSideOfDot(t,n){if(r.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(token())){var i=lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);if(i){return createMissingNode(75,true,e.Diagnostics.Identifier_expected)}}if(token()===76){var a=parsePrivateIdentifier();return n?a:createMissingNode(75,true,e.Diagnostics.Identifier_expected)}return t?parseIdentifierName():parseIdentifier()}function parseTemplateExpression(t){var r=createNode(211);r.head=parseTemplateHead(t);e.Debug.assert(r.head.kind===15,"Template head has wrong token kind");var n=[];var i=getNodePos();do{n.push(parseTemplateSpan(t))}while(e.last(n).literal.kind===16);r.templateSpans=createNodeArray(n,i);return finishNode(r)}function parseTemplateSpan(t){var r=createNode(221);r.expression=allowInAnd(parseExpression);var n;if(token()===19){reScanTemplateToken(t);n=parseTemplateMiddleOrTemplateTail()}else{n=parseExpectedToken(17,e.Diagnostics._0_expected,e.tokenToString(19))}r.literal=n;return finishNode(r)}function parseLiteralNode(){return parseLiteralLikeNode(token())}function parseTemplateHead(t){if(t){reScanTemplateHeadOrNoSubstitutionTemplate()}var r=parseLiteralLikeNode(token());e.Debug.assert(r.kind===15,"Template head has wrong token kind");return r}function parseTemplateMiddleOrTemplateTail(){var t=parseLiteralLikeNode(token());e.Debug.assert(t.kind===16||t.kind===17,"Template fragment has wrong token kind");return t}function parseLiteralLikeNode(t){var n=createNode(t);n.text=r.getTokenValue();switch(t){case 14:case 15:case 16:case 17:var i=t===14||t===17;var a=r.getTokenText();n.rawText=a.substring(1,a.length-(r.isUnterminated()?0:i?1:2));break}if(r.hasExtendedUnicodeEscape()){n.hasExtendedUnicodeEscape=true}if(r.isUnterminated()){n.isUnterminated=true}if(n.kind===8){n.numericLiteralFlags=r.getTokenFlags()&1008}if(e.isTemplateLiteralKind(n.kind)){n.templateFlags=r.getTokenFlags()&2048}nextToken();finishNode(n);return n}function parseTypeReference(){var t=createNode(169);t.typeName=parseEntityName(true,e.Diagnostics.Type_expected);if(!r.hasPrecedingLineBreak()&&reScanLessThanToken()===29){t.typeArguments=parseBracketedList(20,parseType,29,31)}return finishNode(t)}function typeHasArrowFunctionBlockingParseError(t){switch(t.kind){case 169:return e.nodeIsMissing(t.typeName);case 170:case 171:{var r=t,n=r.parameters,i=r.type;return isMissingList(n)||typeHasArrowFunctionBlockingParseError(i)}case 182:return typeHasArrowFunctionBlockingParseError(t.type);default:return false}}function parseThisTypePredicate(e){nextToken();var t=createNode(168,e.pos);t.parameterName=e;t.type=parseType();return finishNode(t)}function parseThisTypeNode(){var e=createNode(183);nextToken();return finishNode(e)}function parseJSDocAllType(e){var t=createNode(295);if(e){return createPostfixType(299,t)}else{nextToken()}return finishNode(t)}function parseJSDocNonNullableType(){var e=createNode(298);nextToken();e.type=parseNonArrayType();return finishNode(e)}function parseJSDocUnknownOrNullableType(){var e=r.getStartPos();nextToken();if(token()===27||token()===19||token()===21||token()===31||token()===62||token()===51){var t=createNode(296,e);return finishNode(t)}else{var t=createNode(297,e);t.type=parseType();return finishNode(t)}}function parseJSDocFunctionType(){if(lookAhead(nextTokenIsOpenParen)){var e=createNodeWithJSDoc(300);nextToken();fillSignature(58,4|32,e);return finishNode(e)}var t=createNode(169);t.typeName=parseIdentifierName();return finishNode(t)}function parseJSDocParameter(){var e=createNode(156);if(token()===104||token()===99){e.name=parseIdentifierName();parseExpected(58)}e.type=parseJSDocType();return finishNode(e)}function parseJSDocType(){r.setInJSDocType(true);var e=parseOptionalToken(135);if(e){var t=createNode(302,e.pos);e:while(true){switch(token()){case 19:case 1:case 27:case 5:break e;default:nextTokenJSDoc()}}r.setInJSDocType(false);return finishNode(t)}var n=parseOptionalToken(25);var i=parseTypeOrTypePredicate();r.setInJSDocType(false);if(n){var a=createNode(301,n.pos);a.type=i;i=finishNode(a)}if(token()===62){return createPostfixType(299,i)}return i}function parseTypeQuery(){var e=createNode(172);parseExpected(108);e.exprName=parseEntityName(true);return finishNode(e)}function parseTypeParameter(){var e=createNode(155);e.name=parseIdentifier();if(parseOptional(90)){if(isStartOfType()||!isStartOfExpression()){e.constraint=parseType()}else{e.expression=parseUnaryExpressionOrHigher()}}if(parseOptional(62)){e.default=parseType()}return finishNode(e)}function parseTypeParameters(){if(token()===29){return parseBracketedList(19,parseTypeParameter,29,31)}}function parseParameterType(){if(parseOptional(58)){return parseType()}return undefined}function isStartOfParameter(t){return token()===25||isIdentifierOrPrivateIdentifierOrPattern()||e.isModifierKind(token())||token()===59||isStartOfType(!t)}function parseParameter(){var t=createNodeWithJSDoc(156);if(token()===104){t.name=createIdentifier(true);t.type=parseParameterType();return finishNode(t)}t.decorators=parseDecorators();t.modifiers=parseModifiers();t.dotDotDotToken=parseOptionalToken(25);t.name=parseIdentifierOrPattern(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);if(e.getFullWidth(t.name)===0&&!t.modifiers&&e.isModifierKind(token())){nextToken()}t.questionToken=parseOptionalToken(57);t.type=parseParameterType();t.initializer=parseInitializer();return finishNode(t)}function fillSignature(e,t,r){if(!(t&32)){r.typeParameters=parseTypeParameters()}var n=parseParameterList(r,t);if(shouldParseReturnType(e,!!(t&4))){r.type=parseTypeOrTypePredicate();if(typeHasArrowFunctionBlockingParseError(r.type))return false}return n}function shouldParseReturnType(t,r){if(t===38){parseExpected(t);return true}else if(parseOptional(58)){return true}else if(r&&token()===38){parseErrorAtCurrentToken(e.Diagnostics._0_expected,e.tokenToString(58));nextToken();return true}return false}function parseParameterList(e,t){if(!parseExpected(20)){e.parameters=createMissingList();return false}var r=inYieldContext();var n=inAwaitContext();setYieldContext(!!(t&1));setAwaitContext(!!(t&2));e.parameters=t&32?parseDelimitedList(17,parseJSDocParameter):parseDelimitedList(16,parseParameter);setYieldContext(r);setAwaitContext(n);return parseExpected(21)}function parseTypeMemberSemicolon(){if(parseOptional(27)){return}parseSemicolon()}function parseSignatureMember(e){var t=createNodeWithJSDoc(e);if(e===166){parseExpected(99)}fillSignature(58,4,t);parseTypeMemberSemicolon();return finishNode(t)}function isIndexSignature(){return token()===22&&lookAhead(isUnambiguouslyIndexSignature)}function isUnambiguouslyIndexSignature(){nextToken();if(token()===25||token()===23){return true}if(e.isModifierKind(token())){nextToken();if(isIdentifier()){return true}}else if(!isIdentifier()){return false}else{nextToken()}if(token()===58||token()===27){return true}if(token()!==57){return false}nextToken();return token()===58||token()===27||token()===23}function parseIndexSignatureDeclaration(e){e.kind=167;e.parameters=parseBracketedList(16,parseParameter,22,23);e.type=parseTypeAnnotation();parseTypeMemberSemicolon();return finishNode(e)}function parsePropertyOrMethodSignature(e){e.name=parsePropertyName();e.questionToken=parseOptionalToken(57);if(token()===20||token()===29){e.kind=160;fillSignature(58,4,e)}else{e.kind=158;e.type=parseTypeAnnotation();if(token()===62){e.initializer=parseInitializer()}}parseTypeMemberSemicolon();return finishNode(e)}function isTypeMemberStart(){if(token()===20||token()===29){return true}var t=false;while(e.isModifierKind(token())){t=true;nextToken()}if(token()===22){return true}if(isLiteralPropertyName()){t=true;nextToken()}if(t){return token()===20||token()===29||token()===57||token()===58||token()===27||canParseSemicolon()}return false}function parseTypeMember(){if(token()===20||token()===29){return parseSignatureMember(165)}if(token()===99&&lookAhead(nextTokenIsOpenParenOrLessThan)){return parseSignatureMember(166)}var e=createNodeWithJSDoc(0);e.modifiers=parseModifiers();if(isIndexSignature()){return parseIndexSignatureDeclaration(e)}return parsePropertyOrMethodSignature(e)}function nextTokenIsOpenParenOrLessThan(){nextToken();return token()===20||token()===29}function nextTokenIsDot(){return nextToken()===24}function nextTokenIsOpenParenOrLessThanOrDot(){switch(nextToken()){case 20:case 29:case 24:return true}return false}function parseTypeLiteral(){var e=createNode(173);e.members=parseObjectTypeMembers();return finishNode(e)}function parseObjectTypeMembers(){var e;if(parseExpected(18)){e=parseList(4,parseTypeMember);parseExpected(19)}else{e=createMissingList()}return e}function isStartOfMappedType(){nextToken();if(token()===39||token()===40){return nextToken()===138}if(token()===138){nextToken()}return token()===22&&nextTokenIsIdentifier()&&nextToken()===97}function parseMappedTypeParameter(){var e=createNode(155);e.name=parseIdentifier();parseExpected(97);e.constraint=parseType();return finishNode(e)}function parseMappedType(){var e=createNode(186);parseExpected(18);if(token()===138||token()===39||token()===40){e.readonlyToken=parseTokenNode();if(e.readonlyToken.kind!==138){parseExpectedToken(138)}}parseExpected(22);e.typeParameter=parseMappedTypeParameter();parseExpected(23);if(token()===57||token()===39||token()===40){e.questionToken=parseTokenNode();if(e.questionToken.kind!==57){parseExpectedToken(57)}}e.type=parseTypeAnnotation();parseSemicolon();parseExpected(19);return finishNode(e)}function parseTupleElementType(){var e=getNodePos();if(parseOptional(25)){var t=createNode(177,e);t.type=parseType();return finishNode(t)}var r=parseType();if(!(T&4194304)&&r.kind===297&&r.pos===r.type.pos){r.kind=176}return r}function parseTupleType(){var e=createNode(175);e.elementTypes=parseBracketedList(21,parseTupleElementType,22,23);return finishNode(e)}function parseParenthesizedType(){var e=createNode(182);parseExpected(20);e.type=parseType();parseExpected(21);return finishNode(e)}function parseFunctionOrConstructorType(){var e=getNodePos();var t=parseOptional(99)?171:170;var r=createNodeWithJSDoc(t,e);fillSignature(38,4,r);return finishNode(r)}function parseKeywordAndNoDot(){var e=parseTokenNode();return token()===24?undefined:e}function parseLiteralTypeNode(e){var t=createNode(187);var r;if(e){r=createNode(207);r.operator=40;nextToken()}var n=token()===106||token()===91?parseTokenNode():parseLiteralLikeNode(token());if(e){r.operand=n;finishNode(r);n=r}t.literal=n;return finishNode(t)}function isStartOfTypeOfImportType(){nextToken();return token()===96}function parseImportType(){l.flags|=1048576;var t=createNode(188);if(parseOptional(108)){t.isTypeOf=true}parseExpected(96);parseExpected(20);t.argument=parseType();parseExpected(21);if(parseOptional(24)){t.qualifier=parseEntityName(true,e.Diagnostics.Type_expected)}if(!r.hasPrecedingLineBreak()&&reScanLessThanToken()===29){t.typeArguments=parseBracketedList(20,parseType,29,31)}return finishNode(t)}function nextTokenIsNumericOrBigIntLiteral(){nextToken();return token()===8||token()===9}function parseNonArrayType(){switch(token()){case 125:case 148:case 143:case 140:case 151:case 144:case 128:case 146:case 137:case 141:return tryParse(parseKeywordAndNoDot)||parseTypeReference();case 41:return parseJSDocAllType(false);case 65:return parseJSDocAllType(true);case 60:r.reScanQuestionToken();case 57:return parseJSDocUnknownOrNullableType();case 94:return parseJSDocFunctionType();case 53:return parseJSDocNonNullableType();case 14:case 10:case 8:case 9:case 106:case 91:return parseLiteralTypeNode();case 40:return lookAhead(nextTokenIsNumericOrBigIntLiteral)?parseLiteralTypeNode(true):parseTypeReference();case 110:case 100:return parseTokenNode();case 104:{var e=parseThisTypeNode();if(token()===133&&!r.hasPrecedingLineBreak()){return parseThisTypePredicate(e)}else{return e}}case 108:return lookAhead(isStartOfTypeOfImportType)?parseImportType():parseTypeQuery();case 18:return lookAhead(isStartOfMappedType)?parseMappedType():parseTypeLiteral();case 22:return parseTupleType();case 20:return parseParenthesizedType();case 96:return parseImportType();case 124:return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine)?parseAssertsTypePredicate():parseTypeReference();default:return parseTypeReference()}}function isStartOfType(e){switch(token()){case 125:case 148:case 143:case 140:case 151:case 128:case 138:case 144:case 147:case 110:case 146:case 100:case 104:case 108:case 137:case 18:case 22:case 29:case 51:case 50:case 99:case 10:case 8:case 9:case 106:case 91:case 141:case 41:case 57:case 53:case 25:case 132:case 96:case 124:return true;case 94:return!e;case 40:return!e&&lookAhead(nextTokenIsNumericOrBigIntLiteral);case 20:return!e&&lookAhead(isStartOfParenthesizedOrFunctionType);default:return isIdentifier()}}function isStartOfParenthesizedOrFunctionType(){nextToken();return token()===21||isStartOfParameter(false)||isStartOfType()}function parsePostfixTypeOrHigher(){var e=parseNonArrayType();while(!r.hasPrecedingLineBreak()){switch(token()){case 53:e=createPostfixType(298,e);break;case 57:if(!(T&4194304)&&lookAhead(nextTokenIsStartOfType)){return e}e=createPostfixType(297,e);break;case 22:parseExpected(22);if(isStartOfType()){var t=createNode(185,e.pos);t.objectType=e;t.indexType=parseType();parseExpected(23);e=finishNode(t)}else{var t=createNode(174,e.pos);t.elementType=e;parseExpected(23);e=finishNode(t)}break;default:return e}}return e}function createPostfixType(e,t){nextToken();var r=createNode(e,t.pos);r.type=t;return finishNode(r)}function parseTypeOperator(e){var t=createNode(184);parseExpected(e);t.operator=e;t.type=parseTypeOperatorOrHigher();return finishNode(t)}function parseInferType(){var e=createNode(181);parseExpected(132);var t=createNode(155);t.name=parseIdentifier();e.typeParameter=finishNode(t);return finishNode(e)}function parseTypeOperatorOrHigher(){var e=token();switch(e){case 134:case 147:case 138:return parseTypeOperator(e);case 132:return parseInferType()}return parsePostfixTypeOrHigher()}function parseUnionOrIntersectionType(e,t,n){var i=r.getStartPos();var a=parseOptional(n);var o=t();if(token()===n||a){var s=[o];while(parseOptional(n)){s.push(t())}var c=createNode(e,i);c.types=createNodeArray(s,i);o=finishNode(c)}return o}function parseIntersectionTypeOrHigher(){return parseUnionOrIntersectionType(179,parseTypeOperatorOrHigher,50)}function parseUnionTypeOrHigher(){return parseUnionOrIntersectionType(178,parseIntersectionTypeOrHigher,51)}function isStartOfFunctionType(){if(token()===29){return true}return token()===20&&lookAhead(isUnambiguouslyStartOfFunctionType)}function skipParameterStart(){if(e.isModifierKind(token())){parseModifiers()}if(isIdentifier()||token()===104){nextToken();return true}if(token()===22||token()===18){var t=u.length;parseIdentifierOrPattern();return t===u.length}return false}function isUnambiguouslyStartOfFunctionType(){nextToken();if(token()===21||token()===25){return true}if(skipParameterStart()){if(token()===58||token()===27||token()===57||token()===62){return true}if(token()===21){nextToken();if(token()===38){return true}}}return false}function parseTypeOrTypePredicate(){var e=isIdentifier()&&tryParse(parseTypePredicatePrefix);var t=parseType();if(e){var r=createNode(168,e.pos);r.assertsModifier=undefined;r.parameterName=e;r.type=t;return finishNode(r)}else{return t}}function parseTypePredicatePrefix(){var e=parseIdentifier();if(token()===133&&!r.hasPrecedingLineBreak()){nextToken();return e}}function parseAssertsTypePredicate(){var e=createNode(168);e.assertsModifier=parseExpectedToken(124);e.parameterName=token()===104?parseThisTypeNode():parseIdentifier();e.type=parseOptional(133)?parseType():undefined;return finishNode(e)}function parseType(){return doOutsideOfContext(40960,parseTypeWorker)}function parseTypeWorker(e){if(isStartOfFunctionType()||token()===99){return parseFunctionOrConstructorType()}var t=parseUnionTypeOrHigher();if(!e&&!r.hasPrecedingLineBreak()&&parseOptional(90)){var n=createNode(180,t.pos);n.checkType=t;n.extendsType=parseTypeWorker(true);parseExpected(57);n.trueType=parseTypeWorker();parseExpected(58);n.falseType=parseTypeWorker();return finishNode(n)}return t}function parseTypeAnnotation(){return parseOptional(58)?parseType():undefined}function isStartOfLeftHandSideExpression(){switch(token()){case 104:case 102:case 100:case 106:case 91:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 94:case 80:case 99:case 43:case 67:case 75:return true;case 96:return lookAhead(nextTokenIsOpenParenOrLessThanOrDot);default:return isIdentifier()}}function isStartOfExpression(){if(isStartOfLeftHandSideExpression()){return true}switch(token()){case 39:case 40:case 54:case 53:case 85:case 108:case 110:case 45:case 46:case 29:case 127:case 121:case 76:return true;default:if(isBinaryOperator()){return true}return isIdentifier()}}function isStartOfExpressionStatement(){return token()!==18&&token()!==94&&token()!==80&&token()!==59&&isStartOfExpression()}function parseExpression(){var e=inDecoratorContext();if(e){setDecoratorContext(false)}var t=parseAssignmentExpressionOrHigher();var r;while(r=parseOptionalToken(27)){t=makeBinaryExpression(t,r,parseAssignmentExpressionOrHigher())}if(e){setDecoratorContext(true)}return t}function parseInitializer(){return parseOptional(62)?parseAssignmentExpressionOrHigher():undefined}function parseAssignmentExpressionOrHigher(){if(isYieldExpression()){return parseYieldExpression()}var t=tryParseParenthesizedArrowFunctionExpression()||tryParseAsyncSimpleArrowFunctionExpression();if(t){return t}var r=parseBinaryExpressionOrHigher(0);if(r.kind===75&&token()===38){return parseSimpleArrowFunctionExpression(r)}if(e.isLeftHandSideExpression(r)&&e.isAssignmentOperator(reScanGreaterToken())){return makeBinaryExpression(r,parseTokenNode(),parseAssignmentExpressionOrHigher())}return parseConditionalExpressionRest(r)}function isYieldExpression(){if(token()===121){if(inYieldContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function nextTokenIsIdentifierOnSameLine(){nextToken();return!r.hasPrecedingLineBreak()&&isIdentifier()}function parseYieldExpression(){var e=createNode(212);nextToken();if(!r.hasPrecedingLineBreak()&&(token()===41||isStartOfExpression())){e.asteriskToken=parseOptionalToken(41);e.expression=parseAssignmentExpressionOrHigher();return finishNode(e)}else{return finishNode(e)}}function parseSimpleArrowFunctionExpression(t,r){e.Debug.assert(token()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var n;if(r){n=createNode(202,r.pos);n.modifiers=r}else{n=createNode(202,t.pos)}var i=createNode(156,t.pos);i.name=t;finishNode(i);n.parameters=createNodeArray([i],i.pos,i.end);n.equalsGreaterThanToken=parseExpectedToken(38);n.body=parseArrowFunctionExpressionBody(!!r);return addJSDocComment(finishNode(n))}function tryParseParenthesizedArrowFunctionExpression(){var e=isParenthesizedArrowFunctionExpression();if(e===0){return undefined}var t=e===1?parseParenthesizedArrowFunctionExpressionHead(true):tryParse(parsePossibleParenthesizedArrowFunctionExpressionHead);if(!t){return undefined}var r=hasModifierOfKind(t,126);var n=token();t.equalsGreaterThanToken=parseExpectedToken(38);t.body=n===38||n===18?parseArrowFunctionExpressionBody(r):parseIdentifier();return finishNode(t)}function isParenthesizedArrowFunctionExpression(){if(token()===20||token()===29||token()===126){return lookAhead(isParenthesizedArrowFunctionExpressionWorker)}if(token()===38){return 1}return 0}function isParenthesizedArrowFunctionExpressionWorker(){if(token()===126){nextToken();if(r.hasPrecedingLineBreak()){return 0}if(token()!==20&&token()!==29){return 0}}var t=token();var n=nextToken();if(t===20){if(n===21){var i=nextToken();switch(i){case 38:case 58:case 18:return 1;default:return 0}}if(n===22||n===18){return 2}if(n===25){return 1}if(e.isModifierKind(n)&&n!==126&&lookAhead(nextTokenIsIdentifier)){return 1}if(!isIdentifier()&&n!==104){return 0}switch(nextToken()){case 58:return 1;case 57:nextToken();if(token()===58||token()===27||token()===62||token()===21){return 1}return 0;case 27:case 62:case 21:return 2}return 0}else{e.Debug.assert(t===29);if(!isIdentifier()){return 0}if(l.languageVariant===1){var a=lookAhead((function(){var e=nextToken();if(e===90){var t=nextToken();switch(t){case 62:case 31:return false;default:return true}}else if(e===27){return true}return false}));if(a){return 1}return 0}return 2}}function parsePossibleParenthesizedArrowFunctionExpressionHead(){var t=r.getTokenPos();if(v&&v.has(t.toString())){return undefined}var n=parseParenthesizedArrowFunctionExpressionHead(false);if(!n){(v||(v=e.createMap())).set(t.toString(),true)}return n}function tryParseAsyncSimpleArrowFunctionExpression(){if(token()===126){if(lookAhead(isUnParenthesizedAsyncArrowFunctionWorker)===1){var e=parseModifiersForArrowFunction();var t=parseBinaryExpressionOrHigher(0);return parseSimpleArrowFunctionExpression(t,e)}}return undefined}function isUnParenthesizedAsyncArrowFunctionWorker(){if(token()===126){nextToken();if(r.hasPrecedingLineBreak()||token()===38){return 0}var e=parseBinaryExpressionOrHigher(0);if(!r.hasPrecedingLineBreak()&&e.kind===75&&token()===38){return 1}}return 0}function parseParenthesizedArrowFunctionExpressionHead(t){var r=createNodeWithJSDoc(202);r.modifiers=parseModifiersForArrowFunction();var n=hasModifierOfKind(r,126)?2:0;if(!fillSignature(58,n,r)&&!t){return undefined}var i=r.type&&e.isJSDocFunctionType(r.type);if(!t&&token()!==38&&(i||token()!==18)){return undefined}return r}function parseArrowFunctionExpressionBody(e){if(token()===18){return parseFunctionBlock(e?2:0)}if(token()!==26&&token()!==94&&token()!==80&&isStartOfStatement()&&!isStartOfExpressionStatement()){return parseFunctionBlock(16|(e?2:0))}return e?doInAwaitContext(parseAssignmentExpressionOrHigher):doOutsideOfAwaitContext(parseAssignmentExpressionOrHigher)}function parseConditionalExpressionRest(t){var r=parseOptionalToken(57);if(!r){return t}var i=createNode(210,t.pos);i.condition=t;i.questionToken=r;i.whenTrue=doOutsideOfContext(n,parseAssignmentExpressionOrHigher);i.colonToken=parseExpectedToken(58);i.whenFalse=e.nodeIsPresent(i.colonToken)?parseAssignmentExpressionOrHigher():createMissingNode(75,false,e.Diagnostics._0_expected,e.tokenToString(58));return finishNode(i)}function parseBinaryExpressionOrHigher(e){var t=parseUnaryExpressionOrHigher();return parseBinaryExpressionRest(e,t)}function isInOrOfKeyword(e){return e===97||e===152}function parseBinaryExpressionRest(t,n){while(true){reScanGreaterToken();var i=e.getBinaryOperatorPrecedence(token());var a=token()===42?i>=t:i>t;if(!a){break}if(token()===97&&inDisallowInContext()){break}if(token()===123){if(r.hasPrecedingLineBreak()){break}else{nextToken();n=makeAsExpression(n,parseType())}}else{n=makeBinaryExpression(n,parseTokenNode(),parseBinaryExpressionOrHigher(i))}}return n}function isBinaryOperator(){if(inDisallowInContext()&&token()===97){return false}return e.getBinaryOperatorPrecedence(token())>0}function makeBinaryExpression(e,t,r){var n=createNode(209,e.pos);n.left=e;n.operatorToken=t;n.right=r;return finishNode(n)}function makeAsExpression(e,t){var r=createNode(217,e.pos);r.expression=e;r.type=t;return finishNode(r)}function parsePrefixUnaryExpression(){var e=createNode(207);e.operator=token();nextToken();e.operand=parseSimpleUnaryExpression();return finishNode(e)}function parseDeleteExpression(){var e=createNode(203);nextToken();e.expression=parseSimpleUnaryExpression();return finishNode(e)}function parseTypeOfExpression(){var e=createNode(204);nextToken();e.expression=parseSimpleUnaryExpression();return finishNode(e)}function parseVoidExpression(){var e=createNode(205);nextToken();e.expression=parseSimpleUnaryExpression();return finishNode(e)}function isAwaitExpression(){if(token()===127){if(inAwaitContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function parseAwaitExpression(){var e=createNode(206);nextToken();e.expression=parseSimpleUnaryExpression();return finishNode(e)}function parseUnaryExpressionOrHigher(){if(isUpdateExpression()){var t=parseUpdateExpression();return token()===42?parseBinaryExpressionRest(e.getBinaryOperatorPrecedence(token()),t):t}var r=token();var n=parseSimpleUnaryExpression();if(token()===42){var i=e.skipTrivia(f,n.pos);var a=n.end;if(n.kind===199){parseErrorAt(i,a,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses)}else{parseErrorAt(i,a,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(r))}}return n}function parseSimpleUnaryExpression(){switch(token()){case 39:case 40:case 54:case 53:return parsePrefixUnaryExpression();case 85:return parseDeleteExpression();case 108:return parseTypeOfExpression();case 110:return parseVoidExpression();case 29:return parseTypeAssertion();case 127:if(isAwaitExpression()){return parseAwaitExpression()}default:return parseUpdateExpression()}}function isUpdateExpression(){switch(token()){case 39:case 40:case 54:case 53:case 85:case 108:case 110:case 127:return false;case 29:if(l.languageVariant!==1){return false}default:return true}}function parseUpdateExpression(){if(token()===45||token()===46){var t=createNode(207);t.operator=token();nextToken();t.operand=parseLeftHandSideExpressionOrHigher();return finishNode(t)}else if(l.languageVariant===1&&token()===29&&lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)){return parseJsxElementOrSelfClosingElementOrFragment(true)}var n=parseLeftHandSideExpressionOrHigher();e.Debug.assert(e.isLeftHandSideExpression(n));if((token()===45||token()===46)&&!r.hasPrecedingLineBreak()){var t=createNode(208,n.pos);t.operand=n;t.operator=token();nextToken();return finishNode(t)}return n}function parseLeftHandSideExpressionOrHigher(){var e;if(token()===96){if(lookAhead(nextTokenIsOpenParenOrLessThan)){l.flags|=1048576;e=parseTokenNode()}else if(lookAhead(nextTokenIsDot)){var t=r.getStartPos();nextToken();nextToken();var n=createNode(219,t);n.keywordToken=96;n.name=parseIdentifierName();e=finishNode(n);l.flags|=2097152}else{e=parseMemberExpressionOrHigher()}}else{e=token()===102?parseSuperExpression():parseMemberExpressionOrHigher()}return parseCallExpressionRest(e)}function parseMemberExpressionOrHigher(){var e=parsePrimaryExpression();return parseMemberExpressionRest(e,true)}function parseSuperExpression(){var t=parseTokenNode();if(token()===29){var r=getNodePos();var n=tryParse(parseTypeArgumentsInExpression);if(n!==undefined){parseErrorAt(r,getNodePos(),e.Diagnostics.super_may_not_use_type_arguments)}}if(token()===20||token()===24||token()===22){return t}var i=createNode(194,t.pos);i.expression=t;parseExpectedToken(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access);i.name=parseRightSideOfDot(true,true);return finishNode(i)}function parseJsxElementOrSelfClosingElementOrFragment(t){var r=parseJsxOpeningOrSelfClosingElementOrOpeningFragment(t);var n;if(r.kind===268){var i=createNode(266,r.pos);i.openingElement=r;i.children=parseJsxChildren(i.openingElement);i.closingElement=parseJsxClosingElement(t);if(!tagNamesAreEquivalent(i.openingElement.tagName,i.closingElement.tagName)){parseErrorAtRange(i.closingElement,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(f,i.openingElement.tagName))}n=finishNode(i)}else if(r.kind===271){var i=createNode(270,r.pos);i.openingFragment=r;i.children=parseJsxChildren(i.openingFragment);i.closingFragment=parseJsxClosingFragment(t);n=finishNode(i)}else{e.Debug.assert(r.kind===267);n=r}if(t&&token()===29){var a=tryParse((function(){return parseJsxElementOrSelfClosingElementOrFragment(true)}));if(a){parseErrorAtCurrentToken(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=createNode(209,n.pos);o.end=a.end;o.left=n;o.right=a;o.operatorToken=createMissingNode(27,false);o.operatorToken.pos=o.operatorToken.end=o.right.pos;return o}}return n}function parseJsxText(){var e=createNode(11);e.text=r.getTokenValue();e.containsOnlyTriviaWhiteSpaces=p===12;p=r.scanJsxToken();return finishNode(e)}function parseJsxChild(t,r){switch(r){case 1:if(e.isJsxOpeningFragment(t)){parseErrorAtRange(t,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag)}else{var n=t.tagName;var i=e.skipTrivia(f,n.pos);parseErrorAt(i,n.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(f,t.tagName))}return undefined;case 30:case 7:return undefined;case 11:case 12:return parseJsxText();case 18:return parseJsxExpression(false);case 29:return parseJsxElementOrSelfClosingElementOrFragment(false);default:return e.Debug.assertNever(r)}}function parseJsxChildren(e){var t=[];var n=getNodePos();var i=h;h|=1<<14;while(true){var a=parseJsxChild(e,p=r.reScanJsxToken());if(!a)break;t.push(a)}h=i;return createNodeArray(t,n)}function parseJsxAttributes(){var e=createNode(274);e.properties=parseList(13,parseJsxAttribute);return finishNode(e)}function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(e){var t=r.getStartPos();parseExpected(29);if(token()===31){var n=createNode(271,t);scanJsxText();return finishNode(n)}var i=parseJsxElementName();var a=tryParseTypeArguments();var o=parseJsxAttributes();var s;if(token()===31){s=createNode(268,t);scanJsxText()}else{parseExpected(43);if(e){parseExpected(31)}else{parseExpected(31,undefined,false);scanJsxText()}s=createNode(267,t)}s.tagName=i;s.typeArguments=a;s.attributes=o;return finishNode(s)}function parseJsxElementName(){scanJsxIdentifier();var e=token()===104?parseTokenNode():parseIdentifierName();while(parseOptional(24)){var t=createNode(194,e.pos);t.expression=e;t.name=parseRightSideOfDot(true,false);e=finishNode(t)}return e}function parseJsxExpression(e){var t=createNode(276);if(!parseExpected(18)){return undefined}if(token()!==19){t.dotDotDotToken=parseOptionalToken(25);t.expression=parseExpression()}if(e){parseExpected(19)}else{if(parseExpected(19,undefined,false)){scanJsxText()}}return finishNode(t)}function parseJsxAttribute(){if(token()===18){return parseJsxSpreadAttribute()}scanJsxIdentifier();var e=createNode(273);e.name=parseIdentifierName();if(token()===62){switch(scanJsxAttributeValue()){case 10:e.initializer=parseLiteralNode();break;default:e.initializer=parseJsxExpression(true);break}}return finishNode(e)}function parseJsxSpreadAttribute(){var e=createNode(275);parseExpected(18);parseExpected(25);e.expression=parseExpression();parseExpected(19);return finishNode(e)}function parseJsxClosingElement(e){var t=createNode(269);parseExpected(30);t.tagName=parseJsxElementName();if(e){parseExpected(31)}else{parseExpected(31,undefined,false);scanJsxText()}return finishNode(t)}function parseJsxClosingFragment(t){var r=createNode(272);parseExpected(30);if(e.tokenIsIdentifierOrKeyword(token())){parseErrorAtRange(parseJsxElementName(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment)}if(t){parseExpected(31)}else{parseExpected(31,undefined,false);scanJsxText()}return finishNode(r)}function parseTypeAssertion(){var e=createNode(199);parseExpected(29);e.type=parseType();parseExpected(31);e.expression=parseSimpleUnaryExpression();return finishNode(e)}function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate(){nextToken();return e.tokenIsIdentifierOrKeyword(token())||token()===22||isTemplateStartOfTaggedTemplate()}function isStartOfOptionalPropertyOrElementAccessChain(){return token()===28&&lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate)}function tryReparseOptionalChain(t){if(t.flags&32){return true}if(e.isNonNullExpression(t)){var r=t.expression;while(e.isNonNullExpression(r)&&!(r.flags&32)){r=r.expression}if(r.flags&32){while(e.isNonNullExpression(t)){t.flags|=32;t=t.expression}return true}}return false}function parsePropertyAccessExpressionRest(t,r){var n=createNode(194,t.pos);n.expression=t;n.questionDotToken=r;n.name=parseRightSideOfDot(true,true);if(r||tryReparseOptionalChain(t)){n.flags|=32;if(e.isPrivateIdentifier(n.name)){parseErrorAtRange(n.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers)}}return finishNode(n)}function parseElementAccessExpressionRest(t,r){var n=createNode(195,t.pos);n.expression=t;n.questionDotToken=r;if(token()===23){n.argumentExpression=createMissingNode(75,true,e.Diagnostics.An_element_access_expression_should_take_an_argument)}else{var i=allowInAnd(parseExpression);if(e.isStringOrNumericLiteralLike(i)){i.text=internIdentifier(i.text)}n.argumentExpression=i}parseExpected(23);if(r||tryReparseOptionalChain(t)){n.flags|=32}return finishNode(n)}function parseMemberExpressionRest(t,n){while(true){var i=void 0;var a=false;if(n&&isStartOfOptionalPropertyOrElementAccessChain()){i=parseExpectedToken(28);a=e.tokenIsIdentifierOrKeyword(token())}else{a=parseOptional(24)}if(a){t=parsePropertyAccessExpressionRest(t,i);continue}if(!i&&token()===53&&!r.hasPrecedingLineBreak()){nextToken();var o=createNode(218,t.pos);o.expression=t;t=finishNode(o);continue}if((i||!inDecoratorContext())&&parseOptional(22)){t=parseElementAccessExpressionRest(t,i);continue}if(isTemplateStartOfTaggedTemplate()){t=parseTaggedTemplateRest(t,i,undefined);continue}return t}}function isTemplateStartOfTaggedTemplate(){return token()===14||token()===15}function parseTaggedTemplateRest(e,t,r){var n=createNode(198,e.pos);n.tag=e;n.questionDotToken=t;n.typeArguments=r;n.template=token()===14?(reScanTemplateHeadOrNoSubstitutionTemplate(),parseLiteralNode()):parseTemplateExpression(true);if(t||e.flags&32){n.flags|=32}return finishNode(n)}function parseCallExpressionRest(t){while(true){t=parseMemberExpressionRest(t,true);var r=parseOptionalToken(28);if(token()===29||token()===47){var n=tryParse(parseTypeArgumentsInExpression);if(n){if(isTemplateStartOfTaggedTemplate()){t=parseTaggedTemplateRest(t,r,n);continue}var i=createNode(196,t.pos);i.expression=t;i.questionDotToken=r;i.typeArguments=n;i.arguments=parseArgumentList();if(r||tryReparseOptionalChain(t)){i.flags|=32}t=finishNode(i);continue}}else if(token()===20){var i=createNode(196,t.pos);i.expression=t;i.questionDotToken=r;i.arguments=parseArgumentList();if(r||tryReparseOptionalChain(t)){i.flags|=32}t=finishNode(i);continue}if(r){var a=createNode(194,t.pos);a.expression=t;a.questionDotToken=r;a.name=createMissingNode(75,false,e.Diagnostics.Identifier_expected);a.flags|=32;t=finishNode(a)}break}return t}function parseArgumentList(){parseExpected(20);var e=parseDelimitedList(11,parseArgumentExpression);parseExpected(21);return e}function parseTypeArgumentsInExpression(){if(reScanLessThanToken()!==29){return undefined}nextToken();var e=parseDelimitedList(20,parseType);if(!parseExpected(31)){return undefined}return e&&canFollowTypeArgumentsInExpression()?e:undefined}function canFollowTypeArgumentsInExpression(){switch(token()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return true;case 27:case 18:default:return false}}function parsePrimaryExpression(){switch(token()){case 8:case 9:case 10:case 14:return parseLiteralNode();case 104:case 102:case 100:case 106:case 91:return parseTokenNode();case 20:return parseParenthesizedExpression();case 22:return parseArrayLiteralExpression();case 18:return parseObjectLiteralExpression();case 126:if(!lookAhead(nextTokenIsFunctionKeywordOnSameLine)){break}return parseFunctionExpression();case 80:return parseClassExpression();case 94:return parseFunctionExpression();case 99:return parseNewExpressionOrNewDotTarget();case 43:case 67:if(reScanSlashToken()===13){return parseLiteralNode()}break;case 15:return parseTemplateExpression(false)}return parseIdentifier(e.Diagnostics.Expression_expected)}function parseParenthesizedExpression(){var e=createNodeWithJSDoc(200);parseExpected(20);e.expression=allowInAnd(parseExpression);parseExpected(21);return finishNode(e)}function parseSpreadElement(){var e=createNode(213);parseExpected(25);e.expression=parseAssignmentExpressionOrHigher();return finishNode(e)}function parseArgumentOrArrayLiteralElement(){return token()===25?parseSpreadElement():token()===27?createNode(215):parseAssignmentExpressionOrHigher()}function parseArgumentExpression(){return doOutsideOfContext(n,parseArgumentOrArrayLiteralElement)}function parseArrayLiteralExpression(){var e=createNode(192);parseExpected(22);if(r.hasPrecedingLineBreak()){e.multiLine=true}e.elements=parseDelimitedList(15,parseArgumentOrArrayLiteralElement);parseExpected(23);return finishNode(e)}function parseObjectLiteralElement(){var e=createNodeWithJSDoc(0);if(parseOptionalToken(25)){e.kind=283;e.expression=parseAssignmentExpressionOrHigher();return finishNode(e)}e.decorators=parseDecorators();e.modifiers=parseModifiers();if(parseContextualModifier(131)){return parseAccessorDeclaration(e,163)}if(parseContextualModifier(142)){return parseAccessorDeclaration(e,164)}var t=parseOptionalToken(41);var r=isIdentifier();e.name=parsePropertyName();e.questionToken=parseOptionalToken(57);e.exclamationToken=parseOptionalToken(53);if(t||token()===20||token()===29){return parseMethodDeclaration(e,t)}var n=r&&token()!==58;if(n){e.kind=282;var i=parseOptionalToken(62);if(i){e.equalsToken=i;e.objectAssignmentInitializer=allowInAnd(parseAssignmentExpressionOrHigher)}}else{e.kind=281;parseExpected(58);e.initializer=allowInAnd(parseAssignmentExpressionOrHigher)}return finishNode(e)}function parseObjectLiteralExpression(){var t=createNode(193);var n=r.getTokenPos();parseExpected(18);if(r.hasPrecedingLineBreak()){t.multiLine=true}t.properties=parseDelimitedList(12,parseObjectLiteralElement,true);if(!parseExpected(19)){var i=e.lastOrUndefined(u);if(i&&i.code===e.Diagnostics._0_expected.code){e.addRelatedInfo(i,e.createFileDiagnostic(l,n,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}return finishNode(t)}function parseFunctionExpression(){var e=inDecoratorContext();if(e){setDecoratorContext(false)}var t=createNodeWithJSDoc(201);t.modifiers=parseModifiers();parseExpected(94);t.asteriskToken=parseOptionalToken(41);var r=t.asteriskToken?1:0;var n=hasModifierOfKind(t,126)?2:0;t.name=r&&n?doInYieldAndAwaitContext(parseOptionalIdentifier):r?doInYieldContext(parseOptionalIdentifier):n?doInAwaitContext(parseOptionalIdentifier):parseOptionalIdentifier();fillSignature(58,r|n,t);t.body=parseFunctionBlock(r|n);if(e){setDecoratorContext(true)}return finishNode(t)}function parseOptionalIdentifier(){return isIdentifier()?parseIdentifier():undefined}function parseNewExpressionOrNewDotTarget(){var t=r.getStartPos();parseExpected(99);if(parseOptional(24)){var n=createNode(219,t);n.keywordToken=99;n.name=parseIdentifierName();return finishNode(n)}var i=parsePrimaryExpression();var a;while(true){i=parseMemberExpressionRest(i,false);a=tryParse(parseTypeArgumentsInExpression);if(isTemplateStartOfTaggedTemplate()){e.Debug.assert(!!a,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'");i=parseTaggedTemplateRest(i,undefined,a);a=undefined}break}var o=createNode(197,t);o.expression=i;o.typeArguments=a;if(token()===20){o.arguments=parseArgumentList()}else if(o.typeArguments){parseErrorAt(t,r.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list)}return finishNode(o)}function parseBlock(t,n){var i=createNode(223);var a=r.getTokenPos();if(parseExpected(18,n)||t){if(r.hasPrecedingLineBreak()){i.multiLine=true}i.statements=parseList(1,parseStatement);if(!parseExpected(19)){var o=e.lastOrUndefined(u);if(o&&o.code===e.Diagnostics._0_expected.code){e.addRelatedInfo(o,e.createFileDiagnostic(l,a,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}}else{i.statements=createMissingList()}return finishNode(i)}function parseFunctionBlock(e,t){var r=inYieldContext();setYieldContext(!!(e&1));var n=inAwaitContext();setAwaitContext(!!(e&2));var i=inDecoratorContext();if(i){setDecoratorContext(false)}var a=parseBlock(!!(e&16),t);if(i){setDecoratorContext(true)}setYieldContext(r);setAwaitContext(n);return a}function parseEmptyStatement(){var e=createNode(224);parseExpected(26);return finishNode(e)}function parseIfStatement(){var e=createNode(227);parseExpected(95);parseExpected(20);e.expression=allowInAnd(parseExpression);parseExpected(21);e.thenStatement=parseStatement();e.elseStatement=parseOptional(87)?parseStatement():undefined;return finishNode(e)}function parseDoStatement(){var e=createNode(228);parseExpected(86);e.statement=parseStatement();parseExpected(111);parseExpected(20);e.expression=allowInAnd(parseExpression);parseExpected(21);parseOptional(26);return finishNode(e)}function parseWhileStatement(){var e=createNode(229);parseExpected(111);parseExpected(20);e.expression=allowInAnd(parseExpression);parseExpected(21);e.statement=parseStatement();return finishNode(e)}function parseForOrForInOrForOfStatement(){var e=getNodePos();parseExpected(93);var t=parseOptionalToken(127);parseExpected(20);var r;if(token()!==26){if(token()===109||token()===115||token()===81){r=parseVariableDeclarationList(true)}else{r=disallowInAnd(parseExpression)}}var n;if(t?parseExpected(152):parseOptional(152)){var i=createNode(232,e);i.awaitModifier=t;i.initializer=r;i.expression=allowInAnd(parseAssignmentExpressionOrHigher);parseExpected(21);n=i}else if(parseOptional(97)){var a=createNode(231,e);a.initializer=r;a.expression=allowInAnd(parseExpression);parseExpected(21);n=a}else{var o=createNode(230,e);o.initializer=r;parseExpected(26);if(token()!==26&&token()!==21){o.condition=allowInAnd(parseExpression)}parseExpected(26);if(token()!==21){o.incrementor=allowInAnd(parseExpression)}parseExpected(21);n=o}n.statement=parseStatement();return finishNode(n)}function parseBreakOrContinueStatement(e){var t=createNode(e);parseExpected(e===234?77:82);if(!canParseSemicolon()){t.label=parseIdentifier()}parseSemicolon();return finishNode(t)}function parseReturnStatement(){var e=createNode(235);parseExpected(101);if(!canParseSemicolon()){e.expression=allowInAnd(parseExpression)}parseSemicolon();return finishNode(e)}function parseWithStatement(){var e=createNode(236);parseExpected(112);parseExpected(20);e.expression=allowInAnd(parseExpression);parseExpected(21);e.statement=doInsideOfContext(16777216,parseStatement);return finishNode(e)}function parseCaseClause(){var e=createNode(277);parseExpected(78);e.expression=allowInAnd(parseExpression);parseExpected(58);e.statements=parseList(3,parseStatement);return finishNode(e)}function parseDefaultClause(){var e=createNode(278);parseExpected(84);parseExpected(58);e.statements=parseList(3,parseStatement);return finishNode(e)}function parseCaseOrDefaultClause(){return token()===78?parseCaseClause():parseDefaultClause()}function parseSwitchStatement(){var e=createNode(237);parseExpected(103);parseExpected(20);e.expression=allowInAnd(parseExpression);parseExpected(21);var t=createNode(251);parseExpected(18);t.clauses=parseList(2,parseCaseOrDefaultClause);parseExpected(19);e.caseBlock=finishNode(t);return finishNode(e)}function parseThrowStatement(){var e=createNode(239);parseExpected(105);e.expression=r.hasPrecedingLineBreak()?undefined:allowInAnd(parseExpression);parseSemicolon();return finishNode(e)}function parseTryStatement(){var e=createNode(240);parseExpected(107);e.tryBlock=parseBlock(false);e.catchClause=token()===79?parseCatchClause():undefined;if(!e.catchClause||token()===92){parseExpected(92);e.finallyBlock=parseBlock(false)}return finishNode(e)}function parseCatchClause(){var e=createNode(280);parseExpected(79);if(parseOptional(20)){e.variableDeclaration=parseVariableDeclaration();parseExpected(21)}else{e.variableDeclaration=undefined}e.block=parseBlock(false);return finishNode(e)}function parseDebuggerStatement(){var e=createNode(241);parseExpected(83);parseSemicolon();return finishNode(e)}function parseExpressionOrLabeledStatement(){var e=createNodeWithJSDoc(token()===75?0:226);var t=allowInAnd(parseExpression);if(t.kind===75&&parseOptional(58)){e.kind=238;e.label=t;e.statement=parseStatement()}else{e.kind=226;e.expression=t;parseSemicolon()}return finishNode(e)}function nextTokenIsIdentifierOrKeywordOnSameLine(){nextToken();return e.tokenIsIdentifierOrKeyword(token())&&!r.hasPrecedingLineBreak()}function nextTokenIsClassKeywordOnSameLine(){nextToken();return token()===80&&!r.hasPrecedingLineBreak()}function nextTokenIsFunctionKeywordOnSameLine(){nextToken();return token()===94&&!r.hasPrecedingLineBreak()}function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine(){nextToken();return(e.tokenIsIdentifierOrKeyword(token())||token()===8||token()===9||token()===10)&&!r.hasPrecedingLineBreak()}function isDeclaration(){while(true){switch(token()){case 109:case 115:case 81:case 94:case 80:case 88:return true;case 114:case 145:return nextTokenIsIdentifierOnSameLine();case 135:case 136:return nextTokenIsIdentifierOrStringLiteralOnSameLine();case 122:case 126:case 130:case 117:case 118:case 119:case 138:nextToken();if(r.hasPrecedingLineBreak()){return false}continue;case 150:nextToken();return token()===18||token()===75||token()===89;case 96:nextToken();return token()===10||token()===41||token()===18||e.tokenIsIdentifierOrKeyword(token());case 89:var t=nextToken();if(t===145){t=lookAhead(nextToken)}if(t===62||t===41||t===18||t===84||t===123){return true}continue;case 120:nextToken();continue;default:return false}}}function isStartOfDeclaration(){return lookAhead(isDeclaration)}function isStartOfStatement(){switch(token()){case 59:case 26:case 18:case 109:case 115:case 94:case 80:case 88:case 95:case 86:case 111:case 93:case 82:case 77:case 101:case 112:case 103:case 105:case 107:case 83:case 79:case 92:return true;case 96:return isStartOfDeclaration()||lookAhead(nextTokenIsOpenParenOrLessThanOrDot);case 81:case 89:return isStartOfDeclaration();case 126:case 130:case 114:case 135:case 136:case 145:case 150:return true;case 119:case 117:case 118:case 120:case 138:return isStartOfDeclaration()||!lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);default:return isStartOfExpression()}}function nextTokenIsIdentifierOrStartOfDestructuring(){nextToken();return isIdentifier()||token()===18||token()===22}function isLetDeclaration(){return lookAhead(nextTokenIsIdentifierOrStartOfDestructuring)}function parseStatement(){switch(token()){case 26:return parseEmptyStatement();case 18:return parseBlock(false);case 109:return parseVariableStatement(createNodeWithJSDoc(242));case 115:if(isLetDeclaration()){return parseVariableStatement(createNodeWithJSDoc(242))}break;case 94:return parseFunctionDeclaration(createNodeWithJSDoc(244));case 80:return parseClassDeclaration(createNodeWithJSDoc(245));case 95:return parseIfStatement();case 86:return parseDoStatement();case 111:return parseWhileStatement();case 93:return parseForOrForInOrForOfStatement();case 82:return parseBreakOrContinueStatement(233);case 77:return parseBreakOrContinueStatement(234);case 101:return parseReturnStatement();case 112:return parseWithStatement();case 103:return parseSwitchStatement();case 105:return parseThrowStatement();case 107:case 79:case 92:return parseTryStatement();case 83:return parseDebuggerStatement();case 59:return parseDeclaration();case 126:case 114:case 145:case 135:case 136:case 130:case 81:case 88:case 89:case 96:case 117:case 118:case 119:case 122:case 120:case 138:case 150:if(isStartOfDeclaration()){return parseDeclaration()}break}return parseExpressionOrLabeledStatement()}function isDeclareModifier(e){return e.kind===130}function parseDeclaration(){var t=lookAhead((function(){return parseDecorators(),parseModifiers()}));var r=e.some(t,isDeclareModifier);if(r){var n=tryReuseAmbientDeclaration();if(n){return n}}var i=createNodeWithJSDoc(0);i.decorators=parseDecorators();i.modifiers=parseModifiers();if(r){for(var a=0,o=i.modifiers;a=0);e.Debug.assert(t<=a);e.Debug.assert(a<=i.length);if(!isJSDocLikeText(i,t)){return undefined}var o;var s;var c;var l=[];return r.scanRange(t+3,n-5,(function(){var e=1;var n;var a=t-Math.max(i.lastIndexOf("\n",t),0)+4;function pushComment(e){if(!n){n=a}l.push(e);a+=e.length}nextTokenJSDoc();while(parseOptionalJsdoc(5));if(parseOptionalJsdoc(4)){e=0;a=0}e:while(true){switch(token()){case 59:if(e===0||e===1){removeTrailingWhitespace(l);addTag(parseTag(a));e=0;n=undefined}else{pushComment(r.getTokenText())}break;case 4:l.push(r.getTokenText());e=0;a=0;break;case 41:var o=r.getTokenText();if(e===1||e===2){e=2;pushComment(o)}else{e=1;a+=o.length}break;case 5:var s=r.getTokenText();if(e===2){l.push(s)}else if(n!==undefined&&a+s.length>n){l.push(s.slice(n-a-1))}a+=s.length;break;case 1:break e;default:e=2;pushComment(r.getTokenText());break}nextTokenJSDoc()}removeLeadingNewlines(l);removeTrailingWhitespace(l);return createJSDocComment()}));function removeLeadingNewlines(e){while(e.length&&(e[0]==="\n"||e[0]==="\r")){e.shift()}}function removeTrailingWhitespace(e){while(e.length&&e[e.length-1].trim()===""){e.pop()}}function createJSDocComment(){var e=createNode(303,t);e.tags=o&&createNodeArray(o,s,c);e.comment=l.length?l.join(""):undefined;return finishNode(e,a)}function isNextNonwhitespaceTokenEndOfFile(){while(true){nextTokenJSDoc();if(token()===1){return true}if(!(token()===5||token()===4)){return false}}}function skipWhitespace(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return}}while(token()===5||token()===4){nextTokenJSDoc()}}function skipWhitespaceOrAsterisk(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return""}}var e=r.hasPrecedingLineBreak();var t=false;var n="";while(e&&token()===41||token()===5||token()===4){n+=r.getTokenText();if(token()===4){e=true;t=true;n=""}else if(token()===41){e=false}nextTokenJSDoc()}return t?n:""}function parseTag(t){e.Debug.assert(token()===59);var n=r.getTokenPos();nextTokenJSDoc();var i=parseJSDocIdentifierName(undefined);var a=skipWhitespaceOrAsterisk();var o;switch(i.escapedText){case"author":o=parseAuthorTag(n,i,t);break;case"implements":o=parseImplementsTag(n,i);break;case"augments":case"extends":o=parseAugmentsTag(n,i);break;case"class":case"constructor":o=parseSimpleTag(n,310,i);break;case"public":o=parseSimpleTag(n,311,i);break;case"private":o=parseSimpleTag(n,312,i);break;case"protected":o=parseSimpleTag(n,313,i);break;case"readonly":o=parseSimpleTag(n,314,i);break;case"this":o=parseThisTag(n,i);break;case"enum":o=parseEnumTag(n,i);break;case"arg":case"argument":case"param":return parseParameterOrPropertyTag(n,i,2,t);case"return":case"returns":o=parseReturnTag(n,i);break;case"template":o=parseTemplateTag(n,i);break;case"type":o=parseTypeTag(n,i);break;case"typedef":o=parseTypedefTag(n,i,t);break;case"callback":o=parseCallbackTag(n,i,t);break;default:o=parseUnknownTag(n,i);break}if(!o.comment){if(!a){t+=o.end-o.pos}o.comment=parseTagComments(t,a.slice(t))}return o}function parseTagComments(t,n){var i=[];var a=0;var o;function pushComment(e){if(!o){o=t}i.push(e);t+=e.length}if(n!==undefined){if(n!==""){pushComment(n)}a=1}var s=token();e:while(true){switch(s){case 4:if(a>=1){a=0;i.push(r.getTokenText())}t=0;break;case 59:if(a===3){i.push(r.getTokenText());break}r.setTextPos(r.getTextPos()-1);case 1:break e;case 5:if(a===2||a===3){pushComment(r.getTokenText())}else{var c=r.getTokenText();if(o!==undefined&&t+c.length>o){i.push(c.slice(o-t))}t+=c.length}break;case 18:a=2;if(lookAhead((function(){return nextTokenJSDoc()===59&&e.tokenIsIdentifierOrKeyword(nextTokenJSDoc())&&r.getTokenText()==="link"}))){pushComment(r.getTokenText());nextTokenJSDoc();pushComment(r.getTokenText());nextTokenJSDoc()}pushComment(r.getTokenText());break;case 61:if(a===3){a=2}else{a=3}pushComment(r.getTokenText());break;case 41:if(a===0){a=1;t+=1;break}default:if(a!==3){a=2}pushComment(r.getTokenText());break}s=nextTokenJSDoc()}removeLeadingNewlines(i);removeTrailingWhitespace(i);return i.length===0?undefined:i.join("")}function parseUnknownTag(e,t){var r=createNode(306,e);r.tagName=t;return finishNode(r)}function addTag(e){if(!e){return}if(!o){o=[e];s=e.pos}else{o.push(e)}c=e.end}function tryParseTypeExpression(){skipWhitespaceOrAsterisk();return token()===18?parseJSDocTypeExpression():undefined}function parseBracketNameInPropertyAndParamTag(){var e=parseOptionalJsdoc(22);if(e){skipWhitespace()}var t=parseOptionalJsdoc(61);var r=parseJSDocEntityName();if(t){parseExpectedTokenJSDoc(61)}if(e){skipWhitespace();if(parseOptionalToken(62)){parseExpression()}parseExpected(23)}return{name:r,isBracketed:e}}function isObjectOrObjectArrayTypeReference(t){switch(t.kind){case 141:return true;case 174:return isObjectOrObjectArrayTypeReference(t.elementType);default:return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&t.typeName.escapedText==="Object"&&!t.typeArguments}}function parseParameterOrPropertyTag(e,t,n,i){var a=tryParseTypeExpression();var o=!a;skipWhitespaceOrAsterisk();var s=parseBracketNameInPropertyAndParamTag(),c=s.name,l=s.isBracketed;skipWhitespace();if(o){a=tryParseTypeExpression()}var u=n===1?createNode(323,e):createNode(317,e);var d=parseTagComments(i+r.getStartPos()-e);var p=n!==4&&parseNestedTypeLiteral(a,c,n,i);if(p){a=p;o=true}u.tagName=t;u.typeExpression=a;u.name=c;u.isNameFirst=o;u.isBracketed=l;u.comment=d;return finishNode(u)}function parseNestedTypeLiteral(t,n,i,a){if(t&&isObjectOrObjectArrayTypeReference(t.type)){var o=createNode(294,r.getTokenPos());var s=void 0;var c=void 0;var l=r.getStartPos();var u=void 0;while(s=tryParse((function(){return parseChildParameterOrPropertyTag(i,a,n)}))){if(s.kind===317||s.kind===323){u=e.append(u,s)}}if(u){c=createNode(304,l);c.jsDocPropertyTags=u;if(t.type.kind===174){c.isArrayType=true}o.type=finishNode(c);return finishNode(o)}}}function parseReturnTag(t,n){if(e.some(o,e.isJSDocReturnTag)){parseErrorAt(n.pos,r.getTokenPos(),e.Diagnostics._0_tag_already_specified,n.escapedText)}var i=createNode(318,t);i.tagName=n;i.typeExpression=tryParseTypeExpression();return finishNode(i)}function parseTypeTag(t,n){if(e.some(o,e.isJSDocTypeTag)){parseErrorAt(n.pos,r.getTokenPos(),e.Diagnostics._0_tag_already_specified,n.escapedText)}var i=createNode(320,t);i.tagName=n;i.typeExpression=parseJSDocTypeExpression(true);return finishNode(i)}function parseAuthorTag(e,t,r){var n=createNode(309,e);n.tagName=t;var i=tryParse((function(){return tryParseAuthorNameAndEmail()}));if(!i){return finishNode(n)}n.comment=i;if(lookAhead((function(){return nextToken()!==4}))){var a=parseTagComments(r);if(a){n.comment+=a}}return finishNode(n)}function tryParseAuthorNameAndEmail(){var e=[];var t=false;var n=false;var i=r.getToken();e:while(true){switch(i){case 75:case 5:case 24:case 59:e.push(r.getTokenText());break;case 29:if(t||n){return}t=true;e.push(r.getTokenText());break;case 31:if(!t||n){return}n=true;e.push(r.getTokenText());r.setTextPos(r.getTokenPos()+1);break e;case 4:case 1:break e}i=nextTokenJSDoc()}if(t&&n){return e.length===0?undefined:e.join("")}}function parseImplementsTag(e,t){var r=createNode(308,e);r.tagName=t;r.class=parseExpressionWithTypeArgumentsForAugments();return finishNode(r)}function parseAugmentsTag(e,t){var r=createNode(307,e);r.tagName=t;r.class=parseExpressionWithTypeArgumentsForAugments();return finishNode(r)}function parseExpressionWithTypeArgumentsForAugments(){var e=parseOptional(18);var t=createNode(216);t.expression=parsePropertyAccessEntityNameExpression();t.typeArguments=tryParseTypeArguments();var r=finishNode(t);if(e){parseExpected(19)}return r}function parsePropertyAccessEntityNameExpression(){var e=parseJSDocIdentifierName();while(parseOptional(24)){var t=createNode(194,e.pos);t.expression=e;t.name=parseJSDocIdentifierName();e=finishNode(t)}return e}function parseSimpleTag(e,t,r){var n=createNode(t,e);n.tagName=r;return finishNode(n)}function parseThisTag(e,t){var r=createNode(319,e);r.tagName=t;r.typeExpression=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(r)}function parseEnumTag(e,t){var r=createNode(316,e);r.tagName=t;r.typeExpression=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(r)}function parseTypedefTag(t,n,i){var a=tryParseTypeExpression();skipWhitespaceOrAsterisk();var o=createNode(322,t);o.tagName=n;o.fullName=parseJSDocTypeNameWithNamespace();o.name=getJSDocTypeAliasName(o.fullName);skipWhitespace();o.comment=parseTagComments(i);o.typeExpression=a;var s;if(!a||isObjectOrObjectArrayTypeReference(a.type)){var c=void 0;var l=void 0;var u=void 0;while(c=tryParse((function(){return parseChildPropertyTag(i)}))){if(!l){l=createNode(304,t)}if(c.kind===320){if(u){break}else{u=c}}else{l.jsDocPropertyTags=e.append(l.jsDocPropertyTags,c)}}if(l){if(a&&a.type.kind===174){l.isArrayType=true}o.typeExpression=u&&u.typeExpression&&!isObjectOrObjectArrayTypeReference(u.typeExpression.type)?u.typeExpression:finishNode(l);s=o.typeExpression.end}}return finishNode(o,s||o.comment!==undefined?r.getStartPos():(o.fullName||o.typeExpression||o.tagName).end)}function parseJSDocTypeNameWithNamespace(t){var n=r.getTokenPos();if(!e.tokenIsIdentifierOrKeyword(token())){return undefined}var i=parseJSDocIdentifierName();if(parseOptional(24)){var a=createNode(249,n);if(t){a.flags|=4}a.name=i;a.body=parseJSDocTypeNameWithNamespace(true);return finishNode(a)}if(t){i.isInJSDocNamespace=true}return i}function parseCallbackTag(t,r,n){var i=createNode(315,t);i.tagName=r;i.fullName=parseJSDocTypeNameWithNamespace();i.name=getJSDocTypeAliasName(i.fullName);skipWhitespace();i.comment=parseTagComments(n);var a;var o=createNode(305,t);o.parameters=[];while(a=tryParse((function(){return parseChildParameterOrPropertyTag(4,n)}))){o.parameters=e.append(o.parameters,a)}var s=tryParse((function(){if(parseOptionalJsdoc(59)){var e=parseTag(n);if(e&&e.kind===318){return e}}}));if(s){o.type=s}i.typeExpression=finishNode(o);return finishNode(i)}function getJSDocTypeAliasName(t){if(t){var r=t;while(true){if(e.isIdentifier(r)||!r.body){return e.isIdentifier(r)?r:r.name}r=r.body}}}function escapedTextsEqual(t,r){while(!e.isIdentifier(t)||!e.isIdentifier(r)){if(!e.isIdentifier(t)&&!e.isIdentifier(r)&&t.right.escapedText===r.right.escapedText){t=t.left;r=r.left}else{return false}}return t.escapedText===r.escapedText}function parseChildPropertyTag(e){return parseChildParameterOrPropertyTag(1,e)}function parseChildParameterOrPropertyTag(t,r,n){var i=true;var a=false;while(true){switch(nextTokenJSDoc()){case 59:if(i){var o=tryParseChildTag(t,r);if(o&&(o.kind===317||o.kind===323)&&t!==4&&n&&(e.isIdentifier(o.name)||!escapedTextsEqual(n,o.name.left))){return false}return o}a=false;break;case 4:i=true;a=false;break;case 41:if(a){i=false}a=true;break;case 75:i=false;break;case 1:return false}}}function tryParseChildTag(t,n){e.Debug.assert(token()===59);var i=r.getStartPos();nextTokenJSDoc();var a=parseJSDocIdentifierName();skipWhitespace();var o;switch(a.escapedText){case"type":return t===1&&parseTypeTag(i,a);case"prop":case"property":o=1;break;case"arg":case"argument":case"param":o=2|4;break;default:return false}if(!(t&o)){return false}return parseParameterOrPropertyTag(i,a,t,n)}function parseTemplateTag(t,r){var n;if(token()===18){n=parseJSDocTypeExpression()}var i=[];var a=getNodePos();do{skipWhitespace();var o=createNode(155);o.name=parseJSDocIdentifierName(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);finishNode(o);skipWhitespaceOrAsterisk();i.push(o)}while(parseOptionalJsdoc(27));var s=createNode(321,t);s.tagName=r;s.constraint=n;s.typeParameters=createNodeArray(i,a);finishNode(s);return s}function parseOptionalJsdoc(e){if(token()===e){nextTokenJSDoc();return true}return false}function parseJSDocEntityName(){var e=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}while(parseOptional(24)){var t=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}e=createQualifiedName(e,t)}return e}function parseJSDocIdentifierName(t){if(!e.tokenIsIdentifierOrKeyword(token())){return createMissingNode(75,!t,t||e.Diagnostics.Identifier_expected)}y++;var n=r.getTokenPos();var i=r.getTextPos();var a=createNode(75,n);if(token()!==75){a.originalKeywordKind=token()}a.escapedText=e.escapeLeadingUnderscores(internIdentifier(r.getTokenValue()));finishNode(a,i);nextTokenJSDoc();return a}}})(D=t.JSDocParser||(t.JSDocParser={}))})(s||(s={}));var c;(function(t){function updateSourceFile(t,r,n,i){i=i||e.Debug.shouldAssert(2);checkChangeRange(t,r,n,i);if(e.textChangeRangeIsUnchanged(n)){return t}if(t.statements.length===0){return s.parseSourceFile(t.fileName,r,t.languageVersion,undefined,true,t.scriptKind)}var a=t;e.Debug.assert(!a.hasBeenIncrementallyParsed);a.hasBeenIncrementallyParsed=true;var o=t.text;var c=createSyntaxCursor(t);var l=extendToAffectedRange(t,n);checkChangeRange(t,r,l,i);e.Debug.assert(l.span.start<=n.span.start);e.Debug.assert(e.textSpanEnd(l.span)===e.textSpanEnd(n.span));e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(l))===e.textSpanEnd(e.textChangeRangeNewSpan(n)));var u=e.textChangeRangeNewSpan(l).length-l.span.length;updateTokenPositionsAndMarkElements(a,l.span.start,e.textSpanEnd(l.span),e.textSpanEnd(e.textChangeRangeNewSpan(l)),u,o,r,i);var d=s.parseSourceFile(t.fileName,r,t.languageVersion,c,true,t.scriptKind);d.commentDirectives=getNewCommentDirectives(t.commentDirectives,d.commentDirectives,l.span.start,e.textSpanEnd(l.span),u,o,r,i);return d}t.updateSourceFile=updateSourceFile;function getNewCommentDirectives(t,r,n,i,a,o,s,c){if(!t)return r;var l;var u=false;for(var d=0,p=t;di){addNewlyScannedDirectives();var _={range:{pos:g.pos+a,end:g.end+a},type:m};l=e.append(l,_);if(c){e.Debug.assert(o.substring(g.pos,g.end)===s.substring(_.range.pos,_.range.end))}}}addNewlyScannedDirectives();return l;function addNewlyScannedDirectives(){if(u)return;u=true;if(!l){l=r}else if(r){l.push.apply(l,r)}}}function moveElementEntirelyPastChangeRange(t,r,n,i,a,o){if(r){visitArray(t)}else{visitNode(t)}return;function visitNode(t){var r="";if(o&&shouldCheckNode(t)){r=i.substring(t.pos,t.end)}if(t._children){t._children=undefined}t.pos+=n;t.end+=n;if(o&&shouldCheckNode(t)){e.Debug.assert(r===a.substring(t.pos,t.end))}forEachChild(t,visitNode,visitArray);if(e.hasJSDocNodes(t)){for(var s=0,c=t.jsDoc;s=r,"Adjusting an element that was entirely before the change range");e.Debug.assert(t.pos<=n,"Adjusting an element that was entirely after the change range");e.Debug.assert(t.pos<=t.end);t.pos=Math.min(t.pos,i);if(t.end>=n){t.end+=a}else{t.end=Math.min(t.end,i)}e.Debug.assert(t.pos<=t.end);if(t.parent){e.Debug.assert(t.pos>=t.parent.pos);e.Debug.assert(t.end<=t.parent.end)}}function checkNodePositions(t,r){if(r){var n=t.pos;var visitNode_1=function(t){e.Debug.assert(t.pos>=n);n=t.end};if(e.hasJSDocNodes(t)){for(var i=0,a=t.jsDoc;in){moveElementEntirelyPastChangeRange(t,false,a,o,s,c);return}var l=t.end;if(l>=r){t.intersectsChange=true;t._children=undefined;adjustIntersectingElement(t,r,n,i,a);forEachChild(t,visitNode,visitArray);if(e.hasJSDocNodes(t)){for(var u=0,d=t.jsDoc;un){moveElementEntirelyPastChangeRange(t,true,a,o,s,c);return}var l=t.end;if(l>=r){t.intersectsChange=true;t._children=undefined;adjustIntersectingElement(t,r,n,i,a);for(var u=0,d=t;u0&&a<=n;a++){var o=findNearestNodeStartingBeforeOrAtPosition(t,i);e.Debug.assert(o.pos<=i);var s=o.pos;i=Math.max(0,s-1)}var c=e.createTextSpanFromBounds(i,e.textSpanEnd(r.span));var l=r.newLength+(r.span.start-i);return e.createTextChangeRange(c,l)}function findNearestNodeStartingBeforeOrAtPosition(t,r){var n=t;var i;forEachChild(t,visit);if(i){var a=getLastDescendant(i);if(a.pos>n.pos){n=a}}return n;function getLastDescendant(t){while(true){var r=e.getLastChild(t);if(r){t=r}else{return t}}}function visit(t){if(e.nodeIsMissing(t)){return}if(t.pos<=r){if(t.pos>=n.pos){n=t}if(rr);return true}}}function checkChangeRange(t,r,n,i){var a=t.text;if(n){e.Debug.assert(a.length-n.span.length+n.newLength===r.length);if(i||e.Debug.shouldAssert(3)){var o=a.substr(0,n.span.start);var s=r.substr(0,n.span.start);e.Debug.assert(o===s);var c=a.substring(e.textSpanEnd(n.span),a.length);var l=r.substring(e.textSpanEnd(e.textChangeRangeNewSpan(n)),r.length);e.Debug.assert(c===l)}}}function createSyntaxCursor(t){var r=t.statements;var n=0;e.Debug.assert(n=t.pos&&e=t.pos&&et.checkJsDirective.pos){t.checkJsDirective={enabled:i==="ts-check",end:e.range.end,pos:e.range.pos}}}));break}case"jsx":return;default:e.Debug.fail("Unhandled pragma kind")}}))}e.processPragmasIntoFields=processPragmasIntoFields;var l=e.createMap();function getNamedArgRegEx(e){if(l.has(e)){return l.get(e)}var t=new RegExp("(\\s"+e+"\\s*=\\s*)('|\")(.+?)\\2","im");l.set(e,t);return t}var u=/^\/\/\/\s*<(\S+)\s.*?\/>/im;var d=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function extractPragmas(t,r,n){var i=r.kind===2&&u.exec(n);if(i){var a=i[1].toLowerCase();var o=e.commentPragmas[a];if(!o||!(o.kind&1)){return}if(o.args){var s={};for(var c=0,l=o.args;c=r.length)break;var o=a;if(r.charCodeAt(o)===34){a++;while(a32)a++;i.push(r.substring(o,a))}}parseStrings(i)}}e.parseCommandLineWorker=parseCommandLineWorker;function parseOptionValue(t,r,n,i,a,o){if(i.isTSConfigOnly){var s=t[r];if(s==="null"){a[i.name]=undefined;r++}else if(i.type==="boolean"){if(s==="false"){a[i.name]=false;r++}else{if(s==="true")r++;o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,i.name))}}else{o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,i.name));if(s&&!e.startsWith(s,"-"))r++}}else{if(!t[r]&&i.type!=="boolean"){o.push(e.createCompilerDiagnostic(n.optionTypeMismatchDiagnostic,i.name,getCompilerOptionValueTypeString(i)))}if(t[r]!=="null"){switch(i.type){case"number":a[i.name]=parseInt(t[r]);r++;break;case"boolean":var s=t[r];a[i.name]=s!=="false";if(s==="false"||s==="true"){r++}break;case"string":a[i.name]=t[r]||"";r++;break;case"list":var c=parseListTypeOption(i,t[r],o);a[i.name]=c||[];if(c){r++}break;default:a[i.name]=parseCustomTypeOption(i,t[r],o);r++;break}}else{a[i.name]=undefined;r++}}return r}e.compilerOptionsDidYouMeanDiagnostics={getOptionsNameMap:getOptionsNameMap,optionDeclarations:e.optionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Compiler_option_0_expects_an_argument};function parseCommandLine(t,r){return parseCommandLineWorker(e.compilerOptionsDidYouMeanDiagnostics,t,r)}e.parseCommandLine=parseCommandLine;function getOptionFromName(e,t){return getOptionDeclarationFromName(getOptionsNameMap,e,t)}e.getOptionFromName=getOptionFromName;function getOptionDeclarationFromName(e,t,r){if(r===void 0){r=false}t=t.toLowerCase();var n=e(),i=n.optionsNameMap,a=n.shortOptionNames;if(r){var o=a.get(t);if(o!==undefined){t=o}}return i.get(t)}var a;function getBuildOptionsNameMap(){return a||(a=createOptionNameMap(e.buildOpts))}var o={getOptionsNameMap:getBuildOptionsNameMap,optionDeclarations:e.buildOpts,unknownOptionDiagnostic:e.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Build_option_0_requires_a_value_of_type_1};function parseBuildCommand(t){var r=parseCommandLineWorker(o,t),n=r.options,i=r.watchOptions,a=r.fileNames,s=r.errors;var c=n;if(a.length===0){a.push(".")}if(c.clean&&c.force){s.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force"))}if(c.clean&&c.verbose){s.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose"))}if(c.clean&&c.watch){s.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch"))}if(c.watch&&c.dry){s.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry"))}return{buildOptions:c,watchOptions:i,projects:a,errors:s}}e.parseBuildCommand=parseBuildCommand;function getDiagnosticText(t){var r=[];for(var n=1;n=0){c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,n(s,[u]).join(" -> ")));return{raw:t||convertToObject(r,c)}}var d=t?parseOwnConfigOfJson(t,i,a,o,c):parseOwnConfigOfJsonSourceFile(r,i,a,o,c);if(d.extendedConfigPath){s=s.concat([u]);var p=getExtendedConfig(r,d.extendedConfigPath,i,a,s,c,l);if(p&&isSuccessfulParsedTsconfig(p)){var f=p.raw;var g=d.raw;var setPropertyInRawIfNotUndefined=function(e){var t=g[e]||f[e];if(t){g[e]=t}};setPropertyInRawIfNotUndefined("include");setPropertyInRawIfNotUndefined("exclude");setPropertyInRawIfNotUndefined("files");if(g.compileOnSave===undefined){g.compileOnSave=f.compileOnSave}d.options=e.assign({},p.options,d.options);d.watchOptions=d.watchOptions&&p.watchOptions?e.assign({},p.watchOptions,d.watchOptions):d.watchOptions||p.watchOptions}}return d}function parseOwnConfigOfJson(t,r,n,i,a){if(e.hasProperty(t,"excludes")){a.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}var o=convertCompilerOptionsFromJsonWorker(t.compilerOptions,n,a,i);var s=convertTypeAcquisitionFromJsonWorker(t.typeAcquisition||t.typingOptions,n,a,i);var c=convertWatchOptionsFromJsonWorker(t.watchOptions,n,a);t.compileOnSave=convertCompileOnSaveOptionFromJson(t,n,a);var l;if(t.extends){if(!e.isString(t.extends)){a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"))}else{var u=i?directoryOfCombinedPath(i,n):n;l=getExtendsConfigPath(t.extends,r,u,a,e.createCompilerDiagnostic)}}return{raw:t,options:o,watchOptions:c,typeAcquisition:s,extendedConfigPath:l}}function parseOwnConfigOfJsonSourceFile(t,r,n,i,a){var o=getDefaultCompilerOptions(i);var s,c;var l;var u;var d={onSetValidOptionKeyValueInParent:function(t,r,a){var u;switch(t){case"compilerOptions":u=o;break;case"watchOptions":u=l||(l={});break;case"typeAcquisition":u=s||(s=getDefaultTypeAcquisition(i));break;case"typingOptions":u=c||(c=getDefaultTypeAcquisition(i));break;default:e.Debug.fail("Unknown option")}u[r.name]=normalizeOptionValue(r,n,a)},onSetValidOptionKeyValueInRoot:function(o,s,c,l){switch(o){case"extends":var d=i?directoryOfCombinedPath(i,n):n;u=getExtendsConfigPath(c,r,d,a,(function(r,n){return e.createDiagnosticForNodeInSourceFile(t,l,r,n)}));return}},onSetUnknownOptionKeyValueInRoot:function(r,n,i,o){if(r==="excludes"){a.push(e.createDiagnosticForNodeInSourceFile(t,n,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}}};var p=convertToObjectWorker(t,a,true,getTsconfigRootOptionsMap(),d);if(!s){if(c){s=c.enableAutoDiscovery!==undefined?{enable:c.enableAutoDiscovery,include:c.include,exclude:c.exclude}:c}else{s=getDefaultTypeAcquisition(i)}}return{raw:p,options:o,watchOptions:l,typeAcquisition:s,extendedConfigPath:u}}function getExtendsConfigPath(t,r,n,i,a){t=e.normalizeSlashes(t);if(e.isRootedDiskPath(t)||e.startsWith(t,"./")||e.startsWith(t,"../")){var o=e.getNormalizedAbsolutePath(t,n);if(!r.fileExists(o)&&!e.endsWith(o,".json")){o=o+".json";if(!r.fileExists(o)){i.push(a(e.Diagnostics.File_0_not_found,t));return undefined}}return o}var s=e.nodeModuleNameResolver(t,e.combinePaths(n,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},r,undefined,undefined,true);if(s.resolvedModule){return s.resolvedModule.resolvedFileName}i.push(a(e.Diagnostics.File_0_not_found,t));return undefined}function getExtendedConfig(t,r,n,i,a,o,s){var c;var l=n.useCaseSensitiveFileNames?r:e.toFileNameLowerCase(r);var u;var d;var p;if(s&&(u=s.get(l))){d=u.extendedResult,p=u.extendedConfig}else{d=readJsonConfigFile(r,(function(e){return n.readFile(e)}));if(!d.parseDiagnostics.length){var f=e.getDirectoryPath(r);p=parseConfig(undefined,d,n,f,e.getBaseFileName(r),a,o,s);if(isSuccessfulParsedTsconfig(p)){var g=e.convertToRelativePath(f,i,e.identity);var updatePath_1=function(t){return e.isRootedDiskPath(t)?t:e.combinePaths(g,t)};var mapPropertiesInRawIfNotUndefined=function(t){if(m[t]){m[t]=e.map(m[t],updatePath_1)}};var m=p.raw;mapPropertiesInRawIfNotUndefined("include");mapPropertiesInRawIfNotUndefined("exclude");mapPropertiesInRawIfNotUndefined("files")}}if(s){s.set(l,{extendedResult:d,extendedConfig:p})}}if(t){t.extendedSourceFiles=[d.fileName];if(d.extendedSourceFiles){(c=t.extendedSourceFiles).push.apply(c,d.extendedSourceFiles)}}if(d.parseDiagnostics.length){o.push.apply(o,d.parseDiagnostics);return undefined}return p}function convertCompileOnSaveOptionFromJson(t,r,n){if(!e.hasProperty(t,e.compileOnSaveCommandLineOption.name)){return false}var i=convertJsonOption(e.compileOnSaveCommandLineOption,t.compileOnSave,r,n);return typeof i==="boolean"&&i}function convertCompilerOptionsFromJson(e,t,r){var n=[];var i=convertCompilerOptionsFromJsonWorker(e,t,n,r);return{options:i,errors:n}}e.convertCompilerOptionsFromJson=convertCompilerOptionsFromJson;function convertTypeAcquisitionFromJson(e,t,r){var n=[];var i=convertTypeAcquisitionFromJsonWorker(e,t,n,r);return{options:i,errors:n}}e.convertTypeAcquisitionFromJson=convertTypeAcquisitionFromJson;function getDefaultCompilerOptions(t){var r=t&&e.getBaseFileName(t)==="jsconfig.json"?{allowJs:true,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:true,skipLibCheck:true,noEmit:true}:{};return r}function convertCompilerOptionsFromJsonWorker(t,r,n,i){var a=getDefaultCompilerOptions(i);convertOptionsFromJson(getCommandLineCompilerOptionsMap(),t,r,a,e.compilerOptionsDidYouMeanDiagnostics,n);if(i){a.configFilePath=e.normalizeSlashes(i)}return a}function getDefaultTypeAcquisition(t){return{enable:!!t&&e.getBaseFileName(t)==="jsconfig.json",include:[],exclude:[]}}function convertTypeAcquisitionFromJsonWorker(e,t,r,n){var i=getDefaultTypeAcquisition(n);var a=convertEnableAutoDiscoveryToEnable(e);convertOptionsFromJson(getCommandLineTypeAcquisitionMap(),a,t,i,s,r);return i}function convertWatchOptionsFromJsonWorker(e,t,r){return convertOptionsFromJson(getCommandLineWatchOptionsMap(),e,t,undefined,l,r)}function convertOptionsFromJson(t,r,n,i,a,o){if(!r){return}for(var s in r){var c=t.get(s);if(c){(i||(i={}))[c.name]=convertJsonOption(c,r[s],n,o)}else{o.push(createUnknownOptionError(s,a,e.createCompilerDiagnostic))}}return i}function convertJsonOption(t,r,n,i){if(isCompilerOptionsValue(t,r)){var a=t.type;if(a==="list"&&e.isArray(r)){return convertJsonOptionOfListType(t,r,n,i)}else if(!e.isString(a)){return convertJsonOptionOfCustomType(t,r,i)}return normalizeNonListOptionValue(t,n,r)}else{i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t.name,getCompilerOptionValueTypeString(t)))}}function normalizeOptionValue(t,r,n){if(isNullOrUndefined(n))return undefined;if(t.type==="list"){var i=t;if(i.element.isFilePath||!e.isString(i.element.type)){return e.filter(e.map(n,(function(e){return normalizeOptionValue(i.element,r,e)})),(function(e){return!!e}))}return n}else if(!e.isString(t.type)){return t.type.get(e.isString(n)?n.toLowerCase():n)}return normalizeNonListOptionValue(t,r,n)}function normalizeNonListOptionValue(t,r,n){if(t.isFilePath){n=e.getNormalizedAbsolutePath(n,r);if(n===""){n="."}}return n}function convertJsonOptionOfCustomType(e,t,r){if(isNullOrUndefined(t))return undefined;var n=t.toLowerCase();var i=e.type.get(n);if(i!==undefined){return i}else{r.push(createCompilerDiagnosticForInvalidCustomType(e))}}function convertJsonOptionOfListType(t,r,n,i){return e.filter(e.map(r,(function(e){return convertJsonOption(t.element,e,n,i)})),(function(e){return!!e}))}function trimString(e){return typeof e.trim==="function"?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}var g=/(^|\/)\*\*\/?$/;var m=/(^|\/)\*\*\/(.*\/)?\.\.($|\/)/;var _=/\/[^/]*?[*?][^/]*\//;var y=/^[^*?]*(?=\/[^/]*[*?])/;function matchFileNames(t,r,n,i,a,o,s,c,l){i=e.normalizePath(i);var u,d;if(r){u=validateSpecs(r,s,false,l,"include")}if(n){d=validateSpecs(n,s,true,l,"exclude")}var p=getWildcardDirectories(u,d,i,o.useCaseSensitiveFileNames);var f={filesSpecs:t,includeSpecs:r,excludeSpecs:n,validatedIncludeSpecs:u,validatedExcludeSpecs:d,wildcardDirectories:p};return getFileNamesFromConfigSpecs(f,i,a,o,c)}function getFileNamesFromConfigSpecs(t,r,n,i,a){if(a===void 0){a=[]}r=e.normalizePath(r);var o=e.createGetCanonicalFileName(i.useCaseSensitiveFileNames);var s=e.createMap();var c=e.createMap();var l=e.createMap();var u=t.filesSpecs,d=t.validatedIncludeSpecs,p=t.validatedExcludeSpecs,f=t.wildcardDirectories;var g=e.getSupportedExtensions(n,a);var m=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(n,g);if(u){for(var _=0,y=u;_0){var _loop_5=function(t){if(e.fileExtensionIs(t,".json")){if(!T){var n=d.filter((function(t){return e.endsWith(t,".json")}));var a=e.map(e.getRegularExpressionsForWildcards(n,r,"files"),(function(e){return"^"+e+"$"}));T=a?a.map((function(t){return e.getRegexFromPattern(t,i.useCaseSensitiveFileNames)})):e.emptyArray}var u=e.findIndex(T,(function(e){return e.test(t)}));if(u!==-1){var p=o(t);if(!s.has(p)&&!l.has(p)){l.set(p,t)}}return"continue"}if(hasFileWithHigherPriorityExtension(t,s,c,g,o)){return"continue"}removeWildcardFilesWithLowerPriorityExtension(t,c,g,o);var f=o(t);if(!s.has(f)&&!c.has(f)){c.set(f,t)}};for(var b=0,S=i.readDirectory(r,m,p,d,undefined);bi){i=c}if(i===1){return i}}return i}break;case 250:{var l=0;e.forEachChild(t,(function(t){var n=getModuleInstanceStateCached(t,r);switch(n){case 0:return;case 2:l=2;return;case 1:l=1;return true;default:e.Debug.assertNever(n)}}));return l}case 249:return getModuleInstanceState(t,r);case 75:if(t.isInJSDocNamespace){return 0}}return 1}function getModuleInstanceStateForAliasTarget(t,r){var n=t.propertyName||t.name;var i=t.parent;while(i){if(e.isBlock(i)||e.isModuleBlock(i)||e.isSourceFile(i)){var a=i.statements;var o=void 0;for(var s=0,c=a;so){o=u}if(o===1){return o}}}if(o!==undefined){return o}}i=i.parent}return 1}var r;(function(e){e[e["None"]=0]="None";e[e["IsContainer"]=1]="IsContainer";e[e["IsBlockScopedContainer"]=2]="IsBlockScopedContainer";e[e["IsControlFlowContainer"]=4]="IsControlFlowContainer";e[e["IsFunctionLike"]=8]="IsFunctionLike";e[e["IsFunctionExpression"]=16]="IsFunctionExpression";e[e["HasLocals"]=32]="HasLocals";e[e["IsInterface"]=64]="IsInterface";e[e["IsObjectLiteralOrClassExpressionMethod"]=128]="IsObjectLiteralOrClassExpressionMethod"})(r||(r={}));function initFlowNode(t){e.Debug.attachFlowNodeDebugInfo(t);return t}var a=createBinder();function bindSourceFile(t,r){e.performance.mark("beforeBind");e.perfLogger.logStartBindFile(""+t.fileName);a(t,r);e.perfLogger.logStopBindFile();e.performance.mark("afterBind");e.performance.measure("Bind","beforeBind","afterBind")}e.bindSourceFile=bindSourceFile;function createBinder(){var t;var r;var a;var o;var s;var c;var l;var u;var d;var p;var f;var g;var m;var _;var y;var h;var v;var T;var b;var S;var x;var D;var C=0;var E;var N;var k={flags:1};var A={flags:1};var F=0;var P;function createDiagnosticForNode(r,n,i,a,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(r)||t,r,n,i,a,o)}function bindSourceFile(n,i){t=n;r=i;a=e.getEmitScriptTarget(r);D=bindInStrictMode(t,i);N=e.createUnderscoreEscapedMap();C=0;P=t.isDeclarationFile;E=e.objectAllocator.getSymbolConstructor();e.Debug.attachFlowNodeDebugInfo(k);e.Debug.attachFlowNodeDebugInfo(A);if(!t.locals){bind(t);t.symbolCount=C;t.classifiableNames=N;delayedBindJSDocTypedefTag()}t=undefined;r=undefined;a=undefined;o=undefined;s=undefined;c=undefined;l=undefined;u=undefined;d=undefined;p=false;f=undefined;g=undefined;m=undefined;_=undefined;y=undefined;h=undefined;v=undefined;b=undefined;S=false;x=0;F=0}return bindSourceFile;function bindInStrictMode(t,r){if(e.getStrictOptionValue(r,"alwaysStrict")&&!t.isDeclarationFile){return true}else{return!!t.externalModuleIndicator}}function createSymbol(e,t){C++;return new E(e,t)}function addDeclarationToSymbol(t,r,n){t.flags|=n;r.symbol=t;t.declarations=e.appendIfUnique(t.declarations,r);if(n&(32|384|1536|3)&&!t.exports){t.exports=e.createSymbolTable()}if(n&(32|64|2048|4096)&&!t.members){t.members=e.createSymbolTable()}if(t.constEnumOnlyModule&&t.flags&(16|32|256)){t.constEnumOnlyModule=false}if(n&111551){e.setValueDeclaration(t,r)}}function getDeclarationName(t){if(t.kind===259){return t.isExportEquals?"export=":"default"}var r=e.getNameOfDeclaration(t);if(r){if(e.isAmbientModule(t)){var n=e.getTextOfIdentifierOrLiteral(r);return e.isGlobalScopeAugmentation(t)?"__global":'"'+n+'"'}if(r.kind===154){var i=r.expression;if(e.isStringOrNumericLiteralLike(i)){return e.escapeLeadingUnderscores(i.text)}if(e.isSignedNumericLiteral(i)){return e.tokenToString(i.operator)+i.operand.text}e.Debug.assert(e.isWellKnownSymbolSyntactically(i));return e.getPropertyNameForKnownSymbolName(e.idText(i.name))}if(e.isWellKnownSymbolSyntactically(r)){return e.getPropertyNameForKnownSymbolName(e.idText(r.name))}if(e.isPrivateIdentifier(r)){var a=e.getContainingClass(t);if(!a){return undefined}var o=a.symbol;return e.getSymbolNameForPrivateIdentifier(o,r.escapedText)}return e.isPropertyNameLiteral(r)?e.getEscapedTextOfIdentifierOrLiteral(r):undefined}switch(t.kind){case 162:return"__constructor";case 170:case 165:case 305:return"__call";case 171:case 166:return"__new";case 167:return"__index";case 260:return"__export";case 290:return"export=";case 209:if(e.getAssignmentDeclarationKind(t)===2){return"export="}e.Debug.fail("Unknown binary declaration kind");break;case 300:return e.isJSDocConstructSignature(t)?"__new":"__call";case 156:e.Debug.assert(t.parent.kind===300,"Impossible parameter parent kind",(function(){return"parent is: "+(e.SyntaxKind?e.SyntaxKind[t.parent.kind]:t.parent.kind)+", expected JSDocFunctionType"}));var s=t.parent;var c=s.parameters.indexOf(t);return"arg"+c}}function getDisplayName(t){return e.isNamedDeclaration(t)?e.declarationNameToString(t.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(getDeclarationName(t)))}function declareSymbol(r,i,a,o,s,c){e.Debug.assert(!e.hasDynamicName(a));var l=e.hasModifier(a,512)||e.isExportSpecifier(a)&&a.name.escapedText==="default";var u=l&&i?"default":getDeclarationName(a);var d;if(u===undefined){d=createSymbol(0,"__missing")}else{d=r.get(u);if(o&2885600){N.set(u,true)}if(!d){r.set(u,d=createSymbol(0,u));if(c)d.isReplaceableByMethod=true}else if(c&&!d.isReplaceableByMethod){return d}else if(d.flags&s){if(d.isReplaceableByMethod){r.set(u,d=createSymbol(0,u))}else if(!(o&3&&d.flags&67108864)){if(e.isNamedDeclaration(a)){a.name.parent=a}var p=d.flags&2?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0;var f=true;if(d.flags&384||o&384){p=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations;f=false}var g=false;if(e.length(d.declarations)){if(l){p=e.Diagnostics.A_module_cannot_have_multiple_default_exports;f=false;g=true}else{if(d.declarations&&d.declarations.length&&(a.kind===259&&!a.isExportEquals)){p=e.Diagnostics.A_module_cannot_have_multiple_default_exports;f=false;g=true}}}var m=[];if(e.isTypeAliasDeclaration(a)&&e.nodeIsMissing(a.type)&&e.hasModifier(a,1)&&d.flags&(2097152|788968|1920)){m.push(createDiagnosticForNode(a,e.Diagnostics.Did_you_mean_0,"export type { "+e.unescapeLeadingUnderscores(a.name.escapedText)+" }"))}var _=e.getNameOfDeclaration(a)||a;e.forEach(d.declarations,(function(r,n){var i=e.getNameOfDeclaration(r)||r;var a=createDiagnosticForNode(i,p,f?getDisplayName(r):undefined);t.bindDiagnostics.push(g?e.addRelatedInfo(a,createDiagnosticForNode(_,n===0?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):a);if(g){m.push(createDiagnosticForNode(i,e.Diagnostics.The_first_export_default_is_here))}}));var y=createDiagnosticForNode(_,p,f?getDisplayName(a):undefined);t.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,n([y],m)));d=createSymbol(0,u)}}}addDeclarationToSymbol(d,a,o);if(d.parent){e.Debug.assert(d.parent===i,"Existing symbol parent should match new one")}else{d.parent=i}return d}function declareModuleMember(t,r,n){var i=e.getCombinedModifierFlags(t)&1;if(r&2097152){if(t.kind===263||t.kind===253&&i){return declareSymbol(s.symbol.exports,s.symbol,t,r,n)}else{return declareSymbol(s.locals,undefined,t,r,n)}}else{if(e.isJSDocTypeAlias(t))e.Debug.assert(e.isInJSFile(t));if(!e.isAmbientModule(t)&&(i||s.flags&64)||e.isJSDocTypeAlias(t)){if(!s.locals||e.hasModifier(t,512)&&!getDeclarationName(t)){return declareSymbol(s.symbol.exports,s.symbol,t,r,n)}var a=r&111551?1048576:0;var o=declareSymbol(s.locals,undefined,t,a,n);o.exportSymbol=declareSymbol(s.symbol.exports,s.symbol,t,r,n);t.localSymbol=o;return o}else{return declareSymbol(s.locals,undefined,t,r,n)}}}function bindContainer(t,r){var n=s;var i=c;var a=l;if(r&1){if(t.kind!==202){c=s}s=l=t;if(r&32){s.locals=e.createSymbolTable()}addToContainerChain(s)}else if(r&2){l=t;l.locals=undefined}if(r&4){var o=f;var u=g;var d=m;var y=_;var h=v;var T=b;var D=S;var C=r&16&&!e.hasModifier(t,256)&&!t.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(t);if(!C){f=initFlowNode({flags:2});if(r&(16|128)){f.node=t}}_=C||t.kind===162?createBranchLabel():undefined;v=undefined;g=undefined;m=undefined;b=undefined;S=false;bindChildren(t);t.flags&=~2816;if(!(f.flags&1)&&r&8&&e.nodeIsPresent(t.body)){t.flags|=256;if(S)t.flags|=512;t.endFlowNode=f}if(t.kind===290){t.flags|=x}if(_){addAntecedent(_,f);f=finishFlowLabel(_);if(t.kind===162){t.returnFlowNode=f}}if(!C){f=o}g=u;m=d;_=y;v=h;b=T;S=D}else if(r&64){p=false;bindChildren(t);t.flags=p?t.flags|128:t.flags&~128}else{bindChildren(t)}s=n;c=i;l=a}function bindChildren(e){if(P){bindChildrenWorker(e)}else if(e.transformFlags&536870912){P=true;bindChildrenWorker(e);P=false;F|=e.transformFlags&~getTransformFlagsSubtreeExclusions(e.kind)}else{var t=F;F=0;bindChildrenWorker(e);F=t|computeTransformFlagsForNode(e,F)}}function bindEachFunctionsFirst(e){bindEach(e,(function(e){return e.kind===244?bind(e):undefined}));bindEach(e,(function(e){return e.kind!==244?bind(e):undefined}))}function bindEach(t,r){if(r===void 0){r=bind}if(t===undefined){return}if(P){e.forEach(t,r)}else{var n=F;F=0;var i=0;for(var a=0,o=t;a=225&&e.kind<=241&&!r.allowUnreachableCode){e.flowNode=f}switch(e.kind){case 229:bindWhileStatement(e);break;case 228:bindDoStatement(e);break;case 230:bindForStatement(e);break;case 231:case 232:bindForInOrForOfStatement(e);break;case 227:bindIfStatement(e);break;case 235:case 239:bindReturnOrThrow(e);break;case 234:case 233:bindBreakOrContinueStatement(e);break;case 240:bindTryStatement(e);break;case 237:bindSwitchStatement(e);break;case 251:bindCaseBlock(e);break;case 277:bindCaseClause(e);break;case 226:bindExpressionStatement(e);break;case 238:bindLabeledStatement(e);break;case 207:bindPrefixUnaryExpressionFlow(e);break;case 208:bindPostfixUnaryExpressionFlow(e);break;case 209:bindBinaryExpressionFlow(e);break;case 203:bindDeleteExpressionFlow(e);break;case 210:bindConditionalExpressionFlow(e);break;case 242:bindVariableDeclarationFlow(e);break;case 194:case 195:bindAccessExpressionFlow(e);break;case 196:bindCallExpressionFlow(e);break;case 218:bindNonNullExpressionFlow(e);break;case 322:case 315:case 316:bindJSDocTypeAlias(e);break;case 290:{bindEachFunctionsFirst(e.statements);bind(e.endOfFileToken);break}case 223:case 250:bindEachFunctionsFirst(e.statements);break;default:bindEachChild(e);break}bindJSDoc(e)}function isNarrowingExpression(e){switch(e.kind){case 75:case 104:case 194:case 195:return containsNarrowableReference(e);case 196:return hasNarrowableArgument(e);case 200:return isNarrowingExpression(e.expression);case 209:return isNarrowingBinaryExpression(e);case 207:return e.operator===53&&isNarrowingExpression(e.operand);case 204:return isNarrowingExpression(e.expression)}return false}function isNarrowableReference(t){return t.kind===75||t.kind===104||t.kind===102||(e.isPropertyAccessExpression(t)||e.isNonNullExpression(t)||e.isParenthesizedExpression(t))&&isNarrowableReference(t.expression)||e.isElementAccessExpression(t)&&e.isStringOrNumericLiteralLike(t.argumentExpression)&&isNarrowableReference(t.expression)}function containsNarrowableReference(t){return isNarrowableReference(t)||e.isOptionalChain(t)&&containsNarrowableReference(t.expression)}function hasNarrowableArgument(e){if(e.arguments){for(var t=0,r=e.arguments;t=0){t=r.expr[n];switch(r.state[n]){case 0:{t.parent=o;var i=D;bindWorker(t);var a=o;o=t;var s=void 0;if(P){}else if(t.transformFlags&536870912){P=true;s=-1}else{var c=F;F=0;s=c}advanceState(1,i,a,s);break}case 1:{var l=t.operatorToken.kind;if(l===55||l===56||l===60){if(isTopLevelLogicalExpression(t)){var u=createBranchLabel();bindLogicalExpression(t,u,u);f=finishFlowLabel(u)}else{bindLogicalExpression(t,y,h)}completeNode()}else{advanceState(2);maybeBind(t.left)}break}case 2:{advanceState(3);maybeBind(t.operatorToken);break}case 3:{advanceState(4);maybeBind(t.right);break}case 4:{var l=t.operatorToken.kind;if(e.isAssignmentOperator(l)&&!e.isAssignmentTarget(t)){bindAssignmentTargetFlow(t.left);if(l===62&&t.left.kind===195){var d=t.left;if(isNarrowableOperand(d.expression)){f=createFlowMutation(256,f,t)}}}completeNode();break}default:return e.Debug.fail("Invalid state "+r.state[n]+" for bindBinaryExpressionFlow")}}function advanceState(e,t,i,a){r.state[n]=e;if(t!==undefined){r.inStrictMode[n]=t}if(i!==undefined){r.parent[n]=i}if(a!==undefined){r.subtreeFlags[n]=a}}function completeNode(){if(r.inStrictMode[n]!==undefined){if(r.subtreeFlags[n]===-1){P=false;F|=t.transformFlags&~getTransformFlagsSubtreeExclusions(t.kind)}else if(r.subtreeFlags[n]!==undefined){F=r.subtreeFlags[n]|computeTransformFlagsForNode(t,F)}D=r.inStrictMode[n];o=r.parent[n]}n--}function maybeBind(t){if(t&&e.isBinaryExpression(t)){n++;r.expr[n]=t;r.state[n]=0;r.inStrictMode[n]=undefined;r.parent[n]=undefined;r.subtreeFlags[n]=undefined}else{bind(t)}}}function bindDeleteExpressionFlow(e){bindEachChild(e);if(e.expression.kind===194){bindAssignmentTargetFlow(e.expression)}}function bindConditionalExpressionFlow(e){var t=createBranchLabel();var r=createBranchLabel();var n=createBranchLabel();bindCondition(e.condition,t,r);f=finishFlowLabel(t);bind(e.questionToken);bind(e.whenTrue);addAntecedent(n,f);f=finishFlowLabel(r);bind(e.colonToken);bind(e.whenFalse);addAntecedent(n,f);f=finishFlowLabel(n)}function bindInitializedVariableFlow(t){var r=!e.isOmittedExpression(t)?t.name:undefined;if(e.isBindingPattern(r)){for(var n=0,i=r.elements;n=113&&r.originalKeywordKind<=121&&!e.isIdentifierName(r)&&!(r.flags&8388608)&&!(r.flags&4194304)){if(!t.parseDiagnostics.length){t.bindDiagnostics.push(createDiagnosticForNode(r,getStrictModeIdentifierMessage(r),e.declarationNameToString(r)))}}}function getStrictModeIdentifierMessage(r){if(e.getContainingClass(r)){return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode}if(t.externalModuleIndicator){return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode}return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function checkPrivateIdentifier(r){if(r.escapedText==="#constructor"){if(!t.parseDiagnostics.length){t.bindDiagnostics.push(createDiagnosticForNode(r,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(r)))}}}function checkStrictModeBinaryExpression(t){if(D&&e.isLeftHandSideExpression(t.left)&&e.isAssignmentOperator(t.operatorToken.kind)){checkStrictModeEvalOrArguments(t,t.left)}}function checkStrictModeCatchClause(e){if(D&&e.variableDeclaration){checkStrictModeEvalOrArguments(e,e.variableDeclaration.name)}}function checkStrictModeDeleteExpression(r){if(D&&r.expression.kind===75){var n=e.getErrorSpanForNode(t,r.expression);t.bindDiagnostics.push(e.createFileDiagnostic(t,n.start,n.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function isEvalOrArgumentsIdentifier(t){return e.isIdentifier(t)&&(t.escapedText==="eval"||t.escapedText==="arguments")}function checkStrictModeEvalOrArguments(r,n){if(n&&n.kind===75){var i=n;if(isEvalOrArgumentsIdentifier(i)){var a=e.getErrorSpanForNode(t,n);t.bindDiagnostics.push(e.createFileDiagnostic(t,a.start,a.length,getStrictModeEvalOrArgumentsMessage(r),e.idText(i)))}}}function getStrictModeEvalOrArgumentsMessage(r){if(e.getContainingClass(r)){return e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode}if(t.externalModuleIndicator){return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode}return e.Diagnostics.Invalid_use_of_0_in_strict_mode}function checkStrictModeFunctionName(e){if(D){checkStrictModeEvalOrArguments(e,e.name)}}function getStrictModeBlockScopeFunctionDeclarationMessage(r){if(e.getContainingClass(r)){return e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode}if(t.externalModuleIndicator){return e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode}return e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function checkStrictModeFunctionDeclaration(r){if(a<2){if(l.kind!==290&&l.kind!==249&&!e.isFunctionLike(l)){var n=e.getErrorSpanForNode(t,r);t.bindDiagnostics.push(e.createFileDiagnostic(t,n.start,n.length,getStrictModeBlockScopeFunctionDeclarationMessage(r)))}}}function checkStrictModeNumericLiteral(r){if(D&&r.numericLiteralFlags&32){t.bindDiagnostics.push(createDiagnosticForNode(r,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}}function checkStrictModePostfixUnaryExpression(e){if(D){checkStrictModeEvalOrArguments(e,e.operand)}}function checkStrictModePrefixUnaryExpression(e){if(D){if(e.operator===45||e.operator===46){checkStrictModeEvalOrArguments(e,e.operand)}}}function checkStrictModeWithStatement(t){if(D){errorOnFirstToken(t,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}}function checkStrictModeLabeledStatement(t){if(D&&r.target>=2){if(e.isDeclarationStatement(t.statement)||e.isVariableStatement(t.statement)){errorOnFirstToken(t.label,e.Diagnostics.A_label_is_not_allowed_here)}}}function errorOnFirstToken(r,n,i,a,o){var s=e.getSpanOfTokenAtPosition(t,r.pos);t.bindDiagnostics.push(e.createFileDiagnostic(t,s.start,s.length,n,i,a,o))}function errorOrSuggestionOnNode(e,t,r){errorOrSuggestionOnRange(e,t,t,r)}function errorOrSuggestionOnRange(r,n,i,a){addErrorOrSuggestionDiagnostic(r,{pos:e.getTokenPosOfNode(n,t),end:i.end},a)}function addErrorOrSuggestionDiagnostic(r,n,a){var o=e.createFileDiagnostic(t,n.pos,n.end-n.pos,a);if(r){t.bindDiagnostics.push(o)}else{t.bindSuggestionDiagnostics=e.append(t.bindSuggestionDiagnostics,i(i({},o),{category:e.DiagnosticCategory.Suggestion}))}}function bind(e){if(!e){return}e.parent=o;var t=D;bindWorker(e);if(e.kind>152){var r=o;o=e;var n=getContainerFlags(e);if(n===0){bindChildren(e)}else{bindContainer(e,n)}o=r}else if(!P&&(e.transformFlags&536870912)===0){F|=computeTransformFlagsForNode(e,0);var r=o;if(e.kind===1)o=e;bindJSDoc(e);o=r}D=t}function bindJSDoc(t){if(e.hasJSDocNodes(t)){if(e.isInJSFile(t)){for(var r=0,n=t.jsDoc;r=168&&e<=188){return-2}switch(e){case 196:case 197:case 192:return 536879104;case 249:return 537991168;case 156:return 536870912;case 202:return 538920960;case 201:case 244:return 538925056;case 243:return 537018368;case 245:case 214:return 536905728;case 162:return 538923008;case 161:case 163:case 164:return 538923008;case 125:case 140:case 151:case 137:case 143:case 141:case 128:case 144:case 110:case 155:case 158:case 160:case 165:case 166:case 167:case 246:case 247:return-2;case 193:return 536922112;case 280:return 536887296;case 189:case 190:return 536879104;case 199:case 217:case 326:case 200:case 102:return 536870912;case 194:case 195:return 536870912;default:return 536870912}}e.getTransformFlagsSubtreeExclusions=getTransformFlagsSubtreeExclusions;function setParentPointers(t,r){r.parent=t;e.forEachChild(r,(function(e){return setParentPointers(r,e)}))}})(l||(l={}));var l;(function(e){function createGetSymbolWalker(t,r,n,i,a,o,s,c,l,u,d){return getSymbolWalker;function getSymbolWalker(p){if(p===void 0){p=function(){return true}}var f=[];var g=[];return{walkType:function(t){try{visitType(t);return{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(g)}}finally{e.clear(f);e.clear(g)}},walkSymbol:function(t){try{visitSymbol(t);return{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(g)}}finally{e.clear(f);e.clear(g)}}};function visitType(e){if(!e){return}if(f[e.id]){return}f[e.id]=e;var t=visitSymbol(e.symbol);if(t)return;if(e.flags&524288){var r=e;var n=r.objectFlags;if(n&4){visitTypeReference(e)}if(n&32){visitMappedType(e)}if(n&(1|2)){visitInterfaceType(e)}if(n&(8|16)){visitObjectType(r)}}if(e.flags&262144){visitTypeParameter(e)}if(e.flags&3145728){visitUnionOrIntersectionType(e)}if(e.flags&4194304){visitIndexType(e)}if(e.flags&8388608){visitIndexedAccessType(e)}}function visitTypeReference(t){visitType(t.target);e.forEach(d(t),visitType)}function visitTypeParameter(e){visitType(l(e))}function visitUnionOrIntersectionType(t){e.forEach(t.types,visitType)}function visitIndexType(e){visitType(e.type)}function visitIndexedAccessType(e){visitType(e.objectType);visitType(e.indexType);visitType(e.constraint)}function visitMappedType(e){visitType(e.typeParameter);visitType(e.constraintType);visitType(e.templateType);visitType(e.modifiersType)}function visitSignature(i){var a=r(i);if(a){visitType(a.type)}e.forEach(i.typeParameters,visitType);for(var o=0,s=i.parameters;o>",0,ce);var Ze=createSignature(undefined,undefined,undefined,e.emptyArray,ce,undefined,0,0);var et=createSignature(undefined,undefined,undefined,e.emptyArray,de,undefined,0,0);var tt=createSignature(undefined,undefined,undefined,e.emptyArray,ce,undefined,0,0);var rt=createSignature(undefined,undefined,undefined,e.emptyArray,Fe,undefined,0,0);var nt=createIndexInfo(ve,true);var it=e.createMap();var at={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}};var ot=createIterationTypes(ce,ce,ce);var st=createIterationTypes(ce,ce,fe);var ct=createIterationTypes(Ae,ce,ge);var ut={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:getGlobalAsyncIteratorType,getGlobalIterableType:getGlobalAsyncIterableType,getGlobalIterableIteratorType:getGlobalAsyncIterableIteratorType,getGlobalGeneratorType:getGlobalAsyncGeneratorType,resolveIterationType:getAwaitedType,mustHaveANextMethodDiagnostic:e.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property};var dt={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:getGlobalIteratorType,getGlobalIterableType:getGlobalIterableType,getGlobalIterableIteratorType:getGlobalIterableIteratorType,getGlobalGeneratorType:getGlobalGeneratorType,resolveIterationType:function(e,t){return e},mustHaveANextMethodDiagnostic:e.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property};var pt;var ft=e.createMap();var mt;var _t;var yt;var ht;var vt;var Tt;var bt;var St;var xt;var Dt;var Ct;var Et;var Nt;var kt;var At;var Ft;var Pt;var Ot;var It;var wt;var Mt;var Lt;var Rt;var Bt;var jt;var Jt;var Wt;var Ut;var Vt;var zt;var Ht;var Kt;var qt;var Gt;var $t;var Qt;var Xt;var Yt;var Zt;var er;var tr=e.createMap();var rr=0;var nr=0;var ir=0;var ar=false;var sr=0;var cr;var lr;var ur;var dr=getLiteralType("");var pr=getLiteralType(0);var fr=getLiteralType({negative:false,base10Value:"0"});var gr=[];var mr=[];var _r=[];var yr=0;var hr=10;var vr=[];var Tr=[];var br=[];var Sr=[];var xr=[];var Dr=[];var Cr=[];var Er=[];var Nr=[];var kr=[];var Ar=[];var Fr=[];var Pr=[];var Or=[];var Ir=e.createDiagnosticCollection();var wr=e.createDiagnosticCollection();var Mr=e.createMapFromTemplate({string:ve,number:Te,bigint:be,boolean:Ee,symbol:Ne,undefined:ge});var Lr=createTypeofType();var Rr;var Br;var jr;var Jr=e.createMap();var Wr=e.createMap();var Ur=e.createMap();var Vr=e.createMap();var zr=e.createMap();var Hr=e.createMap();var Kr=e.createSymbolTable();Kr.set(K.escapedName,K);initializeTypeChecker();return X;function getJsxNamespace(t){if(t){var r=e.getSourceFileOfNode(t);if(r){if(r.localJsxNamespace){return r.localJsxNamespace}var n=r.pragmas.get("jsx");if(n){var i=e.isArray(n)?n[0]:n;r.localJsxFactory=e.parseIsolatedEntityName(i.arguments.factory,O);e.visitNode(r.localJsxFactory,markAsSynthetic);if(r.localJsxFactory){return r.localJsxNamespace=e.getFirstIdentifier(r.localJsxFactory).escapedText}}}}if(!Rr){Rr="React";if(P.jsxFactory){Br=e.parseIsolatedEntityName(P.jsxFactory,O);e.visitNode(Br,markAsSynthetic);if(Br){Rr=e.getFirstIdentifier(Br).escapedText}}else if(P.reactNamespace){Rr=e.escapeLeadingUnderscores(P.reactNamespace)}}if(!Br){Br=e.createQualifiedName(e.createIdentifier(e.unescapeLeadingUnderscores(Rr)),"createElement")}return Rr;function markAsSynthetic(t){t.pos=-1;t.end=-1;return e.visitEachChild(t,markAsSynthetic,e.nullTransformationContext)}}function getEmitResolver(e,t){getDiagnostics(e,t);return V}function lookupOrIssueError(t,r,n,i,a,o){var s=t?e.createDiagnosticForNode(t,r,n,i,a,o):e.createCompilerDiagnostic(r,n,i,a,o);var c=Ir.lookup(s);if(c){return c}else{Ir.add(s);return s}}function error(t,r,n,i,a,o){var s=t?e.createDiagnosticForNode(t,r,n,i,a,o):e.createCompilerDiagnostic(r,n,i,a,o);Ir.add(s);return s}function addErrorOrSuggestion(t,r){if(t){Ir.add(r)}else{wr.add(i(i({},r),{category:e.DiagnosticCategory.Suggestion}))}}function errorOrSuggestion(t,r,n,i,a,o,s){addErrorOrSuggestion(t,"message"in n?e.createDiagnosticForNode(r,n,i,a,o,s):e.createDiagnosticForNodeFromMessageChain(r,n))}function errorAndMaybeSuggestAwait(t,r,n,i,a,o,s){var c=error(t,n,i,a,o,s);if(r){var l=e.createDiagnosticForNode(t,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(c,l)}return c}function createSymbol(e,t,r){T++;var n=new _(e|33554432,t);n.checkFlags=r||0;return n}function getExcludedSymbolFlags(e){var t=0;if(e&2)t|=111551;if(e&1)t|=111550;if(e&4)t|=0;if(e&8)t|=900095;if(e&16)t|=110991;if(e&32)t|=899503;if(e&64)t|=788872;if(e&256)t|=899327;if(e&128)t|=899967;if(e&512)t|=110735;if(e&8192)t|=103359;if(e&32768)t|=46015;if(e&65536)t|=78783;if(e&262144)t|=526824;if(e&524288)t|=788968;if(e&2097152)t|=2097152;return t}function recordMergedSymbol(e,t){if(!t.mergeId){t.mergeId=c;c++}vr[t.mergeId]=e}function cloneSymbol(t){var r=createSymbol(t.flags,t.escapedName);r.declarations=t.declarations?t.declarations.slice():[];r.parent=t.parent;if(t.valueDeclaration)r.valueDeclaration=t.valueDeclaration;if(t.constEnumOnlyModule)r.constEnumOnlyModule=true;if(t.members)r.members=e.cloneMap(t.members);if(t.exports)r.exports=e.cloneMap(t.exports);recordMergedSymbol(r,t);return r}function mergeSymbol(t,r,n){if(n===void 0){n=false}if(!(t.flags&getExcludedSymbolFlags(r.flags))||(r.flags|t.flags)&67108864){if(r===t){return t}if(!(t.flags&33554432)){var i=resolveSymbol(t);if(i===oe){return r}t=cloneSymbol(i)}if(r.flags&512&&t.flags&512&&t.constEnumOnlyModule&&!r.constEnumOnlyModule){t.constEnumOnlyModule=false}t.flags|=r.flags;if(r.valueDeclaration){e.setValueDeclaration(t,r.valueDeclaration)}e.addRange(t.declarations,r.declarations);if(r.members){if(!t.members)t.members=e.createSymbolTable();mergeSymbolTable(t.members,r.members,n)}if(r.exports){if(!t.exports)t.exports=e.createSymbolTable();mergeSymbolTable(t.exports,r.exports,n)}if(!n){recordMergedSymbol(t,r)}}else if(t.flags&1024){if(t!==q){error(e.getNameOfDeclaration(r.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,symbolToString(t))}}else{var a=!!(t.flags&384||r.flags&384);var o=!!(t.flags&2||r.flags&2);var s=a?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:o?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0;var c=r.declarations&&e.getSourceFileOfNode(r.declarations[0]);var l=t.declarations&&e.getSourceFileOfNode(t.declarations[0]);var u=symbolToString(r);if(c&&l&&pt&&!a&&c!==l){var d=e.comparePaths(c.path,l.path)===-1?c:l;var p=d===c?l:c;var f=e.getOrUpdate(pt,d.path+"|"+p.path,(function(){return{firstFile:d,secondFile:p,conflictingSymbols:e.createMap()}}));var g=e.getOrUpdate(f.conflictingSymbols,u,(function(){return{isBlockScoped:o,firstFileLocations:[],secondFileLocations:[]}}));addDuplicateLocations(g.firstFileLocations,r);addDuplicateLocations(g.secondFileLocations,t)}else{addDuplicateDeclarationErrorsForSymbols(r,s,u,t);addDuplicateDeclarationErrorsForSymbols(t,s,u,r)}}return t;function addDuplicateLocations(t,r){for(var n=0,i=r.declarations;n=5||e.some(o.relatedInformation,(function(t){return e.compareDiagnostics(t,s)===0||e.compareDiagnostics(t,i)===0})))return"continue";e.addRelatedInfo(o,!e.length(o.relatedInformation)?i:s)};for(var s=0,c=i||e.emptyArray;s1);return}if(e.isGlobalScopeAugmentation(i)){mergeSymbolTable(H,i.symbol.exports)}else{var a=!(t.parent.parent.flags&8388608)?e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found:undefined;var o=resolveExternalModuleNameWorker(t,t,a,true);if(!o){return}o=resolveExternalModuleSymbol(o);if(o.flags&1920){if(e.some(_t,(function(e){return o===e.symbol}))){var s=mergeSymbol(i.symbol,o,true);if(!yt){yt=e.createMap()}yt.set(t.text,s)}else{if(((r=o.exports)===null||r===void 0?void 0:r.get("__export"))&&((n=i.symbol.exports)===null||n===void 0?void 0:n.size)){var c=getResolvedMembersOrExportsOfSymbol(o,"resolvedExports");for(var l=0,u=e.arrayFrom(i.symbol.exports.entries());lt.end){return false}var i=e.findAncestor(r,(function(r){if(r===t){return"quit"}switch(r.kind){case 202:return true;case 159:return n&&(e.isPropertyDeclaration(t)&&r.parent===t.parent||e.isParameterPropertyDeclaration(t,t.parent)&&r.parent===t.parent.parent)?"quit":true;case 223:switch(r.parent.kind){case 163:case 161:case 164:return true;default:return false}default:return false}}));return i===undefined}}function useOuterVariableScopeInParameter(t,r,n){var i=e.getEmitScriptTarget(P);var a=r;if(e.isParameter(n)&&a.body&&t.valueDeclaration.pos>=a.body.pos&&t.valueDeclaration.end<=a.body.end){if(i>=2){var o=getNodeLinks(a);if(o.declarationRequiresScopeChange===undefined){o.declarationRequiresScopeChange=e.forEach(a.parameters,requiresScopeChange)||false}return!o.declarationRequiresScopeChange}}return false;function requiresScopeChange(e){return requiresScopeChangeWorker(e.name)||!!e.initializer&&requiresScopeChangeWorker(e.initializer)}function requiresScopeChangeWorker(t){switch(t.kind){case 202:case 201:case 244:case 162:return false;case 161:case 163:case 164:case 281:return requiresScopeChangeWorker(t.name);case 159:if(e.hasStaticModifier(t)){return i<99||!P.useDefineForClassFields}return requiresScopeChangeWorker(t.name);default:if(e.isNullishCoalesce(t)||e.isOptionalChain(t)){return i<7}if(e.isBindingElement(t)&&t.dotDotDotToken&&e.isObjectBindingPattern(t.parent)){return i<4}if(e.isTypeNode(t))return false;return e.forEachChild(t,requiresScopeChangeWorker)||false}}}function resolveName(e,t,r,n,i,a,o,s){if(o===void 0){o=false}return resolveNameHelper(e,t,r,n,i,a,o,getSymbol,s)}function resolveNameHelper(t,r,n,i,a,o,s,c,l){var u=t;var d;var p;var f;var g;var m;var _=false;var y=t;var h;var v=false;e:while(t){if(t.locals&&!isGlobalSourceFile(t)){if(d=c(t.locals,r,n)){var T=true;if(e.isFunctionLike(t)&&p&&p!==t.body){if(n&d.flags&788968&&p.kind!==303){T=d.flags&262144?p===t.type||p.kind===156||p.kind===155:false}if(n&d.flags&3){if(useOuterVariableScopeInParameter(d,t,p)){T=false}else if(d.flags&1){T=p.kind===156||p===t.type&&!!e.findAncestor(d.valueDeclaration,e.isParameter)}}}else if(t.kind===180){T=p===t.trueType}if(T){break e}else{d=undefined}}}_=_||getIsDeferredContext(t,p);switch(t.kind){case 290:if(!e.isExternalOrCommonJsModule(t))break;v=true;case 249:var b=getSymbolOfNode(t).exports||A;if(t.kind===290||e.isModuleDeclaration(t)&&t.flags&8388608&&!e.isGlobalScopeAugmentation(t)){if(d=b.get("default")){var S=e.getLocalSymbolForExportDefault(d);if(S&&d.flags&n&&S.escapedName===r){break e}d=undefined}var x=b.get(r);if(x&&x.flags===2097152&&(e.getDeclarationOfKind(x,263)||e.getDeclarationOfKind(x,262))){break}}if(r!=="default"&&(d=c(b,r,n&2623475))){if(e.isSourceFile(t)&&t.commonJsModuleIndicator&&!d.declarations.some(e.isJSDocTypeAlias)){d=undefined}else{break e}}break;case 248:if(d=c(getSymbolOfNode(t).exports,r,n&8)){break e}break;case 159:if(!e.hasModifier(t,32)){var D=findConstructorDeclaration(t.parent);if(D&&D.locals){if(c(D.locals,r,n&111551)){g=t}}}break;case 245:case 214:case 246:if(d=c(getSymbolOfNode(t).members||A,r,n&788968)){if(!isTypeParameterSymbolDeclaredInContainer(d,t)){d=undefined;break}if(p&&e.hasModifier(p,32)){error(y,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);return undefined}break e}if(t.kind===214&&n&32){var C=t.name;if(C&&r===C.escapedText){d=t.symbol;break e}}break;case 216:if(p===t.expression&&t.parent.token===90){var E=t.parent.parent;if(e.isClassLike(E)&&(d=c(getSymbolOfNode(E).members,r,n&788968))){if(i){error(y,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters)}return undefined}}break;case 154:h=t.parent.parent;if(e.isClassLike(h)||h.kind===246){if(d=c(getSymbolOfNode(h).members,r,n&788968)){error(y,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return undefined}}break;case 202:if(P.target>=2){break}case 161:case 162:case 163:case 164:case 244:if(n&3&&r==="arguments"){d=G;break e}break;case 201:if(n&3&&r==="arguments"){d=G;break e}if(n&16){var N=t.name;if(N&&r===N.escapedText){d=t.symbol;break e}}break;case 157:if(t.parent&&t.parent.kind===156){t=t.parent}if(t.parent&&(e.isClassElement(t.parent)||t.parent.kind===245)){t=t.parent}break;case 322:case 315:case 316:t=e.getJSDocHost(t);break;case 156:if(p&&(p===t.initializer||p===t.name&&e.isBindingPattern(p))){if(!m){m=t}}break;case 191:if(p&&(p===t.initializer||p===t.name&&e.isBindingPattern(p))){var k=e.getRootDeclaration(t);if(k.kind===156){if(!m){m=t}}}break}if(isSelfReferenceLocation(t)){f=t}p=t;t=t.parent}if(o&&d&&(!f||d!==f.symbol)){d.isReferenced|=n}if(!d){if(p){e.Debug.assert(p.kind===290);if(p.commonJsModuleIndicator&&r==="exports"&&n&p.symbol.flags){return p.symbol}}if(!s){d=c(H,r,n)}}if(!d){if(u&&e.isInJSFile(u)&&u.parent){if(e.isRequireCall(u.parent,false)){return $}}}if(!d){if(i){if(!y||!checkAndReportErrorForMissingPrefix(y,r,a)&&!checkAndReportErrorForExtendingInterface(y)&&!checkAndReportErrorForUsingTypeAsNamespace(y,r,n)&&!checkAndReportErrorForExportingPrimitiveType(y,r)&&!checkAndReportErrorForUsingTypeAsValue(y,r,n)&&!checkAndReportErrorForUsingNamespaceModuleAsValue(y,r,n)&&!checkAndReportErrorForUsingValueAsType(y,r,n)){var F=void 0;if(l&&yrm.pos&&k.parent.locals&&c(k.parent.locals,R.escapedName,n)===R){error(y,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(m.name),e.declarationNameToString(y))}}if(d&&y&&n&111551&&d.flags&2097152){checkSymbolUsageInExpressionContext(d,r,y)}}return d}function checkSymbolUsageInExpressionContext(t,r,n){if(!e.isValidTypeOnlyAliasUseSite(n)){var i=getTypeOnlyAliasDeclaration(t);if(i){var a=e.typeOnlyDeclarationIsExport(i);var o=a?e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;var s=a?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here;var c=e.unescapeLeadingUnderscores(r);e.addRelatedInfo(error(n,o,c),e.createDiagnosticForNode(i,s,c))}}}function getIsDeferredContext(t,r){if(t.kind!==202&&t.kind!==201){return e.isTypeQueryNode(t)||(e.isFunctionLikeDeclaration(t)||t.kind===159&&!e.hasModifier(t,32))&&(!r||r!==t.name)}if(r&&r===t.name){return false}if(t.asteriskToken||e.hasModifier(t,256)){return true}return!e.getImmediatelyInvokedFunctionExpression(t)}function isSelfReferenceLocation(e){switch(e.kind){case 244:case 245:case 246:case 248:case 247:case 249:return true;default:return false}}function diagnosticName(t){return e.isString(t)?e.unescapeLeadingUnderscores(t):e.declarationNameToString(t)}function isTypeParameterSymbolDeclaredInContainer(t,r){for(var n=0,i=t.declarations;n=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";var c=n.exports.get("export=");var l=c.valueDeclaration;var u=error(t.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,symbolToString(n),s);e.addRelatedInfo(u,e.createDiagnosticForNode(l,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,s))}else{reportNonDefaultExport(n,t)}}else if(o){var d=resolveExternalModuleSymbol(n,r)||resolveSymbol(n,r);markSymbolOfAliasDeclarationIfTypeOnly(t,n,d,false);return d}markSymbolOfAliasDeclarationIfTypeOnly(t,i,undefined,false);return i}}function reportNonDefaultExport(t,r){var n,i;if((n=t.exports)===null||n===void 0?void 0:n.has(r.symbol.escapedName)){error(r.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,symbolToString(t),symbolToString(r.symbol))}else{var a=error(r.name,e.Diagnostics.Module_0_has_no_default_export,symbolToString(t));var o=(i=t.exports)===null||i===void 0?void 0:i.get("__export");if(o){var s=e.find(o.declarations,(function(t){var r,n;return!!(e.isExportDeclaration(t)&&t.moduleSpecifier&&((n=(r=resolveExternalModuleName(t,t.moduleSpecifier))===null||r===void 0?void 0:r.exports)===null||n===void 0?void 0:n.has("default")))}));if(s){e.addRelatedInfo(a,e.createDiagnosticForNode(s,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}}function getTargetOfNamespaceImport(e,t){var r=e.parent.parent.moduleSpecifier;var n=resolveExternalModuleName(e,r);var i=resolveESModuleSymbol(n,r,t,false);markSymbolOfAliasDeclarationIfTypeOnly(e,n,i,false);return i}function getTargetOfNamespaceExport(e,t){var r=e.parent.moduleSpecifier;var n=r&&resolveExternalModuleName(e,r);var i=r&&resolveESModuleSymbol(n,r,t,false);markSymbolOfAliasDeclarationIfTypeOnly(e,n,i,false);return i}function combineValueAndTypeSymbols(t,r){if(t===oe&&r===oe){return oe}if(t.flags&(788968|1920)){return t}var n=createSymbol(t.flags|r.flags,t.escapedName);n.declarations=e.deduplicate(e.concatenate(t.declarations,r.declarations),e.equateValues);n.parent=t.parent||r.parent;if(t.valueDeclaration)n.valueDeclaration=t.valueDeclaration;if(r.members)n.members=e.cloneMap(r.members);if(t.exports)n.exports=e.cloneMap(t.exports);return n}function getExportOfModule(e,t,r){var n;if(e.flags&1536){var i=((n=t.propertyName)!==null&&n!==void 0?n:t.name).escapedText;var a=getExportsOfSymbol(e).get(i);var o=resolveSymbol(a,r);markSymbolOfAliasDeclarationIfTypeOnly(t,a,o,false);return o}}function getPropertyOfVariable(e,t){if(e.flags&3){var r=e.valueDeclaration.type;if(r){return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(r),t))}}}function getExternalModuleMember(t,r,n){var i;if(n===void 0){n=false}var a=resolveExternalModuleName(t,t.moduleSpecifier);var o=r.propertyName||r.name;var s=o.escapedText==="default"&&!!(P.allowSyntheticDefaultImports||P.esModuleInterop);var c=resolveESModuleSymbol(a,t.moduleSpecifier,n,s);if(c){if(o.escapedText){if(e.isShorthandAmbientModuleSymbol(a)){return a}var l=void 0;if(a&&a.exports&&a.exports.get("export=")){l=getPropertyOfType(getTypeOfSymbol(c),o.escapedText)}else{l=getPropertyOfVariable(c,o.escapedText)}l=resolveSymbol(l,n);var u=getExportOfModule(c,r,n);if(u===undefined&&o.escapedText==="default"){var d=e.find(a.declarations,e.isSourceFile);if(canHaveSyntheticDefault(d,a,n)){u=resolveExternalModuleSymbol(a,n)||resolveSymbol(a,n)}}var p=u&&l&&u!==l?combineValueAndTypeSymbols(l,u):u||l;if(!p){var f=getFullyQualifiedName(a,t);var g=e.declarationNameToString(o);var m=getSuggestedSymbolForNonexistentModule(o,c);if(m!==undefined){var _=symbolToString(m);var y=error(o,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2,f,g,_);if(m.valueDeclaration){e.addRelatedInfo(y,e.createDiagnosticForNode(m.valueDeclaration,e.Diagnostics._0_is_declared_here,_))}}else{if((i=a.exports)===null||i===void 0?void 0:i.has("default")){error(o,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,f,g)}else{reportNonExportedMember(t,o,g,a,f)}}}return p}}}function reportNonExportedMember(t,r,i,a,o){var s;var c=(s=a.valueDeclaration.locals)===null||s===void 0?void 0:s.get(r.escapedText);var l=a.exports;if(c){var u=l===null||l===void 0?void 0:l.get("export=");if(u){getSymbolIfSameReference(u,c)?reportInvalidImportEqualsExportMember(t,r,i,o):error(r,e.Diagnostics.Module_0_has_no_exported_member_1,o,i)}else{var d=l?e.find(symbolsToArray(l),(function(e){return!!getSymbolIfSameReference(e,c)})):undefined;var p=d?error(r,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,o,i,symbolToString(d)):error(r,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,o,i);e.addRelatedInfo.apply(void 0,n([p],e.map(c.declarations,(function(t,r){return e.createDiagnosticForNode(t,r===0?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,i)}))))}}else{error(r,e.Diagnostics.Module_0_has_no_exported_member_1,o,i)}}function reportInvalidImportEqualsExportMember(t,r,n,i){if(I>=e.ModuleKind.ES2015){var a=P.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(r,a,n)}else{if(e.isInJSFile(t)){var a=P.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(r,a,n)}else{var a=P.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(r,a,n,n,i)}}}function getTargetOfImportSpecifier(e,t){var r=getExternalModuleMember(e.parent.parent.parent,e,t);markSymbolOfAliasDeclarationIfTypeOnly(e,undefined,r,false);return r}function getTargetOfNamespaceExportDeclaration(e,t){var r=resolveExternalModuleSymbol(e.parent.symbol,t);markSymbolOfAliasDeclarationIfTypeOnly(e,undefined,r,false);return r}function getTargetOfExportSpecifier(e,t,r){var n=e.parent.parent.moduleSpecifier?getExternalModuleMember(e.parent.parent,e,r):resolveEntityName(e.propertyName||e.name,t,false,r);markSymbolOfAliasDeclarationIfTypeOnly(e,undefined,n,false);return n}function getTargetOfExportAssignment(t,r){var n=e.isExportAssignment(t)?t.expression:t.right;var i=getTargetOfAliasLikeExpression(n,r);markSymbolOfAliasDeclarationIfTypeOnly(t,undefined,i,false);return i}function getTargetOfAliasLikeExpression(t,r){if(e.isClassExpression(t)){return checkExpressionCached(t).symbol}if(!e.isEntityName(t)&&!e.isEntityNameExpression(t)){return undefined}var n=resolveEntityName(t,111551|788968|1920,true,r);if(n){return n}checkExpressionCached(t);return getNodeLinks(t).resolvedSymbol}function getTargetOfPropertyAssignment(e,t){var r=e.initializer;return getTargetOfAliasLikeExpression(r,t)}function getTargetOfPropertyAccessExpression(t,r){if(!(e.isBinaryExpression(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===62)){return undefined}return getTargetOfAliasLikeExpression(t.parent.right,r)}function getTargetOfAliasDeclaration(t,r){if(r===void 0){r=false}switch(t.kind){case 253:return getTargetOfImportEqualsDeclaration(t,r);case 255:return getTargetOfImportClause(t,r);case 256:return getTargetOfNamespaceImport(t,r);case 262:return getTargetOfNamespaceExport(t,r);case 258:return getTargetOfImportSpecifier(t,r);case 263:return getTargetOfExportSpecifier(t,111551|788968|1920,r);case 259:case 209:return getTargetOfExportAssignment(t,r);case 252:return getTargetOfNamespaceExportDeclaration(t,r);case 282:return resolveEntityName(t.name,111551|788968|1920,true,r);case 281:return getTargetOfPropertyAssignment(t,r);case 194:return getTargetOfPropertyAccessExpression(t,r);default:return e.Debug.fail()}}function isNonLocalAlias(e,t){if(t===void 0){t=111551|788968|1920}if(!e)return false;return(e.flags&(2097152|t))===2097152||!!(e.flags&2097152&&e.flags&67108864)}function resolveSymbol(e,t){return!t&&isNonLocalAlias(e)?resolveAlias(e):e}function resolveAlias(t){e.Debug.assert((t.flags&2097152)!==0,"Should only get Alias here.");var r=getSymbolLinks(t);if(!r.target){r.target=se;var n=getDeclarationOfAliasSymbol(t);if(!n)return e.Debug.fail();var i=getTargetOfAliasDeclaration(n);if(r.target===se){r.target=i||oe}else{error(n,e.Diagnostics.Circular_definition_of_import_alias_0,symbolToString(t))}}else if(r.target===se){r.target=oe}return r.target}function tryResolveAlias(e){var t=getSymbolLinks(e);if(t.target!==se){return resolveAlias(e)}return undefined}function markSymbolOfAliasDeclarationIfTypeOnly(t,r,n,i){if(!t)return false;var a=getSymbolOfNode(t);if(e.isTypeOnlyImportOrExportDeclaration(t)){var o=getSymbolLinks(a);o.typeOnlyDeclaration=t;return true}var s=getSymbolLinks(a);return markSymbolOfAliasDeclarationIfTypeOnlyWorker(s,r,i)||markSymbolOfAliasDeclarationIfTypeOnlyWorker(s,n,i)}function markSymbolOfAliasDeclarationIfTypeOnlyWorker(t,r,n){var i,a,o;if(r&&(t.typeOnlyDeclaration===undefined||n&&t.typeOnlyDeclaration===false)){var s=(a=(i=r.exports)===null||i===void 0?void 0:i.get("export="))!==null&&a!==void 0?a:r;var c=s.declarations&&e.find(s.declarations,e.isTypeOnlyImportOrExportDeclaration);t.typeOnlyDeclaration=(o=c!==null&&c!==void 0?c:getSymbolLinks(s).typeOnlyDeclaration)!==null&&o!==void 0?o:false}return!!t.typeOnlyDeclaration}function getTypeOnlyAliasDeclaration(e){if(!(e.flags&2097152)){return undefined}var t=getSymbolLinks(e);return t.typeOnlyDeclaration||undefined}function markExportAsReferenced(e){var t=getSymbolOfNode(e);var r=resolveAlias(t);if(r){var n=r===oe||r.flags&111551&&!isConstEnumOrConstEnumOnlyModule(r)&&!getTypeOnlyAliasDeclaration(t);if(n){markAliasSymbolAsReferenced(t)}}}function markAliasSymbolAsReferenced(t){var r=getSymbolLinks(t);if(!r.referenced){r.referenced=true;var n=getDeclarationOfAliasSymbol(t);if(!n)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(n)){var i=resolveSymbol(t);if(i===oe||i.flags&111551){checkExpressionCached(n.moduleReference)}}}}function markConstEnumAliasAsReferenced(e){var t=getSymbolLinks(e);if(!t.constEnumReferenced){t.constEnumReferenced=true}}function getSymbolOfPartOfRightHandSideOfImportEquals(t,r){if(t.kind===75&&e.isRightSideOfQualifiedNameOrPropertyAccess(t)){t=t.parent}if(t.kind===75||t.parent.kind===153){return resolveEntityName(t,1920,false,r)}else{e.Debug.assert(t.parent.kind===253);return resolveEntityName(t,111551|788968|1920,false,r)}}function getFullyQualifiedName(e,t){return e.parent?getFullyQualifiedName(e.parent,t)+"."+symbolToString(e):symbolToString(e,t,undefined,16|4)}function resolveEntityName(t,r,n,i,a){if(e.nodeIsMissing(t)){return undefined}var o=1920|(e.isInJSFile(t)?r&111551:0);var s;if(t.kind===75){var c=r===o||e.nodeIsSynthesized(t)?e.Diagnostics.Cannot_find_namespace_0:getCannotFindNameDiagnosticForName(e.getFirstIdentifier(t));var l=e.isInJSFile(t)&&!e.nodeIsSynthesized(t)?resolveEntityNameFromAssignmentDeclaration(t,r):undefined;s=getMergedSymbol(resolveName(a||t,t.escapedText,r,n||l?undefined:c,t,true));if(!s){return getMergedSymbol(l)}}else if(t.kind===153||t.kind===194){var u=t.kind===153?t.left:t.expression;var d=t.kind===153?t.right:t.name;var p=resolveEntityName(u,o,n,false,a);if(!p||e.nodeIsMissing(d)){return undefined}else if(p===oe){return p}if(e.isInJSFile(t)){if(p.valueDeclaration&&e.isVariableDeclaration(p.valueDeclaration)&&p.valueDeclaration.initializer&&isCommonJsRequire(p.valueDeclaration.initializer)){var f=p.valueDeclaration.initializer.arguments[0];var g=resolveExternalModuleName(f,f);if(g){var m=resolveExternalModuleSymbol(g);if(m){p=m}}}}s=getMergedSymbol(getSymbol(getExportsOfSymbol(p),d.escapedText,r));if(!s){if(!n){error(d,e.Diagnostics.Namespace_0_has_no_exported_member_1,getFullyQualifiedName(p),e.declarationNameToString(d))}return undefined}}else{throw e.Debug.assertNever(t,"Unknown entity name kind.")}e.Debug.assert((e.getCheckFlags(s)&1)===0,"Should never get an instantiated symbol here.");if(!e.nodeIsSynthesized(t)&&e.isEntityName(t)&&(s.flags&2097152||t.parent.kind===259)){markSymbolOfAliasDeclarationIfTypeOnly(e.getAliasDeclarationFromName(t),s,undefined,true)}return s.flags&r||i?s:resolveAlias(s)}function resolveEntityNameFromAssignmentDeclaration(e,t){if(isJSDocTypeReference(e.parent)){var r=getAssignmentDeclarationLocation(e.parent);if(r){return resolveName(r,e.escapedText,t,undefined,e,true)}}}function getAssignmentDeclarationLocation(t){var r=e.findAncestor(t,(function(t){return!(e.isJSDocNode(t)||t.flags&4194304)?"quit":e.isJSDocTypeAlias(t)}));if(r){return}var n=e.getJSDocHost(t);if(e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&e.getAssignmentDeclarationKind(n.expression)===3){var i=getSymbolOfNode(n.expression.left);if(i){return getDeclarationOfJSPrototypeContainer(i)}}if((e.isObjectLiteralMethod(n)||e.isPropertyAssignment(n))&&e.isBinaryExpression(n.parent.parent)&&e.getAssignmentDeclarationKind(n.parent.parent)===6){var i=getSymbolOfNode(n.parent.parent.left);if(i){return getDeclarationOfJSPrototypeContainer(i)}}var a=e.getEffectiveJSDocHost(t);if(a&&e.isFunctionLike(a)){var i=getSymbolOfNode(a);return i&&i.valueDeclaration}}function getDeclarationOfJSPrototypeContainer(t){var r=t.parent.valueDeclaration;if(!r){return undefined}var n=e.isAssignmentDeclaration(r)?e.getAssignedExpandoInitializer(r):e.hasOnlyExpressionInitializer(r)?e.getDeclaredExpandoInitializer(r):undefined;return n||r}function getExpandoSymbol(t){var r=t.valueDeclaration;if(!r||!e.isInJSFile(r)||t.flags&524288||e.getExpandoInitializer(r,false)){return undefined}var n=e.isVariableDeclaration(r)?e.getDeclaredExpandoInitializer(r):e.getAssignedExpandoInitializer(r);if(n){var i=getSymbolOfNode(n);if(i){return mergeJSSymbols(i,t)}}}function resolveExternalModuleName(t,r,n){return resolveExternalModuleNameWorker(t,r,n?undefined:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations)}function resolveExternalModuleNameWorker(t,r,n,i){if(i===void 0){i=false}return e.isStringLiteralLike(r)?resolveExternalModule(t,r.text,n,r,i):undefined}function resolveExternalModule(t,r,n,i,a){if(a===void 0){a=false}if(e.startsWith(r,"@types/")){var s=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;var c=e.removePrefix(r,"@types/");error(i,s,c,r)}var l=tryFindAmbientModule(r,true);if(l){return l}var u=e.getSourceFileOfNode(t);var d=e.getResolvedModule(u,r);var p=d&&e.getResolutionDiagnostic(P,d);var f=d&&!p&&o.getSourceFile(d.resolvedFileName);if(f){if(f.symbol){if(d.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(d.extension)){errorOnImplicitAnyModule(false,i,d,r)}return getMergedSymbol(f.symbol)}if(n){error(i,e.Diagnostics.File_0_is_not_a_module,f.fileName)}return undefined}if(_t){var g=e.findBestPatternMatch(_t,(function(e){return e.pattern}),r);if(g){var m=yt&&yt.get(r);if(m){return getMergedSymbol(m)}return getMergedSymbol(g.symbol)}}if(d&&!e.resolutionExtensionIsTSOrJson(d.extension)&&p===undefined||p===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(a){var s=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;error(i,s,r,d.resolvedFileName)}else{errorOnImplicitAnyModule(j&&!!n,i,d,r)}return undefined}if(n){if(d){var _=o.getProjectReferenceRedirect(d.resolvedFileName);if(_){error(i,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,_,d.resolvedFileName);return undefined}}if(p){error(i,p,r,d.resolvedFileName)}else{var y=e.tryExtractTSExtension(r);if(y){var s=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;error(i,s,y,e.removeExtension(r,y))}else if(!P.resolveJsonModule&&e.fileExtensionIs(r,".json")&&e.getEmitModuleResolutionKind(P)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(P)){error(i,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,r)}else{error(i,n,r)}}}return undefined}function errorOnImplicitAnyModule(t,r,n,i){var a=n.packageId,o=n.resolvedFileName;var s=!e.isExternalModuleNameRelative(i)&&a?typesPackageExists(a.name)?e.chainDiagnosticMessages(undefined,e.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,a.name,e.mangleScopedPackageName(a.name)):e.chainDiagnosticMessages(undefined,e.Diagnostics.Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,i,e.mangleScopedPackageName(a.name)):undefined;errorOrSuggestion(t,r,e.chainDiagnosticMessages(s,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,i,o))}function typesPackageExists(t){return u().has(e.getTypesPackageName(t))}function resolveExternalModuleSymbol(e,t){if(e===null||e===void 0?void 0:e.exports){var r=resolveSymbol(e.exports.get("export="),t);var n=getCommonJsExportEquals(getMergedSymbol(r),getMergedSymbol(e));return getMergedSymbol(n)||e}return undefined}function getCommonJsExportEquals(t,r){if(!t||t===oe||t===r||r.exports.size===1||t.flags&2097152){return t}var n=getSymbolLinks(t);if(n.cjsExportMerged){return n.cjsExportMerged}var i=t.flags&33554432?t:cloneSymbol(t);i.flags=i.flags|512;if(i.exports===undefined){i.exports=e.createSymbolTable()}r.exports.forEach((function(e,t){if(t==="export=")return;i.exports.set(t,i.exports.has(t)?mergeSymbol(i.exports.get(t),e):e)}));getSymbolLinks(i).cjsExportMerged=i;return n.cjsExportMerged=i}function resolveESModuleSymbol(t,r,n,i){var a=resolveExternalModuleSymbol(t,n);if(!n&&a){if(!i&&!(a.flags&(1536|3))&&!e.getDeclarationOfKind(a,290)){var o=I>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";error(r,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,o);return a}if(P.esModuleInterop){var s=r.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var c=getTypeOfSymbol(a);var l=getSignaturesOfStructuredType(c,0);if(!l||!l.length){l=getSignaturesOfStructuredType(c,1)}if(l&&l.length){var u=getTypeWithSyntheticDefaultImportType(c,a,t);var d=createSymbol(a.flags,a.escapedName);d.declarations=a.declarations?a.declarations.slice():[];d.parent=a.parent;d.target=a;d.originatingImport=s;if(a.valueDeclaration)d.valueDeclaration=a.valueDeclaration;if(a.constEnumOnlyModule)d.constEnumOnlyModule=true;if(a.members)d.members=e.cloneMap(a.members);if(a.exports)d.exports=e.cloneMap(a.exports);var p=resolveStructuredTypeMembers(u);d.type=createAnonymousType(d,p.members,e.emptyArray,e.emptyArray,p.stringIndexInfo,p.numberIndexInfo);return d}}}}return a}function hasExportAssignmentSymbol(e){return e.exports.get("export=")!==undefined}function getExportsOfModuleAsArray(e){return symbolsToArray(getExportsOfModule(e))}function getExportsAndPropertiesOfModule(t){var r=getExportsOfModuleAsArray(t);var n=resolveExternalModuleSymbol(t);if(n!==t){e.addRange(r,getPropertiesOfType(getTypeOfSymbol(n)))}return r}function tryGetMemberInModuleExports(e,t){var r=getExportsOfModule(t);if(r){return r.get(e)}}function tryGetMemberInModuleExportsAndProperties(t,r){var n=tryGetMemberInModuleExports(t,r);if(n){return n}var i=resolveExternalModuleSymbol(r);if(i===r){return undefined}var a=getTypeOfSymbol(i);return a.flags&131068||e.getObjectFlags(a)&1||isArrayOrTupleLikeType(a)?undefined:getPropertyOfType(a,t)}function getExportsOfSymbol(e){return e.flags&6256?getResolvedMembersOrExportsOfSymbol(e,"resolvedExports"):e.flags&1536?getExportsOfModule(e):e.exports||A}function getExportsOfModule(e){var t=getSymbolLinks(e);return t.resolvedExports||(t.resolvedExports=getExportsOfModuleWorker(e))}function extendExportSymbols(t,r,n,i){if(!r)return;r.forEach((function(r,a){if(a==="default")return;var o=t.get(a);if(!o){t.set(a,r);if(n&&i){n.set(a,{specifierText:e.getTextOfNode(i.moduleSpecifier)})}}else if(n&&i&&o&&resolveSymbol(o)!==resolveSymbol(r)){var s=n.get(a);if(!s.exportsWithDuplicate){s.exportsWithDuplicate=[i]}else{s.exportsWithDuplicate.push(i)}}}))}function getExportsOfModuleWorker(t){var r=[];t=resolveExternalModuleSymbol(t);return visit(t)||A;function visit(t){if(!(t&&t.exports&&e.pushIfUnique(r,t))){return}var n=e.cloneMap(t.exports);var i=t.exports.get("__export");if(i){var a=e.createSymbolTable();var o=e.createMap();for(var s=0,c=i.declarations;s=d){return u.substr(0,d-"...".length)+"..."}return u}function getTypeNamesForErrorDisplay(e,t){var r=symbolValueDeclarationIsContextSensitive(e.symbol)?typeToString(e,e.symbol.valueDeclaration):typeToString(e);var n=symbolValueDeclarationIsContextSensitive(t.symbol)?typeToString(t,t.symbol.valueDeclaration):typeToString(t);if(r===n){r=typeToString(e,undefined,64);n=typeToString(t,undefined,64)}return[r,n]}function symbolValueDeclarationIsContextSensitive(t){return t&&t.valueDeclaration&&e.isExpression(t.valueDeclaration)&&!isContextSensitive(t.valueDeclaration)}function toNodeBuilderFlags(e){if(e===void 0){e=0}return e&814775659}function createNodeBuilder(){return{typeToTypeNode:function(e,t,r,n){return withContext(t,r,n,(function(t){return typeToTypeNodeHelper(e,t)}))},indexInfoToIndexSignatureDeclaration:function(e,t,r,n,i){return withContext(r,n,i,(function(r){return indexInfoToIndexSignatureDeclarationHelper(e,t,r)}))},signatureToSignatureDeclaration:function(e,t,r,n,i){return withContext(r,n,i,(function(r){return signatureToSignatureDeclarationHelper(e,t,r)}))},symbolToEntityName:function(e,t,r,n,i){return withContext(r,n,i,(function(r){return symbolToName(e,r,t,false)}))},symbolToExpression:function(e,t,r,n,i){return withContext(r,n,i,(function(r){return symbolToExpression(e,r,t)}))},symbolToTypeParameterDeclarations:function(e,t,r,n){return withContext(t,r,n,(function(t){return typeParametersToTypeParameterDeclarations(e,t)}))},symbolToParameterDeclaration:function(e,t,r,n){return withContext(t,r,n,(function(t){return symbolToParameterDeclaration(e,t)}))},typeParameterToDeclaration:function(e,t,r,n){return withContext(t,r,n,(function(t){return typeParameterToDeclaration(e,t)}))},symbolTableToDeclarationStatements:function(e,t,r,n,i){return withContext(t,r,n,(function(t){return symbolTableToDeclarationStatements(e,t,i)}))}};function withContext(t,r,n,i){e.Debug.assert(t===undefined||(t.flags&8)===0);var a={enclosingDeclaration:t,flags:r||0,tracker:n&&n.trackSymbol?n:{trackSymbol:e.noop,moduleResolverHost:r&134217728?{getCommonSourceDirectory:!!o.getCommonSourceDirectory?function(){return o.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return o.getSourceFiles()},getCurrentDirectory:function(){return o.getCurrentDirectory()},getProbableSymlinks:e.maybeBind(o,o.getProbableSymlinks),useCaseSensitiveFileNames:e.maybeBind(o,o.useCaseSensitiveFileNames),redirectTargetsMap:o.redirectTargetsMap,getProjectReferenceRedirect:function(e){return o.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return o.isSourceOfProjectReferenceRedirect(e)},fileExists:function(e){return o.fileExists(e)}}:undefined},encounteredError:false,visitedTypes:undefined,symbolDepth:undefined,inferTypeParameters:undefined,approximateLength:0};var s=i(a);return a.encounteredError?undefined:s}function checkTruncationLength(t){if(t.truncating)return t.truncating;return t.truncating=t.approximateLength>(t.flags&1?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function typeToTypeNodeHelper(t,r){if(d&&d.throwIfCancellationRequested){d.throwIfCancellationRequested()}var n=r.flags&8388608;r.flags&=~8388608;if(!t){if(!(r.flags&262144)){r.encounteredError=true;return undefined}r.approximateLength+=3;return e.createKeywordTypeNode(125)}if(!(r.flags&536870912)){t=getReducedType(t)}if(t.flags&1){r.approximateLength+=3;return e.createKeywordTypeNode(125)}if(t.flags&2){return e.createKeywordTypeNode(148)}if(t.flags&4){r.approximateLength+=6;return e.createKeywordTypeNode(143)}if(t.flags&8){r.approximateLength+=6;return e.createKeywordTypeNode(140)}if(t.flags&64){r.approximateLength+=6;return e.createKeywordTypeNode(151)}if(t.flags&16){r.approximateLength+=7;return e.createKeywordTypeNode(128)}if(t.flags&1024&&!(t.flags&1048576)){var i=getParentOfSymbol(t.symbol);var a=symbolToTypeNode(i,r,788968);var o=getDeclaredTypeOfSymbol(i)===t?a:appendReferenceToType(a,e.createTypeReferenceNode(e.symbolName(t.symbol),undefined));return o}if(t.flags&1056){return symbolToTypeNode(t.symbol,r,788968)}if(t.flags&128){r.approximateLength+=t.value.length+2;return e.createLiteralTypeNode(e.setEmitFlags(e.createLiteral(t.value,!!(r.flags&268435456)),16777216))}if(t.flags&256){var s=t.value;r.approximateLength+=(""+s).length;return e.createLiteralTypeNode(s<0?e.createPrefix(40,e.createLiteral(-s)):e.createLiteral(s))}if(t.flags&2048){r.approximateLength+=e.pseudoBigIntToString(t.value).length+1;return e.createLiteralTypeNode(e.createLiteral(t.value))}if(t.flags&512){r.approximateLength+=t.intrinsicName.length;return t.intrinsicName==="true"?e.createTrue():e.createFalse()}if(t.flags&8192){if(!(r.flags&1048576)){if(isValueSymbolAccessible(t.symbol,r.enclosingDeclaration)){r.approximateLength+=6;return symbolToTypeNode(t.symbol,r,111551)}if(r.tracker.reportInaccessibleUniqueSymbolError){r.tracker.reportInaccessibleUniqueSymbolError()}}r.approximateLength+=13;return e.createTypeOperatorNode(147,e.createKeywordTypeNode(144))}if(t.flags&16384){r.approximateLength+=4;return e.createKeywordTypeNode(110)}if(t.flags&32768){r.approximateLength+=9;return e.createKeywordTypeNode(146)}if(t.flags&65536){r.approximateLength+=4;return e.createKeywordTypeNode(100)}if(t.flags&131072){r.approximateLength+=5;return e.createKeywordTypeNode(137)}if(t.flags&4096){r.approximateLength+=6;return e.createKeywordTypeNode(144)}if(t.flags&67108864){r.approximateLength+=6;return e.createKeywordTypeNode(141)}if(isThisTypeParameter(t)){if(r.flags&4194304){if(!r.encounteredError&&!(r.flags&32768)){r.encounteredError=true}if(r.tracker.reportInaccessibleThisError){r.tracker.reportInaccessibleThisError()}}r.approximateLength+=4;return e.createThis()}if(!n&&t.aliasSymbol&&(r.flags&16384||isTypeSymbolAccessible(t.aliasSymbol,r.enclosingDeclaration))){var c=mapToTypeNodes(t.aliasTypeArguments,r);if(isReservedMemberName(t.aliasSymbol.escapedName)&&!(t.aliasSymbol.flags&32))return e.createTypeReferenceNode(e.createIdentifier(""),c);return symbolToTypeNode(t.aliasSymbol,r,788968,c)}var l=e.getObjectFlags(t);if(l&4){e.Debug.assert(!!(t.flags&524288));return t.node?visitAndTransformType(t,typeReferenceToTypeNode):typeReferenceToTypeNode(t)}if(t.flags&262144||l&3){if(t.flags&262144&&e.contains(r.inferTypeParameters,t)){r.approximateLength+=e.symbolName(t.symbol).length+6;return e.createInferTypeNode(typeParameterToDeclarationWithConstraint(t,r,undefined))}if(r.flags&4&&t.flags&262144&&!isTypeSymbolAccessible(t.symbol,r.enclosingDeclaration)){var u=typeParameterToName(t,r);r.approximateLength+=e.idText(u).length;return e.createTypeReferenceNode(e.createIdentifier(e.idText(u)),undefined)}return t.symbol?symbolToTypeNode(t.symbol,r,788968):e.createTypeReferenceNode(e.createIdentifier("?"),undefined)}if(t.flags&(1048576|2097152)){var p=t.flags&1048576?formatUnionTypes(t.types):t.types;if(e.length(p)===1){return typeToTypeNodeHelper(p[0],r)}var f=mapToTypeNodes(p,r,true);if(f&&f.length>0){var g=e.createUnionOrIntersectionTypeNode(t.flags&1048576?178:179,f);return g}else{if(!r.encounteredError&&!(r.flags&262144)){r.encounteredError=true}return undefined}}if(l&(16|32)){e.Debug.assert(!!(t.flags&524288));return createAnonymousTypeNode(t)}if(t.flags&4194304){var m=t.type;r.approximateLength+=6;var _=typeToTypeNodeHelper(m,r);return e.createTypeOperatorNode(_)}if(t.flags&8388608){var y=typeToTypeNodeHelper(t.objectType,r);var _=typeToTypeNodeHelper(t.indexType,r);r.approximateLength+=2;return e.createIndexedAccessTypeNode(y,_)}if(t.flags&16777216){var h=typeToTypeNodeHelper(t.checkType,r);var v=r.inferTypeParameters;r.inferTypeParameters=t.root.inferTypeParameters;var T=typeToTypeNodeHelper(t.extendsType,r);r.inferTypeParameters=v;var b=typeToTypeNodeOrCircularityElision(getTrueTypeFromConditionalType(t));var S=typeToTypeNodeOrCircularityElision(getFalseTypeFromConditionalType(t));r.approximateLength+=15;return e.createConditionalTypeNode(h,T,b,S)}if(t.flags&33554432){return typeToTypeNodeHelper(t.baseType,r)}return e.Debug.fail("Should be unreachable.");function typeToTypeNodeOrCircularityElision(e){var t,n;if(e.flags&1048576){if(r.visitedTypes&&r.visitedTypes.has(""+getTypeId(e))){if(!(r.flags&131072)){r.encounteredError=true;(n=(t=r.tracker)===null||t===void 0?void 0:t.reportCyclicStructureError)===null||n===void 0?void 0:n.call(t)}return createElidedInformationPlaceholder(r)}return visitAndTransformType(e,(function(e){return typeToTypeNodeHelper(e,r)}))}return typeToTypeNodeHelper(e,r)}function createMappedTypeNodeFromType(t){e.Debug.assert(!!(t.flags&524288));var n=t.declaration.readonlyToken?e.createToken(t.declaration.readonlyToken.kind):undefined;var i=t.declaration.questionToken?e.createToken(t.declaration.questionToken.kind):undefined;var a;if(isMappedTypeWithKeyofConstraintDeclaration(t)){a=e.createTypeOperatorNode(typeToTypeNodeHelper(getModifiersTypeFromMappedType(t),r))}else{a=typeToTypeNodeHelper(getConstraintTypeFromMappedType(t),r)}var o=typeParameterToDeclarationWithConstraint(getTypeParameterFromMappedType(t),r,a);var s=typeToTypeNodeHelper(getTemplateTypeFromMappedType(t),r);var c=e.createMappedTypeNode(n,o,i,s);r.approximateLength+=10;return e.setEmitFlags(c,1)}function createAnonymousTypeNode(t){var n=""+t.id;var i=t.symbol;if(i){if(isJSConstructor(i.valueDeclaration)){var a=t===getDeclaredTypeOfClassOrInterface(i)?788968:111551;return symbolToTypeNode(i,r,a)}else if(i.flags&32&&!getBaseTypeVariableOfClass(i)&&!(i.valueDeclaration.kind===214&&r.flags&2048)||i.flags&(384|512)||shouldWriteTypeOfFunctionSymbol()){return symbolToTypeNode(i,r,111551)}else if(r.visitedTypes&&r.visitedTypes.has(n)){var o=getTypeAliasForTypeLiteral(t);if(o){return symbolToTypeNode(o,r,788968)}else{return createElidedInformationPlaceholder(r)}}else{return visitAndTransformType(t,createTypeNodeFromObjectType)}}else{return createTypeNodeFromObjectType(t)}function shouldWriteTypeOfFunctionSymbol(){var t=!!(i.flags&8192)&&e.some(i.declarations,(function(t){return e.hasModifier(t,32)}));var a=!!(i.flags&16)&&(i.parent||e.forEach(i.declarations,(function(e){return e.parent.kind===290||e.parent.kind===250})));if(t||a){return(!!(r.flags&4096)||r.visitedTypes&&r.visitedTypes.has(n))&&(!(r.flags&8)||isValueSymbolAccessible(i,r.enclosingDeclaration))}}}function visitAndTransformType(t,n){var i=""+t.id;var a=e.getObjectFlags(t)&16&&t.symbol&&t.symbol.flags&32;var o=e.getObjectFlags(t)&4&&t.node?"N"+getNodeId(t.node):t.symbol?(a?"+":"")+getSymbolId(t.symbol):undefined;if(!r.visitedTypes){r.visitedTypes=e.createMap()}if(o&&!r.symbolDepth){r.symbolDepth=e.createMap()}var s;if(o){s=r.symbolDepth.get(o)||0;if(s>10){return createElidedInformationPlaceholder(r)}r.symbolDepth.set(o,s+1)}r.visitedTypes.set(i,true);var c=n(t);r.visitedTypes.delete(i);if(o){r.symbolDepth.set(o,s)}return c}function createTypeNodeFromObjectType(t){if(isGenericMappedType(t)){return createMappedTypeNodeFromType(t)}var n=resolveStructuredTypeMembers(t);if(!n.properties.length&&!n.stringIndexInfo&&!n.numberIndexInfo){if(!n.callSignatures.length&&!n.constructSignatures.length){r.approximateLength+=2;return e.setEmitFlags(e.createTypeLiteralNode(undefined),1)}if(n.callSignatures.length===1&&!n.constructSignatures.length){var i=n.callSignatures[0];var a=signatureToSignatureDeclarationHelper(i,170,r);return a}if(n.constructSignatures.length===1&&!n.callSignatures.length){var i=n.constructSignatures[0];var a=signatureToSignatureDeclarationHelper(i,171,r);return a}}var o=r.flags;r.flags|=4194304;var s=createTypeNodesFromResolvedType(n);r.flags=o;var c=e.createTypeLiteralNode(s);r.approximateLength+=2;return e.setEmitFlags(c,r.flags&1024?0:1)}function typeReferenceToTypeNode(t){var n=getTypeArguments(t);if(t.target===St||t.target===xt){if(r.flags&2){var i=typeToTypeNodeHelper(n[0],r);return e.createTypeReferenceNode(t.target===St?"Array":"ReadonlyArray",[i])}var a=typeToTypeNodeHelper(n[0],r);var o=e.createArrayTypeNode(a);return t.target===St?o:e.createTypeOperatorNode(138,o)}else if(t.target.objectFlags&8){if(n.length>0){var s=getTypeReferenceArity(t);var c=mapToTypeNodes(n.slice(0,s),r);var l=t.target.hasRestElement;if(c){for(var u=t.target.minLength;u0){var b=(t.target.typeParameters||e.emptyArray).length;T=mapToTypeNodes(n.slice(u,b),r)}var S=r.flags;r.flags|=16;var x=symbolToTypeNode(t.symbol,r,788968,T);r.flags=S;return!f?x:appendReferenceToType(f,x)}}function appendReferenceToType(t,r){if(e.isImportTypeNode(t)){var n=t.typeArguments;if(t.qualifier){(e.isIdentifier(t.qualifier)?t.qualifier:t.qualifier.right).typeArguments=n}t.typeArguments=r.typeArguments;var i=getAccessStack(r);for(var a=0,o=i;a2){return[typeToTypeNodeHelper(t[0],r),e.createTypeReferenceNode("... "+(t.length-2)+" more ...",undefined),typeToTypeNodeHelper(t[t.length-1],r)]}}var i=!(r.flags&64);var a=i?e.createUnderscoreEscapedMultiMap():undefined;var o=[];var s=0;for(var c=0,l=t;c0)}else{a=[t]}return a;function getSymbolChain(t,n,a){var o=getAccessibleSymbolChain(t,r.enclosingDeclaration,n,!!(r.flags&128));var s;if(!o||needsQualification(o[0],r.enclosingDeclaration,o.length===1?n:getQualifiedLeftMeaning(n))){var c=getContainersOfSymbol(o?o[0]:t,r.enclosingDeclaration);if(e.length(c)){s=c.map((function(t){return e.some(t.declarations,hasNonGlobalAugmentationExternalModuleSymbol)?getSpecifierForModuleSymbol(t,r):undefined}));var l=c.map((function(e,t){return t}));l.sort(sortByBestName);var u=l.map((function(e){return c[e]}));for(var d=0,p=u;d1?createAccessFromSymbolChain(a,a.length-1,1):undefined;var c=i||lookupTypeParameterNodes(a,0,r);var l=getSpecifierForModuleSymbol(a[0],r);if(!(r.flags&67108864)&&e.getEmitModuleResolutionKind(P)===e.ModuleResolutionKind.NodeJs&&l.indexOf("/node_modules/")>=0){r.encounteredError=true;if(r.tracker.reportLikelyUnsafeImportRequiredError){r.tracker.reportLikelyUnsafeImportRequiredError(l)}}var u=e.createLiteralTypeNode(e.createLiteral(l));if(r.tracker.trackExternalModuleSymbolOfImportTypeNode)r.tracker.trackExternalModuleSymbolOfImportTypeNode(a[0]);r.approximateLength+=l.length+10;if(!s||e.isEntityName(s)){if(s){var d=e.isIdentifier(s)?s:s.right;d.typeArguments=undefined}return e.createImportTypeNode(u,s,c,o)}else{var p=getTopmostIndexedAccessType(s);var f=p.objectType.typeName;return e.createIndexedAccessTypeNode(e.createImportTypeNode(u,f,c,o),p.indexType)}}var g=createAccessFromSymbolChain(a,a.length-1,0);if(e.isIndexedAccessTypeNode(g)){return g}if(o){return e.createTypeQueryNode(g)}else{var d=e.isIdentifier(g)?g:g.right;var m=d.typeArguments;d.typeArguments=undefined;return e.createTypeReferenceNode(g,m)}function createAccessFromSymbolChain(t,n,a){var o=n===t.length-1?i:lookupTypeParameterNodes(t,n,r);var s=t[n];var c=t[n-1];var l;if(n===0){r.flags|=16777216;l=getNameOfSymbolAsWritten(s,r);r.approximateLength+=(l?l.length:0)+1;r.flags^=16777216}else{if(c&&getExportsOfSymbol(c)){var u=getExportsOfSymbol(c);e.forEachEntry(u,(function(t,r){if(getSymbolIfSameReference(t,s)&&!isLateBoundName(r)&&r!=="export="){l=e.unescapeLeadingUnderscores(r);return true}}))}}if(!l){l=getNameOfSymbolAsWritten(s,r)}r.approximateLength+=l.length+1;if(!(r.flags&16)&&c&&getMembersOfSymbol(c)&&getMembersOfSymbol(c).get(s.escapedName)&&getSymbolIfSameReference(getMembersOfSymbol(c).get(s.escapedName),s)){var d=createAccessFromSymbolChain(t,n-1,a);if(e.isIndexedAccessTypeNode(d)){return e.createIndexedAccessTypeNode(d,e.createLiteralTypeNode(e.createLiteral(l)))}else{return e.createIndexedAccessTypeNode(e.createTypeReferenceNode(d,o),e.createLiteralTypeNode(e.createLiteral(l)))}}var p=e.setEmitFlags(e.createIdentifier(l,o),16777216);p.symbol=s;if(n>a){var d=createAccessFromSymbolChain(t,n-1,a);if(!e.isEntityName(d)){return e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return e.createQualifiedName(d,p)}return p}}function typeParameterShadowsNameInScope(e,t,r){var n=resolveName(t.enclosingDeclaration,e,788968,undefined,e,false);if(n){if(n.flags&262144&&n===r.symbol){return false}return true}return false}function typeParameterToName(t,r){if(r.flags&4&&r.typeParameterNames){var n=r.typeParameterNames.get(""+getTypeId(t));if(n){return n}}var i=symbolToName(t.symbol,r,788968,true);if(!(i.kind&75)){return e.createIdentifier("(Missing type parameter)")}if(r.flags&4){var a=i.escapedText;var o=0;var s=a;while(r.typeParameterNamesByText&&r.typeParameterNamesByText.get(s)||typeParameterShadowsNameInScope(s,r,t)){o++;s=a+"_"+o}if(s!==a){i=e.createIdentifier(s,i.typeArguments)}(r.typeParameterNames||(r.typeParameterNames=e.createMap())).set(""+getTypeId(t),i);(r.typeParameterNamesByText||(r.typeParameterNamesByText=e.createMap())).set(i.escapedText,true)}return i}function symbolToName(t,r,n,i){var a=lookupSymbolChain(t,r,n);if(i&&a.length!==1&&!r.encounteredError&&!(r.flags&65536)){r.encounteredError=true}return createEntityNameFromSymbolChain(a,a.length-1);function createEntityNameFromSymbolChain(t,n){var i=lookupTypeParameterNodes(t,n,r);var a=t[n];if(n===0){r.flags|=16777216}var o=getNameOfSymbolAsWritten(a,r);if(n===0){r.flags^=16777216}var s=e.setEmitFlags(e.createIdentifier(o,i),16777216);s.symbol=a;return n>0?e.createQualifiedName(createEntityNameFromSymbolChain(t,n-1),s):s}}function symbolToExpression(t,r,n){var i=lookupSymbolChain(t,r,n);return createExpressionFromSymbolChain(i,i.length-1);function createExpressionFromSymbolChain(t,n){var i=lookupTypeParameterNodes(t,n,r);var a=t[n];if(n===0){r.flags|=16777216}var o=getNameOfSymbolAsWritten(a,r);if(n===0){r.flags^=16777216}var s=o.charCodeAt(0);if(e.isSingleOrDoubleQuote(s)&&e.some(a.declarations,hasNonGlobalAugmentationExternalModuleSymbol)){return e.createLiteral(getSpecifierForModuleSymbol(a,r))}var c=s===35?o.length>1&&e.isIdentifierStart(o.charCodeAt(1),O):e.isIdentifierStart(s,O);if(n===0||c){var l=e.setEmitFlags(e.createIdentifier(o,i),16777216);l.symbol=a;return n>0?e.createPropertyAccess(createExpressionFromSymbolChain(t,n-1),l):l}else{if(s===91){o=o.substring(1,o.length-1);s=o.charCodeAt(0)}var u=void 0;if(e.isSingleOrDoubleQuote(s)){u=e.createLiteral(o.substring(1,o.length-1).replace(/\\./g,(function(e){return e.substring(1)})));u.singleQuote=s===39}else if(""+ +o===o){u=e.createLiteral(+o)}if(!u){u=e.setEmitFlags(e.createIdentifier(o,i),16777216);u.symbol=a}return e.createElementAccess(createExpressionFromSymbolChain(t,n-1),u)}}}function isSingleQuotedStringNamed(t){var r=e.getNameOfDeclaration(t);if(r&&e.isStringLiteral(r)&&(r.singleQuote||!e.nodeIsSynthesized(r)&&e.startsWith(e.getTextOfNode(r,false),"'"))){return true}return false}function getPropertyNameNodeForSymbol(t,r){var n=!!e.length(t.declarations)&&e.every(t.declarations,isSingleQuotedStringNamed);var i=getPropertyNameNodeForSymbolFromNameType(t,r,n);if(i){return i}if(e.isKnownSymbol(t)){return e.createComputedPropertyName(e.createPropertyAccess(e.createIdentifier("Symbol"),t.escapedName.substr(3)))}var a=e.unescapeLeadingUnderscores(t.escapedName);return createPropertyNameNodeForIdentifierOrLiteral(a,n)}function getPropertyNameNodeForSymbolFromNameType(t,r,n){var i=getSymbolLinks(t).nameType;if(i){if(i.flags&384){var a=""+i.value;if(!e.isIdentifierText(a,P.target)&&!isNumericLiteralName(a)){return e.createLiteral(a,!!n)}if(isNumericLiteralName(a)&&e.startsWith(a,"-")){return e.createComputedPropertyName(e.createLiteral(+a))}return createPropertyNameNodeForIdentifierOrLiteral(a)}if(i.flags&8192){return e.createComputedPropertyName(symbolToExpression(i.symbol,r,111551))}}}function createPropertyNameNodeForIdentifierOrLiteral(t,r){return e.isIdentifierText(t,P.target)?e.createIdentifier(t):e.createLiteral(isNumericLiteralName(t)&&+t>=0?+t:t,!!r)}function cloneNodeBuilderContext(t){var r=i({},t);if(r.typeParameterNames){r.typeParameterNames=e.cloneMap(r.typeParameterNames)}if(r.typeParameterNamesByText){r.typeParameterNamesByText=e.cloneMap(r.typeParameterNamesByText)}if(r.typeParameterSymbolList){r.typeParameterSymbolList=e.cloneMap(r.typeParameterSymbolList)}return r}function getDeclarationWithTypeAnnotation(t,r){return t.declarations&&e.find(t.declarations,(function(t){return!!e.getEffectiveTypeAnnotationNode(t)&&(!r||!!e.findAncestor(t,(function(e){return e===r})))}))}function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(t,r){return!(e.getObjectFlags(r)&4)||!e.isTypeReferenceNode(t)||e.length(t.typeArguments)>=getMinTypeArgumentCount(r.target.typeParameters)}function serializeTypeForDeclaration(t,r,n,i,a,o){if(r!==de&&i){var s=getDeclarationWithTypeAnnotation(n,i);if(s&&!e.isFunctionLikeDeclaration(s)){var c=e.getEffectiveTypeAnnotationNode(s);if(getTypeFromTypeNode(c)===r&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(c,r)){var l=serializeExistingTypeNode(t,c,a,o);if(l){return l}}}}var u=t.flags;if(r.flags&8192&&r.symbol===n){t.flags|=1048576}var d=typeToTypeNodeHelper(r,t);t.flags=u;return d}function serializeReturnTypeForSignature(t,r,n,i,a){if(r!==de&&t.enclosingDeclaration){var o=n.declaration&&e.getEffectiveReturnTypeNode(n.declaration);if(!!e.findAncestor(o,(function(e){return e===t.enclosingDeclaration}))&&o&&instantiateType(getTypeFromTypeNode(o),n.mapper)===r&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(o,r)){var s=serializeExistingTypeNode(t,o,i,a);if(s){return s}}}return typeToTypeNodeHelper(r,t)}function serializeExistingTypeNode(t,r,n,i){if(d&&d.throwIfCancellationRequested){d.throwIfCancellationRequested()}var a=false;var s=e.visitNode(r,visitExistingNodeTreeSymbols);if(a){return undefined}return s===r?e.getMutableClone(r):s;function visitExistingNodeTreeSymbols(r){var s,c;if(e.isJSDocAllType(r)||r.kind===302){return e.createKeywordTypeNode(125)}if(e.isJSDocUnknownType(r)){return e.createKeywordTypeNode(148)}if(e.isJSDocNullableType(r)){return e.createUnionTypeNode([e.visitNode(r.type,visitExistingNodeTreeSymbols),e.createKeywordTypeNode(100)])}if(e.isJSDocOptionalType(r)){return e.createUnionTypeNode([e.visitNode(r.type,visitExistingNodeTreeSymbols),e.createKeywordTypeNode(146)])}if(e.isJSDocNonNullableType(r)){return e.visitNode(r.type,visitExistingNodeTreeSymbols)}if(e.isJSDocVariadicType(r)){return e.createArrayTypeNode(e.visitNode(r.type,visitExistingNodeTreeSymbols))}if(e.isJSDocTypeLiteral(r)){return e.createTypeLiteralNode(e.map(r.jsDocPropertyTags,(function(n){var i=e.isIdentifier(n.name)?n.name:n.name.right;var a=getTypeOfPropertyOfType(getTypeFromTypeNode(r),i.escapedText);var o=a&&n.typeExpression&&getTypeFromTypeNode(n.typeExpression.type)!==a?typeToTypeNodeHelper(a,t):undefined;return e.createPropertySignature(undefined,i,n.typeExpression&&e.isJSDocOptionalType(n.typeExpression.type)?e.createToken(57):undefined,o||n.typeExpression&&e.visitNode(n.typeExpression.type,visitExistingNodeTreeSymbols)||e.createKeywordTypeNode(125),undefined)})))}if(e.isTypeReferenceNode(r)&&e.isIdentifier(r.typeName)&&r.typeName.escapedText===""){return e.setOriginalNode(e.createKeywordTypeNode(125),r)}if((e.isExpressionWithTypeArguments(r)||e.isTypeReferenceNode(r))&&e.isJSDocIndexSignature(r)){return e.createTypeLiteralNode([e.createIndexSignature(undefined,undefined,[e.createParameter(undefined,undefined,undefined,"x",undefined,e.visitNode(r.typeArguments[0],visitExistingNodeTreeSymbols))],e.visitNode(r.typeArguments[1],visitExistingNodeTreeSymbols))])}if(e.isJSDocFunctionType(r)){if(e.isJSDocConstructSignature(r)){var l;return e.createConstructorTypeNode(e.visitNodes(r.typeParameters,visitExistingNodeTreeSymbols),e.mapDefined(r.parameters,(function(t,r){return t.name&&e.isIdentifier(t.name)&&t.name.escapedText==="new"?(l=t.type,undefined):e.createParameter(undefined,undefined,getEffectiveDotDotDotForParameter(t),t.name||getEffectiveDotDotDotForParameter(t)?"args":"arg"+r,t.questionToken,e.visitNode(t.type,visitExistingNodeTreeSymbols),undefined)})),e.visitNode(l||r.type,visitExistingNodeTreeSymbols))}else{return e.createFunctionTypeNode(e.visitNodes(r.typeParameters,visitExistingNodeTreeSymbols),e.map(r.parameters,(function(t,r){return e.createParameter(undefined,undefined,getEffectiveDotDotDotForParameter(t),t.name||getEffectiveDotDotDotForParameter(t)?"args":"arg"+r,t.questionToken,e.visitNode(t.type,visitExistingNodeTreeSymbols),undefined)})),e.visitNode(r.type,visitExistingNodeTreeSymbols))}}if(e.isTypeReferenceNode(r)&&e.isInJSDoc(r)&&(getIntendedTypeFromJSDocTypeReference(r)||oe===resolveTypeReferenceName(getTypeReferenceName(r),788968,true))){return e.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(r),t),r)}if(e.isLiteralImportTypeNode(r)){return e.updateImportTypeNode(r,e.updateLiteralTypeNode(r.argument,rewriteModuleSpecifier(r,r.argument.literal)),r.qualifier,e.visitNodes(r.typeArguments,visitExistingNodeTreeSymbols,e.isTypeNode),r.isTypeOf)}if(e.isEntityName(r)||e.isEntityNameExpression(r)){var u=e.getFirstIdentifier(r);if(e.isInJSFile(r)&&(e.isExportsIdentifier(u)||e.isModuleExportsAccessExpression(u.parent)||e.isQualifiedName(u.parent)&&e.isModuleIdentifier(u.parent.left)&&e.isExportsIdentifier(u.parent.right))){a=true;return r}var d=resolveEntityName(u,67108863,true,true);if(d){if(isSymbolAccessible(d,t.enclosingDeclaration,67108863,false).accessibility!==0){a=true}else{(c=(s=t.tracker)===null||s===void 0?void 0:s.trackSymbol)===null||c===void 0?void 0:c.call(s,d,t.enclosingDeclaration,67108863);n===null||n===void 0?void 0:n(d)}if(e.isIdentifier(r)){var p=d.flags&262144?typeParameterToName(getDeclaredTypeOfSymbol(d),t):e.getMutableClone(r);p.symbol=d;return e.setEmitFlags(e.setOriginalNode(p,r),16777216)}}}return e.visitEachChild(r,visitExistingNodeTreeSymbols,e.nullTransformationContext);function getEffectiveDotDotDotForParameter(t){return t.dotDotDotToken||(t.type&&e.isJSDocVariadicType(t.type)?e.createToken(25):undefined)}function rewriteModuleSpecifier(r,n){if(i){if(t.tracker&&t.tracker.moduleResolverHost){var a=getExternalModuleFileFromDeclaration(r);if(a){var s=e.createGetCanonicalFileName(!!o.useCaseSensitiveFileNames);var c={getCanonicalFileName:s,getCurrentDirectory:function(){return t.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return t.tracker.moduleResolverHost.getCommonSourceDirectory()}};var l=e.getResolvedExternalModuleName(c,a);return e.createLiteral(l)}}}else{if(t.tracker&&t.tracker.trackExternalModuleSymbolOfImportTypeNode){var u=resolveExternalModuleNameWorker(n,n,undefined);if(u){t.tracker.trackExternalModuleSymbolOfImportTypeNode(u)}}}return n}}}function symbolTableToDeclarationStatements(t,r,a){var o=makeSerializePropertySymbol(e.createProperty,161,true);var s=makeSerializePropertySymbol((function(t,r,n,i,a,o){return e.createPropertySignature(r,n,i,a,o)}),160,false);var c=r.enclosingDeclaration;var l=[];var u=e.createMap();var d;var p=r;r=i(i({},p),{usedSymbolNames:e.createMap(),remappedSymbolNames:e.createMap(),tracker:i(i({},p.tracker),{trackSymbol:function(e,t,n){var i=isSymbolAccessible(e,t,n,false);if(i.accessibility===0){var a=lookupSymbolChainWorker(e,r,n);if(!(e.flags&4)){includePrivateSymbol(a[0])}}else if(p.tracker&&p.tracker.trackSymbol){p.tracker.trackSymbol(e,t,n)}}})});if(p.usedSymbolNames){p.usedSymbolNames.forEach((function(e,t){r.usedSymbolNames.set(t,true)}))}e.forEachEntry(t,(function(t,r){var n=e.unescapeLeadingUnderscores(r);void getInternalSymbolName(t,n)}));var f=!a;var g=t.get("export=");if(g&&t.size>1&&g.flags&2097152){t=e.createSymbolTable();t.set("export=",g)}visitSymbolTable(t);return mergeRedundantStatements(l);function isIdentifierAndNotUndefined(e){return!!e&&e.kind===75}function getNamesOfDeclaration(t){if(e.isVariableStatement(t)){return e.filter(e.map(t.declarationList.declarations,e.getNameOfDeclaration),isIdentifierAndNotUndefined)}return e.filter([e.getNameOfDeclaration(t)],isIdentifierAndNotUndefined)}function flattenExportAssignedNamespace(t){var r=e.find(t,e.isExportAssignment);var i=e.find(t,e.isModuleDeclaration);if(i&&r&&r.isExportEquals&&e.isIdentifier(r.expression)&&e.isIdentifier(i.name)&&e.idText(i.name)===e.idText(r.expression)&&i.body&&e.isModuleBlock(i.body)){var a=e.filter(t,(function(t){return!!(e.getModifierFlags(t)&1)}));if(e.length(a)){i.body.statements=e.createNodeArray(n(i.body.statements,[e.createExportDeclaration(undefined,undefined,e.createNamedExports(e.map(e.flatMap(a,(function(e){return getNamesOfDeclaration(e)})),(function(t){return e.createExportSpecifier(undefined,t)}))),undefined)]))}if(!e.find(t,(function(t){return t!==i&&e.nodeHasName(t,i.name)}))){l=[];e.forEach(i.body.statements,(function(e){addResult(e,0)}));t=n(e.filter(t,(function(e){return e!==i&&e!==r})),l)}}return t}function mergeExportDeclarations(t){var r=e.filter(t,(function(t){return e.isExportDeclaration(t)&&!t.moduleSpecifier&&!!t.exportClause&&e.isNamedExports(t.exportClause)}));if(e.length(r)>1){var i=e.filter(t,(function(t){return!e.isExportDeclaration(t)||!!t.moduleSpecifier||!t.exportClause}));t=n(i,[e.createExportDeclaration(undefined,undefined,e.createNamedExports(e.flatMap(r,(function(t){return e.cast(t.exportClause,e.isNamedExports).elements}))),undefined)])}var a=e.filter(t,(function(t){return e.isExportDeclaration(t)&&!!t.moduleSpecifier&&!!t.exportClause&&e.isNamedExports(t.exportClause)}));if(e.length(a)>1){var o=e.group(a,(function(t){return e.isStringLiteral(t.moduleSpecifier)?">"+t.moduleSpecifier.text:">"}));if(o.length!==a.length){var _loop_8=function(r){if(r.length>1){t=n(e.filter(t,(function(e){return r.indexOf(e)===-1})),[e.createExportDeclaration(undefined,undefined,e.createNamedExports(e.flatMap(r,(function(t){return e.cast(t.exportClause,e.isNamedExports).elements}))),r[0].moduleSpecifier)])}};for(var s=0,c=o;s0&&e.isSingleOrDoubleQuote(a.charCodeAt(0))?e.stripQuotes(a):a}if(n==="default"){n="_default"}else if(n==="export="){n="_exports"}n=e.isIdentifierText(n,O)&&!e.isStringANonContextualKeyword(n)?n:"_"+n.replace(/[^a-zA-Z0-9]/g,"_");return n}function getInternalSymbolName(e,t){if(r.remappedSymbolNames.has(""+getSymbolId(e))){return r.remappedSymbolNames.get(""+getSymbolId(e))}t=getNameCandidateWorker(e,t);r.remappedSymbolNames.set(""+getSymbolId(e),t);return t}}}function typePredicateToString(t,r,n,i){if(n===void 0){n=16384}return i?typePredicateToStringWorker(i).getText():e.usingSingleLineStringWriter(typePredicateToStringWorker);function typePredicateToStringWorker(i){var a=e.createTypePredicateNodeWithModifier(t.kind===2||t.kind===3?e.createToken(124):undefined,t.kind===1||t.kind===3?e.createIdentifier(t.parameterName):e.createThisTypeNode(),t.type&&z.typeToTypeNode(t.type,r,toNodeBuilderFlags(n)|70221824|512));var o=e.createPrinter({removeComments:true});var s=r&&e.getSourceFileOfNode(r);o.writeNode(4,a,s,i);return i}}function formatUnionTypes(e){var t=[];var r=0;for(var n=0;n=0){var n=gr.length;for(var i=r;i=0;r--){if(hasType(gr[r],_r[r])){return-1}if(gr[r]===e&&_r[r]===t){return r}}return-1}function hasType(t,r){switch(r){case 0:return!!getSymbolLinks(t).type;case 5:return!!getNodeLinks(t).resolvedEnumType;case 2:return!!getSymbolLinks(t).declaredType;case 1:return!!t.resolvedBaseConstructorType;case 3:return!!t.resolvedReturnType;case 4:return!!t.immediateBaseConstraint;case 6:return!!t.resolvedTypeArguments}return e.Debug.assertNever(r)}function popTypeResolution(){gr.pop();_r.pop();return mr.pop()}function getDeclarationContainer(t){return e.findAncestor(e.getRootDeclaration(t),(function(e){switch(e.kind){case 242:case 243:case 258:case 257:case 256:case 255:return false;default:return true}})).parent}function getTypeOfPrototypeProperty(t){var r=getDeclaredTypeOfSymbol(getParentOfSymbol(t));return r.typeParameters?createTypeReference(r,e.map(r.typeParameters,(function(e){return ce}))):r}function getTypeOfPropertyOfType(e,t){var r=getPropertyOfType(e,t);return r?getTypeOfSymbol(r):undefined}function getTypeOfPropertyOrIndexSignature(e,t){return getTypeOfPropertyOfType(e,t)||isNumericLiteralName(t)&&getIndexTypeOfType(e,1)||getIndexTypeOfType(e,0)||fe}function isTypeAny(e){return e&&(e.flags&1)!==0}function getTypeForBindingElementParent(e){var t=getSymbolOfNode(e);return t&&getSymbolLinks(t).type||getTypeForVariableLikeDeclaration(e,false)}function getRestType(t,r,n){t=filterType(t,(function(e){return!(e.flags&98304)}));if(t.flags&131072){return Je}if(t.flags&1048576){return mapType(t,(function(e){return getRestType(e,r,n)}))}var i=getUnionType(e.map(r,getLiteralTypeFromPropertyName));if(isGenericObjectType(t)||isGenericIndexType(i)){if(i.flags&131072){return t}var a=getGlobalOmitSymbol();if(!a){return de}return getTypeAliasInstantiation(a,[t,i])}var o=e.createSymbolTable();for(var s=0,c=getPropertiesOfType(t);s=2?createIterableType(ce):At}var s=e.map(i,(function(t){return e.isOmittedExpression(t)?ce:getTypeFromBindingElement(t,r,n)}));var c=e.findLastIndex(i,(function(t){return!e.isOmittedExpression(t)&&!hasDefaultValue(t)}),i.length-(o?2:1))+1;var l=createTupleType(s,c,o);if(r){l=cloneTypeReference(l);l.pattern=t;l.objectFlags|=1048576}return l}function getTypeFromBindingPattern(e,t,r){if(t===void 0){t=false}if(r===void 0){r=false}return e.kind===189?getTypeFromObjectBindingPattern(e,t,r):getTypeFromArrayBindingPattern(e,t,r)}function getWidenedTypeForVariableLikeDeclaration(e,t){return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(e,true),e,t)}function widenTypeForVariableLikeDeclaration(t,r,n){if(t){if(n){reportErrorsFromWidening(r,t)}if(t.flags&8192&&(e.isBindingElement(r)||!r.type)&&t.symbol!==getSymbolOfNode(r)){t=Ne}return getWidenedType(t)}t=e.isParameter(r)&&r.dotDotDotToken?At:ce;if(n){if(!declarationBelongsToPrivateAmbientMember(r)){reportImplicitAny(r,t)}}return t}function declarationBelongsToPrivateAmbientMember(t){var r=e.getRootDeclaration(t);var n=r.kind===156?r.parent:r;return isPrivateWithinAmbient(n)}function tryGetTypeFromEffectiveTypeNode(t){var r=e.getEffectiveTypeAnnotationNode(t);if(r){return getTypeFromTypeNode(r)}}function getTypeOfVariableOrParameterOrProperty(e){var t=getSymbolLinks(e);if(!t.type){var r=getTypeOfVariableOrParameterOrPropertyWorker(e);if(!t.type){t.type=r}}return t.type}function getTypeOfVariableOrParameterOrPropertyWorker(t){if(t.flags&4194304){return getTypeOfPrototypeProperty(t)}if(t===$){return ce}if(t.flags&134217728){var r=getSymbolOfNode(e.getSourceFileOfNode(t.valueDeclaration));var n=e.createSymbolTable();n.set("exports",r);return createAnonymousType(t,n,e.emptyArray,e.emptyArray,undefined,undefined)}var i=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(i)){return ce}if(e.isSourceFile(i)&&e.isJsonSourceFile(i)){if(!i.statements.length){return Je}return getWidenedType(getWidenedLiteralType(checkExpression(i.statements[0].expression)))}if(!pushTypeResolution(t,0)){if(t.flags&512&&!(t.flags&67108864)){return getTypeOfFuncClassEnumModule(t)}return reportCircularityError(t)}var a;if(i.kind===259){a=widenTypeForVariableLikeDeclaration(checkExpressionCached(i.expression),i)}else if(e.isBinaryExpression(i)||e.isInJSFile(i)&&(e.isCallExpression(i)||(e.isPropertyAccessExpression(i)||e.isBindableStaticElementAccessExpression(i))&&e.isBinaryExpression(i.parent))){a=getWidenedTypeForAssignmentDeclaration(t)}else if(e.isJSDocPropertyLikeTag(i)||e.isPropertyAccessExpression(i)||e.isElementAccessExpression(i)||e.isIdentifier(i)||e.isStringLiteralLike(i)||e.isNumericLiteral(i)||e.isClassDeclaration(i)||e.isFunctionDeclaration(i)||e.isMethodDeclaration(i)&&!e.isObjectLiteralMethod(i)||e.isMethodSignature(i)||e.isSourceFile(i)){if(t.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(t)}a=e.isBinaryExpression(i.parent)?getWidenedTypeForAssignmentDeclaration(t):tryGetTypeFromEffectiveTypeNode(i)||ce}else if(e.isPropertyAssignment(i)){a=tryGetTypeFromEffectiveTypeNode(i)||checkPropertyAssignment(i)}else if(e.isJsxAttribute(i)){a=tryGetTypeFromEffectiveTypeNode(i)||checkJsxAttribute(i)}else if(e.isShorthandPropertyAssignment(i)){a=tryGetTypeFromEffectiveTypeNode(i)||checkExpressionForMutableLocation(i.name,0)}else if(e.isObjectLiteralMethod(i)){a=tryGetTypeFromEffectiveTypeNode(i)||checkObjectLiteralMethod(i,0)}else if(e.isParameter(i)||e.isPropertyDeclaration(i)||e.isPropertySignature(i)||e.isVariableDeclaration(i)||e.isBindingElement(i)){a=getWidenedTypeForVariableLikeDeclaration(i,true)}else if(e.isEnumDeclaration(i)){a=getTypeOfFuncClassEnumModule(t)}else if(e.isEnumMember(i)){a=getTypeOfEnumMember(t)}else if(e.isAccessor(i)){a=resolveTypeOfAccessors(t)}else{return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(i.kind)+" for "+e.Debug.formatSymbol(t))}if(!popTypeResolution()){if(t.flags&512&&!(t.flags&67108864)){return getTypeOfFuncClassEnumModule(t)}return reportCircularityError(t)}return a}function getAnnotatedAccessorTypeNode(t){if(t){if(t.kind===163){var r=e.getEffectiveReturnTypeNode(t);return r}else{var n=e.getEffectiveSetAccessorTypeAnnotationNode(t);return n}}return undefined}function getAnnotatedAccessorType(e){var t=getAnnotatedAccessorTypeNode(e);return t&&getTypeFromTypeNode(t)}function getAnnotatedAccessorThisParameter(e){var t=getAccessorThisParameter(e);return t&&t.symbol}function getThisTypeOfDeclaration(e){return getThisTypeOfSignature(getSignatureFromDeclaration(e))}function getTypeOfAccessors(e){var t=getSymbolLinks(e);return t.type||(t.type=getTypeOfAccessorsWorker(e))}function getTypeOfAccessorsWorker(t){if(!pushTypeResolution(t,0)){return de}var r=resolveTypeOfAccessors(t);if(!popTypeResolution()){r=ce;if(j){var n=e.getDeclarationOfKind(t,163);error(n,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,symbolToString(t))}}return r}function resolveTypeOfAccessors(t){var r=e.getDeclarationOfKind(t,163);var n=e.getDeclarationOfKind(t,164);if(r&&e.isInJSFile(r)){var i=getTypeForDeclarationFromJSDocComment(r);if(i){return i}}var a=getAnnotatedAccessorType(r);if(a){return a}else{var o=getAnnotatedAccessorType(n);if(o){return o}else{if(r&&r.body){return getReturnTypeFromBody(r)}else{if(n){if(!isPrivateWithinAmbient(n)){errorOrSuggestion(j,n,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,symbolToString(t))}}else{e.Debug.assert(!!r,"there must exist a getter as we are current checking either setter or getter in this function");if(!isPrivateWithinAmbient(r)){errorOrSuggestion(j,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,symbolToString(t))}}return ce}}}}function getBaseTypeVariableOfClass(t){var r=getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(t));return r.flags&8650752?r:r.flags&2097152?e.find(r.types,(function(e){return!!(e.flags&8650752)})):undefined}function getTypeOfFuncClassEnumModule(t){var r=getSymbolLinks(t);var n=r;if(!r.type){var i=t.valueDeclaration&&e.getDeclarationOfExpando(t.valueDeclaration);if(i){var a=mergeJSSymbols(t,getSymbolOfNode(i));if(a){t=r=a}}n.type=r.type=getTypeOfFuncClassEnumModuleWorker(t)}return r.type}function getTypeOfFuncClassEnumModuleWorker(t){var r=t.valueDeclaration;if(t.flags&1536&&e.isShorthandAmbientModuleSymbol(t)){return ce}else if(r&&(r.kind===209||e.isAccessExpression(r)&&r.parent.kind===209)){return getWidenedTypeForAssignmentDeclaration(t)}else if(t.flags&512&&r&&e.isSourceFile(r)&&r.commonJsModuleIndicator){var n=resolveExternalModuleSymbol(t);if(n!==t){if(!pushTypeResolution(t,0)){return de}var i=getMergedSymbol(t.exports.get("export="));var a=getWidenedTypeForAssignmentDeclaration(i,i===n?undefined:n);if(!popTypeResolution()){return reportCircularityError(t)}return a}}var o=createObjectType(16,t);if(t.flags&32){var s=getBaseTypeVariableOfClass(t);return s?getIntersectionType([o,s]):o}else{return M&&t.flags&16777216?getOptionalType(o):o}}function getTypeOfEnumMember(e){var t=getSymbolLinks(e);return t.type||(t.type=getDeclaredTypeOfEnumMember(e))}function getTypeOfAlias(e){var t=getSymbolLinks(e);if(!t.type){var r=resolveAlias(e);t.type=r.flags&111551?getTypeOfSymbol(r):de}return t.type}function getTypeOfInstantiatedSymbol(e){var t=getSymbolLinks(e);if(!t.type){if(!pushTypeResolution(e,0)){return t.type=de}var r=instantiateType(getTypeOfSymbol(t.target),t.mapper);if(!popTypeResolution()){r=reportCircularityError(e)}t.type=r}return t.type}function reportCircularityError(t){var r=t.valueDeclaration;if(e.getEffectiveTypeAnnotationNode(r)){error(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,symbolToString(t));return de}if(j&&(r.kind!==156||r.initializer)){error(t.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,symbolToString(t))}return ce}function getTypeOfSymbolWithDeferredType(t){var r=getSymbolLinks(t);if(!r.type){e.Debug.assertIsDefined(r.deferralParent);e.Debug.assertIsDefined(r.deferralConstituents);r.type=r.deferralParent.flags&1048576?getUnionType(r.deferralConstituents):getIntersectionType(r.deferralConstituents)}return r.type}function getTypeOfSymbol(t){var r=e.getCheckFlags(t);if(r&65536){return getTypeOfSymbolWithDeferredType(t)}if(r&1){return getTypeOfInstantiatedSymbol(t)}if(r&262144){return getTypeOfMappedSymbol(t)}if(r&8192){return getTypeOfReverseMappedSymbol(t)}if(t.flags&(3|4)){return getTypeOfVariableOrParameterOrProperty(t)}if(t.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(t)}if(t.flags&8){return getTypeOfEnumMember(t)}if(t.flags&98304){return getTypeOfAccessors(t)}if(t.flags&2097152){return getTypeOfAlias(t)}return de}function isReferenceToType(t,r){return t!==undefined&&r!==undefined&&(e.getObjectFlags(t)&4)!==0&&t.target===r}function getTargetType(t){return e.getObjectFlags(t)&4?t.target:t}function hasBaseType(t,r){return check(t);function check(t){if(e.getObjectFlags(t)&(3|4)){var n=getTargetType(t);return n===r||e.some(getBaseTypes(n),check)}else if(t.flags&2097152){return e.some(t.types,check)}return false}}function appendTypeParameters(t,r){for(var n=0,i=r;n0){return true}if(e.flags&8650752){var t=getBaseConstraintOfType(e);return!!t&&isMixinConstructorType(t)}return false}function getBaseTypeNodeOfClass(t){return e.getEffectiveBaseTypeNode(t.symbol.valueDeclaration)}function getConstructorsForTypeArguments(t,r,n){var i=e.length(r);var a=e.isInJSFile(n);return e.filter(getSignaturesOfType(t,1),(function(t){return(a||i>=getMinTypeArgumentCount(t.typeParameters))&&i<=e.length(t.typeParameters)}))}function getInstantiatedConstructorsForTypeArguments(t,r,n){var i=getConstructorsForTypeArguments(t,r,n);var a=e.map(r,getTypeFromTypeNode);return e.sameMap(i,(function(t){return e.some(t.typeParameters)?getSignatureInstantiation(t,a,e.isInJSFile(n)):t}))}function getBaseConstructorTypeOfClass(t){if(!t.resolvedBaseConstructorType){var r=t.symbol.valueDeclaration;var n=e.getEffectiveBaseTypeNode(r);var i=getBaseTypeNodeOfClass(t);if(!i){return t.resolvedBaseConstructorType=ge}if(!pushTypeResolution(t,1)){return de}var a=checkExpression(i.expression);if(n&&i!==n){e.Debug.assert(!n.typeArguments);checkExpression(n.expression)}if(a.flags&(524288|2097152)){resolveStructuredTypeMembers(a)}if(!popTypeResolution()){error(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,symbolToString(t.symbol));return t.resolvedBaseConstructorType=de}if(!(a.flags&1)&&a!==he&&!isConstructorType(a)){var o=error(i.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,typeToString(a));if(a.flags&262144){var s=getConstraintFromTypeParameter(a);var c=fe;if(s){var l=getSignaturesOfType(s,1);if(l[0]){c=getReturnTypeOfSignature(l[0])}}e.addRelatedInfo(o,e.createDiagnosticForNode(a.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,symbolToString(a.symbol),typeToString(c)))}return t.resolvedBaseConstructorType=de}t.resolvedBaseConstructorType=a}return t.resolvedBaseConstructorType}function getImplementsTypes(t){var r=e.emptyArray;for(var n=0,i=t.symbol.declarations;n=o?16384:0;var c=createSymbol(1,i,a);c.type=n===s?createArrayType(e):e;return c}));return e.concatenate(t.parameters.slice(0,r),c)}}return t.parameters}function getDefaultConstructSignatures(t){var r=getBaseConstructorTypeOfClass(t);var n=getSignaturesOfType(r,1);if(n.length===0){return[createSignature(undefined,t.localTypeParameters,undefined,e.emptyArray,t,undefined,0,0)]}var i=getBaseTypeNodeOfClass(t);var a=e.isInJSFile(i);var o=typeArgumentsFromTypeReferenceNode(i);var s=e.length(o);var c=[];for(var l=0,u=n;l=p&&s<=f){var g=f?createSignatureInstantiation(d,fillMissingTypeArguments(o,d.typeParameters,p,a)):cloneSignature(d);g.typeParameters=t.localTypeParameters;g.resolvedReturnType=t;c.push(g)}}return c}function findMatchingSignature(e,t,r,n,i){for(var a=0,o=e;a0){return undefined}for(var i=1;i1){n=n===undefined?i:-1}for(var a=0,o=t[i];a1){var u=s.thisParameter;var d=e.forEach(c,(function(e){return e.thisParameter}));if(d){var p=getIntersectionType(e.mapDefined(c,(function(e){return e.thisParameter&&getTypeOfSymbol(e.thisParameter)})));u=createSymbolWithType(d,p)}l=createUnionSignature(s,c);l.thisParameter=u}(r||(r=[])).push(l)}}}}if(!e.length(r)&&n!==-1){var f=t[n!==undefined?n:0];var g=f.slice();var _loop_9=function(t){if(t!==f){var r=t[0];e.Debug.assert(!!r,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass");g=r.typeParameters&&e.some(g,(function(e){return!!e.typeParameters}))?undefined:e.map(g,(function(e){return combineSignaturesOfUnionMembers(e,r)}));if(!g){return"break"}}};for(var m=0,_=t;m<_.length;m++){var y=_[m];var h=_loop_9(y);if(h==="break")break}r=g}return r||e.emptyArray}function combineUnionThisParam(e,t){if(!e||!t){return e||t}var r=getIntersectionType([getTypeOfSymbol(e),getTypeOfSymbol(t)]);return createSymbolWithType(e,r)}function combineUnionParameters(e,t){var r=getParameterCount(e);var n=getParameterCount(t);var i=r>=n?e:t;var a=i===e?t:e;var o=i===e?r:n;var s=hasEffectiveRestParameter(e)||hasEffectiveRestParameter(t);var c=s&&!hasEffectiveRestParameter(i);var l=new Array(o+(c?1:0));for(var u=0;u=getMinArgumentCount(i)&&u>=getMinArgumentCount(a);var _=u>=r?undefined:getParameterNameAtPosition(e,u);var y=u>=n?undefined:getParameterNameAtPosition(t,u);var h=_===y?_:!_?y:!y?_:undefined;var v=createSymbol(1|(m&&!g?16777216:0),h||"arg"+u);v.type=g?createArrayType(f):f;l[u]=v}if(c){var T=createSymbol(1,"args");T.type=createArrayType(getTypeAtPosition(a,o));l[o]=T}return l}function combineSignaturesOfUnionMembers(t,r){var n=t.declaration;var i=combineUnionParameters(t,r);var a=combineUnionThisParam(t.thisParameter,r.thisParameter);var o=Math.max(t.minArgumentCount,r.minArgumentCount);var s=createSignature(n,t.typeParameters||r.typeParameters,a,i,undefined,undefined,o,(t.flags|r.flags)&3);s.unionSignatures=e.concatenate(t.unionSignatures||[t],[r]);return s}function getUnionIndexInfo(e,t){var r=[];var n=false;for(var i=0,a=e;i0}));var n=e.map(t,isMixinConstructorType);if(r>0&&r===e.countWhere(n,(function(e){return e}))){var i=n.indexOf(true);n[i]=false}return n}function includeMixinType(e,t,r,n){var i=[];for(var a=0;a0){d=e.map(d,(function(e){var t=cloneSignature(e);t.resolvedReturnType=includeMixinType(getReturnTypeOfSignature(e),o,s,l);return t}))}n=appendSignatures(n,d)}r=appendSignatures(r,getSignaturesOfType(u,0));i=intersectIndexInfos(i,getIndexInfoOfType(u,0));a=intersectIndexInfos(a,getIndexInfoOfType(u,1))};for(var l=0;l=50){error(N,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);r=true;return t.immediateBaseConstraint=Ke}E++;var n=computeBaseConstraint(getSimplifiedType(t,false));E--;if(!popTypeResolution()){if(t.flags&262144){var i=getConstraintDeclaration(t);if(i){var a=error(i,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,typeToString(t));if(N&&!e.isNodeDescendantOf(i,N)&&!e.isNodeDescendantOf(N,i)){e.addRelatedInfo(a,e.createDiagnosticForNode(N,e.Diagnostics.Circularity_originates_in_type_at_this_location))}}}n=qe}if(r){n=qe}t.immediateBaseConstraint=n||Ke}return t.immediateBaseConstraint}function getBaseConstraint(e){var t=getImmediateBaseConstraint(e);return t!==Ke&&t!==qe?t:undefined}function computeBaseConstraint(e){if(e.flags&262144){var t=getConstraintFromTypeParameter(e);return e.isThisType||!t?t:getBaseConstraint(t)}if(e.flags&3145728){var r=e.types;var n=[];for(var i=0,a=r;i=7):r.flags&528?Et:r.flags&12288?getGlobalESSymbolType(O>=2):r.flags&67108864?Je:r.flags&4194304?Le:r.flags&2&&!M?Je:r}function getReducedApparentType(e){return getReducedType(getApparentType(getReducedType(e)))}function createUnionOrIntersectionProperty(t,r){var n;var i;var a;var o=t.flags&1048576;var s=o?0:16777216;var c=4;var l=0;for(var u=0,d=t.types;u2){N.checkFlags|=65536;N.deferralParent=t;N.deferralConstituents=S}else{N.type=o?getUnionType(S):getIntersectionType(S)}return N}function getUnionOrIntersectionProperty(t,r){var n=t.propertyCache||(t.propertyCache=e.createSymbolTable());var i=n.get(r);if(!i){i=createUnionOrIntersectionProperty(t,r);if(i){n.set(r,i)}}return i}function getPropertyOfUnionOrIntersectionType(t,r){var n=getUnionOrIntersectionProperty(t,r);return n&&!(e.getCheckFlags(n)&16)?n:undefined}function getReducedType(t){if(t.flags&1048576&&t.objectFlags&268435456){return t.resolvedReducedType||(t.resolvedReducedType=getReducedUnionType(t))}else if(t.flags&2097152){if(!(t.objectFlags&268435456)){t.objectFlags|=268435456|(e.some(getPropertiesOfUnionOrIntersectionType(t),isNeverReducedProperty)?536870912:0)}return t.objectFlags&536870912?Ae:t}return t}function getReducedUnionType(t){var r=e.sameMap(t.types,getReducedType);if(r===t.types){return t}var n=getUnionType(r);if(n.flags&1048576){n.resolvedReducedType=n}return n}function isNeverReducedProperty(e){return isDiscriminantWithNeverType(e)||isConflictingPrivateProperty(e)}function isDiscriminantWithNeverType(t){return!(t.flags&16777216)&&(e.getCheckFlags(t)&(192|131072))===192&&!!(getTypeOfSymbol(t).flags&131072)}function isConflictingPrivateProperty(t){return!t.valueDeclaration&&!!(e.getCheckFlags(t)&1024)}function elaborateNeverIntersection(t,r){if(e.getObjectFlags(r)&536870912){var n=e.find(getPropertiesOfUnionOrIntersectionType(r),isDiscriminantWithNeverType);if(n){return e.chainDiagnosticMessages(t,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,typeToString(r,undefined,536870912),symbolToString(n))}var i=e.find(getPropertiesOfUnionOrIntersectionType(r),isConflictingPrivateProperty);if(i){return e.chainDiagnosticMessages(t,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,typeToString(r,undefined,536870912),symbolToString(i))}}return t}function getPropertyOfType(e,t){e=getReducedApparentType(e);if(e.flags&524288){var r=resolveStructuredTypeMembers(e);var n=r.members.get(t);if(n&&symbolIsValue(n)){return n}var i=r===He?vt:r.callSignatures.length?Tt:r.constructSignatures.length?bt:undefined;if(i){var a=getPropertyOfObjectType(i,t);if(a){return a}}return getPropertyOfObjectType(ht,t)}if(e.flags&3145728){return getPropertyOfUnionOrIntersectionType(e,t)}return undefined}function getSignaturesOfStructuredType(t,r){if(t.flags&3670016){var n=resolveStructuredTypeMembers(t);return r===0?n.callSignatures:n.constructSignatures}return e.emptyArray}function getSignaturesOfType(e,t){return getSignaturesOfStructuredType(getReducedApparentType(e),t)}function getIndexInfoOfStructuredType(e,t){if(e.flags&3670016){var r=resolveStructuredTypeMembers(e);return t===0?r.stringIndexInfo:r.numberIndexInfo}}function getIndexTypeOfStructuredType(e,t){var r=getIndexInfoOfStructuredType(e,t);return r&&r.type}function getIndexInfoOfType(e,t){return getIndexInfoOfStructuredType(getReducedApparentType(e),t)}function getIndexTypeOfType(e,t){return getIndexTypeOfStructuredType(getReducedApparentType(e),t)}function getImplicitIndexTypeOfType(t,r){if(isObjectTypeWithInferableIndex(t)){var n=[];for(var i=0,a=getPropertiesOfType(t);i=0);return n>=getMinArgumentCount(r,true)}var i=e.getImmediatelyInvokedFunctionExpression(t.parent);if(i){return!t.type&&!t.dotDotDotToken&&t.parent.parameters.indexOf(t)>=i.arguments.length}return false}function isOptionalJSDocParameterTag(t){if(!e.isJSDocParameterTag(t)){return false}var r=t.isBracketed,n=t.typeExpression;return r||!!n&&n.type.kind===299}function createTypePredicate(e,t,r,n){return{kind:e,parameterName:t,parameterIndex:r,type:n}}function getMinTypeArgumentCount(e){var t=0;if(e){for(var r=0;r=n&&o<=a){var s=t?t.slice():[];for(var c=o;cc.arguments.length&&!g||isJSDocOptionalParameter(p);if(!_){a=n.length}}if((t.kind===163||t.kind===164)&&!hasNonBindableDynamicName(t)&&(!s||!o)){var y=t.kind===163?164:163;var h=e.getDeclarationOfKind(getSymbolOfNode(t),y);if(h){o=getAnnotatedAccessorThisParameter(h)}}var v=t.kind===162?getDeclaredTypeOfClassOrInterface(getMergedSymbol(t.parent.symbol)):undefined;var T=v?v.localTypeParameters:getTypeParametersFromDeclaration(t);if(e.hasRestParameter(t)||e.isInJSFile(t)&&maybeAddJsSyntheticRestParameter(t,n)){i|=1}r.resolvedSignature=createSignature(t,T,o,n,undefined,undefined,a,i)}return r.resolvedSignature}function maybeAddJsSyntheticRestParameter(t,r){if(e.isJSDocSignature(t)||!containsArgumentsReference(t)){return false}var n=e.lastOrUndefined(t.parameters);var i=n?e.getJSDocParameterTags(n):e.getJSDocTags(t).filter(e.isJSDocParameterTag);var a=e.firstDefined(i,(function(t){return t.typeExpression&&e.isJSDocVariadicType(t.typeExpression.type)?t.typeExpression.type:undefined}));var o=createSymbol(3,"args",32768);o.type=a?createArrayType(getTypeFromTypeNode(a.type)):At;if(a){r.pop()}r.push(o);return true}function getSignatureOfTypeTag(t){if(!(e.isInJSFile(t)&&e.isFunctionLikeDeclaration(t)))return undefined;var r=e.getJSDocTypeTag(t);var n=r&&r.typeExpression&&getSingleCallSignature(getTypeFromTypeNode(r.typeExpression));return n&&getErasedSignature(n)}function getReturnTypeOfTypeTag(e){var t=getSignatureOfTypeTag(e);return t&&getReturnTypeOfSignature(t)}function containsArgumentsReference(t){var r=getNodeLinks(t);if(r.containsArgumentsReference===undefined){if(r.flags&8192){r.containsArgumentsReference=true}else{r.containsArgumentsReference=traverse(t.body)}}return r.containsArgumentsReference;function traverse(t){if(!t)return false;switch(t.kind){case 75:return t.escapedText==="arguments"&&e.isExpressionNode(t);case 159:case 161:case 163:case 164:return t.name.kind===154&&traverse(t.name);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&!!e.forEachChild(t,traverse)}}}function getSignaturesOfSymbol(t){if(!t)return e.emptyArray;var r=[];for(var n=0;n0&&i.body){var a=t.declarations[n-1];if(i.parent===a.parent&&i.kind===a.kind&&i.pos===a.end){continue}}r.push(getSignatureFromDeclaration(i))}return r}function resolveExternalModuleTypeByLiteral(e){var t=resolveExternalModuleName(e,e);if(t){var r=resolveExternalModuleSymbol(t);if(r){return getTypeOfSymbol(r)}}return ce}function getThisTypeOfSignature(e){if(e.thisParameter){return getTypeOfSymbol(e.thisParameter)}}function getTypePredicateOfSignature(t){if(!t.resolvedTypePredicate){if(t.target){var r=getTypePredicateOfSignature(t.target);t.resolvedTypePredicate=r?instantiateTypePredicate(r,t.mapper):Ye}else if(t.unionSignatures){t.resolvedTypePredicate=getUnionTypePredicate(t.unionSignatures)||Ye}else{var n=t.declaration&&e.getEffectiveReturnTypeNode(t.declaration);var i=void 0;if(!n&&e.isInJSFile(t.declaration)){var a=getSignatureOfTypeTag(t.declaration);if(a&&t!==a){i=getTypePredicateOfSignature(a)}}t.resolvedTypePredicate=n&&e.isTypePredicateNode(n)?createTypePredicateFromTypePredicateNode(n,t):i||Ye}e.Debug.assert(!!t.resolvedTypePredicate)}return t.resolvedTypePredicate===Ye?undefined:t.resolvedTypePredicate}function createTypePredicateFromTypePredicateNode(t,r){var n=t.parameterName;var i=t.type&&getTypeFromTypeNode(t.type);return n.kind===183?createTypePredicate(t.assertsModifier?2:0,undefined,undefined,i):createTypePredicate(t.assertsModifier?3:1,n.escapedText,e.findIndex(r.parameters,(function(e){return e.escapedName===n.escapedText})),i)}function getReturnTypeOfSignature(t){if(!t.resolvedReturnType){if(!pushTypeResolution(t,3)){return de}var r=t.target?instantiateType(getReturnTypeOfSignature(t.target),t.mapper):t.unionSignatures?getUnionType(e.map(t.unionSignatures,getReturnTypeOfSignature),2):getReturnTypeFromAnnotation(t.declaration)||(e.nodeIsMissing(t.declaration.body)?ce:getReturnTypeFromBody(t.declaration));if(t.flags&4){r=addOptionalTypeMarker(r)}else if(t.flags&8){r=getOptionalType(r)}if(!popTypeResolution()){if(t.declaration){var n=e.getEffectiveReturnTypeNode(t.declaration);if(n){error(n,e.Diagnostics.Return_type_annotation_circularly_references_itself)}else if(j){var i=t.declaration;var a=e.getNameOfDeclaration(i);if(a){error(a,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(a))}else{error(i,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}}r=ce}t.resolvedReturnType=r}return t.resolvedReturnType}function getReturnTypeFromAnnotation(t){if(t.kind===162){return getDeclaredTypeOfClassOrInterface(getMergedSymbol(t.parent.symbol))}if(e.isJSDocConstructSignature(t)){return getTypeFromTypeNode(t.parameters[0].type)}var r=e.getEffectiveReturnTypeNode(t);if(r){return getTypeFromTypeNode(r)}if(t.kind===163&&!hasNonBindableDynamicName(t)){var n=e.isInJSFile(t)&&getTypeForDeclarationFromJSDocComment(t);if(n){return n}var i=e.getDeclarationOfKind(getSymbolOfNode(t),164);var a=getAnnotatedAccessorType(i);if(a){return a}}return getReturnTypeOfTypeTag(t)}function isResolvingReturnTypeOfSignature(e){return!e.resolvedReturnType&&findResolutionCycleStartIndex(e,3)>=0}function getRestTypeOfSignature(e){return tryGetRestTypeOfSignature(e)||ce}function tryGetRestTypeOfSignature(e){if(signatureHasRestParameter(e)){var t=getTypeOfSymbol(e.parameters[e.parameters.length-1]);var r=isTupleType(t)?getRestTypeOfTupleType(t):t;return r&&getIndexTypeOfType(r,1)}return undefined}function getSignatureInstantiation(e,t,r,n){var i=getSignatureInstantiationWithoutFillingInTypeArguments(e,fillMissingTypeArguments(t,e.typeParameters,getMinTypeArgumentCount(e.typeParameters),r));if(n){var a=getSingleCallOrConstructSignature(getReturnTypeOfSignature(i));if(a){var o=cloneSignature(a);o.typeParameters=n;var s=cloneSignature(i);s.resolvedReturnType=getOrCreateTypeFromSignature(o);return s}}return i}function getSignatureInstantiationWithoutFillingInTypeArguments(t,r){var n=t.instantiations||(t.instantiations=e.createMap());var i=getTypeListId(r);var a=n.get(i);if(!a){n.set(i,a=createSignatureInstantiation(t,r))}return a}function createSignatureInstantiation(e,t){return instantiateSignature(e,createSignatureTypeMapper(e,t),true)}function createSignatureTypeMapper(e,t){return createTypeMapper(e.typeParameters,t)}function getErasedSignature(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=createErasedSignature(e)):e}function createErasedSignature(e){return instantiateSignature(e,createTypeEraser(e.typeParameters),true)}function getCanonicalSignature(e){return e.typeParameters?e.canonicalSignatureCache||(e.canonicalSignatureCache=createCanonicalSignature(e)):e}function createCanonicalSignature(t){return getSignatureInstantiation(t,e.map(t.typeParameters,(function(e){return e.target&&!getConstraintOfTypeParameter(e.target)?e.target:e})),e.isInJSFile(t.declaration))}function getBaseSignature(t){var r=t.typeParameters;if(r){var n=createTypeEraser(r);var i=e.map(r,(function(e){return instantiateType(getBaseConstraintOfType(e),n)||fe}));return instantiateSignature(t,createTypeMapper(r,i),true)}return t}function getOrCreateTypeFromSignature(t){if(!t.isolatedSignatureType){var r=t.declaration?t.declaration.kind:0;var n=r===162||r===166||r===171;var i=createObjectType(16);i.members=A;i.properties=e.emptyArray;i.callSignatures=!n?[t]:e.emptyArray;i.constructSignatures=n?[t]:e.emptyArray;t.isolatedSignatureType=i}return t.isolatedSignatureType}function getIndexSymbol(e){return e.members.get("__index")}function getIndexDeclarationOfSymbol(t,r){var n=r===1?140:143;var i=getIndexSymbol(t);if(i){for(var a=0,o=i.declarations;a1){t+=":"+a}n+=a}}return t}function getPropagatingFlagsOfTypes(t,r){var n=0;for(var i=0,a=t;ii.length)){var l=s&&e.isExpressionWithTypeArguments(t)&&!e.isJSDocAugmentsTag(t.parent);var u=o===i.length?l?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:l?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments;var d=typeToString(n,undefined,2);error(t,u,d,o,i.length);if(!s){return de}}if(t.kind===169&&isDeferredTypeReferenceNode(t,e.length(t.typeArguments)!==i.length)){return createDeferredTypeReference(n,t,undefined)}var p=e.concatenate(n.outerTypeParameters,fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(t),i,o,s));return createTypeReference(n,p)}return checkNoTypeArguments(t,r)?n:de}function getTypeAliasInstantiation(t,r){var n=getDeclaredTypeOfSymbol(t);var i=getSymbolLinks(t);var a=i.typeParameters;var o=getTypeListId(r);var s=i.instantiations.get(o);if(!s){i.instantiations.set(o,s=instantiateType(n,createTypeMapper(a,fillMissingTypeArguments(r,a,getMinTypeArgumentCount(a),e.isInJSFile(t.valueDeclaration)))))}return s}function getTypeFromTypeAliasReference(t,r){var n=getDeclaredTypeOfSymbol(r);var i=getSymbolLinks(r).typeParameters;if(i){var a=e.length(t.typeArguments);var o=getMinTypeArgumentCount(i);if(ai.length){error(t,o===i.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,symbolToString(r),o,i.length);return de}return getTypeAliasInstantiation(r,typeArgumentsFromTypeReferenceNode(t))}return checkNoTypeArguments(t,r)?n:de}function getTypeReferenceName(t){switch(t.kind){case 169:return t.typeName;case 216:var r=t.expression;if(e.isEntityNameExpression(r)){return r}}return undefined}function resolveTypeReferenceName(e,t,r){if(!e){return oe}return resolveEntityName(e,t,r)||oe}function getTypeReferenceType(e,t){if(t===oe){return de}t=getExpandoSymbol(t)||t;if(t.flags&(32|64)){return getTypeFromClassOrInterfaceReference(e,t)}if(t.flags&524288){return getTypeFromTypeAliasReference(e,t)}var r=tryGetDeclaredTypeOfSymbol(t);if(r){return checkNoTypeArguments(e,t)?getRegularTypeOfLiteralType(r):de}if(t.flags&111551&&isJSDocTypeReference(e)){var n=getTypeFromJSDocValueReference(e,t);if(n){return n}else{resolveTypeReferenceName(getTypeReferenceName(e),788968);return getTypeOfSymbol(t)}}return de}function getTypeFromJSDocValueReference(t,r){var n=getNodeLinks(t);if(!n.resolvedJSDocType){var i=getTypeOfSymbol(r);var a=i;if(r.valueDeclaration){var o=e.getRootDeclaration(r.valueDeclaration);var s=false;if(e.isVariableDeclaration(o)&&o.initializer){var c=o.initializer;while(e.isPropertyAccessExpression(c)){c=c.expression}s=e.isCallExpression(c)&&e.isRequireCall(c,true)&&!!i.symbol}var l=t.kind===188&&t.qualifier;if(i.symbol&&(s||l)){a=getTypeReferenceType(t,i.symbol)}}n.resolvedJSDocType=a}return n.resolvedJSDocType}function getSubstitutionType(e,t){if(t.flags&3||t===e){return e}var r=getTypeId(e)+">"+getTypeId(t);var n=ne.get(r);if(n){return n}var i=createType(33554432);i.baseType=e;i.substitute=t;ne.set(r,i);return i}function isUnaryTupleTypeNode(e){return e.kind===175&&e.elementTypes.length===1}function getImpliedConstraint(e,t,r){return isUnaryTupleTypeNode(t)&&isUnaryTupleTypeNode(r)?getImpliedConstraint(e,t.elementTypes[0],r.elementTypes[0]):getActualTypeVariable(getTypeFromTypeNode(t))===e?getTypeFromTypeNode(r):undefined}function getConditionalFlowTypeOfType(t,r){var n;while(r&&!e.isStatement(r)&&r.kind!==303){var i=r.parent;if(i.kind===180&&r===i.trueType){var a=getImpliedConstraint(t,i.checkType,i.extendsType);if(a){n=e.append(n,a)}}r=i}return n?getSubstitutionType(t,getIntersectionType(e.append(n,t))):t}function isJSDocTypeReference(e){return!!(e.flags&4194304)&&(e.kind===169||e.kind===188)}function checkNoTypeArguments(t,n){if(t.typeArguments){error(t,e.Diagnostics.Type_0_is_not_generic,n?symbolToString(n):t.typeName?e.declarationNameToString(t.typeName):r);return false}return true}function getIntendedTypeFromJSDocTypeReference(t){if(e.isIdentifier(t.typeName)){var r=t.typeArguments;switch(t.typeName.escapedText){case"String":checkNoTypeArguments(t);return ve;case"Number":checkNoTypeArguments(t);return Te;case"Boolean":checkNoTypeArguments(t);return Ee;case"Void":checkNoTypeArguments(t);return ke;case"Undefined":checkNoTypeArguments(t);return ge;case"Null":checkNoTypeArguments(t);return ye;case"Function":case"function":checkNoTypeArguments(t);return vt;case"array":return(!r||!r.length)&&!j?At:undefined;case"promise":return(!r||!r.length)&&!j?createPromiseType(ce):undefined;case"Object":if(r&&r.length===2){if(e.isJSDocIndexSignature(t)){var n=getTypeFromTypeNode(r[0]);var i=getTypeFromTypeNode(r[1]);var a=createIndexInfo(i,false);return createAnonymousType(undefined,A,e.emptyArray,e.emptyArray,n===ve?a:undefined,n===Te?a:undefined)}return ce}checkNoTypeArguments(t);return!j?ce:undefined}}}function getTypeFromJSDocNullableTypeNode(e){var t=getTypeFromTypeNode(e.type);return M?getNullableType(t,65536):t}function getTypeFromTypeReference(t){var r=getNodeLinks(t);if(!r.resolvedType){if(e.isConstTypeReference(t)&&e.isAssertionExpression(t.parent)){r.resolvedSymbol=oe;return r.resolvedType=checkExpressionCached(t.parent.expression)}var n=void 0;var i=void 0;var a=788968;if(isJSDocTypeReference(t)){i=getIntendedTypeFromJSDocTypeReference(t);if(!i){n=resolveTypeReferenceName(getTypeReferenceName(t),a,true);if(n===oe){n=resolveTypeReferenceName(getTypeReferenceName(t),a|111551)}else{resolveTypeReferenceName(getTypeReferenceName(t),a)}i=getTypeReferenceType(t,n)}}if(!i){n=resolveTypeReferenceName(getTypeReferenceName(t),a);i=getTypeReferenceType(t,n)}r.resolvedSymbol=n;r.resolvedType=i}return r.resolvedType}function typeArgumentsFromTypeReferenceNode(t){return e.map(t.typeArguments,getTypeFromTypeNode)}function getTypeFromTypeQueryNode(e){var t=getNodeLinks(e);if(!t.resolvedType){t.resolvedType=getRegularTypeOfLiteralType(getWidenedType(checkExpression(e.exprName)))}return t.resolvedType}function getTypeOfGlobalSymbol(t,r){function getTypeDeclaration(e){var t=e.declarations;for(var r=0,n=t;r=r?16777216:0),""+l,i?8:0);d.type=u;s.push(d)}}}var p=[];for(var l=r;l<=c;l++)p.push(getLiteralType(l));var f=createSymbol(4,"length");f.type=n?Te:getUnionType(p);s.push(f);var g=createObjectType(8|4);g.typeParameters=o;g.outerTypeParameters=undefined;g.localTypeParameters=o;g.instantiations=e.createMap();g.instantiations.set(getTypeListId(g.typeParameters),g);g.target=g;g.resolvedTypeArguments=g.typeParameters;g.thisType=createTypeParameter();g.thisType.isThisType=true;g.thisType.constraint=g;g.declaredProperties=s;g.declaredCallSignatures=e.emptyArray;g.declaredConstructSignatures=e.emptyArray;g.declaredStringIndexInfo=undefined;g.declaredNumberIndexInfo=undefined;g.minLength=r;g.hasRestElement=n;g.readonly=i;g.associatedNames=a;return g}function getTupleTypeOfArity(e,t,r,n,i){var a=e+(r?"+":",")+t+(n?"R":"")+(i&&i.length?","+i.join(","):"");var o=Y.get(a);if(!o){Y.set(a,o=createTupleTypeOfArity(e,t,r,n,i))}return o}function createTupleType(e,t,r,n,i){if(t===void 0){t=e.length}if(r===void 0){r=false}if(n===void 0){n=false}var a=e.length;if(a===1&&r){return createArrayType(e[0],n)}var o=getTupleTypeOfArity(a,t,a>0&&r,n,i);return e.length?createTypeReference(o,e):o}function sliceTupleType(e,t){var r=e.target;if(r.hasRestElement){t=Math.min(t,getTypeReferenceArity(e)-1)}return createTupleType(getTypeArguments(e).slice(t),Math.max(0,r.minLength-t),r.hasRestElement,r.readonly,r.associatedNames&&r.associatedNames.slice(t))}function getTypeFromOptionalTypeNode(e){var t=getTypeFromTypeNode(e.type);return M?getOptionalType(t):t}function getTypeId(e){return e.id}function containsType(t,r){return e.binarySearch(t,r,getTypeId,e.compareValues)>=0}function insertType(t,r){var n=e.binarySearch(t,r,getTypeId,e.compareValues);if(n<0){t.splice(~n,0,r);return true}return false}function addTypeToUnion(t,r,n){var i=n.flags;if(i&1048576){return addTypesToUnion(t,r,n.types)}if(!(i&131072)){r|=i&71041023;if(i&66846720)r|=262144;if(n===ue)r|=8388608;if(!M&&i&98304){if(!(e.getObjectFlags(n)&524288))r|=4194304}else{var a=t.length;var o=a&&n.id>t[a-1].id?~a:e.binarySearch(t,n,getTypeId,e.compareValues);if(o<0){t.splice(~o,0,n)}}}return r}function addTypesToUnion(e,t,r){for(var n=0,i=r;n0){i--;var o=t[i];for(var s=0,c=t;s(r?25e6:1e6)){error(N,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return false}}a++;if(isTypeRelatedTo(o,l,Wr)&&(!(e.getObjectFlags(getTargetType(o))&1)||!(e.getObjectFlags(getTargetType(l))&1)||isTypeDerivedFrom(o,l))){e.orderedRemoveItemAt(t,i);break}}}}return true}function removeRedundantLiteralTypes(t,r){var n=t.length;while(n>0){n--;var i=t[n];var a=i.flags&128&&r&4||i.flags&256&&r&8||i.flags&2048&&r&64||i.flags&8192&&r&4096||isFreshLiteralType(i)&&containsType(t,i.regularType);if(a){e.orderedRemoveItemAt(t,n)}}}function getUnionType(e,t,r,n){if(t===void 0){t=1}if(e.length===0){return Ae}if(e.length===1){return e[0]}var i=[];var a=addTypesToUnion(i,0,e);if(t!==0){if(a&3){return a&1?a&8388608?ue:ce:fe}switch(t){case 1:if(a&(2944|8192)){removeRedundantLiteralTypes(i,a)}break;case 2:if(!removeSubtypes(i,!(a&262144))){return de}break}if(i.length===0){return a&65536?a&4194304?ye:he:a&32768?a&4194304?ge:me:Ae}}var o=(a&66994211?0:262144)|(a&2097152?268435456:0);return getUnionTypeFromSortedList(i,o,r,n)}function getUnionTypePredicate(e){var t;var r=[];for(var n=0,i=e;n0){n--;var i=t[n];var a=i.flags&4&&r&128||i.flags&8&&r&256||i.flags&64&&r&2048||i.flags&4096&&r&8192;if(a){e.orderedRemoveItemAt(t,n)}}}function eachUnionContains(e,t){for(var r=0,n=e;r=1e5){error(N,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return de}var u=e.findIndex(o,(function(e){return(e.flags&1048576)!==0}));var d=o[u];c=getUnionType(e.map(d.types,(function(t){return getIntersectionType(e.replaceElement(o,u,t))})),1,r,n)}}else{c=createIntersectionType(o,r,n)}ee.set(s,c)}return c}function getTypeFromIntersectionTypeNode(t){var r=getNodeLinks(t);if(!r.resolvedType){var n=getAliasSymbolForTypeNode(t);r.resolvedType=getIntersectionType(e.map(t.types,getTypeFromTypeNode),n,getTypeArgumentsForAliasSymbol(n))}return r.resolvedType}function createIndexType(e,t){var r=createType(4194304);r.type=e;r.stringsOnly=t;return r}function getIndexTypeForGenericType(e,t){return t?e.resolvedStringIndexType||(e.resolvedStringIndexType=createIndexType(e,true)):e.resolvedIndexType||(e.resolvedIndexType=createIndexType(e,false))}function getLiteralTypeFromPropertyName(t){if(e.isPrivateIdentifier(t)){return Ae}return e.isIdentifier(t)?getLiteralType(e.unescapeLeadingUnderscores(t.escapedText)):getRegularTypeOfLiteralType(e.isComputedPropertyName(t)?checkComputedPropertyName(t):checkExpression(t))}function getBigIntLiteralType(t){return getLiteralType({negative:false,base10Value:e.parsePseudoBigInt(t.text)})}function getLiteralTypeFromProperty(t,r){if(!(e.getDeclarationModifierFlagsFromSymbol(t)&24)){var n=getSymbolLinks(getLateBoundSymbol(t)).nameType;if(!n&&!e.isKnownSymbol(t)){if(t.escapedName==="default"){n=getLiteralType("default")}else{var i=t.valueDeclaration&&e.getNameOfDeclaration(t.valueDeclaration);n=i&&getLiteralTypeFromPropertyName(i)||getLiteralType(e.symbolName(t))}}if(n&&n.flags&r){return n}}return Ae}function getLiteralTypeFromProperties(t,r){return getUnionType(e.map(getPropertiesOfType(t),(function(e){return getLiteralTypeFromProperty(e,r)})))}function getNonEnumNumberIndexInfo(e){var t=getIndexInfoOfType(e,1);return t!==nt?t:undefined}function getIndexType(t,r,n){if(r===void 0){r=W}t=getReducedType(t);return t.flags&1048576?getIntersectionType(e.map(t.types,(function(e){return getIndexType(e,r,n)}))):t.flags&2097152?getUnionType(e.map(t.types,(function(e){return getIndexType(e,r,n)}))):maybeTypeOfKind(t,58982400)?getIndexTypeForGenericType(t,r):e.getObjectFlags(t)&32?filterType(getConstraintTypeFromMappedType(t),(function(e){return!(n&&e.flags&(1|4))})):t===ue?ue:t.flags&2?Ae:t.flags&(1|131072)?Le:r?!n&&getIndexInfoOfType(t,0)?ve:getLiteralTypeFromProperties(t,128):!n&&getIndexInfoOfType(t,0)?getUnionType([ve,Te,getLiteralTypeFromProperties(t,8192)]):getNonEnumNumberIndexInfo(t)?getUnionType([Te,getLiteralTypeFromProperties(t,128|8192)]):getLiteralTypeFromProperties(t,8576)}function getExtractStringType(e){if(W){return e}var t=getGlobalExtractSymbol();return t?getTypeAliasInstantiation(t,[e,ve]):ve}function getIndexTypeOrString(e){var t=getExtractStringType(getIndexType(e));return t.flags&131072?ve:t}function getTypeFromTypeOperatorNode(t){var r=getNodeLinks(t);if(!r.resolvedType){switch(t.operator){case 134:r.resolvedType=getIndexType(getTypeFromTypeNode(t.type));break;case 147:r.resolvedType=t.type.kind===144?getESSymbolLikeTypeForNode(e.walkUpParenthesizedTypes(t.parent)):de;break;case 138:r.resolvedType=getTypeFromTypeNode(t.type);break;default:throw e.Debug.assertNever(t.operator)}}return r.resolvedType}function createIndexedAccessType(e,t,r,n){var i=createType(8388608);i.objectType=e;i.indexType=t;i.aliasSymbol=r;i.aliasTypeArguments=n;return i}function isJSLiteralType(t){if(j){return false}if(e.getObjectFlags(t)&16384){return true}if(t.flags&1048576){return e.every(t.types,isJSLiteralType)}if(t.flags&2097152){return e.some(t.types,isJSLiteralType)}if(t.flags&63176704){return isJSLiteralType(getResolvedBaseConstraint(t))}return false}function getPropertyNameFromIndex(t,r){var n=r&&r.kind===195?r:undefined;return isTypeUsableAsPropertyName(t)?getPropertyNameFromType(t):n&&checkThatExpressionIsProperSymbolReference(n.argumentExpression,t,false)?e.getPropertyNameForKnownSymbolName(e.idText(n.argumentExpression.name)):r&&e.isPropertyName(r)?e.getPropertyNameForPropertyNameNode(r):undefined}function getPropertyTypeForIndexType(t,r,n,i,a,o,s){var c=o&&o.kind===195?o:undefined;var l=o&&e.isPrivateIdentifier(o)?undefined:getPropertyNameFromIndex(n,o);if(l!==undefined){var u=getPropertyOfType(r,l);if(u){if(c){markPropertyAsReferenced(u,c,c.expression.kind===104);if(isAssignmentToReadonlyEntity(c,u,e.getAssignmentTargetKind(c))){error(c.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,symbolToString(u));return undefined}if(s&4){getNodeLinks(o).resolvedSymbol=u}}var d=getTypeOfSymbol(u);return c&&e.getAssignmentTargetKind(c)!==1?getFlowTypeOfReference(c,d):d}if(everyType(r,isTupleType)&&isNumericLiteralName(l)&&+l>=0){if(o&&everyType(r,(function(e){return!e.target.hasRestElement}))&&!(s&8)){var p=getIndexNodeForAccessExpression(o);if(isTupleType(r)){error(p,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,typeToString(r),getTypeReferenceArity(r),e.unescapeLeadingUnderscores(l))}else{error(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(l),typeToString(r))}}errorIfWritingToReadonlyIndex(getIndexInfoOfType(r,1));return mapType(r,(function(e){return getRestTypeOfTupleType(e)||ge}))}}if(!(n.flags&98304)&&isTypeAssignableToKind(n,132|296|12288)){if(r.flags&(1|131072)){return r}var f=getIndexInfoOfType(r,0);var g=isTypeAssignableToKind(n,296)&&getIndexInfoOfType(r,1)||f;if(g){if(s&1&&g===f){if(c){error(c,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,typeToString(n),typeToString(t))}return undefined}if(o&&!isTypeAssignableToKind(n,4|8)){var p=getIndexNodeForAccessExpression(o);error(p,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(n));return g.type}errorIfWritingToReadonlyIndex(g);return g.type}if(n.flags&131072){return Ae}if(isJSLiteralType(r)){return ce}if(c&&!isConstEnumObjectType(r)){if(r.symbol===q&&l!==undefined&&q.exports.has(l)&&q.exports.get(l).flags&418){error(c,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(l),typeToString(r))}else if(j&&!P.suppressImplicitAnyIndexErrors&&!a){if(l!==undefined&&typeHasStaticProperty(l,r)){error(c,e.Diagnostics.Property_0_is_a_static_member_of_type_1,l,typeToString(r))}else if(getIndexTypeOfType(r,1)){error(c.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number)}else{var m=void 0;if(l!==undefined&&(m=getSuggestionForNonexistentProperty(l,r))){if(m!==undefined){error(c.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,l,typeToString(r),m)}}else{var _=getSuggestionForNonexistentIndexSignature(r,c,n);if(_!==undefined){error(c,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,typeToString(r),_)}else{var y=void 0;if(n.flags&1024){y=e.chainDiagnosticMessages(undefined,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+typeToString(n)+"]",typeToString(r))}else if(n.flags&8192){var h=getFullyQualifiedName(n.symbol,c);y=e.chainDiagnosticMessages(undefined,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+h+"]",typeToString(r))}else if(n.flags&128){y=e.chainDiagnosticMessages(undefined,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,typeToString(r))}else if(n.flags&256){y=e.chainDiagnosticMessages(undefined,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,typeToString(r))}else if(n.flags&(8|4)){y=e.chainDiagnosticMessages(undefined,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,typeToString(n),typeToString(r))}y=e.chainDiagnosticMessages(y,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,typeToString(i),typeToString(r));Ir.add(e.createDiagnosticForNodeFromMessageChain(c,y))}}}}return undefined}}if(isJSLiteralType(r)){return ce}if(o){var p=getIndexNodeForAccessExpression(o);if(n.flags&(128|256)){error(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+n.value,typeToString(r))}else if(n.flags&(4|8)){error(p,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,typeToString(r),typeToString(n))}else{error(p,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(n))}}if(isTypeAny(n)){return n}return undefined;function errorIfWritingToReadonlyIndex(t){if(t&&t.isReadonly&&c&&(e.isAssignmentTarget(c)||e.isDeleteTarget(c))){error(c,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(r))}}}function getIndexNodeForAccessExpression(e){return e.kind===195?e.argumentExpression:e.kind===185?e.indexType:e.kind===154?e.expression:e}function isGenericObjectType(t){if(t.flags&3145728){if(!(t.objectFlags&4194304)){t.objectFlags|=4194304|(e.some(t.types,isGenericObjectType)?8388608:0)}return!!(t.objectFlags&8388608)}return!!(t.flags&58982400)||isGenericMappedType(t)}function isGenericIndexType(t){if(t.flags&3145728){if(!(t.objectFlags&16777216)){t.objectFlags|=16777216|(e.some(t.types,isGenericIndexType)?33554432:0)}return!!(t.objectFlags&33554432)}return!!(t.flags&(58982400|4194304))}function isThisTypeParameter(e){return!!(e.flags&262144&&e.isThisType)}function getSimplifiedType(e,t){return e.flags&8388608?getSimplifiedIndexedAccessType(e,t):e.flags&16777216?getSimplifiedConditionalType(e,t):e}function distributeIndexOverObjectType(t,r,n){if(t.flags&3145728){var i=e.map(t.types,(function(e){return getSimplifiedType(getIndexedAccessType(e,r),n)}));return t.flags&2097152||n?getIntersectionType(i):getUnionType(i)}}function distributeObjectOverIndexType(t,r,n){if(r.flags&1048576){var i=e.map(r.types,(function(e){return getSimplifiedType(getIndexedAccessType(t,e),n)}));return n?getIntersectionType(i):getUnionType(i)}}function unwrapSubstitution(e){if(e.flags&33554432){return e.substitute}return e}function getSimplifiedIndexedAccessType(e,t){var r=t?"simplifiedForWriting":"simplifiedForReading";if(e[r]){return e[r]===qe?e:e[r]}e[r]=qe;var n=unwrapSubstitution(getSimplifiedType(e.objectType,t));var i=getSimplifiedType(e.indexType,t);var a=distributeObjectOverIndexType(n,i,t);if(a){return e[r]=a}if(!(i.flags&63176704)){var o=distributeIndexOverObjectType(n,i,t);if(o){return e[r]=o}}if(isGenericMappedType(n)){return e[r]=mapType(substituteIndexedMappedType(n,e.indexType),(function(e){return getSimplifiedType(e,t)}))}return e[r]=e}function getSimplifiedConditionalType(e,t){var r=e.checkType;var n=e.extendsType;var i=getTrueTypeFromConditionalType(e);var a=getFalseTypeFromConditionalType(e);if(a.flags&131072&&getActualTypeVariable(i)===getActualTypeVariable(r)){if(r.flags&1||isTypeAssignableTo(getRestrictiveInstantiation(r),getRestrictiveInstantiation(n))){return getSimplifiedType(i,t)}else if(isIntersectionEmpty(r,n)){return Ae}}else if(i.flags&131072&&getActualTypeVariable(a)===getActualTypeVariable(r)){if(!(r.flags&1)&&isTypeAssignableTo(getRestrictiveInstantiation(r),getRestrictiveInstantiation(n))){return Ae}else if(r.flags&1||isIntersectionEmpty(r,n)){return getSimplifiedType(a,t)}}return e}function isIntersectionEmpty(e,t){return!!(getUnionType([intersectTypes(e,t),Ae]).flags&131072)}function substituteIndexedMappedType(e,t){var r=createTypeMapper([getTypeParameterFromMappedType(e)],[t]);var n=combineTypeMappers(e.mapper,r);return instantiateType(getTemplateTypeFromMappedType(e),n)}function getIndexedAccessType(e,t,r,n,i){return getIndexedAccessTypeOrUndefined(e,t,r,0,n,i)||(r?de:fe)}function getIndexedAccessTypeOrUndefined(e,t,r,n,i,a){if(n===void 0){n=0}if(e===ue||t===ue){return ue}if(isStringIndexSignatureOnlyType(e)&&!(t.flags&98304)&&isTypeAssignableToKind(t,4|8)){t=ve}if(isGenericIndexType(t)||!(r&&r.kind!==185)&&isGenericObjectType(e)){if(e.flags&3){return e}var o=e.id+","+t.id;var s=re.get(o);if(!s){re.set(o,s=createIndexedAccessType(e,t,i,a))}return s}var c=getReducedApparentType(e);if(t.flags&1048576&&!(t.flags&16)){var l=[];var u=false;for(var d=0,p=t.types;d=r?fe:n}))}function combineTypeMappers(e,t){return e?makeCompositeTypeMapper(3,e,t):t}function mergeTypeMappers(e,t){return e?makeCompositeTypeMapper(4,e,t):t}function prependTypeMapping(e,t,r){return!r?makeUnaryTypeMapper(e,t):makeCompositeTypeMapper(4,makeUnaryTypeMapper(e,t),r)}function appendTypeMapping(e,t,r){return!e?makeUnaryTypeMapper(t,r):makeCompositeTypeMapper(4,e,makeUnaryTypeMapper(t,r))}function getRestrictiveTypeParameter(e){return e.constraint===fe?e:e.restrictiveInstantiation||(e.restrictiveInstantiation=createTypeParameter(e.symbol),e.restrictiveInstantiation.constraint=fe,e.restrictiveInstantiation)}function cloneTypeParameter(e){var t=createTypeParameter(e.symbol);t.target=e;return t}function instantiateTypePredicate(e,t){return createTypePredicate(e.kind,e.parameterName,e.parameterIndex,instantiateType(e.type,t))}function instantiateSignature(t,r,n){var i;if(t.typeParameters&&!n){i=e.map(t.typeParameters,cloneTypeParameter);r=combineTypeMappers(createTypeMapper(t.typeParameters,i),r);for(var a=0,o=i;a=i,n)}));var o=getMappedTypeModifiers(r);var s=o&4?0:o&8?getTypeReferenceArity(t)-(t.target.hasRestElement?1:0):i;var c=getModifiedReadonlyState(t.target.readonly,o);return e.contains(a,de)?de:createTupleType(a,s,t.target.hasRestElement,c,t.target.associatedNames)}function instantiateMappedTypeTemplate(e,t,r,n){var i=appendTypeMapping(n,getTypeParameterFromMappedType(e),t);var a=instantiateType(getTemplateTypeFromMappedType(e.target||e),i);var o=getMappedTypeModifiers(e);return M&&o&4&&!maybeTypeOfKind(a,32768|16384)?getOptionalType(a):M&&o&8&&r?getTypeWithFacts(a,524288):a}function instantiateAnonymousType(e,t){var r=createObjectType(e.objectFlags|64,e.symbol);if(e.objectFlags&32){r.declaration=e.declaration;var n=getTypeParameterFromMappedType(e);var i=cloneTypeParameter(n);r.typeParameter=i;t=combineTypeMappers(makeUnaryTypeMapper(n,i),t);i.mapper=t}r.target=e;r.mapper=t;r.aliasSymbol=e.aliasSymbol;r.aliasTypeArguments=instantiateTypes(e.aliasTypeArguments,t);return r}function getConditionalTypeInstantiation(t,r){var n=t.root;if(n.outerTypeParameters){var i=e.map(n.outerTypeParameters,(function(e){return getMappedType(e,r)}));var a=getTypeListId(i);var o=n.instantiations.get(a);if(!o){var s=createTypeMapper(n.outerTypeParameters,i);o=instantiateConditionalType(n,s);n.instantiations.set(a,o)}return o}return t}function instantiateConditionalType(e,t){if(e.isDistributive){var r=e.checkType;var n=getMappedType(r,t);if(r!==n&&n.flags&(1048576|131072)){return mapType(n,(function(n){return getConditionalType(e,prependTypeMapping(r,n,t))}))}}return getConditionalType(e,t)}function instantiateType(t,r){if(!t||!r){return t}if(D===50||x>=5e6){error(N,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);return de}S++;x++;D++;var n=instantiateTypeWorker(t,r);D--;return n}function instantiateTypeWithoutDepthIncrease(e,t){D--;var r=instantiateType(e,t);D++;return r}function instantiateTypeWorker(e,t){var r=e.flags;if(r&262144){return getMappedType(e,t)}if(r&524288){var n=e.objectFlags;if(n&16){return couldContainTypeVariables(e)?getObjectTypeInstantiation(e,t):e}if(n&32){return getObjectTypeInstantiation(e,t)}if(n&4){if(e.node){return getObjectTypeInstantiation(e,t)}var i=e.resolvedTypeArguments;var a=instantiateTypes(i,t);return a!==i?createTypeReference(e.target,a):e}return e}if(r&2097152||r&1048576&&!(r&131068)){if(!couldContainTypeVariables(e)){return e}var o=e.types;var s=instantiateTypes(o,t);return s===o?e:r&2097152?getIntersectionType(s,e.aliasSymbol,instantiateTypes(e.aliasTypeArguments,t)):getUnionType(s,1,e.aliasSymbol,instantiateTypes(e.aliasTypeArguments,t))}if(r&4194304){return getIndexType(instantiateType(e.type,t))}if(r&8388608){return getIndexedAccessType(instantiateType(e.objectType,t),instantiateType(e.indexType,t),undefined,e.aliasSymbol,instantiateTypes(e.aliasTypeArguments,t))}if(r&16777216){return getConditionalTypeInstantiation(e,combineTypeMappers(e.mapper,t))}if(r&33554432){var c=instantiateType(e.baseType,t);if(c.flags&8650752){return getSubstitutionType(c,instantiateType(e.substitute,t))}else{var l=instantiateType(e.substitute,t);if(l.flags&3||isTypeAssignableTo(getRestrictiveInstantiation(c),getRestrictiveInstantiation(l))){return c}return l}}return e}function getPermissiveInstantiation(e){return e.flags&(131068|3|131072)?e:e.permissiveInstantiation||(e.permissiveInstantiation=instantiateType(e,je))}function getRestrictiveInstantiation(e){if(e.flags&(131068|3|131072)){return e}if(e.restrictiveInstantiation){return e.restrictiveInstantiation}e.restrictiveInstantiation=instantiateType(e,Be);e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation;return e.restrictiveInstantiation}function instantiateIndexInfo(e,t){return e&&createIndexInfo(instantiateType(e.type,t),e.isReadonly,e.declaration)}function isContextSensitive(t){e.Debug.assert(t.kind!==161||e.isObjectLiteralMethod(t));switch(t.kind){case 201:case 202:case 161:case 244:return isContextSensitiveFunctionLikeDeclaration(t);case 193:return e.some(t.properties,isContextSensitive);case 192:return e.some(t.elements,isContextSensitive);case 210:return isContextSensitive(t.whenTrue)||isContextSensitive(t.whenFalse);case 209:return(t.operatorToken.kind===56||t.operatorToken.kind===60)&&(isContextSensitive(t.left)||isContextSensitive(t.right));case 281:return isContextSensitive(t.initializer);case 200:return isContextSensitive(t.expression);case 274:return e.some(t.properties,isContextSensitive)||e.isJsxOpeningElement(t.parent)&&e.some(t.parent.parent.children,isContextSensitive);case 273:{var r=t.initializer;return!!r&&isContextSensitive(r)}case 276:{var n=t.expression;return!!n&&isContextSensitive(n)}}return false}function isContextSensitiveFunctionLikeDeclaration(t){return(!e.isFunctionDeclaration(t)||e.isInJSFile(t)&&!!getTypeForDeclarationFromJSDocComment(t))&&(hasContextSensitiveParameters(t)||hasContextSensitiveReturnExpression(t))}function hasContextSensitiveParameters(t){if(!t.typeParameters){if(e.some(t.parameters,(function(t){return!e.getEffectiveTypeAnnotationNode(t)}))){return true}if(t.kind!==202){var r=e.firstOrUndefined(t.parameters);if(!(r&&e.parameterIsThisKeyword(r))){return true}}}return false}function hasContextSensitiveReturnExpression(t){return!t.typeParameters&&!e.getEffectiveReturnTypeNode(t)&&!!t.body&&t.body.kind!==223&&isContextSensitive(t.body)}function isContextSensitiveFunctionOrObjectLiteralMethod(t){return(e.isInJSFile(t)&&e.isFunctionDeclaration(t)||isFunctionExpressionOrArrowFunction(t)||e.isObjectLiteralMethod(t))&&isContextSensitiveFunctionLikeDeclaration(t)}function getTypeWithoutSignatures(t){if(t.flags&524288){var r=resolveStructuredTypeMembers(t);if(r.constructSignatures.length||r.callSignatures.length){var n=createObjectType(16,t.symbol);n.members=r.members;n.properties=r.properties;n.callSignatures=e.emptyArray;n.constructSignatures=e.emptyArray;return n}}else if(t.flags&2097152){return getIntersectionType(e.map(t.types,getTypeWithoutSignatures))}return t}function isTypeIdenticalTo(e,t){return isTypeRelatedTo(e,t,zr)}function compareTypesIdentical(e,t){return isTypeRelatedTo(e,t,zr)?-1:0}function compareTypesAssignable(e,t){return isTypeRelatedTo(e,t,Ur)?-1:0}function compareTypesSubtypeOf(e,t){return isTypeRelatedTo(e,t,Jr)?-1:0}function isTypeSubtypeOf(e,t){return isTypeRelatedTo(e,t,Jr)}function isTypeAssignableTo(e,t){return isTypeRelatedTo(e,t,Ur)}function isTypeDerivedFrom(t,r){return t.flags&1048576?e.every(t.types,(function(e){return isTypeDerivedFrom(e,r)})):r.flags&1048576?e.some(r.types,(function(e){return isTypeDerivedFrom(t,e)})):t.flags&58982400?isTypeDerivedFrom(getBaseConstraintOfType(t)||fe,r):r===ht?!!(t.flags&(524288|67108864)):r===vt?!!(t.flags&524288)&&isFunctionObjectType(t):hasBaseType(t,getTargetType(r))}function isTypeComparableTo(e,t){return isTypeRelatedTo(e,t,Vr)}function areTypesComparable(e,t){return isTypeComparableTo(e,t)||isTypeComparableTo(t,e)}function checkTypeAssignableTo(e,t,r,n,i,a){return checkTypeRelatedTo(e,t,Ur,r,n,i,a)}function checkTypeAssignableToAndOptionallyElaborate(e,t,r,n,i,a){return checkTypeRelatedToAndOptionallyElaborate(e,t,Ur,r,n,i,a,undefined)}function checkTypeRelatedToAndOptionallyElaborate(e,t,r,n,i,a,o,s){if(isTypeRelatedTo(e,t,r))return true;if(!n||!elaborateError(i,e,t,r,a,o,s)){return checkTypeRelatedTo(e,t,r,n,a,o,s)}return false}function isOrHasGenericConditional(t){return!!(t.flags&16777216||t.flags&2097152&&e.some(t.types,isOrHasGenericConditional))}function elaborateError(e,t,r,n,i,a,o){if(!e||isOrHasGenericConditional(r))return false;if(!checkTypeRelatedTo(t,r,n,undefined)&&elaborateDidYouMeanToCallOrConstruct(e,t,r,n,i,a,o)){return true}switch(e.kind){case 276:case 200:return elaborateError(e.expression,t,r,n,i,a,o);case 209:switch(e.operatorToken.kind){case 62:case 27:return elaborateError(e.right,t,r,n,i,a,o)}break;case 193:return elaborateObjectLiteral(e,t,r,n,a,o);case 192:return elaborateArrayLiteral(e,t,r,n,a,o);case 274:return elaborateJsxComponents(e,t,r,n,a,o);case 202:return elaborateArrowFunction(e,t,r,n,a,o)}return false}function elaborateDidYouMeanToCallOrConstruct(t,r,n,i,a,o,s){var c=getSignaturesOfType(r,0);var l=getSignaturesOfType(r,1);for(var u=0,d=[l,c];u1;var h=filterType(m,isArrayOrTupleLikeType);var v=filterType(m,(function(e){return!isArrayOrTupleLikeType(e)}));if(y){if(h!==Ae){var T=createTupleType(checkJsxChildren(d,0));var b=generateJsxChildren(d,getInvalidTextualChildDiagnostic);l=elaborateElementwise(b,T,h,o,s,c)||l}else if(!isTypeRelatedTo(getIndexedAccessType(r,g),m,o)){l=true;var S=error(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,f,typeToString(m));if(c&&c.skipLogging){(c.errors||(c.errors=[])).push(S)}}}else{if(v!==Ae){var x=_[0];var D=getElaborationElementForJsxChild(x,g,getInvalidTextualChildDiagnostic);if(D){l=elaborateElementwise(function(){return a(this,(function(e){switch(e.label){case 0:return[4,D];case 1:e.sent();return[2]}}))}(),r,n,o,s,c)||l}}else if(!isTypeRelatedTo(getIndexedAccessType(r,g),m,o)){l=true;var S=error(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,f,typeToString(m));if(c&&c.skipLogging){(c.errors||(c.errors=[])).push(S)}}}}return l;function getInvalidTextualChildDiagnostic(){if(!u){var r=e.getTextOfNode(t.parent.tagName);var a=getJsxElementChildrenPropertyName(getJsxNamespaceAt(t));var o=a===undefined?"children":e.unescapeLeadingUnderscores(a);var s=getIndexedAccessType(n,getLiteralType(o));var c=e.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;u=i(i({},c),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(undefined,c,r,o,typeToString(s))})}return u}}function generateLimitedTupleElements(t,r){var n,i,o,s;return a(this,(function(a){switch(a.label){case 0:n=e.length(t.elements);if(!n)return[2];i=0;a.label=1;case 1:if(!(il:getMinArgumentCount(t)>l);if(u){return 0}if(t.typeParameters&&t.typeParameters!==r.typeParameters){r=getCanonicalSignature(r);t=instantiateSignatureInContextOf(t,r,undefined,s)}var d=getParameterCount(t);var p=getNonArrayRestType(t);var f=getNonArrayRestType(r);if(p||f){void instantiateType(p||f,c)}if(p&&f&&d!==l){return 0}var g=r.declaration?r.declaration.kind:0;var m=!(n&3)&&L&&g!==161&&g!==160&&g!==162;var _=-1;var y=getThisTypeOfSignature(t);if(y&&y!==ke){var h=getThisTypeOfSignature(r);if(h){var v=!m&&s(y,h,false)||s(h,y,i);if(!v){if(i){a(e.Diagnostics.The_this_types_of_each_signature_are_incompatible)}return 0}_&=v}}var T=p||f?Math.min(d,l):Math.max(d,l);var b=p||f?T-1:-1;for(var S=0;S=getMinArgumentCount(t)&&S0||typeHasCallOrConstructSignatures(c));if(g&&!hasCommonProperties(c,l,p)){if(n){var m=getSignaturesOfType(c,0);var _=getSignaturesOfType(c,1);if(m.length>0&&isRelatedTo(getReturnTypeOfSignature(m[0]),l,false)||_.length>0&&isRelatedTo(getReturnTypeOfSignature(_[0]),l,false)){reportError(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,typeToString(c),typeToString(l))}else{reportError(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,typeToString(c),typeToString(l))}}return 0}var y=0;var h=captureErrorCalculationState();if(c.flags&1048576){y=a===Vr?someTypeRelatedToType(c,l,n&&!(c.flags&131068),s):eachTypeRelatedToType(c,l,n&&!(c.flags&131068),s)}else{if(l.flags&1048576){y=typeRelatedToSomeType(getRegularTypeOfObjectLiteral(c),l,n&&!(c.flags&131068)&&!(l.flags&131068))}else if(l.flags&2097152){y=typeRelatedToEachType(getRegularTypeOfObjectLiteral(c),l,n,2)}else if(c.flags&2097152){y=someTypeRelatedToType(c,l,false,1)}if(!y&&(c.flags&66846720||l.flags&66846720)){if(y=recursiveTypeRelatedTo(c,l,n,s)){resetErrorInfo(h)}}}if(!y&&c.flags&(2097152|262144)){var b=getEffectiveConstraintOfIntersection(c.flags&2097152?c.types:[c],!!(l.flags&1048576));if(b&&(c.flags&2097152||l.flags&1048576)){if(everyType(b,(function(e){return e!==c}))){if(y=isRelatedTo(b,l,false,undefined,s)){resetErrorInfo(h)}}}}if(y&&!S&&(l.flags&2097152&&(f||g)||isNonGenericObjectType(l)&&!isArrayType(l)&&!isTupleType(l)&&c.flags&2097152&&getApparentType(c).flags&3670016&&!e.some(c.types,(function(t){return!!(e.getObjectFlags(t)&2097152)})))){S=true;y&=recursiveTypeRelatedTo(c,l,n,4);S=false}reportErrorResults(c,l,y,p);return y;function reportErrorResults(a,s,c,l){if(!c&&n){a=t.aliasSymbol?t:a;s=r.aliasSymbol?r:s;var d=v>0;if(d){v--}if(a.flags&524288&&s.flags&524288){var p=u;tryElaborateArrayLikeErrors(a,s,n);if(u!==p){d=!!u}}if(a.flags&524288&&s.flags&131068){tryElaborateErrorsForPrimitivesAndObjects(a,s)}else if(a.symbol&&a.flags&524288&&ht===a){reportError(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead)}else if(l&&s.flags&2097152){var f=s.types;var g=getJsxType(k.IntrinsicAttributes,o);var m=getJsxType(k.IntrinsicClassAttributes,o);if(g!==de&&m!==de&&(e.contains(f,g)||e.contains(f,m))){return c}}else{u=elaborateNeverIntersection(u,r)}if(!i&&d){T=[a,s];return c}reportRelationError(i,a,s)}}}function isIdenticalTo(e,t){var r=e.flags&t.flags;if(!(r&66584576)){return 0}if(r&3145728){var n=eachTypeRelatedToSomeType(e,t);if(n){n&=eachTypeRelatedToSomeType(t,e)}return n}return recursiveTypeRelatedTo(e,t,false,0)}function getTypeOfPropertyInTypes(t,r){var appendPropType=function(t,n){n=getApparentType(n);var i=n.flags&3145728?getPropertyOfUnionOrIntersectionType(n,r):getPropertyOfObjectType(n,r);var a=i&&getTypeOfSymbol(i)||isNumericLiteralName(r)&&getIndexTypeOfType(n,1)||getIndexTypeOfType(n,0)||ge;return e.append(t,a)};return getUnionType(e.reduceLeft(t,appendPropType,undefined)||e.emptyArray)}function hasExcessProperties(t,r,n){if(!isExcessPropertyCheckTarget(r)||!j&&e.getObjectFlags(r)&16384){return false}var i=!!(e.getObjectFlags(t)&4096);if((a===Ur||a===Vr)&&(isTypeSubsetOf(ht,r)||!i&&isEmptyObjectType(r))){return false}var s=r;var c;if(r.flags&1048576){s=findMatchingDiscriminantType(t,r,isRelatedTo)||filterPrimitivesIfContainsNonPrimitive(r);c=s.flags&1048576?s.types:[s]}var _loop_13=function(r){if(shouldCheckAsExcessProperty(r,t.symbol)&&!isIgnoredJsxProperty(t,r)){if(!isKnownProperty(s,r.escapedName,i)){if(n){var a=filterType(s,isExcessPropertyCheckTarget);if(!o)return{value:e.Debug.fail()};if(e.isJsxAttributes(o)||e.isJsxOpeningLikeElement(o)||e.isJsxOpeningLikeElement(o.parent)){if(r.valueDeclaration&&e.isJsxAttribute(r.valueDeclaration)&&e.getSourceFileOfNode(o)===e.getSourceFileOfNode(r.valueDeclaration.name)){o=r.valueDeclaration.name}reportError(e.Diagnostics.Property_0_does_not_exist_on_type_1,symbolToString(r),typeToString(a))}else{var l=t.symbol&&e.firstOrUndefined(t.symbol.declarations);var u=void 0;if(r.valueDeclaration&&e.findAncestor(r.valueDeclaration,(function(e){return e===l}))&&e.getSourceFileOfNode(l)===e.getSourceFileOfNode(o)){var d=r.valueDeclaration;e.Debug.assertNode(d,e.isObjectLiteralElementLike);o=d;var p=d.name;if(e.isIdentifier(p)){u=getSuggestionForNonexistentProperty(p,a)}}if(u!==undefined){reportError(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,symbolToString(r),typeToString(a),u)}else{reportError(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,symbolToString(r),typeToString(a))}}}return{value:true}}if(c&&!isRelatedTo(getTypeOfSymbol(r),getTypeOfPropertyInTypes(c,r.escapedName),n)){if(n){reportIncompatibleError(e.Diagnostics.Types_of_property_0_are_incompatible,symbolToString(r))}return{value:true}}}};for(var l=0,u=getPropertiesOfType(t);l25){return 0}}var u=new Array(i.length);var d=e.createUnderscoreEscapedMap();for(var p=0;p5){reportError(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,typeToString(t),typeToString(i),e.map(g.slice(0,4),(function(e){return symbolToString(e)})).join(", "),g.length-4)}else{reportError(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,typeToString(t),typeToString(i),e.map(g,(function(e){return symbolToString(e)})).join(", "))}if(c&&u){v++}}}function propertiesRelatedTo(t,r,n,i,o){if(a===zr){return propertiesIdenticalTo(t,r,i)}var s=(a===Jr||a===Wr)&&!isObjectLiteralType(t)&&!isEmptyArrayLiteralType(t)&&!isTupleType(t);var c=getUnmatchedProperty(t,r,s,false);if(c){if(n){reportUnmatchedProperty(t,r,c,s)}return 0}if(isObjectLiteralType(r)){for(var l=0,u=excludeProperties(getPropertiesOfType(t),i);l0&&e.every(r.properties,(function(e){return!!(e.flags&16777216)}))}if(t.flags&2097152){return e.every(t.types,isWeakType)}return false}function hasCommonProperties(e,t,r){for(var n=0,i=getPropertiesOfType(e);n"}else{n+="-"+o.id}}return n}function getRelationKey(e,t,r,n){if(n===zr&&e.id>t.id){var i=e;e=t;t=i}var a=r?":"+r:"";if(isTypeReferenceWithGenericArguments(e)&&isTypeReferenceWithGenericArguments(t)){var o=[];return getTypeReferenceId(e,o)+","+getTypeReferenceId(t,o)+a}return e.id+","+t.id+a}function forEachProperty(t,r){if(e.getCheckFlags(t)&6){for(var n=0,i=t.containingType.types;n=5&&e.flags&524288&&!isObjectOrArrayLiteralType(e)){var n=e.symbol;if(n){var i=0;for(var a=0;a=5)return true}}}}if(r>=5&&e.flags&8388608){var s=getRootObjectTypeFromIndexedAccessChain(e);var i=0;for(var a=0;a=5)return true}}}return false}function getRootObjectTypeFromIndexedAccessChain(e){var t=e;while(t.flags&8388608){t=t.objectType}return t}function isPropertyIdenticalTo(e,t){return compareProperties(e,t,compareTypesIdentical)!==0}function compareProperties(t,r,n){if(t===r){return-1}var i=e.getDeclarationModifierFlagsFromSymbol(t)&24;var a=e.getDeclarationModifierFlagsFromSymbol(r)&24;if(i!==a){return 0}if(i){if(getTargetSymbol(t)!==getTargetSymbol(r)){return 0}}else{if((t.flags&16777216)!==(r.flags&16777216)){return 0}}if(isReadonlySymbol(t)!==isReadonlySymbol(r)){return 0}return n(getTypeOfSymbol(t),getTypeOfSymbol(r))}function isMatchingSignature(e,t,r){var n=getParameterCount(e);var i=getParameterCount(t);var a=getMinArgumentCount(e);var o=getMinArgumentCount(t);var s=hasEffectiveRestParameter(e);var c=hasEffectiveRestParameter(t);if(n===i&&a===o&&s===c){return true}if(r&&a<=o){return true}return false}function compareSignaturesIdentical(t,r,n,i,a,o){if(t===r){return-1}if(!isMatchingSignature(t,r,n)){return 0}if(e.length(t.typeParameters)!==e.length(r.typeParameters)){return 0}if(r.typeParameters){var s=createTypeMapper(t.typeParameters,r.typeParameters);for(var c=0;c-1&&(resolveName(o,o.name.escapedText,788968,undefined,o.name.escapedText,true)||o.name.originalKeywordKind&&e.isTypeNodeKind(o.name.originalKeywordKind))){var s="arg"+o.parent.parameters.indexOf(o);errorOrSuggestion(j,t,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,e.declarationNameToString(o.name));return}a=t.dotDotDotToken?j?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:j?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 191:a=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type;if(!j){return}break;case 300:error(t,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,i);return;case 244:case 161:case 160:case 163:case 164:case 201:case 202:if(j&&!t.name){if(n===3){error(t,e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,i)}else{error(t,e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,i)}return}a=!j?e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:n===3?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;break;case 186:if(j){error(t,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type)}return;default:a=j?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}errorOrSuggestion(j,t,a,e.declarationNameToString(e.getNameOfDeclaration(t)),i)}function reportErrorsFromWidening(t,r,n){if(s&&j&&e.getObjectFlags(r)&524288&&(!n||!getContextualSignatureForFunctionLikeDeclaration(t))){if(!reportWideningErrorsInType(r)){reportImplicitAny(t,r,n)}}}function applyToParameterTypes(e,t,r){var n=getParameterCount(e);var i=getParameterCount(t);var a=getEffectiveRestType(e);var o=getEffectiveRestType(t);var s=o?i-1:i;var c=a?s:Math.min(n,s);var l=getThisTypeOfSignature(e);if(l){var u=getThisTypeOfSignature(t);if(u){r(l,u)}}for(var d=0;de.target.minLength||!getRestTypeOfTupleType(t)&&(!!getRestTypeOfTupleType(e)||getLengthOfTupleType(t)0){for(var T=0,b=r;T1){var r=e.filter(t,isObjectOrArrayLiteralType);if(r.length){var n=getUnionType(r,2);return e.concatenate(e.filter(t,(function(e){return!isObjectOrArrayLiteralType(e)})),[n])}}return t}function getContravariantInference(e){return e.priority&104?getIntersectionType(e.contraCandidates):getCommonSubtype(e.contraCandidates)}function getCovariantInference(t,r){var n=unionObjectAndArrayLiteralCandidates(t.candidates);var i=hasPrimitiveConstraint(t.typeParameter);var a=!i&&t.topLevel&&(t.isFixed||!isTypeParameterAtTopLevel(getReturnTypeOfSignature(r),t.typeParameter));var o=i?e.sameMap(n,getRegularTypeOfLiteralType):a?e.sameMap(n,getWidenedLiteralType):n;var s=t.priority&104?getUnionType(o,2):getCommonSupertype(o);return getWidenedType(s)}function getInferredType(e,t){var r=e.inferences[t];if(!r.inferredType){var n=void 0;var i=e.signature;if(i){var a=r.candidates?getCovariantInference(r,i):undefined;if(r.contraCandidates){var o=getContravariantInference(r);n=a&&!(a.flags&131072)&&isTypeSubtypeOf(a,o)?a:o}else if(a){n=a}else if(e.flags&1){n=Fe}else{var s=getDefaultFromTypeParameter(r.typeParameter);if(s){n=instantiateType(s,mergeTypeMappers(createBackreferenceMapper(e,t),e.nonFixingMapper))}}}else{n=getTypeFromInference(r)}r.inferredType=n||getDefaultTypeArgumentType(!!(e.flags&2));var c=getConstraintOfTypeParameter(r.typeParameter);if(c){var l=instantiateType(c,e.nonFixingMapper);if(!n||!e.compareTypes(n,getTypeWithThisArgument(l,n))){r.inferredType=n=l}}}return r.inferredType}function getDefaultTypeArgumentType(e){return e?ce:fe}function getInferredTypes(e){var t=[];for(var r=0;r=0&&r.parameterIndex=n&&o-1){var u=a.filter((function(e){return e!==undefined}));var d=o=2||(r.flags&(2|32))===0||e.isSourceFile(r.valueDeclaration)||r.valueDeclaration.parent.kind===280){return}var n=e.getEnclosingBlockScopeContainer(r.valueDeclaration);var i=isInsideFunction(t.parent,n);var a=n;var o=false;while(a&&!e.nodeStartsNewLexicalEnvironment(a)){if(e.isIterationStatement(a,false)){o=true;break}a=a.parent}if(o){if(i){var s=true;if(e.isForStatement(n)){var c=e.getAncestor(r.valueDeclaration,243);if(c&&c.parent===n){var l=getPartOfForStatementContainingNode(t.parent,n);if(l){var u=getNodeLinks(l);u.flags|=131072;var d=u.capturedBlockScopeBindings||(u.capturedBlockScopeBindings=[]);e.pushIfUnique(d,r);if(l===n.initializer){s=false}}}}if(s){getNodeLinks(a).flags|=65536}}if(e.isForStatement(n)){var c=e.getAncestor(r.valueDeclaration,243);if(c&&c.parent===n&&isAssignedInBodyOfForStatement(t,n)){getNodeLinks(r.valueDeclaration).flags|=4194304}}getNodeLinks(r.valueDeclaration).flags|=524288}if(i){getNodeLinks(r.valueDeclaration).flags|=262144}}function isBindingCapturedByNode(t,r){var n=getNodeLinks(t);return!!n&&e.contains(n.capturedBlockScopeBindings,getSymbolOfNode(r))}function isAssignedInBodyOfForStatement(t,r){var n=t;while(n.parent.kind===200){n=n.parent}var i=false;if(e.isAssignmentTarget(n)){i=true}else if(n.parent.kind===207||n.parent.kind===208){var a=n.parent;i=a.operator===45||a.operator===46}if(!i){return false}return!!e.findAncestor(n,(function(e){return e===r?"quit":e===r.statement}))}function captureLexicalThis(e,t){getNodeLinks(e).flags|=2;if(t.kind===159||t.kind===162){var r=t.parent;getNodeLinks(r).flags|=4}else{getNodeLinks(t).flags|=4}}function findFirstSuperCall(t){if(e.isSuperCall(t)){return t}else if(e.isFunctionLike(t)){return undefined}return e.forEachChild(t,findFirstSuperCall)}function getSuperCallInConstructor(e){var t=getNodeLinks(e);if(t.hasSuperCall===undefined){t.superCall=findFirstSuperCall(e.body);t.hasSuperCall=t.superCall?true:false}return t.superCall}function classDeclarationExtendsNull(e){var t=getSymbolOfNode(e);var r=getDeclaredTypeOfSymbol(t);var n=getBaseConstructorTypeOfClass(r);return n===he}function checkThisBeforeSuper(t,r,n){var i=r.parent;var a=e.getClassExtendsHeritageElement(i);if(a&&!classDeclarationExtendsNull(i)){var o=getSuperCallInConstructor(r);if(!o||o.end>t.pos){error(t,n)}}}function checkThisExpression(t){var r=e.getThisContainer(t,true);var n=false;if(r.kind===162){checkThisBeforeSuper(t,r,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class)}if(r.kind===202){r=e.getThisContainer(r,false);n=true}switch(r.kind){case 249:error(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 248:error(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 162:if(isInConstructorArgumentInitializer(t,r)){error(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments)}break;case 159:case 158:if(e.hasModifier(r,32)&&!(P.target===99&&P.useDefineForClassFields)){error(t,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer)}break;case 154:error(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}if(n&&O<2){captureLexicalThis(t,r)}var i=tryGetThisTypeAt(t,true,r);if(J){var a=getTypeOfSymbol(q);if(i===a&&n){error(t,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this)}else if(!i){var o=error(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(r)){var s=tryGetThisTypeAt(r);if(s&&s!==a){e.addRelatedInfo(o,e.createDiagnosticForNode(r,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}}return i||ce}function tryGetThisTypeAt(t,r,n){if(r===void 0){r=true}if(n===void 0){n=e.getThisContainer(t,false)}var i=e.isInJSFile(t);if(e.isFunctionLike(n)&&(!isInParameterInitializerBeforeContainingFunction(t)||e.getThisParameter(n))){var a=getClassNameFromPrototypeMethod(n);if(i&&a){var o=checkExpression(a).symbol;if(o&&o.members&&o.flags&16){var s=getDeclaredTypeOfSymbol(o).thisType;if(s){return getFlowTypeOfReference(t,s)}}}else if(i&&(n.kind===201||n.kind===244)&&e.getJSDocClassTag(n)){var s=getDeclaredTypeOfSymbol(getMergedSymbol(n.symbol)).thisType;return getFlowTypeOfReference(t,s)}var c=getThisTypeOfDeclaration(n)||getContextualThisParameterType(n);if(c){return getFlowTypeOfReference(t,c)}}if(e.isClassLike(n.parent)){var l=getSymbolOfNode(n.parent);var u=e.hasModifier(n,32)?getTypeOfSymbol(l):getDeclaredTypeOfSymbol(l).thisType;return getFlowTypeOfReference(t,u)}if(i){var u=getTypeForThisExpressionFromJSDoc(n);if(u&&u!==de){return getFlowTypeOfReference(t,u)}}if(e.isSourceFile(n)){if(n.commonJsModuleIndicator){var d=getSymbolOfNode(n);return d&&getTypeOfSymbol(d)}else if(r){return getTypeOfSymbol(q)}}}function getExplicitThisType(t){var r=e.getThisContainer(t,false);if(e.isFunctionLike(r)){var n=getSignatureFromDeclaration(r);if(n.thisParameter){return getExplicitTypeOfSymbol(n.thisParameter)}}if(e.isClassLike(r.parent)){var i=getSymbolOfNode(r.parent);return e.hasModifier(r,32)?getTypeOfSymbol(i):getDeclaredTypeOfSymbol(i).thisType}}function getClassNameFromPrototypeMethod(t){if(t.kind===201&&e.isBinaryExpression(t.parent)&&e.getAssignmentDeclarationKind(t.parent)===3){return t.parent.left.expression.expression}else if(t.kind===161&&t.parent.kind===193&&e.isBinaryExpression(t.parent.parent)&&e.getAssignmentDeclarationKind(t.parent.parent)===6){return t.parent.parent.left.expression}else if(t.kind===201&&t.parent.kind===281&&t.parent.parent.kind===193&&e.isBinaryExpression(t.parent.parent.parent)&&e.getAssignmentDeclarationKind(t.parent.parent.parent)===6){return t.parent.parent.parent.left.expression}else if(t.kind===201&&e.isPropertyAssignment(t.parent)&&e.isIdentifier(t.parent.name)&&(t.parent.name.escapedText==="value"||t.parent.name.escapedText==="get"||t.parent.name.escapedText==="set")&&e.isObjectLiteralExpression(t.parent.parent)&&e.isCallExpression(t.parent.parent.parent)&&t.parent.parent.parent.arguments[2]===t.parent.parent&&e.getAssignmentDeclarationKind(t.parent.parent.parent)===9){return t.parent.parent.parent.arguments[0].expression}else if(e.isMethodDeclaration(t)&&e.isIdentifier(t.name)&&(t.name.escapedText==="value"||t.name.escapedText==="get"||t.name.escapedText==="set")&&e.isObjectLiteralExpression(t.parent)&&e.isCallExpression(t.parent.parent)&&t.parent.parent.arguments[2]===t.parent&&e.getAssignmentDeclarationKind(t.parent.parent)===9){return t.parent.parent.arguments[0].expression}}function getTypeForThisExpressionFromJSDoc(t){var r=e.getJSDocType(t);if(r&&r.kind===300){var n=r;if(n.parameters.length>0&&n.parameters[0].name&&n.parameters[0].name.escapedText==="this"){return getTypeFromTypeNode(n.parameters[0].type)}}var i=e.getJSDocThisTag(t);if(i&&i.typeExpression){return getTypeFromTypeNode(i.typeExpression)}}function isInConstructorArgumentInitializer(t,r){return!!e.findAncestor(t,(function(t){return e.isFunctionLikeDeclaration(t)?"quit":t.kind===156&&t.parent===r}))}function checkSuperExpression(t){var r=t.parent.kind===196&&t.parent.expression===t;var n=e.getSuperContainer(t,true);var i=false;if(!r){while(n&&n.kind===202){n=e.getSuperContainer(n,true);i=O<2}}var a=isLegalUsageOfSuperExpression(n);var o=0;if(!a){var s=e.findAncestor(t,(function(e){return e===n?"quit":e.kind===154}));if(s&&s.kind===154){error(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name)}else if(r){error(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors)}else if(!n||!n.parent||!(e.isClassLike(n.parent)||n.parent.kind===193)){error(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions)}else{error(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class)}return de}if(!r&&n.kind===162){checkThisBeforeSuper(t,n,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class)}if(e.hasModifier(n,32)||r){o=512}else{o=256}getNodeLinks(t).flags|=o;if(n.kind===161&&e.hasModifier(n,256)){if(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)){getNodeLinks(n).flags|=4096}else{getNodeLinks(n).flags|=2048}}if(i){captureLexicalThis(t.parent,n)}if(n.parent.kind===193){if(O<2){error(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher);return de}else{return ce}}var c=n.parent;if(!e.getClassExtendsHeritageElement(c)){error(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class);return de}var l=getDeclaredTypeOfSymbol(getSymbolOfNode(c));var u=l&&getBaseTypes(l)[0];if(!u){return de}if(n.kind===162&&isInConstructorArgumentInitializer(t,n)){error(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments);return de}return o===512?getBaseConstructorTypeOfClass(l):getTypeWithThisArgument(u,l.thisType);function isLegalUsageOfSuperExpression(t){if(!t){return false}if(r){return t.kind===162}else{if(e.isClassLike(t.parent)||t.parent.kind===193){if(e.hasModifier(t,32)){return t.kind===161||t.kind===160||t.kind===163||t.kind===164}else{return t.kind===161||t.kind===160||t.kind===163||t.kind===164||t.kind===159||t.kind===158||t.kind===162}}}return false}}function getContainingObjectLiteral(e){return(e.kind===161||e.kind===163||e.kind===164)&&e.parent.kind===193?e.parent:e.kind===201&&e.parent.kind===281?e.parent.parent:undefined}function getThisTypeArgument(t){return e.getObjectFlags(t)&4&&t.target===kt?getTypeArguments(t)[0]:undefined}function getThisTypeFromContextualType(t){return mapType(t,(function(t){return t.flags&2097152?e.forEach(t.types,getThisTypeArgument):getThisTypeArgument(t)}))}function getContextualThisParameterType(t){if(t.kind===202){return undefined}if(isContextSensitiveFunctionOrObjectLiteralMethod(t)){var r=getContextualSignature(t);if(r){var n=r.thisParameter;if(n){return getTypeOfSymbol(n)}}}var i=e.isInJSFile(t);if(J||i){var a=getContainingObjectLiteral(t);if(a){var o=getApparentTypeOfContextualType(a);var s=a;var c=o;while(c){var l=getThisTypeFromContextualType(c);if(l){return instantiateType(l,getMapperFromContext(getInferenceContext(a)))}if(s.parent.kind!==281){break}s=s.parent.parent;c=getApparentTypeOfContextualType(s)}return getWidenedType(o?getNonNullableType(o):checkExpressionCached(a))}var u=e.walkUpParenthesizedExpressions(t.parent);if(u.kind===209&&u.operatorToken.kind===62){var d=u.left;if(e.isAccessExpression(d)){var p=d.expression;if(i&&e.isIdentifier(p)){var f=e.getSourceFileOfNode(u);if(f.commonJsModuleIndicator&&getResolvedSymbol(p)===f.symbol){return undefined}}return getWidenedType(checkExpressionCached(p))}}}return undefined}function getContextuallyTypedParameterType(t){var r=t.parent;if(!isContextSensitiveFunctionOrObjectLiteralMethod(r)){return undefined}var n=e.getImmediatelyInvokedFunctionExpression(r);if(n&&n.arguments){var i=getEffectiveCallArguments(n);var a=r.parameters.indexOf(t);if(t.dotDotDotToken){return getSpreadArgumentType(i,a,i.length,ce,undefined)}var o=getNodeLinks(n);var s=o.resolvedSignature;o.resolvedSignature=Ze;var c=a=0)}function getTypeOfPropertyOfContextualType(t,r){return mapType(t,(function(t){if(isGenericMappedType(t)){var n=getConstraintTypeFromMappedType(t);var i=getBaseConstraintOfType(n)||n;var a=getLiteralType(e.unescapeLeadingUnderscores(r));if(isTypeAssignableTo(a,i)){return substituteIndexedMappedType(t,a)}}else if(t.flags&3670016){var o=getPropertyOfType(t,r);if(o){return isCircularMappedProperty(o)?undefined:getTypeOfSymbol(o)}if(isTupleType(t)){var s=getRestTypeOfTupleType(t);if(s&&isNumericLiteralName(r)&&+r>=0){return s}}return isNumericLiteralName(r)&&getIndexTypeOfContextualType(t,1)||getIndexTypeOfContextualType(t,0)}return undefined}),true)}function getIndexTypeOfContextualType(e,t){return mapType(e,(function(e){return getIndexTypeOfStructuredType(e,t)}),true)}function getContextualTypeForObjectLiteralMethod(t,r){e.Debug.assert(e.isObjectLiteralMethod(t));if(t.flags&16777216){return undefined}return getContextualTypeForObjectLiteralElement(t,r)}function getContextualTypeForObjectLiteralElement(e,t){var r=e.parent;var n=getApparentTypeOfContextualType(r,t);if(n){if(!hasNonBindableDynamicName(e)){var i=getSymbolOfNode(e).escapedName;var a=getTypeOfPropertyOfContextualType(n,i);if(a){return a}}return isNumericName(e.name)&&getIndexTypeOfContextualType(n,1)||getIndexTypeOfContextualType(n,0)}return undefined}function getContextualTypeForElementExpression(e,t){return e&&(getTypeOfPropertyOfContextualType(e,""+t)||getIteratedTypeOrElementType(1,e,ge,undefined,false))}function getContextualTypeForConditionalOperand(e,t){var r=e.parent;return e===r.whenTrue||e===r.whenFalse?getContextualType(r,t):undefined}function getContextualTypeForChildJsxExpression(e,t){var r=getApparentTypeOfContextualType(e.openingElement.tagName);var n=getJsxElementChildrenPropertyName(getJsxNamespaceAt(e));if(!(r&&!isTypeAny(r)&&n&&n!=="")){return undefined}var i=getSemanticJsxChildren(e.children);var a=i.indexOf(t);var o=getTypeOfPropertyOfContextualType(r,n);return o&&(i.length===1?o:mapType(o,(function(e){if(isArrayLikeType(e)){return getIndexedAccessType(e,getLiteralType(a))}else{return e}}),true))}function getContextualTypeForJsxExpression(t){var r=t.parent;return e.isJsxAttributeLike(r)?getContextualType(t):e.isJsxElement(r)?getContextualTypeForChildJsxExpression(r,t):undefined}function getContextualTypeForJsxAttribute(t){if(e.isJsxAttribute(t)){var r=getApparentTypeOfContextualType(t.parent);if(!r||isTypeAny(r)){return undefined}return getTypeOfPropertyOfContextualType(r,t.name.escapedText)}else{return getContextualType(t.parent)}}function isPossiblyDiscriminantValue(e){switch(e.kind){case 10:case 8:case 9:case 14:case 106:case 91:case 100:case 75:case 146:return true;case 194:case 200:return isPossiblyDiscriminantValue(e.expression);case 276:return!e.expression||isPossiblyDiscriminantValue(e.expression)}return false}function discriminateContextualTypeByObjectMembers(t,r){return discriminateTypeByDiscriminableItems(r,e.map(e.filter(t.properties,(function(e){return!!e.symbol&&e.kind===281&&isPossiblyDiscriminantValue(e.initializer)&&isDiscriminantProperty(r,e.symbol.escapedName)})),(function(e){return[function(){return checkExpression(e.initializer)},e.symbol.escapedName]})),isTypeAssignableTo,r)}function discriminateContextualTypeByJSXAttributes(t,r){return discriminateTypeByDiscriminableItems(r,e.map(e.filter(t.properties,(function(e){return!!e.symbol&&e.kind===273&&isDiscriminantProperty(r,e.symbol.escapedName)&&(!e.initializer||isPossiblyDiscriminantValue(e.initializer))})),(function(e){return[!e.initializer?function(){return De}:function(){return checkExpression(e.initializer)},e.symbol.escapedName]})),isTypeAssignableTo,r)}function getApparentTypeOfContextualType(t,r){var n=e.isObjectLiteralMethod(t)?getContextualTypeForObjectLiteralMethod(t,r):getContextualType(t,r);var i=instantiateContextualType(n,t,r);if(i&&!(r&&r&2&&i.flags&8650752)){var a=mapType(i,getApparentType,true);if(a.flags&1048576){if(e.isObjectLiteralExpression(t)){return discriminateContextualTypeByObjectMembers(t,a)}else if(e.isJsxAttributes(t)){return discriminateContextualTypeByJSXAttributes(t,a)}}return a}}function instantiateContextualType(t,r,n){if(t&&maybeTypeOfKind(t,63176704)){var i=getInferenceContext(r);if(i&&e.some(i.inferences,hasInferenceCandidates)){if(n&&n&1){return instantiateInstantiableTypes(t,i.nonFixingMapper)}if(i.returnMapper){return instantiateInstantiableTypes(t,i.returnMapper)}}}return t}function instantiateInstantiableTypes(t,r){if(t.flags&63176704){return instantiateType(t,r)}if(t.flags&1048576){return getUnionType(e.map(t.types,(function(e){return instantiateInstantiableTypes(e,r)})),0)}if(t.flags&2097152){return getIntersectionType(e.map(t.types,(function(e){return instantiateInstantiableTypes(e,r)})))}return t}function getContextualType(t,r){if(t.flags&16777216){return undefined}if(t.contextualType){return t.contextualType}var n=t.parent;switch(n.kind){case 242:case 156:case 159:case 158:case 191:return getContextualTypeForInitializerExpression(t);case 202:case 235:return getContextualTypeForReturnExpression(t);case 212:return getContextualTypeForYieldOperand(n);case 206:return getContextualTypeForAwaitOperand(n);case 196:if(n.expression.kind===96){return ve}case 197:return getContextualTypeForArgument(n,t);case 199:case 217:return e.isConstTypeReference(n.type)?undefined:getTypeFromTypeNode(n.type);case 209:return getContextualTypeForBinaryOperand(t,r);case 281:case 282:return getContextualTypeForObjectLiteralElement(n,r);case 283:return getApparentTypeOfContextualType(n.parent,r);case 192:{var i=n;var a=getApparentTypeOfContextualType(i,r);return getContextualTypeForElementExpression(a,e.indexOfNode(i.elements,t))}case 210:return getContextualTypeForConditionalOperand(t,r);case 221:e.Debug.assert(n.parent.kind===211);return getContextualTypeForSubstitutionExpression(n.parent,t);case 200:{var o=e.isInJSFile(n)?e.getJSDocTypeTag(n):undefined;return o?getTypeFromTypeNode(o.typeExpression.type):getContextualType(n,r)}case 276:return getContextualTypeForJsxExpression(n);case 273:case 275:return getContextualTypeForJsxAttribute(n);case 268:case 267:return getContextualJsxElementAttributesType(n,r)}return undefined}function getInferenceContext(t){var r=e.findAncestor(t,(function(e){return!!e.inferenceContext}));return r&&r.inferenceContext}function getContextualJsxElementAttributesType(t,r){if(e.isJsxOpeningElement(t)&&t.parent.contextualType&&r!==4){return t.parent.contextualType}return getContextualTypeForArgumentAtIndex(t,0)}function getEffectiveFirstArgumentForJsxSignature(e,t){return getJsxReferenceKind(t)!==0?getJsxPropsTypeFromCallSignature(e,t):getJsxPropsTypeFromClassType(e,t)}function getJsxPropsTypeFromCallSignature(e,t){var r=getTypeOfFirstParameterOfSignatureWithFallback(e,fe);r=getJsxManagedAttributesFromLocatedAttributes(t,getJsxNamespaceAt(t),r);var n=getJsxType(k.IntrinsicAttributes,t);if(n!==de){r=intersectTypes(n,r)}return r}function getJsxPropsTypeForSignatureFromMember(e,t){if(e.unionSignatures){var r=[];for(var n=0,i=e.unionSignatures;n=2){var s=fillMissingTypeArguments([o,n],a.typeParameters,2,e.isInJSFile(t));return createTypeReference(a,s)}else if(e.length(a.aliasTypeArguments)>=2){var s=fillMissingTypeArguments([o,n],a.aliasTypeArguments,2,e.isInJSFile(t));return getTypeAliasInstantiation(a.aliasSymbol,s)}}return n}function getJsxPropsTypeFromClassType(t,r){var n=getJsxNamespaceAt(r);var i=getJsxElementPropertiesName(n);var a=i===undefined?getTypeOfFirstParameterOfSignatureWithFallback(t,fe):i===""?getReturnTypeOfSignature(t):getJsxPropsTypeForSignatureFromMember(t,i);if(!a){if(!!i&&!!e.length(r.attributes.properties)){error(r,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(i))}return fe}a=getJsxManagedAttributesFromLocatedAttributes(r,n,a);if(isTypeAny(a)){return a}else{var o=a;var s=getJsxType(k.IntrinsicClassAttributes,r);if(s!==de){var c=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(s.symbol);var l=getReturnTypeOfSignature(t);o=intersectTypes(c?createTypeReference(s,fillMissingTypeArguments([l],c,getMinTypeArgumentCount(c),e.isInJSFile(r))):s,o)}var u=getJsxType(k.IntrinsicAttributes,r);if(u!==de){o=intersectTypes(u,o)}return o}}function getContextualCallSignature(e,t){var r=getSignaturesOfType(e,0);if(r.length===1){var n=r[0];if(!isAritySmaller(n,t)){return n}}}function isAritySmaller(t,r){var n=0;for(;n0){var h=cloneTypeReference(createTupleType(o,v,s));h.pattern=t;return h}else if(T=getArrayLiteralTupleTypeIfApplicable(o,l,s,o.length,d)){return createArrayLiteralType(T)}else if(n){return createArrayLiteralType(createTupleType(o,v,s))}}return createArrayLiteralType(createArrayType(o.length?getUnionType(o,2):M?Oe:me,d))}function createArrayLiteralType(t){if(!(e.getObjectFlags(t)&4)){return t}var r=t.literalType;if(!r){r=t.literalType=cloneTypeReference(t);r.objectFlags|=65536|1048576}return r}function getArrayLiteralTupleTypeIfApplicable(e,t,r,n,i){if(n===void 0){n=e.length}if(i===void 0){i=false}if(i||t&&forEachType(t,isTupleLikeType)){return createTupleType(e,n-(r?1:0),r,i)}}function isNumericName(e){switch(e.kind){case 154:return isNumericComputedName(e);case 75:return isNumericLiteralName(e.escapedText);case 8:case 10:return isNumericLiteralName(e.text);default:return false}}function isNumericComputedName(e){return isTypeAssignableToKind(checkComputedPropertyName(e),296)}function isInfinityOrNaNString(e){return e==="Infinity"||e==="-Infinity"||e==="NaN"}function isNumericLiteralName(e){return(+e).toString()===e}function checkComputedPropertyName(t){var r=getNodeLinks(t.expression);if(!r.resolvedType){r.resolvedType=checkExpression(t.expression);if(r.resolvedType.flags&98304||!isTypeAssignableToKind(r.resolvedType,132|296|12288)&&!isTypeAssignableTo(r.resolvedType,Me)){error(t,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}else{checkThatExpressionIsProperSymbolReference(t.expression,r.resolvedType,true)}}return r.resolvedType}function getObjectLiteralIndexInfo(e,t,r,n){var i=[];for(var a=0;a0){s=getSpreadType(s,createObjectLiteralType(),t.symbol,m,u);o=[];a=e.createSymbolTable();y=false;h=false}var N=getReducedType(checkExpression(D.expression));if(!isValidSpreadType(N)){error(D,e.Diagnostics.Spread_types_may_only_be_created_from_object_types);return de}if(i){checkSpreadPropOverrides(N,i,D)}s=getSpreadType(s,N,t.symbol,m,u);S=x+1;continue}else{e.Debug.assert(D.kind===163||D.kind===164);checkNodeDeferred(D)}if(E&&!(E.flags&8576)){if(isTypeAssignableTo(E,Me)){if(isTypeAssignableTo(E,Te)){h=true}else{y=true}if(n){_=true}}}else{a.set(C.escapedName,C)}o.push(C)}if(l&&t.parent.kind!==283){for(var L=0,R=getPropertiesOfType(c);L0){s=getSpreadType(s,createObjectLiteralType(),t.symbol,m,u);o=[];a=e.createSymbolTable();y=false;h=false}return mapType(s,(function(e){return e===Je?createObjectLiteralType():e}))}return createObjectLiteralType();function createObjectLiteralType(){var r=y?getObjectLiteralIndexInfo(t,S,o,0):undefined;var i=h?getObjectLiteralIndexInfo(t,S,o,1):undefined;var s=createAnonymousType(t.symbol,a,e.emptyArray,e.emptyArray,r,i);s.objectFlags|=m|128|1048576;if(g){s.objectFlags|=16384}if(_){s.objectFlags|=512}if(n){s.pattern=t}return s}}function isValidSpreadType(t){if(t.flags&63176704){var r=getBaseConstraintOfType(t);if(r!==undefined){return isValidSpreadType(r)}}return!!(t.flags&(1|67108864|524288|58982400)||getFalsyFlags(t)&117632&&isValidSpreadType(removeDefinitelyFalsyTypes(t))||t.flags&3145728&&e.every(t.types,isValidSpreadType))}function checkJsxSelfClosingElementDeferred(e){checkJsxOpeningLikeElementOrOpeningFragment(e);resolveUntypedCall(e)}function checkJsxSelfClosingElement(e,t){checkNodeDeferred(e);return getJsxElementTypeAt(e)||ce}function checkJsxElementDeferred(e){checkJsxOpeningLikeElementOrOpeningFragment(e.openingElement);if(isJsxIntrinsicIdentifier(e.closingElement.tagName)){getIntrinsicTagSymbol(e.closingElement)}else{checkExpression(e.closingElement.tagName)}checkJsxChildren(e)}function checkJsxElement(e,t){checkNodeDeferred(e);return getJsxElementTypeAt(e)||ce}function checkJsxFragment(t){checkJsxOpeningLikeElementOrOpeningFragment(t.openingFragment);if(P.jsx===2&&(P.jsxFactory||e.getSourceFileOfNode(t).pragmas.has("jsx"))){error(t,P.jsxFactory?e.Diagnostics.JSX_fragment_is_not_supported_when_using_jsxFactory:e.Diagnostics.JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma)}checkJsxChildren(t);return getJsxElementTypeAt(t)||ce}function isUnhyphenatedJsxName(t){return!e.stringContains(t,"-")}function isJsxIntrinsicIdentifier(t){return t.kind===75&&e.isIntrinsicJsxName(t.escapedText)}function checkJsxAttribute(e,t){return e.initializer?checkExpressionForMutableLocation(e.initializer,t):De}function createJsxAttributesTypeFromAttributesProperty(t,r){var n=t.attributes;var i=M?e.createSymbolTable():undefined;var a=e.createSymbolTable();var o=We;var s=false;var c;var l=false;var u=4096;var d=getJsxElementChildrenPropertyName(getJsxNamespaceAt(t));for(var p=0,f=n.properties;p0){o=getSpreadType(o,createJsxAttributesType(),n.symbol,u,false);a=e.createSymbolTable()}var _=getReducedType(checkExpressionCached(g.expression,r));if(isTypeAny(_)){s=true}if(isValidSpreadType(_)){o=getSpreadType(o,_,n.symbol,u,false);if(i){checkSpreadPropOverrides(_,i,g)}}else{c=c?getIntersectionType([c,_]):_}}}if(!s){if(a.size>0){o=getSpreadType(o,createJsxAttributesType(),n.symbol,u,false)}}var h=t.parent.kind===266?t.parent:undefined;if(h&&h.openingElement===t&&h.children.length>0){var v=checkJsxChildren(h,r);if(!s&&d&&d!==""){if(l){error(n,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(d))}var T=getApparentTypeOfContextualType(t.attributes);var b=T&&getTypeOfPropertyOfContextualType(T,d);var S=createSymbol(4|33554432,d);S.type=v.length===1?v[0]:getArrayLiteralTupleTypeIfApplicable(v,b,false)||createArrayType(getUnionType(v));S.valueDeclaration=e.createPropertySignature(undefined,e.unescapeLeadingUnderscores(d),undefined,undefined,undefined);S.valueDeclaration.parent=n;S.valueDeclaration.symbol=S;var x=e.createSymbolTable();x.set(d,S);o=getSpreadType(o,createAnonymousType(n.symbol,x,e.emptyArray,e.emptyArray,undefined,undefined),n.symbol,u,false)}}if(s){return ce}if(c&&o!==We){return getIntersectionType([c,o])}return c||(o===We?createJsxAttributesType():o);function createJsxAttributesType(){u|=U;var t=createAnonymousType(n.symbol,a,e.emptyArray,e.emptyArray,undefined,undefined);t.objectFlags|=u|128|1048576;return t}}function checkJsxChildren(e,t){var r=[];for(var n=0,i=e.children;n1){error(n.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(t))}}return undefined}function getJsxLibraryManagedAttributes(e){return e&&getSymbol(e.exports,k.LibraryManagedAttributes,788968)}function getJsxElementPropertiesName(e){return getNameFromJsxElementAttributesContainer(k.ElementAttributesPropertyNameContainer,e)}function getJsxElementChildrenPropertyName(e){return getNameFromJsxElementAttributesContainer(k.ElementChildrenAttributeNameContainer,e)}function getUninstantiatedJsxSignaturesOfType(t,r){if(t.flags&4){return[Ze]}else if(t.flags&128){var n=getIntrinsicAttributesTypeFromStringLiteralType(t,r);if(!n){error(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,"JSX."+k.IntrinsicElements);return e.emptyArray}else{var i=createSignatureForJSXIntrinsic(r,n);return[i]}}var a=getApparentType(t);var o=getSignaturesOfType(a,1);if(o.length===0){o=getSignaturesOfType(a,0)}if(o.length===0&&a.flags&1048576){o=getUnionSignatures(e.map(a.types,(function(e){return getUninstantiatedJsxSignaturesOfType(e,r)})))}return o}function getIntrinsicAttributesTypeFromStringLiteralType(t,r){var n=getJsxType(k.IntrinsicElements,r);if(n!==de){var i=t.value;var a=getPropertyOfType(n,e.escapeLeadingUnderscores(i));if(a){return getTypeOfSymbol(a)}var o=getIndexTypeOfType(n,0);if(o){return o}return undefined}return ce}function checkJsxReturnAssignableToAppropriateBound(t,r,n){if(t===1){var i=getJsxStatelessElementTypeAt(n);if(i){checkTypeRelatedTo(r,i,Ur,n.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else if(t===0){var a=getJsxElementClassTypeAt(n);if(a){checkTypeRelatedTo(r,a,Ur,n.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else{var i=getJsxStatelessElementTypeAt(n);var a=getJsxElementClassTypeAt(n);if(!i||!a){return}var o=getUnionType([i,a]);checkTypeRelatedTo(r,o,Ur,n.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}function generateInitialErrorChain(){var t=e.getTextOfNode(n.tagName);return e.chainDiagnosticMessages(undefined,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,t)}}function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(t){e.Debug.assert(isJsxIntrinsicIdentifier(t.tagName));var r=getNodeLinks(t);if(!r.resolvedJsxElementAttributesType){var n=getIntrinsicTagSymbol(t);if(r.jsxFlags&1){return r.resolvedJsxElementAttributesType=getTypeOfSymbol(n)}else if(r.jsxFlags&2){return r.resolvedJsxElementAttributesType=getIndexTypeOfType(getDeclaredTypeOfSymbol(n),0)}else{return r.resolvedJsxElementAttributesType=de}}return r.resolvedJsxElementAttributesType}function getJsxElementClassTypeAt(e){var t=getJsxType(k.ElementClass,e);if(t===de)return undefined;return t}function getJsxElementTypeAt(e){return getJsxType(k.Element,e)}function getJsxStatelessElementTypeAt(e){var t=getJsxElementTypeAt(e);if(t){return getUnionType([t,ye])}}function getJsxIntrinsicTagNamesAt(t){var r=getJsxType(k.IntrinsicElements,t);return r?getPropertiesOfType(r):e.emptyArray}function checkJsxPreconditions(t){if((P.jsx||0)===0){error(t,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided)}if(getJsxElementTypeAt(t)===undefined){if(j){error(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}}}function checkJsxOpeningLikeElementOrOpeningFragment(t){var r=e.isJsxOpeningLikeElement(t);if(r){checkGrammarJsxElement(t)}checkJsxPreconditions(t);var n=Ir&&P.jsx===2?e.Diagnostics.Cannot_find_name_0:undefined;var i=getJsxNamespace(t);var a=r?t.tagName:t;var o=resolveName(a,i,111551,n,i,true);if(o){o.isReferenced=67108863;if(o.flags&2097152&&!getTypeOnlyAliasDeclaration(o)){markAliasSymbolAsReferenced(o)}}if(r){var s=t;var c=getResolvedSignature(s);checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(s),getReturnTypeOfSignature(c),s)}}function isKnownProperty(e,t,r){if(e.flags&524288){var n=resolveStructuredTypeMembers(e);if(n.stringIndexInfo||n.numberIndexInfo&&isNumericLiteralName(t)||getPropertyOfObjectType(e,t)||r&&!isUnhyphenatedJsxName(t)){return true}}else if(e.flags&3145728&&isExcessPropertyCheckTarget(e)){for(var i=0,a=e.types;i=1&&isTypeAssignableTo(n,getTypeAtPosition(i,0))}return false}var i=e.isAssignmentTarget(r)?"set":"get";if(!hasProp(i)){return undefined}var a=e.tryGetPropertyAccessOrIdentifierToString(r.expression);if(a===undefined){a=i}else{a+="."+i}return a}function getSpellingSuggestionForName(t,r,n){return e.getSpellingSuggestion(t,r,getCandidateName);function getCandidateName(t){var r=e.symbolName(t);if(e.startsWith(r,'"')){return undefined}if(t.flags&n){return r}if(t.flags&2097152){var i=tryResolveAlias(t);if(i&&i.flags&n){return r}}return undefined}}function markPropertyAsReferenced(t,r,n){var i=t&&t.flags&106500&&t.valueDeclaration;if(!i){return}var a=e.hasModifier(i,8);var o=e.isNamedDeclaration(t.valueDeclaration)&&e.isPrivateIdentifier(t.valueDeclaration.name);if(!a&&!o){return}if(r&&e.isWriteOnlyAccess(r)&&!(t.flags&65536)){return}if(n){var s=e.findAncestor(r,e.isFunctionLikeDeclaration);if(s&&s.symbol===t){return}}(e.getCheckFlags(t)&1?getSymbolLinks(t).target:t).isReferenced=67108863}function isValidPropertyAccess(e,t){switch(e.kind){case 194:return isValidPropertyAccessWithType(e,e.expression.kind===102,t,getWidenedType(checkExpression(e.expression)));case 153:return isValidPropertyAccessWithType(e,false,t,getWidenedType(checkExpression(e.left)));case 188:return isValidPropertyAccessWithType(e,false,t,getTypeFromTypeNode(e))}}function isValidPropertyAccessForCompletions(e,t,r){return isValidPropertyAccessWithType(e,e.kind===194&&e.expression.kind===102,r.escapedName,t)}function isValidPropertyAccessWithType(t,r,n,i){if(i===de||isTypeAny(i)){return true}var a=getPropertyOfType(i,n);if(a){if(e.isPropertyAccessExpression(t)&&a.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(a.valueDeclaration)){var o=e.getContainingClass(a.valueDeclaration);return!e.isOptionalChain(t)&&!!e.findAncestor(t,(function(e){return e===o}))}return checkPropertyAccessibility(t,r,i,a)}return e.isInJSFile(t)&&(i.flags&1048576)!==0&&i.types.some((function(e){return isValidPropertyAccessWithType(t,r,n,e)}))}function getForInVariableSymbol(t){var r=t.initializer;if(r.kind===243){var n=r.declarations[0];if(n&&!e.isBindingPattern(n.name)){return getSymbolOfNode(n)}}else if(r.kind===75){return getResolvedSymbol(r)}return undefined}function hasNumericPropertyNames(e){return getIndexTypeOfType(e,1)&&!getIndexTypeOfType(e,0)}function isForInVariableForNumericPropertyNames(t){var r=e.skipParentheses(t);if(r.kind===75){var n=getResolvedSymbol(r);if(n.flags&3){var i=t;var a=t.parent;while(a){if(a.kind===231&&i===a.statement&&getForInVariableSymbol(a)===n&&hasNumericPropertyNames(getTypeOfExpression(a.expression))){return true}i=a;a=a.parent}}}return false}function checkIndexedAccess(e){return e.flags&32?checkElementAccessChain(e):checkElementAccessExpression(e,checkNonNullExpression(e.expression))}function checkElementAccessChain(e){var t=checkExpression(e.expression);var r=getOptionalExpressionType(t,e.expression);return propagateOptionalTypeMarker(checkElementAccessExpression(e,checkNonNullType(r,e.expression)),e,r!==t)}function checkElementAccessExpression(t,r){var n=e.getAssignmentTargetKind(t)!==0||isMethodAccessForCall(t)?getWidenedType(r):r;var i=t.argumentExpression;var a=checkExpression(i);if(n===de||n===Fe){return n}if(isConstEnumObjectType(n)&&!e.isStringLiteralLike(i)){error(i,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal);return de}var o=isForInVariableForNumericPropertyNames(i)?Te:a;var s=e.isAssignmentTarget(t)?2|(isGenericObjectType(n)&&!isThisTypeParameter(n)?1:0):0;var c=getIndexedAccessTypeOrUndefined(n,o,t,s)||de;return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(t,c.symbol,c,i),t)}function checkThatExpressionIsProperSymbolReference(t,r,n){if(r===de){return false}if(!e.isWellKnownSymbolSyntactically(t)){return false}if((r.flags&12288)===0){if(n){error(t,e.Diagnostics.A_computed_property_name_of_the_form_0_must_be_of_type_symbol,e.getTextOfNode(t))}return false}var i=t.expression;var a=getResolvedSymbol(i);if(!a){return false}var o=getGlobalESSymbolConstructorSymbol(true);if(!o){return false}if(a!==o){if(n){error(i,e.Diagnostics.Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object)}return false}return true}function callLikeExpressionMayHaveTypeArguments(t){return e.isCallOrNewExpression(t)||e.isTaggedTemplateExpression(t)||e.isJsxOpeningLikeElement(t)}function resolveUntypedCall(t){if(callLikeExpressionMayHaveTypeArguments(t)){e.forEach(t.typeArguments,checkSourceElement)}if(t.kind===198){checkExpression(t.template)}else if(e.isJsxOpeningLikeElement(t)){checkExpression(t.attributes)}else if(t.kind!==157){e.forEach(t.arguments,(function(e){checkExpression(e)}))}return Ze}function resolveErrorCall(e){resolveUntypedCall(e);return et}function reorderCandidates(t,r,n){var i;var a;var o=0;var s;var c=-1;var l;e.Debug.assert(!r.length);for(var u=0,d=t;u=0){return d>=getMinArgumentCount(n)&&(hasEffectiveRestParameter(n)||ds){return false}if(o||a>=c){return true}for(var p=a;p=i&&r.length<=n}function getSingleCallSignature(e){return getSingleSignature(e,0,false)}function getSingleCallOrConstructSignature(e){return getSingleSignature(e,0,false)||getSingleSignature(e,1,false)}function getSingleSignature(e,t,r){if(e.flags&524288){var n=resolveStructuredTypeMembers(e);if(r||n.properties.length===0&&!n.stringIndexInfo&&!n.numberIndexInfo){if(t===0&&n.callSignatures.length===1&&n.constructSignatures.length===0){return n.callSignatures[0]}if(t===1&&n.constructSignatures.length===1&&n.callSignatures.length===0){return n.constructSignatures[0]}}}return undefined}function instantiateSignatureInContextOf(t,r,n,i){var a=createInferenceContext(t.typeParameters,t,0,i);var o=getEffectiveRestType(r);var s=n&&(o&&o.flags&262144?n.nonFixingMapper:n.mapper);var c=s?instantiateSignature(r,s):r;applyToParameterTypes(c,t,(function(e,t){inferTypes(a.inferences,e,t)}));if(!n){applyToReturnTypes(r,t,(function(e,t){inferTypes(a.inferences,e,t,32)}))}return getSignatureInstantiation(t,getInferredTypes(a),e.isInJSFile(r.declaration))}function inferJsxTypeArguments(e,t,r,n){var i=getEffectiveFirstArgumentForJsxSignature(t,e);var a=checkExpressionWithContextualType(e.attributes,i,n,r);inferTypes(n.inferences,a,i);return getInferredTypes(n)}function inferTypeArguments(t,r,n,i,a){if(e.isJsxOpeningLikeElement(t)){return inferJsxTypeArguments(t,r,i,a)}if(t.kind!==157){var o=getContextualType(t);if(o){var s=getInferenceContext(t);var c=getMapperFromContext(cloneInferenceContext(s,1));var l=instantiateType(o,c);var u=getSingleCallSignature(l);var d=u&&u.typeParameters?getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(u,u.typeParameters)):l;var p=getReturnTypeOfSignature(r);inferTypes(a.inferences,d,p,32);var f=createInferenceContext(r.typeParameters,r,a.flags);var g=instantiateType(o,s&&s.returnMapper);inferTypes(f.inferences,g,p);a.returnMapper=e.some(f.inferences,hasInferenceCandidates)?getMapperFromContext(cloneInferredPartOfContext(f)):undefined}}var m=getThisTypeOfSignature(r);if(m){var _=getThisArgumentOfCall(t);var y=_?checkExpression(_):ke;inferTypes(a.inferences,y,m)}var h=getNonArrayRestType(r);var v=h?Math.min(getParameterCount(r)-1,n.length):n.length;for(var T=0;T=n-1){var o=t[n-1];if(isSpreadArgument(o)){return o.kind===220?createArrayType(o.type):getArrayifiedType(checkExpressionWithContextualType(o.expression,i,a,0))}}var s=[];var c=-1;for(var l=r;lp){p=b}}}if(!d){return true}var S=Infinity;for(var x=0,D=i;x0||e.isJsxOpeningElement(t)&&t.parent.children.length>0?[t.attributes]:e.emptyArray}var i=t.arguments||e.emptyArray;var a=i.length;if(a&&isSpreadArgument(i[a-1])&&getSpreadArgumentIndex(i)===a-1){var o=i[a-1];var s=nr?checkExpression(o.expression):checkExpressionCached(o.expression);if(isTupleType(s)){var c=getTypeArguments(s);var l=s.target.hasRestElement?c.length-1:-1;var u=e.map(c,(function(e,t){return createSyntheticExpression(o,e,t===l)}));return e.concatenate(i.slice(0,a-1),u)}}return i}function getEffectiveDecoratorArguments(t){var r=t.parent;var n=t.expression;switch(r.kind){case 245:case 214:return[createSyntheticExpression(n,getTypeOfSymbol(getSymbolOfNode(r)))];case 156:var i=r.parent;return[createSyntheticExpression(n,r.parent.kind===162?getTypeOfSymbol(getSymbolOfNode(i)):de),createSyntheticExpression(n,ce),createSyntheticExpression(n,Te)];case 159:case 161:case 163:case 164:var a=r.kind!==159&&O!==0;return[createSyntheticExpression(n,getParentTypeOfClassElement(r)),createSyntheticExpression(n,getClassElementPropertyKeyType(r)),createSyntheticExpression(n,a?createTypedPropertyDescriptorType(getTypeOfNode(r)):ce)]}return e.Debug.fail()}function getDecoratorArgumentCount(t,r){switch(t.parent.kind){case 245:case 214:return 1;case 159:return 2;case 161:case 163:case 164:return O===0||r.parameters.length<=2?2:3;case 156:return 3;default:return e.Debug.fail()}}function getDiagnosticSpanForCallNode(t,r){var n;var i;var a=e.getSourceFileOfNode(t);if(e.isPropertyAccessExpression(t.expression)){var o=e.getErrorSpanForNode(a,t.expression.name);n=o.start;i=r?o.length:t.end-n}else{var s=e.getErrorSpanForNode(a,t.expression);n=s.start;i=r?s.length:t.end-n}return{start:n,length:i,sourceFile:a}}function getDiagnosticForCallNode(t,r,n,i,a,o){if(e.isCallExpression(t)){var s=getDiagnosticSpanForCallNode(t),c=s.sourceFile,l=s.start,u=s.length;return e.createFileDiagnostic(c,l,u,r,n,i,a,o)}else{return e.createDiagnosticForNode(t,r,n,i,a,o)}}function getArgumentArityError(t,r,n){var i=Number.POSITIVE_INFINITY;var a=Number.NEGATIVE_INFINITY;var o=Number.NEGATIVE_INFINITY;var s=Number.POSITIVE_INFINITY;var c=n.length;var l;for(var u=0,d=r;uo)o=f;if(c-1;if(c<=a&&y){c--}var h;var v;var T=m||y?m&&y?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:m?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:e.Diagnostics.Expected_0_arguments_but_got_1_or_more:e.Diagnostics.Expected_0_arguments_but_got_1;if(l&&getMinArgumentCount(l)>c&&l.declaration){var b=l.declaration.parameters[l.thisParameter?c+1:c];if(b){v=e.createDiagnosticForNode(b,e.isBindingPattern(b.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,!b.name?c:!e.isBindingPattern(b.name)?e.idText(e.getFirstIdentifier(b.name)):undefined)}}if(ic&&x?n.indexOf(x):Math.min(a,n.length-1)))}}else{h=e.createNodeArray(n.slice(a))}h.pos=e.first(h).pos;h.end=e.last(h).end;if(h.end===h.pos){h.end++}var D=e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),h,T,_,c);return v?e.addRelatedInfo(D,v):D}function getTypeArgumentArityError(t,r,n){var i=n.length;if(r.length===1){var a=r[0];var o=getMinTypeArgumentCount(a.typeParameters);var s=e.length(a.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),n,e.Diagnostics.Expected_0_type_arguments_but_got_1,oi){l=Math.min(l,p)}else if(s1){v=chooseOverload(p,Jr,T)}if(!v){v=chooseOverload(p,Ur,T)}if(v){return v}if(u){if(_){if(_.length===1||_.length>3){var b=_[_.length-1];var S;if(_.length>3){S=e.chainDiagnosticMessages(S,e.Diagnostics.The_last_overload_gave_the_following_error);S=e.chainDiagnosticMessages(S,e.Diagnostics.No_overload_matches_this_call)}var x=getSignatureApplicabilityError(t,f,b,Ur,0,true,(function(){return S}));if(x){for(var D=0,C=x;D3){e.addRelatedInfo(E,e.createDiagnosticForNode(b.declaration,e.Diagnostics.The_last_overload_is_declared_here))}Ir.add(E)}}else{e.Debug.fail("No error for last overload signature")}}else{var N=[];var k=0;var A=Number.MAX_VALUE;var F=0;var P=0;var _loop_17=function(r){var chain_2=function(){return e.chainDiagnosticMessages(undefined,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,P+1,p.length,signatureToString(r))};var n=getSignatureApplicabilityError(t,f,r,Ur,0,true,chain_2);if(n){if(n.length<=A){A=n.length;F=P}k=Math.max(k,n.length);N.push(n)}else{e.Debug.fail("No error for 3 or fewer overload signatures")}P++};for(var O=0,I=_;O1?N[F]:e.flatten(N);e.Debug.assert(M.length>0,"No errors reported for 3 or fewer overload signatures");var L=e.chainDiagnosticMessages(e.map(M,(function(e){return typeof e.messageText==="string"?e:e.messageText})),e.Diagnostics.No_overload_matches_this_call);var R=e.flatMap(M,(function(e){return e.relatedInformation}));if(e.every(M,(function(e){return e.start===M[0].start&&e.length===M[0].length&&e.file===M[0].file}))){var B=M[0],j=B.file,J=B.start,W=B.length;Ir.add({file:j,start:J,length:W,code:L.code,category:L.category,messageText:L,relatedInformation:R})}else{Ir.add(e.createDiagnosticForNodeFromMessageChain(t,L,R))}}}else if(y){Ir.add(getArgumentArityError(t,[y],f))}else if(h){checkTypeArguments(h,t.typeArguments,true,o)}else{var U=e.filter(r,(function(e){return hasCorrectTypeArgumentArity(e,d)}));if(U.length===0){Ir.add(getTypeArgumentArityError(t,r,d))}else if(!c){Ir.add(getArgumentArityError(t,U,f))}else if(o){Ir.add(getDiagnosticForCallNode(t,o))}}}return getCandidateForOverloadFailure(t,p,f,!!n);function chooseOverload(r,n,i){if(i===void 0){i=false}_=undefined;y=undefined;h=undefined;if(g){var a=r[0];if(e.some(d)||!hasCorrectArity(t,f,a,i)){return undefined}if(getSignatureApplicabilityError(t,f,a,n,0,false,undefined)){_=[a];return undefined}return a}for(var o=0;o0);checkNodeDeferred(t);return i||r.length===1||r.some((function(e){return!!e.typeParameters}))?pickLongestCandidateSignature(t,r,n):createUnionOfSignaturesForOverloadFailure(r)}function createUnionOfSignaturesForOverloadFailure(t){var r=e.mapDefined(t,(function(e){return e.thisParameter}));var n;if(r.length){n=createCombinedSymbolFromTypes(r,r.map(getTypeOfParameter))}var i=e.minAndMax(t,getNumNonRestParameters),a=i.min,o=i.max;var s=[];var _loop_18=function(r){var n=e.mapDefined(t,(function(t){return signatureHasRestParameter(t)?rt.length){n.pop()}while(n.length=t){return i}if(o>n){n=o;r=i}}return r}function resolveCallExpression(t,r,n){if(t.expression.kind===102){var i=checkSuperExpression(t.expression);if(isTypeAny(i)){for(var a=0,o=t.arguments;a=0){error(t.arguments[i],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}}var a=checkNonNullExpression(t.expression);if(a===Fe){return rt}a=getApparentType(a);if(a===de){return resolveErrorCall(t)}if(isTypeAny(a)){if(t.typeArguments){error(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments)}return resolveUntypedCall(t)}var o=getSignaturesOfType(a,1);if(o.length){if(!isConstructorAccessible(t,o[0])){return resolveErrorCall(t)}var s=a.symbol&&e.getClassLikeDeclarationOfSymbol(a.symbol);if(s&&e.hasModifier(s,128)){error(t,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(t)}return resolveCall(t,o,r,n,0)}var c=getSignaturesOfType(a,0);if(c.length){var l=resolveCall(t,c,r,n,0);if(!j){if(l.declaration&&!isJSConstructor(l.declaration)&&getReturnTypeOfSignature(l)!==ke){error(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword)}if(getThisTypeOfSignature(l)===ke){error(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)}}return l}invocationError(t.expression,a,1);return resolveErrorCall(t)}function typeHasProtectedAccessibleBase(t,r){var n=getBaseTypes(r);if(!e.length(n)){return false}var i=n[0];if(i.flags&2097152){var a=i.types;var o=findMixins(a);var s=0;for(var c=0,l=i.types;c0;if(t.flags&1048576){var s=t.types;var c=false;for(var l=0,u=s;l0){return e.parameters.length-1+n}}}if(!t&&e.flags&16){return 0}return e.minArgumentCount}function hasEffectiveRestParameter(e){if(signatureHasRestParameter(e)){var t=getTypeOfSymbol(e.parameters[e.parameters.length-1]);return!isTupleType(t)||t.target.hasRestElement}return false}function getEffectiveRestType(e){if(signatureHasRestParameter(e)){var t=getTypeOfSymbol(e.parameters[e.parameters.length-1]);return isTupleType(t)?getRestArrayTypeOfTupleType(t):t}return undefined}function getNonArrayRestType(e){var t=getEffectiveRestType(e);return t&&!isArrayType(t)&&!isTypeAny(t)&&(getReducedType(t).flags&131072)===0?t:undefined}function getTypeOfFirstParameterOfSignature(e){return getTypeOfFirstParameterOfSignatureWithFallback(e,Ae)}function getTypeOfFirstParameterOfSignatureWithFallback(e,t){return e.parameters.length>0?getTypeAtPosition(e,0):t}function inferFromAnnotatedParameters(t,r,n){var i=t.parameters.length-(signatureHasRestParameter(t)?1:0);for(var a=0;a0){o=getUnionType(u,2)}var d=checkAndAggregateYieldOperandTypes(t,r),p=d.yieldTypes,f=d.nextTypes;s=e.some(p)?getUnionType(p,2):undefined;c=e.some(f)?getIntersectionType(f):undefined}else{var g=checkAndAggregateReturnExpressionTypes(t,r);if(!g){return n&2?createPromiseReturnType(t,Ae):Ae}if(g.length===0){return n&2?createPromiseReturnType(t,ke):ke}o=getUnionType(g,2)}if(o||s||c){if(s)reportErrorsFromWidening(t,s,3);if(o)reportErrorsFromWidening(t,o,1);if(c)reportErrorsFromWidening(t,c,2);if(o&&isUnitType(o)||s&&isUnitType(s)||c&&isUnitType(c)){var m=getContextualSignatureForFunctionLikeDeclaration(t);var _=!m?undefined:m===getSignatureFromDeclaration(t)?a?undefined:o:instantiateContextualType(getReturnTypeOfSignature(m),t);if(a){s=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(s,_,0,i);o=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(o,_,1,i);c=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(c,_,2,i)}else{o=getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(o,_,i)}}if(s)s=getWidenedType(s);if(o)o=getWidenedType(o);if(c)c=getWidenedType(c)}if(a){return createGeneratorReturnType(s||Ae,o||l,c||getContextualIterationType(2,t)||fe,i)}else{return i?createPromiseType(o||l):o||l}}function createGeneratorReturnType(e,t,r,n){var i=n?ut:dt;var a=i.getGlobalGeneratorType(false);e=i.resolveIterationType(e,undefined)||fe;t=i.resolveIterationType(t,undefined)||fe;r=i.resolveIterationType(r,undefined)||fe;if(a===ze){var o=i.getGlobalIterableIteratorType(false);var s=o!==ze?getIterationTypesOfGlobalIterableType(o,i):undefined;var c=s?s.returnType:ce;var l=s?s.nextType:ge;if(isTypeAssignableTo(t,c)&&isTypeAssignableTo(l,r)){if(o!==ze){return createTypeFromGenericGlobalType(o,[e])}i.getGlobalIterableIteratorType(true);return Je}i.getGlobalGeneratorType(true);return Je}return createTypeFromGenericGlobalType(a,[e,t,r])}function checkAndAggregateYieldOperandTypes(t,r){var n=[];var i=[];var a=(e.getFunctionFlags(t)&2)!==0;e.forEachYieldExpression(t.body,(function(t){var o=t.expression?checkExpression(t.expression,r):me;e.pushIfUnique(n,getYieldedTypeOfYieldExpression(t,o,ce,a));var s;if(t.asteriskToken){var c=getIterationTypesOfIterable(o,a?19:17,t.expression);s=c&&c.nextType}else{s=getContextualType(t)}if(s)e.pushIfUnique(i,s)}));return{yieldTypes:n,nextTypes:i}}function getYieldedTypeOfYieldExpression(t,r,n,i){var a=t.expression||t;var o=t.asteriskToken?checkIteratedTypeOrElementType(i?19:17,r,n,a):r;return!i?o:getAwaitedType(o,a,t.asteriskToken?e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function getFactsFromTypeofSwitch(e,t,r,n){var i=0;if(n){for(var a=t;a=0){t=n.expr[i];switch(n.state[i]){case 0:{if(e.isInJSFile(t)&&e.getAssignedExpandoInitializer(t)){finishInvocation(checkExpression(t.right,r));break}checkGrammarNullishCoalesceWithLogicalExpression(t);var o=t.operatorToken.kind;if(o===62&&(t.left.kind===193||t.left.kind===192)){finishInvocation(checkDestructuringAssignment(t.left,checkExpression(t.right,r),r,t.right.kind===104));break}advanceState(1);maybeCheckExpression(t.left);break}case 1:{var s=a;n.leftType[i]=s;var o=t.operatorToken.kind;if(o===55||o===56||o===60){checkTruthinessOfType(s,t.left)}advanceState(2);maybeCheckExpression(t.right);break}case 2:{var s=n.leftType[i];var c=a;finishInvocation(checkBinaryLikeExpressionWorker(t.left,t.operatorToken,t.right,s,c,t));break}default:return e.Debug.fail("Invalid state "+n.state[i]+" for checkBinaryExpression")}}return a;function finishInvocation(e){a=e;i--}function advanceState(e){n.state[i]=e}function maybeCheckExpression(t){if(e.isBinaryExpression(t)){i++;n.expr[i]=t;n.state[i]=0;n.leftType[i]=undefined}else{a=checkExpression(t,r)}}}function checkGrammarNullishCoalesceWithLogicalExpression(t){var r=t.left,n=t.operatorToken,i=t.right;if(n.kind===60){if(e.isBinaryExpression(r)&&(r.operatorToken.kind===56||r.operatorToken.kind===55)){grammarErrorOnNode(r,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(r.operatorToken.kind),e.tokenToString(n.kind))}if(e.isBinaryExpression(i)&&(i.operatorToken.kind===56||i.operatorToken.kind===55)){grammarErrorOnNode(i,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(i.operatorToken.kind),e.tokenToString(n.kind))}}}function checkBinaryLikeExpression(e,t,r,n,i){var a=t.kind;if(a===62&&(e.kind===193||e.kind===192)){return checkDestructuringAssignment(e,checkExpression(r,n),n,r.kind===104)}var o;if(a===55||a===56||a===60){o=checkTruthinessExpression(e,n)}else{o=checkExpression(e,n)}var s=checkExpression(r,n);return checkBinaryLikeExpressionWorker(e,t,r,o,s,i)}function checkBinaryLikeExpressionWorker(t,r,n,i,a,o){var c=r.kind;switch(c){case 41:case 42:case 65:case 66:case 43:case 67:case 44:case 68:case 40:case 64:case 47:case 69:case 48:case 70:case 49:case 71:case 51:case 73:case 52:case 74:case 50:case 72:if(i===Fe||a===Fe){return Fe}i=checkNonNullType(i,t);a=checkNonNullType(a,n);var l=void 0;if(i.flags&528&&a.flags&528&&(l=getSuggestedBooleanOperator(r.kind))!==undefined){error(o||r,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(r.kind),e.tokenToString(l));return Te}else{var u=checkArithmeticOperandType(t,i,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,true);var d=checkArithmeticOperandType(n,a,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,true);var p;if(isTypeAssignableToKind(i,3)&&isTypeAssignableToKind(a,3)||!(maybeTypeOfKind(i,2112)||maybeTypeOfKind(a,2112))){p=Te}else if(bothAreBigIntLike(i,a)){switch(c){case 49:case 71:reportOperatorError()}p=be}else{reportOperatorError(bothAreBigIntLike);p=de}if(u&&d){checkAssignmentOperator(p)}return p}case 39:case 63:if(i===Fe||a===Fe){return Fe}if(!isTypeAssignableToKind(i,132)&&!isTypeAssignableToKind(a,132)){i=checkNonNullType(i,t);a=checkNonNullType(a,n)}var f=void 0;if(isTypeAssignableToKind(i,296,true)&&isTypeAssignableToKind(a,296,true)){f=Te}else if(isTypeAssignableToKind(i,2112,true)&&isTypeAssignableToKind(a,2112,true)){f=be}else if(isTypeAssignableToKind(i,132,true)||isTypeAssignableToKind(a,132,true)){f=ve}else if(isTypeAny(i)||isTypeAny(a)){f=i===de||a===de?de:ce}if(f&&!checkForDisallowedESSymbolOperand(c)){return f}if(!f){var g=296|2112|132|3;reportOperatorError((function(e,t){return isTypeAssignableToKind(e,g)&&isTypeAssignableToKind(t,g)}));return ce}if(c===63){checkAssignmentOperator(f)}return f;case 29:case 31:case 32:case 33:if(checkForDisallowedESSymbolOperand(c)){i=getBaseTypeOfLiteralType(checkNonNullType(i,t));a=getBaseTypeOfLiteralType(checkNonNullType(a,n));reportOperatorErrorUnless((function(e,t){return isTypeComparableTo(e,t)||isTypeComparableTo(t,e)||isTypeAssignableTo(e,Re)&&isTypeAssignableTo(t,Re)}))}return Ee;case 34:case 35:case 36:case 37:reportOperatorErrorUnless((function(e,t){return isTypeEqualityComparableTo(e,t)||isTypeEqualityComparableTo(t,e)}));return Ee;case 98:return checkInstanceOfExpression(t,n,i,a);case 97:return checkInExpression(t,n,i,a);case 55:return getTypeFacts(i)&4194304?getUnionType([extractDefinitelyFalsyTypes(M?i:getBaseTypeOfLiteralType(a)),a]):i;case 56:return getTypeFacts(i)&8388608?getUnionType([removeDefinitelyFalsyTypes(i),a],2):i;case 60:return getTypeFacts(i)&262144?getUnionType([getNonNullableType(i),a],2):i;case 62:var m=e.isBinaryExpression(t.parent)?e.getAssignmentDeclarationKind(t.parent):0;checkAssignmentDeclaration(m,a);if(isAssignmentDeclaration(m)){if(!(a.flags&524288)||m!==2&&m!==6&&!isEmptyObjectType(a)&&!isFunctionObjectType(a)&&!(e.getObjectFlags(a)&1)){checkAssignmentOperator(a)}return i}else{checkAssignmentOperator(a);return getRegularTypeOfObjectLiteral(a)}case 27:if(!P.allowUnreachableCode&&isSideEffectFree(t)&&!isEvalNode(n)){error(t,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return a;default:return e.Debug.fail()}function bothAreBigIntLike(e,t){return isTypeAssignableToKind(e,2112)&&isTypeAssignableToKind(t,2112)}function checkAssignmentDeclaration(t,r){if(t===2){for(var n=0,i=getPropertiesOfObjectType(r);n1&&t.charCodeAt(r-1)>=48&&t.charCodeAt(r-1)<=57)r--;var n=t.slice(0,r);for(var i=1;true;i++){var a=n+i;if(!hasTypeParameterByName(e,a)){return a}}}function getReturnTypeOfSingleNonGenericCallSignature(e){var t=getSingleCallSignature(e);if(t&&!t.typeParameters){return getReturnTypeOfSignature(t)}}function getReturnTypeOfSingleNonGenericSignatureOfCallChain(e){var t=checkExpression(e.expression);var r=getOptionalExpressionType(t,e.expression);var n=getReturnTypeOfSingleNonGenericCallSignature(t);return n&&propagateOptionalTypeMarker(n,e,r!==t)}function getTypeOfExpression(e){var t=getQuickTypeOfExpression(e);if(t){return t}if(e.flags&67108864&&ur){var r=ur[getNodeId(e)];if(r){return r}}var n=sr;var i=checkExpression(e);if(sr!==n){var a=ur||(ur=[]);a[getNodeId(e)]=i;e.flags|=67108864}return i}function getQuickTypeOfExpression(t){var r=e.skipParentheses(t);if(e.isCallExpression(r)&&r.expression.kind!==102&&!e.isRequireCall(r,true)&&!isSymbolOrSymbolForCall(r)){var n=e.isCallChain(r)?getReturnTypeOfSingleNonGenericSignatureOfCallChain(r):getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(r.expression));if(n){return n}}else if(e.isAssertionExpression(r)&&!e.isConstTypeReference(r.type)){return getTypeFromTypeNode(r.type)}else if(t.kind===8||t.kind===10||t.kind===106||t.kind===91){return checkExpression(t)}return undefined}function getContextFreeTypeOfExpression(e){var t=getNodeLinks(e);if(t.contextFreeType){return t.contextFreeType}var r=e.contextualType;e.contextualType=ce;try{var n=t.contextFreeType=checkExpression(e,4);return n}finally{e.contextualType=r}}function checkExpression(e,t,r){var n=N;N=e;x=0;var i=checkExpressionWorker(e,t,r);var a=instantiateTypeWithSingleGenericCallSignature(e,i,t);if(isConstEnumObjectType(a)){checkConstEnumAccess(e,a)}N=n;return a}function checkConstEnumAccess(t,r){var n=t.parent.kind===194&&t.parent.expression===t||t.parent.kind===195&&t.parent.expression===t||((t.kind===75||t.kind===153)&&isInRightSideOfImportOrExportAssignment(t)||t.parent.kind===172&&t.parent.exprName===t)||t.parent.kind===263;if(!n){error(t,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query)}if(P.isolatedModules){e.Debug.assert(!!(r.symbol.flags&128));var i=r.symbol.valueDeclaration;if(i.flags&8388608){error(t,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}}function checkParenthesizedExpression(t,r){var n=e.isInJSFile(t)?e.getJSDocTypeTag(t):undefined;if(n){return checkAssertionWorker(n,n.typeExpression.type,t.expression,r)}return checkExpression(t.expression,r)}function checkExpressionWorker(t,r,n){var i=t.kind;if(d){switch(i){case 214:case 201:case 202:d.throwIfCancellationRequested()}}switch(i){case 75:return checkIdentifier(t);case 104:return checkThisExpression(t);case 102:return checkSuperExpression(t);case 100:return he;case 14:case 10:return getFreshTypeOfLiteralType(getLiteralType(t.text));case 8:checkGrammarNumericLiteral(t);return getFreshTypeOfLiteralType(getLiteralType(+t.text));case 9:checkGrammarBigIntLiteral(t);return getFreshTypeOfLiteralType(getBigIntLiteralType(t));case 106:return De;case 91:return Se;case 211:return checkTemplateExpression(t);case 13:return Nt;case 192:return checkArrayLiteral(t,r,n);case 193:return checkObjectLiteral(t,r);case 194:return checkPropertyAccessExpression(t);case 153:return checkQualifiedName(t);case 195:return checkIndexedAccess(t);case 196:if(t.expression.kind===96){return checkImportCallExpression(t)}case 197:return checkCallExpression(t,r);case 198:return checkTaggedTemplateExpression(t);case 200:return checkParenthesizedExpression(t,r);case 214:return checkClassExpression(t);case 201:case 202:return checkFunctionExpressionOrObjectLiteralMethod(t,r);case 204:return checkTypeOfExpression(t);case 199:case 217:return checkAssertion(t);case 218:return checkNonNullAssertion(t);case 219:return checkMetaProperty(t);case 203:return checkDeleteExpression(t);case 205:return checkVoidExpression(t);case 206:return checkAwaitExpression(t);case 207:return checkPrefixUnaryExpression(t);case 208:return checkPostfixUnaryExpression(t);case 209:return checkBinaryExpression(t,r);case 210:return checkConditionalExpression(t,r);case 213:return checkSpreadExpression(t,r);case 215:return me;case 212:return checkYieldExpression(t);case 220:return t.type;case 276:return checkJsxExpression(t,r);case 266:return checkJsxElement(t,r);case 267:return checkJsxSelfClosingElement(t,r);case 270:return checkJsxFragment(t);case 274:return checkJsxAttributes(t,r);case 268:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return de}function checkTypeParameter(t){if(t.expression){grammarErrorOnFirstToken(t.expression,e.Diagnostics.Type_expected)}checkSourceElement(t.constraint);checkSourceElement(t.default);var r=getDeclaredTypeOfTypeParameter(getSymbolOfNode(t));getBaseConstraintOfType(r);if(!hasNonCircularTypeParameterDefault(r)){error(t.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,typeToString(r))}var n=getConstraintOfTypeParameter(r);var i=getDefaultFromTypeParameter(r);if(n&&i){checkTypeAssignableTo(i,getTypeWithThisArgument(instantiateType(n,makeUnaryTypeMapper(r,i)),i),t.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}if(s){checkTypeNameIsReserved(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}}function checkParameter(t){checkGrammarDecoratorsAndModifiers(t);checkVariableLikeDeclaration(t);var r=e.getContainingFunction(t);if(e.hasModifier(t,92)){if(!(r.kind===162&&e.nodeIsPresent(r.body))){error(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)}if(r.kind===162&&e.isIdentifier(t.name)&&t.name.escapedText==="constructor"){error(t.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)}}if(t.questionToken&&e.isBindingPattern(t.name)&&r.body){error(t,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature)}if(t.name&&e.isIdentifier(t.name)&&(t.name.escapedText==="this"||t.name.escapedText==="new")){if(r.parameters.indexOf(t)!==0){error(t,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,t.name.escapedText)}if(r.kind===162||r.kind===166||r.kind===171){error(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter)}if(r.kind===202){error(t,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)}if(r.kind===163||r.kind===164){error(t,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)}}if(t.dotDotDotToken&&!e.isBindingPattern(t.name)&&!isTypeAssignableTo(getReducedType(getTypeOfSymbol(t.symbol)),Pt)){error(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}}function checkTypePredicate(t){var r=getTypePredicateParent(t);if(!r){error(t,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var n=getSignatureFromDeclaration(r);var i=getTypePredicateOfSignature(n);if(!i){return}checkSourceElement(t.type);var a=t.parameterName;if(i.kind===0||i.kind===2){getTypeFromThisTypeNode(a)}else{if(i.parameterIndex>=0){if(signatureHasRestParameter(n)&&i.parameterIndex===n.parameters.length-1){error(a,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter)}else{if(i.type){var leadingError=function(){return e.chainDiagnosticMessages(undefined,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};checkTypeAssignableTo(i.type,getTypeOfSymbol(n.parameters[i.parameterIndex]),t.type,undefined,leadingError)}}}else if(a){var o=false;for(var s=0,c=r.parameters;s0&&r.declarations[0]!==t){return}}var n=getIndexSymbol(getSymbolOfNode(t));if(n){var i=false;var a=false;for(var o=0,s=n.declarations;o0}function getAwaitedType(e,t,r,n){if(isTypeAny(e)){return e}var i=e;if(i.awaitedTypeOfType){return i.awaitedTypeOfType}return i.awaitedTypeOfType=mapType(e,t?function(e){return getAwaitedTypeWorker(e,t,r,n)}:getAwaitedTypeWorker)}function getAwaitedTypeWorker(t,r,n,i){var a=t;if(a.awaitedTypeOfType){return a.awaitedTypeOfType}var o=getPromisedTypeOfPromise(t);if(o){if(t.id===o.id||Or.lastIndexOf(o.id)>=0){if(r){error(r,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method)}return undefined}Or.push(t.id);var s=getAwaitedType(o,r,n,i);Or.pop();if(!s){return undefined}return a.awaitedTypeOfType=s}if(isThenableType(t)){if(r){if(!n)return e.Debug.fail();error(r,n,i)}return undefined}return a.awaitedTypeOfType=t}function checkAsyncFunctionReturnType(t,r){var n=getTypeFromTypeNode(r);if(O>=2){if(n===de){return}var i=getGlobalPromiseType(true);if(i!==ze&&!isReferenceToType(n,i)){error(r,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type);return}}else{markTypeNodeAsReferenced(r);if(n===de){return}var a=e.getEntityNameFromTypeNode(r);if(a===undefined){error(r,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,typeToString(n));return}var o=resolveEntityName(a,111551,true);var s=o?getTypeOfSymbol(o):de;if(s===de){if(a.kind===75&&a.escapedText==="Promise"&&getTargetType(n)===getGlobalPromiseType(false)){error(r,e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option)}else{error(r,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(a))}return}var c=getGlobalPromiseConstructorLikeType(true);if(c===Je){error(r,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(a));return}if(!checkTypeAssignableTo(s,c,r,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value)){return}var l=a&&e.getFirstIdentifier(a);var u=getSymbol(t.locals,l.escapedText,111551);if(u){error(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(l),e.entityNameToString(a));return}}checkAwaitedType(n,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function checkDecorator(t){var r=getResolvedSignature(t);var n=getReturnTypeOfSignature(r);if(n.flags&1){return}var i;var a=getDiagnosticHeadMessageForDecoratorResolution(t);var o;switch(t.parent.kind){case 245:var s=getSymbolOfNode(t.parent);var c=getTypeOfSymbol(s);i=getUnionType([c,ke]);break;case 156:i=ke;o=e.chainDiagnosticMessages(undefined,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 159:i=ke;o=e.chainDiagnosticMessages(undefined,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 161:case 163:case 164:var l=getTypeOfNode(t.parent);var u=createTypedPropertyDescriptorType(l);i=getUnionType([u,ke]);break;default:return e.Debug.fail()}checkTypeAssignableTo(n,i,t,a,(function(){return o}))}function markTypeNodeAsReferenced(t){markEntityNameOrEntityExpressionAsReference(t&&e.getEntityNameFromTypeNode(t))}function markEntityNameOrEntityExpressionAsReference(t){if(!t)return;var r=e.getFirstIdentifier(t);var n=(t.kind===75?788968:1920)|2097152;var i=resolveName(r,r.escapedText,n,undefined,undefined,true);if(i&&i.flags&2097152&&symbolIsValue(i)&&!isConstEnumOrConstEnumOnlyModule(resolveAlias(i))&&!getTypeOnlyAliasDeclaration(i)){markAliasSymbolAsReferenced(i)}}function markDecoratorMedataDataTypeNodeAsReferenced(t){var r=getEntityNameForDecoratorMetadata(t);if(r&&e.isEntityName(r)){markEntityNameOrEntityExpressionAsReference(r)}}function getEntityNameForDecoratorMetadata(e){if(e){switch(e.kind){case 179:case 178:return getEntityNameForDecoratorMetadataFromTypeList(e.types);case 180:return getEntityNameForDecoratorMetadataFromTypeList([e.trueType,e.falseType]);case 182:return getEntityNameForDecoratorMetadata(e.type);case 169:return e.typeName}}}function getEntityNameForDecoratorMetadataFromTypeList(t){var r;for(var n=0,i=t;n-1&&n0);if(n.length>1){error(n[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag)}var i=getIdentifierFromEntityNameExpression(t.class.expression);var a=e.getClassExtendsHeritageElement(r);if(a){var o=getIdentifierFromEntityNameExpression(a.expression);if(o&&i.escapedText!==o.escapedText){error(i,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(t.tagName),e.idText(i),e.idText(o))}}}function getIdentifierFromEntityNameExpression(e){switch(e.kind){case 75:return e;case 194:return e.name;default:return undefined}}function checkFunctionOrMethodDeclaration(t){checkDecorators(t);checkSignatureDeclaration(t);var r=e.getFunctionFlags(t);if(t.name&&t.name.kind===154){checkComputedPropertyName(t.name)}if(!hasNonBindableDynamicName(t)){var n=getSymbolOfNode(t);var i=t.localSymbol||n;var a=e.find(i.declarations,(function(e){return e.kind===t.kind&&!(e.flags&131072)}));if(t===a){checkFunctionOrConstructorSymbol(i)}if(n.parent){if(e.getDeclarationOfKind(n,t.kind)===t){checkFunctionOrConstructorSymbol(n)}}}var o=t.kind===160?undefined:t.body;checkSourceElement(o);checkAllCodePathsInNonVoidFunctionReturnOrThrow(t,getReturnTypeFromAnnotation(t));if(s&&!e.getEffectiveReturnTypeNode(t)){if(e.nodeIsMissing(o)&&!isPrivateWithinAmbient(t)){reportImplicitAny(t,ce)}if(r&1&&e.nodeIsPresent(o)){getReturnTypeOfSignature(getSignatureFromDeclaration(t))}}if(e.isInJSFile(t)){var c=e.getJSDocTypeTag(t);if(c&&c.typeExpression&&!getContextualCallSignature(getTypeFromTypeNode(c.typeExpression),t)){error(c,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}}function registerForUnusedIdentifiersCheck(t){if(s){var r=e.getSourceFileOfNode(t);var n=tr.get(r.path);if(!n){n=[];tr.set(r.path,n)}n.push(t)}}function checkUnusedIdentifiers(t,r){for(var n=0,i=t;n=2||P.noEmit||!e.hasRestParameter(t)||t.flags&8388608||e.nodeIsMissing(t.body)){return}e.forEach(t.parameters,(function(t){if(t.name&&!e.isBindingPattern(t.name)&&t.name.escapedText===G.escapedName){error(t,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}}))}function needCollisionCheckForIdentifier(t,r,n){if(!(r&&r.escapedText===n)){return false}if(t.kind===159||t.kind===158||t.kind===161||t.kind===160||t.kind===163||t.kind===164){return false}if(t.flags&8388608){return false}var i=e.getRootDeclaration(t);if(i.kind===156&&e.nodeIsMissing(i.parent.body)){return false}return true}function checkIfThisIsCapturedInEnclosingScope(t){e.findAncestor(t,(function(r){if(getNodeCheckFlags(r)&4){var n=t.kind!==75;if(n){error(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference)}else{error(t,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference)}return true}return false}))}function checkIfNewTargetIsCapturedInEnclosingScope(t){e.findAncestor(t,(function(r){if(getNodeCheckFlags(r)&8){var n=t.kind!==75;if(n){error(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference)}else{error(t,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference)}return true}return false}))}function checkWeakMapCollision(t){var r=e.getEnclosingBlockScopeContainer(t);if(getNodeCheckFlags(r)&67108864){error(t,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,"WeakMap")}}function checkCollisionWithRequireExportsInGeneratedCode(t,r){if(I>=e.ModuleKind.ES2015||P.noEmit){return}if(!needCollisionCheckForIdentifier(t,r,"require")&&!needCollisionCheckForIdentifier(t,r,"exports")){return}if(e.isModuleDeclaration(t)&&e.getModuleInstanceState(t)!==1){return}var n=getDeclarationContainer(t);if(n.kind===290&&e.isExternalOrCommonJsModule(n)){error(r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(r),e.declarationNameToString(r))}}function checkCollisionWithGlobalPromiseInGeneratedCode(t,r){if(O>=4||P.noEmit||!needCollisionCheckForIdentifier(t,r,"Promise")){return}if(e.isModuleDeclaration(t)&&e.getModuleInstanceState(t)!==1){return}var n=getDeclarationContainer(t);if(n.kind===290&&e.isExternalOrCommonJsModule(n)&&n.flags&2048){error(r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(r),e.declarationNameToString(r))}}function checkVarDeclaredNamesNotShadowed(t){if((e.getCombinedNodeFlags(t)&3)!==0||e.isParameterDeclaration(t)){return}if(t.kind===242&&!t.initializer){return}var r=getSymbolOfNode(t);if(r.flags&1){if(!e.isIdentifier(t.name))return e.Debug.fail();var n=resolveName(t,t.name.escapedText,3,undefined,undefined,false);if(n&&n!==r&&n.flags&2){if(getDeclarationNodeFlagsFromSymbol(n)&3){var i=e.getAncestor(n.valueDeclaration,243);var a=i.parent.kind===225&&i.parent.parent?i.parent.parent:undefined;var o=a&&(a.kind===223&&e.isFunctionLike(a.parent)||a.kind===250||a.kind===249||a.kind===290);if(!o){var s=symbolToString(n);error(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,s,s)}}}}}function convertAutoToAny(e){return e===le?ce:e===Ft?At:e}function checkVariableLikeDeclaration(t){checkDecorators(t);if(!e.isBindingElement(t)){checkSourceElement(t.type)}if(!t.name){return}if(t.name.kind===154){checkComputedPropertyName(t.name);if(t.initializer){checkExpressionCached(t.initializer)}}if(t.kind===191){if(t.parent.kind===189&&O<99){checkExternalEmitHelpers(t,4)}if(t.propertyName&&t.propertyName.kind===154){checkComputedPropertyName(t.propertyName)}var r=t.parent.parent;var n=getTypeForBindingElementParent(r);var i=t.propertyName||t.name;if(n&&!e.isBindingPattern(i)){var a=getLiteralTypeFromPropertyName(i);if(isTypeUsableAsPropertyName(a)){var o=getPropertyNameFromType(a);var s=getPropertyOfType(n,o);if(s){markPropertyAsReferenced(s,undefined,false);checkPropertyAccessibility(r,!!r.initializer&&r.initializer.kind===102,n,s)}}}}if(e.isBindingPattern(t.name)){if(t.name.kind===190&&O<2&&P.downlevelIteration){checkExternalEmitHelpers(t,512)}e.forEach(t.name.elements,checkSourceElement)}if(t.initializer&&e.getRootDeclaration(t).kind===156&&e.nodeIsMissing(e.getContainingFunction(t).body)){error(t,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(e.isBindingPattern(t.name)){var c=t.initializer&&t.parent.parent.kind!==231;var l=t.name.elements.length===0;if(c||l){var u=getWidenedTypeForVariableLikeDeclaration(t);if(c){var d=checkExpressionCached(t.initializer);if(M&&l){checkNonNullNonVoidType(d,t)}else{checkTypeAssignableToAndOptionallyElaborate(d,getWidenedTypeForVariableLikeDeclaration(t),t,t.initializer)}}if(l){if(e.isArrayBindingPattern(t.name)){checkIteratedTypeOrElementType(65,u,ge,t)}else if(M){checkNonNullNonVoidType(u,t)}}}return}var p=getSymbolOfNode(t);var f=convertAutoToAny(getTypeOfSymbol(p));if(t===p.valueDeclaration){var g=e.getEffectiveInitializer(t);if(g){var m=e.isInJSFile(t)&&e.isObjectLiteralExpression(g)&&(g.properties.length===0||e.isPrototypeAccess(t.name))&&e.hasEntries(p.exports);if(!m&&t.parent.parent.kind!==231){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(g),f,t,g,undefined)}}if(p.declarations.length>1){if(e.some(p.declarations,(function(r){return r!==t&&e.isVariableLike(r)&&!areDeclarationFlagsIdentical(r,t)}))){error(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}}}else{var _=convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(t));if(f!==de&&_!==de&&!isTypeIdenticalTo(f,_)&&!(p.flags&67108864)){errorNextVariableOrPropertyDeclarationMustHaveSameType(p.valueDeclaration,f,t,_)}if(t.initializer){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(t.initializer),_,t,t.initializer,undefined)}if(!areDeclarationFlagsIdentical(t,p.valueDeclaration)){error(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}}if(t.kind!==159&&t.kind!==158){checkExportsOnMergedDeclarations(t);if(t.kind===242||t.kind===191){checkVarDeclaredNamesNotShadowed(t)}checkCollisionWithRequireExportsInGeneratedCode(t,t.name);checkCollisionWithGlobalPromiseInGeneratedCode(t,t.name);if(!P.noEmit&&O<99&&needCollisionCheckForIdentifier(t,t.name,"WeakMap")){Pr.push(t)}}}function errorNextVariableOrPropertyDeclarationMustHaveSameType(t,r,n,i){var a=e.getNameOfDeclaration(n);var o=n.kind===159||n.kind===158?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2;var s=e.declarationNameToString(a);var c=error(a,o,s,typeToString(r),typeToString(i));if(t){e.addRelatedInfo(c,e.createDiagnosticForNode(t,e.Diagnostics._0_was_also_declared_here,s))}}function areDeclarationFlagsIdentical(t,r){if(t.kind===156&&r.kind===242||t.kind===242&&r.kind===156){return true}if(e.hasQuestionToken(t)!==e.hasQuestionToken(r)){return false}var n=8|16|256|128|64|32;return e.getSelectedModifierFlags(t,n)===e.getSelectedModifierFlags(r,n)}function checkVariableDeclaration(e){checkGrammarVariableDeclaration(e);return checkVariableLikeDeclaration(e)}function checkBindingElement(e){checkGrammarBindingElement(e);return checkVariableLikeDeclaration(e)}function checkVariableStatement(t){if(!checkGrammarDecoratorsAndModifiers(t)&&!checkGrammarVariableDeclarationList(t.declarationList))checkGrammarForDisallowedLetOrConstStatement(t);e.forEach(t.declarationList.declarations,checkSourceElement)}function checkExpressionStatement(e){checkGrammarStatementInAmbientContext(e);checkExpression(e.expression)}function checkIfStatement(t){checkGrammarStatementInAmbientContext(t);var r=checkTruthinessExpression(t.expression);checkTestingKnownTruthyCallableType(t.expression,t.thenStatement,r);checkSourceElement(t.thenStatement);if(t.thenStatement.kind===224){error(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement)}checkSourceElement(t.elseStatement)}function checkTestingKnownTruthyCallableType(t,r,n){if(!M){return}var i=e.isIdentifier(t)?t:e.isPropertyAccessExpression(t)?t.name:undefined;if(!i){return}var a=getFalsyFlags(n);if(a){return}var o=getSignaturesOfType(n,0);if(o.length===0){return}var s=getSymbolAtLocation(i);if(!s){return}var c=e.forEachChild(r,(function check(r){if(e.isIdentifier(r)){var n=getSymbolAtLocation(r);if(n&&n===s){if(e.isIdentifier(t)){return true}var a=i.parent;var o=r.parent;while(a&&o){if(e.isIdentifier(a)&&e.isIdentifier(o)||a.kind===104&&o.kind===104){return getSymbolAtLocation(a)===getSymbolAtLocation(o)}if(e.isPropertyAccessExpression(a)&&e.isPropertyAccessExpression(o)){if(getSymbolAtLocation(a.name)!==getSymbolAtLocation(o.name)){return false}o=o.expression;a=a.expression}else{return false}}}}return e.forEachChild(r,check)}));if(!c){error(t,e.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead)}}function checkDoStatement(e){checkGrammarStatementInAmbientContext(e);checkSourceElement(e.statement);checkTruthinessExpression(e.expression)}function checkWhileStatement(e){checkGrammarStatementInAmbientContext(e);checkTruthinessExpression(e.expression);checkSourceElement(e.statement)}function checkTruthinessOfType(t,r){if(t.flags&16384){error(r,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness)}return t}function checkTruthinessExpression(e,t){return checkTruthinessOfType(checkExpression(e,t),e)}function checkForStatement(t){if(!checkGrammarStatementInAmbientContext(t)){if(t.initializer&&t.initializer.kind===243){checkGrammarVariableDeclarationList(t.initializer)}}if(t.initializer){if(t.initializer.kind===243){e.forEach(t.initializer.declarations,checkVariableDeclaration)}else{checkExpression(t.initializer)}}if(t.condition)checkTruthinessExpression(t.condition);if(t.incrementor)checkExpression(t.incrementor);checkSourceElement(t.statement);if(t.locals){registerForUnusedIdentifiersCheck(t)}}function checkForOfStatement(t){checkGrammarForInOrForOfStatement(t);if(t.awaitModifier){var r=e.getFunctionFlags(e.getContainingFunction(t));if((r&(4|2))===2&&O<99){checkExternalEmitHelpers(t,32768)}}else if(P.downlevelIteration&&O<2){checkExternalEmitHelpers(t,256)}if(t.initializer.kind===243){checkForInOrForOfVariableDeclaration(t)}else{var n=t.initializer;var i=checkRightHandSideOfForOf(t);if(n.kind===192||n.kind===193){checkDestructuringAssignment(n,i||de)}else{var a=checkExpression(n);checkReferenceExpression(n,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access);if(i){checkTypeAssignableToAndOptionallyElaborate(i,a,n,t.expression)}}}checkSourceElement(t.statement);if(t.locals){registerForUnusedIdentifiersCheck(t)}}function checkForInStatement(t){checkGrammarForInOrForOfStatement(t);var r=getNonNullableTypeIfNeeded(checkExpression(t.expression));if(t.initializer.kind===243){var n=t.initializer.declarations[0];if(n&&e.isBindingPattern(n.name)){error(n.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}checkForInOrForOfVariableDeclaration(t)}else{var i=t.initializer;var a=checkExpression(i);if(i.kind===192||i.kind===193){error(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}else if(!isTypeAssignableTo(getIndexTypeOrString(r),a)){error(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}else{checkReferenceExpression(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access)}}if(r===Ae||!isTypeAssignableToKind(r,67108864|58982400)){error(t.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,typeToString(r))}checkSourceElement(t.statement);if(t.locals){registerForUnusedIdentifiersCheck(t)}}function checkForInOrForOfVariableDeclaration(e){var t=e.initializer;if(t.declarations.length>=1){var r=t.declarations[0];checkVariableDeclaration(r)}}function checkRightHandSideOfForOf(e){var t=e.awaitModifier?15:13;return checkIteratedTypeOrElementType(t,checkNonNullExpression(e.expression),ge,e.expression)}function checkIteratedTypeOrElementType(e,t,r,n){if(isTypeAny(t)){return t}return getIteratedTypeOrElementType(e,t,r,n,true)||ce}function getIteratedTypeOrElementType(t,r,n,i,a){var o=(t&2)!==0;if(r===Ae){reportTypeNotIterableError(i,r,o);return undefined}var s=O>=2;var c=!s&&P.downlevelIteration;if(s||c||o){var l=getIterationTypesOfIterable(r,t,s?i:undefined);if(a){if(l){var u=t&8?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:t&32?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:t&64?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:t&16?e.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:undefined;if(u){checkTypeAssignableTo(n,l.nextType,i,u)}}}if(l||s){return l&&l.yieldType}}var d=r;var p=false;var f=false;if(t&4){if(d.flags&1048576){var g=r.types;var m=e.filter(g,(function(e){return!(e.flags&132)}));if(m!==g){d=getUnionType(m,2)}}else if(d.flags&132){d=Ae}f=d!==r;if(f){if(O<1){if(i){error(i,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher);p=true}}if(d.flags&131072){return ve}}}if(!isArrayLikeType(d)){if(i&&!p){var _=getIterationTypeOfIterable(t,0,r,undefined);var y=!(t&4)||f?c?[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]:_?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,false]:[e.Diagnostics.Type_0_is_not_an_array_type,true]:c?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]:_?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,false]:[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,true],h=y[0],v=y[1];errorAndMaybeSuggestAwait(i,v&&!!getAwaitedTypeOfPromise(d),h,typeToString(d))}return f?ve:undefined}var T=getIndexTypeOfType(d,1);if(f&&T){if(T.flags&132){return ve}return getUnionType([T,ve],2)}return T}function getIterationTypeOfIterable(e,t,r,n){if(isTypeAny(r)){return undefined}var i=getIterationTypesOfIterable(r,e,n);return i&&i[getIterationTypesKeyFromIterationTypeKind(t)]}function createIterationTypes(e,t,r){if(e===void 0){e=Ae}if(t===void 0){t=Ae}if(r===void 0){r=fe}if(e.flags&67359327&&t.flags&(1|131072|2|16384|32768)&&r.flags&(1|131072|2|16384|32768)){var n=getTypeListId([e,t,r]);var i=it.get(n);if(!i){i={yieldType:e,returnType:t,nextType:r};it.set(n,i)}return i}return{yieldType:e,returnType:t,nextType:r}}function combineIterationTypes(t){var r;var n;var i;for(var a=0,o=t;an){return false}for(var u=0;u>a;case 49:return i>>>a;case 47:return i<1){var i=e.isEnumConst(t);e.forEach(r.declarations,(function(t){if(e.isEnumDeclaration(t)&&e.isEnumConst(t)!==i){error(e.getNameOfDeclaration(t),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}}))}var a=false;e.forEach(r.declarations,(function(t){if(t.kind!==248){return false}var r=t;if(!r.members.length){return false}var n=r.members[0];if(!n.initializer){if(a){error(n.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element)}else{a=true}}}))}}function checkEnumMember(t){if(e.isPrivateIdentifier(t.name)){error(t,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}}function getFirstNonAmbientClassOrFunctionDeclaration(t){var r=t.declarations;for(var n=0,i=r;n1&&isInstantiatedModule(t,!!P.preserveConstEnums||!!P.isolatedModules)){var c=getFirstNonAmbientClassOrFunctionDeclaration(o);if(c){if(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(c)){error(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged)}else if(t.pos=e.ModuleKind.ES2015&&!(t.flags&8388608)){grammarErrorOnNode(t,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}}}}function checkExportDeclaration(t){if(checkGrammarModuleElementContext(t,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)){return}if(!checkGrammarDecoratorsAndModifiers(t)&&e.hasModifiers(t)){grammarErrorOnFirstToken(t,e.Diagnostics.An_export_declaration_cannot_have_modifiers)}if(t.moduleSpecifier&&t.exportClause&&e.isNamedExports(t.exportClause)&&e.length(t.exportClause.elements)&&O===0){checkExternalEmitHelpers(t,1048576)}checkGrammarExportDeclaration(t);if(!t.moduleSpecifier||checkExternalImportOrExportDeclaration(t)){if(t.exportClause&&!e.isNamespaceExport(t.exportClause)){e.forEach(t.exportClause.elements,checkExportSpecifier);var r=t.parent.kind===250&&e.isAmbientModule(t.parent.parent);var n=!r&&t.parent.kind===250&&!t.moduleSpecifier&&t.flags&8388608;if(t.parent.kind!==290&&!r&&!n){error(t,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}}else{var i=resolveExternalModuleName(t,t.moduleSpecifier);if(i&&hasExportAssignmentSymbol(i)){error(t.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,symbolToString(i))}else if(t.exportClause){checkAliasSymbol(t.exportClause)}if(I!==e.ModuleKind.System&&I=e.ModuleKind.ES2015){grammarErrorOnNode(t,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead)}else if(I===e.ModuleKind.System){grammarErrorOnNode(t,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system)}}}function hasExportedMembers(t){return e.forEachEntry(t.exports,(function(e,t){return t!=="export="}))}function checkExternalModuleExports(t){var r=getSymbolOfNode(t);var n=getSymbolLinks(r);if(!n.exportsChecked){var i=r.exports.get("export=");if(i&&hasExportedMembers(r)){var a=getDeclarationOfAliasSymbol(i)||i.valueDeclaration;if(!isTopLevelInExternalModuleAugmentation(a)&&!e.isInJSFile(a)){error(a,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}}var o=getExportsOfModule(r);if(o){o.forEach((function(t,r){var n=t.declarations,i=t.flags;if(r==="__export"){return}if(i&(1920|64|384)){return}var a=e.countWhere(n,C);if(i&524288&&a<=2){return}if(a>1){for(var o=0,s=n;o=225&&r<=241&&t.flowNode&&!isReachableFlowNode(t.flowNode)){errorOrSuggestion(P.allowUnreachableCode===false,t,e.Diagnostics.Unreachable_code_detected)}switch(r){case 155:return checkTypeParameter(t);case 156:return checkParameter(t);case 159:return checkPropertyDeclaration(t);case 158:return checkPropertySignature(t);case 170:case 171:case 165:case 166:case 167:return checkSignatureDeclaration(t);case 161:case 160:return checkMethodDeclaration(t);case 162:return checkConstructorDeclaration(t);case 163:case 164:return checkAccessorDeclaration(t);case 169:return checkTypeReferenceNode(t);case 168:return checkTypePredicate(t);case 172:return checkTypeQuery(t);case 173:return checkTypeLiteral(t);case 174:return checkArrayType(t);case 175:return checkTupleType(t);case 178:case 179:return checkUnionOrIntersectionType(t);case 182:case 176:case 177:return checkSourceElement(t.type);case 183:return checkThisType(t);case 184:return checkTypeOperator(t);case 180:return checkConditionalType(t);case 181:return checkInferType(t);case 188:return checkImportType(t);case 307:return checkJSDocAugmentsTag(t);case 308:return checkJSDocImplementsTag(t);case 322:case 315:case 316:return checkJSDocTypeAliasTag(t);case 321:return checkJSDocTemplateTag(t);case 320:return checkJSDocTypeTag(t);case 317:return checkJSDocParameterTag(t);case 323:return checkJSDocPropertyTag(t);case 300:checkJSDocFunctionType(t);case 298:case 297:case 295:case 296:case 304:checkJSDocTypeIsInJsFile(t);e.forEachChild(t,checkSourceElement);return;case 301:checkJSDocVariadicType(t);return;case 294:return checkSourceElement(t.type);case 185:return checkIndexedAccessType(t);case 186:return checkMappedType(t);case 244:return checkFunctionDeclaration(t);case 223:case 250:return checkBlock(t);case 225:return checkVariableStatement(t);case 226:return checkExpressionStatement(t);case 227:return checkIfStatement(t);case 228:return checkDoStatement(t);case 229:return checkWhileStatement(t);case 230:return checkForStatement(t);case 231:return checkForInStatement(t);case 232:return checkForOfStatement(t);case 233:case 234:return checkBreakOrContinueStatement(t);case 235:return checkReturnStatement(t);case 236:return checkWithStatement(t);case 237:return checkSwitchStatement(t);case 238:return checkLabeledStatement(t);case 239:return checkThrowStatement(t);case 240:return checkTryStatement(t);case 242:return checkVariableDeclaration(t);case 191:return checkBindingElement(t);case 245:return checkClassDeclaration(t);case 246:return checkInterfaceDeclaration(t);case 247:return checkTypeAliasDeclaration(t);case 248:return checkEnumDeclaration(t);case 249:return checkModuleDeclaration(t);case 254:return checkImportDeclaration(t);case 253:return checkImportEqualsDeclaration(t);case 260:return checkExportDeclaration(t);case 259:return checkExportAssignment(t);case 224:case 241:checkGrammarStatementInAmbientContext(t);return;case 264:return checkMissingDeclaration(t)}}function checkJSDocTypeIsInJsFile(t){if(!e.isInJSFile(t)){grammarErrorOnNode(t,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}}function checkJSDocVariadicType(t){checkJSDocTypeIsInJsFile(t);checkSourceElement(t.type);var r=t.parent;if(e.isParameter(r)&&e.isJSDocFunctionType(r.parent)){if(e.last(r.parent.parameters)!==r){error(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}return}if(!e.isJSDocTypeExpression(r)){error(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}var n=t.parent.parent;if(!e.isJSDocParameterTag(n)){error(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var i=e.getParameterSymbolFromJSDoc(n);if(!i){return}var a=e.getHostSignatureFromJSDoc(n);if(!a||e.last(a.parameters).symbol!==i){error(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function getTypeFromJSDocVariadicType(t){var r=getTypeFromTypeNode(t.type);var n=t.parent;var i=t.parent.parent;if(e.isJSDocTypeExpression(t.parent)&&e.isJSDocParameterTag(i)){var a=e.getHostSignatureFromJSDoc(i);if(a){var o=e.lastOrUndefined(a.parameters);var s=e.getParameterSymbolFromJSDoc(i);if(!o||s&&o.symbol===s&&e.isRestParameter(o)){return createArrayType(r)}}}if(e.isParameter(n)&&e.isJSDocFunctionType(n.parent)){return createArrayType(r)}return addOptionality(r)}function checkNodeDeferred(t){var r=e.getSourceFileOfNode(t);var n=getNodeLinks(r);if(!(n.flags&1)){n.deferredNodes=n.deferredNodes||e.createMap();var i=""+getNodeId(t);n.deferredNodes.set(i,t)}}function checkDeferredNodes(e){var t=getNodeLinks(e);if(t.deferredNodes){t.deferredNodes.forEach(checkDeferredNode)}}function checkDeferredNode(e){var t=N;N=e;x=0;switch(e.kind){case 196:case 197:case 198:case 157:case 268:resolveUntypedCall(e);break;case 201:case 202:case 161:case 160:checkFunctionExpressionOrObjectLiteralMethodDeferred(e);break;case 163:case 164:checkAccessorDeclaration(e);break;case 214:checkClassExpressionDeferred(e);break;case 267:checkJsxSelfClosingElementDeferred(e);break;case 266:checkJsxElementDeferred(e);break}N=t}function checkSourceFile(t){e.performance.mark("beforeCheck");checkSourceFileWorker(t);e.performance.mark("afterCheck");e.performance.measure("Check","beforeCheck","afterCheck")}function unusedIsError(t,r){if(r){return false}switch(t){case 0:return!!P.noUnusedLocals;case 1:return!!P.noUnusedParameters;default:return e.Debug.assertNever(t)}}function getPotentiallyUnusedIdentifiers(t){return tr.get(t.path)||e.emptyArray}function checkSourceFileWorker(t){var r=getNodeLinks(t);if(!(r.flags&1)){if(e.skipTypeChecking(t,P,o)){return}checkGrammarSourceFile(t);e.clear(Ar);e.clear(Fr);e.clear(Pr);e.forEach(t.statements,checkSourceElement);checkSourceElement(t.endOfFileToken);checkDeferredNodes(t);if(e.isExternalOrCommonJsModule(t)){registerForUnusedIdentifiersCheck(t)}if(!t.isDeclarationFile&&(P.noUnusedLocals||P.noUnusedParameters)){checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(t),(function(t,r,n){if(!e.containsParseError(t)&&unusedIsError(r,!!(t.flags&8388608))){Ir.add(n)}}))}if(P.importsNotUsedAsValues===2&&!t.isDeclarationFile&&e.isExternalModule(t)){checkImportsForTypeOnlyConversion(t)}if(e.isExternalOrCommonJsModule(t)){checkExternalModuleExports(t)}if(Ar.length){e.forEach(Ar,checkIfThisIsCapturedInEnclosingScope);e.clear(Ar)}if(Fr.length){e.forEach(Fr,checkIfNewTargetIsCapturedInEnclosingScope);e.clear(Fr)}if(Pr.length){e.forEach(Pr,checkWeakMapCollision);e.clear(Pr)}r.flags|=1}}function getDiagnostics(e,t){try{d=t;return getDiagnosticsWorker(e)}finally{d=undefined}}function getDiagnosticsWorker(t){throwIfNonDiagnosticsProducing();if(t){var r=Ir.getGlobalDiagnostics();var n=r.length;checkSourceFile(t);var i=Ir.getDiagnostics(t.fileName);var a=Ir.getGlobalDiagnostics();if(a!==r){var s=e.relativeComplement(r,a,e.compareDiagnostics);return e.concatenate(s,i)}else if(n===0&&a.length>0){return e.concatenate(a,i)}return i}e.forEach(o.getSourceFiles(),checkSourceFile);return Ir.getDiagnostics()}function getGlobalDiagnostics(){throwIfNonDiagnosticsProducing();return Ir.getGlobalDiagnostics()}function throwIfNonDiagnosticsProducing(){if(!s){throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}}function getSymbolsInScope(t,r){if(t.flags&16777216){return[]}var n=e.createSymbolTable();var i=false;populateSymbols();n.delete("this");return symbolsToArray(n);function populateSymbols(){while(t){if(t.locals&&!isGlobalSourceFile(t)){copySymbols(t.locals,r)}switch(t.kind){case 290:if(!e.isExternalOrCommonJsModule(t))break;case 249:copySymbols(getSymbolOfNode(t).exports,r&2623475);break;case 248:copySymbols(getSymbolOfNode(t).exports,r&8);break;case 214:var n=t.name;if(n){copySymbol(t.symbol,r)}case 245:case 246:if(!i){copySymbols(getMembersOfSymbol(getSymbolOfNode(t)),r&788968)}break;case 201:var a=t.name;if(a){copySymbol(t.symbol,r)}break}if(e.introducesArgumentsExoticObject(t)){copySymbol(G,r)}i=e.hasModifier(t,32);t=t.parent}copySymbols(H,r)}function copySymbol(t,r){if(e.getCombinedLocalAndExportSymbolFlags(t)&r){var i=t.escapedName;if(!n.has(i)){n.set(i,t)}}}function copySymbols(e,t){if(t){e.forEach((function(e){copySymbol(e,t)}))}}}function isTypeDeclarationName(e){return e.kind===75&&isTypeDeclaration(e.parent)&&e.parent.name===e}function isTypeDeclaration(e){switch(e.kind){case 155:case 245:case 246:case 247:case 248:return true;case 255:return e.isTypeOnly;case 258:case 263:return e.parent.parent.isTypeOnly;default:return false}}function isTypeReferenceIdentifier(e){while(e.parent.kind===153){e=e.parent}return e.parent.kind===169}function isHeritageClauseElementIdentifier(e){while(e.parent.kind===194){e=e.parent}return e.parent.kind===216}function forEachEnclosingClass(t,r){var n;while(true){t=e.getContainingClass(t);if(!t)break;if(n=r(t))break}return n}function isNodeUsedDuringClassInitialization(t){return!!e.findAncestor(t,(function(t){if(e.isConstructorDeclaration(t)&&e.nodeIsPresent(t.body)||e.isPropertyDeclaration(t)){return true}else if(e.isClassLike(t)||e.isFunctionLikeDeclaration(t)){return"quit"}return false}))}function isNodeWithinClass(e,t){return!!forEachEnclosingClass(e,(function(e){return e===t}))}function getLeftSideOfImportEqualsOrExportAssignment(e){while(e.parent.kind===153){e=e.parent}if(e.parent.kind===253){return e.parent.moduleReference===e?e.parent:undefined}if(e.parent.kind===259){return e.parent.expression===e?e.parent:undefined}return undefined}function isInRightSideOfImportOrExportAssignment(e){return getLeftSideOfImportEqualsOrExportAssignment(e)!==undefined}function getSpecialPropertyAssignmentSymbolFromEntityName(t){var r=e.getAssignmentDeclarationKind(t.parent.parent);switch(r){case 1:case 3:return getSymbolOfNode(t.parent);case 4:case 2:case 5:return getSymbolOfNode(t.parent.parent)}}function isImportTypeQualifierPart(t){var r=t.parent;while(e.isQualifiedName(r)){t=r;r=r.parent}if(r&&r.kind===188&&r.qualifier===t){return r}return undefined}function getSymbolOfNameOrPropertyAccessExpression(t){if(e.isDeclarationName(t)){return getSymbolOfNode(t.parent)}if(e.isInJSFile(t)&&t.parent.kind===194&&t.parent===t.parent.parent.left){if(!e.isPrivateIdentifier(t)){var r=getSpecialPropertyAssignmentSymbolFromEntityName(t);if(r){return r}}}if(t.parent.kind===259&&e.isEntityNameExpression(t)){var n=resolveEntityName(t,111551|788968|1920|2097152,true);if(n&&n!==oe){return n}}else if(!e.isPropertyAccessExpression(t)&&!e.isPrivateIdentifier(t)&&isInRightSideOfImportOrExportAssignment(t)){var i=e.getAncestor(t,253);e.Debug.assert(i!==undefined);return getSymbolOfPartOfRightHandSideOfImportEquals(t,true)}if(!e.isPropertyAccessExpression(t)&&!e.isPrivateIdentifier(t)){var a=isImportTypeQualifierPart(t);if(a){getTypeFromTypeNode(a);var o=getNodeLinks(t).resolvedSymbol;return o===oe?undefined:o}}while(e.isRightSideOfQualifiedNameOrPropertyAccess(t)){t=t.parent}if(isHeritageClauseElementIdentifier(t)){var s=0;if(t.parent.kind===216){s=788968;if(e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)){s|=111551}}else{s=1920}s|=2097152;var c=e.isEntityNameExpression(t)?resolveEntityName(t,s):undefined;if(c){return c}}if(t.parent.kind===317){return e.getParameterSymbolFromJSDoc(t.parent)}if(t.parent.kind===155&&t.parent.parent.kind===321){e.Debug.assert(!e.isInJSFile(t));var l=e.getTypeParameterFromJsDoc(t.parent);return l&&l.symbol}if(e.isExpressionNode(t)){if(e.nodeIsMissing(t)){return undefined}if(t.kind===75){if(e.isJSXTagName(t)&&isJsxIntrinsicIdentifier(t)){var u=getIntrinsicTagSymbol(t.parent);return u===oe?undefined:u}return resolveEntityName(t,111551,false,true)}else if(t.kind===194||t.kind===153){var d=getNodeLinks(t);if(d.resolvedSymbol){return d.resolvedSymbol}if(t.kind===194){checkPropertyAccessExpression(t)}else{checkQualifiedName(t)}return d.resolvedSymbol}}else if(isTypeReferenceIdentifier(t)){var s=t.parent.kind===169?788968:1920;return resolveEntityName(t,s,false,true)}if(t.parent.kind===168){return resolveEntityName(t,1)}return undefined}function getSymbolAtLocation(t,r){if(t.kind===290){return e.isExternalModule(t)?getMergedSymbol(t.symbol):undefined}var n=t.parent;var i=n.parent;if(t.flags&16777216){return undefined}if(isDeclarationNameOrImportPropertyName(t)){var a=getSymbolOfNode(n);return e.isImportOrExportSpecifier(t.parent)&&t.parent.propertyName===t?getImmediateAliasedSymbol(a):a}else if(e.isLiteralComputedPropertyDeclarationName(t)){return getSymbolOfNode(n.parent)}if(t.kind===75){if(isInRightSideOfImportOrExportAssignment(t)){return getSymbolOfNameOrPropertyAccessExpression(t)}else if(n.kind===191&&i.kind===189&&t===n.propertyName){var o=getTypeOfNode(i);var s=getPropertyOfType(o,t.escapedText);if(s){return s}}}switch(t.kind){case 75:case 76:case 194:case 153:return getSymbolOfNameOrPropertyAccessExpression(t);case 104:var c=e.getThisContainer(t,false);if(e.isFunctionLike(c)){var l=getSignatureFromDeclaration(c);if(l.thisParameter){return l.thisParameter}}if(e.isInExpressionContext(t)){return checkExpression(t).symbol}case 183:return getTypeFromThisTypeNode(t).symbol;case 102:return checkExpression(t).symbol;case 129:var u=t.parent;if(u&&u.kind===162){return u.parent.symbol}return undefined;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(t.parent.kind===254||t.parent.kind===260)&&t.parent.moduleSpecifier===t||(e.isInJSFile(t)&&e.isRequireCall(t.parent,false)||e.isImportCall(t.parent))||e.isLiteralTypeNode(t.parent)&&e.isLiteralImportTypeNode(t.parent.parent)&&t.parent.parent.argument===t.parent){return resolveExternalModuleName(t,t,r)}if(e.isCallExpression(n)&&e.isBindableObjectDefinePropertyCall(n)&&n.arguments[1]===t){return getSymbolOfNode(n)}case 8:var d=e.isElementAccessExpression(n)?n.argumentExpression===t?getTypeOfExpression(n.expression):undefined:e.isLiteralTypeNode(n)&&e.isIndexedAccessTypeNode(i)?getTypeFromTypeNode(i.objectType):undefined;return d&&getPropertyOfType(d,e.escapeLeadingUnderscores(t.text));case 84:case 94:case 38:case 80:return getSymbolOfNode(t.parent);case 188:return e.isLiteralImportTypeNode(t)?getSymbolAtLocation(t.argument.literal,r):undefined;case 89:return e.isExportAssignment(t.parent)?e.Debug.checkDefined(t.parent.symbol):undefined;default:return undefined}}function getShorthandAssignmentValueSymbol(e){if(e&&e.kind===282){return resolveEntityName(e.name,111551|2097152)}return undefined}function getExportSpecifierLocalTargetSymbol(e){return e.parent.parent.moduleSpecifier?getExternalModuleMember(e.parent.parent,e):resolveEntityName(e.propertyName||e.name,111551|788968|1920|2097152)}function getTypeOfNode(t){if(t.flags&16777216){return de}var r=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(t);var n=r&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(r.class));if(e.isPartOfTypeNode(t)){var i=getTypeFromTypeNode(t);return n?getTypeWithThisArgument(i,n.thisType):i}if(e.isExpressionNode(t)){return getRegularTypeOfExpression(t)}if(n&&!r.isImplements){var a=e.firstOrUndefined(getBaseTypes(n));return a?getTypeWithThisArgument(a,n.thisType):de}if(isTypeDeclaration(t)){var o=getSymbolOfNode(t);return getDeclaredTypeOfSymbol(o)}if(isTypeDeclarationName(t)){var o=getSymbolAtLocation(t);return o?getDeclaredTypeOfSymbol(o):de}if(e.isDeclaration(t)){var o=getSymbolOfNode(t);return getTypeOfSymbol(o)}if(isDeclarationNameOrImportPropertyName(t)){var o=getSymbolAtLocation(t);if(o){return getTypeOfSymbol(o)}return de}if(e.isBindingPattern(t)){return getTypeForVariableLikeDeclaration(t.parent,true)||de}if(isInRightSideOfImportOrExportAssignment(t)){var o=getSymbolAtLocation(t);if(o){var s=getDeclaredTypeOfSymbol(o);return s!==de?s:getTypeOfSymbol(o)}}return de}function getTypeOfAssignmentPattern(t){e.Debug.assert(t.kind===193||t.kind===192);if(t.parent.kind===232){var r=checkRightHandSideOfForOf(t.parent);return checkDestructuringAssignment(t,r||de)}if(t.parent.kind===209){var r=getTypeOfExpression(t.parent.right);return checkDestructuringAssignment(t,r||de)}if(t.parent.kind===281){var n=e.cast(t.parent.parent,e.isObjectLiteralExpression);var i=getTypeOfAssignmentPattern(n)||de;var a=e.indexOfNode(n.properties,t.parent);return checkObjectLiteralDestructuringPropertyAssignment(n,i,a)}var o=e.cast(t.parent,e.isArrayLiteralExpression);var s=getTypeOfAssignmentPattern(o)||de;var c=checkIteratedTypeOrElementType(65,s,ge,t.parent)||de;return checkArrayLiteralDestructuringElementAssignment(o,s,o.elements.indexOf(t),c)}function getPropertySymbolOfDestructuringAssignment(t){var r=getTypeOfAssignmentPattern(e.cast(t.parent.parent,e.isAssignmentPattern));return r&&getPropertyOfType(r,t.escapedText)}function getRegularTypeOfExpression(t){if(e.isRightSideOfQualifiedNameOrPropertyAccess(t)){t=t.parent}return getRegularTypeOfLiteralType(getTypeOfExpression(t))}function getParentTypeOfClassElement(t){var r=getSymbolOfNode(t.parent);return e.hasModifier(t,32)?getTypeOfSymbol(r):getDeclaredTypeOfSymbol(r)}function getClassElementPropertyKeyType(t){var r=t.name;switch(r.kind){case 75:return getLiteralType(e.idText(r));case 8:case 10:return getLiteralType(r.text);case 154:var n=checkComputedPropertyName(r);return isTypeAssignableToKind(n,12288)?n:ve;default:return e.Debug.fail("Unsupported property name.")}}function getAugmentedPropertiesOfType(t){t=getApparentType(t);var r=e.createSymbolTable(getPropertiesOfType(t));var n=getSignaturesOfType(t,0).length?Tt:getSignaturesOfType(t,1).length?bt:undefined;if(n){e.forEach(getPropertiesOfType(n),(function(e){if(!r.has(e.escapedName)){r.set(e.escapedName,e)}}))}return getNamedMembers(r)}function typeHasCallOrConstructSignatures(t){return e.typeHasCallOrConstructSignatures(t,X)}function getRootSymbols(t){var r=getImmediateRootSymbols(t);return r?e.flatMap(r,getRootSymbols):[t]}function getImmediateRootSymbols(t){if(e.getCheckFlags(t)&6){return e.mapDefined(getSymbolLinks(t).containingType.types,(function(e){return getPropertyOfType(e,t.escapedName)}))}else if(t.flags&33554432){var r=t,n=r.leftSpread,i=r.rightSpread,a=r.syntheticOrigin;return n?[n,i]:a?[a]:e.singleElementArray(tryGetAliasTarget(t))}return undefined}function tryGetAliasTarget(e){var t;var r=e;while(r=getSymbolLinks(r).target){t=r}return t}function isArgumentsLocalBinding(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=r.parent.kind===194&&r.parent.name===r;return!n&&getReferencedValueSymbol(r)===G}}return false}function moduleExportsSomeValue(t){var r=resolveExternalModuleName(t.parent,t);if(!r||e.isShorthandAmbientModuleSymbol(r)){return true}var n=hasExportAssignmentSymbol(r);r=resolveExternalModuleSymbol(r);var i=getSymbolLinks(r);if(i.exportsSomeValue===undefined){i.exportsSomeValue=n?!!(r.flags&111551):e.forEachEntry(getExportsOfModule(r),isValue)}return i.exportsSomeValue;function isValue(e){e=resolveSymbol(e);return e&&!!(e.flags&111551)}}function isNameOfModuleOrEnumDeclaration(t){return e.isModuleOrEnumDeclaration(t.parent)&&t===t.parent.name}function getReferencedExportContainer(t,r){var n=e.getParseTreeNode(t,e.isIdentifier);if(n){var i=getReferencedValueSymbol(n,isNameOfModuleOrEnumDeclaration(n));if(i){if(i.flags&1048576){var a=getMergedSymbol(i.exportSymbol);if(!r&&a.flags&944&&!(a.flags&3)){return undefined}i=a}var o=getParentOfSymbol(i);if(o){if(o.flags&512&&o.valueDeclaration.kind===290){var s=o.valueDeclaration;var c=e.getSourceFileOfNode(n);var l=s!==c;return l?undefined:s}return e.findAncestor(n.parent,(function(t){return e.isModuleOrEnumDeclaration(t)&&getSymbolOfNode(t)===o}))}}}}function getReferencedImportDeclaration(t){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=getReferencedValueSymbol(r);if(isNonLocalAlias(n,111551)&&!getTypeOnlyAliasDeclaration(n)){return getDeclarationOfAliasSymbol(n)}}return undefined}function isSymbolOfDestructuredElementOfCatchBinding(t){return e.isBindingElement(t.valueDeclaration)&&e.walkUpBindingElementsAndPatterns(t.valueDeclaration).parent.kind===280}function isSymbolOfDeclarationWithCollidingName(t){if(t.flags&418&&!e.isSourceFile(t.valueDeclaration)){var r=getSymbolLinks(t);if(r.isDeclarationWithCollidingName===undefined){var n=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(n)||isSymbolOfDestructuredElementOfCatchBinding(t)){var i=getNodeLinks(t.valueDeclaration);if(resolveName(n.parent,t.escapedName,111551,undefined,undefined,false)){r.isDeclarationWithCollidingName=true}else if(i.flags&262144){var a=i.flags&524288;var o=e.isIterationStatement(n,false);var s=n.kind===223&&e.isIterationStatement(n.parent,false);r.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(n)&&(!a||!o&&!s)}else{r.isDeclarationWithCollidingName=false}}}return r.isDeclarationWithCollidingName}return false}function getReferencedDeclarationWithCollidingName(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=getReferencedValueSymbol(r);if(n&&isSymbolOfDeclarationWithCollidingName(n)){return n.valueDeclaration}}}return undefined}function isDeclarationWithCollidingName(t){var r=e.getParseTreeNode(t,e.isDeclaration);if(r){var n=getSymbolOfNode(r);if(n){return isSymbolOfDeclarationWithCollidingName(n)}}return false}function isValueAliasDeclaration(t){switch(t.kind){case 253:return isAliasResolvedToValue(getSymbolOfNode(t)||oe);case 255:case 256:case 258:case 263:var r=getSymbolOfNode(t)||oe;return isAliasResolvedToValue(r)&&!getTypeOnlyAliasDeclaration(r);case 260:var n=t.exportClause;return!!n&&(e.isNamespaceExport(n)||e.some(n.elements,isValueAliasDeclaration));case 259:return t.expression&&t.expression.kind===75?isAliasResolvedToValue(getSymbolOfNode(t)||oe):true}return false}function isTopLevelValueImportEqualsWithEntityName(t){var r=e.getParseTreeNode(t,e.isImportEqualsDeclaration);if(r===undefined||r.parent.kind!==290||!e.isInternalModuleImportEqualsDeclaration(r)){return false}var n=isAliasResolvedToValue(getSymbolOfNode(r));return n&&r.moduleReference&&!e.nodeIsMissing(r.moduleReference)}function isAliasResolvedToValue(e){var t=resolveAlias(e);if(t===oe){return true}return!!(t.flags&111551)&&(P.preserveConstEnums||!isConstEnumOrConstEnumOnlyModule(t))}function isConstEnumOrConstEnumOnlyModule(e){return isConstEnumSymbol(e)||!!e.constEnumOnlyModule}function isReferencedAliasDeclaration(t,r){if(isAliasSymbolDeclaration(t)){var n=getSymbolOfNode(t);if(n&&getSymbolLinks(n).referenced){return true}var i=getSymbolLinks(n).target;if(i&&e.getModifierFlags(t)&1&&i.flags&111551&&(P.preserveConstEnums||!isConstEnumOrConstEnumOnlyModule(i))){return true}}if(r){return!!e.forEachChild(t,(function(e){return isReferencedAliasDeclaration(e,r)}))}return false}function isImplementationOfOverload(t){if(e.nodeIsPresent(t.body)){if(e.isGetAccessor(t)||e.isSetAccessor(t))return false;var r=getSymbolOfNode(t);var n=getSignaturesOfSymbol(r);return n.length>1||n.length===1&&n[0].declaration!==t}return false}function isRequiredInitializedParameter(t){return!!M&&!isOptionalParameter(t)&&!e.isJSDocParameterTag(t)&&!!t.initializer&&!e.hasModifier(t,92)}function isOptionalUninitializedParameterProperty(t){return M&&isOptionalParameter(t)&&!t.initializer&&e.hasModifier(t,92)}function isExpandoFunctionDeclaration(t){var r=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!r){return false}var n=getSymbolOfNode(r);if(!n||!(n.flags&16)){return false}return!!e.forEachEntry(getExportsOfSymbol(n),(function(t){return t.flags&111551&&t.valueDeclaration&&e.isPropertyAccessExpression(t.valueDeclaration)}))}function getPropertiesOfContainerFunction(t){var r=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!r){return e.emptyArray}var n=getSymbolOfNode(r);return n&&getPropertiesOfType(getTypeOfSymbol(n))||e.emptyArray}function getNodeCheckFlags(e){return getNodeLinks(e).flags||0}function getEnumMemberValue(e){computeEnumMemberValues(e.parent);return getNodeLinks(e).enumMemberValue}function canHaveConstantValue(e){switch(e.kind){case 284:case 194:case 195:return true}return false}function getConstantValue(t){if(t.kind===284){return getEnumMemberValue(t)}var r=getNodeLinks(t).resolvedSymbol;if(r&&r.flags&8){var n=r.valueDeclaration;if(e.isEnumConst(n.parent)){return getEnumMemberValue(n)}}return undefined}function isFunctionType(e){return!!(e.flags&524288)&&getSignaturesOfType(e,0).length>0}function getTypeReferenceSerializationKind(t,r){var n=e.getParseTreeNode(t,e.isEntityName);if(!n)return e.TypeReferenceSerializationKind.Unknown;if(r){r=e.getParseTreeNode(r);if(!r)return e.TypeReferenceSerializationKind.Unknown}var i=resolveEntityName(n,111551,true,false,r);var a=resolveEntityName(n,788968,true,false,r);if(i&&i===a){var o=getGlobalPromiseConstructorSymbol(false);if(o&&i===o){return e.TypeReferenceSerializationKind.Promise}var s=getTypeOfSymbol(i);if(s&&isConstructorType(s)){return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}}if(!a){return e.TypeReferenceSerializationKind.Unknown}var c=getDeclaredTypeOfSymbol(a);if(c===de){return e.TypeReferenceSerializationKind.Unknown}else if(c.flags&3){return e.TypeReferenceSerializationKind.ObjectType}else if(isTypeAssignableToKind(c,16384|98304|131072)){return e.TypeReferenceSerializationKind.VoidNullableOrNeverType}else if(isTypeAssignableToKind(c,528)){return e.TypeReferenceSerializationKind.BooleanType}else if(isTypeAssignableToKind(c,296)){return e.TypeReferenceSerializationKind.NumberLikeType}else if(isTypeAssignableToKind(c,2112)){return e.TypeReferenceSerializationKind.BigIntLikeType}else if(isTypeAssignableToKind(c,132)){return e.TypeReferenceSerializationKind.StringLikeType}else if(isTupleType(c)){return e.TypeReferenceSerializationKind.ArrayLikeType}else if(isTypeAssignableToKind(c,12288)){return e.TypeReferenceSerializationKind.ESSymbolType}else if(isFunctionType(c)){return e.TypeReferenceSerializationKind.TypeWithCallSignature}else if(isArrayType(c)){return e.TypeReferenceSerializationKind.ArrayLikeType}else{return e.TypeReferenceSerializationKind.ObjectType}}function createTypeOfDeclaration(t,r,n,i,a){var o=e.getParseTreeNode(t,e.isVariableLikeOrAccessor);if(!o){return e.createToken(125)}var s=getSymbolOfNode(o);var c=s&&!(s.flags&(2048|131072))?getWidenedLiteralType(getTypeOfSymbol(s)):de;if(c.flags&8192&&c.symbol===s){n|=1048576}if(a){c=getOptionalType(c)}return z.typeToTypeNode(c,r,n|1024,i)}function createReturnTypeOfSignatureDeclaration(t,r,n,i){var a=e.getParseTreeNode(t,e.isFunctionLike);if(!a){return e.createToken(125)}var o=getSignatureFromDeclaration(a);return z.typeToTypeNode(getReturnTypeOfSignature(o),r,n|1024,i)}function createTypeOfExpression(t,r,n,i){var a=e.getParseTreeNode(t,e.isExpression);if(!a){return e.createToken(125)}var o=getWidenedType(getRegularTypeOfExpression(a));return z.typeToTypeNode(o,r,n|1024,i)}function hasGlobalName(t){return H.has(e.escapeLeadingUnderscores(t))}function getReferencedValueSymbol(t,r){var n=getNodeLinks(t).resolvedSymbol;if(n){return n}var i=t;if(r){var a=t.parent;if(e.isDeclaration(a)&&t===a.name){i=getDeclarationContainer(a)}}return resolveName(i,t.escapedText,111551|1048576|2097152,undefined,undefined,true)}function getReferencedValueDeclaration(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=getReferencedValueSymbol(r);if(n){return getExportSymbolOfValueSymbolIfExported(n).valueDeclaration}}}return undefined}function isLiteralConstDeclaration(t){if(e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t)){return isFreshLiteralType(getTypeOfSymbol(getSymbolOfNode(t)))}return false}function literalTypeToNode(t,r,n){var i=t.flags&1024?z.symbolToExpression(t.symbol,111551,r,undefined,n):t===De?e.createTrue():t===Se&&e.createFalse();return i||e.createLiteral(t.value)}function createLiteralConstValue(e,t){var r=getTypeOfSymbol(getSymbolOfNode(e));return literalTypeToNode(r,e,t)}function getJsxFactoryEntity(t){return t?(getJsxNamespace(t),e.getSourceFileOfNode(t).localJsxFactory||Br):Br}function createResolver(){var t=o.getResolvedTypeReferenceDirectives();var r;if(t){r=e.createMap();t.forEach((function(e,t){if(!e||!e.resolvedFileName){return}var r=o.getSourceFile(e.resolvedFileName);if(r){addReferencedFilesToTypeDirective(r,t)}}))}return{getReferencedExportContainer:getReferencedExportContainer,getReferencedImportDeclaration:getReferencedImportDeclaration,getReferencedDeclarationWithCollidingName:getReferencedDeclarationWithCollidingName,isDeclarationWithCollidingName:isDeclarationWithCollidingName,isValueAliasDeclaration:function(t){t=e.getParseTreeNode(t);return t?isValueAliasDeclaration(t):true},hasGlobalName:hasGlobalName,isReferencedAliasDeclaration:function(t,r){t=e.getParseTreeNode(t);return t?isReferencedAliasDeclaration(t,r):true},getNodeCheckFlags:function(t){t=e.getParseTreeNode(t);return t?getNodeCheckFlags(t):0},isTopLevelValueImportEqualsWithEntityName:isTopLevelValueImportEqualsWithEntityName,isDeclarationVisible:isDeclarationVisible,isImplementationOfOverload:isImplementationOfOverload,isRequiredInitializedParameter:isRequiredInitializedParameter,isOptionalUninitializedParameterProperty:isOptionalUninitializedParameterProperty,isExpandoFunctionDeclaration:isExpandoFunctionDeclaration,getPropertiesOfContainerFunction:getPropertiesOfContainerFunction,createTypeOfDeclaration:createTypeOfDeclaration,createReturnTypeOfSignatureDeclaration:createReturnTypeOfSignatureDeclaration,createTypeOfExpression:createTypeOfExpression,createLiteralConstValue:createLiteralConstValue,isSymbolAccessible:isSymbolAccessible,isEntityNameVisible:isEntityNameVisible,getConstantValue:function(t){var r=e.getParseTreeNode(t,canHaveConstantValue);return r?getConstantValue(r):undefined},collectLinkedAliases:collectLinkedAliases,getReferencedValueDeclaration:getReferencedValueDeclaration,getTypeReferenceSerializationKind:getTypeReferenceSerializationKind,isOptionalParameter:isOptionalParameter,moduleExportsSomeValue:moduleExportsSomeValue,isArgumentsLocalBinding:isArgumentsLocalBinding,getExternalModuleFileFromDeclaration:getExternalModuleFileFromDeclaration,getTypeReferenceDirectivesForEntityName:getTypeReferenceDirectivesForEntityName,getTypeReferenceDirectivesForSymbol:getTypeReferenceDirectivesForSymbol,isLiteralConstDeclaration:isLiteralConstDeclaration,isLateBound:function(t){var r=e.getParseTreeNode(t,e.isDeclaration);var n=r&&getSymbolOfNode(r);return!!(n&&e.getCheckFlags(n)&4096)},getJsxFactoryEntity:getJsxFactoryEntity,getAllAccessorDeclarations:function(t){t=e.getParseTreeNode(t,e.isGetOrSetAccessorDeclaration);var r=t.kind===164?163:164;var n=e.getDeclarationOfKind(getSymbolOfNode(t),r);var i=n&&n.pos1||e.modifiers[0].kind!==t}function checkGrammarAsyncModifier(t,r){switch(t.kind){case 161:case 244:case 201:case 202:return false}return grammarErrorOnNode(r,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function checkGrammarForDisallowedTrailingComma(t,r){if(r===void 0){r=e.Diagnostics.Trailing_comma_not_allowed}if(t&&t.hasTrailingComma){return grammarErrorAtPos(t[0],t.end-",".length,",".length,r)}return false}function checkGrammarTypeParameterList(t,r){if(t&&t.length===0){var n=t.pos-"<".length;var i=e.skipTrivia(r.text,t.end)+">".length;return grammarErrorAtPos(r,n,i-n,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return false}function checkGrammarParameterList(t){var r=false;var n=t.length;for(var i=0;i=3){var r=t.body&&e.isBlock(t.body)&&e.findUseStrictPrologue(t.body.statements);if(r){var i=getNonSimpleParameters(t.parameters);if(e.length(i)){e.forEach(i,(function(t){e.addRelatedInfo(error(t,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(r,e.Diagnostics.use_strict_directive_used_here))}));var a=i.map((function(t,r){return r===0?e.createDiagnosticForNode(t,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(t,e.Diagnostics.and_here)}));e.addRelatedInfo.apply(void 0,n([error(r,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a));return true}}}return false}function checkGrammarFunctionLikeDeclaration(t){var r=e.getSourceFileOfNode(t);return checkGrammarDecoratorsAndModifiers(t)||checkGrammarTypeParameterList(t.typeParameters,r)||checkGrammarParameterList(t.parameters)||checkGrammarArrowFunction(t,r)||e.isFunctionLikeDeclaration(t)&&checkGrammarForUseStrictSimpleParameterList(t)}function checkGrammarClassLikeDeclaration(t){var r=e.getSourceFileOfNode(t);return checkGrammarClassDeclarationHeritageClauses(t)||checkGrammarTypeParameterList(t.typeParameters,r)}function checkGrammarArrowFunction(t,r){if(!e.isArrowFunction(t)){return false}var n=t.equalsGreaterThanToken;var i=e.getLineAndCharacterOfPosition(r,n.pos).line;var a=e.getLineAndCharacterOfPosition(r,n.end).line;return i!==a&&grammarErrorOnNode(n,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}function checkGrammarIndexSignatureParameters(t){var r=t.parameters[0];if(t.parameters.length!==1){if(r){return grammarErrorOnNode(r.name,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}else{return grammarErrorOnNode(t,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}}checkGrammarForDisallowedTrailingComma(t.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma);if(r.dotDotDotToken){return grammarErrorOnNode(r.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter)}if(e.hasModifiers(r)){return grammarErrorOnNode(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier)}if(r.questionToken){return grammarErrorOnNode(r.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark)}if(r.initializer){return grammarErrorOnNode(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer)}if(!r.type){return grammarErrorOnNode(r.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation)}if(r.type.kind!==143&&r.type.kind!==140){var n=getTypeFromTypeNode(r.type);if(n.flags&4||n.flags&8){return grammarErrorOnNode(r.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead,e.getTextOfNode(r.name),typeToString(n),typeToString(t.type?getTypeFromTypeNode(t.type):ce))}if(n.flags&1048576&&allTypesAssignableToKind(n,384,true)){return grammarErrorOnNode(r.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead)}return grammarErrorOnNode(r.name,e.Diagnostics.An_index_signature_parameter_type_must_be_either_string_or_number)}if(!t.type){return grammarErrorOnNode(t,e.Diagnostics.An_index_signature_must_have_a_type_annotation)}return false}function checkGrammarIndexSignature(e){return checkGrammarDecoratorsAndModifiers(e)||checkGrammarIndexSignatureParameters(e)}function checkGrammarForAtLeastOneTypeArgument(t,r){if(r&&r.length===0){var n=e.getSourceFileOfNode(t);var i=r.pos-"<".length;var a=e.skipTrivia(n.text,r.end)+">".length;return grammarErrorAtPos(n,i,a-i,e.Diagnostics.Type_argument_list_cannot_be_empty)}return false}function checkGrammarTypeArguments(e,t){return checkGrammarForDisallowedTrailingComma(t)||checkGrammarForAtLeastOneTypeArgument(e,t)}function checkGrammarTaggedTemplateChain(t){if(t.questionDotToken||t.flags&32){return grammarErrorOnNode(t.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)}return false}function checkGrammarForOmittedArgument(t){if(t){for(var r=0,n=t;r1){return grammarErrorOnFirstToken(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class)}r=true}else{e.Debug.assert(o.token===113);if(n){return grammarErrorOnFirstToken(o,e.Diagnostics.implements_clause_already_seen)}n=true}checkGrammarHeritageClause(o)}}}function checkGrammarInterfaceDeclaration(t){var r=false;if(t.heritageClauses){for(var n=0,i=t.heritageClauses;n1){var n=t.kind===231?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return grammarErrorOnFirstToken(o.declarations[1],n)}var c=s[0];if(c.initializer){var n=t.kind===231?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return grammarErrorOnNode(c.name,n)}if(c.type){var n=t.kind===231?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return grammarErrorOnNode(c,n)}}}return false}function checkGrammarAccessor(t){if(!(t.flags&8388608)){if(O<1){return grammarErrorOnNode(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher)}if(t.body===undefined&&!e.hasModifier(t,128)){return grammarErrorAtPos(t,t.end-1,";".length,e.Diagnostics._0_expected,"{")}}if(t.body&&e.hasModifier(t,128)){return grammarErrorOnNode(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation)}if(t.typeParameters){return grammarErrorOnNode(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters)}if(!doesAccessorHaveCorrectParameterCount(t)){return grammarErrorOnNode(t.name,t.kind===163?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter)}if(t.kind===164){if(t.type){return grammarErrorOnNode(t.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation)}var r=e.Debug.checkDefined(e.getSetAccessorValueParameter(t),"Return value does not match parameter count assertion.");if(r.dotDotDotToken){return grammarErrorOnNode(r.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter)}if(r.questionToken){return grammarErrorOnNode(r.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter)}if(r.initializer){return grammarErrorOnNode(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}return false}function doesAccessorHaveCorrectParameterCount(e){return getAccessorThisParameter(e)||e.parameters.length===(e.kind===163?0:1)}function getAccessorThisParameter(t){if(t.parameters.length===(t.kind===163?1:2)){return e.getThisParameter(t)}}function checkGrammarTypeOperatorNode(t){if(t.operator===147){if(t.type.kind!==144){return grammarErrorOnNode(t.type,e.Diagnostics._0_expected,e.tokenToString(144))}var r=e.walkUpParenthesizedTypes(t.parent);switch(r.kind){case 242:var n=r;if(n.name.kind!==75){return grammarErrorOnNode(t,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name)}if(!e.isVariableDeclarationInVariableStatement(n)){return grammarErrorOnNode(t,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement)}if(!(n.parent.flags&2)){return grammarErrorOnNode(r.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const)}break;case 159:if(!e.hasModifier(r,32)||!e.hasModifier(r,64)){return grammarErrorOnNode(r.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly)}break;case 158:if(!e.hasModifier(r,64)){return grammarErrorOnNode(r.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly)}break;default:return grammarErrorOnNode(t,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(t.operator===138){if(t.type.kind!==174&&t.type.kind!==175){return grammarErrorOnFirstToken(t,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(144))}}}function checkGrammarForInvalidDynamicName(e,t){if(isNonBindableDynamicName(e)){return grammarErrorOnNode(e,t)}}function checkGrammarMethod(t){if(checkGrammarFunctionLikeDeclaration(t)){return true}if(t.kind===161){if(t.parent.kind===193){if(t.modifiers&&!(t.modifiers.length===1&&e.first(t.modifiers).kind===126)){return grammarErrorOnFirstToken(t,e.Diagnostics.Modifiers_cannot_appear_here)}else if(checkGrammarForInvalidQuestionMark(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional)){return true}else if(checkGrammarForInvalidExclamationToken(t.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)){return true}else if(t.body===undefined){return grammarErrorAtPos(t,t.end-1,";".length,e.Diagnostics._0_expected,"{")}}if(checkGrammarForGenerator(t)){return true}}if(e.isClassLike(t.parent)){if(t.flags&8388608){return checkGrammarForInvalidDynamicName(t.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(t.kind===161&&!t.body){return checkGrammarForInvalidDynamicName(t.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}else if(t.parent.kind===246){return checkGrammarForInvalidDynamicName(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(t.parent.kind===173){return checkGrammarForInvalidDynamicName(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function checkGrammarBreakOrContinueStatement(t){var r=t;while(r){if(e.isFunctionLike(r)){return grammarErrorOnNode(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary)}switch(r.kind){case 238:if(t.label&&r.label.escapedText===t.label.escapedText){var n=t.kind===233&&!e.isIterationStatement(r.statement,true);if(n){return grammarErrorOnNode(t,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}return false}break;case 237:if(t.kind===234&&!t.label){return false}break;default:if(e.isIterationStatement(r,false)&&!t.label){return false}break}r=r.parent}if(t.label){var i=t.kind===234?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return grammarErrorOnNode(t,i)}else{var i=t.kind===234?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return grammarErrorOnNode(t,i)}}function checkGrammarBindingElement(t){if(t.dotDotDotToken){var r=t.parent.elements;if(t!==e.last(r)){return grammarErrorOnNode(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}checkGrammarForDisallowedTrailingComma(r,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);if(t.propertyName){return grammarErrorOnNode(t.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(t.initializer){return grammarErrorAtPos(t,t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}}function isStringOrNumberLiteralExpression(t){return e.isStringOrNumericLiteralLike(t)||t.kind===207&&t.operator===40&&t.operand.kind===8}function isBigIntLiteralExpression(e){return e.kind===9||e.kind===207&&e.operator===40&&e.operand.kind===9}function isSimpleLiteralEnumReference(t){if((e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)&&isStringOrNumberLiteralExpression(t.argumentExpression))&&e.isEntityNameExpression(t.expression)){return!!(checkExpressionCached(t).flags&1024)}}function checkAmbientInitializer(t){var r=t.initializer;if(r){var n=!(isStringOrNumberLiteralExpression(r)||isSimpleLiteralEnumReference(r)||r.kind===106||r.kind===91||isBigIntLiteralExpression(r));var i=e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t);if(i&&!t.type){if(n){return grammarErrorOnNode(r,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}}else{return grammarErrorOnNode(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!i||n){return grammarErrorOnNode(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}}function checkGrammarVariableDeclaration(t){if(t.parent.parent.kind!==231&&t.parent.parent.kind!==232){if(t.flags&8388608){checkAmbientInitializer(t)}else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent)){return grammarErrorOnNode(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer)}if(e.isVarConst(t)){return grammarErrorOnNode(t,e.Diagnostics.const_declarations_must_be_initialized)}}}if(t.exclamationToken&&(t.parent.parent.kind!==225||!t.type||t.initializer||t.flags&8388608)){return grammarErrorOnNode(t.exclamationToken,e.Diagnostics.Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation)}var r=e.getEmitModuleKind(P);if(r0}function grammarErrorOnFirstToken(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!hasParseDiagnostics(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);Ir.add(e.createFileDiagnostic(o,s.start,s.length,r,n,i,a));return true}return false}function grammarErrorAtPos(t,r,n,i,a,o,s){var c=e.getSourceFileOfNode(t);if(!hasParseDiagnostics(c)){Ir.add(e.createFileDiagnostic(c,r,n,i,a,o,s));return true}return false}function grammarErrorOnNode(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!hasParseDiagnostics(o)){Ir.add(e.createDiagnosticForNode(t,r,n,i,a));return true}return false}function checkGrammarConstructorTypeParameters(t){var r=e.isInJSFile(t)?e.getJSDocTypeParameterDeclarations(t):undefined;var n=t.typeParameters||r&&e.firstOrUndefined(r);if(n){var i=n.pos===n.end?n.pos:e.skipTrivia(e.getSourceFileOfNode(t).text,n.pos);return grammarErrorAtPos(t,i,n.end-i,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function checkGrammarConstructorTypeAnnotation(t){var r=e.getEffectiveReturnTypeNode(t);if(r){return grammarErrorOnNode(r,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}}function checkGrammarProperty(t){if(e.isClassLike(t.parent)){if(e.isStringLiteral(t.name)&&t.name.text==="constructor"){return grammarErrorOnNode(t.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor)}if(checkGrammarForInvalidDynamicName(t.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(O<2&&e.isPrivateIdentifier(t.name)){return grammarErrorOnNode(t.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}}else if(t.parent.kind===246){if(checkGrammarForInvalidDynamicName(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(t.initializer){return grammarErrorOnNode(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}}else if(t.parent.kind===173){if(checkGrammarForInvalidDynamicName(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(t.initializer){return grammarErrorOnNode(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}}if(t.flags&8388608){checkAmbientInitializer(t)}if(e.isPropertyDeclaration(t)&&t.exclamationToken&&(!e.isClassLike(t.parent)||!t.type||t.initializer||t.flags&8388608||e.hasModifier(t,32|128))){return grammarErrorOnNode(t.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)}}function checkGrammarTopLevelElementForRequiredDeclareModifier(t){if(t.kind===246||t.kind===247||t.kind===254||t.kind===253||t.kind===260||t.kind===259||t.kind===252||e.hasModifier(t,2|1|512)){return false}return grammarErrorOnFirstToken(t,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function checkGrammarTopLevelElementsForRequiredDeclareModifier(t){for(var r=0,n=t.statements;r=1){r=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0}else if(e.isChildOfNodeWithKind(t,187)){r=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0}else if(e.isChildOfNodeWithKind(t,284)){r=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0}if(r){var n=e.isPrefixUnaryExpression(t.parent)&&t.parent.operator===40;var i=(n?"-":"")+"0o"+t.text;return grammarErrorOnNode(n?t.parent:t,r,i)}}checkNumericLiteralValueSize(t);return false}function checkNumericLiteralValueSize(t){if(t.numericLiteralFlags&16||t.text.length<=15||t.text.indexOf(".")!==-1){return}var r=+e.getTextOfNode(t);if(r<=Math.pow(2,53)-1&&r+1>r){return}addErrorOrSuggestion(false,e.createDiagnosticForNode(t,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function checkGrammarBigIntLiteral(t){var r=e.isLiteralTypeNode(t.parent)||e.isPrefixUnaryExpression(t.parent)&&e.isLiteralTypeNode(t.parent.parent);if(!r){if(O<7){if(grammarErrorOnNode(t,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)){return true}}}return false}function grammarErrorAfterFirstToken(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!hasParseDiagnostics(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);Ir.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,r,n,i,a));return true}return false}function getAmbientModules(){if(!mt){mt=[];H.forEach((function(e,r){if(t.test(r)){mt.push(e)}}))}return mt}function checkGrammarImportClause(t){if(t.isTypeOnly&&t.name&&t.namedBindings){return grammarErrorOnNode(t,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both)}return false}function checkGrammarImportCallExpression(t){if(I===e.ModuleKind.ES2015){return grammarErrorOnNode(t,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd)}if(t.typeArguments){return grammarErrorOnNode(t,e.Diagnostics.Dynamic_import_cannot_have_type_arguments)}var r=t.arguments;if(r.length!==1){return grammarErrorOnNode(t,e.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument)}checkGrammarForDisallowedTrailingComma(r);if(e.isSpreadElement(r[0])){return grammarErrorOnNode(r[0],e.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}return false}function findMatchingTypeReferenceOrTypeAliasReference(t,r){var n=e.getObjectFlags(t);if(n&(4|16)&&r.flags&1048576){return e.find(r.types,(function(r){if(r.flags&524288){var i=n&e.getObjectFlags(r);if(i&4){return t.target===r.target}if(i&16){return!!t.aliasSymbol&&t.aliasSymbol===r.aliasSymbol}}return false}))}}function findBestTypeForObjectLiteral(t,r){if(e.getObjectFlags(t)&128&&forEachType(r,isArrayLikeType)){return e.find(r.types,(function(e){return!isArrayLikeType(e)}))}}function findBestTypeForInvokable(t,r){var n=0;var i=getSignaturesOfType(t,n).length>0||(n=1,getSignaturesOfType(t,n).length>0);if(i){return e.find(r.types,(function(e){return getSignaturesOfType(e,n).length>0}))}}function findMostOverlappyType(t,r){var n;var i=0;for(var a=0,o=r.types;a=i){n=s;i=l}}else if(isUnitType(c)&&1>=i){n=s;i=1}}return n}function filterPrimitivesIfContainsNonPrimitive(e){if(maybeTypeOfKind(e,67108864)){var t=filterType(e,(function(e){return!(e.flags&131068)}));if(!(t.flags&131072)){return t}}return e}function findMatchingDiscriminantType(t,r,n,i){if(r.flags&1048576&&t.flags&(2097152|524288)){var a=getPropertiesOfType(t);if(a){var o=findDiscriminantProperties(a,r);if(o){return discriminateTypeByDiscriminableItems(r,e.map(o,(function(e){return[function(){return getTypeOfSymbol(e)},e.escapedName]})),n,undefined,i)}}}return undefined}}e.createTypeChecker=createTypeChecker;function isNotAccessor(t){return!e.isAccessor(t)}function isNotOverload(e){return e.kind!==244&&e.kind!==161||!!e.body}function isDeclarationNameOrImportPropertyName(t){switch(t.parent.kind){case 258:case 263:return e.isIdentifier(t);default:return e.isDeclarationName(t)}}function isSomeImportDeclaration(e){switch(e.kind){case 255:case 253:case 256:case 258:return true;case 75:return e.parent.kind===258;default:return false}}var k;(function(e){e.JSX="JSX";e.IntrinsicElements="IntrinsicElements";e.ElementClass="ElementClass";e.ElementAttributesPropertyNameContainer="ElementAttributesProperty";e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute";e.Element="Element";e.IntrinsicAttributes="IntrinsicAttributes";e.IntrinsicClassAttributes="IntrinsicClassAttributes";e.LibraryManagedAttributes="LibraryManagedAttributes"})(k||(k={}));function getIterationTypesKeyFromIterationTypeKind(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function signatureHasRestParameter(e){return!!(e.flags&1)}e.signatureHasRestParameter=signatureHasRestParameter;function signatureHasLiteralTypes(e){return!!(e.flags&2)}e.signatureHasLiteralTypes=signatureHasLiteralTypes})(l||(l={}));var l;(function(e){function createSynthesizedNode(t){var r=e.createNode(t,-1,-1);r.flags|=8;return r}function updateNode(t,r){if(t!==r){setOriginalNode(t,r);setTextRange(t,r);e.aggregateTransformFlags(t)}return t}e.updateNode=updateNode;function createNodeArray(t,r){if(!t||t===e.emptyArray){t=[]}else if(e.isNodeArray(t)){return t}var n=t;n.pos=-1;n.end=-1;n.hasTrailingComma=r;return n}e.createNodeArray=createNodeArray;function getSynthesizedClone(e){if(e===undefined){return e}var t=createSynthesizedNode(e.kind);t.flags|=e.flags;setOriginalNode(t,e);for(var r in e){if(t.hasOwnProperty(r)||!e.hasOwnProperty(r)){continue}t[r]=e[r]}return t}e.getSynthesizedClone=getSynthesizedClone;function createLiteral(t,r){if(typeof t==="number"){return createNumericLiteral(t+"")}if(typeof t==="object"&&"base10Value"in t){return createBigIntLiteral(e.pseudoBigIntToString(t)+"n")}if(typeof t==="boolean"){return t?createTrue():createFalse()}if(e.isString(t)){var n=createStringLiteral(t);if(r)n.singleQuote=true;return n}return createLiteralFromNode(t)}e.createLiteral=createLiteral;function createNumericLiteral(e,t){if(t===void 0){t=0}var r=createSynthesizedNode(8);r.text=e;r.numericLiteralFlags=t;return r}e.createNumericLiteral=createNumericLiteral;function createBigIntLiteral(e){var t=createSynthesizedNode(9);t.text=e;return t}e.createBigIntLiteral=createBigIntLiteral;function createStringLiteral(e){var t=createSynthesizedNode(10);t.text=e;return t}e.createStringLiteral=createStringLiteral;function createRegularExpressionLiteral(e){var t=createSynthesizedNode(13);t.text=e;return t}e.createRegularExpressionLiteral=createRegularExpressionLiteral;function createLiteralFromNode(t){var r=createStringLiteral(e.getTextOfIdentifierOrLiteral(t));r.textSourceNode=t;return r}function createIdentifier(t,r){var n=createSynthesizedNode(75);n.escapedText=e.escapeLeadingUnderscores(t);n.originalKeywordKind=t?e.stringToToken(t):0;n.autoGenerateFlags=0;n.autoGenerateId=0;if(r){n.typeArguments=createNodeArray(r)}return n}e.createIdentifier=createIdentifier;function updateIdentifier(t,r){return t.typeArguments!==r?updateNode(createIdentifier(e.idText(t),r),t):t}e.updateIdentifier=updateIdentifier;var t=0;function createTempVariable(e,r){var n=createIdentifier("");n.autoGenerateFlags=1;n.autoGenerateId=t;t++;if(e){e(n)}if(r){n.autoGenerateFlags|=8}return n}e.createTempVariable=createTempVariable;function createLoopVariable(){var e=createIdentifier("");e.autoGenerateFlags=2;e.autoGenerateId=t;t++;return e}e.createLoopVariable=createLoopVariable;function createUniqueName(e){var r=createIdentifier(e);r.autoGenerateFlags=3;r.autoGenerateId=t;t++;return r}e.createUniqueName=createUniqueName;function createOptimisticUniqueName(e){var r=createIdentifier(e);r.autoGenerateFlags=3|16;r.autoGenerateId=t;t++;return r}e.createOptimisticUniqueName=createOptimisticUniqueName;function createFileLevelUniqueName(e){var t=createOptimisticUniqueName(e);t.autoGenerateFlags|=32;return t}e.createFileLevelUniqueName=createFileLevelUniqueName;function getGeneratedNameForNode(r,n){var i=createIdentifier(r&&e.isIdentifier(r)?e.idText(r):"");i.autoGenerateFlags=4|n;i.autoGenerateId=t;i.original=r;t++;return i}e.getGeneratedNameForNode=getGeneratedNameForNode;function createPrivateIdentifier(t){if(t[0]!=="#"){e.Debug.fail("First character of private identifier must be #: "+t)}var r=createSynthesizedNode(76);r.escapedText=e.escapeLeadingUnderscores(t);return r}e.createPrivateIdentifier=createPrivateIdentifier;function createToken(e){return createSynthesizedNode(e)}e.createToken=createToken;function createSuper(){return createSynthesizedNode(102)}e.createSuper=createSuper;function createThis(){return createSynthesizedNode(104)}e.createThis=createThis;function createNull(){return createSynthesizedNode(100)}e.createNull=createNull;function createTrue(){return createSynthesizedNode(106)}e.createTrue=createTrue;function createFalse(){return createSynthesizedNode(91)}e.createFalse=createFalse;function createModifier(e){return createToken(e)}e.createModifier=createModifier;function createModifiersFromModifierFlags(e){var t=[];if(e&1){t.push(createModifier(89))}if(e&2){t.push(createModifier(130))}if(e&512){t.push(createModifier(84))}if(e&2048){t.push(createModifier(81))}if(e&4){t.push(createModifier(119))}if(e&8){t.push(createModifier(117))}if(e&16){t.push(createModifier(118))}if(e&128){t.push(createModifier(122))}if(e&32){t.push(createModifier(120))}if(e&64){t.push(createModifier(138))}if(e&256){t.push(createModifier(126))}return t}e.createModifiersFromModifierFlags=createModifiersFromModifierFlags;function createQualifiedName(e,t){var r=createSynthesizedNode(153);r.left=e;r.right=asName(t);return r}e.createQualifiedName=createQualifiedName;function updateQualifiedName(e,t,r){return e.left!==t||e.right!==r?updateNode(createQualifiedName(t,r),e):e}e.updateQualifiedName=updateQualifiedName;function parenthesizeForComputedName(t){return e.isCommaSequence(t)?createParen(t):t}function createComputedPropertyName(e){var t=createSynthesizedNode(154);t.expression=parenthesizeForComputedName(e);return t}e.createComputedPropertyName=createComputedPropertyName;function updateComputedPropertyName(e,t){return e.expression!==t?updateNode(createComputedPropertyName(t),e):e}e.updateComputedPropertyName=updateComputedPropertyName;function createTypeParameterDeclaration(e,t,r){var n=createSynthesizedNode(155);n.name=asName(e);n.constraint=t;n.default=r;return n}e.createTypeParameterDeclaration=createTypeParameterDeclaration;function updateTypeParameterDeclaration(e,t,r,n){return e.name!==t||e.constraint!==r||e.default!==n?updateNode(createTypeParameterDeclaration(t,r,n),e):e}e.updateTypeParameterDeclaration=updateTypeParameterDeclaration;function createParameter(t,r,n,i,a,o,s){var c=createSynthesizedNode(156);c.decorators=asNodeArray(t);c.modifiers=asNodeArray(r);c.dotDotDotToken=n;c.name=asName(i);c.questionToken=a;c.type=o;c.initializer=s?e.parenthesizeExpressionForList(s):undefined;return c}e.createParameter=createParameter;function updateParameter(e,t,r,n,i,a,o,s){return e.decorators!==t||e.modifiers!==r||e.dotDotDotToken!==n||e.name!==i||e.questionToken!==a||e.type!==o||e.initializer!==s?updateNode(createParameter(t,r,n,i,a,o,s),e):e}e.updateParameter=updateParameter;function createDecorator(t){var r=createSynthesizedNode(157);r.expression=e.parenthesizeForAccess(t);return r}e.createDecorator=createDecorator;function updateDecorator(e,t){return e.expression!==t?updateNode(createDecorator(t),e):e}e.updateDecorator=updateDecorator;function createPropertySignature(e,t,r,n,i){var a=createSynthesizedNode(158);a.modifiers=asNodeArray(e);a.name=asName(t);a.questionToken=r;a.type=n;a.initializer=i;return a}e.createPropertySignature=createPropertySignature;function updatePropertySignature(e,t,r,n,i,a){return e.modifiers!==t||e.name!==r||e.questionToken!==n||e.type!==i||e.initializer!==a?updateNode(createPropertySignature(t,r,n,i,a),e):e}e.updatePropertySignature=updatePropertySignature;function createProperty(e,t,r,n,i,a){var o=createSynthesizedNode(159);o.decorators=asNodeArray(e);o.modifiers=asNodeArray(t);o.name=asName(r);o.questionToken=n!==undefined&&n.kind===57?n:undefined;o.exclamationToken=n!==undefined&&n.kind===53?n:undefined;o.type=i;o.initializer=a;return o}e.createProperty=createProperty;function updateProperty(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.questionToken!==(i!==undefined&&i.kind===57?i:undefined)||e.exclamationToken!==(i!==undefined&&i.kind===53?i:undefined)||e.type!==a||e.initializer!==o?updateNode(createProperty(t,r,n,i,a,o),e):e}e.updateProperty=updateProperty;function createMethodSignature(e,t,r,n,i){var a=createSignatureDeclaration(160,e,t,r);a.name=asName(n);a.questionToken=i;return a}e.createMethodSignature=createMethodSignature;function updateMethodSignature(e,t,r,n,i,a){return e.typeParameters!==t||e.parameters!==r||e.type!==n||e.name!==i||e.questionToken!==a?updateNode(createMethodSignature(t,r,n,i,a),e):e}e.updateMethodSignature=updateMethodSignature;function createMethod(e,t,r,n,i,a,o,s,c){var l=createSynthesizedNode(161);l.decorators=asNodeArray(e);l.modifiers=asNodeArray(t);l.asteriskToken=r;l.name=asName(n);l.questionToken=i;l.typeParameters=asNodeArray(a);l.parameters=createNodeArray(o);l.type=s;l.body=c;return l}e.createMethod=createMethod;function createMethodCall(e,t,r){return createCall(createPropertyAccess(e,asName(t)),undefined,r)}function createGlobalMethodCall(e,t,r){return createMethodCall(createIdentifier(e),t,r)}function createObjectDefinePropertyCall(e,t,r){return createGlobalMethodCall("Object","defineProperty",[e,asExpression(t),r])}e.createObjectDefinePropertyCall=createObjectDefinePropertyCall;function tryAddPropertyAssignment(e,t,r){if(r){e.push(createPropertyAssignment(t,r));return true}return false}function createPropertyDescriptor(t,r){var n=[];tryAddPropertyAssignment(n,"enumerable",asExpression(t.enumerable));tryAddPropertyAssignment(n,"configurable",asExpression(t.configurable));var i=tryAddPropertyAssignment(n,"writable",asExpression(t.writable));i=tryAddPropertyAssignment(n,"value",t.value)||i;var a=tryAddPropertyAssignment(n,"get",t.get);a=tryAddPropertyAssignment(n,"set",t.set)||a;e.Debug.assert(!(i&&a),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor.");return createObjectLiteral(n,!r)}e.createPropertyDescriptor=createPropertyDescriptor;function updateMethod(e,t,r,n,i,a,o,s,c,l){return e.decorators!==t||e.modifiers!==r||e.asteriskToken!==n||e.name!==i||e.questionToken!==a||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==l?updateNode(createMethod(t,r,n,i,a,o,s,c,l),e):e}e.updateMethod=updateMethod;function createConstructor(e,t,r,n){var i=createSynthesizedNode(162);i.decorators=asNodeArray(e);i.modifiers=asNodeArray(t);i.typeParameters=undefined;i.parameters=createNodeArray(r);i.type=undefined;i.body=n;return i}e.createConstructor=createConstructor;function updateConstructor(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.parameters!==n||e.body!==i?updateNode(createConstructor(t,r,n,i),e):e}e.updateConstructor=updateConstructor;function createGetAccessor(e,t,r,n,i,a){var o=createSynthesizedNode(163);o.decorators=asNodeArray(e);o.modifiers=asNodeArray(t);o.name=asName(r);o.typeParameters=undefined;o.parameters=createNodeArray(n);o.type=i;o.body=a;return o}e.createGetAccessor=createGetAccessor;function updateGetAccessor(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.parameters!==i||e.type!==a||e.body!==o?updateNode(createGetAccessor(t,r,n,i,a,o),e):e}e.updateGetAccessor=updateGetAccessor;function createSetAccessor(e,t,r,n,i){var a=createSynthesizedNode(164);a.decorators=asNodeArray(e);a.modifiers=asNodeArray(t);a.name=asName(r);a.typeParameters=undefined;a.parameters=createNodeArray(n);a.body=i;return a}e.createSetAccessor=createSetAccessor;function updateSetAccessor(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.parameters!==i||e.body!==a?updateNode(createSetAccessor(t,r,n,i,a),e):e}e.updateSetAccessor=updateSetAccessor;function createCallSignature(e,t,r){return createSignatureDeclaration(165,e,t,r)}e.createCallSignature=createCallSignature;function updateCallSignature(e,t,r,n){return updateSignatureDeclaration(e,t,r,n)}e.updateCallSignature=updateCallSignature;function createConstructSignature(e,t,r){return createSignatureDeclaration(166,e,t,r)}e.createConstructSignature=createConstructSignature;function updateConstructSignature(e,t,r,n){return updateSignatureDeclaration(e,t,r,n)}e.updateConstructSignature=updateConstructSignature;function createIndexSignature(e,t,r,n){var i=createSynthesizedNode(167);i.decorators=asNodeArray(e);i.modifiers=asNodeArray(t);i.parameters=createNodeArray(r);i.type=n;return i}e.createIndexSignature=createIndexSignature;function updateIndexSignature(e,t,r,n,i){return e.parameters!==n||e.type!==i||e.decorators!==t||e.modifiers!==r?updateNode(createIndexSignature(t,r,n,i),e):e}e.updateIndexSignature=updateIndexSignature;function createSignatureDeclaration(e,t,r,n,i){var a=createSynthesizedNode(e);a.typeParameters=asNodeArray(t);a.parameters=asNodeArray(r);a.type=n;a.typeArguments=asNodeArray(i);return a}e.createSignatureDeclaration=createSignatureDeclaration;function updateSignatureDeclaration(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?updateNode(createSignatureDeclaration(e.kind,t,r,n),e):e}function createKeywordTypeNode(e){return createSynthesizedNode(e)}e.createKeywordTypeNode=createKeywordTypeNode;function createTypePredicateNode(e,t){return createTypePredicateNodeWithModifier(undefined,e,t)}e.createTypePredicateNode=createTypePredicateNode;function createTypePredicateNodeWithModifier(e,t,r){var n=createSynthesizedNode(168);n.assertsModifier=e;n.parameterName=asName(t);n.type=r;return n}e.createTypePredicateNodeWithModifier=createTypePredicateNodeWithModifier;function updateTypePredicateNode(e,t,r){return updateTypePredicateNodeWithModifier(e,e.assertsModifier,t,r)}e.updateTypePredicateNode=updateTypePredicateNode;function updateTypePredicateNodeWithModifier(e,t,r,n){return e.assertsModifier!==t||e.parameterName!==r||e.type!==n?updateNode(createTypePredicateNodeWithModifier(t,r,n),e):e}e.updateTypePredicateNodeWithModifier=updateTypePredicateNodeWithModifier;function createTypeReferenceNode(t,r){var n=createSynthesizedNode(169);n.typeName=asName(t);n.typeArguments=r&&e.parenthesizeTypeParameters(r);return n}e.createTypeReferenceNode=createTypeReferenceNode;function updateTypeReferenceNode(e,t,r){return e.typeName!==t||e.typeArguments!==r?updateNode(createTypeReferenceNode(t,r),e):e}e.updateTypeReferenceNode=updateTypeReferenceNode;function createFunctionTypeNode(e,t,r){return createSignatureDeclaration(170,e,t,r)}e.createFunctionTypeNode=createFunctionTypeNode;function updateFunctionTypeNode(e,t,r,n){return updateSignatureDeclaration(e,t,r,n)}e.updateFunctionTypeNode=updateFunctionTypeNode;function createConstructorTypeNode(e,t,r){return createSignatureDeclaration(171,e,t,r)}e.createConstructorTypeNode=createConstructorTypeNode;function updateConstructorTypeNode(e,t,r,n){return updateSignatureDeclaration(e,t,r,n)}e.updateConstructorTypeNode=updateConstructorTypeNode;function createTypeQueryNode(e){var t=createSynthesizedNode(172);t.exprName=e;return t}e.createTypeQueryNode=createTypeQueryNode;function updateTypeQueryNode(e,t){return e.exprName!==t?updateNode(createTypeQueryNode(t),e):e}e.updateTypeQueryNode=updateTypeQueryNode;function createTypeLiteralNode(e){var t=createSynthesizedNode(173);t.members=createNodeArray(e);return t}e.createTypeLiteralNode=createTypeLiteralNode;function updateTypeLiteralNode(e,t){return e.members!==t?updateNode(createTypeLiteralNode(t),e):e}e.updateTypeLiteralNode=updateTypeLiteralNode;function createArrayTypeNode(t){var r=createSynthesizedNode(174);r.elementType=e.parenthesizeArrayTypeMember(t);return r}e.createArrayTypeNode=createArrayTypeNode;function updateArrayTypeNode(e,t){return e.elementType!==t?updateNode(createArrayTypeNode(t),e):e}e.updateArrayTypeNode=updateArrayTypeNode;function createTupleTypeNode(e){var t=createSynthesizedNode(175);t.elementTypes=createNodeArray(e);return t}e.createTupleTypeNode=createTupleTypeNode;function updateTupleTypeNode(e,t){return e.elementTypes!==t?updateNode(createTupleTypeNode(t),e):e}e.updateTupleTypeNode=updateTupleTypeNode;function createOptionalTypeNode(t){var r=createSynthesizedNode(176);r.type=e.parenthesizeArrayTypeMember(t);return r}e.createOptionalTypeNode=createOptionalTypeNode;function updateOptionalTypeNode(e,t){return e.type!==t?updateNode(createOptionalTypeNode(t),e):e}e.updateOptionalTypeNode=updateOptionalTypeNode;function createRestTypeNode(e){var t=createSynthesizedNode(177);t.type=e;return t}e.createRestTypeNode=createRestTypeNode;function updateRestTypeNode(e,t){return e.type!==t?updateNode(createRestTypeNode(t),e):e}e.updateRestTypeNode=updateRestTypeNode;function createUnionTypeNode(e){return createUnionOrIntersectionTypeNode(178,e)}e.createUnionTypeNode=createUnionTypeNode;function updateUnionTypeNode(e,t){return updateUnionOrIntersectionTypeNode(e,t)}e.updateUnionTypeNode=updateUnionTypeNode;function createIntersectionTypeNode(e){return createUnionOrIntersectionTypeNode(179,e)}e.createIntersectionTypeNode=createIntersectionTypeNode;function updateIntersectionTypeNode(e,t){return updateUnionOrIntersectionTypeNode(e,t)}e.updateIntersectionTypeNode=updateIntersectionTypeNode;function createUnionOrIntersectionTypeNode(t,r){var n=createSynthesizedNode(t);n.types=e.parenthesizeElementTypeMembers(r);return n}e.createUnionOrIntersectionTypeNode=createUnionOrIntersectionTypeNode;function updateUnionOrIntersectionTypeNode(e,t){return e.types!==t?updateNode(createUnionOrIntersectionTypeNode(e.kind,t),e):e}function createConditionalTypeNode(t,r,n,i){var a=createSynthesizedNode(180);a.checkType=e.parenthesizeConditionalTypeMember(t);a.extendsType=e.parenthesizeConditionalTypeMember(r);a.trueType=n;a.falseType=i;return a}e.createConditionalTypeNode=createConditionalTypeNode;function updateConditionalTypeNode(e,t,r,n,i){return e.checkType!==t||e.extendsType!==r||e.trueType!==n||e.falseType!==i?updateNode(createConditionalTypeNode(t,r,n,i),e):e}e.updateConditionalTypeNode=updateConditionalTypeNode;function createInferTypeNode(e){var t=createSynthesizedNode(181);t.typeParameter=e;return t}e.createInferTypeNode=createInferTypeNode;function updateInferTypeNode(e,t){return e.typeParameter!==t?updateNode(createInferTypeNode(t),e):e}e.updateInferTypeNode=updateInferTypeNode;function createImportTypeNode(t,r,n,i){var a=createSynthesizedNode(188);a.argument=t;a.qualifier=r;a.typeArguments=e.parenthesizeTypeParameters(n);a.isTypeOf=i;return a}e.createImportTypeNode=createImportTypeNode;function updateImportTypeNode(e,t,r,n,i){return e.argument!==t||e.qualifier!==r||e.typeArguments!==n||e.isTypeOf!==i?updateNode(createImportTypeNode(t,r,n,i),e):e}e.updateImportTypeNode=updateImportTypeNode;function createParenthesizedType(e){var t=createSynthesizedNode(182);t.type=e;return t}e.createParenthesizedType=createParenthesizedType;function updateParenthesizedType(e,t){return e.type!==t?updateNode(createParenthesizedType(t),e):e}e.updateParenthesizedType=updateParenthesizedType;function createThisTypeNode(){return createSynthesizedNode(183)}e.createThisTypeNode=createThisTypeNode;function createTypeOperatorNode(t,r){var n=createSynthesizedNode(184);n.operator=typeof t==="number"?t:134;n.type=e.parenthesizeElementTypeMember(typeof t==="number"?r:t);return n}e.createTypeOperatorNode=createTypeOperatorNode;function updateTypeOperatorNode(e,t){return e.type!==t?updateNode(createTypeOperatorNode(e.operator,t),e):e}e.updateTypeOperatorNode=updateTypeOperatorNode;function createIndexedAccessTypeNode(t,r){var n=createSynthesizedNode(185);n.objectType=e.parenthesizeElementTypeMember(t);n.indexType=r;return n}e.createIndexedAccessTypeNode=createIndexedAccessTypeNode;function updateIndexedAccessTypeNode(e,t,r){return e.objectType!==t||e.indexType!==r?updateNode(createIndexedAccessTypeNode(t,r),e):e}e.updateIndexedAccessTypeNode=updateIndexedAccessTypeNode;function createMappedTypeNode(e,t,r,n){var i=createSynthesizedNode(186);i.readonlyToken=e;i.typeParameter=t;i.questionToken=r;i.type=n;return i}e.createMappedTypeNode=createMappedTypeNode;function updateMappedTypeNode(e,t,r,n,i){return e.readonlyToken!==t||e.typeParameter!==r||e.questionToken!==n||e.type!==i?updateNode(createMappedTypeNode(t,r,n,i),e):e}e.updateMappedTypeNode=updateMappedTypeNode;function createLiteralTypeNode(e){var t=createSynthesizedNode(187);t.literal=e;return t}e.createLiteralTypeNode=createLiteralTypeNode;function updateLiteralTypeNode(e,t){return e.literal!==t?updateNode(createLiteralTypeNode(t),e):e}e.updateLiteralTypeNode=updateLiteralTypeNode;function createObjectBindingPattern(e){var t=createSynthesizedNode(189);t.elements=createNodeArray(e);return t}e.createObjectBindingPattern=createObjectBindingPattern;function updateObjectBindingPattern(e,t){return e.elements!==t?updateNode(createObjectBindingPattern(t),e):e}e.updateObjectBindingPattern=updateObjectBindingPattern;function createArrayBindingPattern(e){var t=createSynthesizedNode(190);t.elements=createNodeArray(e);return t}e.createArrayBindingPattern=createArrayBindingPattern;function updateArrayBindingPattern(e,t){return e.elements!==t?updateNode(createArrayBindingPattern(t),e):e}e.updateArrayBindingPattern=updateArrayBindingPattern;function createBindingElement(e,t,r,n){var i=createSynthesizedNode(191);i.dotDotDotToken=e;i.propertyName=asName(t);i.name=asName(r);i.initializer=n;return i}e.createBindingElement=createBindingElement;function updateBindingElement(e,t,r,n,i){return e.propertyName!==r||e.dotDotDotToken!==t||e.name!==n||e.initializer!==i?updateNode(createBindingElement(t,r,n,i),e):e}e.updateBindingElement=updateBindingElement;function createArrayLiteral(t,r){var n=createSynthesizedNode(192);n.elements=e.parenthesizeListElements(createNodeArray(t));if(r)n.multiLine=true;return n}e.createArrayLiteral=createArrayLiteral;function updateArrayLiteral(e,t){return e.elements!==t?updateNode(createArrayLiteral(t,e.multiLine),e):e}e.updateArrayLiteral=updateArrayLiteral;function createObjectLiteral(e,t){var r=createSynthesizedNode(193);r.properties=createNodeArray(e);if(t)r.multiLine=true;return r}e.createObjectLiteral=createObjectLiteral;function updateObjectLiteral(e,t){return e.properties!==t?updateNode(createObjectLiteral(t,e.multiLine),e):e}e.updateObjectLiteral=updateObjectLiteral;function createPropertyAccess(t,r){var n=createSynthesizedNode(194);n.expression=e.parenthesizeForAccess(t);n.name=asName(r);setEmitFlags(n,131072);return n}e.createPropertyAccess=createPropertyAccess;function updatePropertyAccess(t,r,n){if(e.isPropertyAccessChain(t)){return updatePropertyAccessChain(t,r,t.questionDotToken,e.cast(n,e.isIdentifier))}return t.expression!==r||t.name!==n?updateNode(setEmitFlags(createPropertyAccess(r,n),e.getEmitFlags(t)),t):t}e.updatePropertyAccess=updatePropertyAccess;function createPropertyAccessChain(t,r,n){var i=createSynthesizedNode(194);i.flags|=32;i.expression=e.parenthesizeForAccess(t);i.questionDotToken=r;i.name=asName(n);setEmitFlags(i,131072);return i}e.createPropertyAccessChain=createPropertyAccessChain;function updatePropertyAccessChain(t,r,n,i){e.Debug.assert(!!(t.flags&32),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead.");return t.expression!==r||t.questionDotToken!==n||t.name!==i?updateNode(setEmitFlags(createPropertyAccessChain(r,n,i),e.getEmitFlags(t)),t):t}e.updatePropertyAccessChain=updatePropertyAccessChain;function createElementAccess(t,r){var n=createSynthesizedNode(195);n.expression=e.parenthesizeForAccess(t);n.argumentExpression=asExpression(r);return n}e.createElementAccess=createElementAccess;function updateElementAccess(t,r,n){if(e.isOptionalChain(t)){return updateElementAccessChain(t,r,t.questionDotToken,n)}return t.expression!==r||t.argumentExpression!==n?updateNode(createElementAccess(r,n),t):t}e.updateElementAccess=updateElementAccess;function createElementAccessChain(t,r,n){var i=createSynthesizedNode(195);i.flags|=32;i.expression=e.parenthesizeForAccess(t);i.questionDotToken=r;i.argumentExpression=asExpression(n);return i}e.createElementAccessChain=createElementAccessChain;function updateElementAccessChain(t,r,n,i){e.Debug.assert(!!(t.flags&32),"Cannot update an ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead.");return t.expression!==r||t.questionDotToken!==n||t.argumentExpression!==i?updateNode(createElementAccessChain(r,n,i),t):t}e.updateElementAccessChain=updateElementAccessChain;function createCall(t,r,n){var i=createSynthesizedNode(196);i.expression=e.parenthesizeForAccess(t);i.typeArguments=asNodeArray(r);i.arguments=e.parenthesizeListElements(createNodeArray(n));return i}e.createCall=createCall;function updateCall(t,r,n,i){if(e.isOptionalChain(t)){return updateCallChain(t,r,t.questionDotToken,n,i)}return t.expression!==r||t.typeArguments!==n||t.arguments!==i?updateNode(createCall(r,n,i),t):t}e.updateCall=updateCall;function createCallChain(t,r,n,i){var a=createSynthesizedNode(196);a.flags|=32;a.expression=e.parenthesizeForAccess(t);a.questionDotToken=r;a.typeArguments=asNodeArray(n);a.arguments=e.parenthesizeListElements(createNodeArray(i));return a}e.createCallChain=createCallChain;function updateCallChain(t,r,n,i,a){e.Debug.assert(!!(t.flags&32),"Cannot update a CallExpression using updateCallChain. Use updateCall instead.");return t.expression!==r||t.questionDotToken!==n||t.typeArguments!==i||t.arguments!==a?updateNode(createCallChain(r,n,i,a),t):t}e.updateCallChain=updateCallChain;function createNew(t,r,n){var i=createSynthesizedNode(197);i.expression=e.parenthesizeForNew(t);i.typeArguments=asNodeArray(r);i.arguments=n?e.parenthesizeListElements(createNodeArray(n)):undefined;return i}e.createNew=createNew;function updateNew(e,t,r,n){return e.expression!==t||e.typeArguments!==r||e.arguments!==n?updateNode(createNew(t,r,n),e):e}e.updateNew=updateNew;function createTaggedTemplate(t,r,n){var i=createSynthesizedNode(198);i.tag=e.parenthesizeForAccess(t);if(n){i.typeArguments=asNodeArray(r);i.template=n}else{i.typeArguments=undefined;i.template=r}return i}e.createTaggedTemplate=createTaggedTemplate;function updateTaggedTemplate(e,t,r,n){return e.tag!==t||(n?e.typeArguments!==r||e.template!==n:e.typeArguments!==undefined||e.template!==r)?updateNode(createTaggedTemplate(t,r,n),e):e}e.updateTaggedTemplate=updateTaggedTemplate;function createTypeAssertion(t,r){var n=createSynthesizedNode(199);n.type=t;n.expression=e.parenthesizePrefixOperand(r);return n}e.createTypeAssertion=createTypeAssertion;function updateTypeAssertion(e,t,r){return e.type!==t||e.expression!==r?updateNode(createTypeAssertion(t,r),e):e}e.updateTypeAssertion=updateTypeAssertion;function createParen(e){var t=createSynthesizedNode(200);t.expression=e;return t}e.createParen=createParen;function updateParen(e,t){return e.expression!==t?updateNode(createParen(t),e):e}e.updateParen=updateParen;function createFunctionExpression(e,t,r,n,i,a,o){var s=createSynthesizedNode(201);s.modifiers=asNodeArray(e);s.asteriskToken=t;s.name=asName(r);s.typeParameters=asNodeArray(n);s.parameters=createNodeArray(i);s.type=a;s.body=o;return s}e.createFunctionExpression=createFunctionExpression;function updateFunctionExpression(e,t,r,n,i,a,o,s){return e.name!==n||e.modifiers!==t||e.asteriskToken!==r||e.typeParameters!==i||e.parameters!==a||e.type!==o||e.body!==s?updateNode(createFunctionExpression(t,r,n,i,a,o,s),e):e}e.updateFunctionExpression=updateFunctionExpression;function createArrowFunction(t,r,n,i,a,o){var s=createSynthesizedNode(202);s.modifiers=asNodeArray(t);s.typeParameters=asNodeArray(r);s.parameters=createNodeArray(n);s.type=i;s.equalsGreaterThanToken=a||createToken(38);s.body=e.parenthesizeConciseBody(o);return s}e.createArrowFunction=createArrowFunction;function updateArrowFunction(e,t,r,n,i,a,o){return e.modifiers!==t||e.typeParameters!==r||e.parameters!==n||e.type!==i||e.equalsGreaterThanToken!==a||e.body!==o?updateNode(createArrowFunction(t,r,n,i,a,o),e):e}e.updateArrowFunction=updateArrowFunction;function createDelete(t){var r=createSynthesizedNode(203);r.expression=e.parenthesizePrefixOperand(t);return r}e.createDelete=createDelete;function updateDelete(e,t){return e.expression!==t?updateNode(createDelete(t),e):e}e.updateDelete=updateDelete;function createTypeOf(t){var r=createSynthesizedNode(204);r.expression=e.parenthesizePrefixOperand(t);return r}e.createTypeOf=createTypeOf;function updateTypeOf(e,t){return e.expression!==t?updateNode(createTypeOf(t),e):e}e.updateTypeOf=updateTypeOf;function createVoid(t){var r=createSynthesizedNode(205);r.expression=e.parenthesizePrefixOperand(t);return r}e.createVoid=createVoid;function updateVoid(e,t){return e.expression!==t?updateNode(createVoid(t),e):e}e.updateVoid=updateVoid;function createAwait(t){var r=createSynthesizedNode(206);r.expression=e.parenthesizePrefixOperand(t);return r}e.createAwait=createAwait;function updateAwait(e,t){return e.expression!==t?updateNode(createAwait(t),e):e}e.updateAwait=updateAwait;function createPrefix(t,r){var n=createSynthesizedNode(207);n.operator=t;n.operand=e.parenthesizePrefixOperand(r);return n}e.createPrefix=createPrefix;function updatePrefix(e,t){return e.operand!==t?updateNode(createPrefix(e.operator,t),e):e}e.updatePrefix=updatePrefix;function createPostfix(t,r){var n=createSynthesizedNode(208);n.operand=e.parenthesizePostfixOperand(t);n.operator=r;return n}e.createPostfix=createPostfix;function updatePostfix(e,t){return e.operand!==t?updateNode(createPostfix(t,e.operator),e):e}e.updatePostfix=updatePostfix;function createBinary(t,r,n){var i=createSynthesizedNode(209);var a=asToken(r);var o=a.kind;i.left=e.parenthesizeBinaryOperand(o,t,true,undefined);i.operatorToken=a;i.right=e.parenthesizeBinaryOperand(o,n,false,i.left);return i}e.createBinary=createBinary;function updateBinary(e,t,r,n){return e.left!==t||e.right!==r?updateNode(createBinary(t,n||e.operatorToken,r),e):e}e.updateBinary=updateBinary;function createConditional(t,r,n,i,a){var o=createSynthesizedNode(210);o.condition=e.parenthesizeForConditionalHead(t);o.questionToken=a?r:createToken(57);o.whenTrue=e.parenthesizeSubexpressionOfConditionalExpression(a?n:r);o.colonToken=a?i:createToken(58);o.whenFalse=e.parenthesizeSubexpressionOfConditionalExpression(a?a:n);return o}e.createConditional=createConditional;function updateConditional(e,t,r,n,i,a){return e.condition!==t||e.questionToken!==r||e.whenTrue!==n||e.colonToken!==i||e.whenFalse!==a?updateNode(createConditional(t,r,n,i,a),e):e}e.updateConditional=updateConditional;function createTemplateExpression(e,t){var r=createSynthesizedNode(211);r.head=e;r.templateSpans=createNodeArray(t);return r}e.createTemplateExpression=createTemplateExpression;function updateTemplateExpression(e,t,r){return e.head!==t||e.templateSpans!==r?updateNode(createTemplateExpression(t,r),e):e}e.updateTemplateExpression=updateTemplateExpression;var r;var n={};function getCookedText(t,i){if(!r){r=e.createScanner(99,false,0)}switch(t){case 14:r.setText("`"+i+"`");break;case 15:r.setText("`"+i+"${");break;case 16:r.setText("}"+i+"${");break;case 17:r.setText("}"+i+"`");break}var a=r.scan();if(a===23){a=r.reScanTemplateToken(false)}if(r.isUnterminated()){r.setText(undefined);return n}var o;switch(a){case 14:case 15:case 16:case 17:o=r.getTokenValue();break}if(r.scan()!==1){r.setText(undefined);return n}r.setText(undefined);return o}function createTemplateLiteralLikeNode(t,r,n){var i=createSynthesizedNode(t);i.text=r;if(n===undefined||r===n){i.rawText=n}else{var a=getCookedText(t,n);if(typeof a==="object"){return e.Debug.fail("Invalid raw text")}e.Debug.assert(r===a,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");i.rawText=n}return i}function createTemplateHead(e,t){var r=createTemplateLiteralLikeNode(15,e,t);r.text=e;return r}e.createTemplateHead=createTemplateHead;function createTemplateMiddle(e,t){var r=createTemplateLiteralLikeNode(16,e,t);r.text=e;return r}e.createTemplateMiddle=createTemplateMiddle;function createTemplateTail(e,t){var r=createTemplateLiteralLikeNode(17,e,t);r.text=e;return r}e.createTemplateTail=createTemplateTail;function createNoSubstitutionTemplateLiteral(e,t){var r=createTemplateLiteralLikeNode(14,e,t);return r}e.createNoSubstitutionTemplateLiteral=createNoSubstitutionTemplateLiteral;function createYield(t,r){var n=t&&t.kind===41?t:undefined;r=t&&t.kind!==41?t:r;var i=createSynthesizedNode(212);i.asteriskToken=n;i.expression=r&&e.parenthesizeExpressionForList(r);return i}e.createYield=createYield;function updateYield(e,t,r){return e.expression!==r||e.asteriskToken!==t?updateNode(createYield(t,r),e):e}e.updateYield=updateYield;function createSpread(t){var r=createSynthesizedNode(213);r.expression=e.parenthesizeExpressionForList(t);return r}e.createSpread=createSpread;function updateSpread(e,t){return e.expression!==t?updateNode(createSpread(t),e):e}e.updateSpread=updateSpread;function createClassExpression(e,t,r,n,i){var a=createSynthesizedNode(214);a.decorators=undefined;a.modifiers=asNodeArray(e);a.name=asName(t);a.typeParameters=asNodeArray(r);a.heritageClauses=asNodeArray(n);a.members=createNodeArray(i);return a}e.createClassExpression=createClassExpression;function updateClassExpression(e,t,r,n,i,a){return e.modifiers!==t||e.name!==r||e.typeParameters!==n||e.heritageClauses!==i||e.members!==a?updateNode(createClassExpression(t,r,n,i,a),e):e}e.updateClassExpression=updateClassExpression;function createOmittedExpression(){return createSynthesizedNode(215)}e.createOmittedExpression=createOmittedExpression;function createExpressionWithTypeArguments(t,r){var n=createSynthesizedNode(216);n.expression=e.parenthesizeForAccess(r);n.typeArguments=asNodeArray(t);return n}e.createExpressionWithTypeArguments=createExpressionWithTypeArguments;function updateExpressionWithTypeArguments(e,t,r){return e.typeArguments!==t||e.expression!==r?updateNode(createExpressionWithTypeArguments(t,r),e):e}e.updateExpressionWithTypeArguments=updateExpressionWithTypeArguments;function createAsExpression(e,t){var r=createSynthesizedNode(217);r.expression=e;r.type=t;return r}e.createAsExpression=createAsExpression;function updateAsExpression(e,t,r){return e.expression!==t||e.type!==r?updateNode(createAsExpression(t,r),e):e}e.updateAsExpression=updateAsExpression;function createNonNullExpression(t){var r=createSynthesizedNode(218);r.expression=e.parenthesizeForAccess(t);return r}e.createNonNullExpression=createNonNullExpression;function updateNonNullExpression(t,r){if(e.isNonNullChain(t)){return updateNonNullChain(t,r)}return t.expression!==r?updateNode(createNonNullExpression(r),t):t}e.updateNonNullExpression=updateNonNullExpression;function createNonNullChain(t){var r=createSynthesizedNode(218);r.flags|=32;r.expression=e.parenthesizeForAccess(t);return r}e.createNonNullChain=createNonNullChain;function updateNonNullChain(t,r){e.Debug.assert(!!(t.flags&32),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead.");return t.expression!==r?updateNode(createNonNullChain(r),t):t}e.updateNonNullChain=updateNonNullChain;function createMetaProperty(e,t){var r=createSynthesizedNode(219);r.keywordToken=e;r.name=t;return r}e.createMetaProperty=createMetaProperty;function updateMetaProperty(e,t){return e.name!==t?updateNode(createMetaProperty(e.keywordToken,t),e):e}e.updateMetaProperty=updateMetaProperty;function createTemplateSpan(e,t){var r=createSynthesizedNode(221);r.expression=e;r.literal=t;return r}e.createTemplateSpan=createTemplateSpan;function updateTemplateSpan(e,t,r){return e.expression!==t||e.literal!==r?updateNode(createTemplateSpan(t,r),e):e}e.updateTemplateSpan=updateTemplateSpan;function createSemicolonClassElement(){return createSynthesizedNode(222)}e.createSemicolonClassElement=createSemicolonClassElement;function createBlock(e,t){var r=createSynthesizedNode(223);r.statements=createNodeArray(e);if(t)r.multiLine=t;return r}e.createBlock=createBlock;function updateBlock(e,t){return e.statements!==t?updateNode(createBlock(t,e.multiLine),e):e}e.updateBlock=updateBlock;function createVariableStatement(t,r){var n=createSynthesizedNode(225);n.decorators=undefined;n.modifiers=asNodeArray(t);n.declarationList=e.isArray(r)?createVariableDeclarationList(r):r;return n}e.createVariableStatement=createVariableStatement;function updateVariableStatement(e,t,r){return e.modifiers!==t||e.declarationList!==r?updateNode(createVariableStatement(t,r),e):e}e.updateVariableStatement=updateVariableStatement;function createEmptyStatement(){return createSynthesizedNode(224)}e.createEmptyStatement=createEmptyStatement;function createExpressionStatement(t){var r=createSynthesizedNode(226);r.expression=e.parenthesizeExpressionForExpressionStatement(t);return r}e.createExpressionStatement=createExpressionStatement;function updateExpressionStatement(e,t){return e.expression!==t?updateNode(createExpressionStatement(t),e):e}e.updateExpressionStatement=updateExpressionStatement;e.createStatement=createExpressionStatement;e.updateStatement=updateExpressionStatement;function createIf(e,t,r){var n=createSynthesizedNode(227);n.expression=e;n.thenStatement=asEmbeddedStatement(t);n.elseStatement=asEmbeddedStatement(r);return n}e.createIf=createIf;function updateIf(e,t,r,n){return e.expression!==t||e.thenStatement!==r||e.elseStatement!==n?updateNode(createIf(t,r,n),e):e}e.updateIf=updateIf;function createDo(e,t){var r=createSynthesizedNode(228);r.statement=asEmbeddedStatement(e);r.expression=t;return r}e.createDo=createDo;function updateDo(e,t,r){return e.statement!==t||e.expression!==r?updateNode(createDo(t,r),e):e}e.updateDo=updateDo;function createWhile(e,t){var r=createSynthesizedNode(229);r.expression=e;r.statement=asEmbeddedStatement(t);return r}e.createWhile=createWhile;function updateWhile(e,t,r){return e.expression!==t||e.statement!==r?updateNode(createWhile(t,r),e):e}e.updateWhile=updateWhile;function createFor(e,t,r,n){var i=createSynthesizedNode(230);i.initializer=e;i.condition=t;i.incrementor=r;i.statement=asEmbeddedStatement(n);return i}e.createFor=createFor;function updateFor(e,t,r,n,i){return e.initializer!==t||e.condition!==r||e.incrementor!==n||e.statement!==i?updateNode(createFor(t,r,n,i),e):e}e.updateFor=updateFor;function createForIn(e,t,r){var n=createSynthesizedNode(231);n.initializer=e;n.expression=t;n.statement=asEmbeddedStatement(r);return n}e.createForIn=createForIn;function updateForIn(e,t,r,n){return e.initializer!==t||e.expression!==r||e.statement!==n?updateNode(createForIn(t,r,n),e):e}e.updateForIn=updateForIn;function createForOf(t,r,n,i){var a=createSynthesizedNode(232);a.awaitModifier=t;a.initializer=r;a.expression=e.isCommaSequence(n)?createParen(n):n;a.statement=asEmbeddedStatement(i);return a}e.createForOf=createForOf;function updateForOf(e,t,r,n,i){return e.awaitModifier!==t||e.initializer!==r||e.expression!==n||e.statement!==i?updateNode(createForOf(t,r,n,i),e):e}e.updateForOf=updateForOf;function createContinue(e){var t=createSynthesizedNode(233);t.label=asName(e);return t}e.createContinue=createContinue;function updateContinue(e,t){return e.label!==t?updateNode(createContinue(t),e):e}e.updateContinue=updateContinue;function createBreak(e){var t=createSynthesizedNode(234);t.label=asName(e);return t}e.createBreak=createBreak;function updateBreak(e,t){return e.label!==t?updateNode(createBreak(t),e):e}e.updateBreak=updateBreak;function createReturn(e){var t=createSynthesizedNode(235);t.expression=e;return t}e.createReturn=createReturn;function updateReturn(e,t){return e.expression!==t?updateNode(createReturn(t),e):e}e.updateReturn=updateReturn;function createWith(e,t){var r=createSynthesizedNode(236);r.expression=e;r.statement=asEmbeddedStatement(t);return r}e.createWith=createWith;function updateWith(e,t,r){return e.expression!==t||e.statement!==r?updateNode(createWith(t,r),e):e}e.updateWith=updateWith;function createSwitch(t,r){var n=createSynthesizedNode(237);n.expression=e.parenthesizeExpressionForList(t);n.caseBlock=r;return n}e.createSwitch=createSwitch;function updateSwitch(e,t,r){return e.expression!==t||e.caseBlock!==r?updateNode(createSwitch(t,r),e):e}e.updateSwitch=updateSwitch;function createLabel(e,t){var r=createSynthesizedNode(238);r.label=asName(e);r.statement=asEmbeddedStatement(t);return r}e.createLabel=createLabel;function updateLabel(e,t,r){return e.label!==t||e.statement!==r?updateNode(createLabel(t,r),e):e}e.updateLabel=updateLabel;function createThrow(e){var t=createSynthesizedNode(239);t.expression=e;return t}e.createThrow=createThrow;function updateThrow(e,t){return e.expression!==t?updateNode(createThrow(t),e):e}e.updateThrow=updateThrow;function createTry(e,t,r){var n=createSynthesizedNode(240);n.tryBlock=e;n.catchClause=t;n.finallyBlock=r;return n}e.createTry=createTry;function updateTry(e,t,r,n){return e.tryBlock!==t||e.catchClause!==r||e.finallyBlock!==n?updateNode(createTry(t,r,n),e):e}e.updateTry=updateTry;function createDebuggerStatement(){return createSynthesizedNode(241)}e.createDebuggerStatement=createDebuggerStatement;function createVariableDeclaration(t,r,n){var i=createSynthesizedNode(242);i.name=asName(t);i.type=r;i.initializer=n!==undefined?e.parenthesizeExpressionForList(n):undefined;return i}e.createVariableDeclaration=createVariableDeclaration;function updateVariableDeclaration(e,t,r,n){return e.name!==t||e.type!==r||e.initializer!==n?updateNode(createVariableDeclaration(t,r,n),e):e}e.updateVariableDeclaration=updateVariableDeclaration;function createTypeScriptVariableDeclaration(t,r,n,i){var a=createSynthesizedNode(242);a.name=asName(t);a.type=n;a.initializer=i!==undefined?e.parenthesizeExpressionForList(i):undefined;a.exclamationToken=r;return a}e.createTypeScriptVariableDeclaration=createTypeScriptVariableDeclaration;function updateTypeScriptVariableDeclaration(e,t,r,n,i){return e.name!==t||e.type!==n||e.initializer!==i||e.exclamationToken!==r?updateNode(createTypeScriptVariableDeclaration(t,r,n,i),e):e}e.updateTypeScriptVariableDeclaration=updateTypeScriptVariableDeclaration;function createVariableDeclarationList(e,t){if(t===void 0){t=0}var r=createSynthesizedNode(243);r.flags|=t&3;r.declarations=createNodeArray(e);return r}e.createVariableDeclarationList=createVariableDeclarationList;function updateVariableDeclarationList(e,t){return e.declarations!==t?updateNode(createVariableDeclarationList(t,e.flags),e):e}e.updateVariableDeclarationList=updateVariableDeclarationList;function createFunctionDeclaration(e,t,r,n,i,a,o,s){var c=createSynthesizedNode(244);c.decorators=asNodeArray(e);c.modifiers=asNodeArray(t);c.asteriskToken=r;c.name=asName(n);c.typeParameters=asNodeArray(i);c.parameters=createNodeArray(a);c.type=o;c.body=s;return c}e.createFunctionDeclaration=createFunctionDeclaration;function updateFunctionDeclaration(e,t,r,n,i,a,o,s,c){return e.decorators!==t||e.modifiers!==r||e.asteriskToken!==n||e.name!==i||e.typeParameters!==a||e.parameters!==o||e.type!==s||e.body!==c?updateNode(createFunctionDeclaration(t,r,n,i,a,o,s,c),e):e}e.updateFunctionDeclaration=updateFunctionDeclaration;function updateFunctionLikeBody(e,t){switch(e.kind){case 244:return createFunctionDeclaration(e.decorators,e.modifiers,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,t);case 161:return createMethod(e.decorators,e.modifiers,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,t);case 163:return createGetAccessor(e.decorators,e.modifiers,e.name,e.parameters,e.type,t);case 164:return createSetAccessor(e.decorators,e.modifiers,e.name,e.parameters,t);case 162:return createConstructor(e.decorators,e.modifiers,e.parameters,t);case 201:return createFunctionExpression(e.modifiers,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,t);case 202:return createArrowFunction(e.modifiers,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,t)}}e.updateFunctionLikeBody=updateFunctionLikeBody;function createClassDeclaration(e,t,r,n,i,a){var o=createSynthesizedNode(245);o.decorators=asNodeArray(e);o.modifiers=asNodeArray(t);o.name=asName(r);o.typeParameters=asNodeArray(n);o.heritageClauses=asNodeArray(i);o.members=createNodeArray(a);return o}e.createClassDeclaration=createClassDeclaration;function updateClassDeclaration(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?updateNode(createClassDeclaration(t,r,n,i,a,o),e):e}e.updateClassDeclaration=updateClassDeclaration;function createInterfaceDeclaration(e,t,r,n,i,a){var o=createSynthesizedNode(246);o.decorators=asNodeArray(e);o.modifiers=asNodeArray(t);o.name=asName(r);o.typeParameters=asNodeArray(n);o.heritageClauses=asNodeArray(i);o.members=createNodeArray(a);return o}e.createInterfaceDeclaration=createInterfaceDeclaration;function updateInterfaceDeclaration(e,t,r,n,i,a,o){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?updateNode(createInterfaceDeclaration(t,r,n,i,a,o),e):e}e.updateInterfaceDeclaration=updateInterfaceDeclaration;function createTypeAliasDeclaration(e,t,r,n,i){var a=createSynthesizedNode(247);a.decorators=asNodeArray(e);a.modifiers=asNodeArray(t);a.name=asName(r);a.typeParameters=asNodeArray(n);a.type=i;return a}e.createTypeAliasDeclaration=createTypeAliasDeclaration;function updateTypeAliasDeclaration(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.typeParameters!==i||e.type!==a?updateNode(createTypeAliasDeclaration(t,r,n,i,a),e):e}e.updateTypeAliasDeclaration=updateTypeAliasDeclaration;function createEnumDeclaration(e,t,r,n){var i=createSynthesizedNode(248);i.decorators=asNodeArray(e);i.modifiers=asNodeArray(t);i.name=asName(r);i.members=createNodeArray(n);return i}e.createEnumDeclaration=createEnumDeclaration;function updateEnumDeclaration(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.members!==i?updateNode(createEnumDeclaration(t,r,n,i),e):e}e.updateEnumDeclaration=updateEnumDeclaration;function createModuleDeclaration(e,t,r,n,i){if(i===void 0){i=0}var a=createSynthesizedNode(249);a.flags|=i&(16|4|1024);a.decorators=asNodeArray(e);a.modifiers=asNodeArray(t);a.name=r;a.body=n;return a}e.createModuleDeclaration=createModuleDeclaration;function updateModuleDeclaration(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.body!==i?updateNode(createModuleDeclaration(t,r,n,i,e.flags),e):e}e.updateModuleDeclaration=updateModuleDeclaration;function createModuleBlock(e){var t=createSynthesizedNode(250);t.statements=createNodeArray(e);return t}e.createModuleBlock=createModuleBlock;function updateModuleBlock(e,t){return e.statements!==t?updateNode(createModuleBlock(t),e):e}e.updateModuleBlock=updateModuleBlock;function createCaseBlock(e){var t=createSynthesizedNode(251);t.clauses=createNodeArray(e);return t}e.createCaseBlock=createCaseBlock;function updateCaseBlock(e,t){return e.clauses!==t?updateNode(createCaseBlock(t),e):e}e.updateCaseBlock=updateCaseBlock;function createNamespaceExportDeclaration(e){var t=createSynthesizedNode(252);t.name=asName(e);return t}e.createNamespaceExportDeclaration=createNamespaceExportDeclaration;function updateNamespaceExportDeclaration(e,t){return e.name!==t?updateNode(createNamespaceExportDeclaration(t),e):e}e.updateNamespaceExportDeclaration=updateNamespaceExportDeclaration;function createImportEqualsDeclaration(e,t,r,n){var i=createSynthesizedNode(253);i.decorators=asNodeArray(e);i.modifiers=asNodeArray(t);i.name=asName(r);i.moduleReference=n;return i}e.createImportEqualsDeclaration=createImportEqualsDeclaration;function updateImportEqualsDeclaration(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.moduleReference!==i?updateNode(createImportEqualsDeclaration(t,r,n,i),e):e}e.updateImportEqualsDeclaration=updateImportEqualsDeclaration;function createImportDeclaration(e,t,r,n){var i=createSynthesizedNode(254);i.decorators=asNodeArray(e);i.modifiers=asNodeArray(t);i.importClause=r;i.moduleSpecifier=n;return i}e.createImportDeclaration=createImportDeclaration;function updateImportDeclaration(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.importClause!==n||e.moduleSpecifier!==i?updateNode(createImportDeclaration(t,r,n,i),e):e}e.updateImportDeclaration=updateImportDeclaration;function createImportClause(e,t,r){if(r===void 0){r=false}var n=createSynthesizedNode(255);n.name=e;n.namedBindings=t;n.isTypeOnly=r;return n}e.createImportClause=createImportClause;function updateImportClause(e,t,r,n){return e.name!==t||e.namedBindings!==r||e.isTypeOnly!==n?updateNode(createImportClause(t,r,n),e):e}e.updateImportClause=updateImportClause;function createNamespaceImport(e){var t=createSynthesizedNode(256);t.name=e;return t}e.createNamespaceImport=createNamespaceImport;function createNamespaceExport(e){var t=createSynthesizedNode(262);t.name=e;return t}e.createNamespaceExport=createNamespaceExport;function updateNamespaceImport(e,t){return e.name!==t?updateNode(createNamespaceImport(t),e):e}e.updateNamespaceImport=updateNamespaceImport;function updateNamespaceExport(e,t){return e.name!==t?updateNode(createNamespaceExport(t),e):e}e.updateNamespaceExport=updateNamespaceExport;function createNamedImports(e){var t=createSynthesizedNode(257);t.elements=createNodeArray(e);return t}e.createNamedImports=createNamedImports;function updateNamedImports(e,t){return e.elements!==t?updateNode(createNamedImports(t),e):e}e.updateNamedImports=updateNamedImports;function createImportSpecifier(e,t){var r=createSynthesizedNode(258);r.propertyName=e;r.name=t;return r}e.createImportSpecifier=createImportSpecifier;function updateImportSpecifier(e,t,r){return e.propertyName!==t||e.name!==r?updateNode(createImportSpecifier(t,r),e):e}e.updateImportSpecifier=updateImportSpecifier;function createExportAssignment(t,r,n,i){var a=createSynthesizedNode(259);a.decorators=asNodeArray(t);a.modifiers=asNodeArray(r);a.isExportEquals=n;a.expression=n?e.parenthesizeBinaryOperand(62,i,false,undefined):e.parenthesizeDefaultExpression(i);return a}e.createExportAssignment=createExportAssignment;function updateExportAssignment(e,t,r,n){return e.decorators!==t||e.modifiers!==r||e.expression!==n?updateNode(createExportAssignment(t,r,e.isExportEquals,n),e):e}e.updateExportAssignment=updateExportAssignment;function createExportDeclaration(e,t,r,n,i){if(i===void 0){i=false}var a=createSynthesizedNode(260);a.decorators=asNodeArray(e);a.modifiers=asNodeArray(t);a.isTypeOnly=i;a.exportClause=r;a.moduleSpecifier=n;return a}e.createExportDeclaration=createExportDeclaration;function updateExportDeclaration(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.isTypeOnly!==a||e.exportClause!==n||e.moduleSpecifier!==i?updateNode(createExportDeclaration(t,r,n,i,a),e):e}e.updateExportDeclaration=updateExportDeclaration;function createEmptyExports(){return createExportDeclaration(undefined,undefined,createNamedExports([]),undefined)}e.createEmptyExports=createEmptyExports;function createNamedExports(e){var t=createSynthesizedNode(261);t.elements=createNodeArray(e);return t}e.createNamedExports=createNamedExports;function updateNamedExports(e,t){return e.elements!==t?updateNode(createNamedExports(t),e):e}e.updateNamedExports=updateNamedExports;function createExportSpecifier(e,t){var r=createSynthesizedNode(263);r.propertyName=asName(e);r.name=asName(t);return r}e.createExportSpecifier=createExportSpecifier;function updateExportSpecifier(e,t,r){return e.propertyName!==t||e.name!==r?updateNode(createExportSpecifier(t,r),e):e}e.updateExportSpecifier=updateExportSpecifier;function createExternalModuleReference(e){var t=createSynthesizedNode(265);t.expression=e;return t}e.createExternalModuleReference=createExternalModuleReference;function updateExternalModuleReference(e,t){return e.expression!==t?updateNode(createExternalModuleReference(t),e):e}e.updateExternalModuleReference=updateExternalModuleReference;function createJSDocTypeExpression(e){var t=createSynthesizedNode(294);t.type=e;return t}e.createJSDocTypeExpression=createJSDocTypeExpression;function createJSDocTypeTag(e,t){var r=createJSDocTag(320,"type");r.typeExpression=e;r.comment=t;return r}e.createJSDocTypeTag=createJSDocTypeTag;function createJSDocReturnTag(e,t){var r=createJSDocTag(318,"returns");r.typeExpression=e;r.comment=t;return r}e.createJSDocReturnTag=createJSDocReturnTag;function createJSDocThisTag(e){var t=createJSDocTag(319,"this");t.typeExpression=e;return t}e.createJSDocThisTag=createJSDocThisTag;function createJSDocParamTag(e,t,r,n){var i=createJSDocTag(317,"param");i.typeExpression=r;i.name=e;i.isBracketed=t;i.comment=n;return i}e.createJSDocParamTag=createJSDocParamTag;function createJSDocClassTag(){return createJSDocTag(310,"class")}e.createJSDocClassTag=createJSDocClassTag;function createJSDocComment(e,t){var r=createSynthesizedNode(303);r.comment=e;r.tags=t;return r}e.createJSDocComment=createJSDocComment;function createJSDocTag(e,t){var r=createSynthesizedNode(e);r.tagName=createIdentifier(t);return r}function createJsxElement(e,t,r){var n=createSynthesizedNode(266);n.openingElement=e;n.children=createNodeArray(t);n.closingElement=r;return n}e.createJsxElement=createJsxElement;function updateJsxElement(e,t,r,n){return e.openingElement!==t||e.children!==r||e.closingElement!==n?updateNode(createJsxElement(t,r,n),e):e}e.updateJsxElement=updateJsxElement;function createJsxSelfClosingElement(e,t,r){var n=createSynthesizedNode(267);n.tagName=e;n.typeArguments=asNodeArray(t);n.attributes=r;return n}e.createJsxSelfClosingElement=createJsxSelfClosingElement;function updateJsxSelfClosingElement(e,t,r,n){return e.tagName!==t||e.typeArguments!==r||e.attributes!==n?updateNode(createJsxSelfClosingElement(t,r,n),e):e}e.updateJsxSelfClosingElement=updateJsxSelfClosingElement;function createJsxOpeningElement(e,t,r){var n=createSynthesizedNode(268);n.tagName=e;n.typeArguments=asNodeArray(t);n.attributes=r;return n}e.createJsxOpeningElement=createJsxOpeningElement;function updateJsxOpeningElement(e,t,r,n){return e.tagName!==t||e.typeArguments!==r||e.attributes!==n?updateNode(createJsxOpeningElement(t,r,n),e):e}e.updateJsxOpeningElement=updateJsxOpeningElement;function createJsxClosingElement(e){var t=createSynthesizedNode(269);t.tagName=e;return t}e.createJsxClosingElement=createJsxClosingElement;function updateJsxClosingElement(e,t){return e.tagName!==t?updateNode(createJsxClosingElement(t),e):e}e.updateJsxClosingElement=updateJsxClosingElement;function createJsxFragment(e,t,r){var n=createSynthesizedNode(270);n.openingFragment=e;n.children=createNodeArray(t);n.closingFragment=r;return n}e.createJsxFragment=createJsxFragment;function createJsxText(e,t){var r=createSynthesizedNode(11);r.text=e;r.containsOnlyTriviaWhiteSpaces=!!t;return r}e.createJsxText=createJsxText;function updateJsxText(e,t,r){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==r?updateNode(createJsxText(t,r),e):e}e.updateJsxText=updateJsxText;function createJsxOpeningFragment(){return createSynthesizedNode(271)}e.createJsxOpeningFragment=createJsxOpeningFragment;function createJsxJsxClosingFragment(){return createSynthesizedNode(272)}e.createJsxJsxClosingFragment=createJsxJsxClosingFragment;function updateJsxFragment(e,t,r,n){return e.openingFragment!==t||e.children!==r||e.closingFragment!==n?updateNode(createJsxFragment(t,r,n),e):e}e.updateJsxFragment=updateJsxFragment;function createJsxAttribute(e,t){var r=createSynthesizedNode(273);r.name=e;r.initializer=t;return r}e.createJsxAttribute=createJsxAttribute;function updateJsxAttribute(e,t,r){return e.name!==t||e.initializer!==r?updateNode(createJsxAttribute(t,r),e):e}e.updateJsxAttribute=updateJsxAttribute;function createJsxAttributes(e){var t=createSynthesizedNode(274);t.properties=createNodeArray(e);return t}e.createJsxAttributes=createJsxAttributes;function updateJsxAttributes(e,t){return e.properties!==t?updateNode(createJsxAttributes(t),e):e}e.updateJsxAttributes=updateJsxAttributes;function createJsxSpreadAttribute(e){var t=createSynthesizedNode(275);t.expression=e;return t}e.createJsxSpreadAttribute=createJsxSpreadAttribute;function updateJsxSpreadAttribute(e,t){return e.expression!==t?updateNode(createJsxSpreadAttribute(t),e):e}e.updateJsxSpreadAttribute=updateJsxSpreadAttribute;function createJsxExpression(e,t){var r=createSynthesizedNode(276);r.dotDotDotToken=e;r.expression=t;return r}e.createJsxExpression=createJsxExpression;function updateJsxExpression(e,t){return e.expression!==t?updateNode(createJsxExpression(e.dotDotDotToken,t),e):e}e.updateJsxExpression=updateJsxExpression;function createCaseClause(t,r){var n=createSynthesizedNode(277);n.expression=e.parenthesizeExpressionForList(t);n.statements=createNodeArray(r);return n}e.createCaseClause=createCaseClause;function updateCaseClause(e,t,r){return e.expression!==t||e.statements!==r?updateNode(createCaseClause(t,r),e):e}e.updateCaseClause=updateCaseClause;function createDefaultClause(e){var t=createSynthesizedNode(278);t.statements=createNodeArray(e);return t}e.createDefaultClause=createDefaultClause;function updateDefaultClause(e,t){return e.statements!==t?updateNode(createDefaultClause(t),e):e}e.updateDefaultClause=updateDefaultClause;function createHeritageClause(e,t){var r=createSynthesizedNode(279);r.token=e;r.types=createNodeArray(t);return r}e.createHeritageClause=createHeritageClause;function updateHeritageClause(e,t){return e.types!==t?updateNode(createHeritageClause(e.token,t),e):e}e.updateHeritageClause=updateHeritageClause;function createCatchClause(t,r){var n=createSynthesizedNode(280);n.variableDeclaration=e.isString(t)?createVariableDeclaration(t):t;n.block=r;return n}e.createCatchClause=createCatchClause;function updateCatchClause(e,t,r){return e.variableDeclaration!==t||e.block!==r?updateNode(createCatchClause(t,r),e):e}e.updateCatchClause=updateCatchClause;function createPropertyAssignment(t,r){var n=createSynthesizedNode(281);n.name=asName(t);n.questionToken=undefined;n.initializer=e.parenthesizeExpressionForList(r);return n}e.createPropertyAssignment=createPropertyAssignment;function updatePropertyAssignment(e,t,r){return e.name!==t||e.initializer!==r?updateNode(createPropertyAssignment(t,r),e):e}e.updatePropertyAssignment=updatePropertyAssignment;function createShorthandPropertyAssignment(t,r){var n=createSynthesizedNode(282);n.name=asName(t);n.objectAssignmentInitializer=r!==undefined?e.parenthesizeExpressionForList(r):undefined;return n}e.createShorthandPropertyAssignment=createShorthandPropertyAssignment;function updateShorthandPropertyAssignment(e,t,r){return e.name!==t||e.objectAssignmentInitializer!==r?updateNode(createShorthandPropertyAssignment(t,r),e):e}e.updateShorthandPropertyAssignment=updateShorthandPropertyAssignment;function createSpreadAssignment(t){var r=createSynthesizedNode(283);r.expression=e.parenthesizeExpressionForList(t);return r}e.createSpreadAssignment=createSpreadAssignment;function updateSpreadAssignment(e,t){return e.expression!==t?updateNode(createSpreadAssignment(t),e):e}e.updateSpreadAssignment=updateSpreadAssignment;function createEnumMember(t,r){var n=createSynthesizedNode(284);n.name=asName(t);n.initializer=r&&e.parenthesizeExpressionForList(r);return n}e.createEnumMember=createEnumMember;function updateEnumMember(e,t,r){return e.name!==t||e.initializer!==r?updateNode(createEnumMember(t,r),e):e}e.updateEnumMember=updateEnumMember;function updateSourceFileNode(e,t,r,n,i,a,o){if(e.statements!==t||r!==undefined&&e.isDeclarationFile!==r||n!==undefined&&e.referencedFiles!==n||i!==undefined&&e.typeReferenceDirectives!==i||o!==undefined&&e.libReferenceDirectives!==o||a!==undefined&&e.hasNoDefaultLib!==a){var s=createSynthesizedNode(290);s.flags|=e.flags;s.statements=createNodeArray(t);s.endOfFileToken=e.endOfFileToken;s.fileName=e.fileName;s.path=e.path;s.text=e.text;s.isDeclarationFile=r===undefined?e.isDeclarationFile:r;s.referencedFiles=n===undefined?e.referencedFiles:n;s.typeReferenceDirectives=i===undefined?e.typeReferenceDirectives:i;s.hasNoDefaultLib=a===undefined?e.hasNoDefaultLib:a;s.libReferenceDirectives=o===undefined?e.libReferenceDirectives:o;if(e.amdDependencies!==undefined)s.amdDependencies=e.amdDependencies;if(e.moduleName!==undefined)s.moduleName=e.moduleName;if(e.languageVariant!==undefined)s.languageVariant=e.languageVariant;if(e.renamedDependencies!==undefined)s.renamedDependencies=e.renamedDependencies;if(e.languageVersion!==undefined)s.languageVersion=e.languageVersion;if(e.scriptKind!==undefined)s.scriptKind=e.scriptKind;if(e.externalModuleIndicator!==undefined)s.externalModuleIndicator=e.externalModuleIndicator;if(e.commonJsModuleIndicator!==undefined)s.commonJsModuleIndicator=e.commonJsModuleIndicator;if(e.identifiers!==undefined)s.identifiers=e.identifiers;if(e.nodeCount!==undefined)s.nodeCount=e.nodeCount;if(e.identifierCount!==undefined)s.identifierCount=e.identifierCount;if(e.symbolCount!==undefined)s.symbolCount=e.symbolCount;if(e.parseDiagnostics!==undefined)s.parseDiagnostics=e.parseDiagnostics;if(e.bindDiagnostics!==undefined)s.bindDiagnostics=e.bindDiagnostics;if(e.bindSuggestionDiagnostics!==undefined)s.bindSuggestionDiagnostics=e.bindSuggestionDiagnostics;if(e.lineMap!==undefined)s.lineMap=e.lineMap;if(e.classifiableNames!==undefined)s.classifiableNames=e.classifiableNames;if(e.resolvedModules!==undefined)s.resolvedModules=e.resolvedModules;if(e.resolvedTypeReferenceDirectiveNames!==undefined)s.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames;if(e.imports!==undefined)s.imports=e.imports;if(e.moduleAugmentations!==undefined)s.moduleAugmentations=e.moduleAugmentations;if(e.pragmas!==undefined)s.pragmas=e.pragmas;if(e.localJsxFactory!==undefined)s.localJsxFactory=e.localJsxFactory;if(e.localJsxNamespace!==undefined)s.localJsxNamespace=e.localJsxNamespace;return updateNode(s,e)}return e}e.updateSourceFileNode=updateSourceFileNode;function getMutableClone(e){var t=getSynthesizedClone(e);t.pos=e.pos;t.end=e.end;t.parent=e.parent;return t}e.getMutableClone=getMutableClone;function createNotEmittedStatement(e){var t=createSynthesizedNode(325);t.original=e;setTextRange(t,e);return t}e.createNotEmittedStatement=createNotEmittedStatement;function createEndOfDeclarationMarker(e){var t=createSynthesizedNode(329);t.emitNode={};t.original=e;return t}e.createEndOfDeclarationMarker=createEndOfDeclarationMarker;function createMergeDeclarationMarker(e){var t=createSynthesizedNode(328);t.emitNode={};t.original=e;return t}e.createMergeDeclarationMarker=createMergeDeclarationMarker;function createPartiallyEmittedExpression(e,t){var r=createSynthesizedNode(326);r.expression=e;r.original=t;setTextRange(r,t);return r}e.createPartiallyEmittedExpression=createPartiallyEmittedExpression;function updatePartiallyEmittedExpression(e,t){if(e.expression!==t){return updateNode(createPartiallyEmittedExpression(t,e.original),e)}return e}e.updatePartiallyEmittedExpression=updatePartiallyEmittedExpression;function flattenCommaElements(t){if(e.nodeIsSynthesized(t)&&!e.isParseTreeNode(t)&&!t.original&&!t.emitNode&&!t.id){if(t.kind===327){return t.elements}if(e.isBinaryExpression(t)&&t.operatorToken.kind===27){return[t.left,t.right]}}return t}function createCommaList(t){var r=createSynthesizedNode(327);r.elements=createNodeArray(e.sameFlatMap(t,flattenCommaElements));return r}e.createCommaList=createCommaList;function updateCommaList(e,t){return e.elements!==t?updateNode(createCommaList(t),e):e}e.updateCommaList=updateCommaList;function createSyntheticReferenceExpression(e,t){var r=createSynthesizedNode(330);r.expression=e;r.thisArg=t;return r}e.createSyntheticReferenceExpression=createSyntheticReferenceExpression;function updateSyntheticReferenceExpression(e,t,r){return e.expression!==t||e.thisArg!==r?updateNode(createSyntheticReferenceExpression(t,r),e):e}e.updateSyntheticReferenceExpression=updateSyntheticReferenceExpression;function createBundle(t,r){if(r===void 0){r=e.emptyArray}var n=e.createNode(291);n.prepends=r;n.sourceFiles=t;return n}e.createBundle=createBundle;var i;function getAllUnscopedEmitHelpers(){return i||(i=e.arrayToMap([e.valuesHelper,e.readHelper,e.spreadHelper,e.spreadArraysHelper,e.restHelper,e.decorateHelper,e.metadataHelper,e.paramHelper,e.awaiterHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.extendsHelper,e.templateObjectHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper,e.classPrivateFieldGetHelper,e.classPrivateFieldSetHelper,e.createBindingHelper,e.setModuleDefaultHelper],(function(e){return e.name})))}function createUnparsedSource(){var t=e.createNode(292);t.prologues=e.emptyArray;t.referencedFiles=e.emptyArray;t.libReferenceDirectives=e.emptyArray;t.getLineAndCharacterOfPosition=function(r){return e.getLineAndCharacterOfPosition(t,r)};return t}function createUnparsedSourceFile(t,r,n){var i=createUnparsedSource();var a;var o;if(!e.isString(t)){e.Debug.assert(r==="js"||r==="dts");i.fileName=(r==="js"?t.javascriptPath:t.declarationPath)||"";i.sourceMapPath=r==="js"?t.javascriptMapPath:t.declarationMapPath;Object.defineProperties(i,{text:{get:function(){return r==="js"?t.javascriptText:t.declarationText}},sourceMapText:{get:function(){return r==="js"?t.javascriptMapText:t.declarationMapText}}});if(t.buildInfo&&t.buildInfo.bundle){i.oldFileOfCurrentEmit=t.oldFileOfCurrentEmit;e.Debug.assert(n===undefined||typeof n==="boolean");a=n;o=r==="js"?t.buildInfo.bundle.js:t.buildInfo.bundle.dts;if(i.oldFileOfCurrentEmit){parseOldFileOfCurrentEmit(i,e.Debug.checkDefined(o));return i}}}else{i.fileName="";i.text=t;i.sourceMapPath=r;i.sourceMapText=n}e.Debug.assert(!i.oldFileOfCurrentEmit);parseUnparsedSourceFile(i,o,a);return i}e.createUnparsedSourceFile=createUnparsedSourceFile;function parseUnparsedSourceFile(t,r,n){var i;var a;var o;var s;var c;var l;for(var u=0,d=r?r.sections:e.emptyArray;u0){a[c-s]=l}}if(s>0){a.length-=s}}e.moveEmitHelpers=moveEmitHelpers;function compareEmitHelpers(t,r){if(t===r)return 0;if(t.priority===r.priority)return 0;if(t.priority===undefined)return 1;if(r.priority===undefined)return-1;return e.compareValues(t.priority,r.priority)}e.compareEmitHelpers=compareEmitHelpers;function setOriginalNode(e,t){e.original=t;if(t){var r=t.emitNode;if(r)e.emitNode=mergeEmitNode(r,e.emitNode)}return e}e.setOriginalNode=setOriginalNode;function mergeEmitNode(t,r){var n=t.flags,i=t.leadingComments,a=t.trailingComments,o=t.commentRange,s=t.sourceMapRange,c=t.tokenSourceMapRanges,l=t.constantValue,u=t.helpers,d=t.startsOnNewLine;if(!r)r={};if(i)r.leadingComments=e.addRange(i.slice(),r.leadingComments);if(a)r.trailingComments=e.addRange(a.slice(),r.trailingComments);if(n)r.flags=n;if(o)r.commentRange=o;if(s)r.sourceMapRange=s;if(c)r.tokenSourceMapRanges=mergeTokenSourceMapRanges(c,r.tokenSourceMapRanges);if(l!==undefined)r.constantValue=l;if(u)r.helpers=e.addRange(r.helpers,u);if(d!==undefined)r.startsOnNewLine=d;return r}function mergeTokenSourceMapRanges(e,t){if(!t)t=[];for(var r in e){t[r]=e[r]}return t}})(l||(l={}));var l;(function(e){e.nullTransformationContext={enableEmitNotification:e.noop,enableSubstitution:e.noop,endLexicalEnvironment:e.returnUndefined,getCompilerOptions:function(){return{}},getEmitHost:e.notImplemented,getEmitResolver:e.notImplemented,setLexicalEnvironmentFlags:e.noop,getLexicalEnvironmentFlags:function(){return 0},hoistFunctionDeclaration:e.noop,hoistVariableDeclaration:e.noop,addInitializationStatement:e.noop,isEmitNotificationEnabled:e.notImplemented,isSubstitutionEnabled:e.notImplemented,onEmitNode:e.noop,onSubstituteNode:e.notImplemented,readEmitHelpers:e.notImplemented,requestEmitHelper:e.noop,resumeLexicalEnvironment:e.noop,startLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,addDiagnostic:e.noop};function createTypeCheck(t,r){return r==="undefined"?e.createStrictEquality(t,e.createVoidZero()):e.createStrictEquality(e.createTypeOf(t),e.createLiteral(r))}e.createTypeCheck=createTypeCheck;function createMemberAccessForPropertyName(t,r,n){if(e.isComputedPropertyName(r)){return e.setTextRange(e.createElementAccess(t,r.expression),n)}else{var i=e.setTextRange(e.isIdentifier(r)||e.isPrivateIdentifier(r)?e.createPropertyAccess(t,r):e.createElementAccess(t,r),r);e.getOrCreateEmitNode(i).flags|=64;return i}}e.createMemberAccessForPropertyName=createMemberAccessForPropertyName;function createFunctionCall(t,r,i,a){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"call"),undefined,n([r],i)),a)}e.createFunctionCall=createFunctionCall;function createFunctionApply(t,r,n,i){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"apply"),undefined,[r,n]),i)}e.createFunctionApply=createFunctionApply;function createArraySlice(t,r){var n=[];if(r!==undefined){n.push(typeof r==="number"?e.createLiteral(r):r)}return e.createCall(e.createPropertyAccess(t,"slice"),undefined,n)}e.createArraySlice=createArraySlice;function createArrayConcat(t,r){return e.createCall(e.createPropertyAccess(t,"concat"),undefined,r)}e.createArrayConcat=createArrayConcat;function createMathPow(t,r,n){return e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Math"),"pow"),undefined,[t,r]),n)}e.createMathPow=createMathPow;function createReactNamespace(t,r){var n=e.createIdentifier(t||"React");n.flags&=~8;n.parent=e.getParseTreeNode(r);return n}function createJsxFactoryExpressionFromEntityName(t,r){if(e.isQualifiedName(t)){var n=createJsxFactoryExpressionFromEntityName(t.left,r);var i=e.createIdentifier(e.idText(t.right));i.escapedText=t.right.escapedText;return e.createPropertyAccess(n,i)}else{return createReactNamespace(e.idText(t),r)}}function createJsxFactoryExpression(t,r,n){return t?createJsxFactoryExpressionFromEntityName(t,n):e.createPropertyAccess(createReactNamespace(r,n),"createElement")}function createExpressionForJsxElement(t,r,n,i,a,o,s){var c=[n];if(i){c.push(i)}if(a&&a.length>0){if(!i){c.push(e.createNull())}if(a.length>1){for(var l=0,u=a;l0){if(n.length>1){for(var c=0,l=n;c= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'};function createValuesHelper(t,r,n){t.requestEmitHelper(e.valuesHelper);return e.setTextRange(e.createCall(getUnscopedHelperName("__values"),undefined,[r]),n)}e.createValuesHelper=createValuesHelper;e.readHelper={name:"typescript:read",importName:"__read",scoped:false,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'};function createReadHelper(t,r,n,i){t.requestEmitHelper(e.readHelper);return e.setTextRange(e.createCall(getUnscopedHelperName("__read"),undefined,n!==undefined?[r,e.createLiteral(n)]:[r]),i)}e.createReadHelper=createReadHelper;e.spreadHelper={name:"typescript:spread",importName:"__spread",scoped:false,dependencies:[e.readHelper],text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"};function createSpreadHelper(t,r,n){t.requestEmitHelper(e.spreadHelper);return e.setTextRange(e.createCall(getUnscopedHelperName("__spread"),undefined,r),n)}e.createSpreadHelper=createSpreadHelper;e.spreadArraysHelper={name:"typescript:spreadArrays",importName:"__spreadArrays",scoped:false,text:"\n var __spreadArrays = (this && this.__spreadArrays) || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n };"};function createSpreadArraysHelper(t,r,n){t.requestEmitHelper(e.spreadArraysHelper);return e.setTextRange(e.createCall(getUnscopedHelperName("__spreadArrays"),undefined,r),n)}e.createSpreadArraysHelper=createSpreadArraysHelper;function createForOfBindingStatement(t,r){if(e.isVariableDeclarationList(t)){var n=e.first(t.declarations);var i=e.updateVariableDeclaration(n,n.name,undefined,r);return e.setTextRange(e.createVariableStatement(undefined,e.updateVariableDeclarationList(t,[i])),t)}else{var a=e.setTextRange(e.createAssignment(t,r),t);return e.setTextRange(e.createStatement(a),t)}}e.createForOfBindingStatement=createForOfBindingStatement;function insertLeadingStatement(t,r){if(e.isBlock(t)){return e.updateBlock(t,e.setTextRange(e.createNodeArray(n([r],t.statements)),t.statements))}else{return e.createBlock(e.createNodeArray([t,r]),true)}}e.insertLeadingStatement=insertLeadingStatement;function restoreEnclosingLabel(t,r,n){if(!r){return t}var i=e.updateLabel(r,r.label,r.statement.kind===238?restoreEnclosingLabel(t,r.statement):t);if(n){n(r)}return i}e.restoreEnclosingLabel=restoreEnclosingLabel;function shouldBeCapturedInTempVariable(t,r){var n=e.skipParentheses(t);switch(n.kind){case 75:return r;case 104:case 8:case 9:case 10:return false;case 192:var i=n.elements;if(i.length===0){return false}return true;case 193:return n.properties.length>0;default:return true}}function createCallBinding(t,r,n,i){if(i===void 0){i=false}var a=skipOuterExpressions(t,15);var o;var s;if(e.isSuperProperty(a)){o=e.createThis();s=a}else if(a.kind===102){o=e.createThis();s=n<2?e.setTextRange(e.createIdentifier("_super"),a):a}else if(e.getEmitFlags(a)&4096){o=e.createVoidZero();s=parenthesizeForAccess(a)}else{switch(a.kind){case 194:{if(shouldBeCapturedInTempVariable(a.expression,i)){o=e.createTempVariable(r);s=e.createPropertyAccess(e.setTextRange(e.createAssignment(o,a.expression),a.expression),a.name);e.setTextRange(s,a)}else{o=a.expression;s=a}break}case 195:{if(shouldBeCapturedInTempVariable(a.expression,i)){o=e.createTempVariable(r);s=e.createElementAccess(e.setTextRange(e.createAssignment(o,a.expression),a.expression),a.argumentExpression);e.setTextRange(s,a)}else{o=a.expression;s=a}break}default:{o=e.createVoidZero();s=parenthesizeForAccess(t);break}}}return{target:s,thisArg:o}}e.createCallBinding=createCallBinding;function inlineExpressions(t){return t.length>10?e.createCommaList(t):e.reduceLeft(t,e.createComma)}e.inlineExpressions=inlineExpressions;function createExpressionFromEntityName(t){if(e.isQualifiedName(t)){var r=createExpressionFromEntityName(t.left);var n=e.getMutableClone(t.right);return e.setTextRange(e.createPropertyAccess(r,n),t)}else{return e.getMutableClone(t)}}e.createExpressionFromEntityName=createExpressionFromEntityName;function createExpressionForPropertyName(t){if(e.isIdentifier(t)){return e.createLiteral(t)}else if(e.isComputedPropertyName(t)){return e.getMutableClone(t.expression)}else{return e.getMutableClone(t)}}e.createExpressionForPropertyName=createExpressionForPropertyName;function createExpressionForObjectLiteralElementLike(t,r,n){if(r.name&&e.isPrivateIdentifier(r.name)){e.Debug.failBadSyntaxKind(r.name,"Private identifiers are not allowed in object literals.")}switch(r.kind){case 163:case 164:return createExpressionForAccessorDeclaration(t.properties,r,n,!!t.multiLine);case 281:return createExpressionForPropertyAssignment(r,n);case 282:return createExpressionForShorthandPropertyAssignment(r,n);case 161:return createExpressionForMethodDeclaration(r,n)}}e.createExpressionForObjectLiteralElementLike=createExpressionForObjectLiteralElementLike;function createExpressionForAccessorDeclaration(t,r,n,i){var a=e.getAllAccessorDeclarations(t,r),o=a.firstAccessor,s=a.getAccessor,c=a.setAccessor;if(r===o){var l=[];if(s){var u=e.createFunctionExpression(s.modifiers,undefined,undefined,undefined,s.parameters,undefined,s.body);e.setTextRange(u,s);e.setOriginalNode(u,s);var d=e.createPropertyAssignment("get",u);l.push(d)}if(c){var p=e.createFunctionExpression(c.modifiers,undefined,undefined,undefined,c.parameters,undefined,c.body);e.setTextRange(p,c);e.setOriginalNode(p,c);var f=e.createPropertyAssignment("set",p);l.push(f)}l.push(e.createPropertyAssignment("enumerable",s||c?e.createFalse():e.createTrue()));l.push(e.createPropertyAssignment("configurable",e.createTrue()));var g=e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),undefined,[n,createExpressionForPropertyName(r.name),e.createObjectLiteral(l,i)]),o);return e.aggregateTransformFlags(g)}return undefined}function createExpressionForPropertyAssignment(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(createMemberAccessForPropertyName(r,t.name,t.name),t.initializer),t),t))}function createExpressionForShorthandPropertyAssignment(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(createMemberAccessForPropertyName(r,t.name,t.name),e.getSynthesizedClone(t.name)),t),t))}function createExpressionForMethodDeclaration(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(createMemberAccessForPropertyName(r,t.name,t.name),e.setOriginalNode(e.setTextRange(e.createFunctionExpression(t.modifiers,t.asteriskToken,undefined,undefined,t.parameters,undefined,t.body),t),t)),t),t))}function getInternalName(e,t,r){return getName(e,t,r,16384|32768)}e.getInternalName=getInternalName;function isInternalName(t){return(e.getEmitFlags(t)&32768)!==0}e.isInternalName=isInternalName;function getLocalName(e,t,r){return getName(e,t,r,16384)}e.getLocalName=getLocalName;function isLocalName(t){return(e.getEmitFlags(t)&16384)!==0}e.isLocalName=isLocalName;function getExportName(e,t,r){return getName(e,t,r,8192)}e.getExportName=getExportName;function isExportName(t){return(e.getEmitFlags(t)&8192)!==0}e.isExportName=isExportName;function getDeclarationName(e,t,r){return getName(e,t,r)}e.getDeclarationName=getDeclarationName;function getName(t,r,n,i){if(i===void 0){i=0}var a=e.getNameOfDeclaration(t);if(a&&e.isIdentifier(a)&&!e.isGeneratedIdentifier(a)){var o=e.getMutableClone(a);i|=e.getEmitFlags(a);if(!n)i|=48;if(!r)i|=1536;if(i)e.setEmitFlags(o,i);return o}return e.getGeneratedNameForNode(t)}function getExternalModuleOrNamespaceExportName(t,r,n,i){if(t&&e.hasModifier(r,1)){return getNamespaceMemberName(t,getName(r),n,i)}return getExportName(r,n,i)}e.getExternalModuleOrNamespaceExportName=getExternalModuleOrNamespaceExportName;function getNamespaceMemberName(t,r,n,i){var a=e.createPropertyAccess(t,e.nodeIsSynthesized(r)?r:e.getSynthesizedClone(r));e.setTextRange(a,r);var o=0;if(!i)o|=48;if(!n)o|=1536;if(o)e.setEmitFlags(a,o);return a}e.getNamespaceMemberName=getNamespaceMemberName;function convertToFunctionBody(t,r){return e.isBlock(t)?t:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(t),t)],r),t)}e.convertToFunctionBody=convertToFunctionBody;function convertFunctionDeclarationToExpression(t){if(!t.body)return e.Debug.fail();var r=e.createFunctionExpression(t.modifiers,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);e.setOriginalNode(r,t);e.setTextRange(r,t);if(e.getStartsOnNewLine(t)){e.setStartsOnNewLine(r,true)}e.aggregateTransformFlags(r);return r}e.convertFunctionDeclarationToExpression=convertFunctionDeclarationToExpression;function isUseStrictPrologue(t){return e.isStringLiteral(t.expression)&&t.expression.text==="use strict"}function addPrologue(e,t,r,n){var i=addStandardPrologue(e,t,r);return addCustomPrologue(e,t,i,n)}e.addPrologue=addPrologue;function addStandardPrologue(t,r,n){e.Debug.assert(t.length===0,"Prologue directives should be at the first statement in the target statements array");var i=false;var a=0;var o=r.length;while(a3){return true}var c=e.getExpressionPrecedence(s);switch(e.compareValues(c,a)){case-1:if(!n&&o===1&&r.kind===212){return false}return true;case 1:return false;case 0:if(n){return o===1}else{if(e.isBinaryExpression(s)&&s.operatorToken.kind===t){if(operatorHasAssociativeProperty(t)){return false}if(t===39){var l=i?getLiteralKindOfBinaryPlusOperand(i):0;if(e.isLiteralKind(l)&&l===getLiteralKindOfBinaryPlusOperand(s)){return false}}}var u=e.getExpressionAssociativity(s);return u===0}}}function operatorHasAssociativeProperty(e){return e===41||e===51||e===50||e===52}function getLiteralKindOfBinaryPlusOperand(t){t=e.skipPartiallyEmittedExpressions(t);if(e.isLiteralKind(t.kind)){return t.kind}if(t.kind===209&&t.operatorToken.kind===39){if(t.cachedLiteralKind!==undefined){return t.cachedLiteralKind}var r=getLiteralKindOfBinaryPlusOperand(t.left);var n=e.isLiteralKind(r)&&r===getLiteralKindOfBinaryPlusOperand(t.right)?r:0;t.cachedLiteralKind=n;return n}return 0}function parenthesizeForConditionalHead(t){var r=e.getOperatorPrecedence(210,57);var n=e.skipPartiallyEmittedExpressions(t);var i=e.getExpressionPrecedence(n);if(e.compareValues(i,r)!==1){return e.createParen(t)}return t}e.parenthesizeForConditionalHead=parenthesizeForConditionalHead;function parenthesizeSubexpressionOfConditionalExpression(t){var r=e.skipPartiallyEmittedExpressions(t);return isCommaSequence(r)?e.createParen(t):t}e.parenthesizeSubexpressionOfConditionalExpression=parenthesizeSubexpressionOfConditionalExpression;function parenthesizeDefaultExpression(t){var r=e.skipPartiallyEmittedExpressions(t);var n=isCommaSequence(r);if(!n){switch(getLeftmostExpression(r,false).kind){case 214:case 201:n=true}}return n?e.createParen(t):t}e.parenthesizeDefaultExpression=parenthesizeDefaultExpression;function parenthesizeForNew(t){var r=getLeftmostExpression(t,true);switch(r.kind){case 196:return e.createParen(t);case 197:return!r.arguments?e.createParen(t):t}return parenthesizeForAccess(t)}e.parenthesizeForNew=parenthesizeForNew;function parenthesizeForAccess(t){var r=e.skipPartiallyEmittedExpressions(t);if(e.isLeftHandSideExpression(r)&&(r.kind!==197||r.arguments)){return t}return e.setTextRange(e.createParen(t),t)}e.parenthesizeForAccess=parenthesizeForAccess;function parenthesizePostfixOperand(t){return e.isLeftHandSideExpression(t)?t:e.setTextRange(e.createParen(t),t)}e.parenthesizePostfixOperand=parenthesizePostfixOperand;function parenthesizePrefixOperand(t){return e.isUnaryExpression(t)?t:e.setTextRange(e.createParen(t),t)}e.parenthesizePrefixOperand=parenthesizePrefixOperand;function parenthesizeListElements(t){var r;for(var n=0;ni?t:e.setTextRange(e.createParen(t),t)}e.parenthesizeExpressionForList=parenthesizeExpressionForList;function parenthesizeExpressionForExpressionStatement(t){var r=e.skipPartiallyEmittedExpressions(t);if(e.isCallExpression(r)){var n=r.expression;var i=e.skipPartiallyEmittedExpressions(n).kind;if(i===201||i===202){var a=e.getMutableClone(r);a.expression=e.setTextRange(e.createParen(n),n);return recreateOuterExpressions(t,a,8)}}var o=getLeftmostExpression(r,false).kind;if(o===193||o===201){return e.setTextRange(e.createParen(t),t)}return t}e.parenthesizeExpressionForExpressionStatement=parenthesizeExpressionForExpressionStatement;function parenthesizeConditionalTypeMember(t){return t.kind===180?e.createParenthesizedType(t):t}e.parenthesizeConditionalTypeMember=parenthesizeConditionalTypeMember;function parenthesizeElementTypeMember(t){switch(t.kind){case 178:case 179:case 170:case 171:return e.createParenthesizedType(t)}return parenthesizeConditionalTypeMember(t)}e.parenthesizeElementTypeMember=parenthesizeElementTypeMember;function parenthesizeArrayTypeMember(t){switch(t.kind){case 172:case 184:case 181:return e.createParenthesizedType(t)}return parenthesizeElementTypeMember(t)}e.parenthesizeArrayTypeMember=parenthesizeArrayTypeMember;function parenthesizeElementTypeMembers(t){return e.createNodeArray(e.sameMap(t,parenthesizeElementTypeMember))}e.parenthesizeElementTypeMembers=parenthesizeElementTypeMembers;function parenthesizeTypeParameters(t){if(e.some(t)){var r=[];for(var n=0;n=e.ModuleKind.ES2015&&s<=e.ModuleKind.ESNext){var c=e.getEmitHelpers(t);if(c){var l=[];for(var u=0,d=c;us-i){a=s-i}if(i>0||a=2){a=addDefaultValueAssignmentsIfNeeded(a,n)}n.setLexicalEnvironmentFlags(1,false)}n.suspendLexicalEnvironment();return a}e.visitParameterList=visitParameterList;function addDefaultValueAssignmentsIfNeeded(t,r){var n;for(var i=0;i0&&s<=152||s===183){return r}switch(s){case 75:return e.updateIdentifier(r,a(r.typeArguments,n,t));case 153:return e.updateQualifiedName(r,visitNode(r.left,n,e.isEntityName),visitNode(r.right,n,e.isIdentifier));case 154:return e.updateComputedPropertyName(r,visitNode(r.expression,n,e.isExpression));case 155:return e.updateTypeParameterDeclaration(r,visitNode(r.name,n,e.isIdentifier),visitNode(r.constraint,n,e.isTypeNode),visitNode(r.default,n,e.isTypeNode));case 156:return e.updateParameter(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.dotDotDotToken,o,e.isToken),visitNode(r.name,n,e.isBindingName),visitNode(r.questionToken,o,e.isToken),visitNode(r.type,n,e.isTypeNode),visitNode(r.initializer,n,e.isExpression));case 157:return e.updateDecorator(r,visitNode(r.expression,n,e.isExpression));case 158:return e.updatePropertySignature(r,a(r.modifiers,n,e.isToken),visitNode(r.name,n,e.isPropertyName),visitNode(r.questionToken,o,e.isToken),visitNode(r.type,n,e.isTypeNode),visitNode(r.initializer,n,e.isExpression));case 159:return e.updateProperty(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isPropertyName),visitNode(r.questionToken||r.exclamationToken,o,e.isToken),visitNode(r.type,n,e.isTypeNode),visitNode(r.initializer,n,e.isExpression));case 160:return e.updateMethodSignature(r,a(r.typeParameters,n,e.isTypeParameterDeclaration),a(r.parameters,n,e.isParameterDeclaration),visitNode(r.type,n,e.isTypeNode),visitNode(r.name,n,e.isPropertyName),visitNode(r.questionToken,o,e.isToken));case 161:return e.updateMethod(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.asteriskToken,o,e.isToken),visitNode(r.name,n,e.isPropertyName),visitNode(r.questionToken,o,e.isToken),a(r.typeParameters,n,e.isTypeParameterDeclaration),visitParameterList(r.parameters,n,i,a),visitNode(r.type,n,e.isTypeNode),visitFunctionBody(r.body,n,i));case 162:return e.updateConstructor(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitParameterList(r.parameters,n,i,a),visitFunctionBody(r.body,n,i));case 163:return e.updateGetAccessor(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isPropertyName),visitParameterList(r.parameters,n,i,a),visitNode(r.type,n,e.isTypeNode),visitFunctionBody(r.body,n,i));case 164:return e.updateSetAccessor(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isPropertyName),visitParameterList(r.parameters,n,i,a),visitFunctionBody(r.body,n,i));case 165:return e.updateCallSignature(r,a(r.typeParameters,n,e.isTypeParameterDeclaration),a(r.parameters,n,e.isParameterDeclaration),visitNode(r.type,n,e.isTypeNode));case 166:return e.updateConstructSignature(r,a(r.typeParameters,n,e.isTypeParameterDeclaration),a(r.parameters,n,e.isParameterDeclaration),visitNode(r.type,n,e.isTypeNode));case 167:return e.updateIndexSignature(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),a(r.parameters,n,e.isParameterDeclaration),visitNode(r.type,n,e.isTypeNode));case 168:return e.updateTypePredicateNodeWithModifier(r,visitNode(r.assertsModifier,n),visitNode(r.parameterName,n),visitNode(r.type,n,e.isTypeNode));case 169:return e.updateTypeReferenceNode(r,visitNode(r.typeName,n,e.isEntityName),a(r.typeArguments,n,e.isTypeNode));case 170:return e.updateFunctionTypeNode(r,a(r.typeParameters,n,e.isTypeParameterDeclaration),a(r.parameters,n,e.isParameterDeclaration),visitNode(r.type,n,e.isTypeNode));case 171:return e.updateConstructorTypeNode(r,a(r.typeParameters,n,e.isTypeParameterDeclaration),a(r.parameters,n,e.isParameterDeclaration),visitNode(r.type,n,e.isTypeNode));case 172:return e.updateTypeQueryNode(r,visitNode(r.exprName,n,e.isEntityName));case 173:return e.updateTypeLiteralNode(r,a(r.members,n,e.isTypeElement));case 174:return e.updateArrayTypeNode(r,visitNode(r.elementType,n,e.isTypeNode));case 175:return e.updateTupleTypeNode(r,a(r.elementTypes,n,e.isTypeNode));case 176:return e.updateOptionalTypeNode(r,visitNode(r.type,n,e.isTypeNode));case 177:return e.updateRestTypeNode(r,visitNode(r.type,n,e.isTypeNode));case 178:return e.updateUnionTypeNode(r,a(r.types,n,e.isTypeNode));case 179:return e.updateIntersectionTypeNode(r,a(r.types,n,e.isTypeNode));case 180:return e.updateConditionalTypeNode(r,visitNode(r.checkType,n,e.isTypeNode),visitNode(r.extendsType,n,e.isTypeNode),visitNode(r.trueType,n,e.isTypeNode),visitNode(r.falseType,n,e.isTypeNode));case 181:return e.updateInferTypeNode(r,visitNode(r.typeParameter,n,e.isTypeParameterDeclaration));case 188:return e.updateImportTypeNode(r,visitNode(r.argument,n,e.isTypeNode),visitNode(r.qualifier,n,e.isEntityName),visitNodes(r.typeArguments,n,e.isTypeNode),r.isTypeOf);case 182:return e.updateParenthesizedType(r,visitNode(r.type,n,e.isTypeNode));case 184:return e.updateTypeOperatorNode(r,visitNode(r.type,n,e.isTypeNode));case 185:return e.updateIndexedAccessTypeNode(r,visitNode(r.objectType,n,e.isTypeNode),visitNode(r.indexType,n,e.isTypeNode));case 186:return e.updateMappedTypeNode(r,visitNode(r.readonlyToken,o,e.isToken),visitNode(r.typeParameter,n,e.isTypeParameterDeclaration),visitNode(r.questionToken,o,e.isToken),visitNode(r.type,n,e.isTypeNode));case 187:return e.updateLiteralTypeNode(r,visitNode(r.literal,n,e.isExpression));case 189:return e.updateObjectBindingPattern(r,a(r.elements,n,e.isBindingElement));case 190:return e.updateArrayBindingPattern(r,a(r.elements,n,e.isArrayBindingElement));case 191:return e.updateBindingElement(r,visitNode(r.dotDotDotToken,o,e.isToken),visitNode(r.propertyName,n,e.isPropertyName),visitNode(r.name,n,e.isBindingName),visitNode(r.initializer,n,e.isExpression));case 192:return e.updateArrayLiteral(r,a(r.elements,n,e.isExpression));case 193:return e.updateObjectLiteral(r,a(r.properties,n,e.isObjectLiteralElementLike));case 194:if(r.flags&32){return e.updatePropertyAccessChain(r,visitNode(r.expression,n,e.isExpression),visitNode(r.questionDotToken,o,e.isToken),visitNode(r.name,n,e.isIdentifier))}return e.updatePropertyAccess(r,visitNode(r.expression,n,e.isExpression),visitNode(r.name,n,e.isIdentifierOrPrivateIdentifier));case 195:if(r.flags&32){return e.updateElementAccessChain(r,visitNode(r.expression,n,e.isExpression),visitNode(r.questionDotToken,o,e.isToken),visitNode(r.argumentExpression,n,e.isExpression))}return e.updateElementAccess(r,visitNode(r.expression,n,e.isExpression),visitNode(r.argumentExpression,n,e.isExpression));case 196:if(r.flags&32){return e.updateCallChain(r,visitNode(r.expression,n,e.isExpression),visitNode(r.questionDotToken,o,e.isToken),a(r.typeArguments,n,e.isTypeNode),a(r.arguments,n,e.isExpression))}return e.updateCall(r,visitNode(r.expression,n,e.isExpression),a(r.typeArguments,n,e.isTypeNode),a(r.arguments,n,e.isExpression));case 197:return e.updateNew(r,visitNode(r.expression,n,e.isExpression),a(r.typeArguments,n,e.isTypeNode),a(r.arguments,n,e.isExpression));case 198:return e.updateTaggedTemplate(r,visitNode(r.tag,n,e.isExpression),visitNodes(r.typeArguments,n,e.isExpression),visitNode(r.template,n,e.isTemplateLiteral));case 199:return e.updateTypeAssertion(r,visitNode(r.type,n,e.isTypeNode),visitNode(r.expression,n,e.isExpression));case 200:return e.updateParen(r,visitNode(r.expression,n,e.isExpression));case 201:return e.updateFunctionExpression(r,a(r.modifiers,n,e.isModifier),visitNode(r.asteriskToken,o,e.isToken),visitNode(r.name,n,e.isIdentifier),a(r.typeParameters,n,e.isTypeParameterDeclaration),visitParameterList(r.parameters,n,i,a),visitNode(r.type,n,e.isTypeNode),visitFunctionBody(r.body,n,i));case 202:return e.updateArrowFunction(r,a(r.modifiers,n,e.isModifier),a(r.typeParameters,n,e.isTypeParameterDeclaration),visitParameterList(r.parameters,n,i,a),visitNode(r.type,n,e.isTypeNode),visitNode(r.equalsGreaterThanToken,o,e.isToken),visitFunctionBody(r.body,n,i));case 203:return e.updateDelete(r,visitNode(r.expression,n,e.isExpression));case 204:return e.updateTypeOf(r,visitNode(r.expression,n,e.isExpression));case 205:return e.updateVoid(r,visitNode(r.expression,n,e.isExpression));case 206:return e.updateAwait(r,visitNode(r.expression,n,e.isExpression));case 207:return e.updatePrefix(r,visitNode(r.operand,n,e.isExpression));case 208:return e.updatePostfix(r,visitNode(r.operand,n,e.isExpression));case 209:return e.updateBinary(r,visitNode(r.left,n,e.isExpression),visitNode(r.right,n,e.isExpression),visitNode(r.operatorToken,o,e.isToken));case 210:return e.updateConditional(r,visitNode(r.condition,n,e.isExpression),visitNode(r.questionToken,o,e.isToken),visitNode(r.whenTrue,n,e.isExpression),visitNode(r.colonToken,o,e.isToken),visitNode(r.whenFalse,n,e.isExpression));case 211:return e.updateTemplateExpression(r,visitNode(r.head,n,e.isTemplateHead),a(r.templateSpans,n,e.isTemplateSpan));case 212:return e.updateYield(r,visitNode(r.asteriskToken,o,e.isToken),visitNode(r.expression,n,e.isExpression));case 213:return e.updateSpread(r,visitNode(r.expression,n,e.isExpression));case 214:return e.updateClassExpression(r,a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isIdentifier),a(r.typeParameters,n,e.isTypeParameterDeclaration),a(r.heritageClauses,n,e.isHeritageClause),a(r.members,n,e.isClassElement));case 216:return e.updateExpressionWithTypeArguments(r,a(r.typeArguments,n,e.isTypeNode),visitNode(r.expression,n,e.isExpression));case 217:return e.updateAsExpression(r,visitNode(r.expression,n,e.isExpression),visitNode(r.type,n,e.isTypeNode));case 218:return e.updateNonNullExpression(r,visitNode(r.expression,n,e.isExpression));case 219:return e.updateMetaProperty(r,visitNode(r.name,n,e.isIdentifier));case 221:return e.updateTemplateSpan(r,visitNode(r.expression,n,e.isExpression),visitNode(r.literal,n,e.isTemplateMiddleOrTemplateTail));case 223:return e.updateBlock(r,a(r.statements,n,e.isStatement));case 225:return e.updateVariableStatement(r,a(r.modifiers,n,e.isModifier),visitNode(r.declarationList,n,e.isVariableDeclarationList));case 226:return e.updateExpressionStatement(r,visitNode(r.expression,n,e.isExpression));case 227:return e.updateIf(r,visitNode(r.expression,n,e.isExpression),visitNode(r.thenStatement,n,e.isStatement,e.liftToBlock),visitNode(r.elseStatement,n,e.isStatement,e.liftToBlock));case 228:return e.updateDo(r,visitNode(r.statement,n,e.isStatement,e.liftToBlock),visitNode(r.expression,n,e.isExpression));case 229:return e.updateWhile(r,visitNode(r.expression,n,e.isExpression),visitNode(r.statement,n,e.isStatement,e.liftToBlock));case 230:return e.updateFor(r,visitNode(r.initializer,n,e.isForInitializer),visitNode(r.condition,n,e.isExpression),visitNode(r.incrementor,n,e.isExpression),visitNode(r.statement,n,e.isStatement,e.liftToBlock));case 231:return e.updateForIn(r,visitNode(r.initializer,n,e.isForInitializer),visitNode(r.expression,n,e.isExpression),visitNode(r.statement,n,e.isStatement,e.liftToBlock));case 232:return e.updateForOf(r,visitNode(r.awaitModifier,o,e.isToken),visitNode(r.initializer,n,e.isForInitializer),visitNode(r.expression,n,e.isExpression),visitNode(r.statement,n,e.isStatement,e.liftToBlock));case 233:return e.updateContinue(r,visitNode(r.label,n,e.isIdentifier));case 234:return e.updateBreak(r,visitNode(r.label,n,e.isIdentifier));case 235:return e.updateReturn(r,visitNode(r.expression,n,e.isExpression));case 236:return e.updateWith(r,visitNode(r.expression,n,e.isExpression),visitNode(r.statement,n,e.isStatement,e.liftToBlock));case 237:return e.updateSwitch(r,visitNode(r.expression,n,e.isExpression),visitNode(r.caseBlock,n,e.isCaseBlock));case 238:return e.updateLabel(r,visitNode(r.label,n,e.isIdentifier),visitNode(r.statement,n,e.isStatement,e.liftToBlock));case 239:return e.updateThrow(r,visitNode(r.expression,n,e.isExpression));case 240:return e.updateTry(r,visitNode(r.tryBlock,n,e.isBlock),visitNode(r.catchClause,n,e.isCatchClause),visitNode(r.finallyBlock,n,e.isBlock));case 242:return e.updateTypeScriptVariableDeclaration(r,visitNode(r.name,n,e.isBindingName),visitNode(r.exclamationToken,o,e.isToken),visitNode(r.type,n,e.isTypeNode),visitNode(r.initializer,n,e.isExpression));case 243:return e.updateVariableDeclarationList(r,a(r.declarations,n,e.isVariableDeclaration));case 244:return e.updateFunctionDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.asteriskToken,o,e.isToken),visitNode(r.name,n,e.isIdentifier),a(r.typeParameters,n,e.isTypeParameterDeclaration),visitParameterList(r.parameters,n,i,a),visitNode(r.type,n,e.isTypeNode),visitFunctionBody(r.body,n,i));case 245:return e.updateClassDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isIdentifier),a(r.typeParameters,n,e.isTypeParameterDeclaration),a(r.heritageClauses,n,e.isHeritageClause),a(r.members,n,e.isClassElement));case 246:return e.updateInterfaceDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isIdentifier),a(r.typeParameters,n,e.isTypeParameterDeclaration),a(r.heritageClauses,n,e.isHeritageClause),a(r.members,n,e.isTypeElement));case 247:return e.updateTypeAliasDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isIdentifier),a(r.typeParameters,n,e.isTypeParameterDeclaration),visitNode(r.type,n,e.isTypeNode));case 248:return e.updateEnumDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isIdentifier),a(r.members,n,e.isEnumMember));case 249:return e.updateModuleDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isIdentifier),visitNode(r.body,n,e.isModuleBody));case 250:return e.updateModuleBlock(r,a(r.statements,n,e.isStatement));case 251:return e.updateCaseBlock(r,a(r.clauses,n,e.isCaseOrDefaultClause));case 252:return e.updateNamespaceExportDeclaration(r,visitNode(r.name,n,e.isIdentifier));case 253:return e.updateImportEqualsDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.name,n,e.isIdentifier),visitNode(r.moduleReference,n,e.isModuleReference));case 254:return e.updateImportDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.importClause,n,e.isImportClause),visitNode(r.moduleSpecifier,n,e.isExpression));case 255:return e.updateImportClause(r,visitNode(r.name,n,e.isIdentifier),visitNode(r.namedBindings,n,e.isNamedImportBindings),r.isTypeOnly);case 256:return e.updateNamespaceImport(r,visitNode(r.name,n,e.isIdentifier));case 262:return e.updateNamespaceExport(r,visitNode(r.name,n,e.isIdentifier));case 257:return e.updateNamedImports(r,a(r.elements,n,e.isImportSpecifier));case 258:return e.updateImportSpecifier(r,visitNode(r.propertyName,n,e.isIdentifier),visitNode(r.name,n,e.isIdentifier));case 259:return e.updateExportAssignment(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.expression,n,e.isExpression));case 260:return e.updateExportDeclaration(r,a(r.decorators,n,e.isDecorator),a(r.modifiers,n,e.isModifier),visitNode(r.exportClause,n,e.isNamedExportBindings),visitNode(r.moduleSpecifier,n,e.isExpression),r.isTypeOnly);case 261:return e.updateNamedExports(r,a(r.elements,n,e.isExportSpecifier));case 263:return e.updateExportSpecifier(r,visitNode(r.propertyName,n,e.isIdentifier),visitNode(r.name,n,e.isIdentifier));case 265:return e.updateExternalModuleReference(r,visitNode(r.expression,n,e.isExpression));case 266:return e.updateJsxElement(r,visitNode(r.openingElement,n,e.isJsxOpeningElement),a(r.children,n,e.isJsxChild),visitNode(r.closingElement,n,e.isJsxClosingElement));case 267:return e.updateJsxSelfClosingElement(r,visitNode(r.tagName,n,e.isJsxTagNameExpression),a(r.typeArguments,n,e.isTypeNode),visitNode(r.attributes,n,e.isJsxAttributes));case 268:return e.updateJsxOpeningElement(r,visitNode(r.tagName,n,e.isJsxTagNameExpression),a(r.typeArguments,n,e.isTypeNode),visitNode(r.attributes,n,e.isJsxAttributes));case 269:return e.updateJsxClosingElement(r,visitNode(r.tagName,n,e.isJsxTagNameExpression));case 270:return e.updateJsxFragment(r,visitNode(r.openingFragment,n,e.isJsxOpeningFragment),a(r.children,n,e.isJsxChild),visitNode(r.closingFragment,n,e.isJsxClosingFragment));case 273:return e.updateJsxAttribute(r,visitNode(r.name,n,e.isIdentifier),visitNode(r.initializer,n,e.isStringLiteralOrJsxExpression));case 274:return e.updateJsxAttributes(r,a(r.properties,n,e.isJsxAttributeLike));case 275:return e.updateJsxSpreadAttribute(r,visitNode(r.expression,n,e.isExpression));case 276:return e.updateJsxExpression(r,visitNode(r.expression,n,e.isExpression));case 277:return e.updateCaseClause(r,visitNode(r.expression,n,e.isExpression),a(r.statements,n,e.isStatement));case 278:return e.updateDefaultClause(r,a(r.statements,n,e.isStatement));case 279:return e.updateHeritageClause(r,a(r.types,n,e.isExpressionWithTypeArguments));case 280:return e.updateCatchClause(r,visitNode(r.variableDeclaration,n,e.isVariableDeclaration),visitNode(r.block,n,e.isBlock));case 281:return e.updatePropertyAssignment(r,visitNode(r.name,n,e.isPropertyName),visitNode(r.initializer,n,e.isExpression));case 282:return e.updateShorthandPropertyAssignment(r,visitNode(r.name,n,e.isIdentifier),visitNode(r.objectAssignmentInitializer,n,e.isExpression));case 283:return e.updateSpreadAssignment(r,visitNode(r.expression,n,e.isExpression));case 284:return e.updateEnumMember(r,visitNode(r.name,n,e.isPropertyName),visitNode(r.initializer,n,e.isExpression));case 290:return e.updateSourceFileNode(r,visitLexicalEnvironment(r.statements,n,i));case 326:return e.updatePartiallyEmittedExpression(r,visitNode(r.expression,n,e.isExpression));case 327:return e.updateCommaList(r,a(r.elements,n,e.isExpression));default:return r}}e.visitEachChild=visitEachChild;function extractSingleNode(t){e.Debug.assert(t.length<=1,"Too many nodes written to output.");return e.singleOrUndefined(t)}})(l||(l={}));var l;(function(e){function reduceNode(e,t,r){return e?t(r,e):r}function reduceNodeArray(e,t,r){return e?t(r,e):r}function reduceEachChild(t,r,n,i){if(t===undefined){return r}var a=i?reduceNodeArray:e.reduceLeft;var o=i||n;var s=t.kind;if(s>0&&s<=152){return r}if(s>=168&&s<=187){return r}var c=r;switch(t.kind){case 222:case 224:case 215:case 241:case 325:break;case 153:c=reduceNode(t.left,n,c);c=reduceNode(t.right,n,c);break;case 154:c=reduceNode(t.expression,n,c);break;case 156:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=reduceNode(t.type,n,c);c=reduceNode(t.initializer,n,c);break;case 157:c=reduceNode(t.expression,n,c);break;case 158:c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=reduceNode(t.questionToken,n,c);c=reduceNode(t.type,n,c);c=reduceNode(t.initializer,n,c);break;case 159:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=reduceNode(t.type,n,c);c=reduceNode(t.initializer,n,c);break;case 161:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=a(t.typeParameters,o,c);c=a(t.parameters,o,c);c=reduceNode(t.type,n,c);c=reduceNode(t.body,n,c);break;case 162:c=a(t.modifiers,o,c);c=a(t.parameters,o,c);c=reduceNode(t.body,n,c);break;case 163:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=a(t.parameters,o,c);c=reduceNode(t.type,n,c);c=reduceNode(t.body,n,c);break;case 164:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=a(t.parameters,o,c);c=reduceNode(t.body,n,c);break;case 189:case 190:c=a(t.elements,o,c);break;case 191:c=reduceNode(t.propertyName,n,c);c=reduceNode(t.name,n,c);c=reduceNode(t.initializer,n,c);break;case 192:c=a(t.elements,o,c);break;case 193:c=a(t.properties,o,c);break;case 194:c=reduceNode(t.expression,n,c);c=reduceNode(t.name,n,c);break;case 195:c=reduceNode(t.expression,n,c);c=reduceNode(t.argumentExpression,n,c);break;case 196:c=reduceNode(t.expression,n,c);c=a(t.typeArguments,o,c);c=a(t.arguments,o,c);break;case 197:c=reduceNode(t.expression,n,c);c=a(t.typeArguments,o,c);c=a(t.arguments,o,c);break;case 198:c=reduceNode(t.tag,n,c);c=a(t.typeArguments,o,c);c=reduceNode(t.template,n,c);break;case 199:c=reduceNode(t.type,n,c);c=reduceNode(t.expression,n,c);break;case 201:c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=a(t.typeParameters,o,c);c=a(t.parameters,o,c);c=reduceNode(t.type,n,c);c=reduceNode(t.body,n,c);break;case 202:c=a(t.modifiers,o,c);c=a(t.typeParameters,o,c);c=a(t.parameters,o,c);c=reduceNode(t.type,n,c);c=reduceNode(t.body,n,c);break;case 200:case 203:case 204:case 205:case 206:case 212:case 213:case 218:c=reduceNode(t.expression,n,c);break;case 207:case 208:c=reduceNode(t.operand,n,c);break;case 209:c=reduceNode(t.left,n,c);c=reduceNode(t.right,n,c);break;case 210:c=reduceNode(t.condition,n,c);c=reduceNode(t.whenTrue,n,c);c=reduceNode(t.whenFalse,n,c);break;case 211:c=reduceNode(t.head,n,c);c=a(t.templateSpans,o,c);break;case 214:c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=a(t.typeParameters,o,c);c=a(t.heritageClauses,o,c);c=a(t.members,o,c);break;case 216:c=reduceNode(t.expression,n,c);c=a(t.typeArguments,o,c);break;case 217:c=reduceNode(t.expression,n,c);c=reduceNode(t.type,n,c);break;case 221:c=reduceNode(t.expression,n,c);c=reduceNode(t.literal,n,c);break;case 223:c=a(t.statements,o,c);break;case 225:c=a(t.modifiers,o,c);c=reduceNode(t.declarationList,n,c);break;case 226:c=reduceNode(t.expression,n,c);break;case 227:c=reduceNode(t.expression,n,c);c=reduceNode(t.thenStatement,n,c);c=reduceNode(t.elseStatement,n,c);break;case 228:c=reduceNode(t.statement,n,c);c=reduceNode(t.expression,n,c);break;case 229:case 236:c=reduceNode(t.expression,n,c);c=reduceNode(t.statement,n,c);break;case 230:c=reduceNode(t.initializer,n,c);c=reduceNode(t.condition,n,c);c=reduceNode(t.incrementor,n,c);c=reduceNode(t.statement,n,c);break;case 231:case 232:c=reduceNode(t.initializer,n,c);c=reduceNode(t.expression,n,c);c=reduceNode(t.statement,n,c);break;case 235:case 239:c=reduceNode(t.expression,n,c);break;case 237:c=reduceNode(t.expression,n,c);c=reduceNode(t.caseBlock,n,c);break;case 238:c=reduceNode(t.label,n,c);c=reduceNode(t.statement,n,c);break;case 240:c=reduceNode(t.tryBlock,n,c);c=reduceNode(t.catchClause,n,c);c=reduceNode(t.finallyBlock,n,c);break;case 242:c=reduceNode(t.name,n,c);c=reduceNode(t.type,n,c);c=reduceNode(t.initializer,n,c);break;case 243:c=a(t.declarations,o,c);break;case 244:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=a(t.typeParameters,o,c);c=a(t.parameters,o,c);c=reduceNode(t.type,n,c);c=reduceNode(t.body,n,c);break;case 245:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=a(t.typeParameters,o,c);c=a(t.heritageClauses,o,c);c=a(t.members,o,c);break;case 248:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=a(t.members,o,c);break;case 249:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=reduceNode(t.body,n,c);break;case 250:c=a(t.statements,o,c);break;case 251:c=a(t.clauses,o,c);break;case 253:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.name,n,c);c=reduceNode(t.moduleReference,n,c);break;case 254:c=a(t.decorators,o,c);c=a(t.modifiers,o,c);c=reduceNode(t.importClause,n,c);c=reduceNode(t.moduleSpecifier,n,c);break;case 255:c=reduceNode(t.name,n,c);c=reduceNode(t.namedBindings,n,c);break;case 256:c=reduceNode(t.name,n,c);break;case 262:c=reduceNode(t.name,n,c);break;case 257:case 261:c=a(t.elements,o,c);break;case 258:case 263:c=reduceNode(t.propertyName,n,c);c=reduceNode(t.name,n,c);break;case 259:c=e.reduceLeft(t.decorators,n,c);c=e.reduceLeft(t.modifiers,n,c);c=reduceNode(t.expression,n,c);break;case 260:c=e.reduceLeft(t.decorators,n,c);c=e.reduceLeft(t.modifiers,n,c);c=reduceNode(t.exportClause,n,c);c=reduceNode(t.moduleSpecifier,n,c);break;case 265:c=reduceNode(t.expression,n,c);break;case 266:c=reduceNode(t.openingElement,n,c);c=e.reduceLeft(t.children,n,c);c=reduceNode(t.closingElement,n,c);break;case 270:c=reduceNode(t.openingFragment,n,c);c=e.reduceLeft(t.children,n,c);c=reduceNode(t.closingFragment,n,c);break;case 267:case 268:c=reduceNode(t.tagName,n,c);c=a(t.typeArguments,n,c);c=reduceNode(t.attributes,n,c);break;case 274:c=a(t.properties,o,c);break;case 269:c=reduceNode(t.tagName,n,c);break;case 273:c=reduceNode(t.name,n,c);c=reduceNode(t.initializer,n,c);break;case 275:c=reduceNode(t.expression,n,c);break;case 276:c=reduceNode(t.expression,n,c);break;case 277:c=reduceNode(t.expression,n,c);case 278:c=a(t.statements,o,c);break;case 279:c=a(t.types,o,c);break;case 280:c=reduceNode(t.variableDeclaration,n,c);c=reduceNode(t.block,n,c);break;case 281:c=reduceNode(t.name,n,c);c=reduceNode(t.initializer,n,c);break;case 282:c=reduceNode(t.name,n,c);c=reduceNode(t.objectAssignmentInitializer,n,c);break;case 283:c=reduceNode(t.expression,n,c);break;case 284:c=reduceNode(t.name,n,c);c=reduceNode(t.initializer,n,c);break;case 290:c=a(t.statements,o,c);break;case 326:c=reduceNode(t.expression,n,c);break;case 327:c=a(t.elements,o,c);break;default:break}return c}e.reduceEachChild=reduceEachChild;function findSpanEnd(e,t,r){var n=r;while(nl){d.splice.apply(d,n([o,0],r.slice(l,u)))}if(l>c){d.splice.apply(d,n([a,0],r.slice(c,l)))}if(c>s){d.splice.apply(d,n([i,0],r.slice(s,c)))}if(s>0){if(i===0){d.splice.apply(d,n([0,0],r.slice(0,s)))}else{var p=e.createMap();for(var f=0;f=0;f--){var m=r[f];if(!p.has(m.expression.text)){d.unshift(m)}}}}if(e.isNodeArray(t)){return e.setTextRange(e.createNodeArray(d,t.hasTrailingComma),t)}return t}e.mergeLexicalEnvironment=mergeLexicalEnvironment;function liftToBlock(t){e.Debug.assert(e.every(t,e.isStatement),"Cannot lift nodes to a Block.");return e.singleOrUndefined(t)||e.createBlock(t)}e.liftToBlock=liftToBlock;function aggregateTransformFlags(e){aggregateTransformFlagsForNode(e);return e}e.aggregateTransformFlags=aggregateTransformFlags;function aggregateTransformFlagsForNode(t){if(t===undefined){return 0}if(t.transformFlags&536870912){return t.transformFlags&~e.getTransformFlagsSubtreeExclusions(t.kind)}var r=aggregateTransformFlagsForSubtree(t);return e.computeTransformFlagsForNode(t,r)}function aggregateTransformFlagsForNodeArray(e){if(e===undefined){return 0}var t=0;var r=0;for(var n=0,i=e;nt||E===t&&N>r)}function addMapping(t,r,n,i,a,o){e.Debug.assert(t>=x,"generatedLine cannot backtrack");e.Debug.assert(r>=0,"generatedCharacter cannot be negative");e.Debug.assert(n===undefined||n>=0,"sourceIndex cannot be negative");e.Debug.assert(i===undefined||i>=0,"sourceLine cannot be negative");e.Debug.assert(a===undefined||a>=0,"sourceCharacter cannot be negative");s();if(isNewGeneratedPosition(t,r)||isBacktrackingSourcePosition(n,i,a)){commitPendingMapping();x=t;D=r;F=false;P=false;A=true}if(n!==undefined&&i!==undefined&&a!==undefined){C=n;E=i;N=a;F=true;if(o!==undefined){k=o;P=true}}c()}function appendSourceMap(t,r,n,i,a,o){e.Debug.assert(t>=x,"generatedLine cannot backtrack");e.Debug.assert(r>=0,"generatedCharacter cannot be negative");s();var l=[];var u;var d=decodeMappings(n.mappings);for(var p=d.next();!p.done;p=d.next()){var f=p.value;if(o&&(f.generatedLine>o.line||f.generatedLine===o.line&&f.generatedCharacter>o.character)){break}if(a&&(f.generatedLine=0;n--){var i=e.getLineText(n);var a=t.exec(i);if(a){return a[1]}else if(!i.match(r)){break}}}e.tryGetSourceMappingURL=tryGetSourceMappingURL;function isStringOrNull(e){return typeof e==="string"||e===null}function isRawSourceMap(t){return t!==null&&typeof t==="object"&&t.version===3&&typeof t.file==="string"&&typeof t.mappings==="string"&&e.isArray(t.sources)&&e.every(t.sources,e.isString)&&(t.sourceRoot===undefined||t.sourceRoot===null||typeof t.sourceRoot==="string")&&(t.sourcesContent===undefined||t.sourcesContent===null||e.isArray(t.sourcesContent)&&e.every(t.sourcesContent,isStringOrNull))&&(t.names===undefined||t.names===null||e.isArray(t.names)&&e.every(t.names,e.isString))}e.isRawSourceMap=isRawSourceMap;function tryParseRawSourceMap(e){try{var t=JSON.parse(e);if(isRawSourceMap(t)){return t}}catch(e){}return undefined}e.tryParseRawSourceMap=tryParseRawSourceMap;function decodeMappings(e){var t=false;var r=0;var n=0;var i=0;var a=0;var o=0;var s=0;var c=0;var l;return{get pos(){return r},get error(){return l},get state(){return captureMapping(true,true)},next:function(){while(!t&&r=e.length)return setError("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var a=base64FormatDecode(e.charCodeAt(r));if(a===-1)return setError("Invalid character in VLQ"),-1;t=(a&32)!==0;i=i|(a&31)<>1}else{i=i>>1;i=-i}return i}}e.decodeMappings=decodeMappings;function sameMapping(e,t){return e===t||e.generatedLine===t.generatedLine&&e.generatedCharacter===t.generatedCharacter&&e.sourceIndex===t.sourceIndex&&e.sourceLine===t.sourceLine&&e.sourceCharacter===t.sourceCharacter&&e.nameIndex===t.nameIndex}e.sameMapping=sameMapping;function isSourceMapping(e){return e.sourceIndex!==undefined&&e.sourceLine!==undefined&&e.sourceCharacter!==undefined}e.isSourceMapping=isSourceMapping;function base64FormatEncode(t){return t>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:t===62?43:t===63?47:e.Debug.fail(t+": not a base64 value")}function base64FormatDecode(e){return e>=65&&e<=90?e-65:e>=97&&e<=122?e-97+26:e>=48&&e<=57?e-48+52:e===43?62:e===47?63:-1}function base64VLQFormatEncode(e){if(e<0){e=(-e<<1)+1}else{e=e<<1}var t="";do{var r=e&31;e=e>>5;if(e>0){r=r|32}t=t+String.fromCharCode(base64FormatEncode(r))}while(e>0);return t}function isSourceMappedPosition(e){return e.sourceIndex!==undefined&&e.sourcePosition!==undefined}function sameMappedPosition(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function compareSourcePositions(t,r){e.Debug.assert(t.sourceIndex===r.sourceIndex);return e.compareValues(t.sourcePosition,r.sourcePosition)}function compareGeneratedPositions(t,r){return e.compareValues(t.generatedPosition,r.generatedPosition)}function getSourcePositionOfMapping(e){return e.sourcePosition}function getGeneratedPositionOfMapping(e){return e.generatedPosition}function createDocumentPositionMapper(t,r,n){var i=e.getDirectoryPath(n);var a=r.sourceRoot?e.getNormalizedAbsolutePath(r.sourceRoot,i):i;var o=e.getNormalizedAbsolutePath(r.file,i);var s=t.getSourceFileLike(o);var c=r.sources.map((function(t){return e.getNormalizedAbsolutePath(t,a)}));var l=e.createMapFromEntries(c.map((function(e,r){return[t.getCanonicalFileName(e),r]})));var u;var d;var p;return{getSourcePosition:getSourcePosition,getGeneratedPosition:getGeneratedPosition};function processMapping(n){var i=s!==undefined?e.getPositionOfLineAndCharacter(s,n.generatedLine,n.generatedCharacter,true):-1;var a;var o;if(isSourceMapping(n)){var l=t.getSourceFileLike(c[n.sourceIndex]);a=r.sources[n.sourceIndex];o=l!==undefined?e.getPositionOfLineAndCharacter(l,n.sourceLine,n.sourceCharacter,true):-1}return{generatedPosition:i,source:a,sourceIndex:n.sourceIndex,sourcePosition:o,nameIndex:n.nameIndex}}function getDecodedMappings(){if(u===undefined){var n=decodeMappings(r.mappings);var i=e.arrayFrom(n,processMapping);if(n.error!==undefined){if(t.log){t.log("Encountered error while decoding sourcemap: "+n.error)}u=e.emptyArray}else{u=i}}return u}function getSourceMappings(t){if(p===undefined){var r=[];for(var n=0,i=getDecodedMappings();n0&&n!==r.elements.length||!!(r.elements.length-n)&&e.isDefaultImport(t)}e.getImportNeedsImportStarHelper=getImportNeedsImportStarHelper;function getImportNeedsImportDefaultHelper(t){return!getImportNeedsImportStarHelper(t)&&(e.isDefaultImport(t)||!!t.importClause&&e.isNamedImports(t.importClause.namedBindings)&&containsDefaultReference(t.importClause.namedBindings))}e.getImportNeedsImportDefaultHelper=getImportNeedsImportDefaultHelper;function collectExternalModuleInfo(t,r,n){var i=[];var a=e.createMultiMap();var o=[];var s=e.createMap();var c;var l=false;var u;var d=false;var p=false;var f=false;for(var g=0,m=t.statements;g=63&&e<=74}e.isCompoundAssignment=isCompoundAssignment;function getNonAssignmentOperatorForCompoundAssignment(e){switch(e){case 63:return 39;case 64:return 40;case 65:return 41;case 66:return 42;case 67:return 43;case 68:return 44;case 69:return 47;case 70:return 48;case 71:return 49;case 72:return 50;case 73:return 51;case 74:return 52}}e.getNonAssignmentOperatorForCompoundAssignment=getNonAssignmentOperatorForCompoundAssignment;function addPrologueDirectivesAndInitialSuperCall(t,r,n){if(t.body){var i=t.body.statements;var a=e.addPrologue(r,i,false,n);if(a===i.length){return a}var o=e.findIndex(i,(function(t){return e.isExpressionStatement(t)&&e.isSuperCall(t.expression)}),a);if(o>-1){for(var s=a;s<=o;s++){r.push(e.visitNode(i[s],n,e.isStatement))}return o+1}return a}return 0}e.addPrologueDirectivesAndInitialSuperCall=addPrologueDirectivesAndInitialSuperCall;function helperString(e){var t=[];for(var r=1;r=1&&!(p.transformFlags&(8192|16384))&&!(e.getTargetOfBindingOrAssignmentElement(p).transformFlags&(8192|16384))&&!e.isComputedPropertyName(f)){l=e.append(l,e.visitNode(p,t.visitor))}else{if(l){t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(l),i,a,n);l=undefined}var g=createDestructuringPropertyAccess(t,i,f);if(e.isComputedPropertyName(f)){u=e.append(u,g.argumentExpression)}flattenBindingOrAssignmentElement(t,p,g,p)}}else if(d===s-1){if(l){t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(l),i,a,n);l=undefined}var g=createRestCall(t.context,i,o,u,n);flattenBindingOrAssignmentElement(t,p,g,p)}}if(l){t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(l),i,a,n)}}function flattenArrayBindingOrAssignmentPattern(t,r,n,i,a){var o=e.getElementsOfBindingOrAssignmentPattern(n);var s=o.length;if(t.level<1&&t.downlevelIteration){i=ensureIdentifier(t,e.createReadHelper(t.context,i,s>0&&e.getRestIndicatorOfBindingOrAssignmentElement(o[s-1])?undefined:s,a),false,a)}else if(s!==1&&(t.level<1||s===0)||e.every(o,e.isOmittedExpression)){var c=!e.isDeclarationBindingElement(r)||s!==0;i=ensureIdentifier(t,i,c,a)}var l;var u;for(var d=0;d=1){if(p.transformFlags&16384){var f=e.createTempVariable(undefined);if(t.hoistTempVariables){t.context.hoistVariableDeclaration(f)}u=e.append(u,[f,p]);l=e.append(l,t.createArrayBindingOrAssignmentElement(f))}else{l=e.append(l,p)}}else if(e.isOmittedExpression(p)){continue}else if(!e.getRestIndicatorOfBindingOrAssignmentElement(p)){var g=e.createElementAccess(i,d);flattenBindingOrAssignmentElement(t,p,g,p)}else if(d===s-1){var g=e.createArraySlice(i,d);flattenBindingOrAssignmentElement(t,p,g,p)}}if(l){t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(l),i,a,n)}if(u){for(var m=0,_=u;m<_.length;m++){var y=_[m],h=y[0],p=y[1];flattenBindingOrAssignmentElement(t,p,h,p)}}}function createDefaultValueCheck(t,r,n,i){r=ensureIdentifier(t,r,true,i);return e.createConditional(e.createTypeCheck(r,"undefined"),n,r)}function createDestructuringPropertyAccess(t,r,n){if(e.isComputedPropertyName(n)){var i=ensureIdentifier(t,e.visitNode(n.expression,t.visitor),false,n);return e.createElementAccess(r,i)}else if(e.isStringOrNumericLiteralLike(n)){var i=e.getSynthesizedClone(n);i.text=i.text;return e.createElementAccess(r,i)}else{var a=e.createIdentifier(e.idText(n));return e.createPropertyAccess(r,a)}}function ensureIdentifier(t,r,n,i){if(e.isIdentifier(r)&&n){return r}else{var a=e.createTempVariable(undefined);if(t.hoistTempVariables){t.context.hoistVariableDeclaration(a);t.emitExpression(e.setTextRange(e.createAssignment(a,r),i))}else{t.emitBindingOrAssignment(a,r,i,undefined)}return a}}function makeArrayBindingPattern(t){e.Debug.assertEachNode(t,e.isArrayBindingElement);return e.createArrayBindingPattern(t)}function makeArrayAssignmentPattern(t){return e.createArrayLiteral(e.map(t,e.convertToArrayAssignmentElement))}function makeObjectBindingPattern(t){e.Debug.assertEachNode(t,e.isBindingElement);return e.createObjectBindingPattern(t)}function makeObjectAssignmentPattern(t){return e.createObjectLiteral(e.map(t,e.convertToObjectAssignmentElement))}function makeBindingElement(t){return e.createBindingElement(undefined,undefined,t)}function makeAssignmentElement(e){return e}e.restHelper={name:"typescript:rest",importName:"__rest",scoped:false,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'};function createRestCall(t,r,n,i,a){t.requestEmitHelper(e.restHelper);var o=[];var s=0;for(var c=0;c=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(t);return e.updateSourceFileNode(t,e.visitLexicalEnvironment(t.statements,sourceElementVisitor,r,0,n))}function shouldEmitDecorateCallForClass(t){if(t.decorators&&t.decorators.length>0){return true}var r=e.getFirstConstructorWithBody(t);if(r){return e.forEach(r.parameters,shouldEmitDecorateCallForParameter)}return false}function shouldEmitDecorateCallForParameter(e){return e.decorators!==undefined&&e.decorators.length>0}function getClassFacts(t,r){var n=0;if(e.some(r))n|=1;var i=e.getEffectiveBaseTypeNode(t);if(i&&e.skipOuterExpressions(i.expression).kind!==100)n|=64;if(shouldEmitDecorateCallForClass(t))n|=2;if(e.childIsDecorated(t))n|=4;if(isExportOfNamespace(t))n|=8;else if(isDefaultExternalModuleExport(t))n|=32;else if(isNamedExternalModuleExport(t))n|=16;if(u<=1&&n&7)n|=128;return n}function hasTypeScriptClassSyntax(e){return!!(e.transformFlags&2048)}function isClassLikeDeclarationWithTypeScriptSyntax(t){return e.some(t.decorators)||e.some(t.typeParameters)||e.some(t.heritageClauses,hasTypeScriptClassSyntax)||e.some(t.members,hasTypeScriptClassSyntax)}function visitClassDeclaration(t){if(!isClassLikeDeclarationWithTypeScriptSyntax(t)&&!(m&&e.hasModifier(t,1))){return e.visitEachChild(t,visitor,r)}var n=e.getProperties(t,true,true);var i=getClassFacts(t,n);if(i&128){r.startLexicalEnvironment()}var a=t.name||(i&5?e.getGeneratedNameForNode(t):undefined);var o=i&2?createClassDeclarationHeadWithDecorators(t,a):createClassDeclarationHeadWithoutDecorators(t,a,i);var s=[o];addClassElementDecorationStatements(s,t,false);addClassElementDecorationStatements(s,t,true);addConstructorDecorationStatement(s,t);if(i&128){var c=e.createTokenRange(e.skipTrivia(g.text,t.members.end),19);var l=e.getInternalName(t);var u=e.createPartiallyEmittedExpression(l);u.end=c.end;e.setEmitFlags(u,1536);var d=e.createReturn(u);d.pos=c.pos;e.setEmitFlags(d,1536|384);s.push(d);e.insertStatementsAfterStandardPrologue(s,r.endLexicalEnvironment());var p=e.createImmediatelyInvokedArrowFunction(s);e.setEmitFlags(p,33554432);var f=e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(e.getLocalName(t,false,false),undefined,p)]));e.setOriginalNode(f,t);e.setCommentRange(f,t);e.setSourceMapRange(f,e.moveRangePastDecorators(t));e.startOnNewLine(f);s=[f]}if(i&8){addExportMemberAssignment(s,t)}else if(i&128||i&2){if(i&32){s.push(e.createExportDefault(e.getLocalName(t,false,true)))}else if(i&16){s.push(e.createExternalModuleExport(e.getLocalName(t,false,true)))}}if(s.length>1){s.push(e.createEndOfDeclarationMarker(t));e.setEmitFlags(o,e.getEmitFlags(o)|4194304)}return e.singleOrMany(s)}function createClassDeclarationHeadWithoutDecorators(t,r,n){var i=!(n&128)?e.visitNodes(t.modifiers,modifierVisitor,e.isModifier):undefined;var a=e.createClassDeclaration(undefined,i,r,undefined,e.visitNodes(t.heritageClauses,visitor,e.isHeritageClause),transformClassMembers(t));var o=e.getEmitFlags(t);if(n&1){o|=32}e.aggregateTransformFlags(a);e.setTextRange(a,t);e.setOriginalNode(a,t);e.setEmitFlags(a,o);return a}function createClassDeclarationHeadWithDecorators(t,r){var n=e.moveRangePastDecorators(t);var i=getClassAliasIfNeeded(t);var a=e.getLocalName(t,false,true);var o=e.visitNodes(t.heritageClauses,visitor,e.isHeritageClause);var s=transformClassMembers(t);var c=e.createClassExpression(undefined,r,undefined,o,s);e.aggregateTransformFlags(c);e.setOriginalNode(c,t);e.setTextRange(c,n);var l=e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(a,undefined,i?e.createAssignment(i,c):c)],1));e.setOriginalNode(l,t);e.setTextRange(l,n);e.setCommentRange(l,t);return l}function visitClassExpression(t){if(!isClassLikeDeclarationWithTypeScriptSyntax(t)){return e.visitEachChild(t,visitor,r)}var n=e.createClassExpression(undefined,t.name,undefined,e.visitNodes(t.heritageClauses,visitor,e.isHeritageClause),transformClassMembers(t));e.aggregateTransformFlags(n);e.setOriginalNode(n,t);e.setTextRange(n,t);return n}function transformClassMembers(t){var r=[];var n=e.getFirstConstructorWithBody(t);var i=n&&e.filter(n.parameters,(function(t){return e.isParameterPropertyDeclaration(t,n)}));if(i){for(var a=0,o=i;a0&&e.parameterIsThisKeyword(n[0]);var a=i?1:0;var o=i?n.length-1:n.length;for(var s=0;s0?n.kind===159?e.createVoidZero():e.createNull():undefined;var l=createDecorateHelper(r,a,o,s,c,e.moveRangePastDecorators(n));e.setEmitFlags(l,1536);return l}function addConstructorDecorationStatement(t,r){var n=generateConstructorDecorationExpression(r);if(n){t.push(e.setOriginalNode(e.createExpressionStatement(n),r))}}function generateConstructorDecorationExpression(t){var n=getAllDecoratorsOfConstructor(t);var i=transformAllDecoratorsOfDeclaration(t,t,n);if(!i){return undefined}var a=S&&S[e.getOriginalNodeId(t)];var o=e.getLocalName(t,false,true);var s=createDecorateHelper(r,i,o);var c=e.createAssignment(o,a?e.createAssignment(a,s):s);e.setEmitFlags(c,1536);e.setSourceMapRange(c,e.moveRangePastDecorators(t));return c}function transformDecorator(t){return e.visitNode(t.expression,visitor,e.isExpression)}function transformDecoratorsOfParameter(t,n){var i;if(t){i=[];for(var a=0,o=t;a= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'};function createMetadataHelper(t,r,n){t.requestEmitHelper(e.metadataHelper);return e.createCall(e.getUnscopedHelperName("__metadata"),undefined,[e.createLiteral(r),n])}e.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:false,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'};function createParamHelper(t,r,n,i){t.requestEmitHelper(e.paramHelper);return e.setTextRange(e.createCall(e.getUnscopedHelperName("__param"),undefined,[e.createLiteral(n),r]),i)}e.paramHelper={name:"typescript:param",importName:"__param",scoped:false,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"}})(l||(l={}));var l;(function(e){var t;(function(e){e[e["ClassAliases"]=1]="ClassAliases"})(t||(t={}));var r;(function(e){e[e["InstanceField"]=0]="InstanceField"})(r||(r={}));function transformClassFields(t){var r=t.hoistVariableDeclaration,i=t.endLexicalEnvironment,a=t.resumeLexicalEnvironment;var o=t.getEmitResolver();var s=t.getCompilerOptions();var c=e.getEmitScriptTarget(s);var l=c<99;var u=t.onSubstituteNode;t.onSubstituteNode=onSubstituteNode;var d;var p;var f;var g;var m=[];var _;return e.chainBundle(transformSourceFile);function transformSourceFile(r){var n=t.getCompilerOptions();if(r.isDeclarationFile||n.useDefineForClassFields&&n.target===99){return r}var i=e.visitEachChild(r,visitor,t);e.addEmitHelpers(i,t.readEmitHelpers());return i}function visitor(r){if(!(r.transformFlags&4194304))return r;switch(r.kind){case 214:case 245:return visitClassLike(r);case 159:return visitPropertyDeclaration(r);case 225:return visitVariableStatement(r);case 154:return visitComputedPropertyName(r);case 194:return visitPropertyAccessExpression(r);case 207:return visitPrefixUnaryExpression(r);case 208:return visitPostfixUnaryExpression(r,false);case 196:return visitCallExpression(r);case 209:return visitBinaryExpression(r);case 76:return visitPrivateIdentifier(r);case 226:return visitExpressionStatement(r);case 230:return visitForStatement(r);case 198:return visitTaggedTemplateExpression(r)}return e.visitEachChild(r,visitor,t)}function visitorDestructuringTarget(e){switch(e.kind){case 193:case 192:return visitAssignmentPattern(e);default:return visitor(e)}}function visitPrivateIdentifier(t){if(!l){return t}return e.setOriginalNode(e.createIdentifier(""),t)}function classElementVisitor(r){switch(r.kind){case 162:return undefined;case 163:case 164:case 161:return e.visitEachChild(r,classElementVisitor,t);case 159:return visitPropertyDeclaration(r);case 154:return visitComputedPropertyName(r);case 222:return r;default:return visitor(r)}}function visitVariableStatement(r){var i=g;g=[];var a=e.visitEachChild(r,visitor,t);var o=e.some(g)?n([a],g):a;g=i;return o}function visitComputedPropertyName(r){var n=e.visitEachChild(r,visitor,t);if(e.some(f)){var i=f;i.push(r.expression);f=[];n=e.updateComputedPropertyName(n,e.inlineExpressions(i))}return n}function visitPropertyDeclaration(r){e.Debug.assert(!e.some(r.decorators));if(!l&&e.isPrivateIdentifier(r.name)){return e.updateProperty(r,undefined,e.visitNodes(r.modifiers,visitor,e.isModifier),r.name,undefined,undefined,undefined)}var n=getPropertyNameExpressionIfNeeded(r.name,!!r.initializer||!!t.getCompilerOptions().useDefineForClassFields);if(n&&!e.isSimpleInlineableExpression(n)){(f||(f=[])).push(n)}return undefined}function createPrivateIdentifierAccess(r,n){n=e.visitNode(n,visitor,e.isExpression);switch(r.placement){case 0:return createClassPrivateFieldGetHelper(t,e.nodeIsSynthesized(n)?n:e.getSynthesizedClone(n),r.weakMapName);default:return e.Debug.fail("Unexpected private identifier placement")}}function visitPropertyAccessExpression(r){if(l&&e.isPrivateIdentifier(r.name)){var n=accessPrivateIdentifier(r.name);if(n){return e.setOriginalNode(createPrivateIdentifierAccess(n,r.expression),r)}}return e.visitEachChild(r,visitor,t)}function visitPrefixUnaryExpression(r){if(l&&e.isPrivateIdentifierPropertyAccessExpression(r.operand)){var n=r.operator===45?39:r.operator===46?40:undefined;var i=void 0;if(n&&(i=accessPrivateIdentifier(r.operand.name))){var a=e.visitNode(r.operand.expression,visitor,e.isExpression);var o=createCopiableReceiverExpr(a),s=o.readExpression,c=o.initializeExpression;var u=e.createPrefix(39,createPrivateIdentifierAccess(i,s));return e.setOriginalNode(createPrivateIdentifierAssignment(i,c||s,e.createBinary(u,n,e.createLiteral(1)),62),r)}}return e.visitEachChild(r,visitor,t)}function visitPostfixUnaryExpression(n,i){if(l&&e.isPrivateIdentifierPropertyAccessExpression(n.operand)){var a=n.operator===45?39:n.operator===46?40:undefined;var o=void 0;if(a&&(o=accessPrivateIdentifier(n.operand.name))){var s=e.visitNode(n.operand.expression,visitor,e.isExpression);var c=createCopiableReceiverExpr(s),u=c.readExpression,d=c.initializeExpression;var p=e.createPrefix(39,createPrivateIdentifierAccess(o,u));var f=i?undefined:e.createTempVariable(r);return e.setOriginalNode(e.inlineExpressions(e.compact([createPrivateIdentifierAssignment(o,d||u,e.createBinary(f?e.createAssignment(f,p):p,a,e.createLiteral(1)),62),f])),n)}}return e.visitEachChild(n,visitor,t)}function visitForStatement(r){if(r.incrementor&&e.isPostfixUnaryExpression(r.incrementor)){return e.updateFor(r,e.visitNode(r.initializer,visitor,e.isForInitializer),e.visitNode(r.condition,visitor,e.isExpression),visitPostfixUnaryExpression(r.incrementor,true),e.visitNode(r.statement,visitor,e.isStatement))}return e.visitEachChild(r,visitor,t)}function visitExpressionStatement(r){if(e.isPostfixUnaryExpression(r.expression)){return e.updateExpressionStatement(r,visitPostfixUnaryExpression(r.expression,true))}return e.visitEachChild(r,visitor,t)}function createCopiableReceiverExpr(t){var n=e.nodeIsSynthesized(t)?t:e.getSynthesizedClone(t);if(e.isSimpleInlineableExpression(t)){return{readExpression:n,initializeExpression:undefined}}var i=e.createTempVariable(r);var a=e.createAssignment(i,n);return{readExpression:i,initializeExpression:a}}function visitCallExpression(i){if(l&&e.isPrivateIdentifierPropertyAccessExpression(i.expression)){var a=e.createCallBinding(i.expression,r,c),o=a.thisArg,s=a.target;return e.updateCall(i,e.createPropertyAccess(e.visitNode(s,visitor),"call"),undefined,n([e.visitNode(o,visitor,e.isExpression)],e.visitNodes(i.arguments,visitor,e.isExpression)))}return e.visitEachChild(i,visitor,t)}function visitTaggedTemplateExpression(n){if(l&&e.isPrivateIdentifierPropertyAccessExpression(n.tag)){var i=e.createCallBinding(n.tag,r,c),a=i.thisArg,o=i.target;return e.updateTaggedTemplate(n,e.createCall(e.createPropertyAccess(e.visitNode(o,visitor),"bind"),undefined,[e.visitNode(a,visitor,e.isExpression)]),e.visitNode(n.template,visitor,e.isTemplateLiteral))}return e.visitEachChild(n,visitor,t)}function visitBinaryExpression(r){if(l){if(e.isDestructuringAssignment(r)){var i=f;f=undefined;r=e.updateBinary(r,e.visitNode(r.left,visitorDestructuringTarget),e.visitNode(r.right,visitor),r.operatorToken);var a=e.some(f)?e.inlineExpressions(e.compact(n(f,[r]))):r;f=i;return a}if(e.isAssignmentExpression(r)&&e.isPrivateIdentifierPropertyAccessExpression(r.left)){var o=accessPrivateIdentifier(r.left.name);if(o){return e.setOriginalNode(createPrivateIdentifierAssignment(o,r.left.expression,r.right,r.operatorToken.kind),r)}}}return e.visitEachChild(r,visitor,t)}function createPrivateIdentifierAssignment(t,r,n,i){switch(t.placement){case 0:{return createPrivateIdentifierInstanceFieldAssignment(t,r,n,i)}default:return e.Debug.fail("Unexpected private identifier placement")}}function createPrivateIdentifierInstanceFieldAssignment(r,n,i,a){n=e.visitNode(n,visitor,e.isExpression);i=e.visitNode(i,visitor,e.isExpression);if(e.isCompoundAssignment(a)){var o=createCopiableReceiverExpr(n),s=o.readExpression,c=o.initializeExpression;return createClassPrivateFieldSetHelper(t,c||s,r.weakMapName,e.createBinary(createClassPrivateFieldGetHelper(t,s,r.weakMapName),e.getNonAssignmentOperatorForCompoundAssignment(a),i))}else{return createClassPrivateFieldSetHelper(t,n,r.weakMapName,i)}}function visitClassLike(t){var r=f;f=undefined;if(l){startPrivateIdentifierEnvironment()}var n=e.isClassDeclaration(t)?visitClassDeclaration(t):visitClassExpression(t);if(l){endPrivateIdentifierEnvironment()}f=r;return n}function doesClassElementNeedTransform(t){return e.isPropertyDeclaration(t)||l&&t.name&&e.isPrivateIdentifier(t.name)}function visitClassDeclaration(r){if(!e.forEach(r.members,doesClassElementNeedTransform)){return e.visitEachChild(r,visitor,t)}var n=e.getEffectiveBaseTypeNode(r);var i=!!(n&&e.skipOuterExpressions(n.expression).kind!==100);var a=[e.updateClassDeclaration(r,undefined,r.modifiers,r.name,undefined,e.visitNodes(r.heritageClauses,visitor,e.isHeritageClause),transformClassMembers(r,i))];if(e.some(f)){a.push(e.createExpressionStatement(e.inlineExpressions(f)))}var o=e.getProperties(r,true,true);if(e.some(o)){addPropertyStatements(a,o,e.getInternalName(r))}return a}function visitClassExpression(n){if(!e.forEach(n.members,doesClassElementNeedTransform)){return e.visitEachChild(n,visitor,t)}var i=e.isClassDeclaration(e.getOriginalNode(n));var a=e.getProperties(n,true,true);var s=e.getEffectiveBaseTypeNode(n);var c=!!(s&&e.skipOuterExpressions(s.expression).kind!==100);var l=e.updateClassExpression(n,n.modifiers,n.name,undefined,e.visitNodes(n.heritageClauses,visitor,e.isHeritageClause),transformClassMembers(n,c));if(e.some(a)||e.some(f)){if(i){e.Debug.assertIsDefined(g,"Decorated classes transformed by TypeScript are expected to be within a variable declaration.");if(g&&f&&e.some(f)){g.push(e.createExpressionStatement(e.inlineExpressions(f)))}if(g&&e.some(a)){addPropertyStatements(g,a,e.getInternalName(n))}return l}else{var u=[];var d=o.getNodeCheckFlags(n)&16777216;var m=e.createTempVariable(r,!!d);if(d){enableSubstitutionForClassAliases();var _=e.getSynthesizedClone(m);_.autoGenerateFlags&=~8;p[e.getOriginalNodeId(n)]=_}e.setEmitFlags(l,65536|e.getEmitFlags(l));u.push(e.startOnNewLine(e.createAssignment(m,l)));e.addRange(u,e.map(f,e.startOnNewLine));e.addRange(u,generateInitializedPropertyExpressions(a,m));u.push(e.startOnNewLine(m));return e.inlineExpressions(u)}}return l}function transformClassMembers(t,r){if(l){for(var n=0,i=t.members;nl){if(!s){e.addRange(u,e.visitNodes(n.body.statements,visitor,e.isStatement,l,d-l))}l=d}}addPropertyStatements(u,c,e.createThis());if(n){e.addRange(u,e.visitNodes(n.body.statements,visitor,e.isStatement,l))}u=e.mergeLexicalEnvironment(u,i());return e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(u),n?n.body.statements:r.members),true),n?n.body:undefined)}function addPropertyStatements(t,r,n){for(var i=0,a=r;i=0;--r){var n=m[r];if(!n){continue}var t=n.get(e.escapedText);if(t){return t}}return undefined}function wrapPrivateIdentifierForDestructuringTarget(n){var i=e.getGeneratedNameForNode(n);var a=accessPrivateIdentifier(n.name);if(!a){return e.visitEachChild(n,visitor,t)}var o=n.expression;if(e.isThisProperty(n)||e.isSuperProperty(n)||!e.isSimpleCopiableExpression(n.expression)){o=e.createTempVariable(r);o.autoGenerateFlags|=8;(f||(f=[])).push(e.createBinary(o,62,n.expression))}return e.createPropertyAccess(e.createParen(e.createObjectLiteral([e.createSetAccessor(undefined,undefined,"value",[e.createParameter(undefined,undefined,undefined,i,undefined,undefined,undefined)],e.createBlock([e.createExpressionStatement(createPrivateIdentifierAssignment(a,o,i,62))]))])),"value")}function visitArrayAssignmentTarget(t){var r=e.getTargetOfBindingOrAssignmentElement(t);if(r&&e.isPrivateIdentifierPropertyAccessExpression(r)){var n=wrapPrivateIdentifierForDestructuringTarget(r);if(e.isAssignmentExpression(t)){return e.updateBinary(t,n,e.visitNode(t.right,visitor,e.isExpression),t.operatorToken)}else if(e.isSpreadElement(t)){return e.updateSpread(t,n)}else{return n}}return e.visitNode(t,visitorDestructuringTarget)}function visitObjectAssignmentTarget(t){if(e.isPropertyAssignment(t)){var r=e.getTargetOfBindingOrAssignmentElement(t);if(r&&e.isPrivateIdentifierPropertyAccessExpression(r)){var n=e.getInitializerOfBindingOrAssignmentElement(t);var i=wrapPrivateIdentifierForDestructuringTarget(r);return e.updatePropertyAssignment(t,e.visitNode(t.name,visitor),n?e.createAssignment(i,e.visitNode(n,visitor)):i)}return e.updatePropertyAssignment(t,e.visitNode(t.name,visitor),e.visitNode(t.initializer,visitorDestructuringTarget))}return e.visitNode(t,visitor)}function visitAssignmentPattern(t){if(e.isArrayLiteralExpression(t)){return e.updateArrayLiteral(t,e.visitNodes(t.elements,visitArrayAssignmentTarget,e.isExpression))}else{return e.updateObjectLiteral(t,e.visitNodes(t.properties,visitObjectAssignmentTarget,e.isObjectLiteralElementLike))}}}e.transformClassFields=transformClassFields;function createPrivateInstanceFieldInitializer(t,r,n){return e.createCall(e.createPropertyAccess(n,"set"),undefined,[t,r||e.createVoidZero()])}e.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",scoped:false,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to get private field on non-instance");\n }\n return privateMap.get(receiver);\n };'};function createClassPrivateFieldGetHelper(t,r,n){t.requestEmitHelper(e.classPrivateFieldGetHelper);return e.createCall(e.getUnscopedHelperName("__classPrivateFieldGet"),undefined,[r,n])}e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",scoped:false,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to set private field on non-instance");\n }\n privateMap.set(receiver, value);\n return value;\n };'};function createClassPrivateFieldSetHelper(t,r,n,i){t.requestEmitHelper(e.classPrivateFieldSetHelper);return e.createCall(e.getUnscopedHelperName("__classPrivateFieldSet"),undefined,[r,n,i])}})(l||(l={}));var l;(function(e){var t;(function(e){e[e["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(t||(t={}));var r;(function(e){e[e["NonTopLevel"]=1]="NonTopLevel";e[e["HasLexicalThis"]=2]="HasLexicalThis"})(r||(r={}));function transformES2017(t){var r=t.resumeLexicalEnvironment,i=t.endLexicalEnvironment,a=t.hoistVariableDeclaration;var o=t.getEmitResolver();var s=t.getCompilerOptions();var c=e.getEmitScriptTarget(s);var l;var u=0;var d;var p;var f;var g=[];var m=0;var _=t.onEmitNode;var y=t.onSubstituteNode;t.onEmitNode=onEmitNode;t.onSubstituteNode=onSubstituteNode;return e.chainBundle(transformSourceFile);function transformSourceFile(r){if(r.isDeclarationFile){return r}setContextFlag(1,false);setContextFlag(2,!e.isEffectiveStrictModeSourceFile(r,s));var n=e.visitEachChild(r,visitor,t);e.addEmitHelpers(n,t.readEmitHelpers());return n}function setContextFlag(e,t){m=t?m|e:m&~e}function inContext(e){return(m&e)!==0}function inTopLevelContext(){return!inContext(1)}function inHasLexicalThisContext(){return inContext(2)}function doWithContext(e,t,r){var n=e&~m;if(n){setContextFlag(n,true);var i=t(r);setContextFlag(n,false);return i}return t(r)}function visitDefault(r){return e.visitEachChild(r,visitor,t)}function visitor(r){if((r.transformFlags&64)===0){return r}switch(r.kind){case 126:return undefined;case 206:return visitAwaitExpression(r);case 161:return doWithContext(1|2,visitMethodDeclaration,r);case 244:return doWithContext(1|2,visitFunctionDeclaration,r);case 201:return doWithContext(1|2,visitFunctionExpression,r);case 202:return doWithContext(1,visitArrowFunction,r);case 194:if(p&&e.isPropertyAccessExpression(r)&&r.expression.kind===102){p.set(r.name.escapedText,true)}return e.visitEachChild(r,visitor,t);case 195:if(p&&r.expression.kind===102){f=true}return e.visitEachChild(r,visitor,t);case 163:case 164:case 162:case 245:case 214:return doWithContext(1|2,visitDefault,r);default:return e.visitEachChild(r,visitor,t)}}function asyncBodyVisitor(r){if(e.isNodeWithPossibleHoistedDeclaration(r)){switch(r.kind){case 225:return visitVariableStatementInAsyncBody(r);case 230:return visitForStatementInAsyncBody(r);case 231:return visitForInStatementInAsyncBody(r);case 232:return visitForOfStatementInAsyncBody(r);case 280:return visitCatchClauseInAsyncBody(r);case 223:case 237:case 251:case 277:case 278:case 240:case 228:case 229:case 227:case 236:case 238:return e.visitEachChild(r,asyncBodyVisitor,t);default:return e.Debug.assertNever(r,"Unhandled node.")}}return visitor(r)}function visitCatchClauseInAsyncBody(r){var n=e.createUnderscoreEscapedMap();recordDeclarationName(r.variableDeclaration,n);var i;n.forEach((function(t,r){if(d.has(r)){if(!i){i=e.cloneMap(d)}i.delete(r)}}));if(i){var a=d;d=i;var o=e.visitEachChild(r,asyncBodyVisitor,t);d=a;return o}else{return e.visitEachChild(r,asyncBodyVisitor,t)}}function visitVariableStatementInAsyncBody(r){if(isVariableDeclarationListWithCollidingName(r.declarationList)){var n=visitVariableDeclarationListWithCollidingNames(r.declarationList,false);return n?e.createExpressionStatement(n):undefined}return e.visitEachChild(r,visitor,t)}function visitForInStatementInAsyncBody(t){return e.updateForIn(t,isVariableDeclarationListWithCollidingName(t.initializer)?visitVariableDeclarationListWithCollidingNames(t.initializer,true):e.visitNode(t.initializer,visitor,e.isForInitializer),e.visitNode(t.expression,visitor,e.isExpression),e.visitNode(t.statement,asyncBodyVisitor,e.isStatement,e.liftToBlock))}function visitForOfStatementInAsyncBody(t){return e.updateForOf(t,e.visitNode(t.awaitModifier,visitor,e.isToken),isVariableDeclarationListWithCollidingName(t.initializer)?visitVariableDeclarationListWithCollidingNames(t.initializer,true):e.visitNode(t.initializer,visitor,e.isForInitializer),e.visitNode(t.expression,visitor,e.isExpression),e.visitNode(t.statement,asyncBodyVisitor,e.isStatement,e.liftToBlock))}function visitForStatementInAsyncBody(t){var r=t.initializer;return e.updateFor(t,isVariableDeclarationListWithCollidingName(r)?visitVariableDeclarationListWithCollidingNames(r,false):e.visitNode(t.initializer,visitor,e.isForInitializer),e.visitNode(t.condition,visitor,e.isExpression),e.visitNode(t.incrementor,visitor,e.isExpression),e.visitNode(t.statement,asyncBodyVisitor,e.isStatement,e.liftToBlock))}function visitAwaitExpression(r){if(inTopLevelContext()){return e.visitEachChild(r,visitor,t)}return e.setOriginalNode(e.setTextRange(e.createYield(undefined,e.visitNode(r.expression,visitor,e.isExpression)),r),r)}function visitMethodDeclaration(r){return e.updateMethod(r,undefined,e.visitNodes(r.modifiers,visitor,e.isModifier),r.asteriskToken,r.name,undefined,undefined,e.visitParameterList(r.parameters,visitor,t),undefined,e.getFunctionFlags(r)&2?transformAsyncFunctionBody(r):e.visitFunctionBody(r.body,visitor,t))}function visitFunctionDeclaration(r){return e.updateFunctionDeclaration(r,undefined,e.visitNodes(r.modifiers,visitor,e.isModifier),r.asteriskToken,r.name,undefined,e.visitParameterList(r.parameters,visitor,t),undefined,e.getFunctionFlags(r)&2?transformAsyncFunctionBody(r):e.visitFunctionBody(r.body,visitor,t))}function visitFunctionExpression(r){return e.updateFunctionExpression(r,e.visitNodes(r.modifiers,visitor,e.isModifier),r.asteriskToken,r.name,undefined,e.visitParameterList(r.parameters,visitor,t),undefined,e.getFunctionFlags(r)&2?transformAsyncFunctionBody(r):e.visitFunctionBody(r.body,visitor,t))}function visitArrowFunction(r){return e.updateArrowFunction(r,e.visitNodes(r.modifiers,visitor,e.isModifier),undefined,e.visitParameterList(r.parameters,visitor,t),undefined,r.equalsGreaterThanToken,e.getFunctionFlags(r)&2?transformAsyncFunctionBody(r):e.visitFunctionBody(r.body,visitor,t))}function recordDeclarationName(t,r){var n=t.name;if(e.isIdentifier(n)){r.set(n.escapedText,true)}else{for(var i=0,a=n.elements;i=2&&o.getNodeCheckFlags(n)&(4096|2048);if(C){enableSubstitutionForAsyncMethodsWithSuper();if(e.hasEntries(p)){var E=createSuperAccessVariableStatement(o,n,p);g[e.getNodeId(E)]=true;e.insertStatementsAfterStandardPrologue(x,[E])}}var N=e.createBlock(x,true);e.setTextRange(N,n.body);if(C&&f){if(o.getNodeCheckFlags(n)&4096){e.addEmitHelper(N,e.advancedAsyncSuperHelper)}else if(o.getNodeCheckFlags(n)&2048){e.addEmitHelper(N,e.asyncSuperHelper)}}S=N}else{var k=createAwaiterHelper(t,inHasLexicalThisContext(),m,l,transformAsyncFunctionBodyWorker(n.body));var A=i();if(e.some(A)){var N=e.convertToFunctionBody(k);S=e.updateBlock(N,e.setTextRange(e.createNodeArray(e.concatenate(A,N.statements)),N.statements))}else{S=k}}d=_;if(!u){p=T;f=b}return S}function transformAsyncFunctionBodyWorker(t,r){if(e.isBlock(t)){return e.updateBlock(t,e.visitNodes(t.statements,asyncBodyVisitor,e.isStatement,r))}else{return e.convertToFunctionBody(e.visitNode(t,asyncBodyVisitor,e.isConciseBody))}}function getPromiseConstructor(t){var r=t&&e.getEntityNameFromTypeNode(t);if(r&&e.isEntityName(r)){var n=o.getTypeReferenceSerializationKind(r);if(n===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||n===e.TypeReferenceSerializationKind.Unknown){return r}}return undefined}function enableSubstitutionForAsyncMethodsWithSuper(){if((l&1)===0){l|=1;t.enableSubstitution(196);t.enableSubstitution(194);t.enableSubstitution(195);t.enableEmitNotification(245);t.enableEmitNotification(161);t.enableEmitNotification(163);t.enableEmitNotification(164);t.enableEmitNotification(162);t.enableEmitNotification(225)}}function onEmitNode(t,r,n){if(l&1&&isSuperContainer(r)){var i=o.getNodeCheckFlags(r)&(2048|4096);if(i!==u){var a=u;u=i;_(t,r,n);u=a;return}}else if(l&&g[e.getNodeId(r)]){var a=u;u=0;_(t,r,n);u=a;return}_(t,r,n)}function onSubstituteNode(e,t){t=y(e,t);if(e===1&&u){return substituteExpression(t)}return t}function substituteExpression(e){switch(e.kind){case 194:return substitutePropertyAccessExpression(e);case 195:return substituteElementAccessExpression(e);case 196:return substituteCallExpression(e)}return e}function substitutePropertyAccessExpression(t){if(t.expression.kind===102){return e.setTextRange(e.createPropertyAccess(e.createFileLevelUniqueName("_super"),t.name),t)}return t}function substituteElementAccessExpression(e){if(e.expression.kind===102){return createSuperElementAccessInAsyncMethod(e.argumentExpression,e)}return e}function substituteCallExpression(t){var r=t.expression;if(e.isSuperProperty(r)){var i=e.isPropertyAccessExpression(r)?substitutePropertyAccessExpression(r):substituteElementAccessExpression(r);return e.createCall(e.createPropertyAccess(i,"call"),undefined,n([e.createThis()],t.arguments))}return t}function isSuperContainer(e){var t=e.kind;return t===245||t===162||t===161||t===163||t===164}function createSuperElementAccessInAsyncMethod(t,r){if(u&4096){return e.setTextRange(e.createPropertyAccess(e.createCall(e.createFileLevelUniqueName("_superIndex"),undefined,[t]),"value"),r)}else{return e.setTextRange(e.createCall(e.createFileLevelUniqueName("_superIndex"),undefined,[t]),r)}}}e.transformES2017=transformES2017;function createSuperAccessVariableStatement(t,r,n){var i=(t.getNodeCheckFlags(r)&4096)!==0;var a=[];n.forEach((function(t,r){var n=e.unescapeLeadingUnderscores(r);var o=[];o.push(e.createPropertyAssignment("get",e.createArrowFunction(undefined,undefined,[],undefined,undefined,e.setEmitFlags(e.createPropertyAccess(e.setEmitFlags(e.createSuper(),4),n),4))));if(i){o.push(e.createPropertyAssignment("set",e.createArrowFunction(undefined,undefined,[e.createParameter(undefined,undefined,undefined,"v",undefined,undefined,undefined)],undefined,undefined,e.createAssignment(e.setEmitFlags(e.createPropertyAccess(e.setEmitFlags(e.createSuper(),4),n),4),e.createIdentifier("v")))))}a.push(e.createPropertyAssignment(n,e.createObjectLiteral(o)))}));return e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_super"),undefined,e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"create"),undefined,[e.createNull(),e.createObjectLiteral(a,true)]))],2))}e.createSuperAccessVariableStatement=createSuperAccessVariableStatement;e.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:false,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};function createAwaiterHelper(t,r,n,i,a){t.requestEmitHelper(e.awaiterHelper);var o=e.createFunctionExpression(undefined,e.createToken(41),undefined,undefined,[],undefined,a);(o.emitNode||(o.emitNode={})).flags|=262144|524288;return e.createCall(e.getUnscopedHelperName("__awaiter"),undefined,[r?e.createThis():e.createVoidZero(),n?e.createIdentifier("arguments"):e.createVoidZero(),i?e.createExpressionFromEntityName(i):e.createVoidZero(),o])}e.asyncSuperHelper={name:"typescript:async-super",scoped:true,text:e.helperString(o(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")};e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:true,text:e.helperString(o(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")}})(l||(l={}));var l;(function(e){var t;(function(e){e[e["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(t||(t={}));var r;(function(e){e[e["None"]=0]="None";e[e["HasLexicalThis"]=1]="HasLexicalThis";e[e["IterationContainer"]=2]="IterationContainer";e[e["AncestorFactsMask"]=3]="AncestorFactsMask";e[e["SourceFileIncludes"]=1]="SourceFileIncludes";e[e["SourceFileExcludes"]=2]="SourceFileExcludes";e[e["StrictModeSourceFileIncludes"]=0]="StrictModeSourceFileIncludes";e[e["ClassOrFunctionIncludes"]=1]="ClassOrFunctionIncludes";e[e["ClassOrFunctionExcludes"]=2]="ClassOrFunctionExcludes";e[e["ArrowFunctionIncludes"]=0]="ArrowFunctionIncludes";e[e["ArrowFunctionExcludes"]=2]="ArrowFunctionExcludes";e[e["IterationStatementIncludes"]=2]="IterationStatementIncludes";e[e["IterationStatementExcludes"]=0]="IterationStatementExcludes"})(r||(r={}));function transformES2018(t){var r=t.resumeLexicalEnvironment,i=t.endLexicalEnvironment,a=t.hoistVariableDeclaration;var o=t.getEmitResolver();var s=t.getCompilerOptions();var c=e.getEmitScriptTarget(s);var l=t.onEmitNode;t.onEmitNode=onEmitNode;var u=t.onSubstituteNode;t.onSubstituteNode=onSubstituteNode;var d=false;var p;var f;var g=0;var m=0;var _;var y;var h;var v;var T=[];return e.chainBundle(transformSourceFile);function affectsSubtree(e,t){return m!==(m&~e|t)}function enterSubtree(e,t){var r=m;m=(m&~e|t)&3;return r}function exitSubtree(e){m=e}function recordTaggedTemplateString(t){y=e.append(y,e.createVariableDeclaration(t))}function transformSourceFile(r){if(r.isDeclarationFile){return r}_=r;var n=visitSourceFile(r);e.addEmitHelpers(n,t.readEmitHelpers());_=undefined;y=undefined;return n}function visitor(e){return visitorWorker(e,false)}function visitorNoDestructuringValue(e){return visitorWorker(e,true)}function visitorNoAsyncModifier(e){if(e.kind===126){return undefined}return e}function doWithHierarchyFacts(e,t,r,n){if(affectsSubtree(r,n)){var i=enterSubtree(r,n);var a=e(t);exitSubtree(i);return a}return e(t)}function visitDefault(r){return e.visitEachChild(r,visitor,t)}function visitorWorker(r,n){if((r.transformFlags&32)===0){return r}switch(r.kind){case 206:return visitAwaitExpression(r);case 212:return visitYieldExpression(r);case 235:return visitReturnStatement(r);case 238:return visitLabeledStatement(r);case 193:return visitObjectLiteralExpression(r);case 209:return visitBinaryExpression(r,n);case 280:return visitCatchClause(r);case 225:return visitVariableStatement(r);case 242:return visitVariableDeclaration(r);case 228:case 229:case 231:return doWithHierarchyFacts(visitDefault,r,0,2);case 232:return visitForOfStatement(r,undefined);case 230:return doWithHierarchyFacts(visitForStatement,r,0,2);case 205:return visitVoidExpression(r);case 162:return doWithHierarchyFacts(visitConstructorDeclaration,r,2,1);case 161:return doWithHierarchyFacts(visitMethodDeclaration,r,2,1);case 163:return doWithHierarchyFacts(visitGetAccessorDeclaration,r,2,1);case 164:return doWithHierarchyFacts(visitSetAccessorDeclaration,r,2,1);case 244:return doWithHierarchyFacts(visitFunctionDeclaration,r,2,1);case 201:return doWithHierarchyFacts(visitFunctionExpression,r,2,1);case 202:return doWithHierarchyFacts(visitArrowFunction,r,2,0);case 156:return visitParameter(r);case 226:return visitExpressionStatement(r);case 200:return visitParenthesizedExpression(r,n);case 198:return visitTaggedTemplateExpression(r);case 194:if(h&&e.isPropertyAccessExpression(r)&&r.expression.kind===102){h.set(r.name.escapedText,true)}return e.visitEachChild(r,visitor,t);case 195:if(h&&r.expression.kind===102){v=true}return e.visitEachChild(r,visitor,t);case 245:case 214:return doWithHierarchyFacts(visitDefault,r,2,1);default:return e.visitEachChild(r,visitor,t)}}function visitAwaitExpression(r){if(f&2&&f&1){return e.setOriginalNode(e.setTextRange(e.createYield(createAwaitHelper(t,e.visitNode(r.expression,visitor,e.isExpression))),r),r)}return e.visitEachChild(r,visitor,t)}function visitYieldExpression(r){if(f&2&&f&1){if(r.asteriskToken){var n=e.visitNode(r.expression,visitor,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(createAwaitHelper(t,e.updateYield(r,r.asteriskToken,createAsyncDelegatorHelper(t,createAsyncValuesHelper(t,n,n),n)))),r),r)}return e.setOriginalNode(e.setTextRange(e.createYield(createDownlevelAwait(r.expression?e.visitNode(r.expression,visitor,e.isExpression):e.createVoidZero())),r),r)}return e.visitEachChild(r,visitor,t)}function visitReturnStatement(r){if(f&2&&f&1){return e.updateReturn(r,createDownlevelAwait(r.expression?e.visitNode(r.expression,visitor,e.isExpression):e.createVoidZero()))}return e.visitEachChild(r,visitor,t)}function visitLabeledStatement(r){if(f&2){var n=e.unwrapInnermostStatementOfLabel(r);if(n.kind===232&&n.awaitModifier){return visitForOfStatement(n,r)}return e.restoreEnclosingLabel(e.visitNode(n,visitor,e.isStatement,e.liftToBlock),r)}return e.visitEachChild(r,visitor,t)}function chunkObjectLiteralElements(t){var r;var n=[];for(var i=0,a=t;i1){for(var a=1;a=2&&o.getNodeCheckFlags(n)&(4096|2048);if(p){enableSubstitutionForAsyncMethodsWithSuper();var f=e.createSuperAccessVariableStatement(o,n,h);T[e.getNodeId(f)]=true;e.insertStatementsAfterStandardPrologue(a,[f])}a.push(d);e.insertStatementsAfterStandardPrologue(a,i());var g=e.updateBlock(n.body,a);if(p&&v){if(o.getNodeCheckFlags(n)&4096){e.addEmitHelper(g,e.advancedAsyncSuperHelper)}else if(o.getNodeCheckFlags(n)&2048){e.addEmitHelper(g,e.asyncSuperHelper)}}h=l;v=u;return g}function transformFunctionBody(t){r();var n=0;var a=[];var o=e.visitNode(t.body,visitor,e.isConciseBody);if(e.isBlock(o)){n=e.addPrologue(a,o.statements,false,visitor)}e.addRange(a,appendObjectRestAssignmentsIfNeeded(undefined,t));var s=i();if(n>0||e.some(a)||e.some(s)){var c=e.convertToFunctionBody(o,true);e.insertStatementsAfterStandardPrologue(a,s);e.addRange(a,c.statements.slice(n));return e.updateBlock(c,e.setTextRange(e.createNodeArray(a),c.statements))}return o}function appendObjectRestAssignmentsIfNeeded(r,n){for(var i=0,a=n.parameters;i=2){return e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),undefined,r)}t.requestEmitHelper(e.assignHelper);return e.createCall(e.getUnscopedHelperName("__assign"),undefined,r)}e.createAssignHelper=createAssignHelper;e.awaitHelper={name:"typescript:await",importName:"__await",scoped:false,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"};function createAwaitHelper(t,r){t.requestEmitHelper(e.awaitHelper);return e.createCall(e.getUnscopedHelperName("__await"),undefined,[r])}e.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:false,dependencies:[e.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'};function createAsyncGeneratorHelper(t,r,n){t.requestEmitHelper(e.asyncGeneratorHelper);(r.emitNode||(r.emitNode={})).flags|=262144|524288;return e.createCall(e.getUnscopedHelperName("__asyncGenerator"),undefined,[n?e.createThis():e.createVoidZero(),e.createIdentifier("arguments"),r])}e.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:false,dependencies:[e.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'};function createAsyncDelegatorHelper(t,r,n){t.requestEmitHelper(e.asyncDelegator);return e.setTextRange(e.createCall(e.getUnscopedHelperName("__asyncDelegator"),undefined,[r]),n)}e.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:false,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'};function createAsyncValuesHelper(t,r,n){t.requestEmitHelper(e.asyncValues);return e.setTextRange(e.createCall(e.getUnscopedHelperName("__asyncValues"),undefined,[r]),n)}})(l||(l={}));var l;(function(e){function transformES2019(t){return e.chainBundle(transformSourceFile);function transformSourceFile(r){if(r.isDeclarationFile){return r}return e.visitEachChild(r,visitor,t)}function visitor(r){if((r.transformFlags&16)===0){return r}switch(r.kind){case 280:return visitCatchClause(r);default:return e.visitEachChild(r,visitor,t)}}function visitCatchClause(r){if(!r.variableDeclaration){return e.updateCatchClause(r,e.createVariableDeclaration(e.createTempVariable(undefined)),e.visitNode(r.block,visitor,e.isBlock))}return e.visitEachChild(r,visitor,t)}}e.transformES2019=transformES2019})(l||(l={}));var l;(function(e){function transformES2020(t){var r=t.hoistVariableDeclaration;return e.chainBundle(transformSourceFile);function transformSourceFile(r){if(r.isDeclarationFile){return r}return e.visitEachChild(r,visitor,t)}function visitor(r){if((r.transformFlags&8)===0){return r}switch(r.kind){case 194:case 195:case 196:if(r.flags&32){var n=visitOptionalExpression(r,false,false);e.Debug.assertNotNode(n,e.isSyntheticReference);return n}return e.visitEachChild(r,visitor,t);case 209:if(r.operatorToken.kind===60){return transformNullishCoalescingExpression(r)}return e.visitEachChild(r,visitor,t);case 203:return visitDeleteExpression(r);default:return e.visitEachChild(r,visitor,t)}}function flattenChain(t){e.Debug.assertNotNode(t,e.isNonNullChain);var r=[t];while(!t.questionDotToken&&!e.isTaggedTemplateExpression(t)){t=e.cast(e.skipPartiallyEmittedExpressions(t.expression),e.isOptionalChain);e.Debug.assertNotNode(t,e.isNonNullChain);r.unshift(t)}return{expression:t.expression,chain:r}}function visitNonOptionalParenthesizedExpression(t,r,n){var i=visitNonOptionalExpression(t.expression,r,n);if(e.isSyntheticReference(i)){return e.createSyntheticReferenceExpression(e.updateParen(t,i.expression),i.thisArg)}return e.updateParen(t,i)}function visitNonOptionalPropertyOrElementAccessExpression(t,n,i){if(e.isOptionalChain(t)){return visitOptionalExpression(t,n,i)}var a=e.visitNode(t.expression,visitor,e.isExpression);e.Debug.assertNotNode(a,e.isSyntheticReference);var o;if(n){if(shouldCaptureInTempVariable(a)){o=e.createTempVariable(r);a=e.createAssignment(o,a)}else{o=a}}a=t.kind===194?e.updatePropertyAccess(t,a,e.visitNode(t.name,visitor,e.isIdentifier)):e.updateElementAccess(t,a,e.visitNode(t.argumentExpression,visitor,e.isExpression));return o?e.createSyntheticReferenceExpression(a,o):a}function visitNonOptionalCallExpression(r,n){if(e.isOptionalChain(r)){return visitOptionalExpression(r,n,false)}return e.visitEachChild(r,visitor,t)}function visitNonOptionalExpression(t,r,n){switch(t.kind){case 200:return visitNonOptionalParenthesizedExpression(t,r,n);case 194:case 195:return visitNonOptionalPropertyOrElementAccessExpression(t,r,n);case 196:return visitNonOptionalCallExpression(t,r);default:return e.visitNode(t,visitor,e.isExpression)}}function visitOptionalExpression(t,n,i){var a=flattenChain(t),o=a.expression,s=a.chain;var c=visitNonOptionalExpression(o,e.isCallChain(s[0]),false);var l=e.isSyntheticReference(c)?c.thisArg:undefined;var u=e.isSyntheticReference(c)?c.expression:c;var d=u;if(shouldCaptureInTempVariable(u)){d=e.createTempVariable(r);u=e.createAssignment(d,u)}var p=d;var f;for(var g=0;g0){e.insertStatementAfterCustomPrologue(r,e.setEmitFlags(e.createVariableStatement(undefined,e.createVariableDeclarationList(e.flattenDestructuringBinding(n,visitor,t,0,e.getGeneratedNameForNode(n)))),1048576));return true}else if(a){e.insertStatementAfterCustomPrologue(r,e.setEmitFlags(e.createExpressionStatement(e.createAssignment(e.getGeneratedNameForNode(n),e.visitNode(a,visitor,e.isExpression))),1048576));return true}return false}function insertDefaultValueAssignmentForInitializer(t,r,n,i){i=e.visitNode(i,visitor,e.isExpression);var a=e.createIf(e.createTypeCheck(e.getSynthesizedClone(n),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createExpressionStatement(e.setEmitFlags(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(n),48),e.setEmitFlags(i,48|e.getEmitFlags(i)|1536)),r),1536))]),r),1|32|384|1536));e.startOnNewLine(a);e.setTextRange(a,r);e.setEmitFlags(a,384|32|1048576|1536);e.insertStatementAfterCustomPrologue(t,a)}function shouldAddRestParameter(e,t){return!!(e&&e.dotDotDotToken&&!t)}function addRestParameterIfNeeded(r,n,i){var a=[];var o=e.lastOrUndefined(n.parameters);if(!shouldAddRestParameter(o,i)){return false}var s=o.name.kind===75?e.getMutableClone(o.name):e.createTempVariable(undefined);e.setEmitFlags(s,48);var c=o.name.kind===75?e.getSynthesizedClone(o.name):s;var l=n.parameters.length-1;var u=e.createLoopVariable();a.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(s,undefined,e.createArrayLiteral([]))])),o),1048576));var d=e.createFor(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(u,undefined,e.createLiteral(l))]),o),e.setTextRange(e.createLessThan(u,e.createPropertyAccess(e.createIdentifier("arguments"),"length")),o),e.setTextRange(e.createPostfixIncrement(u),o),e.createBlock([e.startOnNewLine(e.setTextRange(e.createExpressionStatement(e.createAssignment(e.createElementAccess(c,l===0?u:e.createSubtract(u,e.createLiteral(l))),e.createElementAccess(e.createIdentifier("arguments"),u))),o))]));e.setEmitFlags(d,1048576);e.startOnNewLine(d);a.push(d);if(o.name.kind!==75){a.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(undefined,e.createVariableDeclarationList(e.flattenDestructuringBinding(o,visitor,t,0,c))),o),1048576))}e.insertStatementsAfterCustomPrologue(r,a);return true}function insertCaptureThisForNodeIfNeeded(t,r){if(f&32768&&r.kind!==202){insertCaptureThisForNode(t,r,e.createThis());return true}return false}function insertCaptureThisForNode(t,r,n){enableSubstitutionsForCapturedThis();var i=e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_this"),undefined,n)]));e.setEmitFlags(i,1536|1048576);e.setSourceMapRange(i,r);e.insertStatementAfterCustomPrologue(t,i)}function insertCaptureNewTargetIfNeeded(t,r,n){if(f&16384){var i=void 0;switch(r.kind){case 202:return t;case 161:case 163:case 164:i=e.createVoidZero();break;case 162:i=e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor");break;case 244:case 201:i=e.createConditional(e.createLogicalAnd(e.setEmitFlags(e.createThis(),4),e.createBinary(e.setEmitFlags(e.createThis(),4),98,e.getLocalName(r))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(r)}var a=e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_newTarget"),undefined,i)]));e.setEmitFlags(a,1536|1048576);if(n){t=t.slice()}e.insertStatementAfterCustomPrologue(t,a)}return t}function addClassMembers(t,r){for(var n=0,i=r.members;n=t.end){return false}var i=e.getEnclosingBlockScopeContainer(t);while(n){if(n===i||n===t){return false}if(e.isClassElement(n)&&n.parent===t){return true}n=n.parent}return false}function substituteThisKeyword(t){if(_&1&&f&16){return e.setTextRange(e.createFileLevelUniqueName("_this"),t)}return t}function getClassMemberPrefix(t,r){return e.hasModifier(r,32)?e.getInternalName(t):e.createPropertyAccess(e.getInternalName(t),"prototype")}function hasSynthesizedDefaultSuperCall(t,r){if(!t||!r){return false}if(e.some(t.parameters)){return false}var n=e.firstOrUndefined(t.body.statements);if(!n||!e.nodeIsSynthesized(n)||n.kind!==226){return false}var i=n.expression;if(!e.nodeIsSynthesized(i)||i.kind!==196){return false}var a=i.expression;if(!e.nodeIsSynthesized(a)||a.kind!==102){return false}var o=e.singleOrUndefined(i.arguments);if(!o||!e.nodeIsSynthesized(o)||o.kind!==213){return false}var s=o.expression;return e.isIdentifier(s)&&s.escapedText==="arguments"}}e.transformES2015=transformES2015;function createExtendsHelper(t,r){t.requestEmitHelper(e.extendsHelper);return e.createCall(e.getUnscopedHelperName("__extends"),undefined,[r,e.createFileLevelUniqueName("_super")])}e.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:false,priority:0,text:"\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"}})(l||(l={}));var l;(function(e){function transformES5(t){var r=t.getCompilerOptions();var n;var i;if(r.jsx===1||r.jsx===3){n=t.onEmitNode;t.onEmitNode=onEmitNode;t.enableEmitNotification(268);t.enableEmitNotification(269);t.enableEmitNotification(267);i=[]}var a=t.onSubstituteNode;t.onSubstituteNode=onSubstituteNode;t.enableSubstitution(194);t.enableSubstitution(281);return e.chainBundle(transformSourceFile);function transformSourceFile(e){return e}function onEmitNode(t,r,a){switch(r.kind){case 268:case 269:case 267:var o=r.tagName;i[e.getOriginalNodeId(o)]=true;break}n(t,r,a)}function onSubstituteNode(t,r){if(r.id&&i&&i[r.id]){return a(t,r)}r=a(t,r);if(e.isPropertyAccessExpression(r)){return substitutePropertyAccessExpression(r)}else if(e.isPropertyAssignment(r)){return substitutePropertyAssignment(r)}return r}function substitutePropertyAccessExpression(t){if(e.isPrivateIdentifier(t.name)){return t}var r=trySubstituteReservedName(t.name);if(r){return e.setTextRange(e.createElementAccess(t.expression,r),t)}return t}function substitutePropertyAssignment(t){var r=e.isIdentifier(t.name)&&trySubstituteReservedName(t.name);if(r){return e.updatePropertyAssignment(t,r,t.initializer)}return t}function trySubstituteReservedName(t){var r=t.originalKeywordKind||(e.nodeIsSynthesized(t)?e.stringToToken(e.idText(t)):undefined);if(r!==undefined&&r>=77&&r<=112){return e.setTextRange(e.createLiteral(t),t)}return undefined}}e.transformES5=transformES5})(l||(l={}));var l;(function(e){var t;(function(e){e[e["Nop"]=0]="Nop";e[e["Statement"]=1]="Statement";e[e["Assign"]=2]="Assign";e[e["Break"]=3]="Break";e[e["BreakWhenTrue"]=4]="BreakWhenTrue";e[e["BreakWhenFalse"]=5]="BreakWhenFalse";e[e["Yield"]=6]="Yield";e[e["YieldStar"]=7]="YieldStar";e[e["Return"]=8]="Return";e[e["Throw"]=9]="Throw";e[e["Endfinally"]=10]="Endfinally"})(t||(t={}));var r;(function(e){e[e["Open"]=0]="Open";e[e["Close"]=1]="Close"})(r||(r={}));var i;(function(e){e[e["Exception"]=0]="Exception";e[e["With"]=1]="With";e[e["Switch"]=2]="Switch";e[e["Loop"]=3]="Loop";e[e["Labeled"]=4]="Labeled"})(i||(i={}));var a;(function(e){e[e["Try"]=0]="Try";e[e["Catch"]=1]="Catch";e[e["Finally"]=2]="Finally";e[e["Done"]=3]="Done"})(a||(a={}));var o;(function(e){e[e["Next"]=0]="Next";e[e["Throw"]=1]="Throw";e[e["Return"]=2]="Return";e[e["Break"]=3]="Break";e[e["Yield"]=4]="Yield";e[e["YieldStar"]=5]="YieldStar";e[e["Catch"]=6]="Catch";e[e["Endfinally"]=7]="Endfinally"})(o||(o={}));function getInstructionName(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return undefined}}function transformGenerators(t){var r=t.resumeLexicalEnvironment,i=t.endLexicalEnvironment,a=t.hoistFunctionDeclaration,o=t.hoistVariableDeclaration;var s=t.getCompilerOptions();var c=e.getEmitScriptTarget(s);var l=t.getEmitResolver();var u=t.onSubstituteNode;t.onSubstituteNode=onSubstituteNode;var d;var p;var f;var g;var m;var _;var y;var h;var v;var T;var b=1;var S;var x;var D;var C;var E=0;var N=0;var k;var A;var F;var P;var O;var I;var w;var M;return e.chainBundle(transformSourceFile);function transformSourceFile(r){if(r.isDeclarationFile||(r.transformFlags&512)===0){return r}var n=e.visitEachChild(r,visitor,t);e.addEmitHelpers(n,t.readEmitHelpers());return n}function visitor(r){var n=r.transformFlags;if(g){return visitJavaScriptInStatementContainingYield(r)}else if(f){return visitJavaScriptInGeneratorFunctionBody(r)}else if(e.isFunctionLikeDeclaration(r)&&r.asteriskToken){return visitGenerator(r)}else if(n&512){return e.visitEachChild(r,visitor,t)}else{return r}}function visitJavaScriptInStatementContainingYield(e){switch(e.kind){case 228:return visitDoStatement(e);case 229:return visitWhileStatement(e);case 237:return visitSwitchStatement(e);case 238:return visitLabeledStatement(e);default:return visitJavaScriptInGeneratorFunctionBody(e)}}function visitJavaScriptInGeneratorFunctionBody(r){switch(r.kind){case 244:return visitFunctionDeclaration(r);case 201:return visitFunctionExpression(r);case 163:case 164:return visitAccessorDeclaration(r);case 225:return visitVariableStatement(r);case 230:return visitForStatement(r);case 231:return visitForInStatement(r);case 234:return visitBreakStatement(r);case 233:return visitContinueStatement(r);case 235:return visitReturnStatement(r);default:if(r.transformFlags&262144){return visitJavaScriptContainingYield(r)}else if(r.transformFlags&(512|1048576)){return e.visitEachChild(r,visitor,t)}else{return r}}}function visitJavaScriptContainingYield(r){switch(r.kind){case 209:return visitBinaryExpression(r);case 210:return visitConditionalExpression(r);case 212:return visitYieldExpression(r);case 192:return visitArrayLiteralExpression(r);case 193:return visitObjectLiteralExpression(r);case 195:return visitElementAccessExpression(r);case 196:return visitCallExpression(r);case 197:return visitNewExpression(r);default:return e.visitEachChild(r,visitor,t)}}function visitGenerator(t){switch(t.kind){case 244:return visitFunctionDeclaration(t);case 201:return visitFunctionExpression(t);default:return e.Debug.failBadSyntaxKind(t)}}function visitFunctionDeclaration(r){if(r.asteriskToken){r=e.setOriginalNode(e.setTextRange(e.createFunctionDeclaration(undefined,r.modifiers,undefined,r.name,undefined,e.visitParameterList(r.parameters,visitor,t),undefined,transformGeneratorFunctionBody(r.body)),r),r)}else{var n=f;var i=g;f=false;g=false;r=e.visitEachChild(r,visitor,t);f=n;g=i}if(f){a(r);return undefined}else{return r}}function visitFunctionExpression(r){if(r.asteriskToken){r=e.setOriginalNode(e.setTextRange(e.createFunctionExpression(undefined,undefined,r.name,undefined,e.visitParameterList(r.parameters,visitor,t),undefined,transformGeneratorFunctionBody(r.body)),r),r)}else{var n=f;var i=g;f=false;g=false;r=e.visitEachChild(r,visitor,t);f=n;g=i}return r}function visitAccessorDeclaration(r){var n=f;var i=g;f=false;g=false;r=e.visitEachChild(r,visitor,t);f=n;g=i;return r}function transformGeneratorFunctionBody(t){var n=[];var a=f;var o=g;var s=m;var c=_;var l=y;var u=h;var d=v;var p=T;var E=b;var N=S;var k=x;var A=D;var F=C;f=true;g=false;m=undefined;_=undefined;y=undefined;h=undefined;v=undefined;T=undefined;b=1;S=undefined;x=undefined;D=undefined;C=e.createTempVariable(undefined);r();var P=e.addPrologue(n,t.statements,false,visitor);transformAndEmitStatements(t.statements,P);var O=build();e.insertStatementsAfterStandardPrologue(n,i());n.push(e.createReturn(O));f=a;g=o;m=s;_=c;y=l;h=u;v=d;T=p;b=E;S=N;x=k;D=A;C=F;return e.setTextRange(e.createBlock(n,t.multiLine),t)}function visitVariableStatement(t){if(t.transformFlags&262144){transformAndEmitVariableDeclarationList(t.declarationList);return undefined}else{if(e.getEmitFlags(t)&1048576){return t}for(var r=0,n=t.declarationList.declarations;r0){emitWorker(1,[e.createExpressionStatement(e.inlineExpressions(r))]);r=[]}r.push(e.visitNode(t,visitor,e.isExpression))}}}function visitConditionalExpression(r){if(containsYield(r.whenTrue)||containsYield(r.whenFalse)){var n=defineLabel();var i=defineLabel();var a=declareLocal();emitBreakWhenFalse(n,e.visitNode(r.condition,visitor,e.isExpression),r.condition);emitAssignment(a,e.visitNode(r.whenTrue,visitor,e.isExpression),r.whenTrue);emitBreak(i);markLabel(n);emitAssignment(a,e.visitNode(r.whenFalse,visitor,e.isExpression),r.whenFalse);markLabel(i);return a}return e.visitEachChild(r,visitor,t)}function visitYieldExpression(r){var n=defineLabel();var i=e.visitNode(r.expression,visitor,e.isExpression);if(r.asteriskToken){var a=(e.getEmitFlags(r.expression)&8388608)===0?e.createValuesHelper(t,i,r):i;emitYieldStar(a,r)}else{emitYield(i,r)}markLabel(n);return createGeneratorResume(r)}function visitArrayLiteralExpression(e){return visitElements(e.elements,undefined,undefined,e.multiLine)}function visitElements(t,r,i,a){var o=countInitialNodesWithoutYield(t);var s;if(o>0){s=declareLocal();var c=e.visitNodes(t,visitor,e.isExpression,0,o);emitAssignment(s,e.createArrayLiteral(r?n([r],c):c));r=undefined}var l=e.reduceLeft(t,reduceElement,[],o);return s?e.createArrayConcat(s,[e.createArrayLiteral(l,a)]):e.setTextRange(e.createArrayLiteral(r?n([r],l):l,a),i);function reduceElement(t,i){if(containsYield(i)&&t.length>0){var o=s!==undefined;if(!s){s=declareLocal()}emitAssignment(s,o?e.createArrayConcat(s,[e.createArrayLiteral(t,a)]):e.createArrayLiteral(r?n([r],t):t,a));r=undefined;t=[]}t.push(e.visitNode(i,visitor,e.isExpression));return t}}function visitObjectLiteralExpression(t){var r=t.properties;var n=t.multiLine;var i=countInitialNodesWithoutYield(r);var a=declareLocal();emitAssignment(a,e.createObjectLiteral(e.visitNodes(r,visitor,e.isObjectLiteralElementLike,0,i),n));var o=e.reduceLeft(r,reduceProperty,[],i);o.push(n?e.startOnNewLine(e.getMutableClone(a)):a);return e.inlineExpressions(o);function reduceProperty(r,i){if(containsYield(i)&&r.length>0){emitStatement(e.createExpressionStatement(e.inlineExpressions(r)));r=[]}var o=e.createExpressionForObjectLiteralElementLike(t,i,a);var s=e.visitNode(o,visitor,e.isExpression);if(s){if(n){e.startOnNewLine(s)}r.push(s)}return r}}function visitElementAccessExpression(r){if(containsYield(r.argumentExpression)){var n=e.getMutableClone(r);n.expression=cacheExpression(e.visitNode(r.expression,visitor,e.isLeftHandSideExpression));n.argumentExpression=e.visitNode(r.argumentExpression,visitor,e.isExpression);return n}return e.visitEachChild(r,visitor,t)}function visitCallExpression(r){if(!e.isImportCall(r)&&e.forEach(r.arguments,containsYield)){var n=e.createCallBinding(r.expression,o,c,true),i=n.target,a=n.thisArg;return e.setOriginalNode(e.createFunctionApply(cacheExpression(e.visitNode(i,visitor,e.isLeftHandSideExpression)),a,visitElements(r.arguments),r),r)}return e.visitEachChild(r,visitor,t)}function visitNewExpression(r){if(e.forEach(r.arguments,containsYield)){var n=e.createCallBinding(e.createPropertyAccess(r.expression,"bind"),o),i=n.target,a=n.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(cacheExpression(e.visitNode(i,visitor,e.isExpression)),a,visitElements(r.arguments,e.createVoidZero())),undefined,[]),r),r)}return e.visitEachChild(r,visitor,t)}function transformAndEmitStatements(e,t){if(t===void 0){t=0}var r=e.length;for(var n=t;n0){break}u.push(transformInitializedVariable(i))}if(u.length){emitStatement(e.createExpressionStatement(e.inlineExpressions(u)));l+=u.length;u=[]}}return undefined}function transformInitializedVariable(t){return e.setSourceMapRange(e.createAssignment(e.setSourceMapRange(e.getSynthesizedClone(t.name),t.name),e.visitNode(t.initializer,visitor,e.isExpression)),t)}function transformAndEmitIfStatement(t){if(containsYield(t)){if(containsYield(t.thenStatement)||containsYield(t.elseStatement)){var r=defineLabel();var n=t.elseStatement?defineLabel():undefined;emitBreakWhenFalse(t.elseStatement?n:r,e.visitNode(t.expression,visitor,e.isExpression),t.expression);transformAndEmitEmbeddedStatement(t.thenStatement);if(t.elseStatement){emitBreak(r);markLabel(n);transformAndEmitEmbeddedStatement(t.elseStatement)}markLabel(r)}else{emitStatement(e.visitNode(t,visitor,e.isStatement))}}else{emitStatement(e.visitNode(t,visitor,e.isStatement))}}function transformAndEmitDoStatement(t){if(containsYield(t)){var r=defineLabel();var n=defineLabel();beginLoopBlock(r);markLabel(n);transformAndEmitEmbeddedStatement(t.statement);markLabel(r);emitBreakWhenTrue(n,e.visitNode(t.expression,visitor,e.isExpression));endLoopBlock()}else{emitStatement(e.visitNode(t,visitor,e.isStatement))}}function visitDoStatement(r){if(g){beginScriptLoopBlock();r=e.visitEachChild(r,visitor,t);endLoopBlock();return r}else{return e.visitEachChild(r,visitor,t)}}function transformAndEmitWhileStatement(t){if(containsYield(t)){var r=defineLabel();var n=beginLoopBlock(r);markLabel(r);emitBreakWhenFalse(n,e.visitNode(t.expression,visitor,e.isExpression));transformAndEmitEmbeddedStatement(t.statement);emitBreak(r);endLoopBlock()}else{emitStatement(e.visitNode(t,visitor,e.isStatement))}}function visitWhileStatement(r){if(g){beginScriptLoopBlock();r=e.visitEachChild(r,visitor,t);endLoopBlock();return r}else{return e.visitEachChild(r,visitor,t)}}function transformAndEmitForStatement(t){if(containsYield(t)){var r=defineLabel();var n=defineLabel();var i=beginLoopBlock(n);if(t.initializer){var a=t.initializer;if(e.isVariableDeclarationList(a)){transformAndEmitVariableDeclarationList(a)}else{emitStatement(e.setTextRange(e.createExpressionStatement(e.visitNode(a,visitor,e.isExpression)),a))}}markLabel(r);if(t.condition){emitBreakWhenFalse(i,e.visitNode(t.condition,visitor,e.isExpression))}transformAndEmitEmbeddedStatement(t.statement);markLabel(n);if(t.incrementor){emitStatement(e.setTextRange(e.createExpressionStatement(e.visitNode(t.incrementor,visitor,e.isExpression)),t.incrementor))}emitBreak(r);endLoopBlock()}else{emitStatement(e.visitNode(t,visitor,e.isStatement))}}function visitForStatement(r){if(g){beginScriptLoopBlock()}var n=r.initializer;if(n&&e.isVariableDeclarationList(n)){for(var i=0,a=n.declarations;i0?e.inlineExpressions(e.map(c,transformInitializedVariable)):undefined,e.visitNode(r.condition,visitor,e.isExpression),e.visitNode(r.incrementor,visitor,e.isExpression),e.visitNode(r.statement,visitor,e.isStatement,e.liftToBlock))}else{r=e.visitEachChild(r,visitor,t)}if(g){endLoopBlock()}return r}function transformAndEmitForInStatement(t){if(containsYield(t)){var r=declareLocal();var n=declareLocal();var i=e.createLoopVariable();var a=t.initializer;o(i);emitAssignment(r,e.createArrayLiteral());emitStatement(e.createForIn(n,e.visitNode(t.expression,visitor,e.isExpression),e.createExpressionStatement(e.createCall(e.createPropertyAccess(r,"push"),undefined,[n]))));emitAssignment(i,e.createLiteral(0));var s=defineLabel();var c=defineLabel();var l=beginLoopBlock(c);markLabel(s);emitBreakWhenFalse(l,e.createLessThan(i,e.createPropertyAccess(r,"length")));var u=void 0;if(e.isVariableDeclarationList(a)){for(var d=0,p=a.declarations;d0){emitBreak(r,t)}else{emitStatement(t)}}function visitContinueStatement(r){if(g){var n=findContinueTarget(r.label&&e.idText(r.label));if(n>0){return createInlineBreak(n,r)}}return e.visitEachChild(r,visitor,t)}function transformAndEmitBreakStatement(t){var r=findBreakTarget(t.label?e.idText(t.label):undefined);if(r>0){emitBreak(r,t)}else{emitStatement(t)}}function visitBreakStatement(r){if(g){var n=findBreakTarget(r.label&&e.idText(r.label));if(n>0){return createInlineBreak(n,r)}}return e.visitEachChild(r,visitor,t)}function transformAndEmitReturnStatement(t){emitReturn(e.visitNode(t.expression,visitor,e.isExpression),t)}function visitReturnStatement(t){return createInlineReturn(e.visitNode(t.expression,visitor,e.isExpression),t)}function transformAndEmitWithStatement(t){if(containsYield(t)){beginWithBlock(cacheExpression(e.visitNode(t.expression,visitor,e.isExpression)));transformAndEmitEmbeddedStatement(t.statement);endWithBlock()}else{emitStatement(e.visitNode(t,visitor,e.isStatement))}}function transformAndEmitSwitchStatement(t){if(containsYield(t.caseBlock)){var r=t.caseBlock;var n=r.clauses.length;var i=beginSwitchBlock();var a=cacheExpression(e.visitNode(t.expression,visitor,e.isExpression));var o=[];var s=-1;for(var c=0;c0){break}d.push(e.createCaseClause(e.visitNode(l.expression,visitor,e.isExpression),[createInlineBreak(o[c],l.expression)]))}else{p++}}if(d.length){emitStatement(e.createSwitch(a,e.createCaseBlock(d)));u+=d.length;d=[]}if(p>0){u+=p;p=0}}if(s>=0){emitBreak(o[s])}else{emitBreak(i)}for(var c=0;c=0;r--){var n=h[r];if(supportsLabeledBreakOrContinue(n)){if(n.labelText===e){return true}}else{break}}return false}function findBreakTarget(e){if(h){if(e){for(var t=h.length-1;t>=0;t--){var r=h[t];if(supportsLabeledBreakOrContinue(r)&&r.labelText===e){return r.breakLabel}else if(supportsUnlabeledBreak(r)&&hasImmediateContainingLabeledBlock(e,t-1)){return r.breakLabel}}}else{for(var t=h.length-1;t>=0;t--){var r=h[t];if(supportsUnlabeledBreak(r)){return r.breakLabel}}}}return 0}function findContinueTarget(e){if(h){if(e){for(var t=h.length-1;t>=0;t--){var r=h[t];if(supportsUnlabeledContinue(r)&&hasImmediateContainingLabeledBlock(e,t-1)){return r.continueLabel}}}else{for(var t=h.length-1;t>=0;t--){var r=h[t];if(supportsUnlabeledContinue(r)){return r.continueLabel}}}}return 0}function createLabel(t){if(t!==undefined&&t>0){if(T===undefined){T=[]}var r=e.createLiteral(-1);if(T[t]===undefined){T[t]=[r]}else{T[t].push(r)}return r}return e.createOmittedExpression()}function createInstruction(t){var r=e.createLiteral(t);e.addSyntheticTrailingComment(r,3,getInstructionName(t));return r}function createInlineBreak(t,r){e.Debug.assertLessThan(0,t,"Invalid label");return e.setTextRange(e.createReturn(e.createArrayLiteral([createInstruction(3),createLabel(t)])),r)}function createInlineReturn(t,r){return e.setTextRange(e.createReturn(e.createArrayLiteral(t?[createInstruction(2),t]:[createInstruction(2)])),r)}function createGeneratorResume(t){return e.setTextRange(e.createCall(e.createPropertyAccess(C,"sent"),undefined,[]),t)}function emitNop(){emitWorker(0)}function emitStatement(e){if(e){emitWorker(1,[e])}else{emitNop()}}function emitAssignment(e,t,r){emitWorker(2,[e,t],r)}function emitBreak(e,t){emitWorker(3,[e],t)}function emitBreakWhenTrue(e,t,r){emitWorker(4,[e,t],r)}function emitBreakWhenFalse(e,t,r){emitWorker(5,[e,t],r)}function emitYieldStar(e,t){emitWorker(7,[e],t)}function emitYield(e,t){emitWorker(6,[e],t)}function emitReturn(e,t){emitWorker(8,[e],t)}function emitThrow(e,t){emitWorker(9,[e],t)}function emitEndfinally(){emitWorker(10)}function emitWorker(e,t,r){if(S===undefined){S=[];x=[];D=[]}if(v===undefined){markLabel(defineLabel())}var n=S.length;S[n]=e;x[n]=t;D[n]=r}function build(){E=0;N=0;k=undefined;A=false;F=false;P=undefined;O=undefined;I=undefined;w=undefined;M=undefined;var r=buildStatements();return createGeneratorHelper(t,e.setEmitFlags(e.createFunctionExpression(undefined,undefined,undefined,undefined,[e.createParameter(undefined,undefined,undefined,C)],undefined,e.createBlock(r,r.length>0)),524288))}function buildStatements(){if(S){for(var t=0;t=0;r--){var n=M[r];O=[e.createWith(n.expression,e.createBlock(O))]}}if(w){var i=w.startLabel,a=w.catchLabel,o=w.finallyLabel,s=w.endLabel;O.unshift(e.createExpressionStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(C,"trys"),"push"),undefined,[e.createArrayLiteral([createLabel(i),createLabel(a),createLabel(o),createLabel(s)])])));w=undefined}if(t){O.push(e.createExpressionStatement(e.createAssignment(e.createPropertyAccess(C,"label"),e.createLiteral(N+1))))}}P.push(e.createCaseClause(e.createLiteral(N),O||[]));O=undefined}function tryEnterLabel(e){if(!v){return}for(var t=0;t 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'}})(l||(l={}));var l;(function(e){function transformModule(t){function getTransformModuleDelegate(t){switch(t){case e.ModuleKind.AMD:return transformAMDModule;case e.ModuleKind.UMD:return transformUMDModule;default:return transformCommonJSModule}}var i=t.startLexicalEnvironment,a=t.endLexicalEnvironment,o=t.hoistVariableDeclaration;var s=t.getCompilerOptions();var c=t.getEmitResolver();var l=t.getEmitHost();var u=e.getEmitScriptTarget(s);var d=e.getEmitModuleKind(s);var p=t.onSubstituteNode;var f=t.onEmitNode;t.onSubstituteNode=onSubstituteNode;t.onEmitNode=onEmitNode;t.enableSubstitution(75);t.enableSubstitution(209);t.enableSubstitution(207);t.enableSubstitution(208);t.enableSubstitution(282);t.enableEmitNotification(290);var g=[];var m=[];var _;var y;var h;var v;return e.chainBundle(transformSourceFile);function transformSourceFile(t){if(t.isDeclarationFile||!(e.isEffectiveExternalModule(t,s)||t.transformFlags&2097152||e.isJsonSourceFile(t)&&e.hasJsonModuleEmitEnabled(s)&&(s.out||s.outFile))){return t}_=t;y=e.collectExternalModuleInfo(t,c,s);g[e.getOriginalNodeId(t)]=y;var r=getTransformModuleDelegate(d);var n=r(t);_=undefined;y=undefined;v=false;return e.aggregateTransformFlags(n)}function shouldEmitUnderscoreUnderscoreESModule(){if(!y.exportEquals&&e.isExternalModule(_)){return true}return false}function transformCommonJSModule(r){i();var n=[];var o=e.getStrictOptionValue(s,"alwaysStrict")||!s.noImplicitUseStrict&&e.isExternalModule(_);var c=e.addPrologue(n,r.statements,o&&!e.isJsonSourceFile(r),sourceElementVisitor);if(shouldEmitUnderscoreUnderscoreESModule()){e.append(n,createUnderscoreUnderscoreESModule())}if(e.length(y.exportedNames)){e.append(n,e.createExpressionStatement(e.reduceLeft(y.exportedNames,(function(t,r){return e.createAssignment(e.createPropertyAccess(e.createIdentifier("exports"),e.createIdentifier(e.idText(r))),t)}),e.createVoidZero())))}e.append(n,e.visitNode(y.externalHelpersImportDeclaration,sourceElementVisitor,e.isStatement));e.addRange(n,e.visitNodes(r.statements,sourceElementVisitor,e.isStatement,c));addExportEqualsIfNeeded(n,false);e.insertStatementsAfterStandardPrologue(n,a());var l=e.updateSourceFileNode(r,e.setTextRange(e.createNodeArray(n),r.statements));e.addEmitHelpers(l,t.readEmitHelpers());return l}function transformAMDModule(r){var i=e.createIdentifier("define");var a=e.tryGetModuleNameFromFile(r,l,s);var o=e.isJsonSourceFile(r)&&r;var c=collectAsynchronousDependencies(r,true),u=c.aliasedModuleNames,d=c.unaliasedModuleNames,p=c.importAliasNames;var f=e.updateSourceFileNode(r,e.setTextRange(e.createNodeArray([e.createExpressionStatement(e.createCall(i,undefined,n(a?[a]:[],[e.createArrayLiteral(o?e.emptyArray:n([e.createLiteral("require"),e.createLiteral("exports")],u,d)),o?o.statements.length?o.statements[0].expression:e.createObjectLiteral():e.createFunctionExpression(undefined,undefined,undefined,undefined,n([e.createParameter(undefined,undefined,undefined,"require"),e.createParameter(undefined,undefined,undefined,"exports")],p),undefined,transformAsynchronousModuleBody(r))])))]),r.statements));e.addEmitHelpers(f,t.readEmitHelpers());return f}function transformUMDModule(r){var i=collectAsynchronousDependencies(r,false),a=i.aliasedModuleNames,o=i.unaliasedModuleNames,c=i.importAliasNames;var u=e.tryGetModuleNameFromFile(r,l,s);var d=e.createFunctionExpression(undefined,undefined,undefined,undefined,[e.createParameter(undefined,undefined,undefined,"factory")],undefined,e.setTextRange(e.createBlock([e.createIf(e.createLogicalAnd(e.createTypeCheck(e.createIdentifier("module"),"object"),e.createTypeCheck(e.createPropertyAccess(e.createIdentifier("module"),"exports"),"object")),e.createBlock([e.createVariableStatement(undefined,[e.createVariableDeclaration("v",undefined,e.createCall(e.createIdentifier("factory"),undefined,[e.createIdentifier("require"),e.createIdentifier("exports")]))]),e.setEmitFlags(e.createIf(e.createStrictInequality(e.createIdentifier("v"),e.createIdentifier("undefined")),e.createExpressionStatement(e.createAssignment(e.createPropertyAccess(e.createIdentifier("module"),"exports"),e.createIdentifier("v")))),1)]),e.createIf(e.createLogicalAnd(e.createTypeCheck(e.createIdentifier("define"),"function"),e.createPropertyAccess(e.createIdentifier("define"),"amd")),e.createBlock([e.createExpressionStatement(e.createCall(e.createIdentifier("define"),undefined,n(u?[u]:[],[e.createArrayLiteral(n([e.createLiteral("require"),e.createLiteral("exports")],a,o)),e.createIdentifier("factory")])))])))],true),undefined));var p=e.updateSourceFileNode(r,e.setTextRange(e.createNodeArray([e.createExpressionStatement(e.createCall(d,undefined,[e.createFunctionExpression(undefined,undefined,undefined,undefined,n([e.createParameter(undefined,undefined,undefined,"require"),e.createParameter(undefined,undefined,undefined,"exports")],c),undefined,transformAsynchronousModuleBody(r))]))]),r.statements));e.addEmitHelpers(p,t.readEmitHelpers());return p}function collectAsynchronousDependencies(t,r){var n=[];var i=[];var a=[];for(var o=0,u=t.amdDependencies;o(e.isExportName(t)?1:0)}return false}function visitDestructuringAssignment(r){if(destructuringNeedsFlattening(r.left)){return e.flattenDestructuringAssignment(r,moduleExpressionElementVisitor,t,0,false,createAllExportExpressions)}return e.visitEachChild(r,moduleExpressionElementVisitor,t)}function visitImportCallExpression(t){var r=e.visitNode(e.firstOrUndefined(t.arguments),moduleExpressionElementVisitor);var n=!!(t.transformFlags&4096);switch(s.module){case e.ModuleKind.AMD:return createImportCallExpressionAMD(r,n);case e.ModuleKind.UMD:return createImportCallExpressionUMD(r,n);case e.ModuleKind.CommonJS:default:return createImportCallExpressionCommonJS(r,n)}}function createImportCallExpressionUMD(t,r){v=true;if(e.isSimpleCopiableExpression(t)){var n=e.isGeneratedIdentifier(t)?t:e.isStringLiteral(t)?e.createLiteral(t):e.setEmitFlags(e.setTextRange(e.getSynthesizedClone(t),t),1536);return e.createConditional(e.createIdentifier("__syncRequire"),createImportCallExpressionCommonJS(t,r),createImportCallExpressionAMD(n,r))}else{var i=e.createTempVariable(o);return e.createComma(e.createAssignment(i,t),e.createConditional(e.createIdentifier("__syncRequire"),createImportCallExpressionCommonJS(i,r),createImportCallExpressionAMD(i,r)))}}function createImportCallExpressionAMD(r,n){var i=e.createUniqueName("resolve");var a=e.createUniqueName("reject");var o=[e.createParameter(undefined,undefined,undefined,i),e.createParameter(undefined,undefined,undefined,a)];var c=e.createBlock([e.createExpressionStatement(e.createCall(e.createIdentifier("require"),undefined,[e.createArrayLiteral([r||e.createOmittedExpression()]),i,a]))]);var l;if(u>=2){l=e.createArrowFunction(undefined,undefined,o,undefined,undefined,c)}else{l=e.createFunctionExpression(undefined,undefined,undefined,undefined,o,undefined,c);if(n){e.setEmitFlags(l,8)}}var d=e.createNew(e.createIdentifier("Promise"),undefined,[l]);if(s.esModuleInterop){t.requestEmitHelper(e.importStarHelper);return e.createCall(e.createPropertyAccess(d,e.createIdentifier("then")),undefined,[e.getUnscopedHelperName("__importStar")])}return d}function createImportCallExpressionCommonJS(r,n){var i=e.createCall(e.createPropertyAccess(e.createIdentifier("Promise"),"resolve"),undefined,[]);var a=e.createCall(e.createIdentifier("require"),undefined,r?[r]:[]);if(s.esModuleInterop){t.requestEmitHelper(e.importStarHelper);a=e.createCall(e.getUnscopedHelperName("__importStar"),undefined,[a])}var o;if(u>=2){o=e.createArrowFunction(undefined,undefined,[],undefined,undefined,a)}else{o=e.createFunctionExpression(undefined,undefined,undefined,undefined,[],undefined,e.createBlock([e.createReturn(a)]));if(n){e.setEmitFlags(o,8)}}return e.createCall(e.createPropertyAccess(i,"then"),undefined,[o])}function getHelperExpressionForExport(r,n){if(!s.esModuleInterop||e.getEmitFlags(r)&67108864){return n}if(e.getExportNeedsImportStarHelper(r)){t.requestEmitHelper(e.importStarHelper);return e.createCall(e.getUnscopedHelperName("__importStar"),undefined,[n])}return n}function getHelperExpressionForImport(r,n){if(!s.esModuleInterop||e.getEmitFlags(r)&67108864){return n}if(e.getImportNeedsImportStarHelper(r)){t.requestEmitHelper(e.importStarHelper);return e.createCall(e.getUnscopedHelperName("__importStar"),undefined,[n])}if(e.getImportNeedsImportDefaultHelper(r)){t.requestEmitHelper(e.importDefaultHelper);return e.createCall(e.getUnscopedHelperName("__importDefault"),undefined,[n])}return n}function visitImportDeclaration(t){var r;var n=e.getNamespaceDeclarationNode(t);if(d!==e.ModuleKind.AMD){if(!t.importClause){return e.setOriginalNode(e.setTextRange(e.createExpressionStatement(createRequireCall(t)),t),t)}else{var i=[];if(n&&!e.isDefaultImport(t)){i.push(e.createVariableDeclaration(e.getSynthesizedClone(n.name),undefined,getHelperExpressionForImport(t,createRequireCall(t))))}else{i.push(e.createVariableDeclaration(e.getGeneratedNameForNode(t),undefined,getHelperExpressionForImport(t,createRequireCall(t))));if(n&&e.isDefaultImport(t)){i.push(e.createVariableDeclaration(e.getSynthesizedClone(n.name),undefined,e.getGeneratedNameForNode(t)))}}r=e.append(r,e.setOriginalNode(e.setTextRange(e.createVariableStatement(undefined,e.createVariableDeclarationList(i,u>=2?2:0)),t),t))}}else if(n&&e.isDefaultImport(t)){r=e.append(r,e.createVariableStatement(undefined,e.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(e.createVariableDeclaration(e.getSynthesizedClone(n.name),undefined,e.getGeneratedNameForNode(t)),t),t)],u>=2?2:0)))}if(hasAssociatedEndOfDeclarationMarker(t)){var a=e.getOriginalNodeId(t);m[a]=appendExportsOfImportDeclaration(m[a],t)}else{r=appendExportsOfImportDeclaration(r,t)}return e.singleOrMany(r)}function createRequireCall(t){var r=e.getExternalModuleNameLiteral(t,_,l,c,s);var n=[];if(r){n.push(r)}return e.createCall(e.createIdentifier("require"),undefined,n)}function visitImportEqualsDeclaration(t){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer.");var r;if(d!==e.ModuleKind.AMD){if(e.hasModifier(t,1)){r=e.append(r,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(createExportExpression(t.name,createRequireCall(t))),t),t))}else{r=e.append(r,e.setOriginalNode(e.setTextRange(e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(t.name),undefined,createRequireCall(t))],u>=2?2:0)),t),t))}}else{if(e.hasModifier(t,1)){r=e.append(r,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(createExportExpression(e.getExportName(t),e.getLocalName(t))),t),t))}}if(hasAssociatedEndOfDeclarationMarker(t)){var n=e.getOriginalNodeId(t);m[n]=appendExportsOfImportEqualsDeclaration(m[n],t)}else{r=appendExportsOfImportEqualsDeclaration(r,t)}return e.singleOrMany(r)}function visitExportDeclaration(r){if(!r.moduleSpecifier){return undefined}var n=e.getGeneratedNameForNode(r);if(r.exportClause&&e.isNamedExports(r.exportClause)){var i=[];if(d!==e.ModuleKind.AMD){i.push(e.setOriginalNode(e.setTextRange(e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(n,undefined,createRequireCall(r))])),r),r))}for(var a=0,o=r.exportClause.elements;ae.ModuleKind.ES2015){return t}if(!t.exportClause||!e.isNamespaceExport(t.exportClause)||!t.moduleSpecifier){return t}var n=t.exportClause.name;var i=e.getGeneratedNameForNode(n);var a=e.createImportDeclaration(undefined,undefined,e.createImportClause(undefined,e.createNamespaceImport(i)),t.moduleSpecifier);e.setOriginalNode(a,t.exportClause);var o=e.createExportDeclaration(undefined,undefined,e.createNamedExports([e.createExportSpecifier(i,n)]));e.setOriginalNode(o,t);return[a,o]}function onEmitNode(t,i,o){if(e.isSourceFile(i)){if((e.isExternalModule(i)||r.isolatedModules)&&r.importHelpers){a=e.createMap()}n(t,i,o);a=undefined}else{n(t,i,o)}}function onSubstituteNode(t,r){r=i(t,r);if(a&&e.isIdentifier(r)&&e.getEmitFlags(r)&4096){return substituteHelperName(r)}return r}function substituteHelperName(t){var r=e.idText(t);var n=a.get(r);if(!n){a.set(r,n=e.createFileLevelUniqueName(r))}return n}}e.transformECMAScriptModule=transformECMAScriptModule})(l||(l={}));var l;(function(e){function canProduceDiagnostics(t){return e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isBindingElement(t)||e.isSetAccessor(t)||e.isGetAccessor(t)||e.isConstructSignatureDeclaration(t)||e.isCallSignatureDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isFunctionDeclaration(t)||e.isParameter(t)||e.isTypeParameterDeclaration(t)||e.isExpressionWithTypeArguments(t)||e.isImportEqualsDeclaration(t)||e.isTypeAliasDeclaration(t)||e.isConstructorDeclaration(t)||e.isIndexSignatureDeclaration(t)||e.isPropertyAccessExpression(t)}e.canProduceDiagnostics=canProduceDiagnostics;function createGetSymbolAccessibilityDiagnosticForNodeName(t){if(e.isSetAccessor(t)||e.isGetAccessor(t)){return getAccessorNameVisibilityError}else if(e.isMethodSignature(t)||e.isMethodDeclaration(t)){return getMethodNameVisibilityError}else{return createGetSymbolAccessibilityDiagnosticForNode(t)}function getAccessorNameVisibilityError(e){var r=getAccessorNameVisibilityDiagnosticMessage(e);return r!==undefined?{diagnosticMessage:r,errorNode:t,typeName:t.name}:undefined}function getAccessorNameVisibilityDiagnosticMessage(r){if(e.hasModifier(t,32)){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(t.parent.kind===245){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return r.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}function getMethodNameVisibilityError(e){var r=getMethodNameVisibilityDiagnosticMessage(e);return r!==undefined?{diagnosticMessage:r,errorNode:t,typeName:t.name}:undefined}function getMethodNameVisibilityDiagnosticMessage(r){if(e.hasModifier(t,32)){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1}else if(t.parent.kind===245){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1}else{return r.errorModuleName?e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}}e.createGetSymbolAccessibilityDiagnosticForNodeName=createGetSymbolAccessibilityDiagnosticForNodeName;function createGetSymbolAccessibilityDiagnosticForNode(t){if(e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isPropertyAccessExpression(t)||e.isBindingElement(t)||e.isConstructorDeclaration(t)){return getVariableDeclarationTypeVisibilityError}else if(e.isSetAccessor(t)||e.isGetAccessor(t)){return getAccessorDeclarationTypeVisibilityError}else if(e.isConstructSignatureDeclaration(t)||e.isCallSignatureDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isFunctionDeclaration(t)||e.isIndexSignatureDeclaration(t)){return getReturnTypeVisibilityError}else if(e.isParameter(t)){if(e.isParameterPropertyDeclaration(t,t.parent)&&e.hasModifier(t.parent,8)){return getVariableDeclarationTypeVisibilityError}return getParameterDeclarationTypeVisibilityError}else if(e.isTypeParameterDeclaration(t)){return getTypeParameterConstraintVisibilityError}else if(e.isExpressionWithTypeArguments(t)){return getHeritageClauseVisibilityError}else if(e.isImportEqualsDeclaration(t)){return getImportEntityNameVisibilityError}else if(e.isTypeAliasDeclaration(t)){return getTypeAliasDeclarationVisibilityError}else{return e.Debug.assertNever(t,"Attempted to set a declaration diagnostic context for unhandled node kind: "+e.SyntaxKind[t.kind])}function getVariableDeclarationTypeVisibilityDiagnosticMessage(r){if(t.kind===242||t.kind===191){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1}else if(t.kind===159||t.kind===194||t.kind===158||t.kind===156&&e.hasModifier(t.parent,8)){if(e.hasModifier(t,32)){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(t.parent.kind===245||t.kind===156){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return r.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}}function getVariableDeclarationTypeVisibilityError(e){var r=getVariableDeclarationTypeVisibilityDiagnosticMessage(e);return r!==undefined?{diagnosticMessage:r,errorNode:t,typeName:t.name}:undefined}function getAccessorDeclarationTypeVisibilityError(r){var n;if(t.kind===164){if(e.hasModifier(t,32)){n=r.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1}else{n=r.errorModuleName?e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1}}else{if(e.hasModifier(t,32)){n=r.errorModuleName?r.accessibility===2?e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1}else{n=r.errorModuleName?r.accessibility===2?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1}}return{diagnosticMessage:n,errorNode:t.name,typeName:t.name}}function getReturnTypeVisibilityError(r){var n;switch(t.kind){case 166:n=r.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 165:n=r.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 167:n=r.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 161:case 160:if(e.hasModifier(t,32)){n=r.errorModuleName?r.accessibility===2?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0}else if(t.parent.kind===245){n=r.errorModuleName?r.accessibility===2?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0}else{n=r.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0}break;case 244:n=r.errorModuleName?r.accessibility===2?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return e.Debug.fail("This is unknown kind for signature: "+t.kind)}return{diagnosticMessage:n,errorNode:t.name||t}}function getParameterDeclarationTypeVisibilityError(e){var r=getParameterDeclarationTypeVisibilityDiagnosticMessage(e);return r!==undefined?{diagnosticMessage:r,errorNode:t,typeName:t.name}:undefined}function getParameterDeclarationTypeVisibilityDiagnosticMessage(r){switch(t.parent.kind){case 162:return r.errorModuleName?r.accessibility===2?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 166:case 171:return r.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 165:return r.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 167:return r.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 161:case 160:if(e.hasModifier(t.parent,32)){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(t.parent.parent.kind===245){return r.errorModuleName?r.accessibility===2?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{return r.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}case 244:case 170:return r.errorModuleName?r.accessibility===2?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 164:case 163:return r.errorModuleName?r.accessibility===2?e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return e.Debug.fail("Unknown parent for parameter: "+e.SyntaxKind[t.parent.kind])}}function getTypeParameterConstraintVisibilityError(){var r;switch(t.parent.kind){case 245:r=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 246:r=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 186:r=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 171:case 166:r=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 165:r=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 161:case 160:if(e.hasModifier(t.parent,32)){r=e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(t.parent.parent.kind===245){r=e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{r=e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}break;case 170:case 244:r=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 247:r=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return e.Debug.fail("This is unknown parent for type parameter: "+t.parent.kind)}return{diagnosticMessage:r,errorNode:t,typeName:t.name}}function getHeritageClauseVisibilityError(){var r;if(t.parent.parent.kind===245){r=e.isHeritageClause(t.parent)&&t.parent.token===113?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1}else{r=e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1}return{diagnosticMessage:r,errorNode:t,typeName:e.getNameOfDeclaration(t.parent.parent)}}function getImportEntityNameVisibilityError(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}function getTypeAliasDeclarationVisibilityError(){return{diagnosticMessage:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:t.type,typeName:t.name}}}e.createGetSymbolAccessibilityDiagnosticForNode=createGetSymbolAccessibilityDiagnosticForNode})(l||(l={}));var l;(function(e){function getDeclarationDiagnostics(t,r,n){if(n&&e.isJsonSourceFile(n)){return[]}var i=t.getCompilerOptions();var a=e.transformNodes(r,t,i,n?[n]:e.filter(t.getSourceFiles(),e.isSourceFileNotJson),[transformDeclarations],false);return a.diagnostics}e.getDeclarationDiagnostics=getDeclarationDiagnostics;function hasInternalAnnotation(t,r){var n=r.text.substring(t.pos,t.end);return e.stringContains(n,"@internal")}function isInternalDeclaration(t,r){var n=e.getParseTreeNode(t);if(n&&n.kind===156){var i=n.parent.parameters.indexOf(n);var a=i>0?n.parent.parameters[i-1]:undefined;var o=r.text;var s=a?e.concatenate(e.getTrailingCommentRanges(o,e.skipTrivia(o,a.end+1,false,true)),e.getLeadingCommentRanges(o,t.pos)):e.getTrailingCommentRanges(o,e.skipTrivia(o,t.pos,false,true));return s&&s.length&&hasInternalAnnotation(e.last(s),r)}var c=n&&e.getLeadingCommentRangesOfNode(n,r);return!!e.forEach(c,(function(e){return hasInternalAnnotation(e,r)}))}e.isInternalDeclaration=isInternalDeclaration;var t=1024|2048|4096|8|524288|4|1;function transformDeclarations(r){var throwDiagnostic=function(){return e.Debug.fail("Diagnostic emitted without context")};var a=throwDiagnostic;var o=true;var s=false;var c=false;var l=false;var u=false;var d;var p;var f;var g;var m;var _;var y=r.getEmitHost();var h={trackSymbol:trackSymbol,reportInaccessibleThisError:reportInaccessibleThisError,reportInaccessibleUniqueSymbolError:reportInaccessibleUniqueSymbolError,reportCyclicStructureError:reportCyclicStructureError,reportPrivateInBaseOfClassExpression:reportPrivateInBaseOfClassExpression,reportLikelyUnsafeImportRequiredError:reportLikelyUnsafeImportRequiredError,moduleResolverHost:y,trackReferencedAmbientModule:trackReferencedAmbientModule,trackExternalModuleSymbolOfImportTypeNode:trackExternalModuleSymbolOfImportTypeNode,reportNonlocalAugmentation:reportNonlocalAugmentation};var v;var T;var b;var S;var x;var D=r.getEmitResolver();var C=r.getCompilerOptions();var E=C.noResolve,N=C.stripInternal;return transformRoot;function recordTypeReferenceDirectivesIfNecessary(t){if(!t){return}p=p||e.createMap();for(var r=0,n=t;r0?e.parameters[0].type:undefined}}function canHaveLiteralInitializer(t){switch(t.kind){case 159:case 158:return!e.hasModifier(t,8);case 156:case 242:return true}return false}function isPreservedDeclarationStatement(e){switch(e.kind){case 244:case 249:case 253:case 246:case 245:case 247:case 248:case 225:case 254:case 260:case 259:return true}return false}function isProcessedComponent(e){switch(e.kind){case 166:case 162:case 161:case 163:case 164:case 159:case 158:case 160:case 165:case 167:case 242:case 155:case 216:case 169:case 180:case 170:case 171:case 188:return true}return false}})(l||(l={}));var l;(function(e){function getModuleTransformer(t){switch(t){case e.ModuleKind.ESNext:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}var t;(function(e){e[e["Uninitialized"]=0]="Uninitialized";e[e["Initialized"]=1]="Initialized";e[e["Completed"]=2]="Completed";e[e["Disposed"]=3]="Disposed"})(t||(t={}));var r;(function(e){e[e["Substitution"]=1]="Substitution";e[e["EmitNotifications"]=2]="EmitNotifications"})(r||(r={}));e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray};function getTransformers(e,t,r){return{scriptTransformers:getScriptTransformers(e,t,r),declarationTransformers:getDeclarationTransformers(t)}}e.getTransformers=getTransformers;function getScriptTransformers(t,r,n){if(n)return e.emptyArray;var i=t.jsx;var a=e.getEmitScriptTarget(t);var o=e.getEmitModuleKind(t);var s=[];e.addRange(s,r&&e.map(r.before,wrapScriptTransformerFactory));s.push(e.transformTypeScript);s.push(e.transformClassFields);if(i===2){s.push(e.transformJsx)}if(a<99){s.push(e.transformESNext)}if(a<7){s.push(e.transformES2020)}if(a<6){s.push(e.transformES2019)}if(a<5){s.push(e.transformES2018)}if(a<4){s.push(e.transformES2017)}if(a<3){s.push(e.transformES2016)}if(a<2){s.push(e.transformES2015);s.push(e.transformGenerators)}s.push(getModuleTransformer(o));if(a<1){s.push(e.transformES5)}e.addRange(s,r&&e.map(r.after,wrapScriptTransformerFactory));return s}function getDeclarationTransformers(t){var r=[];r.push(e.transformDeclarations);e.addRange(r,t&&e.map(t.afterDeclarations,wrapDeclarationTransformerFactory));return r}function wrapCustomTransformer(t){return function(r){return e.isBundle(r)?t.transformBundle(r):t.transformSourceFile(r)}}function wrapCustomTransformerFactory(e,t){return function(r){var n=e(r);return typeof n==="function"?t(n):wrapCustomTransformer(n)}}function wrapScriptTransformerFactory(t){return wrapCustomTransformerFactory(t,e.chainBundle)}function wrapDeclarationTransformerFactory(t){return wrapCustomTransformerFactory(t,e.identity)}function noEmitSubstitution(e,t){return t}e.noEmitSubstitution=noEmitSubstitution;function noEmitNotification(e,t,r){r(e,t)}e.noEmitNotification=noEmitNotification;function transformNodes(t,r,i,a,o,s){var c=new Array(331);var l;var u;var d;var p=0;var f=[];var g=[];var m=[];var _=[];var y=0;var h=false;var v;var T=noEmitSubstitution;var b=noEmitNotification;var S=0;var x=[];var D={getCompilerOptions:function(){return i},getEmitResolver:function(){return t},getEmitHost:function(){return r},startLexicalEnvironment:startLexicalEnvironment,suspendLexicalEnvironment:suspendLexicalEnvironment,resumeLexicalEnvironment:resumeLexicalEnvironment,endLexicalEnvironment:endLexicalEnvironment,setLexicalEnvironmentFlags:setLexicalEnvironmentFlags,getLexicalEnvironmentFlags:getLexicalEnvironmentFlags,hoistVariableDeclaration:hoistVariableDeclaration,hoistFunctionDeclaration:hoistFunctionDeclaration,addInitializationStatement:addInitializationStatement,requestEmitHelper:requestEmitHelper,readEmitHelpers:readEmitHelpers,enableSubstitution:enableSubstitution,enableEmitNotification:enableEmitNotification,isSubstitutionEnabled:isSubstitutionEnabled,isEmitNotificationEnabled:isEmitNotificationEnabled,get onSubstituteNode(){return T},set onSubstituteNode(t){e.Debug.assert(S<1,"Cannot modify transformation hooks after initialization has completed.");e.Debug.assert(t!==undefined,"Value must not be 'undefined'");T=t},get onEmitNode(){return b},set onEmitNode(t){e.Debug.assert(S<1,"Cannot modify transformation hooks after initialization has completed.");e.Debug.assert(t!==undefined,"Value must not be 'undefined'");b=t},addDiagnostic:function(e){x.push(e)}};for(var C=0,E=a;C0,"Cannot modify the lexical environment during initialization.");e.Debug.assert(S<2,"Cannot modify the lexical environment after transformation has completed.");var r=e.setEmitFlags(e.createVariableDeclaration(t),64);if(!l){l=[r]}else{l.push(r)}if(p&1){p|=2}}function hoistFunctionDeclaration(t){e.Debug.assert(S>0,"Cannot modify the lexical environment during initialization.");e.Debug.assert(S<2,"Cannot modify the lexical environment after transformation has completed.");e.setEmitFlags(t,1048576);if(!u){u=[t]}else{u.push(t)}}function addInitializationStatement(t){e.Debug.assert(S>0,"Cannot modify the lexical environment during initialization.");e.Debug.assert(S<2,"Cannot modify the lexical environment after transformation has completed.");e.setEmitFlags(t,1048576);if(!d){d=[t]}else{d.push(t)}}function startLexicalEnvironment(){e.Debug.assert(S>0,"Cannot modify the lexical environment during initialization.");e.Debug.assert(S<2,"Cannot modify the lexical environment after transformation has completed.");e.Debug.assert(!h,"Lexical environment is suspended.");f[y]=l;g[y]=u;m[y]=d;_[y]=p;y++;l=undefined;u=undefined;d=undefined;p=0}function suspendLexicalEnvironment(){e.Debug.assert(S>0,"Cannot modify the lexical environment during initialization.");e.Debug.assert(S<2,"Cannot modify the lexical environment after transformation has completed.");e.Debug.assert(!h,"Lexical environment is already suspended.");h=true}function resumeLexicalEnvironment(){e.Debug.assert(S>0,"Cannot modify the lexical environment during initialization.");e.Debug.assert(S<2,"Cannot modify the lexical environment after transformation has completed.");e.Debug.assert(h,"Lexical environment is not suspended.");h=false}function endLexicalEnvironment(){e.Debug.assert(S>0,"Cannot modify the lexical environment during initialization.");e.Debug.assert(S<2,"Cannot modify the lexical environment after transformation has completed.");e.Debug.assert(!h,"Lexical environment is suspended.");var t;if(l||u||d){if(u){t=n(u)}if(l){var r=e.createVariableStatement(undefined,e.createVariableDeclarationList(l));e.setEmitFlags(r,1048576);if(!t){t=[r]}else{t.push(r)}}if(d){if(!t){t=n(d)}else{t=n(t,d)}}}y--;l=f[y];u=g[y];d=m[y];p=_[y];if(y===0){f=[];g=[];m=[];_=[]}return t}function setLexicalEnvironmentFlags(e,t){p=t?p|e:p&~e}function getLexicalEnvironmentFlags(){return p}function requestEmitHelper(t){e.Debug.assert(S>0,"Cannot modify the transformation context during initialization.");e.Debug.assert(S<2,"Cannot modify the transformation context after transformation has completed.");e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper.");if(t.dependencies){for(var r=0,n=t.dependencies;r0,"Cannot modify the transformation context during initialization.");e.Debug.assert(S<2,"Cannot modify the transformation context after transformation has completed.");var t=v;v=undefined;return t}function dispose(){if(S<3){for(var t=0,r=a;t");writeSpace();emit(e.type);popNameGenerationScope(e)}function emitJSDocFunctionType(e){writeKeyword("function");emitParameters(e,e.parameters);writePunctuation(":");emit(e.type)}function emitJSDocNullableType(e){writePunctuation("?");emit(e.type)}function emitJSDocNonNullableType(e){writePunctuation("!");emit(e.type)}function emitJSDocOptionalType(e){emit(e.type);writePunctuation("=")}function emitConstructorType(e){pushNameGenerationScope(e);writeKeyword("new");writeSpace();emitTypeParameters(e,e.typeParameters);emitParameters(e,e.parameters);writeSpace();writePunctuation("=>");writeSpace();emit(e.type);popNameGenerationScope(e)}function emitTypeQuery(e){writeKeyword("typeof");writeSpace();emit(e.exprName)}function emitTypeLiteral(t){writePunctuation("{");var r=e.getEmitFlags(t)&1?768:32897;emitList(t,t.members,r|524288);writePunctuation("}")}function emitArrayType(e){emit(e.elementType);writePunctuation("[");writePunctuation("]")}function emitRestOrJSDocVariadicType(e){writePunctuation("...");emit(e.type)}function emitTupleType(e){writePunctuation("[");emitList(e,e.elementTypes,528);writePunctuation("]")}function emitOptionalType(e){emit(e.type);writePunctuation("?")}function emitUnionType(e){emitList(e,e.types,516)}function emitIntersectionType(e){emitList(e,e.types,520)}function emitConditionalType(e){emit(e.checkType);writeSpace();writeKeyword("extends");writeSpace();emit(e.extendsType);writeSpace();writePunctuation("?");writeSpace();emit(e.trueType);writeSpace();writePunctuation(":");writeSpace();emit(e.falseType)}function emitInferType(e){writeKeyword("infer");writeSpace();emit(e.typeParameter)}function emitParenthesizedType(e){writePunctuation("(");emit(e.type);writePunctuation(")")}function emitThisType(){writeKeyword("this")}function emitTypeOperator(e){writeTokenText(e.operator,writeKeyword);writeSpace();emit(e.type)}function emitIndexedAccessType(e){emit(e.objectType);writePunctuation("[");emit(e.indexType);writePunctuation("]")}function emitMappedType(t){var r=e.getEmitFlags(t);writePunctuation("{");if(r&1){writeSpace()}else{writeLine();increaseIndent()}if(t.readonlyToken){emit(t.readonlyToken);if(t.readonlyToken.kind!==138){writeKeyword("readonly")}writeSpace()}writePunctuation("[");pipelineEmit(3,t.typeParameter);writePunctuation("]");if(t.questionToken){emit(t.questionToken);if(t.questionToken.kind!==57){writePunctuation("?")}}writePunctuation(":");writeSpace();emit(t.type);writeTrailingSemicolon();if(r&1){writeSpace()}else{writeLine();decreaseIndent()}writePunctuation("}")}function emitLiteralType(e){emitExpression(e.literal)}function emitImportTypeNode(e){if(e.isTypeOf){writeKeyword("typeof");writeSpace()}writeKeyword("import");writePunctuation("(");emit(e.argument);writePunctuation(")");if(e.qualifier){writePunctuation(".");emit(e.qualifier)}emitTypeArguments(e,e.typeArguments)}function emitObjectBindingPattern(e){writePunctuation("{");emitList(e,e.elements,525136);writePunctuation("}")}function emitArrayBindingPattern(e){writePunctuation("[");emitList(e,e.elements,524880);writePunctuation("]")}function emitBindingElement(e){emit(e.dotDotDotToken);if(e.propertyName){emit(e.propertyName);writePunctuation(":");writeSpace()}emit(e.name);emitInitializer(e.initializer,e.name.end,e)}function emitArrayLiteralExpression(e){var t=e.elements;var r=e.multiLine?65536:0;emitExpressionList(e,t,8914|r)}function emitObjectLiteralExpression(t){e.forEach(t.properties,generateMemberNames);var r=e.getEmitFlags(t)&65536;if(r){increaseIndent()}var n=t.multiLine?65536:0;var i=h.languageVersion>=1&&!e.isJsonSourceFile(h)?64:0;emitList(t,t.properties,526226|i|n);if(r){decreaseIndent()}}function emitPropertyAccessExpression(t){var r=e.cast(emitExpression(t.expression),e.isExpression);var n=t.questionDotToken||e.createNode(24,t.expression.end,t.name.pos);var i=getLinesBetweenNodes(t,t.expression,n);var a=getLinesBetweenNodes(t,n,t.name);writeLinesAndIndent(i,false);var o=n.kind!==28&&mayNeedDotDotForPropertyAccess(r)&&!N.hasTrailingComment()&&!N.hasTrailingWhitespace();if(o){writePunctuation(".")}if(t.questionDotToken){emit(n)}else{emitTokenWithComment(n.kind,t.expression.end,writePunctuation,t)}writeLinesAndIndent(a,false);emit(t.name);decreaseIndentIf(i,a)}function mayNeedDotDotForPropertyAccess(t){t=e.skipPartiallyEmittedExpressions(t);if(e.isNumericLiteral(t)){var r=getLiteralTextOfNode(t,true,false);return!t.numericLiteralFlags&&!e.stringContains(r,e.tokenToString(24))}else if(e.isAccessExpression(t)){var n=e.getConstantValue(t);return typeof n==="number"&&isFinite(n)&&Math.floor(n)===n}}function emitElementAccessExpression(e){emitExpression(e.expression);emit(e.questionDotToken);emitTokenWithComment(22,e.expression.end,writePunctuation,e);emitExpression(e.argumentExpression);emitTokenWithComment(23,e.argumentExpression.end,writePunctuation,e)}function emitCallExpression(e){emitExpression(e.expression);emit(e.questionDotToken);emitTypeArguments(e,e.typeArguments);emitExpressionList(e,e.arguments,2576)}function emitNewExpression(e){emitTokenWithComment(99,e.pos,writeKeyword,e);writeSpace();emitExpression(e.expression);emitTypeArguments(e,e.typeArguments);emitExpressionList(e,e.arguments,18960)}function emitTaggedTemplateExpression(e){emitExpression(e.tag);emitTypeArguments(e,e.typeArguments);writeSpace();emitExpression(e.template)}function emitTypeAssertionExpression(e){writePunctuation("<");emit(e.type);writePunctuation(">");emitExpression(e.expression)}function emitParenthesizedExpression(e){var t=emitTokenWithComment(20,e.pos,writePunctuation,e);var r=writeLineSeparatorsAndIndentBefore(e.expression,e);emitExpression(e.expression);writeLineSeparatorsAfter(e.expression,e);decreaseIndentIf(r);emitTokenWithComment(21,e.expression?e.expression.end:t,writePunctuation,e)}function emitFunctionExpression(e){generateNameIfNeeded(e.name);emitFunctionDeclarationOrExpression(e)}function emitArrowFunction(e){emitDecorators(e,e.decorators);emitModifiers(e,e.modifiers);emitSignatureAndBody(e,emitArrowFunctionHead)}function emitArrowFunctionHead(e){emitTypeParameters(e,e.typeParameters);emitParametersForArrow(e,e.parameters);emitTypeAnnotation(e.type);writeSpace();emit(e.equalsGreaterThanToken)}function emitDeleteExpression(e){emitTokenWithComment(85,e.pos,writeKeyword,e);writeSpace();emitExpression(e.expression)}function emitTypeOfExpression(e){emitTokenWithComment(108,e.pos,writeKeyword,e);writeSpace();emitExpression(e.expression)}function emitVoidExpression(e){emitTokenWithComment(110,e.pos,writeKeyword,e);writeSpace();emitExpression(e.expression)}function emitAwaitExpression(e){emitTokenWithComment(127,e.pos,writeKeyword,e);writeSpace();emitExpression(e.expression)}function emitPrefixUnaryExpression(e){writeTokenText(e.operator,writeOperator);if(shouldEmitWhitespaceBeforeOperand(e)){writeSpace()}emitExpression(e.operand)}function shouldEmitWhitespaceBeforeOperand(e){var t=e.operand;return t.kind===207&&(e.operator===39&&(t.operator===39||t.operator===45)||e.operator===40&&(t.operator===40||t.operator===46))}function emitPostfixUnaryExpression(e){emitExpression(e.operand);writeTokenText(e.operator,writeOperator)}var Y;(function(e){e[e["EmitLeft"]=0]="EmitLeft";e[e["EmitRight"]=1]="EmitRight";e[e["FinishEmit"]=2]="FinishEmit"})(Y||(Y={}));function emitBinaryExpression(t){var r=[t];var n=[0];var i=0;while(i>=0){t=r[i];switch(n[i]){case 0:{maybePipelineEmitExpression(t.left);break}case 1:{var a=t.operatorToken.kind!==27;var o=getLinesBetweenNodes(t,t.left,t.operatorToken);var s=getLinesBetweenNodes(t,t.operatorToken,t.right);writeLinesAndIndent(o,a);emitLeadingCommentsOfPosition(t.operatorToken.pos);writeTokenNode(t.operatorToken,t.operatorToken.kind===97?writeKeyword:writeOperator);emitTrailingCommentsOfPosition(t.operatorToken.end,true);writeLinesAndIndent(s,true);maybePipelineEmitExpression(t.right);break}case 2:{var o=getLinesBetweenNodes(t,t.left,t.operatorToken);var s=getLinesBetweenNodes(t,t.operatorToken,t.right);decreaseIndentIf(o,s);i--;break}default:return e.Debug.fail("Invalid state "+n[i]+" for emitBinaryExpressionWorker")}}function maybePipelineEmitExpression(t){n[i]++;var a=q;var o=G;q=t;G=undefined;var s=getPipelinePhase(0,1,t);if(s===pipelineEmitWithHint&&e.isBinaryExpression(t)){i++;n[i]=0;r[i]=t}else{s(1,t)}e.Debug.assert(q===t);q=a;G=o}}function emitConditionalExpression(e){var t=getLinesBetweenNodes(e,e.condition,e.questionToken);var r=getLinesBetweenNodes(e,e.questionToken,e.whenTrue);var n=getLinesBetweenNodes(e,e.whenTrue,e.colonToken);var i=getLinesBetweenNodes(e,e.colonToken,e.whenFalse);emitExpression(e.condition);writeLinesAndIndent(t,true);emit(e.questionToken);writeLinesAndIndent(r,true);emitExpression(e.whenTrue);decreaseIndentIf(t,r);writeLinesAndIndent(n,true);emit(e.colonToken);writeLinesAndIndent(i,true);emitExpression(e.whenFalse);decreaseIndentIf(n,i)}function emitTemplateExpression(e){emit(e.head);emitList(e,e.templateSpans,262144)}function emitYieldExpression(e){emitTokenWithComment(121,e.pos,writeKeyword,e);emit(e.asteriskToken);emitExpressionWithLeadingSpace(e.expression)}function emitSpreadExpression(e){emitTokenWithComment(25,e.pos,writePunctuation,e);emitExpression(e.expression)}function emitClassExpression(e){generateNameIfNeeded(e.name);emitClassDeclarationOrExpression(e)}function emitExpressionWithTypeArguments(e){emitExpression(e.expression);emitTypeArguments(e,e.typeArguments)}function emitAsExpression(e){emitExpression(e.expression);if(e.type){writeSpace();writeKeyword("as");writeSpace();emit(e.type)}}function emitNonNullExpression(e){emitExpression(e.expression);writeOperator("!")}function emitMetaProperty(e){writeToken(e.keywordToken,e.pos,writePunctuation);writePunctuation(".");emit(e.name)}function emitTemplateSpan(e){emitExpression(e.expression);emit(e.literal)}function emitBlock(e){emitBlockStatements(e,!e.multiLine&&isEmptyBlock(e))}function emitBlockStatements(t,r){emitTokenWithComment(18,t.pos,writePunctuation,t);var n=r||e.getEmitFlags(t)&1?768:129;emitList(t,t.statements,n);emitTokenWithComment(19,t.statements.end,writePunctuation,t,!!(n&1))}function emitVariableStatement(e){emitModifiers(e,e.modifiers);emit(e.declarationList);writeTrailingSemicolon()}function emitEmptyStatement(e){if(e){writePunctuation(";")}else{writeTrailingSemicolon()}}function emitExpressionStatement(t){emitExpression(t.expression);if(!e.isJsonSourceFile(h)||e.nodeIsSynthesized(t.expression)){writeTrailingSemicolon()}}function emitIfStatement(e){var t=emitTokenWithComment(95,e.pos,writeKeyword,e);writeSpace();emitTokenWithComment(20,t,writePunctuation,e);emitExpression(e.expression);emitTokenWithComment(21,e.expression.end,writePunctuation,e);emitEmbeddedStatement(e,e.thenStatement);if(e.elseStatement){writeLineOrSpace(e);emitTokenWithComment(87,e.thenStatement.end,writeKeyword,e);if(e.elseStatement.kind===227){writeSpace();emit(e.elseStatement)}else{emitEmbeddedStatement(e,e.elseStatement)}}}function emitWhileClause(e,t){var r=emitTokenWithComment(111,t,writeKeyword,e);writeSpace();emitTokenWithComment(20,r,writePunctuation,e);emitExpression(e.expression);emitTokenWithComment(21,e.expression.end,writePunctuation,e)}function emitDoStatement(t){emitTokenWithComment(86,t.pos,writeKeyword,t);emitEmbeddedStatement(t,t.statement);if(e.isBlock(t.statement)){writeSpace()}else{writeLineOrSpace(t)}emitWhileClause(t,t.statement.end);writeTrailingSemicolon()}function emitWhileStatement(e){emitWhileClause(e,e.pos);emitEmbeddedStatement(e,e.statement)}function emitForStatement(e){var t=emitTokenWithComment(93,e.pos,writeKeyword,e);writeSpace();var r=emitTokenWithComment(20,t,writePunctuation,e);emitForBinding(e.initializer);r=emitTokenWithComment(26,e.initializer?e.initializer.end:r,writePunctuation,e);emitExpressionWithLeadingSpace(e.condition);r=emitTokenWithComment(26,e.condition?e.condition.end:r,writePunctuation,e);emitExpressionWithLeadingSpace(e.incrementor);emitTokenWithComment(21,e.incrementor?e.incrementor.end:r,writePunctuation,e);emitEmbeddedStatement(e,e.statement)}function emitForInStatement(e){var t=emitTokenWithComment(93,e.pos,writeKeyword,e);writeSpace();emitTokenWithComment(20,t,writePunctuation,e);emitForBinding(e.initializer);writeSpace();emitTokenWithComment(97,e.initializer.end,writeKeyword,e);writeSpace();emitExpression(e.expression);emitTokenWithComment(21,e.expression.end,writePunctuation,e);emitEmbeddedStatement(e,e.statement)}function emitForOfStatement(e){var t=emitTokenWithComment(93,e.pos,writeKeyword,e);writeSpace();emitWithTrailingSpace(e.awaitModifier);emitTokenWithComment(20,t,writePunctuation,e);emitForBinding(e.initializer);writeSpace();emitTokenWithComment(152,e.initializer.end,writeKeyword,e);writeSpace();emitExpression(e.expression);emitTokenWithComment(21,e.expression.end,writePunctuation,e);emitEmbeddedStatement(e,e.statement)}function emitForBinding(e){if(e!==undefined){if(e.kind===243){emit(e)}else{emitExpression(e)}}}function emitContinueStatement(e){emitTokenWithComment(82,e.pos,writeKeyword,e);emitWithLeadingSpace(e.label);writeTrailingSemicolon()}function emitBreakStatement(e){emitTokenWithComment(77,e.pos,writeKeyword,e);emitWithLeadingSpace(e.label);writeTrailingSemicolon()}function emitTokenWithComment(t,r,n,i,a){var o=e.getParseTreeNode(i);var s=o&&o.kind===i.kind;var c=r;if(s&&h){r=e.skipTrivia(h.text,r)}if(emitLeadingCommentsOfPosition&&s&&i.pos!==c){var l=a&&h&&!e.positionsAreOnSameLine(c,r,h);if(l){increaseIndent()}emitLeadingCommentsOfPosition(c);if(l){decreaseIndent()}}r=writeTokenText(t,n,r);if(emitTrailingCommentsOfPosition&&s&&i.end!==r){emitTrailingCommentsOfPosition(r,true)}return r}function emitReturnStatement(e){emitTokenWithComment(101,e.pos,writeKeyword,e);emitExpressionWithLeadingSpace(e.expression);writeTrailingSemicolon()}function emitWithStatement(e){var t=emitTokenWithComment(112,e.pos,writeKeyword,e);writeSpace();emitTokenWithComment(20,t,writePunctuation,e);emitExpression(e.expression);emitTokenWithComment(21,e.expression.end,writePunctuation,e);emitEmbeddedStatement(e,e.statement)}function emitSwitchStatement(e){var t=emitTokenWithComment(103,e.pos,writeKeyword,e);writeSpace();emitTokenWithComment(20,t,writePunctuation,e);emitExpression(e.expression);emitTokenWithComment(21,e.expression.end,writePunctuation,e);writeSpace();emit(e.caseBlock)}function emitLabeledStatement(e){emit(e.label);emitTokenWithComment(58,e.label.end,writePunctuation,e);writeSpace();emit(e.statement)}function emitThrowStatement(e){emitTokenWithComment(105,e.pos,writeKeyword,e);emitExpressionWithLeadingSpace(e.expression);writeTrailingSemicolon()}function emitTryStatement(e){emitTokenWithComment(107,e.pos,writeKeyword,e);writeSpace();emit(e.tryBlock);if(e.catchClause){writeLineOrSpace(e);emit(e.catchClause)}if(e.finallyBlock){writeLineOrSpace(e);emitTokenWithComment(92,(e.catchClause||e.tryBlock).end,writeKeyword,e);writeSpace();emit(e.finallyBlock)}}function emitDebuggerStatement(e){writeToken(83,e.pos,writeKeyword);writeTrailingSemicolon()}function emitVariableDeclaration(e){emit(e.name);emit(e.exclamationToken);emitTypeAnnotation(e.type);emitInitializer(e.initializer,e.type?e.type.end:e.name.end,e)}function emitVariableDeclarationList(t){writeKeyword(e.isLet(t)?"let":e.isVarConst(t)?"const":"var");writeSpace();emitList(t,t.declarations,528)}function emitFunctionDeclaration(e){emitFunctionDeclarationOrExpression(e)}function emitFunctionDeclarationOrExpression(e){emitDecorators(e,e.decorators);emitModifiers(e,e.modifiers);writeKeyword("function");emit(e.asteriskToken);writeSpace();emitIdentifierName(e.name);emitSignatureAndBody(e,emitSignatureHead)}function emitBlockCallback(e,t){emitBlockFunctionBody(t)}function emitSignatureAndBody(t,r){var n=t.body;if(n){if(e.isBlock(n)){var i=e.getEmitFlags(t)&65536;if(i){increaseIndent()}pushNameGenerationScope(t);e.forEach(t.parameters,generateNames);generateNames(t.body);r(t);if(o){o(4,n,emitBlockCallback)}else{emitBlockFunctionBody(n)}popNameGenerationScope(t);if(i){decreaseIndent()}}else{r(t);writeSpace();emitExpression(n)}}else{r(t);writeTrailingSemicolon()}}function emitSignatureHead(e){emitTypeParameters(e,e.typeParameters);emitParameters(e,e.parameters);emitTypeAnnotation(e.type)}function shouldEmitBlockFunctionBodyOnSingleLine(t){if(e.getEmitFlags(t)&1){return true}if(t.multiLine){return false}if(!e.nodeIsSynthesized(t)&&!e.rangeIsOnSingleLine(t,h)){return false}if(getLeadingLineTerminatorCount(t,t.statements,2)||getClosingLineTerminatorCount(t,t.statements,2)){return false}var r;for(var n=0,i=t.statements;n0){return false}r=a}return true}function emitBlockFunctionBody(e){writeSpace();writePunctuation("{");increaseIndent();var t=shouldEmitBlockFunctionBodyOnSingleLine(e)?emitBlockFunctionBodyOnSingleLine:emitBlockFunctionBodyWorker;if(emitBodyWithDetachedComments){emitBodyWithDetachedComments(e,e.statements,t)}else{t(e)}decreaseIndent();writeToken(19,e.statements.end,writePunctuation,e)}function emitBlockFunctionBodyOnSingleLine(e){emitBlockFunctionBodyWorker(e,true)}function emitBlockFunctionBodyWorker(e,t){var r=emitPrologueDirectives(e.statements);var n=N.getTextPos();emitHelpers(e);if(r===0&&n===N.getTextPos()&&t){decreaseIndent();emitList(e,e.statements,768);increaseIndent()}else{emitList(e,e.statements,1,r)}}function emitClassDeclaration(e){emitClassDeclarationOrExpression(e)}function emitClassDeclarationOrExpression(t){e.forEach(t.members,generateMemberNames);emitDecorators(t,t.decorators);emitModifiers(t,t.modifiers);writeKeyword("class");if(t.name){writeSpace();emitIdentifierName(t.name)}var r=e.getEmitFlags(t)&65536;if(r){increaseIndent()}emitTypeParameters(t,t.typeParameters);emitList(t,t.heritageClauses,0);writeSpace();writePunctuation("{");emitList(t,t.members,129);writePunctuation("}");if(r){decreaseIndent()}}function emitInterfaceDeclaration(e){emitDecorators(e,e.decorators);emitModifiers(e,e.modifiers);writeKeyword("interface");writeSpace();emit(e.name);emitTypeParameters(e,e.typeParameters);emitList(e,e.heritageClauses,512);writeSpace();writePunctuation("{");emitList(e,e.members,129);writePunctuation("}")}function emitTypeAliasDeclaration(e){emitDecorators(e,e.decorators);emitModifiers(e,e.modifiers);writeKeyword("type");writeSpace();emit(e.name);emitTypeParameters(e,e.typeParameters);writeSpace();writePunctuation("=");writeSpace();emit(e.type);writeTrailingSemicolon()}function emitEnumDeclaration(e){emitModifiers(e,e.modifiers);writeKeyword("enum");writeSpace();emit(e.name);writeSpace();writePunctuation("{");emitList(e,e.members,145);writePunctuation("}")}function emitModuleDeclaration(e){emitModifiers(e,e.modifiers);if(~e.flags&1024){writeKeyword(e.flags&16?"namespace":"module");writeSpace()}emit(e.name);var t=e.body;if(!t)return writeTrailingSemicolon();while(t.kind===249){writePunctuation(".");emit(t.name);t=t.body}writeSpace();emit(t)}function emitModuleBlock(t){pushNameGenerationScope(t);e.forEach(t.statements,generateNames);emitBlockStatements(t,isEmptyBlock(t));popNameGenerationScope(t)}function emitCaseBlock(e){emitTokenWithComment(18,e.pos,writePunctuation,e);emitList(e,e.clauses,129);emitTokenWithComment(19,e.clauses.end,writePunctuation,e,true)}function emitImportEqualsDeclaration(e){emitModifiers(e,e.modifiers);emitTokenWithComment(96,e.modifiers?e.modifiers.end:e.pos,writeKeyword,e);writeSpace();emit(e.name);writeSpace();emitTokenWithComment(62,e.name.end,writePunctuation,e);writeSpace();emitModuleReference(e.moduleReference);writeTrailingSemicolon()}function emitModuleReference(e){if(e.kind===75){emitExpression(e)}else{emit(e)}}function emitImportDeclaration(e){emitModifiers(e,e.modifiers);emitTokenWithComment(96,e.modifiers?e.modifiers.end:e.pos,writeKeyword,e);writeSpace();if(e.importClause){emit(e.importClause);writeSpace();emitTokenWithComment(149,e.importClause.end,writeKeyword,e);writeSpace()}emitExpression(e.moduleSpecifier);writeTrailingSemicolon()}function emitImportClause(e){if(e.isTypeOnly){emitTokenWithComment(145,e.pos,writeKeyword,e);writeSpace()}emit(e.name);if(e.name&&e.namedBindings){emitTokenWithComment(27,e.name.end,writePunctuation,e);writeSpace()}emit(e.namedBindings)}function emitNamespaceImport(e){var t=emitTokenWithComment(41,e.pos,writePunctuation,e);writeSpace();emitTokenWithComment(123,t,writeKeyword,e);writeSpace();emit(e.name)}function emitNamedImports(e){emitNamedImportsOrExports(e)}function emitImportSpecifier(e){emitImportOrExportSpecifier(e)}function emitExportAssignment(e){var t=emitTokenWithComment(89,e.pos,writeKeyword,e);writeSpace();if(e.isExportEquals){emitTokenWithComment(62,t,writeOperator,e)}else{emitTokenWithComment(84,t,writeKeyword,e)}writeSpace();emitExpression(e.expression);writeTrailingSemicolon()}function emitExportDeclaration(e){var t=emitTokenWithComment(89,e.pos,writeKeyword,e);writeSpace();if(e.isTypeOnly){t=emitTokenWithComment(145,t,writeKeyword,e);writeSpace()}if(e.exportClause){emit(e.exportClause)}else{t=emitTokenWithComment(41,t,writePunctuation,e)}if(e.moduleSpecifier){writeSpace();var r=e.exportClause?e.exportClause.end:t;emitTokenWithComment(149,r,writeKeyword,e);writeSpace();emitExpression(e.moduleSpecifier)}writeTrailingSemicolon()}function emitNamespaceExportDeclaration(e){var t=emitTokenWithComment(89,e.pos,writeKeyword,e);writeSpace();t=emitTokenWithComment(123,t,writeKeyword,e);writeSpace();t=emitTokenWithComment(136,t,writeKeyword,e);writeSpace();emit(e.name);writeTrailingSemicolon()}function emitNamespaceExport(e){var t=emitTokenWithComment(41,e.pos,writePunctuation,e);writeSpace();emitTokenWithComment(123,t,writeKeyword,e);writeSpace();emit(e.name)}function emitNamedExports(e){emitNamedImportsOrExports(e)}function emitExportSpecifier(e){emitImportOrExportSpecifier(e)}function emitNamedImportsOrExports(e){writePunctuation("{");emitList(e,e.elements,525136);writePunctuation("}")}function emitImportOrExportSpecifier(e){if(e.propertyName){emit(e.propertyName);writeSpace();emitTokenWithComment(123,e.propertyName.end,writeKeyword,e);writeSpace()}emit(e.name)}function emitExternalModuleReference(e){writeKeyword("require");writePunctuation("(");emitExpression(e.expression);writePunctuation(")")}function emitJsxElement(e){emit(e.openingElement);emitList(e,e.children,262144);emit(e.closingElement)}function emitJsxSelfClosingElement(e){writePunctuation("<");emitJsxTagName(e.tagName);emitTypeArguments(e,e.typeArguments);writeSpace();emit(e.attributes);writePunctuation("/>")}function emitJsxFragment(e){emit(e.openingFragment);emitList(e,e.children,262144);emit(e.closingFragment)}function emitJsxOpeningElementOrFragment(t){writePunctuation("<");if(e.isJsxOpeningElement(t)){var r=writeLineSeparatorsAndIndentBefore(t.tagName,t);emitJsxTagName(t.tagName);emitTypeArguments(t,t.typeArguments);if(t.attributes.properties&&t.attributes.properties.length>0){writeSpace()}emit(t.attributes);writeLineSeparatorsAfter(t.attributes,t);decreaseIndentIf(r)}writePunctuation(">")}function emitJsxText(e){N.writeLiteral(e.text)}function emitJsxClosingElementOrFragment(t){writePunctuation("")}function emitJsxAttributes(e){emitList(e,e.properties,262656)}function emitJsxAttribute(e){emit(e.name);emitNodeWithPrefix("=",writePunctuation,e.initializer,emitJsxAttributeValue)}function emitJsxSpreadAttribute(e){writePunctuation("{...");emitExpression(e.expression);writePunctuation("}")}function emitJsxExpression(e){if(e.expression){writePunctuation("{");emit(e.dotDotDotToken);emitExpression(e.expression);writePunctuation("}")}}function emitJsxTagName(e){if(e.kind===75){emitExpression(e)}else{emit(e)}}function emitCaseClause(e){emitTokenWithComment(78,e.pos,writeKeyword,e);writeSpace();emitExpression(e.expression);emitCaseOrDefaultClauseRest(e,e.statements,e.expression.end)}function emitDefaultClause(e){var t=emitTokenWithComment(84,e.pos,writeKeyword,e);emitCaseOrDefaultClauseRest(e,e.statements,t)}function emitCaseOrDefaultClauseRest(t,r,n){var i=r.length===1&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r[0])||e.rangeStartPositionsAreOnSameLine(t,r[0],h));var a=163969;if(i){writeToken(58,n,writePunctuation,t);writeSpace();a&=~(1|128)}else{emitTokenWithComment(58,n,writePunctuation,t)}emitList(t,r,a)}function emitHeritageClause(e){writeSpace();writeTokenText(e.token,writeKeyword);writeSpace();emitList(e,e.types,528)}function emitCatchClause(e){var t=emitTokenWithComment(79,e.pos,writeKeyword,e);writeSpace();if(e.variableDeclaration){emitTokenWithComment(20,t,writePunctuation,e);emit(e.variableDeclaration);emitTokenWithComment(21,e.variableDeclaration.end,writePunctuation,e);writeSpace()}emit(e.block)}function emitPropertyAssignment(t){emit(t.name);writePunctuation(":");writeSpace();var r=t.initializer;if(emitTrailingCommentsOfPosition&&(e.getEmitFlags(r)&512)===0){var n=e.getCommentRange(r);emitTrailingCommentsOfPosition(n.pos)}emitExpression(r)}function emitShorthandPropertyAssignment(e){emit(e.name);if(e.objectAssignmentInitializer){writeSpace();writePunctuation("=");writeSpace();emitExpression(e.objectAssignmentInitializer)}}function emitSpreadAssignment(e){if(e.expression){emitTokenWithComment(25,e.pos,writePunctuation,e);emitExpression(e.expression)}}function emitEnumMember(e){emit(e.name);emitInitializer(e.initializer,e.name.end,e)}function emitJSDoc(e){A("/**");if(e.comment){var t=e.comment.split(/\r\n?|\n/g);for(var r=0,n=t;r');if(P)P.sections.push({pos:i,end:N.getTextPos(),kind:"no-default-lib"});writeLine()}if(h&&h.moduleName){writeComment('/// ');writeLine()}if(h&&h.amdDependencies){for(var a=0,o=h.amdDependencies;a')}else{writeComment('/// ')}writeLine()}}for(var c=0,l=t;c');if(P)P.sections.push({pos:i,end:N.getTextPos(),kind:"reference",data:u.fileName});writeLine()}for(var d=0,p=r;d');if(P)P.sections.push({pos:i,end:N.getTextPos(),kind:"type",data:u.fileName});writeLine()}for(var f=0,g=n;f');if(P)P.sections.push({pos:i,end:N.getTextPos(),kind:"lib",data:u.fileName});writeLine()}}function emitSourceFileWorker(t){var r=t.statements;pushNameGenerationScope(t);e.forEach(t.statements,generateNames);emitHelpers(t);var n=e.findIndex(r,(function(t){return!e.isPrologueDirective(t)}));emitTripleSlashDirectivesIfNeeded(t);emitList(t,r,1,n===-1?r.length:n);popNameGenerationScope(t)}function emitPartiallyEmittedExpression(e){emitExpression(e.expression)}function emitCommaList(e){emitExpressionList(e,e.elements,528)}function emitPrologueDirectives(t,r,n,i){var a=!!r;for(var o=0;o=n.length||o===0;if(c&&i&32768){if(u){u(n)}if(d){d(n)}return}if(i&15360){writePunctuation(getOpeningBracket(i));if(c&&!s){emitTrailingCommentsOfPosition(n.pos,true)}}if(u){u(n)}if(c){if(i&1&&!(E&&e.rangeIsOnSingleLine(r,h))){writeLine()}else if(i&256&&!(i&524288)){writeSpace()}}else{var l=(i&262144)===0;var p=l;var f=getLeadingLineTerminatorCount(r,n,i);if(f){writeLine(f);p=false}else if(i&256){writeSpace()}if(i&128){increaseIndent()}var g=void 0;var m=void 0;var _=false;for(var y=0;y0){if((i&(3|128))===0){increaseIndent();_=true}writeLine(T);p=false}else if(g&&i&512){writeSpace()}}m=recordBundleFileInternalSectionStart(v);if(p){if(emitTrailingCommentsOfPosition){var b=e.getCommentRange(v);emitTrailingCommentsOfPosition(b.pos)}}else{p=l}t(v);if(_){decreaseIndent();_=false}g=v}var S=i&64&&n.hasTrailingComma;if(i&16&&S){writePunctuation(",")}if(g&&i&60&&g.end!==r.end&&!(e.getEmitFlags(g)&1024)){emitLeadingCommentsOfPosition(g.end)}if(i&128){decreaseIndent()}recordBundleFileInternalSectionEnd(m);var x=getClosingLineTerminatorCount(r,n,i);if(x){writeLine(x)}else if(i&(2097152|256)){writeSpace()}}if(d){d(n)}if(i&15360){if(c&&!s){emitLeadingCommentsOfPosition(n.end)}writePunctuation(getClosingBracket(i))}}function writeLiteral(e){N.writeLiteral(e)}function writeStringLiteral(e){N.writeStringLiteral(e)}function writeBase(e){N.write(e)}function writeSymbol(e,t){N.writeSymbol(e,t)}function writePunctuation(e){N.writePunctuation(e)}function writeTrailingSemicolon(){N.writeTrailingSemicolon(";")}function writeKeyword(e){N.writeKeyword(e)}function writeOperator(e){N.writeOperator(e)}function writeParameter(e){N.writeParameter(e)}function writeComment(e){N.writeComment(e)}function writeSpace(){N.writeSpace(" ")}function writeProperty(e){N.writeProperty(e)}function writeLine(e){if(e===void 0){e=1}for(var t=0;t0)}}function increaseIndent(){N.increaseIndent()}function decreaseIndent(){N.decreaseIndent()}function writeToken(e,t,r,n){return!L?emitTokenWithSourceMap(n,e,r,t,writeTokenText):writeTokenText(e,r,t)}function writeTokenNode(t,r){if(p){p(t)}r(e.tokenToString(t.kind));if(f){f(t)}}function writeTokenText(t,r,n){var i=e.tokenToString(t);r(i);return n<0?n:n+i.length}function writeLineOrSpace(t){if(e.getEmitFlags(t)&1){writeSpace()}else{writeLine()}}function writeLines(t){var r=t.split(/\r\n?|\n/g);var n=e.guessIndentation(r);for(var i=0,a=r;i0||o>0)&&a!==o){if(!c){emitLeadingComments(a,s)}if(!c||a>=0&&(n&512)!==0){J=a}if(!l||o>=0&&(n&1024)!==0){W=o;if(r.kind===243){U=o}}}e.forEach(e.getSyntheticLeadingComments(r),emitLeadingSynthesizedComment);X();var f=getNextPipelinePhase(2,t,r);if(n&2048){K=true;f(t,r);K=false}else{f(t,r)}Q();e.forEach(e.getSyntheticTrailingComments(r),emitTrailingSynthesizedComment);if((a>0||o>0)&&a!==o){J=u;W=d;U=p;if(!l&&s){emitTrailingComments(o)}}X();e.Debug.assert(q===r||G===r)}function emitLeadingSynthesizedComment(e){if(e.kind===2){N.writeLine()}writeSynthesizedComment(e);if(e.hasTrailingNewLine||e.kind===2){N.writeLine()}else{N.writeSpace(" ")}}function emitTrailingSynthesizedComment(e){if(!N.isAtStartOfLine()){N.writeSpace(" ")}writeSynthesizedComment(e);if(e.hasTrailingNewLine){N.writeLine()}}function writeSynthesizedComment(t){var r=formatSynthesizedComment(t);var n=t.kind===3?e.computeLineStarts(r):undefined;e.writeCommentRange(r,n,N,0,r.length,m)}function formatSynthesizedComment(e){return e.kind===3?"/*"+e.text+"*/":"//"+e.text}function emitBodyWithDetachedComments(t,r,n){Q();var i=r.pos,a=r.end;var o=e.getEmitFlags(t);var s=i<0||(o&512)!==0;var c=K||a<0||(o&1024)!==0;if(!s){emitDetachedCommentsAndUpdateCommentsInfo(r)}X();if(o&2048&&!K){K=true;n(t);K=false}else{n(t)}Q();if(!c){emitLeadingComments(r.end,true);if(H&&!N.isAtStartOfLine()){N.writeLine()}}X()}function emitLeadingComments(e,t){H=false;if(t){forEachLeadingCommentToEmit(e,emitLeadingComment)}else if(e===0){forEachLeadingCommentToEmit(e,emitTripleSlashLeadingComment)}}function emitTripleSlashLeadingComment(e,t,r,n,i){if(isTripleSlashComment(e,t)){emitLeadingComment(e,t,r,n,i)}}function shouldWriteComment(r,n){if(t.onlyPrintJsDocStyle){return e.isJSDocLikeText(r,n)||e.isPinnedComment(r,n)}return true}function emitLeadingComment(t,r,n,i,a){if(!shouldWriteComment(h.text,t))return;if(!H){e.emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(),N,a,t);H=true}emitPos(t);e.writeCommentRange(h.text,getCurrentLineMap(),N,t,r,m);emitPos(r);if(i){N.writeLine()}else if(n===3){N.writeSpace(" ")}}function emitLeadingCommentsOfPosition(e){if(K||e===-1){return}emitLeadingComments(e,true)}function emitTrailingComments(e){forEachTrailingCommentToEmit(e,emitTrailingComment)}function emitTrailingComment(t,r,n,i){if(!shouldWriteComment(h.text,t))return;if(!N.isAtStartOfLine()){N.writeSpace(" ")}emitPos(t);e.writeCommentRange(h.text,getCurrentLineMap(),N,t,r,m);emitPos(r);if(i){N.writeLine()}}function emitTrailingCommentsOfPosition(e,t){if(K){return}Q();forEachTrailingCommentToEmit(e,t?emitTrailingComment:emitTrailingCommentOfPosition);X()}function emitTrailingCommentOfPosition(t,r,n,i){emitPos(t);e.writeCommentRange(h.text,getCurrentLineMap(),N,t,r,m);emitPos(r);if(i){N.writeLine()}else{N.writeSpace(" ")}}function forEachLeadingCommentToEmit(t,r){if(h&&(J===-1||t!==J)){if(hasDetachedComments(t)){forEachLeadingCommentWithoutDetachedComments(r)}else{e.forEachLeadingCommentRange(h.text,t,r,t)}}}function forEachTrailingCommentToEmit(t,r){if(h&&(W===-1||t!==W&&t!==U)){e.forEachTrailingCommentRange(h.text,t,r)}}function hasDetachedComments(t){return z!==undefined&&e.last(z).nodePos===t}function forEachLeadingCommentWithoutDetachedComments(t){var r=e.last(z).detachedCommentEndPos;if(z.length-1){z.pop()}else{z=undefined}e.forEachLeadingCommentRange(h.text,r,t,r)}function emitDetachedCommentsAndUpdateCommentsInfo(t){var r=e.emitDetachedComments(h.text,getCurrentLineMap(),N,emitComment,t,m,K);if(r){if(z){z.push(r)}else{z=[r]}}}function emitComment(t,r,n,i,a,o){if(!shouldWriteComment(h.text,i))return;emitPos(i);e.writeCommentRange(t,r,n,i,a,o);emitPos(a)}function isTripleSlashComment(t,r){return e.isRecognizedTripleSlashComment(h.text,t,r)}function getParsedSourceMap(t){if(t.parsedSourceMap===undefined&&t.sourceMapText!==undefined){t.parsedSourceMap=e.tryParseRawSourceMap(t.sourceMapText)||false}return t.parsedSourceMap||undefined}function pipelineEmitWithSourceMap(t,r){e.Debug.assert(q===r||G===r);var n=getNextPipelinePhase(3,t,r);if(e.isUnparsedSource(r)||e.isUnparsedPrepend(r)){n(t,r)}else if(e.isUnparsedNode(r)){var i=getParsedSourceMap(r.parent);if(i&&R){R.appendSourceMap(N.getLine(),N.getColumn(),i,r.parent.sourceMapPath,r.parent.getLineAndCharacterOfPosition(r.pos),r.parent.getLineAndCharacterOfPosition(r.end))}n(t,r)}else{var a=e.getSourceMapRange(r),o=a.pos,s=a.end,c=a.source,l=c===void 0?B:c;var u=e.getEmitFlags(r);if(r.kind!==325&&(u&16)===0&&o>=0){emitSourcePos(l,skipSourceTrivia(l,o))}if(u&64){L=true;n(t,r);L=false}else{n(t,r)}if(r.kind!==325&&(u&32)===0&&s>=0){emitSourcePos(l,s)}}e.Debug.assert(q===r||G===r)}function skipSourceTrivia(t,r){return t.skipTrivia?t.skipTrivia(r):e.skipTrivia(t.text,r)}function emitPos(t){if(L||e.positionIsSynthesized(t)||isJsonSourceMapSource(B)){return}var r=e.getLineAndCharacterOfPosition(B,t),n=r.line,i=r.character;R.addMapping(N.getLine(),N.getColumn(),j,n,i,undefined)}function emitSourcePos(e,t){if(e!==B){var r=B;setSourceMapSource(e);emitPos(t);setSourceMapSource(r)}else{emitPos(t)}}function emitTokenWithSourceMap(t,r,n,i,a){if(L||t&&e.isInJsonFile(t)){return a(r,n,i)}var o=t&&t.emitNode;var s=o&&o.flags||0;var c=o&&o.tokenSourceMapRanges&&o.tokenSourceMapRanges[r];var l=c&&c.source||B;i=skipSourceTrivia(l,c?c.pos:i);if((s&128)===0&&i>=0){emitSourcePos(l,i)}i=a(r,n,i);if(c)i=c.end;if((s&256)===0&&i>=0){emitSourcePos(l,i)}return i}function setSourceMapSource(e){if(L){return}B=e;if(isJsonSourceMapSource(e)){return}j=R.addSource(e.fileName);if(t.inlineSources){R.setSourceContent(j,e.text)}}function isJsonSourceMapSource(t){return e.fileExtensionIs(t.fileName,".json")}}e.createPrinter=createPrinter;function createBracketsMap(){var e=[];e[1024]=["{","}"];e[2048]=["(",")"];e[4096]=["<",">"];e[8192]=["[","]"];return e}function getOpeningBracket(e){return t[e&15360][0]}function getClosingBracket(e){return t[e&15360][1]}var a;(function(e){e[e["Auto"]=0]="Auto";e[e["CountMask"]=268435455]="CountMask";e[e["_i"]=268435456]="_i"})(a||(a={}))})(l||(l={}));var l;(function(e){function createCachedDirectoryStructureHost(t,r,n){if(!t.getDirectories||!t.readDirectory){return undefined}var i=e.createMap();var a=e.createGetCanonicalFileName(n);return{useCaseSensitiveFileNames:n,fileExists:fileExists,readFile:function(e,r){return t.readFile(e,r)},directoryExists:t.directoryExists&&directoryExists,getDirectories:getDirectories,readDirectory:readDirectory,createDirectory:t.createDirectory&&createDirectory,writeFile:t.writeFile&&writeFile,addOrDeleteFileOrDirectory:addOrDeleteFileOrDirectory,addOrDeleteFile:addOrDeleteFile,clearCache:clearCache,realpath:t.realpath&&realpath};function toPath(t){return e.toPath(t,r,a)}function getCachedFileSystemEntries(t){return i.get(e.ensureTrailingDirectorySeparator(t))}function getCachedFileSystemEntriesForBaseDir(t){return getCachedFileSystemEntries(e.getDirectoryPath(t))}function getBaseNameOfFileName(t){return e.getBaseFileName(e.normalizePath(t))}function createCachedFileSystemEntries(r,n){var a={files:e.map(t.readDirectory(r,undefined,undefined,["*.*"]),getBaseNameOfFileName)||[],directories:t.getDirectories(r)||[]};i.set(e.ensureTrailingDirectorySeparator(n),a);return a}function tryReadDirectory(t,r){r=e.ensureTrailingDirectorySeparator(r);var n=getCachedFileSystemEntries(r);if(n){return n}try{return createCachedFileSystemEntries(t,r)}catch(t){e.Debug.assert(!i.has(e.ensureTrailingDirectorySeparator(r)));return undefined}}function fileNameEqual(e,t){return a(e)===a(t)}function hasEntry(t,r){return e.some(t,(function(e){return fileNameEqual(e,r)}))}function updateFileSystemEntry(t,r,n){if(hasEntry(t,r)){if(!n){return e.filterMutate(t,(function(e){return!fileNameEqual(e,r)}))}}else if(n){return t.push(r)}}function writeFile(e,r,n){var i=toPath(e);var a=getCachedFileSystemEntriesForBaseDir(i);if(a){updateFilesOfFileSystemEntry(a,getBaseNameOfFileName(e),true)}return t.writeFile(e,r,n)}function fileExists(e){var r=toPath(e);var n=getCachedFileSystemEntriesForBaseDir(r);return n&&hasEntry(n.files,getBaseNameOfFileName(e))||t.fileExists(e)}function directoryExists(r){var n=toPath(r);return i.has(e.ensureTrailingDirectorySeparator(n))||t.directoryExists(r)}function createDirectory(e){var r=toPath(e);var n=getCachedFileSystemEntriesForBaseDir(r);var i=getBaseNameOfFileName(e);if(n){updateFileSystemEntry(n.directories,i,true)}t.createDirectory(e)}function getDirectories(e){var r=toPath(e);var n=tryReadDirectory(e,r);if(n){return n.directories.slice()}return t.getDirectories(e)}function readDirectory(i,a,o,s,c){var l=toPath(i);var u=tryReadDirectory(i,l);if(u){return e.matchFiles(i,a,o,s,n,r,c,getFileSystemEntries,realpath)}return t.readDirectory(i,a,o,s,c);function getFileSystemEntries(t){var r=toPath(t);if(r===l){return u}return tryReadDirectory(t,r)||e.emptyFileSystemEntries}}function realpath(e){return t.realpath?t.realpath(e):e}function addOrDeleteFileOrDirectory(e,r){var n=getCachedFileSystemEntries(r);if(n){clearCache();return undefined}var i=getCachedFileSystemEntriesForBaseDir(r);if(!i){return undefined}if(!t.directoryExists){clearCache();return undefined}var a=getBaseNameOfFileName(e);var o={fileExists:t.fileExists(r),directoryExists:t.directoryExists(r)};if(o.directoryExists||hasEntry(i.directories,a)){clearCache()}else{updateFilesOfFileSystemEntry(i,a,o.fileExists)}return o}function addOrDeleteFile(t,r,n){if(n===e.FileWatcherEventKind.Changed){return}var i=getCachedFileSystemEntriesForBaseDir(r);if(i){updateFilesOfFileSystemEntry(i,getBaseNameOfFileName(t),n===e.FileWatcherEventKind.Created)}}function updateFilesOfFileSystemEntry(e,t,r){updateFileSystemEntry(e.files,t,r)}function clearCache(){i.clear()}}e.createCachedDirectoryStructureHost=createCachedDirectoryStructureHost;var t;(function(e){e[e["None"]=0]="None";e[e["Partial"]=1]="Partial";e[e["Full"]=2]="Full"})(t=e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={}));function updateMissingFilePathsWatch(t,r,n){var i=t.getMissingFilePaths();var a=e.arrayToSet(i);e.mutateMap(r,a,{createNewValue:n,onDeleteValue:e.closeFileWatcher})}e.updateMissingFilePathsWatch=updateMissingFilePathsWatch;function updateWatchingWildcardDirectories(t,r,n){e.mutateMap(t,r,{createNewValue:createWildcardDirectoryWatcher,onDeleteValue:closeFileWatcherOf,onExistingValue:updateWildcardDirectoryWatcher});function createWildcardDirectoryWatcher(e,t){return{watcher:n(e,t),flags:t}}function updateWildcardDirectoryWatcher(e,r,n){if(e.flags===r){return}e.watcher.close();t.set(n,createWildcardDirectoryWatcher(n,r))}}e.updateWatchingWildcardDirectories=updateWatchingWildcardDirectories;function isEmittedFileOfProgram(e,t){if(!e){return false}return e.isEmittedFile(t)}e.isEmittedFileOfProgram=isEmittedFileOfProgram;var r;(function(e){e[e["None"]=0]="None";e[e["TriggerOnly"]=1]="TriggerOnly";e[e["Verbose"]=2]="Verbose"})(r=e.WatchLogLevel||(e.WatchLogLevel={}));function getWatchFactory(e,t,r){return getWatchFactoryWith(e,t,r,watchFile,watchDirectory)}e.getWatchFactory=getWatchFactory;function getWatchFactoryWith(t,n,i,a,o){var s=getCreateFileWatcher(t,a);var c=t===r.None?watchFilePath:s;var l=getCreateFileWatcher(t,o);if(t===r.Verbose&&e.sysLog===e.noop){e.setSysLog((function(e){return n(e)}))}return{watchFile:function(e,t,r,o,c,l,u){return s(e,t,r,o,c,undefined,l,u,a,n,"FileWatcher",i)},watchFilePath:function(e,t,r,o,s,l,u,d){return c(e,t,r,o,s,l,u,d,a,n,"FileWatcher",i)},watchDirectory:function(e,t,r,a,s,c,u){return l(e,t,r,a,s,undefined,c,u,o,n,"DirectoryWatcher",i)}}}function watchFile(e,t,r,n,i){return e.watchFile(t,r,n,i)}function watchFilePath(e,t,r,n,i,a){return watchFile(e,t,(function(e,t){return r(e,t,a)}),n,i)}function watchDirectory(e,t,r,n,i){return e.watchDirectory(t,r,(n&1)!==0,i)}function getCreateFileWatcher(e,t){switch(e){case r.None:return t;case r.TriggerOnly:return createFileWatcherWithTriggerLogging;case r.Verbose:return t===watchDirectory?createDirectoryWatcherWithLogging:createFileWatcherWithLogging}}function createFileWatcherWithLogging(e,t,r,n,i,a,o,s,c,l,u,d){l(u+":: Added:: "+getWatchInfo(t,n,i,o,s,d));var p=createFileWatcherWithTriggerLogging(e,t,r,n,i,a,o,s,c,l,u,d);return{close:function(){l(u+":: Close:: "+getWatchInfo(t,n,i,o,s,d));p.close()}}}function createDirectoryWatcherWithLogging(t,r,n,i,a,o,s,c,l,u,d,p){var f=d+":: Added:: "+getWatchInfo(r,i,a,s,c,p);u(f);var g=e.timestamp();var m=createFileWatcherWithTriggerLogging(t,r,n,i,a,o,s,c,l,u,d,p);var _=e.timestamp()-g;u("Elapsed:: "+_+"ms "+f);return{close:function(){var t=d+":: Close:: "+getWatchInfo(r,i,a,s,c,p);u(t);var n=e.timestamp();m.close();var o=e.timestamp()-n;u("Elapsed:: "+o+"ms "+t)}}}function createFileWatcherWithTriggerLogging(t,r,n,i,a,o,s,c,l,u,d,p){return l(t,r,(function(t,l){var f=d+":: Triggered with "+t+" "+(l!==undefined?l:"")+":: "+getWatchInfo(r,i,a,s,c,p);u(f);var g=e.timestamp();n(t,l,o);var m=e.timestamp()-g;u("Elapsed:: "+m+"ms "+f)}),i,a)}function getFallbackOptions(t){var r=t===null||t===void 0?void 0:t.fallbackPolling;return{watchFile:r!==undefined?r:e.WatchFileKind.PriorityPollingInterval}}e.getFallbackOptions=getFallbackOptions;function getWatchInfo(e,t,r,n,i,a){return"WatchInfo: "+e+" "+t+" "+JSON.stringify(r)+" "+(a?a(n,i):i===undefined?n:n+" "+i)}function closeFileWatcherOf(e){e.watcher.close()}e.closeFileWatcherOf=closeFileWatcherOf})(l||(l={}));var l;(function(e){function findConfigFile(t,r,n){if(n===void 0){n="tsconfig.json"}return e.forEachAncestorDirectory(t,(function(t){var i=e.combinePaths(t,n);return r(i)?i:undefined}))}e.findConfigFile=findConfigFile;function resolveTripleslashReference(t,r){var n=e.getDirectoryPath(r);var i=e.isRootedDiskPath(t)?t:e.combinePaths(n,t);return e.normalizePath(i)}e.resolveTripleslashReference=resolveTripleslashReference;function computeCommonSourceDirectoryOfFilenames(t,r,n){var i;var a=e.forEach(t,(function(t){var a=e.getNormalizedPathComponents(t,r);a.pop();if(!i){i=a;return}var o=Math.min(i.length,a.length);for(var s=0;s=4;var v=(m+1+"").length;if(h){v=Math.max(o.length,v)}var T="";for(var b=p;b<=m;b++){T+=u.getNewLine();if(h&&p+1=0){if(r.markUsed(o)){return o}var s=n.text.slice(a[o],a[o+1]).trim();if(s!==""&&!/^(\s*)\/\/(.*)$/.test(s)){return-1}o--}return-1}function getJSSyntacticDiagnosticsForFile(t){return runWithCancellationToken((function(){var r=[];walk(t,t);e.forEachChildRecursively(t,walk,walkArray);return r;function walk(t,n){switch(n.kind){case 156:case 159:case 161:if(n.questionToken===t){r.push(createDiagnosticForNode(t,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?"));return"skip"}case 160:case 162:case 163:case 164:case 201:case 244:case 202:case 242:if(n.type===t){r.push(createDiagnosticForNode(t,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files));return"skip"}}switch(t.kind){case 255:if(t.isTypeOnly){r.push(createDiagnosticForNode(t.parent,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type"));return"skip"}break;case 260:if(t.isTypeOnly){r.push(createDiagnosticForNode(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type"));return"skip"}break;case 253:r.push(createDiagnosticForNode(t,e.Diagnostics.import_can_only_be_used_in_TypeScript_files));return"skip";case 259:if(t.isExportEquals){r.push(createDiagnosticForNode(t,e.Diagnostics.export_can_only_be_used_in_TypeScript_files));return"skip"}break;case 279:var i=t;if(i.token===113){r.push(createDiagnosticForNode(t,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files));return"skip"}break;case 246:var a=e.tokenToString(114);e.Debug.assertIsDefined(a);r.push(createDiagnosticForNode(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,a));return"skip";case 249:var o=t.flags&16?e.tokenToString(136):e.tokenToString(135);e.Debug.assertIsDefined(o);r.push(createDiagnosticForNode(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,o));return"skip";case 247:r.push(createDiagnosticForNode(t,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files));return"skip";case 248:var s=e.Debug.checkDefined(e.tokenToString(88));r.push(createDiagnosticForNode(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,s));return"skip";case 218:r.push(createDiagnosticForNode(t,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files));return"skip";case 217:r.push(createDiagnosticForNode(t.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files));return"skip";case 199:e.Debug.fail()}}function walkArray(t,n){if(n.decorators===t&&!u.experimentalDecorators){r.push(createDiagnosticForNode(n,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning))}switch(n.kind){case 245:case 214:case 161:case 162:case 163:case 164:case 201:case 244:case 202:if(t===n.typeParameters){r.push(createDiagnosticForNodeArray(t,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files));return"skip"}case 225:if(t===n.modifiers){checkModifiers(n.modifiers,n.kind===225);return"skip"}break;case 159:if(t===n.modifiers){for(var i=0,a=t;i0);Object.defineProperties(o,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}});return o}function findSourceFile(t,r,n,i,a,o){if(ne){var s=getSourceOfProjectReferenceRedirect(t);if(!s&&O.realpath&&u.preserveSymlinks&&e.isDeclarationFileName(t)&&e.stringContains(t,e.nodeModulesPathPart)){var c=O.realpath(t);if(c!==t)s=getSourceOfProjectReferenceRedirect(c)}if(s){var l=e.isString(s)?findSourceFile(s,toPath(s),n,i,a,o):undefined;if(l)addFileToFilesByName(l,r,undefined);return l}}var d=t;if(Q.has(r)){var p=Q.get(r);addFileToRefFileMap(t,p||undefined,a);if(p&&u.forceConsistentCasingInFileNames){var f=p.fileName;var _=toPath(f)!==toPath(t);if(_){t=getProjectReferenceRedirect(t)||t}var y=e.getNormalizedAbsolutePathWithoutRoot(f,B);var h=e.getNormalizedAbsolutePathWithoutRoot(t,B);if(y!==h){reportFileNamesDifferOnlyInCasingError(t,p,a)}}if(p&&P.get(p.path)&&A===0){P.set(p.path,false);if(!u.noResolve){processReferencedFiles(p,n);processTypeReferenceDirectives(p)}if(!u.noLib){processLibReferenceDirectives(p)}F.set(p.path,false);processImportedModules(p)}else if(p&&F.get(p.path)){if(A0);S.fileName=t;S.path=r;S.resolvedPath=toPath(t);S.originalFileName=d;addFileToRefFileMap(t,S,a);if(O.useCaseSensitiveFileNames()){var E=e.toFileNameLowerCase(r);var I=Y.get(E);if(I){reportFileNamesDifferOnlyInCasingError(t,I,a)}else{Y.set(E,S)}}w=w||S.hasNoDefaultLib&&!i;if(!u.noResolve){processReferencedFiles(S,n);processTypeReferenceDirectives(S)}if(!u.noLib){processLibReferenceDirectives(S)}processImportedModules(S);if(n){g.push(S)}else{m.push(S)}}return S}function addFileToRefFileMap(t,r,n){if(n&&r){(x||(x=e.createMultiMap())).add(r.path,{referencedFileName:t,kind:n.kind,index:n.index,file:n.file.path})}}function addFileToFilesByName(e,t,r){if(r){Q.set(r,e);Q.set(t,e||false)}else{Q.set(t,e)}}function getProjectReferenceRedirect(e){var t=getProjectReferenceRedirectProject(e);return t&&getProjectReferenceOutputName(t,e)}function getProjectReferenceRedirectProject(t){if(!Z||!Z.length||e.fileExtensionIs(t,".d.ts")||e.fileExtensionIs(t,".json")){return undefined}return getResolvedProjectReferenceToRedirect(t)}function getProjectReferenceOutputName(t,r){var n=t.commandLine.options.outFile||t.commandLine.options.out;return n?e.changeExtension(n,".d.ts"):e.getOutputDeclarationFileName(r,t.commandLine,!O.useCaseSensitiveFileNames())}function getResolvedProjectReferenceToRedirect(t){if(te===undefined){te=e.createMap();forEachResolvedProjectReference((function(e,t){if(e&&toPath(u.configFilePath)!==t){e.commandLine.fileNames.forEach((function(e){return te.set(toPath(e),t)}))}}))}var r=te.get(toPath(t));return r&&getResolvedProjectReferenceByPath(r)}function forEachResolvedProjectReference(e){return forEachProjectReference(p,Z,(function(t,r,n){var i=(n?n.commandLine.projectReferences:p)[r];var a=toPath(resolveProjectReferencePath(i));return e(t,a)}))}function getSourceOfProjectReferenceRedirect(t){if(!e.isDeclarationFileName(t))return undefined;if(re===undefined){re=e.createMap();forEachResolvedProjectReference((function(t){if(t){var r=t.commandLine.options.outFile||t.commandLine.options.out;if(r){var n=e.changeExtension(r,".d.ts");re.set(toPath(n),true)}else{e.forEach(t.commandLine.fileNames,(function(r){if(!e.fileExtensionIs(r,".d.ts")&&!e.fileExtensionIs(r,".json")){var n=e.getOutputDeclarationFileName(r,t.commandLine,O.useCaseSensitiveFileNames());re.set(toPath(n),r)}}))}}}))}return re.get(toPath(t))}function isSourceOfProjectReferenceRedirect(e){return ne&&!!getResolvedProjectReferenceToRedirect(e)}function forEachProjectReference(t,r,n,i){var a;return worker(t,r,undefined,n,i);function worker(t,r,n,i,o){if(o){var s=o(t,n);if(s){return s}}return e.forEach(r,(function(t,r){if(e.contains(a,t)){return undefined}var s=i(t,r,n);if(s){return s}if(!t)return undefined;(a||(a=[])).push(t);return worker(t.commandLine.projectReferences,t.references,t,i,o)}))}}function getResolvedProjectReferenceByPath(e){if(!ee){return undefined}return ee.get(e)||undefined}function processReferencedFiles(t,r){e.forEach(t.referencedFiles,(function(n,i){var a=resolveTripleslashReference(n.fileName,t.originalFileName);processSourceFile(a,r,false,undefined,{kind:e.RefFileKind.ReferenceFile,index:i,file:t,pos:n.pos,end:n.end})}))}function processTypeReferenceDirectives(t){var r=e.map(t.typeReferenceDirectives,(function(t){return e.toFileNameLowerCase(t.fileName)}));if(!r){return}var n=resolveTypeReferenceDirectiveNamesWorker(r,t.originalFileName,getResolvedProjectReferenceToRedirect(t.originalFileName));for(var i=0;ik;var p=l&&!getResolutionDiagnostic(u,a)&&!u.noResolve&&i1}))){createDiagnosticForOptionName(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}}if(u.useDefineForClassFields&&p===0){createDiagnosticForOptionName(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields")}if(u.checkJs&&!u.allowJs){R.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"))}if(u.emitDeclarationOnly){if(!e.getEmitDeclarations(u)){createDiagnosticForOptionName(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite")}if(u.noEmit){createDiagnosticForOptionName(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")}}if(u.emitDecoratorMetadata&&!u.experimentalDecorators){createDiagnosticForOptionName(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators")}if(u.jsxFactory){if(u.reactNamespace){createDiagnosticForOptionName(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory")}if(!e.parseIsolatedEntityName(u.jsxFactory,p)){createOptionValueDiagnostic("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,u.jsxFactory)}}else if(u.reactNamespace&&!e.isIdentifierText(u.reactNamespace,p)){createOptionValueDiagnostic("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,u.reactNamespace)}if(!u.noEmit&&!u.suppressOutputPathCheck){var v=getEmitHost();var T=e.createMap();e.forEachEmittedFile(v,(function(e){if(!u.emitDeclarationOnly){verifyEmitFilePath(e.jsFilePath,T)}verifyEmitFilePath(e.declarationFilePath,T)}))}function verifyEmitFilePath(t,r){if(t){var n=toPath(t);if(Q.has(n)){var i=void 0;if(!u.configFilePath){i=e.chainDiagnosticMessages(undefined,e.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)}i=e.chainDiagnosticMessages(i,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,t);blockEmittingOfFile(t,e.createCompilerDiagnosticFromMessageChain(i))}var a=!O.useCaseSensitiveFileNames()?e.toFileNameLowerCase(n):n;if(r.has(a)){blockEmittingOfFile(t,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,t))}else{r.set(a,true)}}}}function createFileDiagnosticAtReference(t,r){var i,a;var o=[];for(var s=2;sr){R.add(e.createDiagnosticForNodeInSourceFile(u.configFile,_.elements[r],n,i,a,o));s=false}}}}if(s){R.add(e.createCompilerDiagnostic(n,i,a,o))}}function createDiagnosticForOptionPaths(t,r,n,i){var a=true;var o=getOptionPathsSyntax();for(var s=0,c=o;sr){R.add(e.createDiagnosticForNodeInSourceFile(t||u.configFile,o.elements[r],n,i,a))}else{R.add(e.createCompilerDiagnostic(n,i,a))}}function createDiagnosticForOption(t,r,n,i,a,o,s){var c=getCompilerOptionsObjectLiteralSyntax();var l=!c||!createOptionDiagnosticInObjectLiteralSyntax(c,t,r,n,i,a,o,s);if(l){R.add(e.createCompilerDiagnostic(i,a,o,s))}}function getCompilerOptionsObjectLiteralSyntax(){if(U===undefined){U=null;var t=e.getTsConfigObjectLiteralExpression(u.configFile);if(t){for(var r=0,n=e.getPropertyAssignment(t,"compilerOptions");r0?{diagnostics:o,sourceMaps:undefined,emittedFiles:undefined,emitSkipped:true}:undefined}e.handleNoEmitOptions=handleNoEmitOptions;function parseConfigHostFromCompilerHostLike(t,r){if(r===void 0){r=t}return{fileExists:function(e){return r.fileExists(e)},readDirectory:function(t,n,i,a,o){e.Debug.assertIsDefined(r.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'");return r.readDirectory(t,n,i,a,o)},readFile:function(e){return r.readFile(e)},useCaseSensitiveFileNames:t.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return t.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:t.onUnRecoverableConfigFileDiagnostic||e.returnUndefined,trace:t.trace?function(e){return t.trace(e)}:undefined}}e.parseConfigHostFromCompilerHostLike=parseConfigHostFromCompilerHostLike;function createPrependNodes(t,r,n){if(!t)return e.emptyArray;var i;for(var a=0;a0){var a=t.getTypeChecker();for(var o=0,s=r.imports;o0){for(var d=0,p=r.referencedFiles;d1){addReferenceFromAmbientModule(b)}}return i;function addReferenceFromAmbientModule(t){for(var n=0,i=t.declarations;n1?p.outputFiles[1]:undefined:p.outputFiles.length>0?p.outputFiles[0]:undefined;if(f){e.Debug.assert(e.fileExtensionIs(f.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+e.getAnyExtensionFromPath(f.name)+" for "+f.name+":: All output files: "+JSON.stringify(p.outputFiles.map((function(e){return e.name})))}));u=o(f.text);if(s&&u!==l){updateExportedModules(n,p.exportedModulesFromDeclarationEmit,s)}}else{u=l}}i.set(n.resolvedPath,u);return!l||u!==l}t.updateShapeSignature=updateShapeSignature;function updateExportedModules(t,r,n){if(!r){n.set(t.resolvedPath,false);return}var i;r.forEach((function(e){return addExportedModule(getReferencedFileFromImportedModuleSymbol(e))}));n.set(t.resolvedPath,i||false);function addExportedModule(t){if(t){if(!i){i=e.createMap()}i.set(t,true)}}}function updateExportedFilesMapFromCache(t,r){if(r){e.Debug.assert(!!t.exportedModulesMap);r.forEach((function(e,r){if(e){t.exportedModulesMap.set(r,e)}else{t.exportedModulesMap.delete(r)}}))}}t.updateExportedFilesMapFromCache=updateExportedFilesMapFromCache;function getAllDependencies(t,r,n){var i=r.getCompilerOptions();if(i.outFile||i.out){return getAllFileNames(t,r)}if(!t.referencedMap||isFileAffectingGlobalScope(n)){return getAllFileNames(t,r)}var a=e.createMap();var o=[n.resolvedPath];while(o.length){var s=o.pop();if(!a.has(s)){a.set(s,true);var c=t.referencedMap.get(s);if(c){var l=c.keys();for(var u=l.next();!u.done;u=l.next()){o.push(u.value)}}}}return e.arrayFrom(e.mapDefinedIterator(a.keys(),(function(e){var t=r.getSourceFileByPath(e);return t?t.fileName:e})))}t.getAllDependencies=getAllDependencies;function getAllFileNames(t,r){if(!t.allFileNames){var n=r.getSourceFiles();t.allFileNames=n===e.emptyArray?e.emptyArray:n.map((function(e){return e.fileName}))}return t.allFileNames}function getReferencedByPaths(t,r){return e.arrayFrom(e.mapDefinedIterator(t.referencedMap.entries(),(function(e){var t=e[0],n=e[1];return n.has(r)?t:undefined})))}t.getReferencedByPaths=getReferencedByPaths;function containsOnlyAmbientModules(t){for(var r=0,n=t.statements;r0){var d=u.pop();if(!l.has(d)){var p=r.getSourceFileByPath(d);l.set(d,p);if(p&&updateShapeSignature(t,r,p,i,a,o,s)){u.push.apply(u,getReferencedByPaths(t,p.resolvedPath))}}}return e.arrayFrom(e.mapDefinedIterator(l.values(),(function(e){return e})))}})(t=e.BuilderState||(e.BuilderState={}));function cloneMapOrUndefined(t){return t?e.cloneMap(t):undefined}e.cloneMapOrUndefined=cloneMapOrUndefined})(l||(l={}));var l;(function(e){var t;(function(e){e[e["DtsOnly"]=0]="DtsOnly";e[e["Full"]=1]="Full"})(t=e.BuilderFileEmit||(e.BuilderFileEmit={}));function hasSameKeys(t,r){return t===r||t!==undefined&&r!==undefined&&t.size===r.size&&!e.forEachKey(t,(function(e){return!r.has(e)}))}function createBuilderProgramState(t,r,n){var i=e.BuilderState.create(t,r,n);i.program=t;var a=t.getCompilerOptions();i.compilerOptions=a;if(!a.outFile&&!a.out){i.semanticDiagnosticsPerFile=e.createMap()}i.changedFilesSet=e.createMap();var o=e.BuilderState.canReuseOldState(i.referencedMap,n);var s=o?n.compilerOptions:undefined;var c=o&&n.semanticDiagnosticsPerFile&&!!i.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(a,s);if(o){if(!n.currentChangedFilePath){var l=n.currentAffectedFilesSignatures;e.Debug.assert(!n.affectedFiles&&(!l||!l.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var u=n.changedFilesSet;if(c){e.Debug.assert(!u||!e.forEachKey(u,(function(e){return n.semanticDiagnosticsPerFile.has(e)})),"Semantic diagnostics shouldnt be available for changed files")}if(u){e.copyEntries(u,i.changedFilesSet)}if(!a.outFile&&!a.out&&n.affectedFilesPendingEmit){i.affectedFilesPendingEmit=n.affectedFilesPendingEmit.slice();i.affectedFilesPendingEmitKind=e.cloneMapOrUndefined(n.affectedFilesPendingEmitKind);i.affectedFilesPendingEmitIndex=n.affectedFilesPendingEmitIndex;i.seenAffectedFiles=e.createMap()}}var d=i.referencedMap;var p=o?n.referencedMap:undefined;var f=c&&!a.skipLibCheck===!s.skipLibCheck;var g=f&&!a.skipDefaultLibCheck===!s.skipDefaultLibCheck;i.fileInfos.forEach((function(a,s){var l;var u;if(!o||!(l=n.fileInfos.get(s))||l.version!==a.version||!hasSameKeys(u=d&&d.get(s),p&&p.get(s))||u&&e.forEachKey(u,(function(e){return!i.fileInfos.has(e)&&n.fileInfos.has(e)}))){i.changedFilesSet.set(s,true)}else if(c){var m=t.getSourceFileByPath(s);if(m.isDeclarationFile&&!f){return}if(m.hasNoDefaultLib&&!g){return}var _=n.semanticDiagnosticsPerFile.get(s);if(_){i.semanticDiagnosticsPerFile.set(s,n.hasReusableDiagnostic?convertToDiagnostics(_,t,r):_);if(!i.semanticDiagnosticsFromOldState){i.semanticDiagnosticsFromOldState=e.createMap()}i.semanticDiagnosticsFromOldState.set(s,true)}}}));if(o&&e.forEachEntry(n.fileInfos,(function(e,t){return e.affectsGlobalScope&&!i.fileInfos.has(t)}))){e.BuilderState.getAllFilesExcludingDefaultLibraryFile(i,t,undefined).forEach((function(e){return i.changedFilesSet.set(e.resolvedPath,true)}))}else if(s&&e.compilerOptionsAffectEmit(a,s)){t.getSourceFiles().forEach((function(e){return addToAffectedFilesPendingEmit(i,e.resolvedPath,1)}));e.Debug.assert(!i.seenAffectedFiles||!i.seenAffectedFiles.size);i.seenAffectedFiles=i.seenAffectedFiles||e.createMap()}i.emittedBuildInfo=!i.changedFilesSet.size&&!i.affectedFilesPendingEmit;return i}function convertToDiagnostics(t,r,n){if(!t.length)return e.emptyArray;var i=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(r.getCompilerOptions()),r.getCurrentDirectory()));return t.map((function(t){var n=convertToDiagnosticRelatedInformation(t,r,toPath);n.reportsUnnecessary=t.reportsUnnecessary;n.source=t.source;var i=t.relatedInformation;n.relatedInformation=i?i.length?i.map((function(e){return convertToDiagnosticRelatedInformation(e,r,toPath)})):e.emptyArray:undefined;return n}));function toPath(t){return e.toPath(t,i,n)}}function convertToDiagnosticRelatedInformation(e,t,r){var n=e.file;return i(i({},e),{file:n?t.getSourceFileByPath(r(n)):undefined})}function releaseCache(t){e.BuilderState.releaseCache(t);t.program=undefined}function cloneBuilderProgramState(t){var r=e.BuilderState.clone(t);r.semanticDiagnosticsPerFile=e.cloneMapOrUndefined(t.semanticDiagnosticsPerFile);r.changedFilesSet=e.cloneMap(t.changedFilesSet);r.affectedFiles=t.affectedFiles;r.affectedFilesIndex=t.affectedFilesIndex;r.currentChangedFilePath=t.currentChangedFilePath;r.currentAffectedFilesSignatures=e.cloneMapOrUndefined(t.currentAffectedFilesSignatures);r.currentAffectedFilesExportedModulesMap=e.cloneMapOrUndefined(t.currentAffectedFilesExportedModulesMap);r.seenAffectedFiles=e.cloneMapOrUndefined(t.seenAffectedFiles);r.cleanedDiagnosticsOfLibFiles=t.cleanedDiagnosticsOfLibFiles;r.semanticDiagnosticsFromOldState=e.cloneMapOrUndefined(t.semanticDiagnosticsFromOldState);r.program=t.program;r.compilerOptions=t.compilerOptions;r.affectedFilesPendingEmit=t.affectedFilesPendingEmit&&t.affectedFilesPendingEmit.slice();r.affectedFilesPendingEmitKind=e.cloneMapOrUndefined(t.affectedFilesPendingEmitKind);r.affectedFilesPendingEmitIndex=t.affectedFilesPendingEmitIndex;r.seenEmittedFiles=e.cloneMapOrUndefined(t.seenEmittedFiles);r.programEmitComplete=t.programEmitComplete;return r}function assertSourceFileOkWithoutNextAffectedCall(t,r){e.Debug.assert(!r||!t.affectedFiles||t.affectedFiles[t.affectedFilesIndex-1]!==r||!t.semanticDiagnosticsPerFile.has(r.resolvedPath))}function getNextAffectedFile(t,r,n){while(true){var i=t.affectedFiles;if(i){var a=t.seenAffectedFiles;var o=t.affectedFilesIndex;while(o0){var o=a.pop();if(!i.has(o)){i.set(o,true);var s=n(t,o);if(s&&isChangedSignagure(t,o)){var c=e.Debug.checkDefined(t.program).getSourceFileByPath(o);a.push.apply(a,e.BuilderState.getReferencedByPaths(t,c.resolvedPath))}}}}e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap);var l=e.createMap();if(e.forEachEntry(t.currentAffectedFilesExportedModulesMap,(function(e,i){return e&&e.has(r.resolvedPath)&&forEachFilesReferencingPath(t,i,l,n)}))){return}e.forEachEntry(t.exportedModulesMap,(function(e,i){return!t.currentAffectedFilesExportedModulesMap.has(i)&&e.has(r.resolvedPath)&&forEachFilesReferencingPath(t,i,l,n)}))}function forEachFilesReferencingPath(t,r,n,i){return e.forEachEntry(t.referencedMap,(function(e,a){return e.has(r)&&forEachFileAndExportsOfFile(t,a,n,i)}))}function forEachFileAndExportsOfFile(t,r,n,i){if(!e.addToSeen(n,r)){return false}if(i(t,r)){return true}e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap);if(e.forEachEntry(t.currentAffectedFilesExportedModulesMap,(function(e,a){return e&&e.has(r)&&forEachFileAndExportsOfFile(t,a,n,i)}))){return true}if(e.forEachEntry(t.exportedModulesMap,(function(e,a){return!t.currentAffectedFilesExportedModulesMap.has(a)&&e.has(r)&&forEachFileAndExportsOfFile(t,a,n,i)}))){return true}return!!e.forEachEntry(t.referencedMap,(function(e,a){return e.has(r)&&!n.has(a)&&i(t,a)}))}function doneWithAffectedFile(t,r,n,i,a){if(a){t.emittedBuildInfo=true}else if(r===t.program){t.changedFilesSet.clear();t.programEmitComplete=true}else{t.seenAffectedFiles.set(r.resolvedPath,true);if(n!==undefined){(t.seenEmittedFiles||(t.seenEmittedFiles=e.createMap())).set(r.resolvedPath,n)}if(i){t.affectedFilesPendingEmitIndex++}else{t.affectedFilesIndex++}}}function toAffectedFileResult(e,t,r){doneWithAffectedFile(e,r);return{result:t,affected:r}}function toAffectedFileEmitResult(e,t,r,n,i,a){doneWithAffectedFile(e,r,n,i,a);return{result:t,affected:r}}function getSemanticDiagnosticsOfFile(t,r,n){return e.concatenate(getBinderAndCheckerDiagnosticsOfFile(t,r,n),e.Debug.checkDefined(t.program).getProgramDiagnostics(r))}function getBinderAndCheckerDiagnosticsOfFile(t,r,n){var i=r.resolvedPath;if(t.semanticDiagnosticsPerFile){var a=t.semanticDiagnosticsPerFile.get(i);if(a){return a}}var o=e.Debug.checkDefined(t.program).getBindAndCheckDiagnostics(r,n);if(t.semanticDiagnosticsPerFile){t.semanticDiagnosticsPerFile.set(i,o)}return o}function getProgramBuildInfo(t,r){if(t.compilerOptions.outFile||t.compilerOptions.out)return undefined;var n=e.Debug.checkDefined(t.program).getCurrentDirectory();var i=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(t.compilerOptions),n));var a={};t.fileInfos.forEach((function(e,r){var n=t.currentAffectedFilesSignatures&&t.currentAffectedFilesSignatures.get(r);a[relativeToBuildInfo(r)]=n===undefined?e:{version:e.version,signature:n,affectsGlobalScope:e.affectsGlobalScope}}));var o={fileInfos:a,options:convertToReusableCompilerOptions(t.compilerOptions,relativeToBuildInfoEnsuringAbsolutePath)};if(t.referencedMap){var s={};for(var c=0,l=e.arrayFrom(t.referencedMap.keys()).sort(e.compareStringsCaseSensitive);c1||t.charCodeAt(0)!==47;if(a&&t.search(/[a-zA-Z]:/)!==0&&i.search(/[a-zA-z]\$\//)===0){n=t.indexOf(e.directorySeparator,n+1);if(n===-1){return false}i=t.substring(r+i.length,n+1)}if(a&&i.search(/users\//i)!==0){return true}for(var o=n+1,s=2;s>0;s--){o=t.indexOf(e.directorySeparator,o)+1;if(o===0){return false}}return true}e.canWatchDirectory=canWatchDirectory;function createResolutionCache(t,r,n){var i;var a;var o;var s=e.createMultiMap();var c=[];var l=e.createMultiMap();var u=e.memoize((function(){return t.getCurrentDirectory()}));var d=t.getCachedDirectoryStructureHost();var p=e.createMap();var f=e.createCacheWithRedirects();var g=e.createCacheWithRedirects();var m=e.createModuleResolutionCacheWithMaps(f,g,u(),t.getCanonicalFileName);var _=e.createMap();var y=e.createCacheWithRedirects();var h=[".ts",".tsx",".js",".jsx",".json"];var v=e.createMap();var T=e.createMap();var b=r&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(r,u()));var S=b&&t.toPath(b);var x=S!==undefined?S.split(e.directorySeparator).length:0;var D=e.createMap();return{startRecordingFilesWithChangedResolutions:startRecordingFilesWithChangedResolutions,finishRecordingFilesWithChangedResolutions:finishRecordingFilesWithChangedResolutions,startCachingPerDirectoryResolution:clearPerDirectoryResolutions,finishCachingPerDirectoryResolution:finishCachingPerDirectoryResolution,resolveModuleNames:resolveModuleNames,getResolvedModuleWithFailedLookupLocationsFromCache:getResolvedModuleWithFailedLookupLocationsFromCache,resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,removeResolutionsFromProjectReferenceRedirects:removeResolutionsFromProjectReferenceRedirects,removeResolutionsOfFile:removeResolutionsOfFile,invalidateResolutionOfFile:invalidateResolutionOfFile,setFilesWithInvalidatedNonRelativeUnresolvedImports:setFilesWithInvalidatedNonRelativeUnresolvedImports,createHasInvalidatedResolution:createHasInvalidatedResolution,updateTypeRootsWatch:updateTypeRootsWatch,closeTypeRootsWatch:closeTypeRootsWatch,clear:clear};function getResolvedModule(e){return e.resolvedModule}function getResolvedTypeReferenceDirective(e){return e.resolvedTypeReferenceDirective}function isInDirectoryPath(t,r){if(t===undefined||r.length<=t.length){return false}return e.startsWith(r,t)&&r[t.length]===e.directorySeparator}function clear(){e.clearMap(T,e.closeFileWatcherOf);v.clear();s.clear();closeTypeRootsWatch();p.clear();_.clear();l.clear();c.length=0;clearPerDirectoryResolutions()}function startRecordingFilesWithChangedResolutions(){i=[]}function finishRecordingFilesWithChangedResolutions(){var e=i;i=undefined;return e}function isFileWithInvalidatedNonRelativeUnresolvedImports(e){if(!o){return false}var t=o.get(e);return!!t&&!!t.length}function createHasInvalidatedResolution(t){if(t){a=undefined;return e.returnTrue}var r=a;a=undefined;return function(e){return!!r&&r.has(e)||isFileWithInvalidatedNonRelativeUnresolvedImports(e)}}function clearPerDirectoryResolutions(){f.clear();g.clear();y.clear();s.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);s.clear()}function finishCachingPerDirectoryResolution(){o=undefined;clearPerDirectoryResolutions();T.forEach((function(e,t){if(e.refCount===0){T.delete(t);e.watcher.close()}}))}function resolveModuleName(r,n,i,a,o){var s;var c=e.resolveModuleName(r,n,i,a,m,o);if(!t.getGlobalCache){return c}var l=t.getGlobalCache();if(l!==undefined&&!e.isExternalModuleNameRelative(r)&&!(c.resolvedModule&&e.extensionIsTS(c.resolvedModule.extension))){var u=e.loadModuleFromGlobalCache(e.Debug.checkDefined(t.globalCacheResolutionModuleName)(r),t.projectName,i,a,l),d=u.resolvedModule,p=u.failedLookupLocations;if(d){c.resolvedModule=d;(s=c.failedLookupLocations).push.apply(s,p);return c}}return c}function resolveNamesWithLocalCache(r){var n;var a=r.names,o=r.containingFile,s=r.redirectedReference,c=r.cache,l=r.perDirectoryCacheWithRedirects,u=r.loader,d=r.getResolutionWithResolvedFileName,p=r.shouldRetryResolution,f=r.reusedNames,g=r.logChanges;var m=t.toPath(o);var _=c.get(m)||c.set(m,e.createMap()).get(m);var y=e.getDirectoryPath(m);var h=l.getOrCreateMapOfCacheRedirects(s);var v=h.get(y);if(!v){v=e.createMap();h.set(y,v)}var T=[];var b=t.getCompilationSettings();var S=g&&isFileWithInvalidatedNonRelativeUnresolvedImports(m);var x=t.getCurrentProgram();var D=x&&x.getResolvedProjectReferenceToRedirect(o);var C=D?!s||s.sourceFile.path!==D.sourceFile.path:!!s;var E=e.createMap();for(var N=0,k=a;Nx+1){return{dir:i.slice(0,x+1).join(e.directorySeparator),dirPath:n.slice(0,x+1).join(e.directorySeparator)}}else{return{dir:b,dirPath:S,nonRecursive:false}}}return getDirectoryToWatchFromFailedLookupLocationDirectory(e.getDirectoryPath(e.getNormalizedAbsolutePath(t,u())),e.getDirectoryPath(r))}function getDirectoryToWatchFromFailedLookupLocationDirectory(t,r){while(e.pathContainsNodeModules(r)){t=e.getDirectoryPath(t);r=e.getDirectoryPath(r)}if(e.isNodeModulesDirectory(r)){return canWatchDirectory(e.getDirectoryPath(r))?{dir:t,dirPath:r}:undefined}var n=true;var i,a;if(S!==undefined){while(!isInDirectoryPath(r,S)){var o=e.getDirectoryPath(r);if(o===r){break}n=false;i=r;a=t;r=o;t=e.getDirectoryPath(t)}}return canWatchDirectory(r)?{dir:a||t,dirPath:i||r,nonRecursive:n}:undefined}function isPathWithDefaultFailedLookupExtension(t){return e.fileExtensionIsOneOf(t,h)}function watchFailedLookupLocationsOfExternalModuleResolutions(r,n,i,a){if(n.refCount){n.refCount++;e.Debug.assertDefined(n.files)}else{n.refCount=1;e.Debug.assert(n.files===undefined);if(e.isExternalModuleNameRelative(r)){watchFailedLookupLocationOfResolution(n)}else{s.add(r,n)}var o=a(n);if(o&&o.resolvedFileName){l.add(t.toPath(o.resolvedFileName),n)}}(n.files||(n.files=[])).push(i)}function watchFailedLookupLocationOfResolution(r){e.Debug.assert(!!r.refCount);var n=r.failedLookupLocations;if(!n.length)return;c.push(r);var i=false;for(var a=0,o=n;a1);v.set(f,_-1)}}if(m===S){s=true}else{removeDirectoryWatcher(m)}}}if(s){removeDirectoryWatcher(S)}}function removeDirectoryWatcher(e){var t=T.get(e);t.refCount--}function createDirectoryWatcher(e,r,n){return t.watchDirectoryOfFailedLookupLocation(e,(function(e){var n=t.toPath(e);if(d){d.addOrDeleteFileOrDirectory(e,n)}if(invalidateResolutionOfFailedLookupLocation(n,r===n)){t.onInvalidatedResolution()}}),n?0:1)}function removeResolutionsOfFileFromCache(e,t,r){var n=e.get(t);if(n){n.forEach((function(e){return stopWatchFailedLookupLocationOfResolution(e,t,r)}));e.delete(t)}}function removeResolutionsFromProjectReferenceRedirects(r){if(!e.fileExtensionIs(r,".json")){return}var n=t.getCurrentProgram();if(!n){return}var i=n.getResolvedProjectReferenceByPath(r);if(!i){return}i.commandLine.fileNames.forEach((function(e){return removeResolutionsOfFile(t.toPath(e))}))}function removeResolutionsOfFile(e){removeResolutionsOfFileFromCache(p,e,getResolvedModule);removeResolutionsOfFileFromCache(_,e,getResolvedTypeReferenceDirective)}function invalidateResolution(r){r.isInvalidated=true;var n=false;for(var i=0,o=e.Debug.assertDefined(r.files);i1){n.sort(comparePathsByNumberOfDirectorySeparators)}c.push.apply(c,n)}var i=e.getDirectoryPath(t);if(i===t)return l=t,"break";t=i;l=t};var l;for(var u=e.getDirectoryPath(e.toPath(t,i,a));o.size!==0;){var d=_loop_20(u);u=l;if(d==="break")break}if(o.size){var p=e.arrayFrom(o.values());if(p.length>1)p.sort(comparePathsByNumberOfDirectorySeparators);c.push.apply(c,p)}return c}function tryGetModuleNameFromAmbientModule(t){var r=e.find(t.declarations,(function(t){return e.isNonGlobalAmbientModule(t)&&(!e.isExternalModuleAugmentation(t)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(t.name)))}));if(r){return r.name.text}}function tryGetModuleNameFromPaths(t,r,n){for(var i in n){for(var a=0,o=n[i];a=u.length+d.length&&e.startsWith(r,u)&&e.endsWith(r,d)||!d&&r===e.removeTrailingDirectorySeparator(u)){var p=r.substr(u.length,r.length-d.length);return i.replace("*",p)}}else if(c===r||c===t){return i}}}}function tryGetModuleNameFromRootDirs(t,r,n,i,a,o){var s=getPathRelativeToRootDirs(r,t,i);if(s===undefined){return undefined}var c=getPathRelativeToRootDirs(n,t,i);var l=c!==undefined?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(c,s,i)):s;return e.getEmitModuleResolutionKind(o)===e.ModuleResolutionKind.NodeJs?removeExtensionAndIndexPostFix(l,a,o):e.removeFileExtension(l)}function tryGetModuleNameAsNodeModule(t,r,n,i,a){var o=r.getCanonicalFileName,s=r.sourceDirectory;if(!n.fileExists||!n.readFile){return undefined}var c=getNodeModulePathParts(t);if(!c){return undefined}var l=t;if(!a){var u=c.packageRootIndex;var d=void 0;while(true){var p=tryDirectoryWithPackageJson(u),f=p.moduleFileToTry,g=p.packageRootPath;if(g){l=g;break}if(!d)d=f;u=t.indexOf(e.directorySeparator,u+1);if(u===-1){l=getExtensionlessFileName(d);break}}}var m=n.getGlobalTypingsCacheLocation&&n.getGlobalTypingsCacheLocation();var _=o(l.substring(0,c.topLevelNodeModulesIndex));if(!(e.startsWith(s,_)||m&&e.startsWith(o(m),_))){return undefined}var y=l.substring(c.topLevelPackageNameIndex+1);var h=e.getPackageNameFromTypesPackageName(y);return e.getEmitModuleResolutionKind(i)!==e.ModuleResolutionKind.NodeJs&&h===y?undefined:h;function tryDirectoryWithPackageJson(r){var a=t.substring(0,r);var s=e.combinePaths(a,"package.json");var c=t;if(n.fileExists(s)){var l=JSON.parse(n.readFile(s));var u=l.typesVersions?e.getPackageJsonTypesVersionsPaths(l.typesVersions):undefined;if(u){var d=t.slice(a.length+1);var p=tryGetModuleNameFromPaths(e.removeFileExtension(d),removeExtensionAndIndexPostFix(d,0,i),u.paths);if(p!==undefined){c=e.combinePaths(a,p)}}var f=l.typings||l.types||l.main;if(e.isString(f)){var g=e.toPath(f,a,o);if(e.removeFileExtension(g)===e.removeFileExtension(o(c))){return{packageRootPath:a,moduleFileToTry:c}}}}return{moduleFileToTry:c}}function getExtensionlessFileName(t){var r=e.removeFileExtension(t);if(o(r.substring(c.fileNameIndex))==="/index"&&!tryGetAnyFileFromPath(n,r.substring(0,c.fileNameIndex))){return r.substring(0,c.fileNameIndex)}return r}}function tryGetAnyFileFromPath(t,r){if(!t.fileExists)return;var n=e.getSupportedExtensions({allowJs:true},[{extension:"node",isMixedContent:false},{extension:"json",isMixedContent:false,scriptKind:6}]);for(var i=0,a=n;i=0){s=c;c=t.indexOf("/",s+1);switch(l){case 0:if(t.indexOf(e.nodeModulesPathPart,s)===s){r=s;n=c;l=1}break;case 1:case 2:if(l===1&&t.charAt(s+1)==="@"){l=2}else{i=c;l=3}break;case 3:if(t.indexOf(e.nodeModulesPathPart,s)===s){l=1}else{l=3}break}}a=s;return l>1?{topLevelNodeModulesIndex:r,topLevelPackageNameIndex:n,packageRootIndex:i,fileNameIndex:a}:undefined}function getPathRelativeToRootDirs(t,r,n){return e.firstDefined(r,(function(e){var r=getRelativePathIfInDirectory(t,e,n);return isPathRelativeToParent(r)?undefined:r}))}function removeExtensionAndIndexPostFix(t,r,n){if(e.fileExtensionIs(t,".json"))return t;var i=e.removeFileExtension(t);switch(r){case 0:return e.removeSuffix(i,"/index");case 1:return i;case 2:return i+getJSExtensionForFile(t,n);default:return e.Debug.assertNever(r)}}function getJSExtensionForFile(t,r){var n=e.extensionFromPath(t);switch(n){case".ts":case".d.ts":return".js";case".tsx":return r.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return n;case".tsbuildinfo":return e.Debug.fail("Extension "+".tsbuildinfo"+" is unsupported:: FileName:: "+t);default:return e.Debug.assertNever(n)}}function getRelativePathIfInDirectory(t,r,n){var i=e.getRelativePathToDirectoryOrUrl(r,t,r,n,false);return e.isRootedDiskPath(i)?undefined:i}function isPathRelativeToParent(t){return e.startsWith(t,"..")}})(t=e.moduleSpecifiers||(e.moduleSpecifiers={}))})(l||(l={}));var l;(function(e){var t=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:undefined;function createDiagnosticReporter(r,n){var i=r===e.sys?t:{getCurrentDirectory:function(){return r.getCurrentDirectory()},getNewLine:function(){return r.newLine},getCanonicalFileName:e.createGetCanonicalFileName(r.useCaseSensitiveFileNames)};if(!n){return function(t){return r.write(e.formatDiagnostic(t,i))}}var a=new Array(1);return function(t){a[0]=t;r.write(e.formatDiagnosticsWithColorAndContext(a,i)+i.getNewLine());a[0]=undefined}}e.createDiagnosticReporter=createDiagnosticReporter;function clearScreenIfNotWatchingForFileChanges(t,r,n){if(t.clearScreen&&!n.preserveWatchOutput&&!n.extendedDiagnostics&&!n.diagnostics&&e.contains(e.screenStartingMessageCodes,r.code)){t.clearScreen();return true}return false}e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function getPlainDiagnosticFollowingNewLines(t,r){return e.contains(e.screenStartingMessageCodes,t.code)?r+r:r}function getLocaleTimeString(e){return!e.now?(new Date).toLocaleTimeString():e.now().toLocaleTimeString("en-US",{timeZone:"UTC"})}e.getLocaleTimeString=getLocaleTimeString;function createWatchStatusReporter(t,r){return r?function(r,n,i){clearScreenIfNotWatchingForFileChanges(t,r,i);var a="["+e.formatColorAndReset(getLocaleTimeString(t),e.ForegroundColorEscapeSequences.Grey)+"] ";a+=""+e.flattenDiagnosticMessageText(r.messageText,t.newLine)+(n+n);t.write(a)}:function(r,n,i){var a="";if(!clearScreenIfNotWatchingForFileChanges(t,r,i)){a+=n}a+=getLocaleTimeString(t)+" - ";a+=""+e.flattenDiagnosticMessageText(r.messageText,t.newLine)+getPlainDiagnosticFollowingNewLines(r,n);t.write(a)}}e.createWatchStatusReporter=createWatchStatusReporter;function parseConfigFileWithSystem(t,r,n,i,a){var o=i;o.onUnRecoverableConfigFileDiagnostic=function(e){return reportUnrecoverableDiagnostic(i,a,e)};var s=e.getParsedCommandLineOfConfigFile(t,r,o,undefined,n);o.onUnRecoverableConfigFileDiagnostic=undefined;return s}e.parseConfigFileWithSystem=parseConfigFileWithSystem;function getErrorCountForSummary(t){return e.countWhere(t,(function(t){return t.category===e.DiagnosticCategory.Error}))}e.getErrorCountForSummary=getErrorCountForSummary;function getWatchErrorSummaryDiagnosticMessage(t){return t===1?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}e.getWatchErrorSummaryDiagnosticMessage=getWatchErrorSummaryDiagnosticMessage;function getErrorSummaryText(t,r){if(t===0)return"";var n=e.createCompilerDiagnostic(t===1?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,t);return""+r+e.flattenDiagnosticMessageText(n.messageText,r)+r+r}e.getErrorSummaryText=getErrorSummaryText;function listFiles(t,r){if(t.getCompilerOptions().listFiles||t.getCompilerOptions().listFilesOnly){e.forEach(t.getSourceFiles(),(function(e){r(e.fileName)}))}}e.listFiles=listFiles;function emitFilesAndReportErrors(t,r,n,i,a,o,s,c){var l=!!t.getCompilerOptions().listFilesOnly;var u=t.getConfigFileParsingDiagnostics().slice();var d=u.length;e.addRange(u,t.getSyntacticDiagnostics(undefined,o));if(u.length===d){e.addRange(u,t.getOptionsDiagnostics(o));if(!l){e.addRange(u,t.getGlobalDiagnostics(o));if(u.length===d){e.addRange(u,t.getSemanticDiagnostics(undefined,o))}}}var p=l?{emitSkipped:true,diagnostics:e.emptyArray}:t.emit(undefined,a,o,s,c);var f=p.emittedFiles,g=p.diagnostics;e.addRange(u,g);var m=e.sortAndDeduplicateDiagnostics(u);m.forEach(r);if(n){var _=t.getCurrentDirectory();e.forEach(f,(function(t){var r=e.getNormalizedAbsolutePath(t,_);n("TSFILE: "+r)}));listFiles(t,n)}if(i){i(getErrorCountForSummary(m))}return{emitResult:p,diagnostics:m}}e.emitFilesAndReportErrors=emitFilesAndReportErrors;function emitFilesAndReportErrorsAndGetExitStatus(t,r,n,i,a,o,s,c){var l=emitFilesAndReportErrors(t,r,n,i,a,o,s,c),u=l.emitResult,d=l.diagnostics;if(u.emitSkipped&&d.length>0){return e.ExitStatus.DiagnosticsPresent_OutputsSkipped}else if(d.length>0){return e.ExitStatus.DiagnosticsPresent_OutputsGenerated}return e.ExitStatus.Success}e.emitFilesAndReportErrorsAndGetExitStatus=emitFilesAndReportErrorsAndGetExitStatus;e.noopFileWatcher={close:e.noop};function createWatchHost(t,r){if(t===void 0){t=e.sys}var n=r||createWatchStatusReporter(t);return{onWatchStatusChange:n,watchFile:e.maybeBind(t,t.watchFile)||function(){return e.noopFileWatcher},watchDirectory:e.maybeBind(t,t.watchDirectory)||function(){return e.noopFileWatcher},setTimeout:e.maybeBind(t,t.setTimeout)||e.noop,clearTimeout:e.maybeBind(t,t.clearTimeout)||e.noop}}e.createWatchHost=createWatchHost;e.WatchType={ConfigFile:"Config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots"};function createWatchFactory(t,r){var n=t.trace?r.extendedDiagnostics?e.WatchLogLevel.Verbose:r.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None;var i=n!==e.WatchLogLevel.None?function(e){return t.trace(e)}:e.noop;var a=e.getWatchFactory(n,i);a.writeLog=i;return a}e.createWatchFactory=createWatchFactory;function createCompilerHostFromProgramHost(t,r,n){if(n===void 0){n=t}var i=t.useCaseSensitiveFileNames();var a=e.memoize((function(){return t.getNewLine()}));return{getSourceFile:function(n,i,a){var o;try{e.performance.mark("beforeIORead");o=t.readFile(n,r().charset);e.performance.mark("afterIORead");e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){if(a){a(e.message)}o=""}return o!==undefined?e.createSourceFile(n,o,i):undefined},getDefaultLibLocation:e.maybeBind(t,t.getDefaultLibLocation),getDefaultLibFileName:function(e){return t.getDefaultLibFileName(e)},writeFile:writeFile,getCurrentDirectory:e.memoize((function(){return t.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return i},getCanonicalFileName:e.createGetCanonicalFileName(i),getNewLine:function(){return e.getNewLineCharacter(r(),a)},fileExists:function(e){return t.fileExists(e)},readFile:function(e){return t.readFile(e)},trace:e.maybeBind(t,t.trace),directoryExists:e.maybeBind(n,n.directoryExists),getDirectories:e.maybeBind(n,n.getDirectories),realpath:e.maybeBind(t,t.realpath),getEnvironmentVariable:e.maybeBind(t,t.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(t,t.createHash),readDirectory:e.maybeBind(t,t.readDirectory)};function writeFile(r,n,i,a){try{e.performance.mark("beforeIOWrite");e.writeFileEnsuringDirectories(r,n,i,(function(e,r,n){return t.writeFile(e,r,n)}),(function(e){return t.createDirectory(e)}),(function(e){return t.directoryExists(e)}));e.performance.mark("afterIOWrite");e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){if(a){a(e.message)}}}}e.createCompilerHostFromProgramHost=createCompilerHostFromProgramHost;function setGetSourceFileAsHashVersioned(t,r){var i=t.getSourceFile;var a=r.createHash||e.generateDjb2Hash;t.getSourceFile=function(){var e=[];for(var o=0;oe?t:e}function isDeclarationFile(t){return e.fileExtensionIs(t,".d.ts")}function isCircularBuildOrder(e){return!!e&&!!e.buildOrder}e.isCircularBuildOrder=isCircularBuildOrder;function getBuildOrderFromAnyBuildOrder(e){return isCircularBuildOrder(e)?e.buildOrder:e}e.getBuildOrderFromAnyBuildOrder=getBuildOrderFromAnyBuildOrder;function createBuilderStatusReporter(t,r){return function(n){var i=r?"["+e.formatColorAndReset(e.getLocaleTimeString(t),e.ForegroundColorEscapeSequences.Grey)+"] ":e.getLocaleTimeString(t)+" - ";i+=""+e.flattenDiagnosticMessageText(n.messageText,t.newLine)+(t.newLine+t.newLine);t.write(i)}}e.createBuilderStatusReporter=createBuilderStatusReporter;function createSolutionBuilderHostBase(t,r,n,i){var a=e.createProgramHost(t,r);a.getModifiedTime=t.getModifiedTime?function(e){return t.getModifiedTime(e)}:e.returnUndefined;a.setModifiedTime=t.setModifiedTime?function(e,r){return t.setModifiedTime(e,r)}:e.noop;a.deleteFile=t.deleteFile?function(e){return t.deleteFile(e)}:e.noop;a.reportDiagnostic=n||e.createDiagnosticReporter(t);a.reportSolutionBuilderStatus=i||createBuilderStatusReporter(t);a.now=e.maybeBind(t,t.now);return a}function createSolutionBuilderHost(t,r,n,i,a){if(t===void 0){t=e.sys}var o=createSolutionBuilderHostBase(t,r,n,i);o.reportErrorSummary=a;return o}e.createSolutionBuilderHost=createSolutionBuilderHost;function createSolutionBuilderWithWatchHost(t,r,n,i,a){if(t===void 0){t=e.sys}var o=createSolutionBuilderHostBase(t,r,n,i);var s=e.createWatchHost(t,a);e.copyProperties(o,s);return o}e.createSolutionBuilderWithWatchHost=createSolutionBuilderWithWatchHost;function getCompilerOptionsOfBuildOptions(t){var r={};e.commonOptionsWithBuild.forEach((function(n){if(e.hasProperty(t,n.name))r[n.name]=t[n.name]}));return r}function createSolutionBuilder(e,t,r){return createSolutionBuilderWorker(false,e,t,r)}e.createSolutionBuilder=createSolutionBuilder;function createSolutionBuilderWithWatch(e,t,r,n){return createSolutionBuilderWorker(true,e,t,r,n)}e.createSolutionBuilderWithWatch=createSolutionBuilderWithWatch;function createSolutionBuilderState(t,r,n,i,a){var o=r;var s=r;var c=o.getCurrentDirectory();var l=e.createGetCanonicalFileName(o.useCaseSensitiveFileNames());var u=getCompilerOptionsOfBuildOptions(i);var d=e.createCompilerHostFromProgramHost(o,(function(){return h.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(d,o);d.getParsedCommandLine=function(e){return parseConfigFile(h,e,toResolvedConfigFilePath(h,e))};d.resolveModuleNames=e.maybeBind(o,o.resolveModuleNames);d.resolveTypeReferenceDirectives=e.maybeBind(o,o.resolveTypeReferenceDirectives);var p=!d.resolveModuleNames?e.createModuleResolutionCache(c,l):undefined;if(!d.resolveModuleNames){var loader_3=function(t,r,n){return e.resolveModuleName(t,r,h.projectCompilerOptions,d,p,n).resolvedModule};d.resolveModuleNames=function(t,r,n,i){return e.loadWithLocalCache(e.Debug.checkEachDefined(t),r,i,loader_3)}}var f=e.createWatchFactory(s,i),g=f.watchFile,m=f.watchFilePath,_=f.watchDirectory,y=f.writeLog;var h={host:o,hostWithWatch:s,currentDirectory:c,getCanonicalFileName:l,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(o),writeFileName:o.trace?function(e){return o.trace(e)}:undefined,options:i,baseCompilerOptions:u,rootNames:n,baseWatchOptions:a,resolvedConfigFilePaths:e.createMap(),configFileCache:createConfigFileMap(),projectStatus:createConfigFileMap(),buildInfoChecked:createConfigFileMap(),extendedConfigCache:e.createMap(),builderPrograms:createConfigFileMap(),diagnostics:createConfigFileMap(),projectPendingBuild:createConfigFileMap(),projectErrorsReported:createConfigFileMap(),compilerHost:d,moduleResolutionCache:p,buildOrder:undefined,readFileWithCache:function(e){return o.readFile(e)},projectCompilerOptions:u,cache:undefined,allProjectBuildPending:true,needsSummary:true,watchAllProjectsPending:t,currentInvalidatedProject:undefined,watch:t,allWatchedWildcardDirectories:createConfigFileMap(),allWatchedInputFiles:createConfigFileMap(),allWatchedConfigFiles:createConfigFileMap(),timerToBuildInvalidatedProject:undefined,reportFileChangeDetected:false,watchFile:g,watchFilePath:m,watchDirectory:_,writeLog:y};return h}function toPath(t,r){return e.toPath(r,t.currentDirectory,t.getCanonicalFileName)}function toResolvedConfigFilePath(e,t){var r=e.resolvedConfigFilePaths;var n=r.get(t);if(n!==undefined)return n;var i=toPath(e,t);r.set(t,i);return i}function isParsedCommandLine(e){return!!e.options}function parseConfigFile(t,r,n){var i=t.configFileCache;var a=i.get(n);if(a){return isParsedCommandLine(a)?a:undefined}var o;var s=t.parseConfigFileHost,c=t.baseCompilerOptions,l=t.baseWatchOptions,u=t.extendedConfigCache,d=t.host;var p;if(d.getParsedCommandLine){p=d.getParsedCommandLine(r);if(!p)o=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,r)}else{s.onUnRecoverableConfigFileDiagnostic=function(e){return o=e};p=e.getParsedCommandLineOfConfigFile(r,c,s,u,l);s.onUnRecoverableConfigFileDiagnostic=e.noop}i.set(n,p||o);return p}function resolveProjectName(t,r){return e.resolveConfigFileProjectName(e.resolvePath(t.currentDirectory,r))}function createBuildOrder(t,r){var n=e.createMap();var i=e.createMap();var a=[];var o;var s;for(var c=0,l=r;ca)}}}function needsBuild(t,r,n){var i=t.options;if(r.type!==e.UpToDateStatusType.OutOfDateWithPrepend||i.force)return true;return n.fileNames.length===0||!!e.getConfigFileParsingDiagnostics(n).length||!e.isIncrementalCompilation(n.options)}function getNextInvalidatedProject(t,r,n){if(!t.projectPendingBuild.size)return undefined;if(isCircularBuildOrder(r))return undefined;if(t.currentInvalidatedProject){return e.arrayIsEqualTo(t.currentInvalidatedProject.buildOrder,r)?t.currentInvalidatedProject:undefined}var i=t.options,o=t.projectPendingBuild;for(var s=0;s0);var o={sourceFile:n.options.configFile,commandLine:n};i.directoryToModuleNameMap.setOwnMap(i.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(o));i.moduleNameToDirectoryMap.setOwnMap(i.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(o))}i.directoryToModuleNameMap.setOwnOptions(n.options);i.moduleNameToDirectoryMap.setOwnOptions(n.options)}function checkConfigFileUpToDateStatus(t,r,n,i){var a=t.host.getModifiedTime(r)||e.missingFileModifiedTime;if(ns){o=d;s=p}}if(!i.fileNames.length&&!e.canJsonReportNoInutFiles(i.raw)){return{type:e.UpToDateStatusType.ContainerOnly}}var f=e.getAllProjectOutputs(i,!c.useCaseSensitiveFileNames());var g="(none)";var m=r;var _="(none)";var y=t;var h;var v=t;var T=false;for(var b=0,S=f;by){y=D;_=x}if(isDeclarationFile(x)){var C=c.getModifiedTime(x)||e.missingFileModifiedTime;v=newer(v,C)}}var E=false;var N=false;var k;if(i.projectReferences){n.projectStatus.set(a,{type:e.UpToDateStatusType.ComputingUpstream});for(var A=0,F=i.projectReferences;A=0}t.hasArgument=hasArgument;function findArgument(t){var r=e.sys.args.indexOf(t);return r>=0&&rn){return 2}if(e.charCodeAt(0)===46){return 3}if(e.charCodeAt(0)===95){return 4}if(t){var r=/^@([^/]+)\/([^/]+)$/.exec(e);if(r){var i=validatePackageNameWorker(r[1],false);if(i!==0){return{name:r[1],isScopeName:true,result:i}}var a=validatePackageNameWorker(r[2],false);if(a!==0){return{name:r[2],isScopeName:false,result:a}}return 0}}if(encodeURIComponent(e)!==e){return 5}return 0}function renderPackageNameValidationFailure(e,t){return typeof e==="object"?renderPackageNameValidationFailureWorker(t,e.result,e.name,e.isScopeName):renderPackageNameValidationFailureWorker(t,e,t,false)}t.renderPackageNameValidationFailure=renderPackageNameValidationFailure;function renderPackageNameValidationFailureWorker(t,r,i,a){var o=a?"Scope":"Package";switch(r){case 1:return"'"+t+"':: "+o+" name '"+i+"' cannot be empty";case 2:return"'"+t+"':: "+o+" name '"+i+"' should be less than "+n+" characters";case 3:return"'"+t+"':: "+o+" name '"+i+"' cannot start with '.'";case 4:return"'"+t+"':: "+o+" name '"+i+"' cannot start with '_'";case 5:return"'"+t+"':: "+o+" name '"+i+"' contains non URI safe characters";case 0:return e.Debug.fail();default:throw e.Debug.assertNever(r)}}})(t=e.JsTyping||(e.JsTyping={}))})(l||(l={}));var l;(function(e){var t;(function(e){var t=function(){function StringScriptSnapshot(e){this.text=e}StringScriptSnapshot.prototype.getText=function(e,t){return e===0&&t===this.text.length?this.text:this.text.substring(e,t)};StringScriptSnapshot.prototype.getLength=function(){return this.text.length};StringScriptSnapshot.prototype.getChangeRange=function(){return undefined};return StringScriptSnapshot}();function fromString(e){return new t(e)}e.fromString=fromString})(t=e.ScriptSnapshot||(e.ScriptSnapshot={}));var r;(function(e){e[e["Dependencies"]=1]="Dependencies";e[e["DevDependencies"]=2]="DevDependencies";e[e["PeerDependencies"]=4]="PeerDependencies";e[e["OptionalDependencies"]=8]="OptionalDependencies";e[e["All"]=15]="All"})(r=e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={}));e.emptyOptions={};var n;(function(e){e["none"]="none";e["definition"]="definition";e["reference"]="reference";e["writtenReference"]="writtenReference"})(n=e.HighlightSpanKind||(e.HighlightSpanKind={}));var i;(function(e){e[e["None"]=0]="None";e[e["Block"]=1]="Block";e[e["Smart"]=2]="Smart"})(i=e.IndentStyle||(e.IndentStyle={}));var a;(function(e){e["Ignore"]="ignore";e["Insert"]="insert";e["Remove"]="remove"})(a=e.SemicolonPreference||(e.SemicolonPreference={}));function getDefaultFormatCodeSettings(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:true,indentStyle:i.Smart,insertSpaceAfterConstructor:false,insertSpaceAfterCommaDelimiter:true,insertSpaceAfterSemicolonInForStatements:true,insertSpaceBeforeAndAfterBinaryOperators:true,insertSpaceAfterKeywordsInControlFlowStatements:true,insertSpaceAfterFunctionKeywordForAnonymousFunctions:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:true,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:false,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:false,insertSpaceBeforeFunctionParenthesis:false,placeOpenBraceOnNewLineForFunctions:false,placeOpenBraceOnNewLineForControlBlocks:false,semicolons:a.Ignore,trimTrailingWhitespace:true}}e.getDefaultFormatCodeSettings=getDefaultFormatCodeSettings;e.testFormatSettings=getDefaultFormatCodeSettings("\n");var o;(function(e){e[e["aliasName"]=0]="aliasName";e[e["className"]=1]="className";e[e["enumName"]=2]="enumName";e[e["fieldName"]=3]="fieldName";e[e["interfaceName"]=4]="interfaceName";e[e["keyword"]=5]="keyword";e[e["lineBreak"]=6]="lineBreak";e[e["numericLiteral"]=7]="numericLiteral";e[e["stringLiteral"]=8]="stringLiteral";e[e["localName"]=9]="localName";e[e["methodName"]=10]="methodName";e[e["moduleName"]=11]="moduleName";e[e["operator"]=12]="operator";e[e["parameterName"]=13]="parameterName";e[e["propertyName"]=14]="propertyName";e[e["punctuation"]=15]="punctuation";e[e["space"]=16]="space";e[e["text"]=17]="text";e[e["typeParameterName"]=18]="typeParameterName";e[e["enumMemberName"]=19]="enumMemberName";e[e["functionName"]=20]="functionName";e[e["regularExpressionLiteral"]=21]="regularExpressionLiteral"})(o=e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={}));var s;(function(e){e["Comment"]="comment";e["Region"]="region";e["Code"]="code";e["Imports"]="imports"})(s=e.OutliningSpanKind||(e.OutliningSpanKind={}));var c;(function(e){e[e["JavaScript"]=0]="JavaScript";e[e["SourceMap"]=1]="SourceMap";e[e["Declaration"]=2]="Declaration"})(c=e.OutputFileType||(e.OutputFileType={}));var l;(function(e){e[e["None"]=0]="None";e[e["InMultiLineCommentTrivia"]=1]="InMultiLineCommentTrivia";e[e["InSingleQuoteStringLiteral"]=2]="InSingleQuoteStringLiteral";e[e["InDoubleQuoteStringLiteral"]=3]="InDoubleQuoteStringLiteral";e[e["InTemplateHeadOrNoSubstitutionTemplate"]=4]="InTemplateHeadOrNoSubstitutionTemplate";e[e["InTemplateMiddleOrTail"]=5]="InTemplateMiddleOrTail";e[e["InTemplateSubstitutionPosition"]=6]="InTemplateSubstitutionPosition"})(l=e.EndOfLineState||(e.EndOfLineState={}));var u;(function(e){e[e["Punctuation"]=0]="Punctuation";e[e["Keyword"]=1]="Keyword";e[e["Operator"]=2]="Operator";e[e["Comment"]=3]="Comment";e[e["Whitespace"]=4]="Whitespace";e[e["Identifier"]=5]="Identifier";e[e["NumberLiteral"]=6]="NumberLiteral";e[e["BigIntLiteral"]=7]="BigIntLiteral";e[e["StringLiteral"]=8]="StringLiteral";e[e["RegExpLiteral"]=9]="RegExpLiteral"})(u=e.TokenClass||(e.TokenClass={}));var d;(function(e){e["unknown"]="";e["warning"]="warning";e["keyword"]="keyword";e["scriptElement"]="script";e["moduleElement"]="module";e["classElement"]="class";e["localClassElement"]="local class";e["interfaceElement"]="interface";e["typeElement"]="type";e["enumElement"]="enum";e["enumMemberElement"]="enum member";e["variableElement"]="var";e["localVariableElement"]="local var";e["functionElement"]="function";e["localFunctionElement"]="local function";e["memberFunctionElement"]="method";e["memberGetAccessorElement"]="getter";e["memberSetAccessorElement"]="setter";e["memberVariableElement"]="property";e["constructorImplementationElement"]="constructor";e["callSignatureElement"]="call";e["indexSignatureElement"]="index";e["constructSignatureElement"]="construct";e["parameterElement"]="parameter";e["typeParameterElement"]="type parameter";e["primitiveType"]="primitive type";e["label"]="label";e["alias"]="alias";e["constElement"]="const";e["letElement"]="let";e["directory"]="directory";e["externalModuleName"]="external module name";e["jsxAttribute"]="JSX attribute";e["string"]="string"})(d=e.ScriptElementKind||(e.ScriptElementKind={}));var p;(function(e){e["none"]="";e["publicMemberModifier"]="public";e["privateMemberModifier"]="private";e["protectedMemberModifier"]="protected";e["exportedModifier"]="export";e["ambientModifier"]="declare";e["staticModifier"]="static";e["abstractModifier"]="abstract";e["optionalModifier"]="optional";e["dtsModifier"]=".d.ts";e["tsModifier"]=".ts";e["tsxModifier"]=".tsx";e["jsModifier"]=".js";e["jsxModifier"]=".jsx";e["jsonModifier"]=".json"})(p=e.ScriptElementKindModifier||(e.ScriptElementKindModifier={}));var f;(function(e){e["comment"]="comment";e["identifier"]="identifier";e["keyword"]="keyword";e["numericLiteral"]="number";e["bigintLiteral"]="bigint";e["operator"]="operator";e["stringLiteral"]="string";e["whiteSpace"]="whitespace";e["text"]="text";e["punctuation"]="punctuation";e["className"]="class name";e["enumName"]="enum name";e["interfaceName"]="interface name";e["moduleName"]="module name";e["typeParameterName"]="type parameter name";e["typeAliasName"]="type alias name";e["parameterName"]="parameter name";e["docCommentTagName"]="doc comment tag name";e["jsxOpenTagName"]="jsx open tag name";e["jsxCloseTagName"]="jsx close tag name";e["jsxSelfClosingTagName"]="jsx self closing tag name";e["jsxAttribute"]="jsx attribute";e["jsxText"]="jsx text";e["jsxAttributeStringLiteralValue"]="jsx attribute string literal value"})(f=e.ClassificationTypeNames||(e.ClassificationTypeNames={}));var g;(function(e){e[e["comment"]=1]="comment";e[e["identifier"]=2]="identifier";e[e["keyword"]=3]="keyword";e[e["numericLiteral"]=4]="numericLiteral";e[e["operator"]=5]="operator";e[e["stringLiteral"]=6]="stringLiteral";e[e["regularExpressionLiteral"]=7]="regularExpressionLiteral";e[e["whiteSpace"]=8]="whiteSpace";e[e["text"]=9]="text";e[e["punctuation"]=10]="punctuation";e[e["className"]=11]="className";e[e["enumName"]=12]="enumName";e[e["interfaceName"]=13]="interfaceName";e[e["moduleName"]=14]="moduleName";e[e["typeParameterName"]=15]="typeParameterName";e[e["typeAliasName"]=16]="typeAliasName";e[e["parameterName"]=17]="parameterName";e[e["docCommentTagName"]=18]="docCommentTagName";e[e["jsxOpenTagName"]=19]="jsxOpenTagName";e[e["jsxCloseTagName"]=20]="jsxCloseTagName";e[e["jsxSelfClosingTagName"]=21]="jsxSelfClosingTagName";e[e["jsxAttribute"]=22]="jsxAttribute";e[e["jsxText"]=23]="jsxText";e[e["jsxAttributeStringLiteralValue"]=24]="jsxAttributeStringLiteralValue";e[e["bigintLiteral"]=25]="bigintLiteral"})(g=e.ClassificationType||(e.ClassificationType={}))})(l||(l={}));var l;(function(e){e.scanner=e.createScanner(99,true);var t;(function(e){e[e["None"]=0]="None";e[e["Value"]=1]="Value";e[e["Type"]=2]="Type";e[e["Namespace"]=4]="Namespace";e[e["All"]=7]="All"})(t=e.SemanticMeaning||(e.SemanticMeaning={}));function getMeaningFromDeclaration(t){switch(t.kind){case 242:return e.isInJSFile(t)&&e.getJSDocEnumTag(t)?7:1;case 156:case 191:case 159:case 158:case 281:case 282:case 161:case 160:case 162:case 163:case 164:case 244:case 201:case 202:case 280:case 273:return 1;case 155:case 246:case 247:case 173:return 2;case 322:return t.name===undefined?1|2:2;case 284:case 245:return 1|2;case 249:if(e.isAmbientModule(t)){return 4|1}else if(e.getModuleInstanceState(t)===1){return 4|1}else{return 4}case 248:case 257:case 258:case 253:case 254:case 259:case 260:return 7;case 290:return 4|1}return 7}e.getMeaningFromDeclaration=getMeaningFromDeclaration;function getMeaningFromLocation(t){t=getAdjustedReferenceLocation(t);if(t.kind===290){return 1}else if(t.parent.kind===259||t.parent.kind===265||t.parent.kind===258||t.parent.kind===255||e.isImportEqualsDeclaration(t.parent)&&t===t.parent.name){return 7}else if(isInRightSideOfInternalImportEqualsDeclaration(t)){return getMeaningFromRightHandSideOfImportEquals(t)}else if(e.isDeclarationName(t)){return getMeaningFromDeclaration(t.parent)}else if(isTypeReference(t)){return 2}else if(isNamespaceReference(t)){return 4}else if(e.isTypeParameterDeclaration(t.parent)){e.Debug.assert(e.isJSDocTemplateTag(t.parent.parent));return 2}else if(e.isLiteralTypeNode(t.parent)){return 2|1}else{return 1}}e.getMeaningFromLocation=getMeaningFromLocation;function getMeaningFromRightHandSideOfImportEquals(t){var r=t.kind===153?t:e.isQualifiedName(t.parent)&&t.parent.right===t?t.parent:undefined;return r&&r.parent.kind===253?7:4}function isInRightSideOfInternalImportEqualsDeclaration(t){while(t.parent.kind===153){t=t.parent}return e.isInternalModuleImportEqualsDeclaration(t.parent)&&t.parent.moduleReference===t}e.isInRightSideOfInternalImportEqualsDeclaration=isInRightSideOfInternalImportEqualsDeclaration;function isNamespaceReference(e){return isQualifiedNameNamespaceReference(e)||isPropertyAccessNamespaceReference(e)}function isQualifiedNameNamespaceReference(e){var t=e;var r=true;if(t.parent.kind===153){while(t.parent&&t.parent.kind===153){t=t.parent}r=t.right===e}return t.parent.kind===169&&!r}function isPropertyAccessNamespaceReference(e){var t=e;var r=true;if(t.parent.kind===194){while(t.parent&&t.parent.kind===194){t=t.parent}r=t.name===e}if(!r&&t.parent.kind===216&&t.parent.parent.kind===279){var n=t.parent.parent.parent;return n.kind===245&&t.parent.parent.token===113||n.kind===246&&t.parent.parent.token===90}return false}function isTypeReference(t){if(e.isRightSideOfQualifiedNameOrPropertyAccess(t)){t=t.parent}switch(t.kind){case 104:return!e.isExpressionNode(t);case 183:return true}switch(t.parent.kind){case 169:return true;case 188:return!t.parent.isTypeOf;case 216:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)}return false}function isCallExpressionTarget(t,r,n){if(r===void 0){r=false}if(n===void 0){n=false}return isCalleeWorker(t,e.isCallExpression,selectExpressionOfCallOrNewExpressionOrDecorator,r,n)}e.isCallExpressionTarget=isCallExpressionTarget;function isNewExpressionTarget(t,r,n){if(r===void 0){r=false}if(n===void 0){n=false}return isCalleeWorker(t,e.isNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,r,n)}e.isNewExpressionTarget=isNewExpressionTarget;function isCallOrNewExpressionTarget(t,r,n){if(r===void 0){r=false}if(n===void 0){n=false}return isCalleeWorker(t,e.isCallOrNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,r,n)}e.isCallOrNewExpressionTarget=isCallOrNewExpressionTarget;function isTaggedTemplateTag(t,r,n){if(r===void 0){r=false}if(n===void 0){n=false}return isCalleeWorker(t,e.isTaggedTemplateExpression,selectTagOfTaggedTemplateExpression,r,n)}e.isTaggedTemplateTag=isTaggedTemplateTag;function isDecoratorTarget(t,r,n){if(r===void 0){r=false}if(n===void 0){n=false}return isCalleeWorker(t,e.isDecorator,selectExpressionOfCallOrNewExpressionOrDecorator,r,n)}e.isDecoratorTarget=isDecoratorTarget;function isJsxOpeningLikeElementTagName(t,r,n){if(r===void 0){r=false}if(n===void 0){n=false}return isCalleeWorker(t,e.isJsxOpeningLikeElement,selectTagNameOfJsxOpeningLikeElement,r,n)}e.isJsxOpeningLikeElementTagName=isJsxOpeningLikeElementTagName;function selectExpressionOfCallOrNewExpressionOrDecorator(e){return e.expression}function selectTagOfTaggedTemplateExpression(e){return e.tag}function selectTagNameOfJsxOpeningLikeElement(e){return e.tagName}function isCalleeWorker(t,r,n,i,a){var o=i?climbPastPropertyOrElementAccess(t):climbPastPropertyAccess(t);if(a){o=e.skipOuterExpressions(o)}return!!o&&!!o.parent&&r(o.parent)&&n(o.parent)===o}function climbPastPropertyAccess(e){return isRightSideOfPropertyAccess(e)?e.parent:e}e.climbPastPropertyAccess=climbPastPropertyAccess;function climbPastPropertyOrElementAccess(e){return isRightSideOfPropertyAccess(e)||isArgumentExpressionOfElementAccess(e)?e.parent:e}e.climbPastPropertyOrElementAccess=climbPastPropertyOrElementAccess;function getTargetLabel(e,t){while(e){if(e.kind===238&&e.label.escapedText===t){return e.label}e=e.parent}return undefined}e.getTargetLabel=getTargetLabel;function hasPropertyAccessExpressionWithName(t,r){if(!e.isPropertyAccessExpression(t.expression)){return false}return t.expression.name.text===r}e.hasPropertyAccessExpressionWithName=hasPropertyAccessExpressionWithName;function isJumpStatementTarget(t){var r;return e.isIdentifier(t)&&((r=e.tryCast(t.parent,e.isBreakOrContinueStatement))===null||r===void 0?void 0:r.label)===t}e.isJumpStatementTarget=isJumpStatementTarget;function isLabelOfLabeledStatement(t){var r;return e.isIdentifier(t)&&((r=e.tryCast(t.parent,e.isLabeledStatement))===null||r===void 0?void 0:r.label)===t}e.isLabelOfLabeledStatement=isLabelOfLabeledStatement;function isLabelName(e){return isLabelOfLabeledStatement(e)||isJumpStatementTarget(e)}e.isLabelName=isLabelName;function isTagName(t){var r;return((r=e.tryCast(t.parent,e.isJSDocTag))===null||r===void 0?void 0:r.tagName)===t}e.isTagName=isTagName;function isRightSideOfQualifiedName(t){var r;return((r=e.tryCast(t.parent,e.isQualifiedName))===null||r===void 0?void 0:r.right)===t}e.isRightSideOfQualifiedName=isRightSideOfQualifiedName;function isRightSideOfPropertyAccess(t){var r;return((r=e.tryCast(t.parent,e.isPropertyAccessExpression))===null||r===void 0?void 0:r.name)===t}e.isRightSideOfPropertyAccess=isRightSideOfPropertyAccess;function isArgumentExpressionOfElementAccess(t){var r;return((r=e.tryCast(t.parent,e.isElementAccessExpression))===null||r===void 0?void 0:r.argumentExpression)===t}e.isArgumentExpressionOfElementAccess=isArgumentExpressionOfElementAccess;function isNameOfModuleDeclaration(t){var r;return((r=e.tryCast(t.parent,e.isModuleDeclaration))===null||r===void 0?void 0:r.name)===t}e.isNameOfModuleDeclaration=isNameOfModuleDeclaration;function isNameOfFunctionDeclaration(t){var r;return e.isIdentifier(t)&&((r=e.tryCast(t.parent,e.isFunctionLike))===null||r===void 0?void 0:r.name)===t}e.isNameOfFunctionDeclaration=isNameOfFunctionDeclaration;function isLiteralNameOfPropertyDeclarationOrIndexAccess(t){switch(t.parent.kind){case 159:case 158:case 281:case 284:case 161:case 160:case 163:case 164:case 249:return e.getNameOfDeclaration(t.parent)===t;case 195:return t.parent.argumentExpression===t;case 154:return true;case 187:return t.parent.parent.kind===185;default:return false}}e.isLiteralNameOfPropertyDeclarationOrIndexAccess=isLiteralNameOfPropertyDeclarationOrIndexAccess;function isExpressionOfExternalModuleImportEqualsDeclaration(t){return e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t}e.isExpressionOfExternalModuleImportEqualsDeclaration=isExpressionOfExternalModuleImportEqualsDeclaration;function getContainerNode(t){if(e.isJSDocTypeAlias(t)){t=t.parent.parent}while(true){t=t.parent;if(!t){return undefined}switch(t.kind){case 290:case 161:case 160:case 244:case 201:case 163:case 164:case 245:case 246:case 248:case 249:return t}}}e.getContainerNode=getContainerNode;function getNodeKind(t){switch(t.kind){case 290:return e.isExternalModule(t)?"module":"script";case 249:return"module";case 245:case 214:return"class";case 246:return"interface";case 247:case 315:case 322:return"type";case 248:return"enum";case 242:return getKindOfVariableDeclaration(t);case 191:return getKindOfVariableDeclaration(e.getRootDeclaration(t));case 202:case 244:case 201:return"function";case 163:return"getter";case 164:return"setter";case 161:case 160:return"method";case 281:var r=t.initializer;return e.isFunctionLike(r)?"method":"property";case 159:case 158:case 282:case 283:return"property";case 167:return"index";case 166:return"construct";case 165:return"call";case 162:return"constructor";case 155:return"type parameter";case 284:return"enum member";case 156:return e.hasModifier(t,92)?"property":"parameter";case 253:case 258:case 263:case 256:case 262:return"alias";case 209:var n=e.getAssignmentDeclarationKind(t);var i=t.right;switch(n){case 7:case 8:case 9:case 0:return"";case 1:case 2:var a=getNodeKind(i);return a===""?"const":a;case 3:return e.isFunctionExpression(i)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(i)?"method":"property";case 6:return"local class";default:{e.assertType(n);return""}}case 75:return e.isImportClause(t.parent)?"alias":"";case 259:var o=getNodeKind(t.expression);return o===""?"const":o;default:return""}function getKindOfVariableDeclaration(t){return e.isVarConst(t)?"const":e.isLet(t)?"let":"var"}}e.getNodeKind=getNodeKind;function isThis(t){switch(t.kind){case 104:return true;case 75:return e.identifierIsThisKeyword(t)&&t.parent.kind===156;default:return false}}e.isThis=isThis;var r=/^\/\/\/\s*=r.end}e.startEndContainsRange=startEndContainsRange;function rangeContainsStartEnd(e,t,r){return e.pos<=t&&e.end>=r}e.rangeContainsStartEnd=rangeContainsStartEnd;function rangeOverlapsWithStartEnd(e,t,r){return startEndOverlapsWithStartEnd(e.pos,e.end,t,r)}e.rangeOverlapsWithStartEnd=rangeOverlapsWithStartEnd;function nodeOverlapsWithStartEnd(e,t,r,n){return startEndOverlapsWithStartEnd(e.getStart(t),e.end,r,n)}e.nodeOverlapsWithStartEnd=nodeOverlapsWithStartEnd;function startEndOverlapsWithStartEnd(e,t,r,n){var i=Math.max(e,r);var a=Math.min(t,n);return it){break}var u=c.getEnd();if(tn.getStart(t)&&rt.end||e.pos===t.end;return r&&nodeHasTokens(e,n)?find(e):undefined}))}}e.findNextToken=findNextToken;function findPrecedingToken(t,r,n,i){var a=find(n||r);e.Debug.assert(!(a&&isWhiteSpaceOnlyJsxText(a)));return a;function find(a){if(isNonWhitespaceToken(a)&&a.kind!==1){return a}var o=a.getChildren(r);for(var s=0;s=t||!nodeHasTokens(c,r)||isWhiteSpaceOnlyJsxText(c);if(u){var d=findRightmostChildNodeWithTokens(o,s,r);return d&&findRightmostToken(d,r)}else{return find(c)}}}e.Debug.assert(n!==undefined||a.kind===290||a.kind===1||e.isJSDocCommentContainingNode(a));var p=findRightmostChildNodeWithTokens(o,o.length,r);return p&&findRightmostToken(p,r)}}e.findPrecedingToken=findPrecedingToken;function isNonWhitespaceToken(t){return e.isToken(t)&&!isWhiteSpaceOnlyJsxText(t)}function findRightmostToken(e,t){if(isNonWhitespaceToken(e)){return e}var r=e.getChildren(t);var n=findRightmostChildNodeWithTokens(r,r.length,t);return n&&findRightmostToken(n,t)}function findRightmostChildNodeWithTokens(t,r,n){for(var i=r-1;i>=0;i--){var a=t[i];if(isWhiteSpaceOnlyJsxText(a)){e.Debug.assert(i>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`")}else if(nodeHasTokens(t[i],n)){return t[i]}}}function isInString(t,r,n){if(n===void 0){n=findPrecedingToken(r,t)}if(n&&e.isStringTextContainingNode(n)){var i=n.getStart(t);var a=n.getEnd();if(in.getStart(t)}e.isInTemplateString=isInTemplateString;function isInJSXText(t,r){var n=getTokenAtPosition(t,r);if(e.isJsxText(n)){return true}if(n.kind===18&&e.isJsxExpression(n.parent)&&e.isJsxElement(n.parent.parent)){return true}if(n.kind===29&&e.isJsxOpeningLikeElement(n.parent)&&e.isJsxElement(n.parent.parent)){return true}return false}e.isInJSXText=isInJSXText;function findPrecedingMatchingToken(e,t,r){var n=e.kind;var i=0;while(true){var a=findPrecedingToken(e.getFullStart(),r);if(!a){return undefined}e=a;if(e.kind===t){if(i===0){return e}i--}else if(e.kind===n){i++}}}e.findPrecedingMatchingToken=findPrecedingMatchingToken;function removeOptionality(e,t,r){return t?e.getNonNullableType():r?e.getNonOptionalType():e}e.removeOptionality=removeOptionality;function isPossiblyTypeArgumentPosition(t,r,n){var i=getPossibleTypeArgumentsInfo(t,r);return i!==undefined&&(e.isPartOfTypeNode(i.called)||getPossibleGenericSignatures(i.called,i.nTypeArguments,n).length!==0||isPossiblyTypeArgumentPosition(i.called,r,n))}e.isPossiblyTypeArgumentPosition=isPossiblyTypeArgumentPosition;function getPossibleGenericSignatures(t,r,n){var i=n.getTypeAtLocation(t);if(e.isOptionalChain(t.parent)){i=removeOptionality(i,e.isOptionalChainRoot(t.parent),true)}var a=e.isNewExpression(t.parent)?i.getConstructSignatures():i.getCallSignatures();return a.filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=r}))}e.getPossibleGenericSignatures=getPossibleGenericSignatures;function getPossibleTypeArgumentsInfo(t,r){var n=t;var i=0;var a=0;while(n){switch(n.kind){case 29:n=findPrecedingToken(n.getFullStart(),r);if(n&&n.kind===28){n=findPrecedingToken(n.getFullStart(),r)}if(!n||!e.isIdentifier(n))return undefined;if(!i){return e.isDeclarationName(n)?undefined:{called:n,nTypeArguments:a}}i--;break;case 49:i=+3;break;case 48:i=+2;break;case 31:i++;break;case 19:n=findPrecedingMatchingToken(n,18,r);if(!n)return undefined;break;case 21:n=findPrecedingMatchingToken(n,20,r);if(!n)return undefined;break;case 23:n=findPrecedingMatchingToken(n,22,r);if(!n)return undefined;break;case 27:a++;break;case 38:case 75:case 10:case 8:case 9:case 106:case 91:case 108:case 90:case 134:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(n)){break}return undefined}n=findPrecedingToken(n.getFullStart(),r)}return undefined}e.getPossibleTypeArgumentsInfo=getPossibleTypeArgumentsInfo;function isInComment(t,r,n){return e.formatting.getRangeOfEnclosingComment(t,r,undefined,n)}e.isInComment=isInComment;function hasDocComment(t,r){var n=getTokenAtPosition(t,r);return!!e.findAncestor(n,e.isJSDoc)}e.hasDocComment=hasDocComment;function nodeHasTokens(e,t){return e.kind===1?!!e.jsDoc:e.getWidth(t)!==0}function getNodeModifiers(t){var r=e.isDeclaration(t)?e.getCombinedModifierFlags(t):0;var n=[];if(r&8)n.push("private");if(r&16)n.push("protected");if(r&4)n.push("public");if(r&32)n.push("static");if(r&128)n.push("abstract");if(r&1)n.push("export");if(t.flags&8388608)n.push("declare");if(t.kind===259)n.push("export");return n.length>0?n.join(","):""}e.getNodeModifiers=getNodeModifiers;function getTypeArgumentOrTypeParameterList(t){if(t.kind===169||t.kind===196){return t.typeArguments}if(e.isFunctionLike(t)||t.kind===245||t.kind===246){return t.typeParameters}return undefined}e.getTypeArgumentOrTypeParameterList=getTypeArgumentOrTypeParameterList;function isComment(e){return e===2||e===3}e.isComment=isComment;function isStringOrRegularExpressionOrTemplateLiteral(t){if(t===10||t===13||e.isTemplateLiteralKind(t)){return true}return false}e.isStringOrRegularExpressionOrTemplateLiteral=isStringOrRegularExpressionOrTemplateLiteral;function isPunctuation(e){return 18<=e&&e<=74}e.isPunctuation=isPunctuation;function isInsideTemplateLiteral(t,r,n){return e.isTemplateLiteralKind(t.kind)&&(t.getStart(n)=2||!!e.noEmit}e.compilerOptionsIndicateEs6Modules=compilerOptionsIndicateEs6Modules;function createModuleSpecifierResolutionHost(t,r){return{fileExists:function(e){return t.fileExists(e)},getCurrentDirectory:function(){return r.getCurrentDirectory()},readFile:e.maybeBind(r,r.readFile),useCaseSensitiveFileNames:e.maybeBind(r,r.useCaseSensitiveFileNames),getProbableSymlinks:e.maybeBind(r,r.getProbableSymlinks)||function(){return t.getProbableSymlinks()},getGlobalTypingsCacheLocation:e.maybeBind(r,r.getGlobalTypingsCacheLocation),getSourceFiles:function(){return t.getSourceFiles()},redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:function(e){return t.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return t.isSourceOfProjectReferenceRedirect(e)}}}e.createModuleSpecifierResolutionHost=createModuleSpecifierResolutionHost;function getModuleSpecifierResolverHost(e,t){return i(i({},createModuleSpecifierResolutionHost(e,t)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}e.getModuleSpecifierResolverHost=getModuleSpecifierResolverHost;function makeImportIfNecessary(e,t,r,n){return e||t&&t.length?makeImport(e,t,r,n):undefined}e.makeImportIfNecessary=makeImportIfNecessary;function makeImport(t,r,n,i,a){return e.createImportDeclaration(undefined,undefined,t||r?e.createImportClause(t,r&&r.length?e.createNamedImports(r):undefined,a):undefined,typeof n==="string"?makeStringLiteral(n,i):n)}e.makeImport=makeImport;function makeStringLiteral(t,r){return e.createLiteral(t,r===0)}e.makeStringLiteral=makeStringLiteral;var n;(function(e){e[e["Single"]=0]="Single";e[e["Double"]=1]="Double"})(n=e.QuotePreference||(e.QuotePreference={}));function quotePreferenceFromString(t,r){return e.isStringDoubleQuoted(t,r)?1:0}e.quotePreferenceFromString=quotePreferenceFromString;function getQuotePreference(t,r){if(r.quotePreference&&r.quotePreference!=="auto"){return r.quotePreference==="single"?0:1}else{var n=t.imports&&e.find(t.imports,e.isStringLiteral);return n?quotePreferenceFromString(n,t):1}}e.getQuotePreference=getQuotePreference;function getQuoteFromPreference(t){switch(t){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(t)}}e.getQuoteFromPreference=getQuoteFromPreference;function symbolNameNoDefault(t){var r=symbolEscapedNameNoDefault(t);return r===undefined?undefined:e.unescapeLeadingUnderscores(r)}e.symbolNameNoDefault=symbolNameNoDefault;function symbolEscapedNameNoDefault(t){if(t.escapedName!=="default"){return t.escapedName}return e.firstDefined(t.declarations,(function(t){var r=e.getNameOfDeclaration(t);return r&&r.kind===75?r.escapedText:undefined}))}e.symbolEscapedNameNoDefault=symbolEscapedNameNoDefault;function isObjectBindingElementWithoutPropertyName(t){return e.isBindingElement(t)&&e.isObjectBindingPattern(t.parent)&&e.isIdentifier(t.name)&&!t.propertyName}e.isObjectBindingElementWithoutPropertyName=isObjectBindingElementWithoutPropertyName;function getPropertySymbolFromBindingElement(e,t){var r=e.getTypeAtLocation(t.parent);return r&&e.getPropertyOfType(r,t.name.text)}e.getPropertySymbolFromBindingElement=getPropertySymbolFromBindingElement;function getPropertySymbolsFromBaseTypes(t,r,n,i){var a=e.createMap();return recur(t);function recur(t){if(!(t.flags&(32|64))||!e.addToSeen(a,e.getSymbolId(t)))return;return e.firstDefined(t.declarations,(function(t){return e.firstDefined(e.getAllSuperTypeNodes(t),(function(t){var a=n.getTypeAtLocation(t);var o=a&&a.symbol&&n.getPropertyOfType(a,r);return a&&o&&(e.firstDefined(n.getRootSymbols(o),i)||recur(a.symbol))}))}))}}e.getPropertySymbolsFromBaseTypes=getPropertySymbolsFromBaseTypes;function isMemberSymbolInBaseType(e,t){return getPropertySymbolsFromBaseTypes(e.parent,e.name,t,(function(e){return true}))||false}e.isMemberSymbolInBaseType=isMemberSymbolInBaseType;function getParentNodeInSpan(t,r,n){if(!t)return undefined;while(t.parent){if(e.isSourceFile(t.parent)||!spanContainsNode(n,t.parent,r)){return t}t=t.parent}}e.getParentNodeInSpan=getParentNodeInSpan;function spanContainsNode(t,r,n){return e.textSpanContainsPosition(t,r.getStart(n))&&r.getEnd()<=e.textSpanEnd(t)}function findModifier(t,r){return t.modifiers&&e.find(t.modifiers,(function(e){return e.kind===r}))}e.findModifier=findModifier;function insertImports(t,r,n,i){var a=e.isArray(n)?n[0]:n;var o=a.kind===225?e.isRequireVariableDeclarationStatement:e.isAnyImportSyntax;var s=e.findLast(r.statements,(function(e){return o(e)}));if(s){if(e.isArray(n)){t.insertNodesAfter(r,s,n)}else{t.insertNodeAfter(r,s,n)}}else if(e.isArray(n)){t.insertNodesAtTopOfFile(r,n,i)}else{t.insertNodeAtTopOfFile(r,n,i)}}e.insertImports=insertImports;function getTypeKeywordOfTypeOnlyImport(t,r){e.Debug.assert(t.isTypeOnly);return e.cast(t.getChildAt(0,r),isTypeKeywordToken)}e.getTypeKeywordOfTypeOnlyImport=getTypeKeywordOfTypeOnlyImport;function textSpansEqual(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}e.textSpansEqual=textSpansEqual;function documentSpansEqual(e,t){return e.fileName===t.fileName&&textSpansEqual(e.textSpan,t.textSpan)}e.documentSpansEqual=documentSpansEqual;function forEachUnique(e,t){if(e){for(var r=0;r0&&e.declarations[0].kind===156}e.isFirstDeclarationOfSymbolParameter=isFirstDeclarationOfSymbolParameter;var a=getDisplayPartWriter();function getDisplayPartWriter(){var t=e.defaultMaximumTruncationLength*10;var r;var n;var i;var a;resetWriter();var unknownWrite=function(t){return writeKind(t,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var n=r.length&&r[r.length-1].text;if(a>t&&n&&n!=="..."){if(!e.isWhiteSpaceLike(n.charCodeAt(n.length-1))){r.push(displayPart(" ",e.SymbolDisplayPartKind.space))}r.push(displayPart("...",e.SymbolDisplayPartKind.punctuation))}return r},writeKeyword:function(t){return writeKind(t,e.SymbolDisplayPartKind.keyword)},writeOperator:function(t){return writeKind(t,e.SymbolDisplayPartKind.operator)},writePunctuation:function(t){return writeKind(t,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(t){return writeKind(t,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(t){return writeKind(t,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(t){return writeKind(t,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(t){return writeKind(t,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(t){return writeKind(t,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(t){return writeKind(t,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:writeSymbol,writeLine:writeLine,write:unknownWrite,writeComment:unknownWrite,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return false},hasTrailingWhitespace:function(){return false},hasTrailingComment:function(){return false},rawWrite:e.notImplemented,getIndent:function(){return i},increaseIndent:function(){i++},decreaseIndent:function(){i--},clear:resetWriter,trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function writeIndent(){if(a>t)return;if(n){var o=e.getIndentString(i);if(o){a+=o.length;r.push(displayPart(o,e.SymbolDisplayPartKind.space))}n=false}}function writeKind(e,n){if(a>t)return;writeIndent();a+=e.length;r.push(displayPart(e,n))}function writeSymbol(e,n){if(a>t)return;writeIndent();a+=e.length;r.push(symbolPart(e,n))}function writeLine(){if(a>t)return;a+=1;r.push(lineBreakPart());n=true}function resetWriter(){r=[];n=true;i=0;a=0}}function symbolPart(t,r){return displayPart(t,displayPartKind(r));function displayPartKind(t){var r=t.flags;if(r&3){return isFirstDeclarationOfSymbolParameter(t)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName}else if(r&4){return e.SymbolDisplayPartKind.propertyName}else if(r&32768){return e.SymbolDisplayPartKind.propertyName}else if(r&65536){return e.SymbolDisplayPartKind.propertyName}else if(r&8){return e.SymbolDisplayPartKind.enumMemberName}else if(r&16){return e.SymbolDisplayPartKind.functionName}else if(r&32){return e.SymbolDisplayPartKind.className}else if(r&64){return e.SymbolDisplayPartKind.interfaceName}else if(r&384){return e.SymbolDisplayPartKind.enumName}else if(r&1536){return e.SymbolDisplayPartKind.moduleName}else if(r&8192){return e.SymbolDisplayPartKind.methodName}else if(r&262144){return e.SymbolDisplayPartKind.typeParameterName}else if(r&524288){return e.SymbolDisplayPartKind.aliasName}else if(r&2097152){return e.SymbolDisplayPartKind.aliasName}return e.SymbolDisplayPartKind.text}}e.symbolPart=symbolPart;function displayPart(t,r){return{text:t,kind:e.SymbolDisplayPartKind[r]}}e.displayPart=displayPart;function spacePart(){return displayPart(" ",e.SymbolDisplayPartKind.space)}e.spacePart=spacePart;function keywordPart(t){return displayPart(e.tokenToString(t),e.SymbolDisplayPartKind.keyword)}e.keywordPart=keywordPart;function punctuationPart(t){return displayPart(e.tokenToString(t),e.SymbolDisplayPartKind.punctuation)}e.punctuationPart=punctuationPart;function operatorPart(t){return displayPart(e.tokenToString(t),e.SymbolDisplayPartKind.operator)}e.operatorPart=operatorPart;function textOrKeywordPart(t){var r=e.stringToToken(t);return r===undefined?textPart(t):keywordPart(r)}e.textOrKeywordPart=textOrKeywordPart;function textPart(t){return displayPart(t,e.SymbolDisplayPartKind.text)}e.textPart=textPart;var o="\r\n";function getNewLineOrDefaultFromHost(e,t){var r;return(t===null||t===void 0?void 0:t.newLineCharacter)||((r=e.getNewLine)===null||r===void 0?void 0:r.call(e))||o}e.getNewLineOrDefaultFromHost=getNewLineOrDefaultFromHost;function lineBreakPart(){return displayPart("\n",e.SymbolDisplayPartKind.lineBreak)}e.lineBreakPart=lineBreakPart;function mapToDisplayParts(e){try{e(a);return a.displayParts()}finally{a.clear()}}e.mapToDisplayParts=mapToDisplayParts;function typeToDisplayParts(e,t,r,n){if(n===void 0){n=0}return mapToDisplayParts((function(i){e.writeType(t,r,n|1024|16384,i)}))}e.typeToDisplayParts=typeToDisplayParts;function symbolToDisplayParts(e,t,r,n,i){if(i===void 0){i=0}return mapToDisplayParts((function(a){e.writeSymbol(t,r,n,i|8,a)}))}e.symbolToDisplayParts=symbolToDisplayParts;function signatureToDisplayParts(e,t,r,n){if(n===void 0){n=0}n|=16384|1024|32|8192;return mapToDisplayParts((function(i){e.writeSignature(t,r,n,undefined,i)}))}e.signatureToDisplayParts=signatureToDisplayParts;function isImportOrExportSpecifierName(t){return!!t.parent&&e.isImportOrExportSpecifier(t.parent)&&t.parent.propertyName===t}e.isImportOrExportSpecifierName=isImportOrExportSpecifierName;function scriptKindIs(t,r){var n=[];for(var i=2;i-1&&e.isWhiteSpaceSingleLine(t.charCodeAt(r))){r-=1}return r+1}e.getPrecedingNonSpaceCharacterPosition=getPrecedingNonSpaceCharacterPosition;function getSynthesizedDeepClone(e,t){if(t===void 0){t=true}var r=e&&getSynthesizedDeepCloneWorker(e);if(r&&!t)suppressLeadingAndTrailingTrivia(r);return r}e.getSynthesizedDeepClone=getSynthesizedDeepClone;function getSynthesizedDeepCloneWithRenames(t,r,n,i,a){if(r===void 0){r=true}var o;if(n&&i&&e.isBindingElement(t)&&e.isIdentifier(t.name)&&e.isObjectBindingPattern(t.parent)){var s=i.getSymbolAtLocation(t.name);var c=s&&n.get(String(e.getSymbolId(s)));if(c&&c.text!==(t.name||t.propertyName).getText()){o=e.setOriginalNode(e.createBindingElement(t.dotDotDotToken,t.propertyName||t.name,c,t.initializer),t)}}else if(n&&i&&e.isIdentifier(t)){var s=i.getSymbolAtLocation(t);var c=s&&n.get(String(e.getSymbolId(s)));if(c){o=e.setOriginalNode(e.createIdentifier(c.text),t)}}if(!o){o=getSynthesizedDeepCloneWorker(t,n,i,a)}if(o&&!r)suppressLeadingAndTrailingTrivia(o);if(a&&o)a(t,o);return o}e.getSynthesizedDeepCloneWithRenames=getSynthesizedDeepCloneWithRenames;function getSynthesizedDeepCloneWorker(t,r,n,i){var a=r||n||i?e.visitEachChild(t,wrapper,e.nullTransformationContext):e.visitEachChild(t,getSynthesizedDeepClone,e.nullTransformationContext);if(a===t){var o=e.getSynthesizedClone(t);if(e.isStringLiteral(o)){o.textSourceNode=t}else if(e.isNumericLiteral(o)){o.numericLiteralFlags=t.numericLiteralFlags}return e.setTextRange(o,t)}a.parent=undefined;return a;function wrapper(e){return getSynthesizedDeepCloneWithRenames(e,true,r,n,i)}}function getSynthesizedDeepClones(t,r){if(r===void 0){r=true}return t&&e.createNodeArray(t.map((function(e){return getSynthesizedDeepClone(e,r)})),t.hasTrailingComma)}e.getSynthesizedDeepClones=getSynthesizedDeepClones;function suppressLeadingAndTrailingTrivia(e){suppressLeadingTrivia(e);suppressTrailingTrivia(e)}e.suppressLeadingAndTrailingTrivia=suppressLeadingAndTrailingTrivia;function suppressLeadingTrivia(e){addEmitFlagsRecursively(e,512,getFirstChild)}e.suppressLeadingTrivia=suppressLeadingTrivia;function suppressTrailingTrivia(t){addEmitFlagsRecursively(t,1024,e.getLastChild)}e.suppressTrailingTrivia=suppressTrailingTrivia;function copyComments(e,t){var r=e.getSourceFile();var n=r.text;if(hasLeadingLineBreak(e,n)){copyLeadingComments(e,t,r)}else{copyTrailingAsLeadingComments(e,t,r)}copyTrailingComments(e,t,r)}e.copyComments=copyComments;function hasLeadingLineBreak(e,t){var r=e.getFullStart();var n=e.getStart();for(var i=r;i=0);return o}e.getRenameLocation=getRenameLocation;function copyLeadingComments(t,r,n,i,a){e.forEachLeadingCommentRange(n.text,t.pos,getAddCommentsFunction(r,n,i,a,e.addSyntheticLeadingComment))}e.copyLeadingComments=copyLeadingComments;function copyTrailingComments(t,r,n,i,a){e.forEachTrailingCommentRange(n.text,t.end,getAddCommentsFunction(r,n,i,a,e.addSyntheticTrailingComment))}e.copyTrailingComments=copyTrailingComments;function copyTrailingAsLeadingComments(t,r,n,i,a){e.forEachTrailingCommentRange(n.text,t.pos,getAddCommentsFunction(r,n,i,a,e.addSyntheticLeadingComment))}e.copyTrailingAsLeadingComments=copyTrailingAsLeadingComments;function getAddCommentsFunction(e,t,r,n,i){return function(a,o,s,c){if(s===3){a+=2;o-=2}else{a+=2}i(e,r||s,t.text.slice(a,o),n!==undefined?n:c)}}function indexInTextChange(t,r){if(e.startsWith(t,r))return 0;var n=t.indexOf(" "+r);if(n===-1)n=t.indexOf("."+r);if(n===-1)n=t.indexOf('"'+r);return n===-1?-1:n+1}function needsParentheses(t){return e.isBinaryExpression(t)&&t.operatorToken.kind===27||e.isObjectLiteralExpression(t)}e.needsParentheses=needsParentheses;function getContextualTypeFromParent(e,t){var r=e.parent;switch(r.kind){case 197:return t.getContextualType(r);case 209:{var n=r,i=n.left,a=n.operatorToken,o=n.right;return isEqualityOperatorKind(a.kind)?t.getTypeAtLocation(e===o?i:o):t.getContextualType(e)}case 277:return r.expression===e?getSwitchedType(r,t):undefined;default:return t.getContextualType(e)}}e.getContextualTypeFromParent=getContextualTypeFromParent;function quote(t,r){var n=r.quotePreference||"auto";var i=JSON.stringify(t);switch(n){case"auto":case"double":return i;case"single":return"'"+e.stripQuotes(i).replace("'","\\'").replace('\\"','"')+"'";default:return e.Debug.assertNever(n)}}e.quote=quote;function isEqualityOperatorKind(e){switch(e){case 36:case 34:case 37:case 35:return true;default:return false}}e.isEqualityOperatorKind=isEqualityOperatorKind;function isStringLiteralOrTemplate(e){switch(e.kind){case 10:case 14:case 211:case 198:return true;default:return false}}e.isStringLiteralOrTemplate=isStringLiteralOrTemplate;function hasIndexSignature(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}e.hasIndexSignature=hasIndexSignature;function getSwitchedType(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}e.getSwitchedType=getSwitchedType;e.ANONYMOUS="anonymous function";function getTypeNodeIfAccessible(e,t,r,n){var i=r.getTypeChecker();var a=true;var notAccessible=function(){a=false};var o=i.typeToTypeNode(e,t,undefined,{trackSymbol:function(e,t,r){a=a&&i.isSymbolAccessible(e,t,r,false).accessibility===0},reportInaccessibleThisError:notAccessible,reportPrivateInBaseOfClassExpression:notAccessible,reportInaccessibleUniqueSymbolError:notAccessible,moduleResolverHost:getModuleSpecifierResolverHost(r,n)});return a?o:undefined}e.getTypeNodeIfAccessible=getTypeNodeIfAccessible;function syntaxRequiresTrailingCommaOrSemicolonOrASI(e){return e===165||e===166||e===167||e===158||e===160}e.syntaxRequiresTrailingCommaOrSemicolonOrASI=syntaxRequiresTrailingCommaOrSemicolonOrASI;function syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(e){return e===244||e===162||e===161||e===163||e===164}e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI;function syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(e){return e===249}e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=syntaxRequiresTrailingModuleBlockOrSemicolonOrASI;function syntaxRequiresTrailingSemicolonOrASI(e){return e===225||e===226||e===228||e===233||e===234||e===235||e===239||e===241||e===159||e===247||e===254||e===253||e===260||e===252||e===259}e.syntaxRequiresTrailingSemicolonOrASI=syntaxRequiresTrailingSemicolonOrASI;e.syntaxMayBeASICandidate=e.or(syntaxRequiresTrailingCommaOrSemicolonOrASI,syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI,syntaxRequiresTrailingModuleBlockOrSemicolonOrASI,syntaxRequiresTrailingSemicolonOrASI);function nodeIsASICandidate(t,r){var n=t.getLastToken(r);if(n&&n.kind===26){return false}if(syntaxRequiresTrailingCommaOrSemicolonOrASI(t.kind)){if(n&&n.kind===27){return false}}else if(syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(t.kind)){var i=e.last(t.getChildren(r));if(i&&e.isModuleBlock(i)){return false}}else if(syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(t.kind)){var i=e.last(t.getChildren(r));if(i&&e.isFunctionBlock(i)){return false}}else if(!syntaxRequiresTrailingSemicolonOrASI(t.kind)){return false}if(t.kind===228){return true}var a=e.findAncestor(t,(function(e){return!e.parent}));var o=findNextToken(t,a,r);if(!o||o.kind===19){return true}var s=r.getLineAndCharacterOfPosition(t.getEnd()).line;var c=r.getLineAndCharacterOfPosition(o.getStart(r)).line;return s!==c}function positionIsASICandidate(t,r,n){var i=e.findAncestor(r,(function(r){if(r.end!==t){return"quit"}return e.syntaxMayBeASICandidate(r.kind)}));return!!i&&nodeIsASICandidate(i,n)}e.positionIsASICandidate=positionIsASICandidate;function probablyUsesSemicolons(t){var r=0;var n=0;var i=5;e.forEachChild(t,(function visit(a){if(syntaxRequiresTrailingSemicolonOrASI(a.kind)){var o=a.getLastToken(t);if(o&&o.kind===26){r++}else{n++}}if(r+n>=i){return true}return e.forEachChild(a,visit)}));if(r===0&&n<=1){return true}return r/n>1/i}e.probablyUsesSemicolons=probablyUsesSemicolons;function tryGetDirectories(e,t){return tryIOAndConsumeErrors(e,e.getDirectories,t)||[]}e.tryGetDirectories=tryGetDirectories;function tryReadDirectory(t,r,n,i,a){return tryIOAndConsumeErrors(t,t.readDirectory,r,n,i,a)||e.emptyArray}e.tryReadDirectory=tryReadDirectory;function tryFileExists(e,t){return tryIOAndConsumeErrors(e,e.fileExists,t)}e.tryFileExists=tryFileExists;function tryDirectoryExists(t,r){return tryAndIgnoreErrors((function(){return e.directoryProbablyExists(r,t)}))||false}e.tryDirectoryExists=tryDirectoryExists;function tryAndIgnoreErrors(e){try{return e()}catch(e){return undefined}}e.tryAndIgnoreErrors=tryAndIgnoreErrors;function tryIOAndConsumeErrors(e,t){var r=[];for(var n=2;n=0){var a=r[i];e.Debug.assertEqual(a.file,t.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile");return e.cast(a,isDiagnosticWithLocation)}}e.findDiagnosticForNode=findDiagnosticForNode;function getDiagnosticsWithinSpan(t,r){var n;var i=e.binarySearchKey(r,t.start,(function(e){return e.start}),e.compareValues);if(i<0){i=~i}while(((n=r[i-1])===null||n===void 0?void 0:n.start)===t.start){i--}var a=[];var o=e.textSpanEnd(t);while(true){var s=e.tryCast(r[i],isDiagnosticWithLocation);if(!s||s.start>o){break}if(e.textSpanContainsTextSpan(t,s)){a.push(s)}i++}return a}e.getDiagnosticsWithinSpan=getDiagnosticsWithinSpan;function getRefactorContextSpan(t){var r=t.startPosition,n=t.endPosition;return e.createTextSpanFromBounds(r,n===undefined?r:n)}e.getRefactorContextSpan=getRefactorContextSpan;function mapOneOrMany(t,r,n){if(n===void 0){n=e.identity}return t?e.isArray(t)?n(e.map(t,r)):r(t,0):undefined}e.mapOneOrMany=mapOneOrMany;function firstOrOnly(t){return e.isArray(t)?e.first(t):t}e.firstOrOnly=firstOrOnly;function getNameForExportedSymbol(t,r){if(t.escapedName==="export="||t.escapedName==="default"){return e.firstDefined(t.declarations,(function(t){return e.isExportAssignment(t)&&e.isIdentifier(t.expression)?t.expression.text:undefined}))||e.codefix.moduleSymbolToValidIdentifier(e.Debug.checkDefined(t.parent),r)}return t.name}e.getNameForExportedSymbol=getNameForExportedSymbol;function stringContainsAt(e,t,r){var n=t.length;if(n+r>e.length){return false}for(var i=0;i=n.length){var y=getNewEndOfLineState(r,o,e.lastOrUndefined(c));if(y!==undefined){f=y}}}while(o!==1);function handleToken(){switch(o){case 43:case 67:if(!t[s]&&r.reScanSlashToken()===13){o=13}break;case 29:if(s===75){m++}break;case 31:if(m>0){m--}break;case 125:case 143:case 140:case 128:case 144:if(m>0&&!a){o=75}break;case 15:c.push(o);break;case 18:if(c.length>0){c.push(o)}break;case 19:if(c.length>0){var n=e.lastOrUndefined(c);if(n===15){o=r.reScanTemplateToken(false);if(o===17){c.pop()}else{e.Debug.assertEqual(o,16,"Should have been a template middle.")}}else{e.Debug.assertEqual(n,18,"Should have been an open brace");c.pop()}}break;default:if(!e.isKeyword(o)){break}if(s===24){o=75}else if(e.isKeyword(s)&&e.isKeyword(o)&&!canFollow(s,o)){o=75}}}return{endOfLineState:f,spans:g}}return{getClassificationsForLine:getClassificationsForLine,getEncodedLexicalClassifications:getEncodedLexicalClassifications}}e.createClassifier=createClassifier;var t=e.arrayToNumericMap([75,10,8,9,13,104,45,46,21,23,19,106,91],(function(e){return e}),(function(){return true}));function getNewEndOfLineState(t,r,n){switch(r){case 10:{if(!t.isUnterminated())return undefined;var i=t.getTokenText();var a=i.length-1;var o=0;while(i.charCodeAt(a-o)===92){o++}if((o&1)===0)return undefined;return i.charCodeAt(0)===34?3:2}case 3:return t.isUnterminated()?1:undefined;default:if(e.isTemplateLiteralKind(r)){if(!t.isUnterminated()){return undefined}switch(r){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+r)}}return n===15?6:undefined}}function pushEncodedClassification(e,t,r,n,i){if(n===8){return}if(e===0&&r>0){e+=r}var a=t-e;if(a>0){i.push(e-r,a,n)}}function convertClassificationsToResult(t,r){var n=[];var i=t.spans;var a=0;for(var o=0;o=0){var u=s-a;if(u>0){n.push({length:u,classification:e.TokenClass.Whitespace})}}n.push({length:c,classification:convertClassification(l)});a=s+c}var d=r.length-a;if(d>0){n.push({length:d,classification:e.TokenClass.Whitespace})}return{entries:n,finalLexState:t.endOfLineState}}function convertClassification(t){switch(t){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return e.TokenClass.Identifier;default:return undefined}}function canFollow(t,r){if(!e.isAccessibilityModifier(t)){return true}switch(r){case 131:case 142:case 129:case 120:return true;default:return false}}function getPrefixFromLexState(t){switch(t){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:true};case 6:return{prefix:"",pushTemplate:true};case 0:return{prefix:""};default:return e.Debug.assertNever(t)}}function isBinaryExpressionOperatorToken(e){switch(e){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 98:case 97:case 123:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 73:case 72:case 74:case 69:case 70:case 71:case 63:case 64:case 65:case 67:case 68:case 62:case 27:case 60:return true;default:return false}}function isPrefixUnaryExpressionOperatorToken(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return true;default:return false}}function classFromKind(t){if(e.isKeyword(t)){return 3}else if(isBinaryExpressionOperatorToken(t)||isPrefixUnaryExpressionOperatorToken(t)){return 5}else if(t>=18&&t<=74){return 10}switch(t){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 75:default:if(e.isTemplateLiteralKind(t)){return 6}return 2}}function getSemanticClassifications(e,t,r,n,i){return convertClassificationsToSpans(getEncodedSemanticClassifications(e,t,r,n,i))}e.getSemanticClassifications=getSemanticClassifications;function checkForClassificationCancellation(e,t){switch(t){case 249:case 245:case 246:case 244:e.throwIfCancellationRequested()}}function getEncodedSemanticClassifications(t,r,n,i,a){var o=[];n.forEachChild((function cb(o){if(!o||!e.textSpanIntersectsWith(a,o.pos,o.getFullWidth())){return}checkForClassificationCancellation(r,o.kind);if(e.isIdentifier(o)&&!e.nodeIsMissing(o)&&i.has(o.escapedText)){var s=t.getSymbolAtLocation(o);var c=s&&classifySymbol(s,e.getMeaningFromLocation(o),t);if(c){pushClassification(o.getStart(n),o.getEnd(),c)}}o.forEachChild(cb)}));return{spans:o,endOfLineState:0};function pushClassification(t,r,n){var i=r-t;e.Debug.assert(i>0,"Classification had non-positive length of "+i);o.push(t);o.push(i);o.push(n)}}e.getEncodedSemanticClassifications=getEncodedSemanticClassifications;function classifySymbol(e,t,r){var n=e.getFlags();if((n&2885600)===0){return undefined}else if(n&32){return 11}else if(n&384){return 12}else if(n&524288){return 16}else if(n&1536){return t&4||t&1&&hasValueSideModule(e)?14:undefined}else if(n&2097152){return classifySymbol(r.getAliasedSymbol(e),t,r)}else if(t&2){return n&64?13:n&262144?15:undefined}else{return undefined}}function hasValueSideModule(t){return e.some(t.declarations,(function(t){return e.isModuleDeclaration(t)&&e.getModuleInstanceState(t)===1}))}function getClassificationTypeName(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return undefined}}function convertClassificationsToSpans(t){e.Debug.assert(t.spans.length%3===0);var r=t.spans;var n=[];for(var i=0;i])*)(\/>)?)?/im;var a=/(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim;var o=r.text.substr(t,n);var s=i.exec(o);if(!s){return false}if(!s[3]||!(s[3]in e.commentPragmas)){return false}var c=t;pushCommentRange(c,s[1].length);c+=s[1].length;pushClassification(c,s[2].length,10);c+=s[2].length;pushClassification(c,s[3].length,21);c+=s[3].length;var l=s[4];var u=c;while(true){var d=a.exec(l);if(!d){break}var p=c+d.index;if(p>u){pushCommentRange(u,p-u);u=p}pushClassification(u,d[1].length,22);u+=d[1].length;if(d[2].length){pushCommentRange(u,d[2].length);u+=d[2].length}pushClassification(u,d[3].length,5);u+=d[3].length;if(d[4].length){pushCommentRange(u,d[4].length);u+=d[4].length}pushClassification(u,d[5].length,24);u+=d[5].length}c+=s[4].length;if(c>u){pushCommentRange(u,c-u)}if(s[5]){pushClassification(c,s[5].length,10);c+=s[5].length}var f=t+n;if(c=0);if(i>0){var a=r||classifyTokenType(t.kind,t);if(a){pushClassification(n,i,a)}}return true}function tryClassifyJsxElementName(e){switch(e.parent&&e.parent.kind){case 268:if(e.parent.tagName===e){return 19}break;case 269:if(e.parent.tagName===e){return 20}break;case 267:if(e.parent.tagName===e){return 21}break;case 273:if(e.parent.name===e){return 22}break}return undefined}function classifyTokenType(t,r){if(e.isKeyword(t)){return 3}if(t===29||t===31){if(r&&e.getTypeArgumentOrTypeParameterList(r.parent)){return 10}}if(e.isPunctuation(t)){if(r){var n=r.parent;if(t===62){if(n.kind===242||n.kind===159||n.kind===156||n.kind===273){return 5}}if(n.kind===209||n.kind===207||n.kind===208||n.kind===210){return 5}}return 10}else if(t===8){return 4}else if(t===9){return 25}else if(t===10){return r&&r.parent.kind===273?24:6}else if(t===13){return 6}else if(e.isTemplateLiteralKind(t)){return 6}else if(t===11){return 23}else if(t===75){if(r){switch(r.parent.kind){case 245:if(r.parent.name===r){return 11}return;case 155:if(r.parent.name===r){return 15}return;case 246:if(r.parent.name===r){return 13}return;case 248:if(r.parent.name===r){return 12}return;case 249:if(r.parent.name===r){return 14}return;case 156:if(r.parent.name===r){return e.isThisIdentifier(r)?3:17}return}}return 2}}function processElement(n){if(!n){return}if(e.decodedTextSpanIntersectsWith(i,a,n.pos,n.getFullWidth())){checkForClassificationCancellation(t,n.kind);for(var o=0,s=n.getChildren(r);oa.parameters.length)return;var o=r.getParameterType(a,t.argumentIndex);n=n||!!(o.flags&4);return getStringLiteralTypes(o,i)}));return{kind:2,types:o,isNewIdentifier:n}}function stringLiteralCompletionsFromProperties(t){return t&&{kind:1,symbols:t.getApparentProperties().filter((function(t){return!e.isPrivateIdentifierPropertyDeclaration(e.isTransientSymbol(t)&&t.syntheticOrigin?t.syntheticOrigin.valueDeclaration:t.valueDeclaration)})),hasIndexSignature:e.hasIndexSignature(t)}}function getStringLiteralTypes(t,r){if(r===void 0){r=e.createMap()}if(!t)return e.emptyArray;t=e.skipConstraint(t);return t.isUnion()?e.flatMap(t.types,(function(e){return getStringLiteralTypes(e,r)})):t.isStringLiteral()&&!(t.flags&1024)&&e.addToSeen(r,t.value)?[t]:e.emptyArray}function nameAndKind(e,t,r){return{name:e,kind:t,extension:r}}function directoryResult(e){return nameAndKind(e,"directory",undefined)}function addReplacementSpans(e,t,r){var n=getDirectoryFragmentTextSpan(e,t);return r.map((function(e){var t=e.name,r=e.kind,i=e.extension;return{name:t,kind:r,extension:i,span:n}}))}function getStringLiteralCompletionsFromModuleNames(e,t,r,n,i){return addReplacementSpans(t.text,t.getStart(e)+1,getStringLiteralCompletionsFromModuleNamesWorker(e,t,r,n,i))}function getStringLiteralCompletionsFromModuleNamesWorker(t,r,n,i,a){var o=e.normalizeSlashes(r.text);var s=t.path;var c=e.getDirectoryPath(s);return isPathRelativeToScript(o)||!n.baseUrl&&(e.isRootedDiskPath(o)||e.isUrl(o))?getCompletionEntriesForRelativeModules(o,c,n,i,s):getCompletionEntriesForNonRelativeModules(o,c,n,i,a)}function getExtensionOptions(e,t){if(t===void 0){t=false}return{extensions:getSupportedExtensionsForModuleResolution(e),includeExtensions:t}}function getCompletionEntriesForRelativeModules(e,t,r,n,i){var a=getExtensionOptions(r);if(r.rootDirs){return getCompletionEntriesForDirectoryFragmentWithRootDirs(r.rootDirs,e,t,a,r,n,i)}else{return getCompletionEntriesForDirectoryFragment(e,t,a,n,i)}}function getSupportedExtensionsForModuleResolution(t){var r=e.getSupportedExtensions(t);return t.resolveJsonModule&&e.getEmitModuleResolutionKind(t)===e.ModuleResolutionKind.NodeJs?r.concat(".json"):r}function getBaseDirectoriesFromRootDirs(t,r,i,a){t=t.map((function(t){return e.normalizePath(e.isRootedDiskPath(t)?t:e.combinePaths(r,t))}));var o=e.firstDefined(t,(function(t){return e.containsPath(t,i,r,a)?i.substr(t.length):undefined}));return e.deduplicate(n(t.map((function(t){return e.combinePaths(t,o)})),[i]),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function getCompletionEntriesForDirectoryFragmentWithRootDirs(t,r,n,i,a,o,s){var c=a.project||o.getCurrentDirectory();var l=!(o.useCaseSensitiveFileNames&&o.useCaseSensitiveFileNames());var u=getBaseDirectoriesFromRootDirs(t,c,n,l);return e.flatMap(u,(function(e){return getCompletionEntriesForDirectoryFragment(r,e,i,o,s)}))}function getCompletionEntriesForDirectoryFragment(t,r,n,i,a,o){var s=n.extensions,c=n.includeExtensions;if(o===void 0){o=[]}if(t===undefined){t=""}t=e.normalizeSlashes(t);if(!e.hasTrailingDirectorySeparator(t)){t=e.getDirectoryPath(t)}if(t===""){t="."+e.directorySeparator}t=e.ensureTrailingDirectorySeparator(t);var l=e.resolvePath(r,t);var u=e.hasTrailingDirectorySeparator(l)?l:e.getDirectoryPath(l);var d=!(i.useCaseSensitiveFileNames&&i.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(i,u))return o;var p=e.tryReadDirectory(i,u,s,undefined,["./*"]);if(p){var f=e.createMap();for(var g=0,m=p;g=e.pos&&r<=e.end}));if(!c){return undefined}var l=t.text.slice(c.pos,r);var u=a.exec(l);if(!u){return undefined}var d=u[1],p=u[2],f=u[3];var g=e.getDirectoryPath(t.path);var m=p==="path"?getCompletionEntriesForDirectoryFragment(f,g,getExtensionOptions(n,true),i,t.path):p==="types"?getCompletionEntriesFromTypings(i,n,g,getFragmentDirectory(f),getExtensionOptions(n)):e.Debug.fail();return addReplacementSpans(f,c.pos+d.length,m)}function getCompletionEntriesFromTypings(t,r,n,i,a,o){if(o===void 0){o=[]}var s=e.createMap();var c=e.tryAndIgnoreErrors((function(){return e.getEffectiveTypeRoots(r,t)}))||e.emptyArray;for(var l=0,u=c;l=2&&e.charCodeAt(0)===46){var t=e.length>=3&&e.charCodeAt(1)===46?2:1;var r=e.charCodeAt(t);return r===47||r===92}return false}var a=/^(\/\/\/\s*"),kind:"class",kindModifiers:undefined,sortText:r.LocationPriority};return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:false,entries:[x]}}var D=[];if(isUncheckedFile(t,i)){var C=getCompletionEntriesFromSymbols(c,D,undefined,p,t,n,i.target,a,l,s,f,o.isJsxIdentifierExpected,h,y,_,T);getJSCompletionEntries(t,p.pos,C,i.target,D)}else{if(!d&&(!c||c.length===0)&&g===0){return undefined}getCompletionEntriesFromSymbols(c,D,undefined,p,t,n,i.target,a,l,s,f,o.isJsxIdentifierExpected,h,y,_,T)}if(g!==0){var E=e.arrayToSet(D,(function(e){return e.name}));for(var N=0,k=getKeywordCompletions(g,!v&&e.isSourceFileJS(t));N0){M=filterObjectMembersList(r,e.Debug.checkDefined(n))}setSortTextToOptionalMember();return 1}function tryGetImportOrExportClauseCompletionSymbols(){var t=v&&(v.kind===18||v.kind===27)?e.tryCast(v.parent,e.isNamedImportsOrExports):undefined;if(!t)return 0;var r=(t.kind===257?t.parent.parent:t.parent).moduleSpecifier;if(!r)return t.kind===257?2:0;var n=u.getSymbolAtLocation(r);if(!n)return 2;O=3;I=false;var i=u.getExportsAndPropertiesOfModule(n);var a=e.arrayToSet(t.elements,(function(e){return isCurrentlyEditingNode(e)?undefined:(e.propertyName||e.name).escapedText}));M=i.filter((function(e){return e.escapedName!=="default"&&!a.get(e.escapedName)}));return 1}function tryGetLocalNamedExportCompletionSymbols(){var t;var n=v&&(v.kind===18||v.kind===27)?e.tryCast(v.parent,e.isNamedExports):undefined;if(!n){return 0}var i=e.findAncestor(n,e.or(e.isSourceFile,e.isModuleDeclaration));O=5;I=false;(t=i.locals)===null||t===void 0?void 0:t.forEach((function(t,n){var a,o;M.push(t);if((o=(a=i.symbol)===null||a===void 0?void 0:a.exports)===null||o===void 0?void 0:o.has(n)){R[e.getSymbolId(t)]=r.OptionalMember}}));return 1}function tryGetClassLikeCompletionSymbols(){var t=tryGetObjectTypeDeclarationCompletionContainer(i,v,A,o);if(!t)return 0;O=3;I=true;w=v.kind===41?0:e.isClassLike(t)?2:3;if(!e.isClassLike(t))return 1;var r=v.kind===26?v.parent.parent:v.parent;var n=e.isClassElement(r)?e.getModifierFlags(r):0;if(v.kind===75&&!isCurrentlyEditingNode(v)){switch(v.getText()){case"private":n=n|8;break;case"static":n=n|32;break}}if(!(n&8)){var a=e.flatMap(e.getAllSuperTypeNodes(t),(function(e){var r=u.getTypeAtLocation(e);return r&&u.getPropertiesOfType(n&32?u.getTypeOfSymbolAtLocation(r.symbol,t):r)}));M=filterClassMembersList(a,t.members,n)}return 1}function tryGetObjectLikeCompletionContainer(t){if(t){var r=t.parent;switch(t.kind){case 18:case 27:if(e.isObjectLiteralExpression(r)||e.isObjectBindingPattern(r)){return r}break;case 41:return e.isMethodDeclaration(r)?e.tryCast(r.parent,e.isObjectLiteralExpression):undefined;case 75:return t.text==="async"&&e.isShorthandPropertyAssignment(t.parent)?t.parent.parent:undefined}}return undefined}function isConstructorParameterCompletion(t){return!!t.parent&&e.isParameter(t.parent)&&e.isConstructorDeclaration(t.parent.parent)&&(e.isParameterPropertyModifier(t.kind)||e.isDeclarationName(t))}function tryGetConstructorLikeCompletionContainer(t){if(t){var r=t.parent;switch(t.kind){case 20:case 27:return e.isConstructorDeclaration(t.parent)?t.parent:undefined;default:if(isConstructorParameterCompletion(t)){return r.parent}}}return undefined}function tryGetFunctionLikeBodyCompletionContainer(t){if(t){var r;var n=e.findAncestor(t.parent,(function(t){if(e.isClassLike(t)){return"quit"}if(e.isFunctionLikeDeclaration(t)&&r===t.body){return true}r=t;return false}));return n&&n}}function tryGetContainingJsxElement(t){if(t){var r=t.parent;switch(t.kind){case 31:case 30:case 43:case 75:case 194:case 274:case 273:case 275:if(r&&(r.kind===267||r.kind===268)){if(t.kind===31){var n=e.findPrecedingToken(t.pos,i,undefined);if(!r.typeArguments||n&&n.kind===43)break}return r}else if(r.kind===273){return r.parent.parent}break;case 10:if(r&&(r.kind===273||r.kind===275)){return r.parent.parent}break;case 19:if(r&&r.kind===276&&r.parent&&r.parent.kind===273){return r.parent.parent.parent}if(r&&r.kind===275){return r.parent.parent}break}}return undefined}function isSolelyIdentifierDefinitionLocation(t){var r=t.parent;var n=r.kind;switch(t.kind){case 27:return n===242||isVariableDeclarationListButNotTypeArgument(t)||n===225||n===248||isFunctionLikeButNotConstructor(n)||n===246||n===190||n===247||e.isClassLike(r)&&!!r.typeParameters&&r.typeParameters.end>=t.pos;case 24:return n===190;case 58:return n===191;case 22:return n===190;case 20:return n===280||isFunctionLikeButNotConstructor(n);case 18:return n===248;case 29:return n===245||n===214||n===246||n===247||e.isFunctionLikeKind(n);case 120:return n===159&&!e.isClassLike(r.parent);case 25:return n===156||!!r.parent&&r.parent.kind===190;case 119:case 117:case 118:return n===156&&!e.isConstructorDeclaration(r.parent);case 123:return n===258||n===263||n===256;case 131:case 142:return!isFromObjectTypeDeclaration(t);case 80:case 88:case 114:case 94:case 109:case 96:case 115:case 81:case 145:return true;case 41:return e.isFunctionLike(t.parent)&&!e.isMethodDeclaration(t.parent)}if(isClassMemberCompletionKeyword(keywordForNode(t))&&isFromObjectTypeDeclaration(t)){return false}if(isConstructorParameterCompletion(t)){if(!e.isIdentifier(t)||e.isParameterPropertyModifier(keywordForNode(t))||isCurrentlyEditingNode(t)){return false}}switch(keywordForNode(t)){case 122:case 80:case 81:case 130:case 88:case 94:case 114:case 115:case 117:case 118:case 119:case 120:case 109:return true;case 126:return e.isPropertyDeclaration(t.parent)}return e.isDeclarationName(t)&&!e.isJsxAttribute(t.parent)&&!(e.isClassLike(t.parent)&&(t!==h||o>h.end))}function isFunctionLikeButNotConstructor(t){return e.isFunctionLikeKind(t)&&t!==162}function isDotOfNumericLiteral(e){if(e.kind===8){var t=e.getFullText();return t.charAt(t.length-1)==="."}return false}function isVariableDeclarationListButNotTypeArgument(t){return t.parent.kind===243&&!e.isPossiblyTypeArgumentPosition(t,i,u)}function filterObjectMembersList(t,r){if(r.length===0){return t}var n=e.createMap();var i=e.createUnderscoreEscapedMap();for(var a=0,o=r;a=0;i--){if(pushKeywordIf(r,n[i],111)){break}}}}e.forEach(aggregateAllBreakAndContinueStatements(t.statement),(function(e){if(ownsBreakOrContinueStatement(t,e)){pushKeywordIf(r,e.getFirstToken(),77,82)}}));return r}function getBreakOrContinueStatementOccurrences(e){var t=getBreakOrContinueOwner(e);if(t){switch(t.kind){case 230:case 231:case 232:case 228:case 229:return getLoopBreakContinueOccurrences(t);case 237:return getSwitchCaseDefaultOccurrences(t)}}return undefined}function getSwitchCaseDefaultOccurrences(t){var r=[];pushKeywordIf(r,t.getFirstToken(),103);e.forEach(t.caseBlock.clauses,(function(n){pushKeywordIf(r,n.getFirstToken(),78,84);e.forEach(aggregateAllBreakAndContinueStatements(n),(function(e){if(ownsBreakOrContinueStatement(t,e)){pushKeywordIf(r,e.getFirstToken(),77)}}))}));return r}function getTryCatchFinallyOccurrences(t,r){var n=[];pushKeywordIf(n,t.getFirstToken(),107);if(t.catchClause){pushKeywordIf(n,t.catchClause.getFirstToken(),79)}if(t.finallyBlock){var i=e.findChildOfKind(t,92,r);pushKeywordIf(n,i,92)}return n}function getThrowOccurrences(t,r){var n=getThrowStatementOwner(t);if(!n){return undefined}var i=[];e.forEach(aggregateOwnedThrowStatements(n),(function(t){i.push(e.findChildOfKind(t,105,r))}));if(e.isFunctionBlock(n)){e.forEachReturnStatement(n,(function(t){i.push(e.findChildOfKind(t,101,r))}))}return i}function getReturnOccurrences(t,r){var n=e.getContainingFunction(t);if(!n){return undefined}var i=[];e.forEachReturnStatement(e.cast(n.body,e.isBlock),(function(t){i.push(e.findChildOfKind(t,101,r))}));e.forEach(aggregateOwnedThrowStatements(n.body),(function(t){i.push(e.findChildOfKind(t,105,r))}));return i}function getAsyncAndAwaitOccurrences(t){var r=e.getContainingFunction(t);if(!r){return undefined}var n=[];if(r.modifiers){r.modifiers.forEach((function(e){pushKeywordIf(n,e,126)}))}e.forEachChild(r,(function(t){traverseWithoutCrossingFunction(t,(function(t){if(e.isAwaitExpression(t)){pushKeywordIf(n,t.getFirstToken(),127)}}))}));return n}function getYieldOccurrences(t){var r=e.getContainingFunction(t);if(!r){return undefined}var n=[];e.forEachChild(r,(function(t){traverseWithoutCrossingFunction(t,(function(t){if(e.isYieldExpression(t)){pushKeywordIf(n,t.getFirstToken(),121)}}))}));return n}function traverseWithoutCrossingFunction(t,r){r(t);if(!e.isFunctionLike(t)&&!e.isClassLike(t)&&!e.isInterfaceDeclaration(t)&&!e.isModuleDeclaration(t)&&!e.isTypeAliasDeclaration(t)&&!e.isTypeNode(t)){e.forEachChild(t,(function(e){return traverseWithoutCrossingFunction(e,r)}))}}function getIfElseOccurrences(t,r){var n=getIfElseKeywords(t,r);var i=[];for(var a=0;a=o.end;l--){if(!e.isWhiteSpaceSingleLine(r.text.charCodeAt(l))){c=false;break}}if(c){i.push({fileName:r.fileName,textSpan:e.createTextSpanFromBounds(o.getStart(),s.end),kind:"reference"});a++;continue}}i.push(getHighlightSpanForNode(n[a],r))}return i}function getIfElseKeywords(t,r){var n=[];while(e.isIfStatement(t.parent)&&t.parent.elseStatement===t){t=t.parent}while(true){var i=t.getChildren(r);pushKeywordIf(n,i[0],95);for(var a=i.length-1;a>=0;a--){if(pushKeywordIf(n,i[a],87)){break}}if(!t.elseStatement||!e.isIfStatement(t.elseStatement)){break}t=t.elseStatement}return n}function isLabeledBy(t,r){return!!e.findAncestor(t.parent,(function(t){return!e.isLabeledStatement(t)?"quit":t.label.escapedText===r}))}})(t=e.DocumentHighlights||(e.DocumentHighlights={}))})(l||(l={}));var l;(function(e){function createDocumentRegistry(e,t){return createDocumentRegistryInternal(e,t)}e.createDocumentRegistry=createDocumentRegistry;function createDocumentRegistryInternal(t,r,n){if(r===void 0){r=""}var i=e.createMap();var a=e.createGetCanonicalFileName(!!t);function reportStats(){var t=e.arrayFrom(i.keys()).filter((function(e){return e&&e.charAt(0)==="_"})).map((function(e){var t=i.get(e);var r=[];t.forEach((function(e,t){r.push({name:t,refCount:e.languageServiceRefCount})}));r.sort((function(e,t){return t.refCount-e.refCount}));return{bucket:e,sourceFiles:r}}));return JSON.stringify(t,undefined,2)}function acquireDocument(t,n,i,o,s){var c=e.toPath(t,r,a);var l=getKeyForCompilationSettings(n);return acquireDocumentWithKey(t,c,n,l,i,o,s)}function acquireDocumentWithKey(e,t,r,n,i,a,o){return acquireOrUpdateDocument(e,t,r,n,i,a,true,o)}function updateDocument(t,n,i,o,s){var c=e.toPath(t,r,a);var l=getKeyForCompilationSettings(n);return updateDocumentWithKey(t,c,n,l,i,o,s)}function updateDocumentWithKey(e,t,r,n,i,a,o){return acquireOrUpdateDocument(e,t,r,n,i,a,false,o)}function acquireOrUpdateDocument(t,r,a,o,s,c,l,u){var d=e.getOrUpdate(i,o,e.createMap);var p=d.get(r);var f=u===6?100:a.target||1;if(!p&&n){var g=n.getDocument(o,r);if(g){e.Debug.assert(l);p={sourceFile:g,languageServiceRefCount:0};d.set(r,p)}}if(!p){var g=e.createLanguageServiceSourceFile(t,s,f,c,false,u);if(n){n.setDocument(o,r,g)}p={sourceFile:g,languageServiceRefCount:1};d.set(r,p)}else{if(p.sourceFile.version!==c){p.sourceFile=e.updateLanguageServiceSourceFile(p.sourceFile,s,c,s.getChangeRange(p.sourceFile.scriptSnapshot));if(n){n.setDocument(o,r,p.sourceFile)}}if(l){p.languageServiceRefCount++}}e.Debug.assert(p.languageServiceRefCount!==0);return p.sourceFile}function releaseDocument(t,n){var i=e.toPath(t,r,a);var o=getKeyForCompilationSettings(n);return releaseDocumentWithKey(i,o)}function releaseDocumentWithKey(t,r){var n=e.Debug.checkDefined(i.get(r));var a=n.get(t);a.languageServiceRefCount--;e.Debug.assert(a.languageServiceRefCount>=0);if(a.languageServiceRefCount===0){n.delete(t)}}function getLanguageServiceRefCounts(t){return e.arrayFrom(i.entries(),(function(e){var r=e[0],n=e[1];var i=n.get(t);return[r,i&&i.languageServiceRefCount]}))}return{acquireDocument:acquireDocument,acquireDocumentWithKey:acquireDocumentWithKey,updateDocument:updateDocument,updateDocumentWithKey:updateDocumentWithKey,releaseDocument:releaseDocument,releaseDocumentWithKey:releaseDocumentWithKey,getLanguageServiceRefCounts:getLanguageServiceRefCounts,reportStats:reportStats,getKeyForCompilationSettings:getKeyForCompilationSettings}}e.createDocumentRegistryInternal=createDocumentRegistryInternal;function getKeyForCompilationSettings(t){return e.sourceFileAffectingCompilerOptions.map((function(r){return e.getCompilerOptionValue(t,r)})).join("|")}})(l||(l={}));var l;(function(e){var t;(function(t){function createImportTracker(e,t,r,n){var a=getDirectImportsMap(e,r,n);return function(o,s,c){var l=getImportersForExport(e,t,a,s,r,n),u=l.directImports,d=l.indirectUsers;return i({indirectUsers:d},getSearchesFromDirectImports(u,o,s.exportKind,r,c))}}t.createImportTracker=createImportTracker;var r;(function(e){e[e["Named"]=0]="Named";e[e["Default"]=1]="Default";e[e["ExportEquals"]=2]="ExportEquals"})(r=t.ExportKind||(t.ExportKind={}));var n;(function(e){e[e["Import"]=0]="Import";e[e["Export"]=1]="Export"})(n=t.ImportExport||(t.ImportExport={}));function getImportersForExport(t,r,n,i,a,o){var s=i.exportingModuleSymbol,c=i.exportKind;var l=e.nodeSeenTracker();var u=e.nodeSeenTracker();var d=[];var p=!!s.globalExports;var f=p?undefined:[];handleDirectImports(s);return{directImports:d,indirectUsers:getIndirectUsers()};function getIndirectUsers(){if(p){return t}for(var n=0,i=s.declarations;n=0){if(c>n.end)break;var l=c+s;if((c===0||!e.isIdentifierPart(a.charCodeAt(c-1),99))&&(l===o||!e.isIdentifierPart(a.charCodeAt(l),99))){i.push(c)}c=a.indexOf(r,c+s+1)}return i}function getLabelReferencesInNode(t,r){var n=t.getSourceFile();var i=r.text;var a=e.mapDefined(getPossibleSymbolReferenceNodes(n,i,t),(function(t){return t===r||e.isJumpStatementTarget(t)&&e.getTargetLabel(t,i)===r?nodeEntry(t):undefined}));return[{definition:{type:1,node:r},references:a}]}function isValidReferencePosition(t,r){switch(t.kind){case 76:case 75:return t.text.length===r.length;case 14:case 10:{var n=t;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(n)||e.isNameOfModuleDeclaration(t)||e.isExpressionOfExternalModuleImportEqualsDeclaration(t)||e.isCallExpression(t.parent)&&e.isBindableObjectDefinePropertyCall(t.parent)&&t.parent.arguments[1]===t)&&n.text.length===r.length}case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t)&&t.text.length===r.length;case 84:return"default".length===r.length;default:return false}}function getAllReferencesForKeyword(t,r,n,i){var a=e.flatMap(t,(function(t){n.throwIfCancellationRequested();return e.mapDefined(getPossibleSymbolReferenceNodes(t,e.tokenToString(r),t),(function(e){if(e.kind===r&&(!i||i(e))){return nodeEntry(e)}}))}));return a.length?[{definition:{type:2,node:a[0].node},references:a}]:undefined}function getReferencesInSourceFile(e,t,r,n){if(n===void 0){n=true}r.cancellationToken.throwIfCancellationRequested();return getReferencesInContainer(e,e,t,r,n)}function getReferencesInContainer(e,t,r,n,i){if(!n.markSearchedSymbols(t,r.allSearchSymbols)){return}for(var a=0,o=getPossibleSymbolReferencePositions(t,r.text,e);a0;o--){var i=n[o];startNode(t,i)}return[n.length-1,n[0]]}function startNode(e,t){var r=emptyNavigationBarNode(e,t);pushChild(c,r);s.push(c);l.push(u);c=r}function endNode(){if(c.children){mergeChildren(c.children,c);sortChildren(c.children)}c=s.pop();u=l.pop()}function addNodeWithRecursiveChild(e,t,r){startNode(e,r);addChildrenRecursively(t);endNode()}function addChildrenRecursively(t){var r;a.throwIfCancellationRequested();if(!t||e.isToken(t)){return}switch(t.kind){case 162:var n=t;addNodeWithRecursiveChild(n,n.body);for(var i=0,o=n.parameters;i0){startNode(C,A);e.forEachChild(C.right,addChildrenRecursively);endNode()}}}else if(e.isFunctionExpression(C.right)||e.isArrowFunction(C.right)){addNodeWithRecursiveChild(t,C.right,A)}else{startNode(C,A);addNodeWithRecursiveChild(t,C.right,E.name);endNode()}endNestedNodes(k);return}case 7:case 9:{var F=t;var A=D===7?F.arguments[0]:F.arguments[0].expression;var P=F.arguments[1];var O=startNestedNodes(t,A),k=O[0],I=O[1];startNode(t,I);startNode(t,e.setTextRange(e.createIdentifier(P.text),P));addChildrenRecursively(t.arguments[2]);endNode();endNode();endNestedNodes(k);return}case 5:{var C=t;var E=C.left;var w=E.expression;if(e.isIdentifier(w)&&e.getElementOrPropertyAccessName(E)!=="prototype"&&u&&u.has(w.text)){if(e.isFunctionExpression(C.right)||e.isArrowFunction(C.right)){addNodeWithRecursiveChild(t,C.right,w)}else if(e.isBindableStaticAccessExpression(E)){startNode(C,w);addNodeWithRecursiveChild(C.left,C.right,e.getNameOrArgument(E));endNode()}return}break}case 4:case 0:case 8:break;default:e.Debug.assertNever(D)}}default:if(e.hasJSDocNodes(t)){e.forEach(t.jsDoc,(function(t){e.forEach(t.tags,(function(t){if(e.isJSDocTypeAlias(t)){addLeafNode(t)}}))}))}e.forEachChild(t,addChildrenRecursively)}}function mergeChildren(t,r){var n=e.createMap();e.filterMutate(t,(function(t,i){var a=t.name||e.getNameOfDeclaration(t.node);var o=a&&nodeText(a);if(!o){return true}var s=n.get(o);if(!s){n.set(o,t);return true}if(s instanceof Array){for(var c=0,l=s;c0){return cleanText(n)}}switch(t.kind){case 290:var i=t;return e.isExternalModule(i)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(i.fileName))))+'"':"";case 259:return e.isExportAssignment(t)&&t.isExportEquals?"export=":"default";case 202:case 244:case 201:case 245:case 214:if(e.getModifierFlags(t)&512){return"default"}return getFunctionOrClassName(t);case 162:return"constructor";case 166:return"new()";case 165:return"()";case 167:return"[]";default:return""}}function primaryNavBarMenuItems(e){var t=[];function recur(e){if(shouldAppearInPrimaryNavBarMenu(e)){t.push(e);if(e.children){for(var r=0,n=e.children;r0){return cleanText(e.declarationNameToString(t.name))}else if(e.isVariableDeclaration(r)){return cleanText(e.declarationNameToString(r.name))}else if(e.isBinaryExpression(r)&&r.operatorToken.kind===62){return nodeText(r.left).replace(n,"")}else if(e.isPropertyAssignment(r)){return nodeText(r.name)}else if(e.getModifierFlags(t)&512){return"default"}else if(e.isClassLike(t)){return""}else if(e.isCallExpression(r)){var a=getCalledExpressionName(r.expression);if(a!==undefined){a=cleanText(a);if(a.length>i){return a+" callback"}var s=cleanText(e.mapDefined(r.arguments,(function(t){return e.isStringLiteralLike(t)?t.getText(o):undefined})).join(", "));return a+"("+s+") callback"}}return""}function getCalledExpressionName(t){if(e.isIdentifier(t)){return t.text}else if(e.isPropertyAccessExpression(t)){var r=getCalledExpressionName(t.expression);var n=t.name.text;return r===undefined?n:r+"."+n}else{return undefined}}function isFunctionOrClassExpression(e){switch(e.kind){case 202:case 201:case 214:return true;default:return false}}function cleanText(e){e=e.length>i?e.substring(0,i)+"...":e;return e.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(t=e.NavigationBar||(e.NavigationBar={}))})(l||(l={}));var l;(function(e){var t;(function(t){function organizeImports(t,r,n,i,a){var o=e.textChanges.ChangeTracker.fromContext({host:n,formatContext:r,preferences:a});var coalesceAndOrganizeImports=function(e){return coalesceImports(removeUnusedImports(e,t,i))};var s=t.statements.filter(e.isImportDeclaration);organizeImportsWorker(s,coalesceAndOrganizeImports);var c=t.statements.filter(e.isExportDeclaration);organizeImportsWorker(c,coalesceExports);for(var l=0,u=t.statements.filter(e.isAmbientModule);l0?p[0]:g[0];var E=D.length===0?T?undefined:e.createNamedImports(e.emptyArray):g.length===0?e.createNamedImports(D):e.updateNamedImports(g[0].importClause.namedBindings,D);if(d&&T&&E){s.push(updateImportDeclarationAndClause(C,T,undefined));s.push(updateImportDeclarationAndClause((r=g[0])!==null&&r!==void 0?r:C,undefined,E))}else{s.push(updateImportDeclarationAndClause(C,T,E))}}return s}t.coalesceImports=coalesceImports;function getCategorizedImports(t){var r;var n={defaultImports:[],namespaceImports:[],namedImports:[]};var i={defaultImports:[],namespaceImports:[],namedImports:[]};for(var a=0,o=t;a1){i.push(createOutliningSpanFromBounds(o,s,"comment"))}}}function createOutliningSpanFromBounds(t,r,n){return createOutliningSpan(e.createTextSpanFromBounds(t,r),n)}function getOutliningSpanForNode(t,r){switch(t.kind){case 223:if(e.isFunctionLike(t.parent)){return functionSpan(t.parent,t,r)}switch(t.parent.kind){case 228:case 231:case 232:case 230:case 227:case 229:case 236:case 280:return spanForNode(t.parent);case 240:var n=t.parent;if(n.tryBlock===t){return spanForNode(t.parent)}else if(n.finallyBlock===t){var i=e.findChildOfKind(n,92,r);if(i)return spanForNode(i)}default:return createOutliningSpan(e.createTextSpanFromNode(t,r),"code")}case 250:return spanForNode(t.parent);case 245:case 214:case 246:case 248:case 251:case 173:return spanForNode(t);case 277:case 278:return spanForNodeArray(t.statements);case 193:return spanForObjectOrArrayLiteral(t);case 192:return spanForObjectOrArrayLiteral(t,22);case 266:return spanForJSXElement(t);case 270:return spanForJSXFragment(t);case 267:case 268:return spanForJSXAttributes(t.attributes);case 211:case 14:return spanForTemplateLiteral(t)}function spanForJSXElement(t){var n=e.createTextSpanFromBounds(t.openingElement.getStart(r),t.closingElement.getEnd());var i=t.openingElement.tagName.getText(r);var a="<"+i+">...";return createOutliningSpan(n,"code",n,false,a)}function spanForJSXFragment(t){var n=e.createTextSpanFromBounds(t.openingFragment.getStart(r),t.closingFragment.getEnd());var i="<>...";return createOutliningSpan(n,"code",n,false,i)}function spanForJSXAttributes(e){if(e.properties.length===0){return undefined}return createOutliningSpanFromBounds(e.getStart(r),e.getEnd(),"code")}function spanForTemplateLiteral(e){if(e.kind===14&&e.text.length===0){return undefined}return createOutliningSpanFromBounds(e.getStart(r),e.getEnd(),"code")}function spanForObjectOrArrayLiteral(t,r){if(r===void 0){r=18}return spanForNode(t,false,!e.isArrayLiteralExpression(t.parent)&&!e.isCallExpression(t.parent),r)}function spanForNode(n,i,a,o,s){if(i===void 0){i=false}if(a===void 0){a=true}if(o===void 0){o=18}if(s===void 0){s=o===18?19:23}var c=e.findChildOfKind(t,o,r);var l=e.findChildOfKind(t,s,r);return c&&l&&spanBetweenTokens(c,l,n,r,i,a)}function spanForNodeArray(t){return t.length?createOutliningSpan(e.createTextSpanFromRange(t),"code"):undefined}}function functionSpan(t,r,n){var i=e.isNodeArrayMultiLine(t.parameters,n)?e.findChildOfKind(t,20,n):e.findChildOfKind(r,18,n);var a=e.findChildOfKind(r,19,n);return i&&a&&spanBetweenTokens(i,a,t,n,t.kind!==202)}function spanBetweenTokens(t,r,n,i,a,o){if(a===void 0){a=false}if(o===void 0){o=true}var s=e.createTextSpanFromBounds(o?t.getFullStart():t.getStart(i),r.getEnd());return createOutliningSpan(s,"code",e.createTextSpanFromNode(n,i),a)}function createOutliningSpan(e,t,r,n,i){if(r===void 0){r=e}if(n===void 0){n=false}if(i===void 0){i="..."}return{textSpan:e,kind:t,hintSpan:r,bannerText:i,autoCollapse:n}}})(t=e.OutliningElementsCollector||(e.OutliningElementsCollector={}))})(l||(l={}));var l;(function(e){var t;(function(e){e[e["exact"]=0]="exact";e[e["prefix"]=1]="prefix";e[e["substring"]=2]="substring";e[e["camelCase"]=3]="camelCase"})(t=e.PatternMatchKind||(e.PatternMatchKind={}));function createPatternMatch(e,t){return{kind:e,isCaseSensitive:t}}function createPatternMatcher(t){var r=e.createMap();var n=t.trim().split(".").map((function(e){return createSegment(e.trim())}));if(n.some((function(e){return!e.subWordTextChunks.length})))return undefined;return{getFullMatch:function(e,t){return getFullMatch(e,t,n,r)},getMatchForLastSegmentOfPattern:function(t){return matchSegment(t,e.last(n),r)},patternContainsDots:n.length>1}}e.createPatternMatcher=createPatternMatcher;function getFullMatch(t,r,n,i){var a=matchSegment(r,e.last(n),i);if(!a){return undefined}if(n.length-1>t.length){return undefined}var o;for(var s=n.length-2,c=t.length-1;s>=0;s-=1,c-=1){o=betterMatch(o,matchSegment(t[c],n[s],i))}return o}function getWordSpans(e,t){var r=t.get(e);if(!r){t.set(e,r=breakIntoWordSpans(e))}return r}function matchTextChunk(r,n,i){var a=indexOfIgnoringCase(r,n.textLowerCase);if(a===0){return createPatternMatch(n.text.length===r.length?t.exact:t.prefix,e.startsWith(r,n.text))}if(n.isLowerCase){if(a===-1)return undefined;var o=getWordSpans(r,i);for(var s=0,c=o;s0){return createPatternMatch(t.substring,true)}if(n.characterSpans.length>0){var u=getWordSpans(r,i);var d=tryCamelCaseMatch(r,u,n,false)?true:tryCamelCaseMatch(r,u,n,true)?false:undefined;if(d!==undefined){return createPatternMatch(t.camelCase,d)}}}}function matchSegment(e,t,r){if(every(t.totalTextChunk.text,(function(e){return e!==32&&e!==42}))){var n=matchTextChunk(e,t.totalTextChunk,r);if(n)return n}var i=t.subWordTextChunks;var a;for(var o=0,s=i;o=65&&t<=90){return true}if(t<127||!e.isUnicodeIdentifierStart(t,99)){return false}var r=String.fromCharCode(t);return r===r.toUpperCase()}function isLowerCaseLetter(t){if(t>=97&&t<=122){return true}if(t<127||!e.isUnicodeIdentifierStart(t,99)){return false}var r=String.fromCharCode(t);return r===r.toLowerCase()}function indexOfIgnoringCase(e,t){var r=e.length-t.length;var _loop_6=function(r){if(every(t,(function(t,n){return toLowerCase(e.charCodeAt(n+r))===t}))){return{value:r}}};for(var n=0;n<=r;n++){var i=_loop_6(n);if(typeof i==="object")return i.value}return-1}function toLowerCase(e){if(e>=65&&e<=90){return 97+(e-65)}if(e<127){return e}return String.fromCharCode(e).toLowerCase().charCodeAt(0)}function isDigit(e){return e>=48&&e<=57}function isWordChar(e){return isUpperCaseLetter(e)||isLowerCaseLetter(e)||isDigit(e)||e===95||e===36}function breakPatternIntoTextChunks(e){var t=[];var r=0;var n=0;for(var i=0;i0){t.push(createTextChunk(e.substr(r,n)));n=0}}}if(n>0){t.push(createTextChunk(e.substr(r,n)))}return t}function createTextChunk(e){var t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:breakIntoCharacterSpans(e)}}function breakIntoCharacterSpans(e){return breakIntoSpans(e,false)}e.breakIntoCharacterSpans=breakIntoCharacterSpans;function breakIntoWordSpans(e){return breakIntoSpans(e,true)}e.breakIntoWordSpans=breakIntoWordSpans;function breakIntoSpans(t,r){var n=[];var i=0;for(var a=1;at){break e}if(positionShouldSnapToNode(r,t,l)){if(e.isBlock(l)||e.isTemplateSpan(l)||e.isTemplateHead(l)||e.isTemplateTail(l)||c&&e.isTemplateHead(c)||e.isVariableDeclarationList(l)&&e.isVariableStatement(a)||e.isSyntaxList(l)&&e.isVariableDeclarationList(a)||e.isVariableDeclaration(l)&&e.isSyntaxList(a)&&o.length===1){a=l;break}if(e.isTemplateSpan(a)&&u&&e.isTemplateMiddleOrTemplateTail(u)){var d=l.getFullStart()-"${".length;var p=u.getStart()+"}".length;pushSelectionRange(d,p)}var f=e.isSyntaxList(l)&&isListOpener(c)&&isListCloser(u)&&!e.positionsAreOnSameLine(c.getStart(),u.getStart(),r);var g=e.hasJSDocNodes(l)&&l.jsDoc[0].getStart();var m=f?c.getEnd():l.getStart();var _=f?u.getStart():l.getEnd();if(e.isNumber(g)){pushSelectionRange(g,_)}pushSelectionRange(m,_);if(e.isStringLiteral(l)||e.isTemplateLiteral(l)){pushSelectionRange(m+1,_-1)}a=l;break}if(s===o.length-1){break e}}}return n;function pushSelectionRange(r,a){if(r!==a){var o=e.createTextSpanFromBounds(r,a);if(!n||!e.textSpansEqual(o,n.textSpan)&&e.textSpanIntersectsWithPosition(o,t)){n=i({textSpan:o},n&&{parent:n})}}}}t.getSmartSelectionRange=getSmartSelectionRange;function positionShouldSnapToNode(t,r,n){e.Debug.assert(n.pos<=r);if(r0&&e.last(r).kind===27){n++}return n}function getArgumentIndexForTemplatePiece(t,r,n,i){e.Debug.assert(n>=r.getStart(),"Assumed 'position' could not occur before node.");if(e.isTemplateLiteralToken(r)){if(e.isInsideTemplateLiteral(r,n,i)){return 0}return t+2}return t+1}function getArgumentListInfoForTemplate(t,r,n){var i=e.isNoSubstitutionTemplateLiteral(t.template)?1:t.template.templateSpans.length+1;if(r!==0){e.Debug.assertLessThan(r,i)}return{isTypeParameterList:false,invocation:{kind:0,node:t},argumentsSpan:getApplicableSpanForTaggedTemplate(t,n),argumentIndex:r,argumentCount:i}}function getApplicableSpanForArguments(t,r){var n=t.getFullStart();var i=e.skipTrivia(r.text,t.getEnd(),false);return e.createTextSpan(n,i-n)}function getApplicableSpanForTaggedTemplate(t,r){var n=t.template;var i=n.getStart();var a=n.getEnd();if(n.kind===211){var o=e.last(n.templateSpans);if(o.literal.getFullWidth()===0){a=e.skipTrivia(r.text,a,false)}}return e.createTextSpan(i,a-i)}function getContainingArgumentInfo(t,r,n,i,a){var _loop_7=function(t){e.Debug.assert(e.rangeContainsRange(t.parent,t),"Not a subspan",(function(){return"Child: "+e.Debug.formatSyntaxKind(t.kind)+", parent: "+e.Debug.formatSyntaxKind(t.parent.kind)}));var a=getImmediatelyContainingArgumentOrContextualParameterInfo(t,r,n,i);if(a){return{value:a}}};for(var o=t;!e.isSourceFile(o)&&(a||!e.isBlock(o));o=o.parent){var s=_loop_7(o);if(typeof s==="object")return s.value}return undefined}function getChildListThatStartsWithOpenerToken(t,r,n){var i=t.getChildren(n);var a=i.indexOf(r);e.Debug.assert(a>=0&&i.length>a+1);return i[a+1]}function getExpressionFromInvocation(t){return t.kind===0?e.getInvokedExpression(t.node):t.called}function getEnclosingDeclarationFromInvocation(e){return e.kind===0?e.node:e.kind===1?e.called:e.node}var a=8192|70221824|16384;function createSignatureHelpItems(t,r,n,i,a){var o=n.isTypeParameterList,s=n.argumentCount,c=n.argumentsSpan,l=n.invocation,u=n.argumentIndex;var d=getEnclosingDeclarationFromInvocation(l);var p=l.kind===2?l.symbol:a.getSymbolAtLocation(getExpressionFromInvocation(l));var f=p?e.symbolToDisplayParts(a,p,undefined,undefined):e.emptyArray;var g=t.map((function(e){return getSignatureHelpItem(e,f,o,a,d,i)}));if(u!==0){e.Debug.assertLessThan(u,s)}var m=t.indexOf(r);e.Debug.assert(m!==-1);return{items:g,applicableSpan:c,selectedItemIndex:m,argumentIndex:u,argumentCount:s}}function createTypeHelpItems(e,t,r,n){var i=t.argumentCount,a=t.argumentsSpan,o=t.invocation,s=t.argumentIndex;var c=n.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);if(!c)return undefined;var l=[getTypeHelpItem(e,c,n,getEnclosingDeclarationFromInvocation(o),r)];return{items:l,applicableSpan:a,selectedItemIndex:0,argumentIndex:s,argumentCount:i}}function getTypeHelpItem(t,r,i,a,s){var c=e.symbolToDisplayParts(i,t);var l=e.createPrinter({removeComments:true});var u=r.map((function(e){return createSignatureHelpParameterForTypeParameter(e,i,a,s,l)}));var d=t.getDocumentationComment(i);var p=t.getJsDocTags();var f=n(c,[e.punctuationPart(29)]);return{isVariadic:false,prefixDisplayParts:f,suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:o,parameters:u,documentation:d,tags:p}}var o=[e.punctuationPart(27),e.spacePart()];function getSignatureHelpItem(e,t,r,i,a,s){var c=(r?itemInfoForTypeParameters:itemInfoForParameters)(e,i,a,s),l=c.isVariadic,u=c.parameters,d=c.prefix,p=c.suffix;var f=n(t,d);var g=n(p,returnTypeToDisplayParts(e,a,i));var m=e.getDocumentationComment(i);var _=e.getJsDocTags();return{isVariadic:l,prefixDisplayParts:f,suffixDisplayParts:g,separatorDisplayParts:o,parameters:u,documentation:m,tags:_}}function returnTypeToDisplayParts(t,r,n){return e.mapToDisplayParts((function(e){e.writePunctuation(":");e.writeSpace(" ");var i=n.getTypePredicateOfSignature(t);if(i){n.writeTypePredicate(i,r,undefined,e)}else{n.writeType(n.getReturnTypeOfSignature(t),r,undefined,e)}}))}function itemInfoForTypeParameters(t,r,i,o){var s=(t.target||t).typeParameters;var c=e.createPrinter({removeComments:true});var l=(s||e.emptyArray).map((function(e){return createSignatureHelpParameterForTypeParameter(e,r,i,o,c)}));var u=e.mapToDisplayParts((function(s){var l=t.thisParameter?[r.symbolToParameterDeclaration(t.thisParameter,i,a)]:[];var u=e.createNodeArray(n(l,r.getExpandedParameters(t).map((function(e){return r.symbolToParameterDeclaration(e,i,a)}))));c.writeList(2576,u,o,s)}));return{isVariadic:false,parameters:l,prefix:[e.punctuationPart(29)],suffix:n([e.punctuationPart(31)],u)}}function itemInfoForParameters(t,r,i,o){var s=r.hasEffectiveRestParameter(t);var c=e.createPrinter({removeComments:true});var l=e.mapToDisplayParts((function(n){if(t.typeParameters&&t.typeParameters.length){var s=e.createNodeArray(t.typeParameters.map((function(e){return r.typeParameterToDeclaration(e,i,a)})));c.writeList(53776,s,o,n)}}));var u=r.getExpandedParameters(t).map((function(e){return createSignatureHelpParameterForParameter(e,r,i,o,c)}));return{isVariadic:s,parameters:u,prefix:n(l,[e.punctuationPart(20)]),suffix:[e.punctuationPart(21)]}}function createSignatureHelpParameterForParameter(t,r,n,i,o){var s=e.mapToDisplayParts((function(e){var s=r.symbolToParameterDeclaration(t,n,a);o.writeNode(4,s,i,e)}));var c=r.isOptionalParameter(t.valueDeclaration);return{name:t.name,documentation:t.getDocumentationComment(r),displayParts:s,isOptional:c}}function createSignatureHelpParameterForTypeParameter(t,r,n,i,o){var s=e.mapToDisplayParts((function(e){var s=r.typeParameterToDeclaration(t,n,a);o.writeNode(4,s,i,e)}));return{name:t.symbol.name,documentation:t.symbol.getDocumentationComment(r),displayParts:s,isOptional:false}}})(t=e.SignatureHelp||(e.SignatureHelp={}))})(l||(l={}));var l;(function(e){var t=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function getSourceMapper(t){var r=e.createGetCanonicalFileName(t.useCaseSensitiveFileNames());var n=t.getCurrentDirectory();var i=e.createMap();var a=e.createMap();return{tryGetSourcePosition:tryGetSourcePosition,tryGetGeneratedPosition:tryGetGeneratedPosition,toLineColumnOffset:toLineColumnOffset,clearCache:clearCache};function toPath(t){return e.toPath(t,n,r)}function getDocumentPositionMapper(n,i){var o=toPath(n);var s=a.get(o);if(s)return s;var c;if(t.getDocumentPositionMapper){c=t.getDocumentPositionMapper(n,i)}else if(t.readFile){var l=getSourceFileLike(n);c=l&&e.getDocumentPositionMapper({getSourceFileLike:getSourceFileLike,getCanonicalFileName:r,log:function(e){return t.log(e)}},n,e.getLineInfo(l.text,e.getLineStarts(l)),(function(e){return!t.fileExists||t.fileExists(e)?t.readFile(e):undefined}))}a.set(o,c||e.identitySourceMapConsumer);return c||e.identitySourceMapConsumer}function tryGetSourcePosition(t){if(!e.isDeclarationFileName(t.fileName))return undefined;var r=getSourceFile(t.fileName);if(!r)return undefined;var n=getDocumentPositionMapper(t.fileName).getSourcePosition(t);return!n||n===t?undefined:tryGetSourcePosition(n)||n}function tryGetGeneratedPosition(i){if(e.isDeclarationFileName(i.fileName))return undefined;var a=getSourceFile(i.fileName);if(!a)return undefined;var o=t.getProgram();if(o.isSourceOfProjectReferenceRedirect(a.fileName)){return undefined}var s=o.getCompilerOptions();var c=s.outFile||s.out;var l=c?e.removeFileExtension(c)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(i.fileName,o.getCompilerOptions(),n,o.getCommonSourceDirectory(),r);if(l===undefined)return undefined;var u=getDocumentPositionMapper(l,i.fileName).getGeneratedPosition(i);return u===i?undefined:u}function getSourceFile(e){var r=t.getProgram();if(!r)return undefined;var n=toPath(e);var i=r.getSourceFileByPath(n);return i&&i.resolvedPath===n?i:undefined}function getOrCreateSourceFileLike(e){var r=toPath(e);var n=i.get(r);if(n!==undefined)return n?n:undefined;if(!t.readFile||t.fileExists&&!t.fileExists(r)){i.set(r,false);return undefined}var a=t.readFile(r);var o=a?createSourceFileLike(a):false;i.set(r,o);return o?o:undefined}function getSourceFileLike(e){return!t.getSourceFileLike?getSourceFile(e)||getOrCreateSourceFileLike(e):t.getSourceFileLike(e)}function toLineColumnOffset(e,t){var r=getSourceFileLike(e);return r.getLineAndCharacterOfPosition(t)}function clearCache(){i.clear();a.clear()}}e.getSourceMapper=getSourceMapper;function getDocumentPositionMapper(r,n,i,a){var o=e.tryGetSourceMappingURL(i);if(o){var s=t.exec(o);if(s){if(s[1]){var c=s[1];return convertDocumentToSourceMapper(r,e.base64decode(e.sys,c),n)}o=undefined}}var l=[];if(o){l.push(o)}l.push(n+".map");var u=o&&e.getNormalizedAbsolutePath(o,e.getDirectoryPath(n));for(var d=0,p=l;d2)return false;if(t.arguments.length<2)return true;return e.some(t.arguments,(function(t){return t.kind===100||e.isIdentifier(t)&&t.text==="undefined"}))}function isFixablePromiseArgument(e){switch(e.kind){case 244:case 201:case 202:t.set(getKeyFromNode(e),true);case 100:case 75:return true;default:return false}}function getKeyFromNode(e){return e.pos.toString()+":"+e.end.toString()}function canBeConvertedToClass(t){var r,n,i,a;if(t.kind===201){if(e.isVariableDeclaration(t.parent)&&((r=t.symbol.members)===null||r===void 0?void 0:r.size)){return true}var o=e.getDeclarationOfExpando(t);var s=o===null||o===void 0?void 0:o.symbol;return!!(s&&(((n=s.exports)===null||n===void 0?void 0:n.size)||((i=s.members)===null||i===void 0?void 0:i.size)))}if(t.kind===244){return!!((a=t.symbol.members)===null||a===void 0?void 0:a.size)}return false}})(l||(l={}));var l;(function(e){var t;(function(t){var r=8192|70221824|16384;function getSymbolKind(t,r,n){var i=getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(t,r,n);if(i!==""){return i}var a=e.getCombinedLocalAndExportSymbolFlags(r);if(a&32){return e.getDeclarationOfKind(r,214)?"local class":"class"}if(a&384)return"enum";if(a&524288)return"type";if(a&64)return"interface";if(a&262144)return"type parameter";if(a&8)return"enum member";if(a&2097152)return"alias";if(a&1536)return"module";return i}t.getSymbolKind=getSymbolKind;function getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(t,r,n){var i=t.getRootSymbols(r);if(i.length===1&&e.first(i).flags&8192&&t.getTypeOfSymbolAtLocation(r,n).getNonNullableType().getCallSignatures().length!==0){return"method"}if(t.isUndefinedSymbol(r)){return"var"}if(t.isArgumentsSymbol(r)){return"local var"}if(n.kind===104&&e.isExpression(n)){return"parameter"}var a=e.getCombinedLocalAndExportSymbolFlags(r);if(a&3){if(e.isFirstDeclarationOfSymbolParameter(r)){return"parameter"}else if(r.valueDeclaration&&e.isVarConst(r.valueDeclaration)){return"const"}else if(e.forEach(r.declarations,e.isLet)){return"let"}return isLocalVariableOrFunction(r)?"local var":"var"}if(a&16)return isLocalVariableOrFunction(r)?"local function":"function";if(a&32768)return"getter";if(a&65536)return"setter";if(a&8192)return"method";if(a&16384)return"constructor";if(a&4){if(a&33554432&&r.checkFlags&6){var o=e.forEach(t.getRootSymbols(r),(function(t){var r=t.getFlags();if(r&(98308|3)){return"property"}e.Debug.assert(!!(r&(8192|16)))}));if(!o){var s=t.getTypeOfSymbolAtLocation(r,n);if(s.getCallSignatures().length){return"method"}return"property"}return o}switch(n.parent&&n.parent.kind){case 268:case 266:case 267:return n.kind===75?"property":"JSX attribute";case 273:return"JSX attribute";default:return"property"}}return""}function getSymbolModifiers(t){var r=t&&t.declarations&&t.declarations.length>0?e.getNodeModifiers(t.declarations[0]):"";var n=t&&t.flags&16777216?"optional":"";return r&&n?r+","+n:r||n}t.getSymbolModifiers=getSymbolModifiers;function getSymbolDisplayPartsDocumentationAndSymbolKind(t,n,i,a,o,s,c){if(s===void 0){s=e.getMeaningFromLocation(o)}var l=[];var u=[];var d=[];var p=e.getCombinedLocalAndExportSymbolFlags(n);var f=s&1?getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(t,n,o):"";var g=false;var m=o.kind===104&&e.isInExpressionContext(o);var _;var y;var h;var v;var T=false;if(o.kind===104&&!m){return{displayParts:[e.keywordPart(104)],documentation:[],symbolKind:"primitive type",tags:undefined}}if(f!==""||p&32||p&2097152){if(f==="getter"||f==="setter"){f="property"}var b=void 0;_=m?t.getTypeAtLocation(o):t.getTypeOfSymbolAtLocation(n.exportSymbol||n,o);if(o.parent&&o.parent.kind===194){var S=o.parent.name;if(S===o||S&&S.getFullWidth()===0){o=o.parent}}var x=void 0;if(e.isCallOrNewExpression(o)){x=o}else if(e.isCallExpressionTarget(o)||e.isNewExpressionTarget(o)){x=o.parent}else if(o.parent&&e.isJsxOpeningLikeElement(o.parent)&&e.isFunctionLike(n.valueDeclaration)){x=o.parent}if(x){b=t.getResolvedSignature(x);var D=x.kind===197||e.isCallExpression(x)&&x.expression.kind===102;var C=D?_.getConstructSignatures():_.getCallSignatures();if(!e.contains(C,b.target)&&!e.contains(C,b)){b=C.length?C[0]:undefined}if(b){if(D&&p&32){f="constructor";addPrefixForAnyFunctionOrVar(_.symbol,f)}else if(p&2097152){f="alias";pushSymbolKind(f);l.push(e.spacePart());if(D){l.push(e.keywordPart(99));l.push(e.spacePart())}addFullSymbolName(n)}else{addPrefixForAnyFunctionOrVar(n,f)}switch(f){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":l.push(e.punctuationPart(58));l.push(e.spacePart());if(!(e.getObjectFlags(_)&16)&&_.symbol){e.addRange(l,e.symbolToDisplayParts(t,_.symbol,a,undefined,4|1));l.push(e.lineBreakPart())}if(D){l.push(e.keywordPart(99));l.push(e.spacePart())}addSignatureDisplayParts(b,C,262144);break;default:addSignatureDisplayParts(b,C)}g=true;T=C.length>1}}else if(e.isNameOfFunctionDeclaration(o)&&!(p&98304)||o.kind===129&&o.parent.kind===162){var E=o.parent;var N=n.declarations&&e.find(n.declarations,(function(e){return e===(o.kind===129?E.parent:E)}));if(N){var C=E.kind===162?_.getNonNullableType().getConstructSignatures():_.getNonNullableType().getCallSignatures();if(!t.isImplementationOfOverload(E)){b=t.getSignatureFromDeclaration(E)}else{b=C[0]}if(E.kind===162){f="constructor";addPrefixForAnyFunctionOrVar(_.symbol,f)}else{addPrefixForAnyFunctionOrVar(E.kind===165&&!(_.symbol.flags&2048||_.symbol.flags&4096)?_.symbol:n,f)}addSignatureDisplayParts(b,C);g=true;T=C.length>1}}}if(p&32&&!g&&!m){addAliasPrefixIfNecessary();if(e.getDeclarationOfKind(n,214)){pushSymbolKind("local class")}else{l.push(e.keywordPart(80))}l.push(e.spacePart());addFullSymbolName(n);writeTypeParametersOfSymbol(n,i)}if(p&64&&s&2){prefixNextMeaning();l.push(e.keywordPart(114));l.push(e.spacePart());addFullSymbolName(n);writeTypeParametersOfSymbol(n,i)}if(p&524288&&s&2){prefixNextMeaning();l.push(e.keywordPart(145));l.push(e.spacePart());addFullSymbolName(n);writeTypeParametersOfSymbol(n,i);l.push(e.spacePart());l.push(e.operatorPart(62));l.push(e.spacePart());e.addRange(l,e.typeToDisplayParts(t,t.getDeclaredTypeOfSymbol(n),a,8388608))}if(p&384){prefixNextMeaning();if(e.some(n.declarations,(function(t){return e.isEnumDeclaration(t)&&e.isEnumConst(t)}))){l.push(e.keywordPart(81));l.push(e.spacePart())}l.push(e.keywordPart(88));l.push(e.spacePart());addFullSymbolName(n)}if(p&1536&&!m){prefixNextMeaning();var k=e.getDeclarationOfKind(n,249);var A=k&&k.name&&k.name.kind===75;l.push(e.keywordPart(A?136:135));l.push(e.spacePart());addFullSymbolName(n)}if(p&262144&&s&2){prefixNextMeaning();l.push(e.punctuationPart(20));l.push(e.textPart("type parameter"));l.push(e.punctuationPart(21));l.push(e.spacePart());addFullSymbolName(n);if(n.parent){addInPrefix();addFullSymbolName(n.parent,a);writeTypeParametersOfSymbol(n.parent,a)}else{var F=e.getDeclarationOfKind(n,155);if(F===undefined)return e.Debug.fail();var k=F.parent;if(k){if(e.isFunctionLikeKind(k.kind)){addInPrefix();var b=t.getSignatureFromDeclaration(k);if(k.kind===166){l.push(e.keywordPart(99));l.push(e.spacePart())}else if(k.kind!==165&&k.name){addFullSymbolName(k.symbol)}e.addRange(l,e.signatureToDisplayParts(t,b,i,32))}else if(k.kind===247){addInPrefix();l.push(e.keywordPart(145));l.push(e.spacePart());addFullSymbolName(k.symbol);writeTypeParametersOfSymbol(k.symbol,i)}}}}if(p&8){f="enum member";addPrefixForAnyFunctionOrVar(n,"enum member");var k=n.declarations[0];if(k.kind===284){var P=t.getConstantValue(k);if(P!==undefined){l.push(e.spacePart());l.push(e.operatorPart(62));l.push(e.spacePart());l.push(e.displayPart(e.getTextOfConstantValue(P),typeof P==="number"?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral))}}}if(p&2097152){prefixNextMeaning();if(!g){var O=t.getAliasedSymbol(n);if(O!==n&&O.declarations&&O.declarations.length>0){var I=O.declarations[0];var w=e.getNameOfDeclaration(I);if(w){var M=e.isModuleWithStringLiteralName(I)&&e.hasModifier(I,2);var L=n.name!=="default"&&!M;var R=getSymbolDisplayPartsDocumentationAndSymbolKind(t,O,e.getSourceFileOfNode(I),I,w,s,L?n:O);l.push.apply(l,R.displayParts);l.push(e.lineBreakPart());h=R.documentation;v=R.tags}}}switch(n.declarations[0].kind){case 252:l.push(e.keywordPart(89));l.push(e.spacePart());l.push(e.keywordPart(136));break;case 259:l.push(e.keywordPart(89));l.push(e.spacePart());l.push(e.keywordPart(n.declarations[0].isExportEquals?62:84));break;case 263:l.push(e.keywordPart(89));break;default:l.push(e.keywordPart(96))}l.push(e.spacePart());addFullSymbolName(n);e.forEach(n.declarations,(function(r){if(r.kind===253){var n=r;if(e.isExternalModuleImportEqualsDeclaration(n)){l.push(e.spacePart());l.push(e.operatorPart(62));l.push(e.spacePart());l.push(e.keywordPart(139));l.push(e.punctuationPart(20));l.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(n)),e.SymbolDisplayPartKind.stringLiteral));l.push(e.punctuationPart(21))}else{var i=t.getSymbolAtLocation(n.moduleReference);if(i){l.push(e.spacePart());l.push(e.operatorPart(62));l.push(e.spacePart());addFullSymbolName(i,a)}}return true}}))}if(!g){if(f!==""){if(_){if(m){prefixNextMeaning();l.push(e.keywordPart(104))}else{addPrefixForAnyFunctionOrVar(n,f)}if(f==="property"||f==="JSX attribute"||p&3||f==="local var"||m){l.push(e.punctuationPart(58));l.push(e.spacePart());if(_.symbol&&_.symbol.flags&262144){var B=e.mapToDisplayParts((function(n){var i=t.typeParameterToDeclaration(_,a,r);getPrinter().writeNode(4,i,e.getSourceFileOfNode(e.getParseTreeNode(a)),n)}));e.addRange(l,B)}else{e.addRange(l,e.typeToDisplayParts(t,_,a))}}else if(p&16||p&8192||p&16384||p&131072||p&98304||f==="method"){var C=_.getNonNullableType().getCallSignatures();if(C.length){addSignatureDisplayParts(C[0],C);T=C.length>1}}}}else{f=getSymbolKind(t,n,o)}}if(u.length===0&&!T){u=n.getDocumentationComment(t)}if(u.length===0&&p&4){if(n.parent&&e.forEach(n.parent.declarations,(function(e){return e.kind===290}))){for(var j=0,J=n.declarations;j0){break}}}}if(d.length===0&&!T){d=n.getJsDocTags()}if(u.length===0&&h){u=h}if(d.length===0&&v){d=v}return{displayParts:l,documentation:u,symbolKind:f,tags:d.length===0?undefined:d};function getPrinter(){if(!y){y=e.createPrinter({removeComments:true})}return y}function prefixNextMeaning(){if(l.length){l.push(e.lineBreakPart())}addAliasPrefixIfNecessary()}function addAliasPrefixIfNecessary(){if(c){pushSymbolKind("alias");l.push(e.spacePart())}}function addInPrefix(){l.push(e.spacePart());l.push(e.keywordPart(97));l.push(e.spacePart())}function addFullSymbolName(r,a){if(c&&r===n){r=c}var o=e.symbolToDisplayParts(t,r,a||i,undefined,1|2|4);e.addRange(l,o);if(n.flags&16777216){l.push(e.punctuationPart(57))}}function addPrefixForAnyFunctionOrVar(t,r){prefixNextMeaning();if(r){pushSymbolKind(r);if(t&&!e.some(t.declarations,(function(t){return e.isArrowFunction(t)||(e.isFunctionExpression(t)||e.isClassExpression(t))&&!t.name}))){l.push(e.spacePart());addFullSymbolName(t)}}}function pushSymbolKind(t){switch(t){case"var":case"function":case"let":case"const":case"constructor":l.push(e.textOrKeywordPart(t));return;default:l.push(e.punctuationPart(20));l.push(e.textOrKeywordPart(t));l.push(e.punctuationPart(21));return}}function addSignatureDisplayParts(r,n,i){if(i===void 0){i=0}e.addRange(l,e.signatureToDisplayParts(t,r,a,i|32));if(n.length>1){l.push(e.spacePart());l.push(e.punctuationPart(20));l.push(e.operatorPart(39));l.push(e.displayPart((n.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral));l.push(e.spacePart());l.push(e.textPart(n.length===2?"overload":"overloads"));l.push(e.punctuationPart(21))}u=r.getDocumentationComment(t);d=r.getJsDocTags();if(n.length>1&&u.length===0&&d.length===0){u=n[0].getDocumentationComment(t);d=n[0].getJsDocTags()}}function writeTypeParametersOfSymbol(n,i){var a=e.mapToDisplayParts((function(a){var o=t.symbolToTypeParameterDeclarations(n,i,r);getPrinter().writeList(53776,o,e.getSourceFileOfNode(e.getParseTreeNode(i)),a)}));e.addRange(l,a)}}t.getSymbolDisplayPartsDocumentationAndSymbolKind=getSymbolDisplayPartsDocumentationAndSymbolKind;function isLocalVariableOrFunction(t){if(t.parent){return false}return e.forEach(t.declarations,(function(t){if(t.kind===201){return true}if(t.kind!==242&&t.kind!==244){return false}for(var r=t.parent;!e.isFunctionBlock(r);r=r.parent){if(r.kind===290||r.kind===250){return false}}return true}))}})(t=e.SymbolDisplay||(e.SymbolDisplay={}))})(l||(l={}));var l;(function(e){function transpileModule(t,r){var n=[];var i=r.compilerOptions?fixupCompilerOptions(r.compilerOptions,n):{};var a=e.getDefaultCompilerOptions();for(var o in a){if(e.hasProperty(a,o)&&i[o]===undefined){i[o]=a[o]}}for(var s=0,c=e.transpileOptionValueCompilerOptions;s>=n}return r}function increaseInsertionIndex(t,r){var n=(t>>r&i)+1;e.Debug.assert((n&i)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.");return t&~(i<=n.length){return false}var r=n[i];if(t.end<=r.start){return false}if(e.startEndOverlapsWithStartEnd(t.pos,t.end,r.start,r.start+r.length)){return true}i++}};function rangeHasNoErrors(){return false}}function getScanStartPosition(t,r,n){var i=t.getStart(n);if(i===r.pos&&t.end===r.end){return i}var a=e.findPrecedingToken(r.pos,n);if(!a){return t.pos}if(a.end>=r.pos){return t.pos}return a.end}function getOwnOrInheritedDelta(e,r,n){var i=-1;var a;while(e){var o=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(i!==-1&&o!==i){break}if(t.SmartIndenter.shouldIndentChildNode(r,e,a,n)){return r.indentSize}i=o;a=e;e=e.parent}return 0}function formatNodeGivenIndentation(e,r,n,i,a,o){var s={pos:0,end:r.text.length};return t.getFormattingScanner(r.text,n,s.pos,s.end,(function(t){return formatSpanWorker(s,e,i,a,t,o,1,(function(e){return false}),r)}))}t.formatNodeGivenIndentation=formatNodeGivenIndentation;function formatNodeLines(t,r,n,i){if(!t){return[]}var a={pos:e.getLineStartPositionForPosition(t.getStart(r),r),end:t.end};return formatSpan(a,r,n,i)}function formatSpan(e,r,n,i){var a=findEnclosingNode(e,r);return t.getFormattingScanner(r.text,r.languageVariant,getScanStartPosition(a,e,r),e.end,(function(o){return formatSpanWorker(e,a,t.SmartIndenter.getIndentationForNode(a,e,r,n.options),getOwnOrInheritedDelta(a,n.options,r),o,n,i,prepareRangeContainsErrorFunction(r.parseDiagnostics,e),r)}))}function formatSpanWorker(r,n,i,a,o,s,c,l,u){var d=s.options,p=s.getRules,f=s.host;var g=new t.FormattingContext(u,c,d);var m;var _;var y;var h;var v=-1;var T=[];o.advance();if(o.isOnToken()){var b=u.getLineAndCharacterOfPosition(n.getStart(u)).line;var S=b;if(n.decorators){S=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(n,u)).line}processNode(n,n,b,S,i,a)}if(!o.isOnToken()){var x=o.getCurrentLeadingTrivia();if(x){indentTriviaItems(x,i,false,(function(e){return processRange(e,u.getLineAndCharacterOfPosition(e.pos),n,n,undefined)}));if(d.trimTrailingWhitespace!==false){trimTrailingWhitespacesForRemainingRange()}}}return T;function tryComputeIndentationForListItem(r,n,i,a,o){if(e.rangeOverlapsWithStartEnd(a,r,n)||e.rangeContainsStartEnd(a,r,n)){if(o!==-1){return o}}else{var s=u.getLineAndCharacterOfPosition(r).line;var c=e.getLineStartPositionForPosition(r,u);var l=t.SmartIndenter.findFirstNonWhitespaceColumn(c,r,u,d);if(s!==i||r===l){var p=t.SmartIndenter.getBaseIndentation(d);return p>l?p:l}}return-1}function computeIndentation(e,r,n,i,a,o){var s=t.SmartIndenter.shouldIndentChildNode(d,e)?d.indentSize:0;if(o===r){return{indentation:r===h?v:a.getIndentation(),delta:Math.min(d.indentSize,a.getDelta(e)+s)}}else if(n===-1){if(e.kind===20&&r===h){return{indentation:v,delta:a.getDelta(e)}}else if(t.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(i,e,r,u)){return{indentation:a.getIndentation(),delta:s}}else if(t.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(i,e,r,u)){return{indentation:a.getIndentation(),delta:s}}else{return{indentation:a.getIndentation()+a.getDelta(e),delta:s}}}else{return{indentation:n,delta:s}}}function getFirstNonDecoratorTokenOfNode(t){if(t.modifiers&&t.modifiers.length){return t.modifiers[0].kind}switch(t.kind){case 245:return 80;case 246:return 114;case 244:return 94;case 248:return 248;case 163:return 131;case 164:return 142;case 161:if(t.asteriskToken){return 41}case 159:case 156:var r=e.getNameOfDeclaration(t);if(r){return r.kind}}}function getDynamicIndentation(e,r,n,i){return{getIndentationForComment:function(e,t,r){switch(e){case 19:case 23:case 21:return n+getDelta(r)}return t!==-1?t:n},getIndentationForToken:function(e,t,r,i){return!i&&shouldAddDelta(e,t,r)?n+getDelta(r):n},getIndentation:function(){return n},getDelta:getDelta,recomputeIndentation:function(r,a){if(t.SmartIndenter.shouldIndentChildNode(d,a,e,u)){n+=r?d.indentSize:-d.indentSize;i=t.SmartIndenter.shouldIndentChildNode(d,e)?d.indentSize:0}}};function shouldAddDelta(t,n,i){switch(n){case 18:case 19:case 21:case 87:case 111:case 59:return false;case 43:case 31:switch(i.kind){case 268:case 269:case 267:return false}break;case 22:case 23:if(i.kind!==186){return false}break}return r!==t&&!(e.decorators&&n===getFirstNonDecoratorTokenOfNode(e))}function getDelta(r){return t.SmartIndenter.nodeWillIndentChild(d,e,r,u,true)?i:0}}function processNode(n,i,a,s,c,p){if(!e.rangeOverlapsWithStartEnd(r,n.getStart(u),n.getEnd())){return}var f=getDynamicIndentation(n,a,c,p);var g=i;e.forEachChild(n,(function(e){processChildNode(e,-1,n,f,a,s,false)}),(function(e){processChildNodes(e,n,a,f)}));while(o.isOnToken()){var T=o.readTokenInfo(n);if(T.token.end>n.end){break}if(n.kind===11){o.advance();continue}consumeTokenAndAdvanceScanner(T,n,f,n)}if(!n.parent&&o.isOnEOF()){var b=o.readEOFTokenRange();if(b.end<=n.end&&m){processPair(b,u.getLineAndCharacterOfPosition(b.pos).line,n,m,y,_,i,f)}}function processChildNode(t,i,a,s,c,l,d,p){var f=t.getStart(u);var m=u.getLineAndCharacterOfPosition(f).line;var _=m;if(t.decorators){_=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(t,u)).line}var y=-1;if(d&&e.rangeContainsRange(r,a)){y=tryComputeIndentationForListItem(f,t.end,c,r,i);if(y!==-1){i=y}}if(!e.rangeOverlapsWithStartEnd(r,t.pos,t.end)){if(t.endf){break}consumeTokenAndAdvanceScanner(h,n,s,n)}if(!o.isOnToken()){return i}if(e.isToken(t)&&t.kind!==11){var h=o.readTokenInfo(t);e.Debug.assert(h.token.end===t.end,"Token end is child end");consumeTokenAndAdvanceScanner(h,n,s,t);return i}var v=t.kind===157?m:l;var T=computeIndentation(t,m,y,n,s,v);processNode(t,g,m,_,T.indentation,T.delta);if(t.kind===11){var b={pos:t.getStart(),end:t.getEnd()};if(b.pos!==b.end){var S=a.getChildren(u);var x=e.findIndex(S,(function(e){return e.pos===t.pos}));var D=S[x-1];if(D){if(u.getLineAndCharacterOfPosition(b.end).line!==u.getLineAndCharacterOfPosition(D.end).line){var C=u.getLineAndCharacterOfPosition(b.pos).line===u.getLineAndCharacterOfPosition(D.end).line;indentMultilineCommentOrJsxText(b,T.indentation,C,false,true)}}}}g=n;if(p&&a.kind===192&&i===-1){i=T.indentation}return i}function processChildNodes(r,i,a,s){e.Debug.assert(e.isNodeArray(r));var c=getOpenTokenForList(i,r);var l=s;var p=a;if(c!==0){while(o.isOnToken()){var f=o.readTokenInfo(i);if(f.token.end>r.pos){break}else if(f.token.kind===c){p=u.getLineAndCharacterOfPosition(f.token.pos).line;consumeTokenAndAdvanceScanner(f,i,s,i);var g=void 0;if(v!==-1){g=v}else{var m=e.getLineStartPositionForPosition(f.token.pos,u);g=t.SmartIndenter.findFirstNonWhitespaceColumn(m,f.token.pos,u,d)}l=getDynamicIndentation(i,a,g,d.indentSize)}else{consumeTokenAndAdvanceScanner(f,i,s,i)}}}var _=-1;for(var y=0;y0){var x=getIndentationString(S,d);recordReplace(T,b.character,x)}else{recordDelete(T,b.character)}}}function trimTrailingWhitespacesForLines(t,r,n){for(var i=t;io){continue}var s=getTrailingWhitespaceStartPosition(a,o);if(s!==-1){e.Debug.assert(s===a||!e.isWhiteSpaceSingleLine(u.text.charCodeAt(s-1)));recordDelete(s,o+1-s)}}}function getTrailingWhitespaceStartPosition(t,r){var n=r;while(n>=t&&e.isWhiteSpaceSingleLine(u.text.charCodeAt(n))){n--}if(n!==r){return n+1}return-1}function trimTrailingWhitespacesForRemainingRange(){var e=m?m.end:r.pos;var t=u.getLineAndCharacterOfPosition(e).line;var n=u.getLineAndCharacterOfPosition(r.end).line;trimTrailingWhitespacesForLines(t,n+1,m)}function recordDelete(t,r){if(r){T.push(e.createTextChangeFromStartLength(t,r,""))}}function recordReplace(t,r,n){if(r||n){T.push(e.createTextChangeFromStartLength(t,r,n))}}function recordInsert(t,r){if(r){T.push(e.createTextChangeFromStartLength(t,0,r))}}function applyRuleEdits(t,r,n,i,a){var o=a!==n;switch(t.action){case 1:return 0;case 16:if(r.end!==i.pos){recordDelete(r.end,i.pos-r.end);return o?2:0}break;case 32:recordDelete(r.pos,r.end-r.pos);break;case 8:if(t.flags!==1&&n!==a){return 0}var s=a-n;if(s!==1){recordReplace(r.end,i.pos-r.end,e.getNewLineOrDefaultFromHost(f,d));return o?0:1}break;case 4:if(t.flags!==1&&n!==a){return 0}var c=i.pos-r.end;if(c!==1||u.text.charCodeAt(r.end)!==32){recordReplace(r.end,i.pos-r.end," ");return o?2:0}break;case 64:recordInsert(r.end,";")}return 0}}var n;(function(e){e[e["None"]=0]="None";e[e["LineAdded"]=1]="LineAdded";e[e["LineRemoved"]=2]="LineRemoved"})(n||(n={}));function getRangeOfEnclosingComment(t,r,n,i){if(i===void 0){i=e.getTokenAtPosition(t,r)}var a=e.findAncestor(i,e.isJSDoc);if(a)i=a.parent;var o=i.getStart(t);if(o<=r&&rn.text.length){return getBaseIndentation(i)}if(i.indentStyle===e.IndentStyle.None){return 0}var o=e.findPrecedingToken(r,n,undefined,true);var s=t.getRangeOfEnclosingComment(n,r,o||null);if(s&&s.kind===3){return getCommentIndent(n,r,i,s)}if(!o){return getBaseIndentation(i)}var c=e.isStringOrRegularExpressionOrTemplateLiteral(o.kind);if(c&&o.getStart(n)<=r&&r=0);if(a<=o){return findFirstNonWhitespaceColumn(e.getStartPositionOfLine(o,t),r,t,n)}var s=e.getStartPositionOfLine(a,t);var c=findFirstNonWhitespaceCharacterAndColumn(s,r,t,n),l=c.column,u=c.character;if(l===0){return l}var d=t.text.charCodeAt(s+u);return d===42?l-1:l}function getBlockIndent(t,r,n){var i=r;while(i>0){var a=t.text.charCodeAt(i);if(!e.isWhiteSpaceLike(a)){break}i--}var o=e.getLineStartPositionForPosition(i,t);return findFirstNonWhitespaceColumn(o,i,t,n)}function getSmartIndent(t,r,n,i,a,o){var s;var c=n;while(c){if(e.positionBelongsToNode(c,r,t)&&shouldIndentChildNode(o,c,s,t,true)){var l=getStartLineAndCharacterForNode(c,t);var u=nextTokenIsCurlyBraceOnSameLineAsCursor(n,c,i,t);var d=u!==0?a&&u===2?o.indentSize:0:i!==l.line?o.indentSize:0;return getIndentationForNodeWorker(c,l,undefined,d,t,true,o)}var p=getActualIndentationForListItem(c,t,o,true);if(p!==-1){return p}s=c;c=c.parent}return getBaseIndentation(o)}function getIndentationForNode(e,t,r,n){var i=r.getLineAndCharacterOfPosition(e.getStart(r));return getIndentationForNodeWorker(e,i,t,0,r,false,n)}r.getIndentationForNode=getIndentationForNode;function getBaseIndentation(e){return e.baseIndentSize||0}r.getBaseIndentation=getBaseIndentation;function getIndentationForNodeWorker(e,t,r,n,i,a,o){var s=e.parent;while(s){var c=true;if(r){var l=e.getStart(i);c=lr.end}var u=getContainingListOrParentStart(s,e,i);var d=u.line===t.line||childStartsOnTheSameLineWithElseInIfStatement(s,e,t.line,i);if(c){var p=getActualIndentationForListItem(e,i,o,!d);if(p!==-1){return p+n}p=getActualIndentationForNode(e,s,t,d,i,o);if(p!==-1){return p+n}}if(shouldIndentChildNode(o,s,e,i,a)&&!d){n+=o.indentSize}var f=isArgumentAndStartLineOverlapsExpressionBeingCalled(s,e,t.line,i);e=s;s=e.parent;t=f?i.getLineAndCharacterOfPosition(e.getStart(i)):u}return n+getBaseIndentation(o)}function getContainingListOrParentStart(e,t,r){var n=getContainingList(t,r);var i=n?n.pos:e.getStart(r);return r.getLineAndCharacterOfPosition(i)}function getActualIndentationForListItemBeforeComma(t,r,n){var i=e.findListItemInfo(t);if(i&&i.listItemIndex>0){return deriveActualIndentationFromList(i.list.getChildren(),i.listItemIndex-1,r,n)}else{return-1}}function getActualIndentationForNode(t,r,n,i,a,o){var s=(e.isDeclaration(t)||e.isStatementButNotDeclaration(t))&&(r.kind===290||!i);if(!s){return-1}return findColumnForFirstNonWhitespaceCharacterInLine(n,a,o)}var i;(function(e){e[e["Unknown"]=0]="Unknown";e[e["OpenBrace"]=1]="OpenBrace";e[e["CloseBrace"]=2]="CloseBrace"})(i||(i={}));function nextTokenIsCurlyBraceOnSameLineAsCursor(t,r,n,i){var a=e.findNextToken(t,r,i);if(!a){return 0}if(a.kind===18){return 1}else if(a.kind===19){var o=getStartLineAndCharacterForNode(a,i).line;return n===o?2:0}return 0}function getStartLineAndCharacterForNode(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function isArgumentAndStartLineOverlapsExpressionBeingCalled(t,r,n,i){if(!(e.isCallExpression(t)&&e.contains(t.arguments,r))){return false}var a=t.expression.getEnd();var o=e.getLineAndCharacterOfPosition(i,a).line;return o===n}r.isArgumentAndStartLineOverlapsExpressionBeingCalled=isArgumentAndStartLineOverlapsExpressionBeingCalled;function childStartsOnTheSameLineWithElseInIfStatement(t,r,n,i){if(t.kind===227&&t.elseStatement===r){var a=e.findChildOfKind(t,87,i);e.Debug.assert(a!==undefined);var o=getStartLineAndCharacterForNode(a,i).line;return o===n}return false}r.childStartsOnTheSameLineWithElseInIfStatement=childStartsOnTheSameLineWithElseInIfStatement;function argumentStartsOnSameLineAsPreviousArgument(t,r,n,i){if(e.isCallOrNewExpression(t)){if(!t.arguments)return false;var a=e.find(t.arguments,(function(e){return e.pos===r.pos}));if(!a)return false;var o=t.arguments.indexOf(a);if(o===0)return false;var s=t.arguments[o-1];var c=e.getLineAndCharacterOfPosition(i,s.getEnd()).line;if(n===c){return true}}return false}r.argumentStartsOnSameLineAsPreviousArgument=argumentStartsOnSameLineAsPreviousArgument;function getContainingList(e,t){return e.parent&&getListByRange(e.getStart(t),e.getEnd(),e.parent,t)}r.getContainingList=getContainingList;function getListByPosition(e,t,r){return t&&getListByRange(e,e,t,r)}function getListByRange(t,r,n,i){switch(n.kind){case 169:return getList(n.typeArguments);case 193:return getList(n.properties);case 192:return getList(n.elements);case 173:return getList(n.members);case 244:case 201:case 202:case 161:case 160:case 165:case 162:case 171:case 166:return getList(n.typeParameters)||getList(n.parameters);case 245:case 214:case 246:case 247:case 321:return getList(n.typeParameters);case 197:case 196:return getList(n.typeArguments)||getList(n.arguments);case 243:return getList(n.declarations);case 257:case 261:return getList(n.elements);case 189:case 190:return getList(n.elements)}function getList(a){return a&&e.rangeContainsStartEnd(getVisualListRange(n,a,i),t,r)?a:undefined}}function getVisualListRange(e,t,r){var n=e.getChildren(r);for(var i=1;i=0&&r=0;s--){if(t[s].kind===27){continue}var c=n.getLineAndCharacterOfPosition(t[s].end).line;if(c!==o.line){return findColumnForFirstNonWhitespaceCharacterInLine(o,n,i)}o=getStartLineAndCharacterForNode(t[s],n)}return-1}function findColumnForFirstNonWhitespaceCharacterInLine(e,t,r){var n=t.getPositionOfLineAndCharacter(e.line,0);return findFirstNonWhitespaceColumn(n,n+e.character,t,r)}function findFirstNonWhitespaceCharacterAndColumn(t,r,n,i){var a=0;var o=0;for(var s=t;s0?1:0;var p=e.getStartPositionOfLine(e.getLineOfLocalPosition(t,l)+d,t);p=skipWhitespacesAndLineBreaks(t.text,p);return e.getStartPositionOfLine(e.getLineOfLocalPosition(t,p),t)}function getAdjustedEndPosition(t,r,n){var i=r.end;var o=n.trailingTriviaOption;if(o===a.Exclude||e.isExpression(r)&&o!==a.Include){return i}var s=e.skipTrivia(t.text,i,true);return s!==i&&(o===a.Include||e.isLineBreak(t.text.charCodeAt(s-1)))?s:i}function isSeparator(e,t){return!!t&&!!e.parent&&(t.kind===27||t.kind===26&&e.parent.kind===193)}function spaces(e){var t="";for(var r=0;r"})};ChangeTracker.prototype.getOptionsForInsertNodeBefore=function(t,r,n){if(e.isStatement(t)||e.isClassElement(t)){return{suffix:n?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}}else if(e.isVariableDeclaration(t)){return{suffix:", "}}else if(e.isParameter(t)){return e.isParameter(r)?{suffix:", "}:{}}else if(e.isStringLiteral(t)&&e.isImportDeclaration(t.parent)||e.isNamedImports(t)){return{suffix:", "}}return e.Debug.failBadSyntaxKind(t)};ChangeTracker.prototype.insertNodeAtConstructorStart=function(t,r,i){var a=e.firstOrUndefined(r.body.statements);if(!a||!r.body.multiLine){this.replaceConstructorBody(t,r,n([i],r.body.statements))}else{this.insertNodeBefore(t,a,i)}};ChangeTracker.prototype.insertNodeAtConstructorEnd=function(t,r,i){var a=e.lastOrUndefined(r.body.statements);if(!a||!r.body.multiLine){this.replaceConstructorBody(t,r,n(r.body.statements,[i]))}else{this.insertNodeAfter(t,a,i)}};ChangeTracker.prototype.replaceConstructorBody=function(t,r,n){this.replaceNode(t,r.body,e.createBlock(n,true))};ChangeTracker.prototype.insertNodeAtEndOfScope=function(t,r,n){var i=getAdjustedStartPosition(t,r.getLastToken(),{});this.insertNodeAt(t,i,n,{prefix:e.isLineBreak(t.text.charCodeAt(r.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})};ChangeTracker.prototype.insertNodeAtClassStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)};ChangeTracker.prototype.insertNodeAtObjectStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)};ChangeTracker.prototype.insertNodeAtStartWorker=function(e,t,r){var n;var i=(n=this.guessIndentationFromExistingMembers(e,t))!==null&&n!==void 0?n:this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,getMembersOrProperties(t).pos,r,this.getInsertNodeAtStartInsertOptions(e,t,i))};ChangeTracker.prototype.guessIndentationFromExistingMembers=function(t,r){var n;var i=r;for(var a=0,o=getMembersOrProperties(r);a0?{fileName:a.fileName,textChanges:c}:undefined}))}t.getTextChangesFromChanges=getTextChangesFromChanges;function newFileChanges(t,r,n,i,a){var o=newFileChangesWorker(t,e.getScriptKindFromFileName(r),n,i,a);return{fileName:r,textChanges:[e.createTextChange(e.createTextSpan(0,0),o)],isNewFile:true}}t.newFileChanges=newFileChanges;function newFileChangesWorker(t,r,n,i,a){var o=n.map((function(e){return getNonformattedText(e,t,i).text})).join(i);var s=e.createSourceFile("any file name",o,99,true,r);var c=e.formatting.formatDocument(s,a);return applyChanges(o,c)+i}t.newFileChangesWorker=newFileChangesWorker;function computeNewText(t,r,n,i,a){if(t.kind===s.Remove){return""}if(t.kind===s.Text){return t.text}var o=t.options,c=o===void 0?{}:o,l=t.range.pos;var format=function(e){return getFormattedTextOfNode(e,r,l,c,n,i,a)};var u=t.kind===s.ReplaceWithMultipleNodes?t.nodes.map((function(t){return e.removeSuffix(format(t),n)})).join(t.options.joiner||n):format(t.node);var d=c.preserveLeadingWhitespace||c.indentation!==undefined||e.getLineStartPositionForPosition(l,r)===l?u:u.replace(/^\s+/,"");return(c.prefix||"")+d+(!c.suffix||e.endsWith(d,c.suffix)?"":c.suffix)}function getFormatCodeSettingsForWriting(t,r){var n=t.options;var a=!n.semicolons||n.semicolons===e.SemicolonPreference.Ignore;var o=n.semicolons===e.SemicolonPreference.Remove||a&&!e.probablyUsesSemicolons(r);return i(i({},n),{semicolons:o?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}function getFormattedTextOfNode(t,r,n,a,o,s,c){var l=a.indentation,u=a.prefix,d=a.delta;var p=getNonformattedText(t,r,o),f=p.node,g=p.text;if(c)c(f,g);var m=getFormatCodeSettingsForWriting(s,r);var _=l!==undefined?l:e.formatting.SmartIndenter.getIndentation(n,r,m,u===o||e.getLineStartPositionForPosition(n,r)===n);if(d===undefined){d=e.formatting.SmartIndenter.shouldIndentChildNode(m,t)?m.indentSize||0:0}var y={text:g,getLineAndCharacterOfPosition:function(t){return e.getLineAndCharacterOfPosition(this,t)}};var h=e.formatting.formatNodeGivenIndentation(f,y,r.languageVariant,_,d,i(i({},s),{options:m}));return applyChanges(g,h)}function getNonformattedText(t,r,n){var i=createWriter(n);var a=n==="\n"?1:0;e.createPrinter({newLine:a,neverAsciiEscape:true,preserveSourceNewlines:true},i).writeNode(4,t,r,i);return{text:i.getText(),node:assignPositionsToNode(t)}}t.getNonformattedText=getNonformattedText})(l||(l={}));function applyChanges(t,r){for(var n=r.length-1;n>=0;n--){var i=r[n],a=i.span,o=i.newText;t=""+t.substring(0,a.start)+o+t.substring(e.textSpanEnd(a))}return t}t.applyChanges=applyChanges;function isTrivia(t){return e.skipTrivia(t,0)===t.length}function assignPositionsToNode(t){var r=e.visitEachChild(t,assignPositionsToNode,e.nullTransformationContext,assignPositionsToNodeArray,assignPositionsToNode);var n=e.nodeIsSynthesized(r)?r:Object.create(r);n.pos=getPos(t);n.end=getEnd(t);return n}function assignPositionsToNodeArray(t,r,n,i,a){var o=e.visitNodes(t,r,n,i,a);if(!o){return o}var s=o===t?e.createNodeArray(o.slice(0)):o;s.pos=getPos(t);s.end=getEnd(t);return s}function createWriter(t){var r=0;var n=e.createTextWriter(t);var onEmitNode=function(e,t,n){if(t){setPos(t,r)}n(e,t);if(t){setEnd(t,r)}};var onBeforeEmitNodeArray=function(e){if(e){setPos(e,r)}};var onAfterEmitNodeArray=function(e){if(e){setEnd(e,r)}};var onBeforeEmitToken=function(e){if(e){setPos(e,r)}};var onAfterEmitToken=function(e){if(e){setEnd(e,r)}};function setLastNonTriviaPosition(t,i){if(i||!isTrivia(t)){r=n.getTextPos();var a=0;while(e.isWhiteSpaceLike(t.charCodeAt(t.length-a-1))){a++}r-=a}}function write(e){n.write(e);setLastNonTriviaPosition(e,false)}function writeComment(e){n.writeComment(e)}function writeKeyword(e){n.writeKeyword(e);setLastNonTriviaPosition(e,false)}function writeOperator(e){n.writeOperator(e);setLastNonTriviaPosition(e,false)}function writePunctuation(e){n.writePunctuation(e);setLastNonTriviaPosition(e,false)}function writeTrailingSemicolon(e){n.writeTrailingSemicolon(e);setLastNonTriviaPosition(e,false)}function writeParameter(e){n.writeParameter(e);setLastNonTriviaPosition(e,false)}function writeProperty(e){n.writeProperty(e);setLastNonTriviaPosition(e,false)}function writeSpace(e){n.writeSpace(e);setLastNonTriviaPosition(e,false)}function writeStringLiteral(e){n.writeStringLiteral(e);setLastNonTriviaPosition(e,false)}function writeSymbol(e,t){n.writeSymbol(e,t);setLastNonTriviaPosition(e,false)}function writeLine(e){n.writeLine(e)}function increaseIndent(){n.increaseIndent()}function decreaseIndent(){n.decreaseIndent()}function getText(){return n.getText()}function rawWrite(e){n.rawWrite(e);setLastNonTriviaPosition(e,false)}function writeLiteral(e){n.writeLiteral(e);setLastNonTriviaPosition(e,true)}function getTextPos(){return n.getTextPos()}function getLine(){return n.getLine()}function getColumn(){return n.getColumn()}function getIndent(){return n.getIndent()}function isAtStartOfLine(){return n.isAtStartOfLine()}function clear(){n.clear();r=0}return{onEmitNode:onEmitNode,onBeforeEmitNodeArray:onBeforeEmitNodeArray,onAfterEmitNodeArray:onAfterEmitNodeArray,onBeforeEmitToken:onBeforeEmitToken,onAfterEmitToken:onAfterEmitToken,write:write,writeComment:writeComment,writeKeyword:writeKeyword,writeOperator:writeOperator,writePunctuation:writePunctuation,writeTrailingSemicolon:writeTrailingSemicolon,writeParameter:writeParameter,writeProperty:writeProperty,writeSpace:writeSpace,writeStringLiteral:writeStringLiteral,writeSymbol:writeSymbol,writeLine:writeLine,increaseIndent:increaseIndent,decreaseIndent:decreaseIndent,getText:getText,rawWrite:rawWrite,writeLiteral:writeLiteral,getTextPos:getTextPos,getLine:getLine,getColumn:getColumn,getIndent:getIndent,isAtStartOfLine:isAtStartOfLine,hasTrailingComment:function(){return n.hasTrailingComment()},hasTrailingWhitespace:function(){return n.hasTrailingWhitespace()},clear:clear}}function getInsertionPositionAtSourceFileTop(t){var r;for(var n=0,i=t.statements;n=_+2)break}if(t.statements.length){if(d===undefined)d=t.getLineAndCharacterOfPosition(t.statements[0].getStart()).line;var y=t.getLineAndCharacterOfPosition(g.end).line;if(d1)break}var u=a<2;return function(e){var t=e.fixId,r=e.fixAllDescription,n=s(e,["fixId","fixAllDescription"]);return u?n:i(i({},n),{fixId:t,fixAllDescription:r})}}function getFixes(t){var n=getDiagnostics(t);var i=r.get(String(t.errorCode));return e.flatMap(i,(function(r){return e.map(r.getCodeActions(t),removeFixIdIfFixAllUnavailable(r,n))}))}t.getFixes=getFixes;function getAllFixes(t){return a.get(e.cast(t.fixId,e.isString)).getAllCodeActions(t)}t.getAllFixes=getAllFixes;function createCombinedCodeActions(e,t){return{changes:e,commands:t}}t.createCombinedCodeActions=createCombinedCodeActions;function createFileTextChanges(e,t){return{fileName:e,textChanges:t}}t.createFileTextChanges=createFileTextChanges;function codeFixAll(t,r,n){var i=[];var a=e.textChanges.ChangeTracker.with(t,(function(e){return eachDiagnostic(t,r,(function(t){return n(e,t,i)}))}));return createCombinedCodeActions(a,i.length===0?undefined:i)}t.codeFixAll=codeFixAll;function eachDiagnostic(t,r,n){for(var i=0,a=getDiagnostics(t);ie.textSpanEnd(r)){return"quit"}return(e.isArrowFunction(n)||e.isMethodDeclaration(n)||e.isFunctionExpression(n)||e.isFunctionDeclaration(n))&&e.textSpansEqual(r,e.createTextSpanFromNode(n,t))}));return i}function getIsMatchingAsyncError(t,r){return function(n){var i=n.start,a=n.length,o=n.relatedInformation,s=n.code;return e.isNumber(i)&&e.isNumber(a)&&e.textSpansEqual({start:i,length:a},t)&&s===r&&!!o&&e.some(o,(function(t){return t.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="addMissingAwait";var i=e.Diagnostics.Property_0_does_not_exist_on_type_1.code;var a=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code];var o=n([e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,e.Diagnostics.Type_0_is_not_an_array_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,i],a);t.registerCodeFix({fixIds:[r],errorCodes:o,getCodeActions:function(t){var r=t.sourceFile,n=t.errorCode,i=t.span,a=t.cancellationToken,o=t.program;var s=getFixableErrorSpanExpression(r,n,i,a,o);if(!s){return}var c=t.program.getTypeChecker();var trackChanges=function(r){return e.textChanges.ChangeTracker.with(t,r)};return e.compact([getDeclarationSiteFix(t,s,n,c,trackChanges),getUseSiteFix(t,s,n,c,trackChanges)])},getAllCodeActions:function(r){var n=r.sourceFile,i=r.program,a=r.cancellationToken;var s=r.program.getTypeChecker();var c=e.createMap();return t.codeFixAll(r,o,(function(e,t){var o=getFixableErrorSpanExpression(n,t.code,t,a,i);if(!o){return}var trackChanges=function(t){return t(e),[]};return getDeclarationSiteFix(r,o,t.code,s,trackChanges,c)||getUseSiteFix(r,o,t.code,s,trackChanges,c)}))}});function getDeclarationSiteFix(r,n,i,a,o,s){var c=r.sourceFile,l=r.program,u=r.cancellationToken;var d=findAwaitableInitializers(n,c,u,l,a);if(d){var p=o((function(t){e.forEach(d.initializers,(function(e){var r=e.expression;return makeChange(t,i,c,a,r,s)}));if(s&&d.needsSecondPassForFixAll){makeChange(t,i,c,a,n,s)}}));return t.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",p,d.initializers.length===1?[e.Diagnostics.Add_await_to_initializer_for_0,d.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function getUseSiteFix(n,i,a,o,s,c){var l=s((function(e){return makeChange(e,a,n.sourceFile,o,i,c)}));return t.createCodeFixAction(r,l,e.Diagnostics.Add_await,r,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function isMissingAwaitError(t,r,n,i,a){var o=a.getDiagnosticsProducingTypeChecker();var s=o.getDiagnostics(t,i);return e.some(s,(function(t){var i=t.start,a=t.length,o=t.relatedInformation,s=t.code;return e.isNumber(i)&&e.isNumber(a)&&e.textSpansEqual({start:i,length:a},n)&&s===r&&!!o&&e.some(o,(function(t){return t.code===e.Diagnostics.Did_you_forget_to_use_await.code}))}))}function getFixableErrorSpanExpression(t,r,n,i,a){var o=e.getTokenAtPosition(t,n.start);var s=e.findAncestor(o,(function(r){if(r.getStart(t)e.textSpanEnd(n)){return"quit"}return e.isExpression(r)&&e.textSpansEqual(n,e.createTextSpanFromNode(r,t))}));return s&&isMissingAwaitError(t,r,n,i,a)&&isInsideAwaitableBody(s)?s:undefined}function findAwaitableInitializers(t,r,n,i,a){var o=getIdentifiersFromErrorSpanExpression(t,a);if(!o){return}var s=o.isCompleteFix;var c;var _loop_11=function(t){var o=a.getSymbolAtLocation(t);if(!o){return"continue"}var l=e.tryCast(o.valueDeclaration,e.isVariableDeclaration);var u=l&&e.tryCast(l.name,e.isIdentifier);var d=e.getAncestor(l,225);if(!l||!d||l.type||!l.initializer||d.getSourceFile()!==r||e.hasModifier(d,1)||!u||!isInsideAwaitableBody(l.initializer)){s=false;return"continue"}var p=i.getSemanticDiagnostics(r,n);var f=e.FindAllReferences.Core.eachSymbolReferenceInFile(u,a,r,(function(e){return t!==e&&!symbolReferenceIsAlsoMissingAwait(e,p,r,a)}));if(f){s=false;return"continue"}(c||(c=[])).push({expression:l.initializer,declarationSymbol:o})};for(var l=0,u=o.identifiers;l0){return[t.createCodeFixAction(r,i,e.Diagnostics.Add_const_to_unresolved_variable,r,e.Diagnostics.Add_const_to_all_unresolved_variables)]}},fixIds:[r],getAllCodeActions:function(r){var i=new e.NodeSet;return t.codeFixAll(r,n,(function(e,t){return makeChange(e,t.file,t.start,r.program,i)}))}});function makeChange(t,r,n,i,a){var o=e.getTokenAtPosition(r,n);var s=e.findAncestor(o,(function(t){return e.isForInOrOfStatement(t.parent)?t.parent.initializer===t:isPossiblyPartOfDestructuring(t)?false:"quit"}));if(s)return applyChange(t,s,r,a);var c=o.parent;if(e.isBinaryExpression(c)&&c.operatorToken.kind===62&&e.isExpressionStatement(c.parent)){return applyChange(t,o,r,a)}if(e.isArrayLiteralExpression(c)){var l=i.getTypeChecker();if(!e.every(c.elements,(function(e){return arrayElementCouldBeVariableDeclaration(e,l)}))){return}return applyChange(t,c,r,a)}var u=e.findAncestor(o,(function(t){return e.isExpressionStatement(t.parent)?true:isPossiblyPartOfCommaSeperatedInitializer(t)?false:"quit"}));if(u){var d=i.getTypeChecker();if(!expressionCouldBeVariableDeclaration(u,d)){return}return applyChange(t,u,r,a)}}function applyChange(e,t,r,n){if(!n||n.tryAdd(t)){e.insertModifierBefore(r,81,t)}}function isPossiblyPartOfDestructuring(e){switch(e.kind){case 75:case 192:case 193:case 281:case 282:return true;default:return false}}function arrayElementCouldBeVariableDeclaration(t,r){var n=e.isIdentifier(t)?t:e.isAssignmentExpression(t,true)&&e.isIdentifier(t.left)?t.left:undefined;return!!n&&!r.getSymbolAtLocation(n)}function isPossiblyPartOfCommaSeperatedInitializer(e){switch(e.kind){case 75:case 209:case 27:return true;default:return false}}function expressionCouldBeVariableDeclaration(t,r){if(!e.isBinaryExpression(t)){return false}if(t.operatorToken.kind===27){return e.every([t.left,t.right],(function(e){return expressionCouldBeVariableDeclaration(e,r)}))}return t.operatorToken.kind===62&&e.isIdentifier(t.left)&&!r.getSymbolAtLocation(t.left)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="addMissingDeclareProperty";var n=[e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=e.textChanges.ChangeTracker.with(n,(function(e){return makeChange(e,n.sourceFile,n.span.start)}));if(i.length>0){return[t.createCodeFixAction(r,i,e.Diagnostics.Prefix_with_declare,r,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]}},fixIds:[r],getAllCodeActions:function(r){var i=new e.NodeSet;return t.codeFixAll(r,n,(function(e,t){return makeChange(e,t.file,t.start,i)}))}});function makeChange(t,r,n,i){var a=e.getTokenAtPosition(r,n);if(!e.isIdentifier(a)){return}var o=a.parent;if(o.kind===159&&(!i||i.tryAdd(o))){t.insertModifierBefore(r,130,o)}}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="addMissingInvocationForDecorator";var n=[e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=e.textChanges.ChangeTracker.with(n,(function(e){return makeChange(e,n.sourceFile,n.span.start)}));return[t.createCodeFixAction(r,i,e.Diagnostics.Call_decorator_expression,r,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return makeChange(e,t.file,t.start)}))}});function makeChange(t,r,n){var i=e.getTokenAtPosition(r,n);var a=e.findAncestor(i,e.isDecorator);e.Debug.assert(!!a,"Expected position to be owned by a decorator.");var o=e.createCall(a.expression,undefined,undefined);t.replaceNode(r,a.expression,o)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="addNameToNamelessParameter";var n=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=e.textChanges.ChangeTracker.with(n,(function(e){return makeChange(e,n.sourceFile,n.span.start)}));return[t.createCodeFixAction(r,i,e.Diagnostics.Add_parameter_name,r,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return makeChange(e,t.file,t.start)}))}});function makeChange(t,r,n){var i=e.getTokenAtPosition(r,n);if(!e.isIdentifier(i)){return e.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+e.Debug.formatSyntaxKind(i.kind))}var a=i.parent;if(!e.isParameter(a)){return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(i.kind))}var o=a.parent.parameters.indexOf(a);e.Debug.assert(!a.type,"Tried to add a parameter name to a parameter that already had one.");e.Debug.assert(o>-1,"Parameter not found in parent parameter list.");var s=e.createParameter(undefined,a.modifiers,a.dotDotDotToken,"arg"+o,a.questionToken,e.createTypeReferenceNode(i,undefined),a.initializer);t.replaceNode(r,i,s)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="annotateWithTypeFromJSDoc";var n=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=getDeclaration(n.sourceFile,n.span.start);if(!i)return;var a=e.textChanges.ChangeTracker.with(n,(function(e){return doChange(e,n.sourceFile,i)}));return[t.createCodeFixAction(r,a,e.Diagnostics.Annotate_with_type_from_JSDoc,r,e.Diagnostics.Annotate_everything_with_types_from_JSDoc)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=getDeclaration(t.file,t.start);if(r)doChange(e,t.file,r)}))}});function getDeclaration(t,r){var n=e.getTokenAtPosition(t,r);return e.tryCast(e.isParameter(n.parent)?n.parent.parent:n.parent,parameterShouldGetTypeFromJSDoc)}function parameterShouldGetTypeFromJSDoc(e){return isDeclarationWithType(e)&&hasUsableJSDoc(e)}t.parameterShouldGetTypeFromJSDoc=parameterShouldGetTypeFromJSDoc;function hasUsableJSDoc(t){return e.isFunctionLikeDeclaration(t)?t.parameters.some(hasUsableJSDoc)||!t.type&&!!e.getJSDocReturnType(t):!t.type&&!!e.getJSDocType(t)}function doChange(t,r,n){if(e.isFunctionLikeDeclaration(n)&&(e.getJSDocReturnType(n)||n.parameters.some((function(t){return!!e.getJSDocType(t)})))){if(!n.typeParameters){var i=e.getJSDocTypeParameterDeclarations(n);if(i.length)t.insertTypeParameters(r,n,i)}var a=e.isArrowFunction(n)&&!e.findChildOfKind(n,20,r);if(a)t.insertNodeBefore(r,e.first(n.parameters),e.createToken(20));for(var o=0,s=n.parameters;o0){return S}var x=a.checker.getTypeAtLocation(t);var D=getLastCallSignature(x,a.checker).getReturnType();var C=e.getSynthesizedDeepClone(m);var E=!!a.checker.getPromisedTypeOfPromise(D)?e.createAwait(C):C;if(!shouldReturn(i,a)){var N=createVariableOrAssignmentOrExpressionStatement(r,E,undefined);if(r){r.types.push(D)}return N}else{return maybeAnnotateAndReturn(E,(l=i.typeArguments)===null||l===void 0?void 0:l[0])}}}default:return silentFail()}return e.emptyArray}function getLastCallSignature(t,r){var n=r.getSignaturesOfType(t,0);return e.lastOrUndefined(n)}function removeReturns(t,r,n,i){var a=[];for(var o=0,s=t;o0){return}}else if(!e.isFunctionLike(r)){e.forEachChild(r,visit)}}))}return i}function getArgBindingName(t,r){var n=[];var i;if(e.isFunctionLikeDeclaration(t)){if(t.parameters.length>0){var a=t.parameters[0].name;i=getMappedBindingNameOrDefault(a)}}else if(e.isIdentifier(t)){i=getMapEntryOrDefault(t)}if(!i||"identifier"in i&&i.identifier.text==="undefined"){return undefined}return i;function getMappedBindingNameOrDefault(t){if(e.isIdentifier(t))return getMapEntryOrDefault(t);var r=e.flatMap(t.elements,(function(t){if(e.isOmittedExpression(t))return[];return[getMappedBindingNameOrDefault(t.name)]}));return createSynthBindingPattern(t,r)}function getMapEntryOrDefault(t){var i=getOriginalNode(t);var a=getSymbol(i);if(!a){return createSynthIdentifier(t,n)}var o=r.synthNamesMap.get(e.getSymbolId(a).toString());return o||createSynthIdentifier(t,n)}function getSymbol(e){return e.symbol?e.symbol:r.checker.getSymbolAtLocation(e)}function getOriginalNode(e){return e.original?e.original:e}}function isEmptyBindingName(t){if(!t){return true}if(isSynthIdentifier(t)){return!t.identifier.text}return e.every(t.elements,isEmptyBindingName)}function getNode(e){return isSynthIdentifier(e)?e.identifier:e.bindingPattern}function createSynthIdentifier(e,t){if(t===void 0){t=[]}return{kind:0,identifier:e,types:t,hasBeenDeclared:false}}function createSynthBindingPattern(t,r,n){if(r===void 0){r=e.emptyArray}if(n===void 0){n=[]}return{kind:1,bindingPattern:t,elements:r,types:n}}function isSynthIdentifier(e){return e.kind===0}function isSynthBindingPattern(e){return e.kind===1}function shouldReturn(t,r){return!!t.original&&r.setOfExpressionsToReturn.has(e.getNodeId(t.original).toString())}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){t.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(r){var n=r.sourceFile,i=r.program,a=r.preferences;var o=e.textChanges.ChangeTracker.with(r,(function(t){var r=convertFileToEs6Module(n,i.getTypeChecker(),t,i.getCompilerOptions().target,e.getQuotePreference(n,a));if(r){for(var o=0,s=i.getSourceFiles();o1?[[reExportStar(n),reExportDefault(n)],true]:[[reExportDefault(n)],true]}function reExportStar(e){return makeExportDeclaration(undefined,e)}function reExportDefault(t){return makeExportDeclaration([e.createExportSpecifier(undefined,"default")],t)}function convertExportsPropertyAssignment(t,r,n){var i=t.left,a=t.right,o=t.parent;var s=i.name.text;if((e.isFunctionExpression(a)||e.isArrowFunction(a)||e.isClassExpression(a))&&(!a.name||a.name.text===s)){n.replaceRange(r,{pos:i.getStart(r),end:a.getStart(r)},e.createToken(89),{suffix:" "});if(!a.name)n.insertName(r,a,s);var c=e.findChildOfKind(o,26,r);if(c)n.delete(r,c)}else{n.replaceNodeRangeWithNodes(r,i.expression,e.findChildOfKind(i,24,r),[e.createToken(89),e.createToken(81)],{joiner:" ",suffix:" "})}}function convertExportsDotXEquals_replaceNode(t,r){var n=[e.createToken(89)];switch(r.kind){case 201:{var i=r.name;if(i&&i.text!==t){return exportConst()}}case 202:return functionExpressionToDeclaration(t,n,r);case 214:return classExpressionToDeclaration(t,n,r);default:return exportConst()}function exportConst(){return makeConst(n,e.createIdentifier(t),r)}}function convertSingleImport(r,n,i,a,o,s,c,l){switch(n.kind){case 189:{var u=e.mapAllOrFail(n.elements,(function(t){return t.dotDotDotToken||t.initializer||t.propertyName&&!e.isIdentifier(t.propertyName)||!e.isIdentifier(t.name)?undefined:makeImportSpecifier(t.propertyName&&t.propertyName.text,t.name.text)}));if(u){return[e.makeImport(undefined,u,i,l)]}}case 190:{var d=makeUniqueName(t.moduleSpecifierToValidIdentifier(i.text,c),s);return[e.makeImport(e.createIdentifier(d),undefined,i,l),makeConst(undefined,e.getSynthesizedDeepClone(n),e.createIdentifier(d))]}case 75:return convertSingleIdentifierImport(r,n,i,a,o,s,l);default:return e.Debug.assertNever(n,"Convert to ES6 module got invalid name kind "+n.kind)}}function convertSingleIdentifierImport(t,r,n,i,a,o,s){var c=a.getSymbolAtLocation(r);var l=e.createMap();var u=false;for(var d=0,p=o.original.get(r.text);d=e.ModuleKind.ES2015){return n?1:2}if(e.isInJSFile(t)){return e.isExternalModule(t)?1:3}for(var i=0,a=t.statements;i");return[e.Diagnostics.Convert_function_expression_0_to_arrow_function,l?l.text:e.ANONYMOUS]}else{r.replaceNode(n,c,e.createToken(81));r.insertText(n,l.end," = ");r.insertText(n,u.pos," =>");return[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,l.text]}}else if(e.isSourceFileJS(n)&&e.isPropertyAccessExpression(o.parent)&&e.isAssignmentExpression(o.parent.parent)){t.addJSDocTags(r,n,s,[e.createJSDocClassTag()]);return e.Diagnostics.Add_class_tag}}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="fixSpelling";var n=[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=n.sourceFile;var a=getInfo(i,n.span.start,n);if(!a)return undefined;var o=a.node,s=a.suggestedSymbol;var c=n.host.getCompilationSettings().target;var l=e.textChanges.ChangeTracker.with(n,(function(e){return doChange(e,i,o,s,c)}));return[t.createCodeFixAction("spelling",l,[e.Diagnostics.Change_spelling_to_0,e.symbolName(s)],r,e.Diagnostics.Fix_all_detected_spelling_errors)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){var n=getInfo(r.file,r.start,e);var i=e.host.getCompilationSettings().target;if(n)doChange(t,e.sourceFile,n.node,n.suggestedSymbol,i)}))}});function getInfo(t,r,n){var i=e.getTokenAtPosition(t,r);var a=i.parent;var o=n.program.getTypeChecker();var s;if(e.isPropertyAccessExpression(a)&&a.name===i){e.Debug.assert(e.isIdentifierOrPrivateIdentifier(i),"Expected an identifier for spelling (property access)");var c=o.getTypeAtLocation(a.expression);if(a.flags&32){c=o.getNonNullableType(c)}s=o.getSuggestedSymbolForNonexistentProperty(i,c)}else if(e.isImportSpecifier(a)&&a.name===i){e.Debug.assertNode(i,e.isIdentifier,"Expected an identifier for spelling (import)");var l=e.findAncestor(i,e.isImportDeclaration);var u=getResolvedSourceFileFromImportDeclaration(t,n,l);if(u&&u.symbol){s=o.getSuggestedSymbolForNonexistentModule(i,u.symbol)}}else{var d=e.getMeaningFromLocation(i);var p=e.getTextOfNode(i);e.Debug.assert(p!==undefined,"name should be defined");s=o.getSuggestedSymbolForNonexistentSymbol(i,p,convertSemanticMeaningToSymbolFlags(d))}return s===undefined?undefined:{node:i,suggestedSymbol:s}}function doChange(t,r,n,i,a){var o=e.symbolName(i);if(!e.isIdentifierText(o,a)&&e.isPropertyAccessExpression(n.parent)){var s=i.valueDeclaration;if(e.isNamedDeclaration(s)&&e.isPrivateIdentifier(s.name)){t.replaceNode(r,n,e.createIdentifier(o))}else{t.replaceNode(r,n.parent,e.createElementAccess(n.parent.expression,e.createLiteral(o)))}}else{t.replaceNode(r,n,e.createIdentifier(o))}}function convertSemanticMeaningToSymbolFlags(e){var t=0;if(e&4){t|=1920}if(e&2){t|=788968}if(e&1){t|=111551}return t}function getResolvedSourceFileFromImportDeclaration(t,r,n){if(!n||!e.isStringLiteralLike(n.moduleSpecifier))return undefined;var i=e.getResolvedModule(t,n.moduleSpecifier.text);if(!i)return undefined;return r.program.getSourceFile(i.resolvedFileName)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="returnValueCorrect";var n="fixAddReturnStatement";var i="fixRemoveBlockBodyBrace";var a="fixWrapTheBlockWithParen";var o=[e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];var s;(function(e){e[e["MissingReturnStatement"]=0]="MissingReturnStatement";e[e["MissingParentheses"]=1]="MissingParentheses"})(s||(s={}));t.registerCodeFix({errorCodes:o,fixIds:[n,i,a],getCodeActions:function(t){var r=t.program,n=t.sourceFile,i=t.span.start,a=t.errorCode;var o=getInfo(r.getTypeChecker(),n,i,a);if(!o)return undefined;if(o.kind===s.MissingReturnStatement){return e.append([getActionForfixAddReturnStatement(t,o.expression,o.statement)],e.isArrowFunction(o.declaration)?getActionForfixRemoveBlockBodyBrace(t,o.declaration,o.expression,o.commentSource):undefined)}else{return[getActionForfixWrapTheBlockWithParen(t,o.declaration,o.expression)]}},getAllCodeActions:function(r){return t.codeFixAll(r,o,(function(t,o){var s=getInfo(r.program.getTypeChecker(),o.file,o.start,o.code);if(!s)return undefined;switch(r.fixId){case n:addReturnStatement(t,o.file,s.expression,s.statement);break;case i:if(!e.isArrowFunction(s.declaration))return undefined;removeBlockBodyBrace(t,o.file,s.declaration,s.expression,s.commentSource,false);break;case a:if(!e.isArrowFunction(s.declaration))return undefined;wrapBlockWithParen(t,o.file,s.declaration,s.expression);break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}});function getFixInfo(t,r,n,i){if(!r.body||!e.isBlock(r.body)||e.length(r.body.statements)!==1)return undefined;var a=e.first(r.body.statements);if(e.isExpressionStatement(a)&&checkFixedAssignableTo(t,r,a.expression,n,i)){return{declaration:r,kind:s.MissingReturnStatement,expression:a.expression,statement:a,commentSource:a.expression}}else if(e.isLabeledStatement(a)&&e.isExpressionStatement(a.statement)){var o=e.createObjectLiteral([e.createPropertyAssignment(a.label,a.statement.expression)]);if(checkFixedAssignableTo(t,r,o,n,i)){return e.isArrowFunction(r)?{declaration:r,kind:s.MissingParentheses,expression:o,statement:a,commentSource:a.statement.expression}:{declaration:r,kind:s.MissingReturnStatement,expression:o,statement:a,commentSource:a.statement.expression}}}else if(e.isBlock(a)&&e.length(a.statements)===1){var c=e.first(a.statements);if(e.isLabeledStatement(c)&&e.isExpressionStatement(c.statement)){var o=e.createObjectLiteral([e.createPropertyAssignment(c.label,c.statement.expression)]);if(checkFixedAssignableTo(t,r,o,n,i)){return{declaration:r,kind:s.MissingReturnStatement,expression:o,statement:a,commentSource:c}}}}return undefined}function checkFixedAssignableTo(t,r,n,i,a){return t.isTypeAssignableTo(t.getTypeAtLocation(a?e.updateFunctionLikeBody(r,e.createBlock([e.createReturn(n)])):n),i)}function getInfo(t,r,n,i){var a=e.getTokenAtPosition(r,n);if(!a.parent)return undefined;var o=e.findAncestor(a.parent,e.isFunctionLikeDeclaration);switch(i){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!o||!o.body||!o.type||!e.rangeContainsRange(o.type,a))return undefined;return getFixInfo(t,o,t.getTypeFromTypeNode(o.type),false);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!o||!e.isCallExpression(o.parent)||!o.body)return undefined;var s=o.parent.arguments.indexOf(o);var c=t.getContextualTypeForArgumentAtIndex(o.parent,s);if(!c)return undefined;return getFixInfo(t,o,c,true);case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(a)||!e.isVariableLike(a.parent)&&!e.isJsxAttribute(a.parent))return undefined;var l=getVariableLikeInitializer(a.parent);if(!l||!e.isFunctionLikeDeclaration(l)||!l.body)return undefined;return getFixInfo(t,l,t.getTypeAtLocation(a.parent),true)}return undefined}function getVariableLikeInitializer(t){switch(t.kind){case 242:case 156:case 191:case 159:case 281:return t.initializer;case 273:return t.initializer&&(e.isJsxExpression(t.initializer)?t.initializer.expression:undefined);case 282:case 158:case 284:case 323:case 317:return undefined}}function addReturnStatement(t,r,n,i){e.suppressLeadingAndTrailingTrivia(n);var a=e.probablyUsesSemicolons(r);t.replaceNode(r,i,e.createReturn(n),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:a?";":undefined})}function removeBlockBodyBrace(t,r,n,i,a,o){var s=o||e.needsParentheses(i)?e.createParen(i):i;e.suppressLeadingAndTrailingTrivia(a);e.copyComments(a,s);t.replaceNode(r,n.body,s)}function wrapBlockWithParen(t,r,n,i){t.replaceNode(r,n.body,e.createParen(i))}function getActionForfixAddReturnStatement(i,a,o){var s=e.textChanges.ChangeTracker.with(i,(function(e){return addReturnStatement(e,i.sourceFile,a,o)}));return t.createCodeFixAction(r,s,e.Diagnostics.Add_a_return_statement,n,e.Diagnostics.Add_all_missing_return_statement)}function getActionForfixRemoveBlockBodyBrace(n,a,o,s){var c=e.textChanges.ChangeTracker.with(n,(function(e){return removeBlockBodyBrace(e,n.sourceFile,a,o,s,false)}));return t.createCodeFixAction(r,c,e.Diagnostics.Remove_block_body_braces,i,e.Diagnostics.Remove_all_incorrect_body_block_braces)}function getActionForfixWrapTheBlockWithParen(n,i,o){var s=e.textChanges.ChangeTracker.with(n,(function(e){return wrapBlockWithParen(e,n.sourceFile,i,o)}));return t.createCodeFixAction(r,s,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,a,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="addMissingMember";var n=[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code];var i="addMissingMember";t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=getInfo(n.sourceFile,n.span.start,n.program.getTypeChecker(),n.program);if(!a)return undefined;if(a.kind===0){var o=a.token,s=a.parentDeclaration;var c=e.textChanges.ChangeTracker.with(n,(function(e){return addEnumMemberDeclaration(e,n.program.getTypeChecker(),o,s)}));return[t.createCodeFixAction(r,c,[e.Diagnostics.Add_missing_enum_member_0,o.text],i,e.Diagnostics.Add_all_missing_members)]}var l=a.parentDeclaration,u=a.declSourceFile,d=a.inJs,p=a.makeStatic,f=a.token,g=a.call;var m=g&&getActionForMethodDeclaration(n,u,l,f,g,p,d);var _=d&&!e.isInterfaceDeclaration(l)?e.singleElementArray(getActionsForAddMissingMemberInJavascriptFile(n,u,l,f,p)):getActionsForAddMissingMemberInTypeScriptFile(n,u,l,f,p);return e.concatenate(e.singleElementArray(m),_)},fixIds:[i],getAllCodeActions:function(r){var i=r.program;var a=i.getTypeChecker();var o=e.createMap();var s=new e.NodeMap;return t.createCombinedCodeActions(e.textChanges.ChangeTracker.with(r,(function(c){t.eachDiagnostic(r,n,(function(t){var n=getInfo(t.file,t.start,a,r.program);if(!n||!e.addToSeen(o,e.getNodeId(n.parentDeclaration)+"#"+n.token.text)){return}if(n.kind===0){var i=n.token,l=n.parentDeclaration;addEnumMemberDeclaration(c,a,i,l)}else{var l=n.parentDeclaration,u=n.token;var d=s.getOrUpdate(l,(function(){return[]}));if(!d.some((function(e){return e.token.text===u.text})))d.push(n)}}));s.forEach((function(t,n){var o=getAllSupers(n,a);var _loop_13=function(t){if(o.some((function(e){var r=s.get(e);return!!r&&r.some((function(e){var r=e.token;return r.text===t.token.text}))})))return"continue";var n=t.parentDeclaration,a=t.declSourceFile,l=t.inJs,u=t.makeStatic,d=t.token,p=t.call;if(p&&!e.isPrivateIdentifier(d)){addMethodDeclaration(r,c,a,n,d,p,u,l)}else{if(l&&!e.isInterfaceDeclaration(n)){addMissingMemberInJs(c,a,n,d,u)}else{var f=getTypeNode(i.getTypeChecker(),n,d);addPropertyDeclaration(c,a,n,d.text,f,u?32:0)}}};for(var l=0,u=t;l=e.ModuleKind.ES2015&&o99;if(u){var c=e.textChanges.ChangeTracker.with(r,(function(r){var n=e.getTsConfigObjectLiteralExpression(i);if(!n)return;var a=[["target",e.createStringLiteral("es2017")]];if(o===e.ModuleKind.CommonJS){a.push(["module",e.createStringLiteral("commonjs")])}t.setJsonCompilerOptionValues(r,i,a)}));a.push(t.createCodeFixActionWithoutFixAll("fixTargetOption",c,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return a.length?a:undefined}})})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="extendsInterfaceBecomesImplements";var n=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=n.sourceFile;var a=getNodes(i,n.span.start);if(!a)return undefined;var o=a.extendsToken,s=a.heritageClauses;var c=e.textChanges.ChangeTracker.with(n,(function(e){return doChanges(e,i,o,s)}));return[t.createCodeFixAction(r,c,e.Diagnostics.Change_extends_to_implements,r,e.Diagnostics.Change_all_extended_interfaces_to_implements)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=getNodes(t.file,t.start);if(r)doChanges(e,t.file,r.extendsToken,r.heritageClauses)}))}});function getNodes(t,r){var n=e.getTokenAtPosition(t,r);var i=e.getContainingClass(n).heritageClauses;var a=i[0].getFirstToken();return a.kind===90?{extendsToken:a,heritageClauses:i}:undefined}function doChanges(t,r,n,i){t.replaceNode(r,n,e.createToken(113));if(i.length===2&&i[0].token===90&&i[1].token===113){var a=i[1].getFirstToken();var o=a.getFullStart();t.replaceRange(r,{pos:o,end:o},e.createToken(27));var s=r.text;var c=a.end;while(c":">","}":"}"};function isValidCharacter(t){return e.hasProperty(a,t)}function doChange(t,r,n,i,o){var s=n.getText()[i];if(!isValidCharacter(s)){return}var c=o?a[s]:"{"+e.quote(s,r)+"}";t.replaceRangeWithText(n,{pos:i,end:i+1},c)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="unusedIdentifier";var n="unusedIdentifier_prefix";var i="unusedIdentifier_delete";var a="unusedIdentifier_infer";var o=[e.Diagnostics._0_is_declared_but_its_value_is_never_read.code,e.Diagnostics._0_is_declared_but_never_used.code,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,e.Diagnostics.All_imports_in_import_declaration_are_unused.code,e.Diagnostics.All_destructured_elements_are_unused.code,e.Diagnostics.All_variables_are_unused.code,e.Diagnostics.All_type_parameters_are_unused.code];t.registerCodeFix({errorCodes:o,getCodeActions:function(i){var o=i.errorCode,s=i.sourceFile,c=i.program;var l=c.getTypeChecker();var u=c.getSourceFiles();var d=e.getTokenAtPosition(s,i.span.start);if(e.isJSDocTemplateTag(d)){return[createDeleteFix(e.textChanges.ChangeTracker.with(i,(function(e){return e.delete(s,d)})),e.Diagnostics.Remove_template_tag)]}if(d.kind===29){var p=e.textChanges.ChangeTracker.with(i,(function(e){return deleteTypeParameters(e,s,d)}));return[createDeleteFix(p,e.Diagnostics.Remove_type_parameters)]}var f=tryGetFullImport(d);if(f){var p=e.textChanges.ChangeTracker.with(i,(function(e){return e.delete(s,f)}));return[createDeleteFix(p,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(f)])]}var g=e.textChanges.ChangeTracker.with(i,(function(e){return tryDeleteFullDestructure(d,e,s,l,u,false)}));if(g.length){return[createDeleteFix(g,e.Diagnostics.Remove_destructuring)]}var m=e.textChanges.ChangeTracker.with(i,(function(e){return tryDeleteFullVariableStatement(s,d,e)}));if(m.length){return[createDeleteFix(m,e.Diagnostics.Remove_variable_statement)]}var _=[];if(d.kind===132){var p=e.textChanges.ChangeTracker.with(i,(function(e){return changeInferToUnknown(e,s,d)}));var y=e.cast(d.parent,e.isInferTypeNode).typeParameter.name.text;_.push(t.createCodeFixAction(r,p,[e.Diagnostics.Replace_infer_0_with_unknown,y],a,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var h=e.textChanges.ChangeTracker.with(i,(function(e){return tryDeleteDeclaration(s,d,e,l,u,false)}));if(h.length){var y=e.isComputedPropertyName(d.parent)?d.parent:d;_.push(createDeleteFix(h,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,y.getText(s)]))}}var v=e.textChanges.ChangeTracker.with(i,(function(e){return tryPrefixDeclaration(e,o,s,d)}));if(v.length){_.push(t.createCodeFixAction(r,v,[e.Diagnostics.Prefix_0_with_an_underscore,d.getText(s)],n,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible))}return _},fixIds:[n,i,a],getAllCodeActions:function(r){var s=r.sourceFile,c=r.program;var l=c.getTypeChecker();var u=c.getSourceFiles();return t.codeFixAll(r,o,(function(t,o){var c=e.getTokenAtPosition(s,o.start);switch(r.fixId){case n:tryPrefixDeclaration(t,o.code,s,c);break;case i:{if(c.kind===132)break;var d=tryGetFullImport(c);if(d){t.delete(s,d)}else if(e.isJSDocTemplateTag(c)){t.delete(s,c)}else if(c.kind===29){deleteTypeParameters(t,s,c)}else if(!tryDeleteFullDestructure(c,t,s,l,u,true)&&!tryDeleteFullVariableStatement(s,c,t)){tryDeleteDeclaration(s,c,t,l,u,true)}break}case a:if(c.kind===132){changeInferToUnknown(t,s,c)}break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}});function changeInferToUnknown(t,r,n){t.replaceNode(r,n.parent,e.createKeywordTypeNode(148))}function createDeleteFix(n,a){return t.createCodeFixAction(r,n,a,i,e.Diagnostics.Delete_all_unused_declarations)}function deleteTypeParameters(t,r,n){t.delete(r,e.Debug.checkDefined(e.cast(n.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function tryGetFullImport(t){return t.kind===96?e.tryCast(t.parent,e.isImportDeclaration):undefined}function tryDeleteFullDestructure(t,r,n,i,a,o){if(t.kind!==18||!e.isObjectBindingPattern(t.parent))return false;var s=t.parent.parent;if(s.kind===156){tryDeleteParameter(r,n,s,i,a,o)}else{r.delete(n,s)}return true}function tryDeleteFullVariableStatement(t,r,n){var i=e.tryCast(r.parent,e.isVariableDeclarationList);if(i&&i.getChildren(t)[0]===r){n.delete(t,i.parent.kind===225?i.parent:i);return true}return false}function tryPrefixDeclaration(t,r,n,i){if(r===e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)return;if(i.kind===132){i=e.cast(i.parent,e.isInferTypeNode).typeParameter.name}if(e.isIdentifier(i)&&canPrefix(i)){t.replaceNode(n,i,e.createIdentifier("_"+i.text));if(e.isParameter(i.parent)){e.getJSDocParameterTags(i.parent).forEach((function(r){if(e.isIdentifier(r.name)){t.replaceNode(n,r.name,e.createIdentifier("_"+r.name.text))}}))}}}function canPrefix(e){switch(e.parent.kind){case 156:case 155:return true;case 242:{var t=e.parent;switch(t.parent.parent.kind){case 232:case 231:return true}}}return false}function tryDeleteDeclaration(t,r,n,i,a,o){tryDeleteDeclarationWorker(r,n,t,i,a,o);if(e.isIdentifier(r))deleteAssignments(n,t,r,i)}function deleteAssignments(t,r,n,i){e.FindAllReferences.Core.eachSymbolReferenceInFile(n,i,r,(function(n){if(e.isPropertyAccessExpression(n.parent)&&n.parent.name===n)n=n.parent;if(e.isBinaryExpression(n.parent)&&e.isExpressionStatement(n.parent.parent)&&n.parent.left===n){t.delete(r,n.parent.parent)}}))}function tryDeleteDeclarationWorker(t,r,n,i,a,o){var s=t.parent;if(e.isParameter(s)){tryDeleteParameter(r,n,s,i,a,o)}else{r.delete(n,e.isImportClause(s)?t:e.isComputedPropertyName(s)?s.parent:s)}}function tryDeleteParameter(t,r,n,i,a,o){if(mayDeleteParameter(n,i,o)){if(n.modifiers&&n.modifiers.length>0&&(!e.isIdentifier(n.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(n.name,i,r))){n.modifiers.forEach((function(e){t.deleteModifier(r,e)}))}else{t.delete(r,n);deleteUnusedArguments(t,r,n,a,i)}}}function mayDeleteParameter(t,r,n){var i=t.parent;switch(i.kind){case 161:var a=r.getSymbolAtLocation(i.name);if(e.isMemberSymbolInBaseType(a,r))return false;case 162:case 244:return true;case 201:case 202:{var o=i.parameters;var s=o.indexOf(t);e.Debug.assert(s!==-1,"The parameter should already be in the list");return n?o.slice(s+1).every((function(e){return e.name.kind===75&&!e.symbol.isReferenced})):s===o.length-1}case 164:return false;default:return e.Debug.failBadSyntaxKind(i)}}function deleteUnusedArguments(t,r,n,i,a){e.FindAllReferences.Core.eachSignatureCall(n.parent,i,a,(function(e){var i=n.parent.parameters.indexOf(n);if(e.arguments.length>i){t.delete(r,e.arguments[i])}}))}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="fixUnreachableCode";var n=[e.Diagnostics.Unreachable_code_detected.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=e.textChanges.ChangeTracker.with(n,(function(e){return doChange(e,n.sourceFile,n.span.start,n.span.length,n.errorCode)}));return[t.createCodeFixAction(r,i,e.Diagnostics.Remove_unreachable_code,r,e.Diagnostics.Remove_all_unreachable_code)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return doChange(e,t.file,t.start,t.length,t.code)}))}});function doChange(t,r,n,i,a){var o=e.getTokenAtPosition(r,n);var s=e.findAncestor(o,e.isStatement);if(s.getStart(r)!==o.getStart(r)){var c=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(s.kind),tokenKind:e.Debug.formatSyntaxKind(o.kind),errorCode:a,start:n,length:i});e.Debug.fail("Token and statement should start at the same point. "+c)}var l=(e.isBlock(s.parent)?s.parent:s).parent;if(!e.isBlock(s.parent)||s===e.first(s.parent.statements)){switch(l.kind){case 227:if(l.elseStatement){if(e.isBlock(s.parent)){break}else{t.replaceNode(r,s,e.createBlock(e.emptyArray))}return}case 229:case 230:t.delete(r,l);return}}if(e.isBlock(s.parent)){var u=n+i;var d=e.Debug.checkDefined(lastWhere(e.sliceAfter(s.parent.statements,s),(function(e){return e.posk.length){var A=c.getSignatureFromDeclaration(s[s.length-1]);outputMethod(A,f,d,createStubbedMethodBody(i))}else{e.Debug.assert(s.length===k.length,"Declarations and signatures should match count");o(createMethodImplementingSignatures(k,d,m,f,i))}}break}function outputMethod(e,t,i,s){var c=signatureToMethodDeclaration(n,e,r,t,i,m,s,a);if(c)o(c)}}function signatureToMethodDeclaration(t,r,n,i,a,o,s,c){var l=t.program;var u=l.getTypeChecker();var d=e.getEmitScriptTarget(l.getCompilerOptions());var p=u.signatureToSignatureDeclaration(r,161,n,1|256,getNoopSymbolTrackerWithResolver(t));if(!p){return undefined}if(c){if(p.typeParameters){e.forEach(p.typeParameters,(function(e,t){var n=r.typeParameters[t];if(e.constraint){var i=tryGetAutoImportableReferenceFromImportTypeNode(e.constraint,n.constraint,d);if(i){e.constraint=i.typeReference;importSymbols(c,i.symbols)}}if(e.default){var i=tryGetAutoImportableReferenceFromImportTypeNode(e.default,n.default,d);if(i){e.default=i.typeReference;importSymbols(c,i.symbols)}}}))}e.forEach(p.parameters,(function(e,t){var n=r.parameters[t];var i=tryGetAutoImportableReferenceFromImportTypeNode(e.type,u.getTypeAtLocation(n.valueDeclaration),d);if(i){e.type=i.typeReference;importSymbols(c,i.symbols)}}));if(p.type){var f=tryGetAutoImportableReferenceFromImportTypeNode(p.type,r.resolvedReturnType,d);if(f){p.type=f.typeReference;importSymbols(c,f.symbols)}}}p.decorators=undefined;p.modifiers=i;p.name=a;p.questionToken=o?e.createToken(57):undefined;p.body=s;return p}function createMethodFromCallExpression(t,r,n,i,a,o,s){var c=!e.isInterfaceDeclaration(o);var l=r.typeArguments,u=r.arguments,d=r.parent;var p=e.getEmitScriptTarget(t.program.getCompilerOptions());var f=t.program.getTypeChecker();var g=getNoopSymbolTrackerWithResolver(t);var m=e.map(u,(function(e){return typeToAutoImportableTypeNode(f,s,f.getBaseTypeOfLiteralType(f.getTypeAtLocation(e)),o,p,undefined,g)}));var _=e.map(u,(function(t){return e.isIdentifier(t)?t.text:e.isPropertyAccessExpression(t)&&e.isIdentifier(t.name)?t.name.text:undefined}));var y=f.getContextualType(r);var h=i||!y?undefined:f.typeToTypeNode(y,o,undefined,g);return e.createMethod(undefined,a?[e.createToken(120)]:undefined,e.isYieldExpression(d)?e.createToken(41):undefined,n,undefined,i?undefined:e.map(l,(function(t,r){return e.createTypeParameterDeclaration(84+l.length-1<=90?String.fromCharCode(84+r):"T"+r)})),createDummyParameters(u.length,_,m,undefined,i),h,c?createStubbedMethodBody(t.preferences):undefined)}t.createMethodFromCallExpression=createMethodFromCallExpression;function typeToAutoImportableTypeNode(t,r,n,i,a,o,s){var c=t.typeToTypeNode(n,i,o,s);if(c&&e.isImportTypeNode(c)){var l=tryGetAutoImportableReferenceFromImportTypeNode(c,n,a);if(l){importSymbols(r,l.symbols);return l.typeReference}}return c}t.typeToAutoImportableTypeNode=typeToAutoImportableTypeNode;function createDummyParameters(t,r,n,i,a){var o=[];for(var s=0;s=i?e.createToken(57):undefined,a?undefined:n&&n[s]||e.createKeywordTypeNode(125),undefined);o.push(c)}return o}function createMethodImplementingSignatures(t,r,n,i,a){var o=t[0];var s=t[0].minArgumentCount;var c=false;for(var l=0,u=t;l=o.parameters.length&&(!e.signatureHasRestParameter(d)||e.signatureHasRestParameter(o))){o=d}}var p=o.parameters.length-(e.signatureHasRestParameter(o)?1:0);var f=o.parameters.map((function(e){return e.name}));var g=createDummyParameters(p,f,undefined,s,false);if(c){var m=e.createArrayTypeNode(e.createKeywordTypeNode(125));var _=e.createParameter(undefined,undefined,e.createToken(25),f[p]||"rest",p>=s?e.createToken(57):undefined,m,undefined);g.push(_)}return createStubbedMethod(i,r,n,undefined,g,undefined,a)}function createStubbedMethod(t,r,n,i,a,o,s){return e.createMethod(undefined,t,undefined,r,n?e.createToken(57):undefined,i,a,o,createStubbedMethodBody(s))}function createStubbedMethodBody(t){return e.createBlock([e.createThrow(e.createNew(e.createIdentifier("Error"),undefined,[e.createLiteral("Method not implemented.",t.quotePreference==="single")]))],true)}function createVisibilityModifier(t){if(t&4){return e.createToken(119)}else if(t&16){return e.createToken(118)}return undefined}function setJsonCompilerOptionValues(t,r,n){var i=e.getTsConfigObjectLiteralExpression(r);if(!i)return undefined;var a=findJsonProperty(i,"compilerOptions");if(a===undefined){t.insertNodeAtObjectStart(r,i,createJsonPropertyAssignment("compilerOptions",e.createObjectLiteral(n.map((function(e){var t=e[0],r=e[1];return createJsonPropertyAssignment(t,r)})),true)));return}var o=a.initializer;if(!e.isObjectLiteralExpression(o)){return}for(var s=0,c=n;s0){return[t.createCodeFixAction(r,i,e.Diagnostics.Convert_to_a_bigint_numeric_literal,r,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return makeChange(e,t.file,t)}))}});function makeChange(t,r,n){var i=e.tryCast(e.getTokenAtPosition(r,n.start),e.isNumericLiteral);if(!i){return}var a=i.getText(r)+"n";t.replaceNode(r,i,e.createBigIntLiteral(a))}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="fixAddModuleReferTypeMissingTypeof";var n=r;var i=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];t.registerCodeFix({errorCodes:i,getCodeActions:function(r){var i=r.sourceFile,a=r.span;var o=getImportTypeNode(i,a.start);var s=e.textChanges.ChangeTracker.with(r,(function(e){return doChange(e,i,o)}));return[t.createCodeFixAction(n,s,e.Diagnostics.Add_missing_typeof,n,e.Diagnostics.Add_missing_typeof)]},fixIds:[n],getAllCodeActions:function(e){return t.codeFixAll(e,i,(function(t,r){return doChange(t,e.sourceFile,getImportTypeNode(r.file,r.start))}))}});function getImportTypeNode(t,r){var n=e.getTokenAtPosition(t,r);e.Debug.assert(n.kind===96,"This token should be an ImportKeyword");e.Debug.assert(n.parent.kind===188,"Token parent should be an ImportType");return n.parent}function doChange(t,r,n){var i=e.updateImportTypeNode(n,n.argument,n.qualifier,n.typeArguments,true);t.replaceNode(r,n,i)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="fixConvertToMappedObjectType";var i=r;var a=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead.code];t.registerCodeFix({errorCodes:a,getCodeActions:function(r){var n=r.sourceFile,a=r.span;var o=getInfo(n,a.start);if(!o)return undefined;var s=e.textChanges.ChangeTracker.with(r,(function(e){return doChange(e,n,o)}));var c=e.idText(o.container.name);return[t.createCodeFixAction(i,s,[e.Diagnostics.Convert_0_to_mapped_object_type,c],i,[e.Diagnostics.Convert_0_to_mapped_object_type,c])]},fixIds:[i],getAllCodeActions:function(e){return t.codeFixAll(e,a,(function(e,t){var r=getInfo(t.file,t.start);if(r)doChange(e,t.file,r)}))}});function getInfo(t,r){var n=e.getTokenAtPosition(t,r);var i=e.cast(n.parent.parent,e.isIndexSignatureDeclaration);if(e.isClassDeclaration(i.parent))return undefined;var a=e.isInterfaceDeclaration(i.parent)?i.parent:e.cast(i.parent.parent,e.isTypeAliasDeclaration);return{indexSignature:i,container:a}}function createTypeAliasFromInterface(t,r){return e.createTypeAliasDeclaration(t.decorators,t.modifiers,t.name,t.typeParameters,r)}function doChange(t,r,i){var a=i.indexSignature,o=i.container;var s=e.isInterfaceDeclaration(o)?o.members:o.type.members;var c=s.filter((function(t){return!e.isIndexSignatureDeclaration(t)}));var l=e.first(a.parameters);var u=e.createTypeParameterDeclaration(e.cast(l.name,e.isIdentifier),l.type);var d=e.createMappedTypeNode(e.hasReadonlyModifier(a)?e.createModifier(138):undefined,u,a.questionToken,a.type);var p=e.createIntersectionTypeNode(n(e.getAllSuperTypeNodes(o),[d],c.length?[e.createTypeLiteralNode(c)]:e.emptyArray));t.replaceNode(r,o,createTypeAliasFromInterface(o,p))}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="removeUnnecessaryAwait";var n=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=e.textChanges.ChangeTracker.with(n,(function(e){return makeChange(e,n.sourceFile,n.span)}));if(i.length>0){return[t.createCodeFixAction(r,i,e.Diagnostics.Remove_unnecessary_await,r,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return makeChange(e,t.file,t)}))}});function makeChange(t,r,n){var i=e.tryCast(e.getTokenAtPosition(r,n.start),(function(e){return e.kind===127}));var a=i&&e.tryCast(i.parent,e.isAwaitExpression);if(!a){return}var o=a;var s=e.isParenthesizedExpression(a.parent);if(s){var c=e.getLeftmostExpression(a.expression,false);if(e.isIdentifier(c)){var l=e.findPrecedingToken(a.parent.pos,r);if(l&&l.kind!==99){o=a.parent}}}t.replaceNode(r,o,a.expression)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code];var n="splitTypeOnlyImport";t.registerCodeFix({errorCodes:r,fixIds:[n],getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return splitTypeOnlyImport(e,getImportDeclaration(r.sourceFile,r.span),r)}));if(i.length){return[t.createCodeFixAction(n,i,e.Diagnostics.Split_into_two_separate_import_declarations,n,e.Diagnostics.Split_all_invalid_type_only_imports)]}},getAllCodeActions:function(e){return t.codeFixAll(e,r,(function(t,r){splitTypeOnlyImport(t,getImportDeclaration(e.sourceFile,r),e)}))}});function getImportDeclaration(t,r){return e.findAncestor(e.getTokenAtPosition(t,r.start),e.isImportDeclaration)}function splitTypeOnlyImport(t,r,n){if(!r){return}var i=e.Debug.checkDefined(r.importClause);t.replaceNode(n.sourceFile,r,e.updateImportDeclaration(r,r.decorators,r.modifiers,e.updateImportClause(i,i.name,undefined,i.isTypeOnly),r.moduleSpecifier));t.insertNodeAfter(n.sourceFile,r,e.createImportDeclaration(undefined,undefined,e.updateImportClause(i,undefined,i.namedBindings,i.isTypeOnly),r.moduleSpecifier))}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="fixConvertConstToLet";var n=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=n.sourceFile,a=n.span,o=n.program;var s=getVariableStatement(i,a.start,o);var c=e.textChanges.ChangeTracker.with(n,(function(e){return doChange(e,i,s)}));return[t.createCodeFixAction(r,c,e.Diagnostics.Convert_const_to_let,r,e.Diagnostics.Convert_const_to_let)]},fixIds:[r]});function getVariableStatement(t,r,n){var i=e.getTokenAtPosition(t,r);var a=n.getTypeChecker();var o=a.getSymbolAtLocation(i);if(o){return o.valueDeclaration.parent.parent}}function doChange(e,t,r){if(!r){return}var n=r.getStart();e.replaceRangeWithText(t,{pos:n,end:n+5},"let")}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="fixExpectedComma";var n=e.Diagnostics._0_expected.code;var i=[n];t.registerCodeFix({errorCodes:i,getCodeActions:function(n){var i=n.sourceFile;var a=getInfo(i,n.span.start,n.errorCode);if(!a){return undefined}var o=e.textChanges.ChangeTracker.with(n,(function(e){return doChange(e,i,a)}));return[t.createCodeFixAction(r,o,[e.Diagnostics.Change_0_to_1,";",","],r,[e.Diagnostics.Change_0_to_1,";",","])]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,i,(function(t,r){var n=getInfo(r.file,r.start,r.code);if(n)doChange(t,e.sourceFile,n)}))}});function getInfo(t,r,n){var i=e.getTokenAtPosition(t,r);return i.kind===26&&i.parent&&(e.isObjectLiteralExpression(i.parent)||e.isArrayLiteralExpression(i.parent))?{node:i}:undefined}function doChange(t,r,n){var i=n.node;var a=e.createNode(27);t.replaceNode(r,i,a)}})(t=e.codefix||(e.codefix={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="Convert export";var n="Convert default export to named export";var i="Convert named export to default export";t.registerRefactor(r,{getAvailableActions:function(t){var a=getInfo(t);if(!a)return e.emptyArray;var o=a.wasDefault?e.Diagnostics.Convert_default_export_to_named_export.message:e.Diagnostics.Convert_named_export_to_default_export.message;var s=a.wasDefault?n:i;return[{name:r,description:o,actions:[{name:s,description:o}]}]},getEditsForAction:function(t,r){e.Debug.assert(r===n||r===i,"Unexpected action name");var a=e.textChanges.ChangeTracker.with(t,(function(r){return doChange(t.file,t.program,e.Debug.checkDefined(getInfo(t),"context must have info"),r,t.cancellationToken)}));return{edits:a,renameFilename:undefined,renameLocation:undefined}}});function getInfo(t){var r=t.file;var n=e.getRefactorContextSpan(t);var i=e.getTokenAtPosition(r,n.start);var a=e.getParentNodeInSpan(i,r,n);if(!a||!e.isSourceFile(a.parent)&&!(e.isModuleBlock(a.parent)&&e.isAmbientModule(a.parent.parent))){return undefined}var o=e.isSourceFile(a.parent)?a.parent.symbol:a.parent.parent.symbol;var s=e.getModifierFlags(a);var c=!!(s&512);if(!(s&1)||!c&&o.exports.has("default")){return undefined}switch(a.kind){case 244:case 245:case 246:case 248:case 247:case 249:{var l=a;return l.name&&e.isIdentifier(l.name)?{exportNode:l,exportName:l.name,wasDefault:c,exportingModuleSymbol:o}:undefined}case 225:{var u=a;if(!(u.declarationList.flags&2)||u.declarationList.declarations.length!==1){return undefined}var d=e.first(u.declarationList.declarations);if(!d.initializer)return undefined;e.Debug.assert(!c,"Can't have a default flag here");return e.isIdentifier(d.name)?{exportNode:u,exportName:d.name,wasDefault:c,exportingModuleSymbol:o}:undefined}default:return undefined}}function doChange(e,t,r,n,i){changeExport(e,r,n,t.getTypeChecker());changeImports(t,r,n,i)}function changeExport(t,r,n,i){var a=r.wasDefault,o=r.exportNode,s=r.exportName;if(a){n.delete(t,e.Debug.checkDefined(e.findModifier(o,84),"Should find a default keyword in modifier list"))}else{var c=e.Debug.checkDefined(e.findModifier(o,89),"Should find an export keyword in modifier list");switch(o.kind){case 244:case 245:case 246:n.insertNodeAfter(t,c,e.createToken(84));break;case 225:if(!e.FindAllReferences.Core.isSymbolReferencedInFile(s,i,t)){n.replaceNode(t,o,e.createExportDefault(e.Debug.checkDefined(e.first(o.declarationList.declarations).initializer,"Initializer was previously known to be present")));break}case 248:case 247:case 249:n.deleteModifier(t,c);n.insertNodeAfter(t,o,e.createExportDefault(e.createIdentifier(s.text)));break;default:e.Debug.assertNever(o,"Unexpected exportNode kind "+o.kind)}}}function changeImports(t,r,n,i){var a=r.wasDefault,o=r.exportName,s=r.exportingModuleSymbol;var c=t.getTypeChecker();var l=e.Debug.checkDefined(c.getSymbolAtLocation(o),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(t.getSourceFiles(),c,i,l,s,o.text,a,(function(e){var t=e.getSourceFile();if(a){changeDefaultToNamedImport(t,e,n,o.text)}else{changeNamedToDefaultImport(t,e,n)}}))}function changeDefaultToNamedImport(t,r,n,i){var a=r.parent;switch(a.kind){case 194:n.replaceNode(t,r,e.createIdentifier(i));break;case 258:case 263:{var o=a;n.replaceNode(t,o,makeImportSpecifier(i,o.name.text));break}case 255:{var s=a;e.Debug.assert(s.name===r,"Import clause name should match provided ref");var o=makeImportSpecifier(i,r.text);var c=s.namedBindings;if(!c){n.replaceNode(t,r,e.createNamedImports([o]))}else if(c.kind===256){n.deleteRange(t,{pos:r.getStart(t),end:c.getStart(t)});var l=e.isStringLiteral(s.parent.moduleSpecifier)?e.quotePreferenceFromString(s.parent.moduleSpecifier,t):1;var u=e.makeImport(undefined,[makeImportSpecifier(i,r.text)],s.parent.moduleSpecifier,l);n.insertNodeAfter(t,s.parent,u)}else{n.delete(t,r);n.insertNodeAtEndOfList(t,c.elements,o)}break}default:e.Debug.failBadSyntaxKind(a)}}function changeNamedToDefaultImport(t,r,n){var i=r.parent;switch(i.kind){case 194:n.replaceNode(t,r,e.createIdentifier("default"));break;case 258:{var a=e.createIdentifier(i.name.text);if(i.parent.elements.length===1){n.replaceNode(t,i.parent,a)}else{n.delete(t,i);n.insertNodeBefore(t,i.parent,a)}break}case 263:{n.replaceNode(t,i,makeExportSpecifier("default",i.name.text));break}default:e.Debug.assertNever(i,"Unexpected parent kind "+i.kind)}}function makeImportSpecifier(t,r){return e.createImportSpecifier(t===r?undefined:e.createIdentifier(t),e.createIdentifier(r))}function makeExportSpecifier(t,r){return e.createExportSpecifier(t===r?undefined:e.createIdentifier(t),e.createIdentifier(r))}})(t=e.refactor||(e.refactor={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="Convert import";var n="Convert namespace import to named imports";var i="Convert named imports to namespace import";t.registerRefactor(r,{getAvailableActions:function(t){var a=getImportToConvert(t);if(!a)return e.emptyArray;var o=a.kind===256?e.Diagnostics.Convert_namespace_import_to_named_imports.message:e.Diagnostics.Convert_named_imports_to_namespace_import.message;var s=a.kind===256?n:i;return[{name:r,description:o,actions:[{name:s,description:o}]}]},getEditsForAction:function(t,r){e.Debug.assert(r===n||r===i,"Unexpected action name");var a=e.textChanges.ChangeTracker.with(t,(function(r){return doChange(t.file,t.program,r,e.Debug.checkDefined(getImportToConvert(t),"Context must provide an import to convert"))}));return{edits:a,renameFilename:undefined,renameLocation:undefined}}});function getImportToConvert(t){var r=t.file;var n=e.getRefactorContextSpan(t);var i=e.getTokenAtPosition(r,n.start);var a=e.getParentNodeInSpan(i,r,n);if(!a||!e.isImportDeclaration(a))return undefined;var o=a.importClause;return o&&o.namedBindings}function doChange(t,r,n,i){var a=r.getTypeChecker();if(i.kind===256){doChangeNamespaceToNamed(t,a,n,i,e.getAllowSyntheticDefaultImports(r.getCompilerOptions()))}else{doChangeNamedToNamespace(t,a,n,i)}}function doChangeNamespaceToNamed(t,r,n,i,a){var o=false;var s=[];var c=e.createMap();e.FindAllReferences.Core.eachSymbolReferenceInFile(i.name,r,t,(function(t){if(!e.isPropertyAccessExpression(t.parent)){o=true}else{var n=e.cast(t.parent,e.isPropertyAccessExpression);var i=n.name.text;if(r.resolveName(i,t,67108863,true)){c.set(i,true)}e.Debug.assert(n.expression===t,"Parent expression should match id");s.push(n)}}));var l=e.createMap();for(var u=0,d=s;u=r.start+r.length){(s||(s=[])).push(e.createDiagnosticForNode(t,i.cannotExtractSuper));return true}}else{l|=a.UsesThis}break}if(e.isFunctionLikeDeclaration(t)||e.isClassLike(t)){switch(t.kind){case 244:case 245:if(e.isSourceFile(t.parent)&&t.parent.externalModuleIndicator===undefined){(s||(s=[])).push(e.createDiagnosticForNode(t,i.functionWillNotBeVisibleInTheNewScope))}break}return false}var p=u;switch(t.kind){case 227:u=0;break;case 240:u=0;break;case 223:if(t.parent&&t.parent.kind===240&&t.parent.finallyBlock===t){u=4}break;case 278:case 277:u|=1;break;default:if(e.isIterationStatement(t,false)){u|=1|2}break}switch(t.kind){case 183:case 104:l|=a.UsesThis;break;case 238:{var f=t.label;(d||(d=[])).push(f.escapedText);e.forEachChild(t,visit);d.pop();break}case 234:case 233:{var f=t.label;if(f){if(!e.contains(d,f.escapedText)){(s||(s=[])).push(e.createDiagnosticForNode(t,i.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange))}}else{if(!(u&(t.kind===234?1:2))){(s||(s=[])).push(e.createDiagnosticForNode(t,i.cannotExtractRangeContainingConditionalBreakOrContinueStatements))}}break}case 206:l|=a.IsAsyncFunction;break;case 212:l|=a.IsGenerator;break;case 235:if(u&4){l|=a.HasReturn}else{(s||(s=[])).push(e.createDiagnosticForNode(t,i.cannotExtractRangeContainingConditionalReturnStatement))}break;default:e.forEachChild(t,visit);break}u=p}}}r.getRangeToExtract=getRangeToExtract;function getStatementOrExpressionRange(t){if(e.isStatement(t)){return[t]}else if(e.isExpressionNode(t)){return e.isExpressionStatement(t.parent)?[t.parent]:t}return undefined}function isScope(t){return e.isFunctionLikeDeclaration(t)||e.isSourceFile(t)||e.isModuleBlock(t)||e.isClassLike(t)}function collectEnclosingScopes(t){var r=isReadonlyArray(t.range)?e.first(t.range):t.range;if(t.facts&a.UsesThis){var n=e.getContainingClass(r);if(n){var i=e.findAncestor(r,e.isFunctionLikeDeclaration);return i?[i,n]:[n]}}var o=[];while(true){r=r.parent;if(r.kind===156){r=e.findAncestor(r,(function(t){return e.isFunctionLikeDeclaration(t)})).parent}if(isScope(r)){o.push(r);if(r.kind===290){return o}}}}function getFunctionExtractionAtIndex(t,r,n){var i=getPossibleExtractionsWorker(t,r),a=i.scopes,o=i.readsAndWrites,s=o.target,c=o.usagesPerScope,l=o.functionErrorsPerScope,u=o.exposedVariableDeclarations;e.Debug.assert(!l[n].length,"The extraction went missing? How?");r.cancellationToken.throwIfCancellationRequested();return extractFunctionInScope(s,a[n],c[n],u,t,r)}function getConstantExtractionAtIndex(t,r,n){var i=getPossibleExtractionsWorker(t,r),a=i.scopes,o=i.readsAndWrites,s=o.target,c=o.usagesPerScope,l=o.constantErrorsPerScope,u=o.exposedVariableDeclarations;e.Debug.assert(!l[n].length,"The extraction went missing? How?");e.Debug.assert(u.length===0,"Extract constant accepted a range containing a variable declaration?");r.cancellationToken.throwIfCancellationRequested();var d=e.isExpression(s)?s:s.statements[0].expression;return extractConstantInScope(d,a[n],c[n],t.facts,r)}function getPossibleExtractions(t,r){var n=getPossibleExtractionsWorker(t,r),i=n.scopes,a=n.readsAndWrites,o=a.functionErrorsPerScope,s=a.constantErrorsPerScope;var c=i.map((function(t,r){var n=getDescriptionForFunctionInScope(t);var i=getDescriptionForConstantInScope(t);var a=e.isFunctionLikeDeclaration(t)?getDescriptionForFunctionLikeDeclaration(t):e.isClassLike(t)?getDescriptionForClassLikeDeclaration(t):getDescriptionForModuleLikeDeclaration(t);var c;var l;if(a===1){c=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[n,"global"]);l=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"global"])}else if(a===0){c=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[n,"module"]);l=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"module"])}else{c=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[n,a]);l=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[i,a])}if(r===0&&!e.isClassLike(t)){l=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[i])}return{functionExtraction:{description:c,errors:o[r]},constantExtraction:{description:l,errors:s[r]}}}));return c}function getPossibleExtractionsWorker(e,t){var r=t.file;var n=collectEnclosingScopes(e);var i=getEnclosingTextRange(e,r);var a=collectReadsAndWrites(e,n,i,r,t.program.getTypeChecker(),t.cancellationToken);return{scopes:n,readsAndWrites:a}}function getDescriptionForFunctionInScope(t){return e.isFunctionLikeDeclaration(t)?"inner function":e.isClassLike(t)?"method":"function"}function getDescriptionForConstantInScope(t){return e.isClassLike(t)?"readonly field":"constant"}function getDescriptionForFunctionLikeDeclaration(t){switch(t.kind){case 162:return"constructor";case 201:case 244:return t.name?"function '"+t.name.text+"'":e.ANONYMOUS;case 202:return"arrow function";case 161:return"method '"+t.name.getText()+"'";case 163:return"'get "+t.name.getText()+"'";case 164:return"'set "+t.name.getText()+"'";default:throw e.Debug.assertNever(t,"Unexpected scope kind "+t.kind)}}function getDescriptionForClassLikeDeclaration(e){return e.kind===245?e.name?"class '"+e.name.text+"'":"anonymous class declaration":e.name?"class expression '"+e.name.text+"'":"anonymous class expression"}function getDescriptionForModuleLikeDeclaration(e){return e.kind===250?"namespace '"+e.parent.name.getText()+"'":e.externalModuleIndicator?0:1}var o;(function(e){e[e["Module"]=0]="Module";e[e["Global"]=1]="Global"})(o||(o={}));function extractFunctionInScope(t,r,n,i,o,s){var c=n.usages,l=n.typeParameterUsages,u=n.substitutions;var d=s.program.getTypeChecker();var p=e.getEmitScriptTarget(s.program.getCompilerOptions());var f=e.codefix.createImportAdder(s.file,s.program,s.preferences,s.host);var g=r.getSourceFile();var m=e.getUniqueName(e.isClassLike(r)?"newMethod":"newFunction",g);var _=e.isInJSFile(r);var y=e.createIdentifier(m);var h;var v=[];var T=[];var b;c.forEach((function(t,n){var i;if(!_){var a=d.getTypeOfSymbolAtLocation(t.symbol,t.node);a=d.getBaseTypeOfLiteralType(a);i=e.codefix.typeToAutoImportableTypeNode(d,f,a,r,p,1)}var o=e.createParameter(undefined,undefined,undefined,n,undefined,i);v.push(o);if(t.usage===2){(b||(b=[])).push(t)}T.push(e.createIdentifier(n))}));var S=e.arrayFrom(l.values()).map((function(e){return{type:e,declaration:getFirstDeclaration(e)}}));var x=S.sort(compareTypesByDeclarationOrder);var D=x.length===0?undefined:x.map((function(e){return e.declaration}));var C=D!==undefined?D.map((function(t){return e.createTypeReferenceNode(t.name,undefined)})):undefined;if(e.isExpression(t)&&!_){var E=d.getContextualType(t);h=d.typeToTypeNode(E,r,1)}var N=transformFunctionBody(t,i,b,u,!!(o.facts&a.HasReturn)),k=N.body,A=N.returnValueProperty;e.suppressLeadingAndTrailingTrivia(k);var F;if(e.isClassLike(r)){var P=_?[]:[e.createToken(117)];if(o.facts&a.InStaticRegion){P.push(e.createToken(120))}if(o.facts&a.IsAsyncFunction){P.push(e.createToken(126))}F=e.createMethod(undefined,P.length?P:undefined,o.facts&a.IsGenerator?e.createToken(41):undefined,y,undefined,D,v,h,k)}else{F=e.createFunctionDeclaration(undefined,o.facts&a.IsAsyncFunction?[e.createToken(126)]:undefined,o.facts&a.IsGenerator?e.createToken(41):undefined,y,D,v,h,k)}var O=e.textChanges.ChangeTracker.fromContext(s);var I=(isReadonlyArray(o.range)?e.last(o.range):o.range).end;var w=getNodeToInsertFunctionBefore(I,r);if(w){O.insertNodeBefore(s.file,w,F,true)}else{O.insertNodeAtEndOfScope(s.file,r,F)}f.writeFixes(O);var M=[];var L=getCalledExpression(r,o,m);var R=e.createCall(L,C,T);if(o.facts&a.IsGenerator){R=e.createYield(e.createToken(41),R)}if(o.facts&a.IsAsyncFunction){R=e.createAwait(R)}if(i.length&&!b){e.Debug.assert(!A,"Expected no returnValueProperty");e.Debug.assert(!(o.facts&a.HasReturn),"Expected RangeFacts.HasReturn flag to be unset");if(i.length===1){var B=i[0];M.push(e.createVariableStatement(undefined,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedDeepClone(B.name),e.getSynthesizedDeepClone(B.type),R)],B.parent.flags)))}else{var j=[];var J=[];var W=i[0].parent.flags;var U=false;for(var V=0,z=i;V1){return t}n=t;t=t.parent}}function getFirstDeclaration(e){var t;var r=e.symbol;if(r&&r.declarations){for(var n=0,i=r.declarations;n0;if(e.isBlock(t)&&!o&&i.size===0){return{body:e.createBlock(t.statements,true),returnValueProperty:undefined}}var s;var c=false;var l=e.createNodeArray(e.isBlock(t)?t.statements.slice(0):[e.isStatement(t)?t:e.createReturn(t)]);if(o||i.size){var u=e.visitNodes(l,visitor).slice();if(o&&!a&&e.isStatement(t)){var d=getPropertyAssignmentsForWritesAndVariableDeclarations(r,n);if(d.length===1){u.push(e.createReturn(d[0].name))}else{u.push(e.createReturn(e.createObjectLiteral(d)))}}return{body:e.createBlock(u,true),returnValueProperty:s}}else{return{body:e.createBlock(l,true),returnValueProperty:undefined}}function visitor(t){if(!c&&t.kind===235&&o){var a=getPropertyAssignmentsForWritesAndVariableDeclarations(r,n);if(t.expression){if(!s){s="__return"}a.unshift(e.createPropertyAssignment(s,e.visitNode(t.expression,visitor)))}if(a.length===1){return e.createReturn(a[0].name)}else{return e.createReturn(e.createObjectLiteral(a))}}else{var l=c;c=c||e.isFunctionLikeDeclaration(t)||e.isClassLike(t);var u=i.get(e.getNodeId(t).toString());var d=u?e.getSynthesizedDeepClone(u):e.visitEachChild(t,visitor,e.nullTransformationContext);c=l;return d}}}function transformConstantInitializer(t,r){return r.size?visitor(t):t;function visitor(t){var n=r.get(e.getNodeId(t).toString());return n?e.getSynthesizedDeepClone(n):e.visitEachChild(t,visitor,e.nullTransformationContext)}}function getStatementsOrClassElements(t){if(e.isFunctionLikeDeclaration(t)){var r=t.body;if(e.isBlock(r)){return r.statements}}else if(e.isModuleBlock(t)||e.isSourceFile(t)){return t.statements}else if(e.isClassLike(t)){return t.members}else{e.assertType(t)}return e.emptyArray}function getNodeToInsertFunctionBefore(t,r){return e.find(getStatementsOrClassElements(r),(function(r){return r.pos>=t&&e.isFunctionLikeDeclaration(r)&&!e.isConstructorDeclaration(r)}))}function getNodeToInsertPropertyBefore(t,r){var n=r.members;e.Debug.assert(n.length>0,"Found no members");var i;var a=true;for(var o=0,s=n;ot){return i||n[0]}if(a&&!e.isPropertyDeclaration(c)){if(i!==undefined){return c}a=false}i=c}if(i===undefined)return e.Debug.fail();return i}function getNodeToInsertConstantBefore(t,r){e.Debug.assert(!e.isClassLike(r));var n;for(var i=t;i!==r;i=i.parent){if(isScope(i)){n=i}}for(var i=(n||t).parent;;i=i.parent){if(isBlockLike(i)){var a=void 0;for(var o=0,s=i.statements;ot.pos){break}a=c}if(!a&&e.isCaseClause(i)){e.Debug.assert(e.isSwitchStatement(i.parent.parent),"Grandparent isn't a switch statement");return i.parent.parent}return e.Debug.checkDefined(a,"prevStatement failed to get set")}e.Debug.assert(i!==r,"Didn't encounter a block-like before encountering scope")}}function getPropertyAssignmentsForWritesAndVariableDeclarations(t,r){var n=e.map(t,(function(t){return e.createShorthandPropertyAssignment(t.symbol.name)}));var i=e.map(r,(function(t){return e.createShorthandPropertyAssignment(t.symbol.name)}));return n===undefined?i:i===undefined?n:n.concat(i)}function isReadonlyArray(t){return e.isArray(t)}function getEnclosingTextRange(t,r){return isReadonlyArray(t.range)?{pos:e.first(t.range).getStart(r),end:e.last(t.range).getEnd()}:t.range}var s;(function(e){e[e["Read"]=1]="Read";e[e["Write"]=2]="Write"})(s||(s={}));function collectReadsAndWrites(t,r,n,o,s,c){var l=e.createMap();var u=[];var d=[];var p=[];var f=[];var g=[];var m=e.createMap();var _=[];var y;var h=!isReadonlyArray(t.range)?t.range:t.range.length===1&&e.isExpressionStatement(t.range[0])?t.range[0].expression:undefined;var v;if(h===undefined){var T=t.range;var b=e.first(T).getStart();var S=e.last(T).end;v=e.createFileDiagnostic(o,b,S-b,i.expressionExpected)}else if(s.getTypeAtLocation(h).flags&(16384|131072)){v=e.createDiagnosticForNode(h,i.uselessConstantType)}for(var x=0,D=r;x0){var O=e.createMap();var I=0;for(var w=A;w!==undefined&&I0&&(n.usages.size>0||n.typeParameterUsages.size>0)){var a=isReadonlyArray(t.range)?t.range[0]:t.range;f[r].push(e.createDiagnosticForNode(a,i.cannotAccessVariablesFromNestedScopes))}var o=false;var s;u[r].usages.forEach((function(t){if(t.usage===2){o=true;if(t.symbol.flags&106500&&t.symbol.valueDeclaration&&e.hasModifier(t.symbol.valueDeclaration,64)){s=t.symbol.valueDeclaration}}}));e.Debug.assert(isReadonlyArray(t.range)||_.length===0,"No variable declarations expected if something was extracted");if(o&&!isReadonlyArray(t.range)){var c=e.createDiagnosticForNode(t.range,i.cannotWriteInExpression);p[r].push(c);f[r].push(c)}else if(s&&r>0){var c=e.createDiagnosticForNode(s,i.cannotExtractReadonlyPropertyInitializerOutsideConstructor);p[r].push(c);f[r].push(c)}else if(y){var c=e.createDiagnosticForNode(y,i.cannotExtractExportedEntity);p[r].push(c);f[r].push(c)}};for(var J=0;J=l){return _}N.set(_,l);if(y){for(var h=0,v=u;h=0){return}var n=e.isIdentifier(r)?getSymbolReferencedByIdentifier(r):s.getSymbolAtLocation(r);if(n){var i=e.find(g,(function(e){return e.symbol===n}));if(i){if(e.isVariableDeclaration(i)){var a=i.symbol.id.toString();if(!m.has(a)){_.push(i);m.set(a,true)}}else{y=y||i}}}e.forEachChild(r,checkForUsedDeclarations)}function getSymbolReferencedByIdentifier(t){return t.parent&&e.isShorthandPropertyAssignment(t.parent)&&t.parent.name===t?s.getShorthandAssignmentValueSymbol(t.parent):s.getSymbolAtLocation(t)}function tryReplaceWithQualifiedNameOrPropertyAccess(t,r,n){if(!t){return undefined}var i=t.getDeclarations();if(i&&i.some((function(e){return e.parent===r}))){return e.createIdentifier(t.name)}var a=tryReplaceWithQualifiedNameOrPropertyAccess(t.parent,r,n);if(a===undefined){return undefined}return n?e.createQualifiedName(a,e.createIdentifier(t.name)):e.createPropertyAccess(a,t.name)}}function isExtractableExpression(e){var t=e.parent;switch(t.kind){case 284:return false}switch(e.kind){case 10:return t.kind!==254&&t.kind!==258;case 213:case 189:case 191:return false;case 75:return t.kind!==191&&t.kind!==258&&t.kind!==263}return true}function isBlockLike(e){switch(e.kind){case 223:case 290:case 250:case 277:return true;default:return false}}})(r=t.extractSymbol||(t.extractSymbol={}))})(t=e.refactor||(e.refactor={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r="Extract type";var n="Extract to type alias";var i="Extract to interface";var a="Extract to typedef";t.registerRefactor(r,{getAvailableActions:function(t){var o=getRangeToExtract(t);if(!o)return e.emptyArray;return[{name:r,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:o.isJS?[{name:a,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef)}]:e.append([{name:n,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias)}],o.typeElements&&{name:i,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface)})}]},getEditsForAction:function(t,r){var o=t.file;var s=e.Debug.checkDefined(getRangeToExtract(t),"Expected to find a range to extract");var c=e.getUniqueName("NewType",o);var l=e.textChanges.ChangeTracker.with(t,(function(t){switch(r){case n:e.Debug.assert(!s.isJS,"Invalid actionName/JS combo");return doTypeAliasChange(t,o,c,s);case a:e.Debug.assert(s.isJS,"Invalid actionName/JS combo");return doTypedefChange(t,o,c,s);case i:e.Debug.assert(!s.isJS&&!!s.typeElements,"Invalid actionName/JS combo");return doInterfaceChange(t,o,c,s);default:e.Debug.fail("Unexpected action name")}}));var u=o.fileName;var d=e.getRenameLocation(l,u,c,false);return{edits:l,renameFilename:u,renameLocation:d}}});function getRangeToExtract(t){var r=t.file,n=t.startPosition;var i=e.isSourceFileJS(r);var a=e.getTokenAtPosition(r,n);var o=e.createTextRangeFromSpan(e.getRefactorContextSpan(t));var s=e.findAncestor(a,(function(e){return e.parent&&rangeContainsSkipTrivia(o,e,r)&&!rangeContainsSkipTrivia(o,e.parent,r)}));if(!s||!e.isTypeNode(s))return undefined;var c=t.program.getTypeChecker();var l=e.Debug.checkDefined(e.findAncestor(s,e.isStatement),"Should find a statement");var u=collectTypeParameters(c,s,l,r);if(!u)return undefined;var d=flattenTypeLiteralNodeReference(c,s);return{isJS:i,selection:s,firstStatement:l,typeParameters:u,typeElements:d}}function flattenTypeLiteralNodeReference(t,r){if(!r)return undefined;if(e.isIntersectionTypeNode(r)){var n=[];var i=e.createMap();for(var a=0,o=r.types;an.pos}));if(a===-1)return undefined;var o=i[a];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,n)){return{toMove:[i[a]],afterLast:i[a+1]}}if(n.pos>o.getStart(r))return undefined;var s=e.findIndex(i,(function(e){return e.end>n.end}),a);if(s!==-1&&(s===0||i[s].getStart(r)=a&&e.every(t,(function(e){return isValidParameterDeclaration(e,r)}))}function isValidParameterDeclaration(t,r){if(e.isRestParameter(t)){var n=r.getTypeAtLocation(t);if(!r.isArrayType(n)&&!r.isTupleType(n))return false}return!t.modifiers&&!t.decorators&&e.isIdentifier(t.name)}function isValidVariableDeclaration(t){return e.isVariableDeclaration(t)&&e.isVarConst(t)&&e.isIdentifier(t.name)&&!t.type}function hasThisParameter(t){return t.length>0&&e.isThis(t[0].name)}function getRefactorableParametersLength(e){if(hasThisParameter(e)){return e.length-1}return e.length}function getRefactorableParameters(t){if(hasThisParameter(t)){t=e.createNodeArray(t.slice(1),t.hasTrailingComma)}return t}function createPropertyOrShorthandAssignment(t,r){if(e.isIdentifier(r)&&e.getTextOfIdentifierOrLiteral(r)===t){return e.createShorthandPropertyAssignment(t)}return e.createPropertyAssignment(t,r)}function createNewArgument(t,r){var n=getRefactorableParameters(t.parameters);var i=e.isRestParameter(e.last(n));var a=i?r.slice(0,n.length-1):r;var o=e.map(a,(function(t,r){var i=getParameterName(n[r]);var a=createPropertyOrShorthandAssignment(i,t);e.suppressLeadingAndTrailingTrivia(a.name);if(e.isPropertyAssignment(a))e.suppressLeadingAndTrailingTrivia(a.initializer);e.copyComments(t,a);return a}));if(i&&r.length>=n.length){var s=r.slice(n.length-1);var c=e.createPropertyAssignment(getParameterName(e.last(n)),e.createArrayLiteral(s));o.push(c)}var l=e.createObjectLiteral(o,false);return l}function createNewParameters(t,r,n){var i=r.getTypeChecker();var a=getRefactorableParameters(t.parameters);var o=e.map(a,createBindingElementFromParameterDeclaration);var s=e.createObjectBindingPattern(o);var c=createParameterTypeNode(a);var l;if(e.every(a,isOptionalParameter)){l=e.createObjectLiteral()}var u=e.createParameter(undefined,undefined,undefined,s,undefined,c,l);if(hasThisParameter(t.parameters)){var d=t.parameters[0];var p=e.createParameter(undefined,undefined,undefined,d.name,undefined,d.type);e.suppressLeadingAndTrailingTrivia(p.name);e.copyComments(d.name,p.name);if(d.type){e.suppressLeadingAndTrailingTrivia(p.type);e.copyComments(d.type,p.type)}return e.createNodeArray([p,u])}return e.createNodeArray([u]);function createBindingElementFromParameterDeclaration(t){var r=e.createBindingElement(undefined,undefined,getParameterName(t),e.isRestParameter(t)&&isOptionalParameter(t)?e.createArrayLiteral():t.initializer);e.suppressLeadingAndTrailingTrivia(r);if(t.initializer&&r.initializer){e.copyComments(t.initializer,r.initializer)}return r}function createParameterTypeNode(t){var r=e.map(t,createPropertySignatureFromParameterDeclaration);var n=e.addEmitFlags(e.createTypeLiteralNode(r),1);return n}function createPropertySignatureFromParameterDeclaration(t){var r=t.type;if(!r&&(t.initializer||e.isRestParameter(t))){r=getTypeNode(t)}var n=e.createPropertySignature(undefined,getParameterName(t),isOptionalParameter(t)?e.createToken(57):t.questionToken,r,undefined);e.suppressLeadingAndTrailingTrivia(n);e.copyComments(t.name,n.name);if(t.type&&n.type){e.copyComments(t.type,n.type)}return n}function getTypeNode(t){var a=i.getTypeAtLocation(t);return e.getTypeNodeIfAccessible(a,t,r,n)}function isOptionalParameter(t){if(e.isRestParameter(t)){var r=i.getTypeAtLocation(t);return!i.isTupleType(r)}return i.isOptionalParameter(t)}}function getParameterName(t){return e.getTextOfIdentifierOrLiteral(t.name)}function getClassNames(t){switch(t.parent.kind){case 245:var r=t.parent;if(r.name)return[r.name];var n=e.Debug.checkDefined(e.findModifier(r,84),"Nameless class declaration should be a default export");return[n];case 214:var i=t.parent;var a=t.parent.parent;var o=i.name;if(o)return[o,a.name];return[a.name]}}function getFunctionNames(t){switch(t.kind){case 244:if(t.name)return[t.name];var r=e.Debug.checkDefined(e.findModifier(t,84),"Nameless function declaration should be a default export");return[r];case 161:return[t.name];case 162:var n=e.Debug.checkDefined(e.findChildOfKind(t,129,t.getSourceFile()),"Constructor declaration should have constructor keyword");if(t.parent.kind===214){var i=t.parent.parent;return[i.name,n]}return[n];case 202:return[t.parent.name];case 201:if(t.name)return[t.name,t.parent.name];return[t.parent.name];default:return e.Debug.assertNever(t,"Unexpected function declaration kind "+t.kind)}}})(r=t.convertParamsToDestructuredObject||(t.convertParamsToDestructuredObject={}))})(t=e.refactor||(e.refactor={}))})(l||(l={}));var l;(function(e){var t;(function(t){var r;(function(r){var n="Convert to template string";var i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string);t.registerRefactor(n,{getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(t){var r=t.file,a=t.startPosition;var o=getNodeOrParentOfParentheses(r,a);var s=getParentBinaryExpression(o);var c={name:n,description:i,actions:[]};if(e.isBinaryExpression(s)&&isStringConcatenationValid(s)){c.actions.push({name:n,description:i});return[c]}return e.emptyArray}function getNodeOrParentOfParentheses(t,r){var n=e.getTokenAtPosition(t,r);var i=getParentBinaryExpression(n);var a=!isStringConcatenationValid(i);if(a&&e.isParenthesizedExpression(i.parent)&&e.isBinaryExpression(i.parent.parent)){return i.parent.parent}return n}function getEditsForAction(t,r){var n=t.file,a=t.startPosition;var o=getNodeOrParentOfParentheses(n,a);switch(r){case i:return{edits:getEditsForToTemplateLiteral(t,o)};default:return e.Debug.fail("invalid action")}}function getEditsForToTemplateLiteral(t,r){var n=getParentBinaryExpression(r);var i=t.file;var a=nodesToTemplate(treeToArray(n),i);var o=e.getTrailingCommentRanges(i.text,n.end);if(o){var s=o[o.length-1];var c={pos:o[0].pos,end:s.end};return e.textChanges.ChangeTracker.with(t,(function(e){e.deleteRange(i,c);e.replaceNode(i,n,a)}))}else{return e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(i,n,a)}))}}function isNotEqualsOperator(e){return e.operatorToken.kind!==62}function getParentBinaryExpression(t){while(e.isBinaryExpression(t.parent)&&isNotEqualsOperator(t.parent)){t=t.parent}return t}function isStringConcatenationValid(e){var t=treeToArray(e),r=t.containsString,n=t.areOperatorsValid;return r&&n}function treeToArray(t){if(e.isBinaryExpression(t)){var r=treeToArray(t.left),n=r.nodes,i=r.operators,a=r.containsString,o=r.areOperatorsValid;if(!a&&!e.isStringLiteral(t.right)){return{nodes:[t],operators:[],containsString:false,areOperatorsValid:true}}var s=t.operatorToken.kind===39;var c=o&&s;n.push(t.right);i.push(t.operatorToken);return{nodes:n,operators:i,containsString:true,areOperatorsValid:c}}return{nodes:[t],operators:[],containsString:e.isStringLiteral(t),areOperatorsValid:true}}var copyTrailingOperatorComments=function(t,r){return function(n,i){if(n0){var o=i.shift();e.copyTrailingComments(t[o],a,r,3,false);n(o,a)}}};function concatConsecutiveString(t,r){var n="";var i=[];while(t323}));return n.kind<153?n:n.getFirstToken(t)};NodeObject.prototype.getLastToken=function(t){this.assertHasRealPosition();var r=this.getChildren(t);var n=e.lastOrUndefined(r);if(!n){return undefined}return n.kind<153?n:n.getLastToken(t)};NodeObject.prototype.forEachChild=function(t,r){return e.forEachChild(this,t,r)};return NodeObject}();function createChildren(t,r){if(!e.isNodeKind(t.kind)){return e.emptyArray}var n=[];if(e.isJSDocCommentContainingNode(t)){t.forEachChild((function(e){n.push(e)}));return n}e.scanner.setText((r||t.getSourceFile()).text);var i=t.pos;var processNode=function(e){addSyntheticNodes(n,i,e.pos,t);n.push(e);i=e.end};var processNodes=function(e){addSyntheticNodes(n,i,e.pos,t);n.push(createSyntaxList(e,t));i=e.end};e.forEach(t.jsDoc,processNode);i=t.pos;t.forEachChild(processNode,processNodes);addSyntheticNodes(n,i,t.end,t);e.scanner.setText(undefined);return n}function addSyntheticNodes(t,r,n,i){e.scanner.setTextPos(r);while(r=r.length){n=this.getEnd()}if(!n){n=r[t+1]-1}var i=this.getFullText();return i[n]==="\n"&&i[n-1]==="\r"?n-1:n};SourceFileObject.prototype.getNamedDeclarations=function(){if(!this.namedDeclarations){this.namedDeclarations=this.computeNamedDeclarations()}return this.namedDeclarations};SourceFileObject.prototype.computeNamedDeclarations=function(){var t=e.createMultiMap();this.forEachChild(visit);return t;function addDeclaration(e){var r=getDeclarationName(e);if(r){t.add(r,e)}}function getDeclarations(e){var r=t.get(e);if(!r){t.set(e,r=[])}return r}function getDeclarationName(t){var r=e.getNonAssignedNameOfDeclaration(t);return r&&(e.isComputedPropertyName(r)&&e.isPropertyAccessExpression(r.expression)?r.expression.name.text:e.isPropertyName(r)?e.getNameFromPropertyName(r):undefined)}function visit(t){switch(t.kind){case 244:case 201:case 161:case 160:var r=t;var n=getDeclarationName(r);if(n){var i=getDeclarations(n);var a=e.lastOrUndefined(i);if(a&&r.parent===a.parent&&r.symbol===a.symbol){if(r.body&&!a.body){i[i.length-1]=r}}else{i.push(r)}}e.forEachChild(t,visit);break;case 245:case 214:case 246:case 247:case 248:case 249:case 253:case 263:case 258:case 255:case 256:case 163:case 164:case 173:addDeclaration(t);e.forEachChild(t,visit);break;case 156:if(!e.hasModifier(t,92)){break}case 242:case 191:{var o=t;if(e.isBindingPattern(o.name)){e.forEachChild(o.name,visit);break}if(o.initializer){visit(o.initializer)}}case 284:case 159:case 158:addDeclaration(t);break;case 260:var s=t;if(s.exportClause){if(e.isNamedExports(s.exportClause)){e.forEach(s.exportClause.elements,visit)}else{visit(s.exportClause.name)}}break;case 254:var c=t.importClause;if(c){if(c.name){addDeclaration(c.name)}if(c.namedBindings){if(c.namedBindings.kind===256){addDeclaration(c.namedBindings)}else{e.forEach(c.namedBindings.elements,visit)}}}break;case 209:if(e.getAssignmentDeclarationKind(t)!==0){addDeclaration(t)}default:e.forEachChild(t,visit)}}};return SourceFileObject}(t);var g=function(){function SourceMapSourceObject(e,t,r){this.fileName=e;this.text=t;this.skipTrivia=r}SourceMapSourceObject.prototype.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(this,t)};return SourceMapSourceObject}();function getServicesObjectAllocator(){return{getNodeConstructor:function(){return t},getTokenConstructor:function(){return s},getIdentifierConstructor:function(){return l},getPrivateIdentifierConstructor:function(){return u},getSourceFileConstructor:function(){return f},getSymbolConstructor:function(){return o},getTypeConstructor:function(){return d},getSignatureConstructor:function(){return p},getSourceMapSourceConstructor:function(){return g}}}function toEditorSettings(t){var r=true;for(var n in t){if(e.hasProperty(t,n)&&!isCamelCase(n)){r=false;break}}if(r){return t}var i={};for(var n in t){if(e.hasProperty(t,n)){var a=isCamelCase(n)?n:n.charAt(0).toLowerCase()+n.substr(1);i[a]=t[n]}}return i}e.toEditorSettings=toEditorSettings;function isCamelCase(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function displayPartsToString(t){if(t){return e.map(t,(function(e){return e.text})).join("")}return""}e.displayPartsToString=displayPartsToString;function getDefaultCompilerOptions(){return{target:1,jsx:1}}e.getDefaultCompilerOptions=getDefaultCompilerOptions;function getSupportedCodeFixes(){return e.codefix.getSupportedErrorCodes()}e.getSupportedCodeFixes=getSupportedCodeFixes;var m=function(){function HostCache(t,r){this.host=t;this.currentDirectory=t.getCurrentDirectory();this.fileNameToEntry=e.createMap();var n=t.getScriptFileNames();for(var i=0,a=n;i=this.throttleWaitMilliseconds){this.lastCancellationCheckTime=t;return this.hostCancellationToken.isCancellationRequested()}return false};ThrottledCancellationToken.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested()){throw new e.OperationCanceledException}};return ThrottledCancellationToken}();e.ThrottledCancellationToken=h;function createLanguageService(t,r,a){var o;if(r===void 0){r=e.createDocumentRegistry(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory())}if(a===void 0){a=false}var s=new _(t);var c;var l;var u=0;var d=new y(t.getCancellationToken&&t.getCancellationToken());var p=t.getCurrentDirectory();if(!e.localizedDiagnosticMessages&&t.getLocalizedDiagnosticMessages){e.setLocalizedDiagnosticMessages(t.getLocalizedDiagnosticMessages())}function log(e){if(t.log){t.log(e)}}var f=e.hostUsesCaseSensitiveFileNames(t);var g=e.createGetCanonicalFileName(f);var h=e.getSourceMapper({useCaseSensitiveFileNames:function(){return f},getCurrentDirectory:function(){return p},getProgram:getProgram,fileExists:e.maybeBind(t,t.fileExists),readFile:e.maybeBind(t,t.readFile),getDocumentPositionMapper:e.maybeBind(t,t.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(t,t.getSourceFileLike),log:log});function getValidSourceFile(e){var t=c.getSourceFile(e);if(!t){var r=new Error("Could not find source file: '"+e+"'.");r.ProgramFiles=c.getSourceFiles().map((function(e){return e.fileName}));throw r}return t}function synchronizeHostData(){var n;e.Debug.assert(!a);if(t.getProjectVersion){var i=t.getProjectVersion();if(i){if(l===i&&!t.hasChangedAutomaticTypeDirectiveNames){return}l=i}}var o=t.getTypeRootsVersion?t.getTypeRootsVersion():0;if(u!==o){log("TypeRoots version has changed; provide new program");c=undefined;u=o}var s=new m(t,g);var _=s.getRootFileNames();var y=t.hasInvalidatedResolution||e.returnFalse;var v=s.getProjectReferences();if(e.isProgramUptoDate(c,_,s.compilationSettings(),(function(e,r){return t.getScriptVersion(r)}),fileExists,y,!!t.hasChangedAutomaticTypeDirectiveNames,v)){return}var T=s.compilationSettings();var b={getSourceFile:getOrCreateSourceFile,getSourceFileByPath:getOrCreateSourceFileByPath,getCancellationToken:function(){return d},getCanonicalFileName:g,useCaseSensitiveFileNames:function(){return f},getNewLine:function(){return e.getNewLineCharacter(T,(function(){return e.getNewLineOrDefaultFromHost(t)}))},getDefaultLibFileName:function(e){return t.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return p},fileExists:fileExists,readFile:readFile,realpath:t.realpath&&function(e){return t.realpath(e)},directoryExists:function(r){return e.directoryProbablyExists(r,t)},getDirectories:function(e){return t.getDirectories?t.getDirectories(e):[]},readDirectory:function(r,n,i,a,o){e.Debug.checkDefined(t.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'");return t.readDirectory(r,n,i,a,o)},onReleaseOldSourceFile:onReleaseOldSourceFile,hasInvalidatedResolution:y,hasChangedAutomaticTypeDirectiveNames:t.hasChangedAutomaticTypeDirectiveNames};if(t.trace){b.trace=function(e){return t.trace(e)}}if(t.resolveModuleNames){b.resolveModuleNames=function(){var e=[];for(var r=0;r"}}}function isUnclosedTag(t){var r=t.openingElement,n=t.closingElement,i=t.parent;return!e.tagNamesAreEquivalent(r.tagName,n.tagName)||e.isJsxElement(i)&&e.tagNamesAreEquivalent(r.tagName,i.openingElement.tagName)&&isUnclosedTag(i)}function getSpanOfEnclosingComment(t,r,n){var i=s.getCurrentSourceFile(t);var a=e.formatting.getRangeOfEnclosingComment(i,r);return a&&(!n||a.kind===3)?e.createTextSpanFromRange(a):undefined}function getTodoComments(t,r){synchronizeHostData();var n=getValidSourceFile(t);d.throwIfCancellationRequested();var i=n.text;var a=[];if(r.length>0&&!isNodeModulesFile(n.fileName)){var o=getTodoCommentsRegExp();var s=void 0;while(s=o.exec(i)){d.throwIfCancellationRequested();var c=3;e.Debug.assert(s.length===r.length+c);var l=s[1];var u=s.index+l.length;if(!e.isInComment(n,u)){continue}var p=void 0;for(var f=0;f=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}function isNodeModulesFile(t){return e.stringContains(t,"/node_modules/")}}function getRenameInfo(t,r,n){synchronizeHostData();return e.Rename.getRenameInfo(c,getValidSourceFile(t),r,n)}function getRefactorContext(r,n,i,a){var o=typeof n==="number"?[n,undefined]:[n.pos,n.end],s=o[0],c=o[1];return{file:r,startPosition:s,endPosition:c,program:getProgram(),host:t,formatContext:e.formatting.getFormatContext(a,t),cancellationToken:d,preferences:i}}function getSmartSelectionRange(t,r){return e.SmartSelectionRange.getSmartSelectionRange(r,s.getCurrentSourceFile(t))}function getApplicableRefactors(t,r,n){if(n===void 0){n=e.emptyOptions}synchronizeHostData();var i=getValidSourceFile(t);return e.refactor.getApplicableRefactors(getRefactorContext(i,r,n))}function getEditsForRefactor(t,r,n,i,a,o){if(o===void 0){o=e.emptyOptions}synchronizeHostData();var s=getValidSourceFile(t);return e.refactor.getEditsForRefactor(getRefactorContext(s,n,o,r),i,a)}function prepareCallHierarchy(t,r){synchronizeHostData();var n=e.CallHierarchy.resolveCallHierarchyDeclaration(c,e.getTouchingPropertyName(getValidSourceFile(t),r));return n&&e.mapOneOrMany(n,(function(t){return e.CallHierarchy.createCallHierarchyItem(c,t)}))}function provideCallHierarchyIncomingCalls(t,r){synchronizeHostData();var n=getValidSourceFile(t);var i=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(c,r===0?n:e.getTouchingPropertyName(n,r)));return i?e.CallHierarchy.getIncomingCalls(c,i,d):[]}function provideCallHierarchyOutgoingCalls(t,r){synchronizeHostData();var n=getValidSourceFile(t);var i=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(c,r===0?n:e.getTouchingPropertyName(n,r)));return i?e.CallHierarchy.getOutgoingCalls(c,i):[]}return{dispose:dispose,cleanupSemanticCache:cleanupSemanticCache,getSyntacticDiagnostics:getSyntacticDiagnostics,getSemanticDiagnostics:getSemanticDiagnostics,getSuggestionDiagnostics:getSuggestionDiagnostics,getCompilerOptionsDiagnostics:getCompilerOptionsDiagnostics,getSyntacticClassifications:getSyntacticClassifications,getSemanticClassifications:getSemanticClassifications,getEncodedSyntacticClassifications:getEncodedSyntacticClassifications,getEncodedSemanticClassifications:getEncodedSemanticClassifications,getCompletionsAtPosition:getCompletionsAtPosition,getCompletionEntryDetails:getCompletionEntryDetails,getCompletionEntrySymbol:getCompletionEntrySymbol,getSignatureHelpItems:getSignatureHelpItems,getQuickInfoAtPosition:getQuickInfoAtPosition,getDefinitionAtPosition:getDefinitionAtPosition,getDefinitionAndBoundSpan:getDefinitionAndBoundSpan,getImplementationAtPosition:getImplementationAtPosition,getTypeDefinitionAtPosition:getTypeDefinitionAtPosition,getReferencesAtPosition:getReferencesAtPosition,findReferences:findReferences,getOccurrencesAtPosition:getOccurrencesAtPosition,getDocumentHighlights:getDocumentHighlights,getNameOrDottedNameSpan:getNameOrDottedNameSpan,getBreakpointStatementAtPosition:getBreakpointStatementAtPosition,getNavigateToItems:getNavigateToItems,getRenameInfo:getRenameInfo,getSmartSelectionRange:getSmartSelectionRange,findRenameLocations:findRenameLocations,getNavigationBarItems:getNavigationBarItems,getNavigationTree:getNavigationTree,getOutliningSpans:getOutliningSpans,getTodoComments:getTodoComments,getBraceMatchingAtPosition:getBraceMatchingAtPosition,getIndentationAtPosition:getIndentationAtPosition,getFormattingEditsForRange:getFormattingEditsForRange,getFormattingEditsForDocument:getFormattingEditsForDocument,getFormattingEditsAfterKeystroke:getFormattingEditsAfterKeystroke,getDocCommentTemplateAtPosition:getDocCommentTemplateAtPosition,isValidBraceCompletionAtPosition:isValidBraceCompletionAtPosition,getJsxClosingTagAtPosition:getJsxClosingTagAtPosition,getSpanOfEnclosingComment:getSpanOfEnclosingComment,getCodeFixesAtPosition:getCodeFixesAtPosition,getCombinedCodeFix:getCombinedCodeFix,applyCodeActionCommand:applyCodeActionCommand,organizeImports:organizeImports,getEditsForFileRename:getEditsForFileRename,getEmitOutput:getEmitOutput,getNonBoundSourceFile:getNonBoundSourceFile,getProgram:getProgram,getApplicableRefactors:getApplicableRefactors,getEditsForRefactor:getEditsForRefactor,toLineColumnOffset:h.toLineColumnOffset,getSourceMapper:function(){return h},clearSourceMapperCache:function(){return h.clearCache()},prepareCallHierarchy:prepareCallHierarchy,provideCallHierarchyIncomingCalls:provideCallHierarchyIncomingCalls,provideCallHierarchyOutgoingCalls:provideCallHierarchyOutgoingCalls}}e.createLanguageService=createLanguageService;function getNameTable(e){if(!e.nameTable){initializeNameTable(e)}return e.nameTable}e.getNameTable=getNameTable;function initializeNameTable(t){var r=t.nameTable=e.createUnderscoreEscapedMap();t.forEachChild((function walk(t){if(e.isIdentifier(t)&&!e.isTagName(t)&&t.escapedText||e.isStringOrNumericLiteralLike(t)&&literalIsName(t)){var n=e.getEscapedTextOfIdentifierOrLiteral(t);r.set(n,r.get(n)===undefined?t.pos:-1)}else if(e.isPrivateIdentifier(t)){var n=t.escapedText;r.set(n,r.get(n)===undefined?t.pos:-1)}e.forEachChild(t,walk);if(e.hasJSDocNodes(t)){for(var i=0,a=t.jsDoc;ii){var a=e.findPrecedingToken(n.pos,t);if(!a||t.getLineAndCharacterOfPosition(a.getEnd()).line!==i){return undefined}n=a}if(n.flags&8388608){return undefined}return spanInNode(n);function textSpan(r,n){var i=r.decorators?e.skipTrivia(t.text,r.decorators.end):r.getStart(t);return e.createTextSpanFromBounds(i,(n||r).getEnd())}function textSpanEndingAtNextToken(r,n){return textSpan(r,e.findNextToken(n,n.parent,t))}function spanInNodeIfStartsOnSameLine(e,r){if(e&&i===t.getLineAndCharacterOfPosition(e.getStart(t)).line){return spanInNode(e)}return spanInNode(r)}function spanInNodeArray(r){return e.createTextSpanFromBounds(e.skipTrivia(t.text,r.pos),r.end)}function spanInPreviousNode(r){return spanInNode(e.findPrecedingToken(r.pos,t))}function spanInNextNode(r){return spanInNode(e.findNextToken(r,r.parent,t))}function spanInNode(r){if(r){var n=r.parent;switch(r.kind){case 225:return spanInVariableDeclaration(r.declarationList.declarations[0]);case 242:case 159:case 158:return spanInVariableDeclaration(r);case 156:return spanInParameterDeclaration(r);case 244:case 161:case 160:case 163:case 164:case 162:case 201:case 202:return spanInFunctionDeclaration(r);case 223:if(e.isFunctionBlock(r)){return spanInFunctionBlock(r)}case 250:return spanInBlock(r);case 280:return spanInBlock(r.block);case 226:return textSpan(r.expression);case 235:return textSpan(r.getChildAt(0),r.expression);case 229:return textSpanEndingAtNextToken(r,r.expression);case 228:return spanInNode(r.statement);case 241:return textSpan(r.getChildAt(0));case 227:return textSpanEndingAtNextToken(r,r.expression);case 238:return spanInNode(r.statement);case 234:case 233:return textSpan(r.getChildAt(0),r.label);case 230:return spanInForStatement(r);case 231:return textSpanEndingAtNextToken(r,r.expression);case 232:return spanInInitializerOfForLike(r);case 237:return textSpanEndingAtNextToken(r,r.expression);case 277:case 278:return spanInNode(r.statements[0]);case 240:return spanInBlock(r.tryBlock);case 239:return textSpan(r,r.expression);case 259:return textSpan(r,r.expression);case 253:return textSpan(r,r.moduleReference);case 254:return textSpan(r,r.moduleSpecifier);case 260:return textSpan(r,r.moduleSpecifier);case 249:if(e.getModuleInstanceState(r)!==1){return undefined}case 245:case 248:case 284:case 191:return textSpan(r);case 236:return spanInNode(r.statement);case 157:return spanInNodeArray(n.decorators);case 189:case 190:return spanInBindingPattern(r);case 246:case 247:return undefined;case 26:case 1:return spanInNodeIfStartsOnSameLine(e.findPrecedingToken(r.pos,t));case 27:return spanInPreviousNode(r);case 18:return spanInOpenBraceToken(r);case 19:return spanInCloseBraceToken(r);case 23:return spanInCloseBracketToken(r);case 20:return spanInOpenParenToken(r);case 21:return spanInCloseParenToken(r);case 58:return spanInColonToken(r);case 31:case 29:return spanInGreaterThanOrLessThanToken(r);case 111:return spanInWhileKeyword(r);case 87:case 79:case 92:return spanInNextNode(r);case 152:return spanInOfKeyword(r);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(r)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(r)}if((r.kind===75||r.kind===213||r.kind===281||r.kind===282)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(n)){return textSpan(r)}if(r.kind===209){var i=r,a=i.left,o=i.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(a)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(a)}if(o.kind===62&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent)){return textSpan(r)}if(o.kind===27){return spanInNode(a)}}if(e.isExpressionNode(r)){switch(n.kind){case 228:return spanInPreviousNode(r);case 157:return spanInNode(r.parent);case 230:case 232:return textSpan(r);case 209:if(r.parent.operatorToken.kind===27){return textSpan(r)}break;case 202:if(r.parent.body===r){return textSpan(r)}break}}switch(r.parent.kind){case 281:if(r.parent.name===r&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent.parent)){return spanInNode(r.parent.initializer)}break;case 199:if(r.parent.type===r){return spanInNextNode(r.parent.type)}break;case 242:case 156:{var s=r.parent,c=s.initializer,l=s.type;if(c===r||l===r||e.isAssignmentOperator(r.kind)){return spanInPreviousNode(r)}break}case 209:{var a=r.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(a)&&r!==a){return spanInPreviousNode(r)}break}default:if(e.isFunctionLike(r.parent)&&r.parent.type===r){return spanInPreviousNode(r)}}return spanInNode(r.parent)}}function textSpanFromVariableDeclaration(r){if(e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]===r){return textSpan(e.findPrecedingToken(r.pos,t,r.parent),r)}else{return textSpan(r)}}function spanInVariableDeclaration(r){if(r.parent.parent.kind===231){return spanInNode(r.parent.parent)}var n=r.parent;if(e.isBindingPattern(r.name)){return spanInBindingPattern(r.name)}if(r.initializer||e.hasModifier(r,1)||n.parent.kind===232){return textSpanFromVariableDeclaration(r)}if(e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]!==r){return spanInNode(e.findPrecedingToken(r.pos,t,r.parent))}}function canHaveSpanInParameterDeclaration(t){return!!t.initializer||t.dotDotDotToken!==undefined||e.hasModifier(t,4|8)}function spanInParameterDeclaration(t){if(e.isBindingPattern(t.name)){return spanInBindingPattern(t.name)}else if(canHaveSpanInParameterDeclaration(t)){return textSpan(t)}else{var r=t.parent;var n=r.parameters.indexOf(t);e.Debug.assert(n!==-1);if(n!==0){return spanInParameterDeclaration(r.parameters[n-1])}else{return spanInNode(r.body)}}}function canFunctionHaveSpanInWholeDeclaration(t){return e.hasModifier(t,1)||t.parent.kind===245&&t.kind!==162}function spanInFunctionDeclaration(e){if(!e.body){return undefined}if(canFunctionHaveSpanInWholeDeclaration(e)){return textSpan(e)}return spanInNode(e.body)}function spanInFunctionBlock(e){var t=e.statements.length?e.statements[0]:e.getLastToken();if(canFunctionHaveSpanInWholeDeclaration(e.parent)){return spanInNodeIfStartsOnSameLine(e.parent,t)}return spanInNode(t)}function spanInBlock(r){switch(r.parent.kind){case 249:if(e.getModuleInstanceState(r.parent)!==1){return undefined}case 229:case 227:case 231:return spanInNodeIfStartsOnSameLine(r.parent,r.statements[0]);case 230:case 232:return spanInNodeIfStartsOnSameLine(e.findPrecedingToken(r.pos,t,r.parent),r.statements[0])}return spanInNode(r.statements[0])}function spanInInitializerOfForLike(e){if(e.initializer.kind===243){var t=e.initializer;if(t.declarations.length>0){return spanInNode(t.declarations[0])}}else{return spanInNode(e.initializer)}}function spanInForStatement(e){if(e.initializer){return spanInInitializerOfForLike(e)}if(e.condition){return textSpan(e.condition)}if(e.incrementor){return textSpan(e.incrementor)}}function spanInBindingPattern(t){var r=e.forEach(t.elements,(function(e){return e.kind!==215?e:undefined}));if(r){return spanInNode(r)}if(t.parent.kind===191){return textSpan(t.parent)}return textSpanFromVariableDeclaration(t.parent)}function spanInArrayLiteralOrObjectLiteralDestructuringPattern(t){e.Debug.assert(t.kind!==190&&t.kind!==189);var r=t.kind===192?t.elements:t.properties;var n=e.forEach(r,(function(e){return e.kind!==215?e:undefined}));if(n){return spanInNode(n)}return textSpan(t.parent.kind===209?t.parent:t)}function spanInOpenBraceToken(r){switch(r.parent.kind){case 248:var n=r.parent;return spanInNodeIfStartsOnSameLine(e.findPrecedingToken(r.pos,t,r.parent),n.members.length?n.members[0]:n.getLastToken(t));case 245:var i=r.parent;return spanInNodeIfStartsOnSameLine(e.findPrecedingToken(r.pos,t,r.parent),i.members.length?i.members[0]:i.getLastToken(t));case 251:return spanInNodeIfStartsOnSameLine(r.parent.parent,r.parent.clauses[0])}return spanInNode(r.parent)}function spanInCloseBraceToken(t){switch(t.parent.kind){case 250:if(e.getModuleInstanceState(t.parent.parent)!==1){return undefined}case 248:case 245:return textSpan(t);case 223:if(e.isFunctionBlock(t.parent)){return textSpan(t)}case 280:return spanInNode(e.lastOrUndefined(t.parent.statements));case 251:var r=t.parent;var n=e.lastOrUndefined(r.clauses);if(n){return spanInNode(e.lastOrUndefined(n.statements))}return undefined;case 189:var i=t.parent;return spanInNode(e.lastOrUndefined(i.elements)||i);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var a=t.parent;return textSpan(e.lastOrUndefined(a.properties)||a)}return spanInNode(t.parent)}}function spanInCloseBracketToken(t){switch(t.parent.kind){case 190:var r=t.parent;return textSpan(e.lastOrUndefined(r.elements)||r);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var n=t.parent;return textSpan(e.lastOrUndefined(n.elements)||n)}return spanInNode(t.parent)}}function spanInOpenParenToken(e){if(e.parent.kind===228||e.parent.kind===196||e.parent.kind===197){return spanInPreviousNode(e)}if(e.parent.kind===200){return spanInNextNode(e)}return spanInNode(e.parent)}function spanInCloseParenToken(e){switch(e.parent.kind){case 201:case 244:case 202:case 161:case 160:case 163:case 164:case 162:case 229:case 228:case 230:case 232:case 196:case 197:case 200:return spanInPreviousNode(e);default:return spanInNode(e.parent)}}function spanInColonToken(t){if(e.isFunctionLike(t.parent)||t.parent.kind===281||t.parent.kind===156){return spanInPreviousNode(t)}return spanInNode(t.parent)}function spanInGreaterThanOrLessThanToken(e){if(e.parent.kind===199){return spanInNextNode(e)}return spanInNode(e.parent)}function spanInWhileKeyword(e){if(e.parent.kind===228){return textSpanEndingAtNextToken(e,e.parent.expression)}return spanInNode(e.parent)}function spanInOfKeyword(e){if(e.parent.kind===232){return spanInNextNode(e)}return spanInNode(e.parent)}}}t.spanInSourceFileAtLocation=spanInSourceFileAtLocation})(t=e.BreakpointResolver||(e.BreakpointResolver={}))})(l||(l={}));var l;(function(e){function transform(t,r,n){var i=[];n=e.fixupCompilerOptions(n,i);var a=e.isArray(t)?t:[t];var o=e.transformNodes(undefined,undefined,n,a,r,true);o.diagnostics=e.concatenate(o.diagnostics,i);return o}e.transform=transform})(l||(l={}));var u=function(){return this}();var l;(function(e){function logInternalError(e,t){if(e){e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}}var t=function(){function ScriptSnapshotShimAdapter(e){this.scriptSnapshotShim=e}ScriptSnapshotShimAdapter.prototype.getText=function(e,t){return this.scriptSnapshotShim.getText(e,t)};ScriptSnapshotShimAdapter.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()};ScriptSnapshotShimAdapter.prototype.getChangeRange=function(t){var r=t;var n=this.scriptSnapshotShim.getChangeRange(r.scriptSnapshotShim);if(n===null){return null}var i=JSON.parse(n);return e.createTextChangeRange(e.createTextSpan(i.span.start,i.span.length),i.newLength)};ScriptSnapshotShimAdapter.prototype.dispose=function(){if("dispose"in this.scriptSnapshotShim){this.scriptSnapshotShim.dispose()}};return ScriptSnapshotShimAdapter}();var r=function(){function LanguageServiceShimHostAdapter(t){var r=this;this.shimHost=t;this.loggingEnabled=false;this.tracingEnabled=false;if("getModuleResolutionsForFile"in this.shimHost){this.resolveModuleNames=function(t,n){var i=JSON.parse(r.shimHost.getModuleResolutionsForFile(n));return e.map(t,(function(t){var r=e.getProperty(i,t);return r?{resolvedFileName:r,extension:e.extensionFromPath(r),isExternalLibraryImport:false}:undefined}))}}if("directoryExists"in this.shimHost){this.directoryExists=function(e){return r.shimHost.directoryExists(e)}}if("getTypeReferenceDirectiveResolutionsForFile"in this.shimHost){this.resolveTypeReferenceDirectives=function(t,n){var i=JSON.parse(r.shimHost.getTypeReferenceDirectiveResolutionsForFile(n));return e.map(t,(function(t){return e.getProperty(i,t)}))}}}LanguageServiceShimHostAdapter.prototype.log=function(e){if(this.loggingEnabled){this.shimHost.log(e)}};LanguageServiceShimHostAdapter.prototype.trace=function(e){if(this.tracingEnabled){this.shimHost.trace(e)}};LanguageServiceShimHostAdapter.prototype.error=function(e){this.shimHost.error(e)};LanguageServiceShimHostAdapter.prototype.getProjectVersion=function(){if(!this.shimHost.getProjectVersion){return undefined}return this.shimHost.getProjectVersion()};LanguageServiceShimHostAdapter.prototype.getTypeRootsVersion=function(){if(!this.shimHost.getTypeRootsVersion){return 0}return this.shimHost.getTypeRootsVersion()};LanguageServiceShimHostAdapter.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false};LanguageServiceShimHostAdapter.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(e===null||e===""){throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings")}var t=JSON.parse(e);t.allowNonTsExtensions=true;return t};LanguageServiceShimHostAdapter.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)};LanguageServiceShimHostAdapter.prototype.getScriptSnapshot=function(e){var r=this.shimHost.getScriptSnapshot(e);return r&&new t(r)};LanguageServiceShimHostAdapter.prototype.getScriptKind=function(e){if("getScriptKind"in this.shimHost){return this.shimHost.getScriptKind(e)}else{return 0}};LanguageServiceShimHostAdapter.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)};LanguageServiceShimHostAdapter.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(e===null||e===""){return null}try{return JSON.parse(e)}catch(e){this.log(e.description||"diagnosticMessages.generated.json has invalid JSON format");return null}};LanguageServiceShimHostAdapter.prototype.getCancellationToken=function(){var t=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(t)};LanguageServiceShimHostAdapter.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()};LanguageServiceShimHostAdapter.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))};LanguageServiceShimHostAdapter.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))};LanguageServiceShimHostAdapter.prototype.readDirectory=function(t,r,n,i,a){var o=e.getFileMatcherPatterns(t,n,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(t,JSON.stringify(r),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))};LanguageServiceShimHostAdapter.prototype.readFile=function(e,t){return this.shimHost.readFile(e,t)};LanguageServiceShimHostAdapter.prototype.fileExists=function(e){return this.shimHost.fileExists(e)};return LanguageServiceShimHostAdapter}();e.LanguageServiceShimHostAdapter=r;var a=function(){function CoreServicesShimHostAdapter(e){var t=this;this.shimHost=e;this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false;if("directoryExists"in this.shimHost){this.directoryExists=function(e){return t.shimHost.directoryExists(e)}}else{this.directoryExists=undefined}if("realpath"in this.shimHost){this.realpath=function(e){return t.shimHost.realpath(e)}}else{this.realpath=undefined}}CoreServicesShimHostAdapter.prototype.readDirectory=function(t,r,n,i,a){var o=e.getFileMatcherPatterns(t,n,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(t,JSON.stringify(r),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))};CoreServicesShimHostAdapter.prototype.fileExists=function(e){return this.shimHost.fileExists(e)};CoreServicesShimHostAdapter.prototype.readFile=function(e){return this.shimHost.readFile(e)};CoreServicesShimHostAdapter.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))};return CoreServicesShimHostAdapter}();e.CoreServicesShimHostAdapter=a;function simpleForwardCall(t,r,n,i){var a;if(i){t.log(r);a=e.timestamp()}var o=n();if(i){var s=e.timestamp();t.log(r+" completed in "+(s-a)+" msec");if(e.isString(o)){var c=o;if(c.length>128){c=c.substring(0,128)+"..."}t.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}function forwardJSONCall(e,t,r,n){return forwardCall(e,t,true,r,n)}function forwardCall(t,r,n,i,a){try{var o=simpleForwardCall(t,r,i,a);return n?JSON.stringify({result:o}):o}catch(n){if(n instanceof e.OperationCanceledException){return JSON.stringify({canceled:true})}logInternalError(t,n);n.description=r;return JSON.stringify({error:n})}}var o=function(){function ShimBase(e){this.factory=e;e.registerShim(this)}ShimBase.prototype.dispose=function(e){this.factory.unregisterShim(this)};return ShimBase}();function realizeDiagnostics(e,t){return e.map((function(e){return realizeDiagnostic(e,t)}))}e.realizeDiagnostics=realizeDiagnostics;function realizeDiagnostic(t,r){return{message:e.flattenDiagnosticMessageText(t.messageText,r),start:t.start,length:t.length,category:e.diagnosticCategoryName(t),code:t.code,reportsUnnecessary:t.reportsUnnecessary}}var l=function(t){c(LanguageServiceShimObject,t);function LanguageServiceShimObject(e,r,n){var i=t.call(this,e)||this;i.host=r;i.languageService=n;i.logPerformance=false;i.logger=i.host;return i}LanguageServiceShimObject.prototype.forwardJSONCall=function(e,t){return forwardJSONCall(this.logger,e,t,this.logPerformance)};LanguageServiceShimObject.prototype.dispose=function(e){this.logger.log("dispose()");this.languageService.dispose();this.languageService=null;if(u&&u.CollectGarbage){u.CollectGarbage();this.logger.log("CollectGarbage()")}this.logger=null;t.prototype.dispose.call(this,e)};LanguageServiceShimObject.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))};LanguageServiceShimObject.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){e.languageService.cleanupSemanticCache();return null}))};LanguageServiceShimObject.prototype.realizeDiagnostics=function(t){var r=e.getNewLineOrDefaultFromHost(this.host);return realizeDiagnostics(t,r)};LanguageServiceShimObject.prototype.getSyntacticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getSyntacticClassifications('"+t+"', "+r+", "+n+")",(function(){return i.languageService.getSyntacticClassifications(t,e.createTextSpan(r,n))}))};LanguageServiceShimObject.prototype.getSemanticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getSemanticClassifications('"+t+"', "+r+", "+n+")",(function(){return i.languageService.getSemanticClassifications(t,e.createTextSpan(r,n))}))};LanguageServiceShimObject.prototype.getEncodedSyntacticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+t+"', "+r+", "+n+")",(function(){return convertClassifications(i.languageService.getEncodedSyntacticClassifications(t,e.createTextSpan(r,n)))}))};LanguageServiceShimObject.prototype.getEncodedSemanticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+t+"', "+r+", "+n+")",(function(){return convertClassifications(i.languageService.getEncodedSemanticClassifications(t,e.createTextSpan(r,n)))}))};LanguageServiceShimObject.prototype.getSyntacticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var r=t.languageService.getSyntacticDiagnostics(e);return t.realizeDiagnostics(r)}))};LanguageServiceShimObject.prototype.getSemanticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var r=t.languageService.getSemanticDiagnostics(e);return t.realizeDiagnostics(r)}))};LanguageServiceShimObject.prototype.getSuggestionDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return t.realizeDiagnostics(t.languageService.getSuggestionDiagnostics(e))}))};LanguageServiceShimObject.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var t=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(t)}))};LanguageServiceShimObject.prototype.getQuickInfoAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getQuickInfoAtPosition(e,t)}))};LanguageServiceShimObject.prototype.getNameOrDottedNameSpan=function(e,t,r){var n=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getNameOrDottedNameSpan(e,t,r)}))};LanguageServiceShimObject.prototype.getBreakpointStatementAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getBreakpointStatementAtPosition(e,t)}))};LanguageServiceShimObject.prototype.getSignatureHelpItems=function(e,t,r){var n=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+t+")",(function(){return n.languageService.getSignatureHelpItems(e,t,r)}))};LanguageServiceShimObject.prototype.getDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getDefinitionAtPosition(e,t)}))};LanguageServiceShimObject.prototype.getDefinitionAndBoundSpan=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+t+")",(function(){return r.languageService.getDefinitionAndBoundSpan(e,t)}))};LanguageServiceShimObject.prototype.getTypeDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getTypeDefinitionAtPosition(e,t)}))};LanguageServiceShimObject.prototype.getImplementationAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getImplementationAtPosition(e,t)}))};LanguageServiceShimObject.prototype.getRenameInfo=function(e,t,r){var n=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+t+")",(function(){return n.languageService.getRenameInfo(e,t,r)}))};LanguageServiceShimObject.prototype.getSmartSelectionRange=function(e,t){var r=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+t+")",(function(){return r.languageService.getSmartSelectionRange(e,t)}))};LanguageServiceShimObject.prototype.findRenameLocations=function(e,t,r,n,i){var a=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+t+", "+r+", "+n+", "+i+")",(function(){return a.languageService.findRenameLocations(e,t,r,n,i)}))};LanguageServiceShimObject.prototype.getBraceMatchingAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getBraceMatchingAtPosition(e,t)}))};LanguageServiceShimObject.prototype.isValidBraceCompletionAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+t+", "+r+")",(function(){return n.languageService.isValidBraceCompletionAtPosition(e,t,r)}))};LanguageServiceShimObject.prototype.getSpanOfEnclosingComment=function(e,t,r){var n=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+t+")",(function(){return n.languageService.getSpanOfEnclosingComment(e,t,r)}))};LanguageServiceShimObject.prototype.getIndentationAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+t+")",(function(){var i=JSON.parse(r);return n.languageService.getIndentationAtPosition(e,t,i)}))};LanguageServiceShimObject.prototype.getReferencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getReferencesAtPosition(e,t)}))};LanguageServiceShimObject.prototype.findReferences=function(e,t){var r=this;return this.forwardJSONCall("findReferences('"+e+"', "+t+")",(function(){return r.languageService.findReferences(e,t)}))};LanguageServiceShimObject.prototype.getOccurrencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getOccurrencesAtPosition(e,t)}))};LanguageServiceShimObject.prototype.getDocumentHighlights=function(t,r,n){var i=this;return this.forwardJSONCall("getDocumentHighlights('"+t+"', "+r+")",(function(){var a=i.languageService.getDocumentHighlights(t,r,JSON.parse(n));var o=e.toFileNameLowerCase(e.normalizeSlashes(t));return e.filter(a,(function(t){return e.toFileNameLowerCase(e.normalizeSlashes(t.fileName))===o}))}))};LanguageServiceShimObject.prototype.getCompletionsAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getCompletionsAtPosition(e,t,r)}))};LanguageServiceShimObject.prototype.getCompletionEntryDetails=function(e,t,r,n,i,a){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+t+", '"+r+"')",(function(){var s=n===undefined?undefined:JSON.parse(n);return o.languageService.getCompletionEntryDetails(e,t,r,s,i,a)}))};LanguageServiceShimObject.prototype.getFormattingEditsForRange=function(e,t,r,n){var i=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+t+", "+r+")",(function(){var a=JSON.parse(n);return i.languageService.getFormattingEditsForRange(e,t,r,a)}))};LanguageServiceShimObject.prototype.getFormattingEditsForDocument=function(e,t){var r=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var n=JSON.parse(t);return r.languageService.getFormattingEditsForDocument(e,n)}))};LanguageServiceShimObject.prototype.getFormattingEditsAfterKeystroke=function(e,t,r,n){var i=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+t+", '"+r+"')",(function(){var a=JSON.parse(n);return i.languageService.getFormattingEditsAfterKeystroke(e,t,r,a)}))};LanguageServiceShimObject.prototype.getDocCommentTemplateAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getDocCommentTemplateAtPosition(e,t)}))};LanguageServiceShimObject.prototype.getNavigateToItems=function(e,t,r){var n=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getNavigateToItems(e,t,r)}))};LanguageServiceShimObject.prototype.getNavigationBarItems=function(e){var t=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return t.languageService.getNavigationBarItems(e)}))};LanguageServiceShimObject.prototype.getNavigationTree=function(e){var t=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return t.languageService.getNavigationTree(e)}))};LanguageServiceShimObject.prototype.getOutliningSpans=function(e){var t=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return t.languageService.getOutliningSpans(e)}))};LanguageServiceShimObject.prototype.getTodoComments=function(e,t){var r=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return r.languageService.getTodoComments(e,JSON.parse(t))}))};LanguageServiceShimObject.prototype.prepareCallHierarchy=function(e,t){var r=this;return this.forwardJSONCall("prepareCallHierarchy('"+e+"', "+t+")",(function(){return r.languageService.prepareCallHierarchy(e,t)}))};LanguageServiceShimObject.prototype.provideCallHierarchyIncomingCalls=function(e,t){var r=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+e+"', "+t+")",(function(){return r.languageService.provideCallHierarchyIncomingCalls(e,t)}))};LanguageServiceShimObject.prototype.provideCallHierarchyOutgoingCalls=function(e,t){var r=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+e+"', "+t+")",(function(){return r.languageService.provideCallHierarchyOutgoingCalls(e,t)}))};LanguageServiceShimObject.prototype.getEmitOutput=function(e){var t=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){var r=t.languageService.getEmitOutput(e),n=r.diagnostics,a=s(r,["diagnostics"]);return i(i({},a),{diagnostics:t.realizeDiagnostics(n)})}))};LanguageServiceShimObject.prototype.getEmitOutputObject=function(e){var t=this;return forwardCall(this.logger,"getEmitOutput('"+e+"')",false,(function(){return t.languageService.getEmitOutput(e)}),this.logPerformance)};return LanguageServiceShimObject}(o);function convertClassifications(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var d=function(t){c(ClassifierShimObject,t);function ClassifierShimObject(r,n){var i=t.call(this,r)||this;i.logger=n;i.logPerformance=false;i.classifier=e.createClassifier();return i}ClassifierShimObject.prototype.getEncodedLexicalClassifications=function(e,t,r){var n=this;if(r===void 0){r=false}return forwardJSONCall(this.logger,"getEncodedLexicalClassifications",(function(){return convertClassifications(n.classifier.getEncodedLexicalClassifications(e,t,r))}),this.logPerformance)};ClassifierShimObject.prototype.getClassificationsForLine=function(e,t,r){if(r===void 0){r=false}var n=this.classifier.getClassificationsForLine(e,t,r);var i="";for(var a=0,o=n.entries;a{const n=r(3686);const i=n.makeLogger;n.makeLogger=function(e,t){const r=i(e,t);const n=r.logWarning;r.logWarning=function(e){if(e.indexOf("This version may or may not be compatible with ts-loader")!==-1)return;return n(e)};return r};e.exports=r(2070);e.exports.typescript=r(3779)},2357:e=>{"use strict";e.exports=require("assert")},4293:e=>{"use strict";e.exports=require("buffer")},7082:e=>{"use strict";e.exports=require("console")},7619:e=>{"use strict";e.exports=require("constants")},6417:e=>{"use strict";e.exports=require("crypto")},5747:e=>{"use strict";e.exports=require("fs")},7012:e=>{"use strict";e.exports=require("inspector")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},2413:e=>{"use strict";e.exports=require("stream")},1669:e=>{"use strict";e.exports=require("util")}};var t={};function __webpack_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={id:r,loaded:false,exports:{}};var a=true;try{e[r].call(i.exports,i,i.exports,__webpack_require__);a=false}finally{if(a)delete t[r]}i.loaded=true;return i.exports}(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var r=__webpack_require__(2090);module.exports=r})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts deleted file mode 100644 index 9152c4dfce..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - - - -/// - - -/// -/// -/// -/// diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts deleted file mode 100644 index 86c4043631..0000000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts +++ /dev/null @@ -1,20050 +0,0 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - - - -/// - - -///////////////////////////// -/// DOM APIs -///////////////////////////// - -interface Account { - displayName: string; - id: string; - imageURL?: string; - name?: string; - rpDisplayName: string; -} - -interface AddEventListenerOptions extends EventListenerOptions { - once?: boolean; - passive?: boolean; -} - -interface AesCbcParams extends Algorithm { - iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface AesCtrParams extends Algorithm { - counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; - length: number; -} - -interface AesDerivedKeyParams extends Algorithm { - length: number; -} - -interface AesGcmParams extends Algorithm { - additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; - iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; - tagLength?: number; -} - -interface AesKeyAlgorithm extends KeyAlgorithm { - length: number; -} - -interface AesKeyGenParams extends Algorithm { - length: number; -} - -interface Algorithm { - name: string; -} - -interface AnalyserOptions extends AudioNodeOptions { - fftSize?: number; - maxDecibels?: number; - minDecibels?: number; - smoothingTimeConstant?: number; -} - -interface AnimationEventInit extends EventInit { - animationName?: string; - elapsedTime?: number; - pseudoElement?: string; -} - -interface AnimationPlaybackEventInit extends EventInit { - currentTime?: number | null; - timelineTime?: number | null; -} - -interface AssertionOptions { - allowList?: ScopedCredentialDescriptor[]; - extensions?: WebAuthnExtensions; - rpId?: string; - timeoutSeconds?: number; -} - -interface AssignedNodesOptions { - flatten?: boolean; -} - -interface AudioBufferOptions { - length: number; - numberOfChannels?: number; - sampleRate: number; -} - -interface AudioBufferSourceOptions { - buffer?: AudioBuffer | null; - detune?: number; - loop?: boolean; - loopEnd?: number; - loopStart?: number; - playbackRate?: number; -} - -interface AudioContextInfo { - currentTime?: number; - sampleRate?: number; -} - -interface AudioContextOptions { - latencyHint?: AudioContextLatencyCategory | number; - sampleRate?: number; -} - -interface AudioNodeOptions { - channelCount?: number; - channelCountMode?: ChannelCountMode; - channelInterpretation?: ChannelInterpretation; -} - -interface AudioParamDescriptor { - automationRate?: AutomationRate; - defaultValue?: number; - maxValue?: number; - minValue?: number; - name: string; -} - -interface AudioProcessingEventInit extends EventInit { - inputBuffer: AudioBuffer; - outputBuffer: AudioBuffer; - playbackTime: number; -} - -interface AudioTimestamp { - contextTime?: number; - performanceTime?: number; -} - -interface AudioWorkletNodeOptions extends AudioNodeOptions { - numberOfInputs?: number; - numberOfOutputs?: number; - outputChannelCount?: number[]; - parameterData?: Record; - processorOptions?: any; -} - -interface AuthenticationExtensionsClientInputs { - appid?: string; - authnSel?: AuthenticatorSelectionList; - exts?: boolean; - loc?: boolean; - txAuthGeneric?: txAuthGenericArg; - txAuthSimple?: string; - uvi?: boolean; - uvm?: boolean; -} - -interface AuthenticationExtensionsClientOutputs { - appid?: boolean; - authnSel?: boolean; - exts?: AuthenticationExtensionsSupported; - loc?: Coordinates; - txAuthGeneric?: ArrayBuffer; - txAuthSimple?: string; - uvi?: ArrayBuffer; - uvm?: UvmEntries; -} - -interface AuthenticatorSelectionCriteria { - authenticatorAttachment?: AuthenticatorAttachment; - requireResidentKey?: boolean; - userVerification?: UserVerificationRequirement; -} - -interface BiquadFilterOptions extends AudioNodeOptions { - Q?: number; - detune?: number; - frequency?: number; - gain?: number; - type?: BiquadFilterType; -} - -interface BlobPropertyBag { - endings?: EndingType; - type?: string; -} - -interface ByteLengthChunk { - byteLength?: number; -} - -interface CacheQueryOptions { - ignoreMethod?: boolean; - ignoreSearch?: boolean; - ignoreVary?: boolean; -} - -interface CanvasRenderingContext2DSettings { - alpha?: boolean; - desynchronized?: boolean; -} - -interface ChannelMergerOptions extends AudioNodeOptions { - numberOfInputs?: number; -} - -interface ChannelSplitterOptions extends AudioNodeOptions { - numberOfOutputs?: number; -} - -interface ClientData { - challenge: string; - extensions?: WebAuthnExtensions; - hashAlg: string | Algorithm; - origin: string; - rpId: string; - tokenBinding?: string; -} - -interface ClientQueryOptions { - includeUncontrolled?: boolean; - type?: ClientTypes; -} - -interface ClipboardEventInit extends EventInit { - clipboardData?: DataTransfer | null; -} - -interface CloseEventInit extends EventInit { - code?: number; - reason?: string; - wasClean?: boolean; -} - -interface CompositionEventInit extends UIEventInit { - data?: string; -} - -interface ComputedEffectTiming extends EffectTiming { - activeDuration?: number; - currentIteration?: number | null; - endTime?: number; - localTime?: number | null; - progress?: number | null; -} - -interface ComputedKeyframe { - composite: CompositeOperationOrAuto; - computedOffset: number; - easing: string; - offset: number | null; - [property: string]: string | number | null | undefined; -} - -interface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation { - arrayOfDomainStrings?: string[]; -} - -interface ConstantSourceOptions { - offset?: number; -} - -interface ConstrainBooleanParameters { - exact?: boolean; - ideal?: boolean; -} - -interface ConstrainDOMStringParameters { - exact?: string | string[]; - ideal?: string | string[]; -} - -interface ConstrainDoubleRange extends DoubleRange { - exact?: number; - ideal?: number; -} - -interface ConstrainULongRange extends ULongRange { - exact?: number; - ideal?: number; -} - -interface ConstrainVideoFacingModeParameters { - exact?: VideoFacingModeEnum | VideoFacingModeEnum[]; - ideal?: VideoFacingModeEnum | VideoFacingModeEnum[]; -} - -interface ConvolverOptions extends AudioNodeOptions { - buffer?: AudioBuffer | null; - disableNormalization?: boolean; -} - -interface CredentialCreationOptions { - publicKey?: PublicKeyCredentialCreationOptions; - signal?: AbortSignal; -} - -interface CredentialRequestOptions { - mediation?: CredentialMediationRequirement; - publicKey?: PublicKeyCredentialRequestOptions; - signal?: AbortSignal; -} - -interface CustomEventInit extends EventInit { - detail?: T; -} - -interface DOMMatrix2DInit { - a?: number; - b?: number; - c?: number; - d?: number; - e?: number; - f?: number; - m11?: number; - m12?: number; - m21?: number; - m22?: number; - m41?: number; - m42?: number; -} - -interface DOMMatrixInit extends DOMMatrix2DInit { - is2D?: boolean; - m13?: number; - m14?: number; - m23?: number; - m24?: number; - m31?: number; - m32?: number; - m33?: number; - m34?: number; - m43?: number; - m44?: number; -} - -interface DOMPointInit { - w?: number; - x?: number; - y?: number; - z?: number; -} - -interface DOMQuadInit { - p1?: DOMPointInit; - p2?: DOMPointInit; - p3?: DOMPointInit; - p4?: DOMPointInit; -} - -interface DOMRectInit { - height?: number; - width?: number; - x?: number; - y?: number; -} - -interface DelayOptions extends AudioNodeOptions { - delayTime?: number; - maxDelayTime?: number; -} - -interface DeviceLightEventInit extends EventInit { - value?: number; -} - -interface DeviceMotionEventAccelerationInit { - x?: number | null; - y?: number | null; - z?: number | null; -} - -interface DeviceMotionEventInit extends EventInit { - acceleration?: DeviceMotionEventAccelerationInit; - accelerationIncludingGravity?: DeviceMotionEventAccelerationInit; - interval?: number; - rotationRate?: DeviceMotionEventRotationRateInit; -} - -interface DeviceMotionEventRotationRateInit { - alpha?: number | null; - beta?: number | null; - gamma?: number | null; -} - -interface DeviceOrientationEventInit extends EventInit { - absolute?: boolean; - alpha?: number | null; - beta?: number | null; - gamma?: number | null; -} - -interface DevicePermissionDescriptor extends PermissionDescriptor { - deviceId?: string; - name: "camera" | "microphone" | "speaker"; -} - -interface DocumentTimelineOptions { - originTime?: number; -} - -interface DoubleRange { - max?: number; - min?: number; -} - -interface DragEventInit extends MouseEventInit { - dataTransfer?: DataTransfer | null; -} - -interface DynamicsCompressorOptions extends AudioNodeOptions { - attack?: number; - knee?: number; - ratio?: number; - release?: number; - threshold?: number; -} - -interface EcKeyAlgorithm extends KeyAlgorithm { - namedCurve: NamedCurve; -} - -interface EcKeyGenParams extends Algorithm { - namedCurve: NamedCurve; -} - -interface EcKeyImportParams extends Algorithm { - namedCurve: NamedCurve; -} - -interface EcdhKeyDeriveParams extends Algorithm { - public: CryptoKey; -} - -interface EcdsaParams extends Algorithm { - hash: HashAlgorithmIdentifier; -} - -interface EffectTiming { - delay?: number; - direction?: PlaybackDirection; - duration?: number | string; - easing?: string; - endDelay?: number; - fill?: FillMode; - iterationStart?: number; - iterations?: number; -} - -interface ElementCreationOptions { - is?: string; -} - -interface ElementDefinitionOptions { - extends?: string; -} - -interface ErrorEventInit extends EventInit { - colno?: number; - error?: any; - filename?: string; - lineno?: number; - message?: string; -} - -interface EventInit { - bubbles?: boolean; - cancelable?: boolean; - composed?: boolean; -} - -interface EventListenerOptions { - capture?: boolean; -} - -interface EventModifierInit extends UIEventInit { - altKey?: boolean; - ctrlKey?: boolean; - metaKey?: boolean; - modifierAltGraph?: boolean; - modifierCapsLock?: boolean; - modifierFn?: boolean; - modifierFnLock?: boolean; - modifierHyper?: boolean; - modifierNumLock?: boolean; - modifierScrollLock?: boolean; - modifierSuper?: boolean; - modifierSymbol?: boolean; - modifierSymbolLock?: boolean; - shiftKey?: boolean; -} - -interface EventSourceInit { - withCredentials?: boolean; -} - -interface ExceptionInformation { - domain?: string | null; -} - -interface FilePropertyBag extends BlobPropertyBag { - lastModified?: number; -} - -interface FocusEventInit extends UIEventInit { - relatedTarget?: EventTarget | null; -} - -interface FocusNavigationEventInit extends EventInit { - navigationReason?: string | null; - originHeight?: number; - originLeft?: number; - originTop?: number; - originWidth?: number; -} - -interface FocusNavigationOrigin { - originHeight?: number; - originLeft?: number; - originTop?: number; - originWidth?: number; -} - -interface FocusOptions { - preventScroll?: boolean; -} - -interface FullscreenOptions { - navigationUI?: FullscreenNavigationUI; -} - -interface GainOptions extends AudioNodeOptions { - gain?: number; -} - -interface GamepadEventInit extends EventInit { - gamepad: Gamepad; -} - -interface GetNotificationOptions { - tag?: string; -} - -interface GetRootNodeOptions { - composed?: boolean; -} - -interface HashChangeEventInit extends EventInit { - newURL?: string; - oldURL?: string; -} - -interface HkdfParams extends Algorithm { - hash: HashAlgorithmIdentifier; - info: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; - salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface HmacImportParams extends Algorithm { - hash: HashAlgorithmIdentifier; - length?: number; -} - -interface HmacKeyAlgorithm extends KeyAlgorithm { - hash: KeyAlgorithm; - length: number; -} - -interface HmacKeyGenParams extends Algorithm { - hash: HashAlgorithmIdentifier; - length?: number; -} - -interface IDBIndexParameters { - multiEntry?: boolean; - unique?: boolean; -} - -interface IDBObjectStoreParameters { - autoIncrement?: boolean; - keyPath?: string | string[] | null; -} - -interface IDBVersionChangeEventInit extends EventInit { - newVersion?: number | null; - oldVersion?: number; -} - -interface IIRFilterOptions extends AudioNodeOptions { - feedback: number[]; - feedforward: number[]; -} - -interface ImageBitmapOptions { - colorSpaceConversion?: ColorSpaceConversion; - imageOrientation?: ImageOrientation; - premultiplyAlpha?: PremultiplyAlpha; - resizeHeight?: number; - resizeQuality?: ResizeQuality; - resizeWidth?: number; -} - -interface ImageBitmapRenderingContextSettings { - alpha?: boolean; -} - -interface ImageEncodeOptions { - quality?: number; - type?: string; -} - -interface InputEventInit extends UIEventInit { - data?: string | null; - inputType?: string; - isComposing?: boolean; -} - -interface IntersectionObserverEntryInit { - boundingClientRect: DOMRectInit; - intersectionRatio: number; - intersectionRect: DOMRectInit; - isIntersecting: boolean; - rootBounds: DOMRectInit | null; - target: Element; - time: number; -} - -interface IntersectionObserverInit { - root?: Element | null; - rootMargin?: string; - threshold?: number | number[]; -} - -interface JsonWebKey { - alg?: string; - crv?: string; - d?: string; - dp?: string; - dq?: string; - e?: string; - ext?: boolean; - k?: string; - key_ops?: string[]; - kty?: string; - n?: string; - oth?: RsaOtherPrimesInfo[]; - p?: string; - q?: string; - qi?: string; - use?: string; - x?: string; - y?: string; -} - -interface KeyAlgorithm { - name: string; -} - -interface KeyboardEventInit extends EventModifierInit { - code?: string; - isComposing?: boolean; - key?: string; - location?: number; - repeat?: boolean; -} - -interface Keyframe { - composite?: CompositeOperationOrAuto; - easing?: string; - offset?: number | null; - [property: string]: string | number | null | undefined; -} - -interface KeyframeAnimationOptions extends KeyframeEffectOptions { - id?: string; -} - -interface KeyframeEffectOptions extends EffectTiming { - composite?: CompositeOperation; - iterationComposite?: IterationCompositeOperation; -} - -interface MediaElementAudioSourceOptions { - mediaElement: HTMLMediaElement; -} - -interface MediaEncryptedEventInit extends EventInit { - initData?: ArrayBuffer | null; - initDataType?: string; -} - -interface MediaKeyMessageEventInit extends EventInit { - message: ArrayBuffer; - messageType: MediaKeyMessageType; -} - -interface MediaKeySystemConfiguration { - audioCapabilities?: MediaKeySystemMediaCapability[]; - distinctiveIdentifier?: MediaKeysRequirement; - initDataTypes?: string[]; - label?: string; - persistentState?: MediaKeysRequirement; - sessionTypes?: string[]; - videoCapabilities?: MediaKeySystemMediaCapability[]; -} - -interface MediaKeySystemMediaCapability { - contentType?: string; - robustness?: string; -} - -interface MediaQueryListEventInit extends EventInit { - matches?: boolean; - media?: string; -} - -interface MediaStreamAudioSourceOptions { - mediaStream: MediaStream; -} - -interface MediaStreamConstraints { - audio?: boolean | MediaTrackConstraints; - peerIdentity?: string; - video?: boolean | MediaTrackConstraints; -} - -interface MediaStreamErrorEventInit extends EventInit { - error?: MediaStreamError | null; -} - -interface MediaStreamEventInit extends EventInit { - stream?: MediaStream; -} - -interface MediaStreamTrackAudioSourceOptions { - mediaStreamTrack: MediaStreamTrack; -} - -interface MediaStreamTrackEventInit extends EventInit { - track: MediaStreamTrack; -} - -interface MediaTrackCapabilities { - aspectRatio?: DoubleRange; - autoGainControl?: boolean[]; - channelCount?: ULongRange; - deviceId?: string; - echoCancellation?: boolean[]; - facingMode?: string[]; - frameRate?: DoubleRange; - groupId?: string; - height?: ULongRange; - latency?: DoubleRange; - noiseSuppression?: boolean[]; - resizeMode?: string[]; - sampleRate?: ULongRange; - sampleSize?: ULongRange; - width?: ULongRange; -} - -interface MediaTrackConstraintSet { - aspectRatio?: ConstrainDouble; - autoGainControl?: ConstrainBoolean; - channelCount?: ConstrainULong; - deviceId?: ConstrainDOMString; - echoCancellation?: ConstrainBoolean; - facingMode?: ConstrainDOMString; - frameRate?: ConstrainDouble; - groupId?: ConstrainDOMString; - height?: ConstrainULong; - latency?: ConstrainDouble; - noiseSuppression?: ConstrainBoolean; - resizeMode?: ConstrainDOMString; - sampleRate?: ConstrainULong; - sampleSize?: ConstrainULong; - width?: ConstrainULong; -} - -interface MediaTrackConstraints extends MediaTrackConstraintSet { - advanced?: MediaTrackConstraintSet[]; -} - -interface MediaTrackSettings { - aspectRatio?: number; - autoGainControl?: boolean; - channelCount?: number; - deviceId?: string; - echoCancellation?: boolean; - facingMode?: string; - frameRate?: number; - groupId?: string; - height?: number; - latency?: number; - noiseSuppression?: boolean; - resizeMode?: string; - sampleRate?: number; - sampleSize?: number; - width?: number; -} - -interface MediaTrackSupportedConstraints { - aspectRatio?: boolean; - autoGainControl?: boolean; - channelCount?: boolean; - deviceId?: boolean; - echoCancellation?: boolean; - facingMode?: boolean; - frameRate?: boolean; - groupId?: boolean; - height?: boolean; - latency?: boolean; - noiseSuppression?: boolean; - resizeMode?: boolean; - sampleRate?: boolean; - sampleSize?: boolean; - width?: boolean; -} - -interface MessageEventInit extends EventInit { - data?: any; - lastEventId?: string; - origin?: string; - ports?: MessagePort[]; - source?: MessageEventSource | null; -} - -interface MidiPermissionDescriptor extends PermissionDescriptor { - name: "midi"; - sysex?: boolean; -} - -interface MouseEventInit extends EventModifierInit { - button?: number; - buttons?: number; - clientX?: number; - clientY?: number; - movementX?: number; - movementY?: number; - relatedTarget?: EventTarget | null; - screenX?: number; - screenY?: number; -} - -interface MultiCacheQueryOptions extends CacheQueryOptions { - cacheName?: string; -} - -interface MutationObserverInit { - /** - * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. - */ - attributeFilter?: string[]; - /** - * Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. - */ - attributeOldValue?: boolean; - /** - * Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. - */ - attributes?: boolean; - /** - * Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. - */ - characterData?: boolean; - /** - * Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. - */ - characterDataOldValue?: boolean; - /** - * Set to true if mutations to target's children are to be observed. - */ - childList?: boolean; - /** - * Set to true if mutations to not just target, but also target's descendants are to be observed. - */ - subtree?: boolean; -} - -interface NavigationPreloadState { - enabled?: boolean; - headerValue?: string; -} - -interface NotificationAction { - action: string; - icon?: string; - title: string; -} - -interface NotificationOptions { - actions?: NotificationAction[]; - badge?: string; - body?: string; - data?: any; - dir?: NotificationDirection; - icon?: string; - image?: string; - lang?: string; - renotify?: boolean; - requireInteraction?: boolean; - silent?: boolean; - tag?: string; - timestamp?: number; - vibrate?: VibratePattern; -} - -interface OfflineAudioCompletionEventInit extends EventInit { - renderedBuffer: AudioBuffer; -} - -interface OfflineAudioContextOptions { - length: number; - numberOfChannels?: number; - sampleRate: number; -} - -interface OptionalEffectTiming { - delay?: number; - direction?: PlaybackDirection; - duration?: number | string; - easing?: string; - endDelay?: number; - fill?: FillMode; - iterationStart?: number; - iterations?: number; -} - -interface OscillatorOptions extends AudioNodeOptions { - detune?: number; - frequency?: number; - periodicWave?: PeriodicWave; - type?: OscillatorType; -} - -interface PageTransitionEventInit extends EventInit { - persisted?: boolean; -} - -interface PannerOptions extends AudioNodeOptions { - coneInnerAngle?: number; - coneOuterAngle?: number; - coneOuterGain?: number; - distanceModel?: DistanceModelType; - maxDistance?: number; - orientationX?: number; - orientationY?: number; - orientationZ?: number; - panningModel?: PanningModelType; - positionX?: number; - positionY?: number; - positionZ?: number; - refDistance?: number; - rolloffFactor?: number; -} - -interface PaymentCurrencyAmount { - currency: string; - currencySystem?: string; - value: string; -} - -interface PaymentDetailsBase { - displayItems?: PaymentItem[]; - modifiers?: PaymentDetailsModifier[]; - shippingOptions?: PaymentShippingOption[]; -} - -interface PaymentDetailsInit extends PaymentDetailsBase { - id?: string; - total: PaymentItem; -} - -interface PaymentDetailsModifier { - additionalDisplayItems?: PaymentItem[]; - data?: any; - supportedMethods: string | string[]; - total?: PaymentItem; -} - -interface PaymentDetailsUpdate extends PaymentDetailsBase { - error?: string; - total?: PaymentItem; -} - -interface PaymentItem { - amount: PaymentCurrencyAmount; - label: string; - pending?: boolean; -} - -interface PaymentMethodData { - data?: any; - supportedMethods: string | string[]; -} - -interface PaymentOptions { - requestPayerEmail?: boolean; - requestPayerName?: boolean; - requestPayerPhone?: boolean; - requestShipping?: boolean; - shippingType?: string; -} - -interface PaymentRequestUpdateEventInit extends EventInit { -} - -interface PaymentShippingOption { - amount: PaymentCurrencyAmount; - id: string; - label: string; - selected?: boolean; -} - -interface Pbkdf2Params extends Algorithm { - hash: HashAlgorithmIdentifier; - iterations: number; - salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface PerformanceObserverInit { - buffered?: boolean; - entryTypes?: string[]; - type?: string; -} - -interface PeriodicWaveConstraints { - disableNormalization?: boolean; -} - -interface PeriodicWaveOptions extends PeriodicWaveConstraints { - imag?: number[] | Float32Array; - real?: number[] | Float32Array; -} - -interface PermissionDescriptor { - name: PermissionName; -} - -interface PipeOptions { - preventAbort?: boolean; - preventCancel?: boolean; - preventClose?: boolean; - signal?: AbortSignal; -} - -interface PointerEventInit extends MouseEventInit { - height?: number; - isPrimary?: boolean; - pointerId?: number; - pointerType?: string; - pressure?: number; - tangentialPressure?: number; - tiltX?: number; - tiltY?: number; - twist?: number; - width?: number; -} - -interface PopStateEventInit extends EventInit { - state?: any; -} - -interface PositionOptions { - enableHighAccuracy?: boolean; - maximumAge?: number; - timeout?: number; -} - -interface PostMessageOptions { - transfer?: any[]; -} - -interface ProgressEventInit extends EventInit { - lengthComputable?: boolean; - loaded?: number; - total?: number; -} - -interface PromiseRejectionEventInit extends EventInit { - promise: Promise; - reason?: any; -} - -interface PropertyIndexedKeyframes { - composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[]; - easing?: string | string[]; - offset?: number | (number | null)[]; - [property: string]: string | string[] | number | null | (number | null)[] | undefined; -} - -interface PublicKeyCredentialCreationOptions { - attestation?: AttestationConveyancePreference; - authenticatorSelection?: AuthenticatorSelectionCriteria; - challenge: BufferSource; - excludeCredentials?: PublicKeyCredentialDescriptor[]; - extensions?: AuthenticationExtensionsClientInputs; - pubKeyCredParams: PublicKeyCredentialParameters[]; - rp: PublicKeyCredentialRpEntity; - timeout?: number; - user: PublicKeyCredentialUserEntity; -} - -interface PublicKeyCredentialDescriptor { - id: BufferSource; - transports?: AuthenticatorTransport[]; - type: PublicKeyCredentialType; -} - -interface PublicKeyCredentialEntity { - icon?: string; - name: string; -} - -interface PublicKeyCredentialParameters { - alg: COSEAlgorithmIdentifier; - type: PublicKeyCredentialType; -} - -interface PublicKeyCredentialRequestOptions { - allowCredentials?: PublicKeyCredentialDescriptor[]; - challenge: BufferSource; - extensions?: AuthenticationExtensionsClientInputs; - rpId?: string; - timeout?: number; - userVerification?: UserVerificationRequirement; -} - -interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { - id?: string; -} - -interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { - displayName: string; - id: BufferSource; -} - -interface PushPermissionDescriptor extends PermissionDescriptor { - name: "push"; - userVisibleOnly?: boolean; -} - -interface PushSubscriptionJSON { - endpoint?: string; - expirationTime?: number | null; - keys?: Record; -} - -interface PushSubscriptionOptionsInit { - applicationServerKey?: BufferSource | string | null; - userVisibleOnly?: boolean; -} - -interface QueuingStrategy { - highWaterMark?: number; - size?: QueuingStrategySizeCallback; -} - -interface RTCAnswerOptions extends RTCOfferAnswerOptions { -} - -interface RTCCertificateExpiration { - expires?: number; -} - -interface RTCConfiguration { - bundlePolicy?: RTCBundlePolicy; - certificates?: RTCCertificate[]; - iceCandidatePoolSize?: number; - iceServers?: RTCIceServer[]; - iceTransportPolicy?: RTCIceTransportPolicy; - peerIdentity?: string; - rtcpMuxPolicy?: RTCRtcpMuxPolicy; -} - -interface RTCDTMFToneChangeEventInit extends EventInit { - tone: string; -} - -interface RTCDataChannelEventInit extends EventInit { - channel: RTCDataChannel; -} - -interface RTCDataChannelInit { - id?: number; - maxPacketLifeTime?: number; - maxRetransmits?: number; - negotiated?: boolean; - ordered?: boolean; - priority?: RTCPriorityType; - protocol?: string; -} - -interface RTCDtlsFingerprint { - algorithm?: string; - value?: string; -} - -interface RTCDtlsParameters { - fingerprints?: RTCDtlsFingerprint[]; - role?: RTCDtlsRole; -} - -interface RTCErrorEventInit extends EventInit { - error: RTCError; -} - -interface RTCErrorInit { - errorDetail: RTCErrorDetailType; - httpRequestStatusCode?: number; - receivedAlert?: number; - sctpCauseCode?: number; - sdpLineNumber?: number; - sentAlert?: number; -} - -interface RTCIceCandidateAttributes extends RTCStats { - addressSourceUrl?: string; - candidateType?: RTCStatsIceCandidateType; - ipAddress?: string; - portNumber?: number; - priority?: number; - transport?: string; -} - -interface RTCIceCandidateComplete { -} - -interface RTCIceCandidateDictionary { - foundation?: string; - ip?: string; - msMTurnSessionId?: string; - port?: number; - priority?: number; - protocol?: RTCIceProtocol; - relatedAddress?: string; - relatedPort?: number; - tcpType?: RTCIceTcpCandidateType; - type?: RTCIceCandidateType; -} - -interface RTCIceCandidateInit { - candidate?: string; - sdpMLineIndex?: number | null; - sdpMid?: string | null; - usernameFragment?: string | null; -} - -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - -interface RTCIceCandidatePairStats extends RTCStats { - availableIncomingBitrate?: number; - availableOutgoingBitrate?: number; - bytesReceived?: number; - bytesSent?: number; - localCandidateId?: string; - nominated?: boolean; - priority?: number; - readable?: boolean; - remoteCandidateId?: string; - roundTripTime?: number; - state?: RTCStatsIceCandidatePairState; - transportId?: string; - writable?: boolean; -} - -interface RTCIceGatherOptions { - gatherPolicy?: RTCIceGatherPolicy; - iceservers?: RTCIceServer[]; -} - -interface RTCIceParameters { - password?: string; - usernameFragment?: string; -} - -interface RTCIceServer { - credential?: string | RTCOAuthCredential; - credentialType?: RTCIceCredentialType; - urls: string | string[]; - username?: string; -} - -interface RTCIdentityProviderOptions { - peerIdentity?: string; - protocol?: string; - usernameHint?: string; -} - -interface RTCInboundRTPStreamStats extends RTCRTPStreamStats { - bytesReceived?: number; - fractionLost?: number; - jitter?: number; - packetsLost?: number; - packetsReceived?: number; -} - -interface RTCMediaStreamTrackStats extends RTCStats { - audioLevel?: number; - echoReturnLoss?: number; - echoReturnLossEnhancement?: number; - frameHeight?: number; - frameWidth?: number; - framesCorrupted?: number; - framesDecoded?: number; - framesDropped?: number; - framesPerSecond?: number; - framesReceived?: number; - framesSent?: number; - remoteSource?: boolean; - ssrcIds?: string[]; - trackIdentifier?: string; -} - -interface RTCOAuthCredential { - accessToken: string; - macKey: string; -} - -interface RTCOfferAnswerOptions { - voiceActivityDetection?: boolean; -} - -interface RTCOfferOptions extends RTCOfferAnswerOptions { - iceRestart?: boolean; - offerToReceiveAudio?: boolean; - offerToReceiveVideo?: boolean; -} - -interface RTCOutboundRTPStreamStats extends RTCRTPStreamStats { - bytesSent?: number; - packetsSent?: number; - roundTripTime?: number; - targetBitrate?: number; -} - -interface RTCPeerConnectionIceErrorEventInit extends EventInit { - errorCode: number; - hostCandidate?: string; - statusText?: string; - url?: string; -} - -interface RTCPeerConnectionIceEventInit extends EventInit { - candidate?: RTCIceCandidate | null; - url?: string | null; -} - -interface RTCRTPStreamStats extends RTCStats { - associateStatsId?: string; - codecId?: string; - firCount?: number; - isRemote?: boolean; - mediaTrackId?: string; - mediaType?: string; - nackCount?: number; - pliCount?: number; - sliCount?: number; - ssrc?: string; - transportId?: string; -} - -interface RTCRtcpFeedback { - parameter?: string; - type?: string; -} - -interface RTCRtcpParameters { - cname?: string; - reducedSize?: boolean; -} - -interface RTCRtpCapabilities { - codecs: RTCRtpCodecCapability[]; - headerExtensions: RTCRtpHeaderExtensionCapability[]; -} - -interface RTCRtpCodecCapability { - channels?: number; - clockRate: number; - mimeType: string; - sdpFmtpLine?: string; -} - -interface RTCRtpCodecParameters { - channels?: number; - clockRate: number; - mimeType: string; - payloadType: number; - sdpFmtpLine?: string; -} - -interface RTCRtpCodingParameters { - rid?: string; -} - -interface RTCRtpContributingSource { - audioLevel?: number; - rtpTimestamp: number; - source: number; - timestamp: number; -} - -interface RTCRtpDecodingParameters extends RTCRtpCodingParameters { -} - -interface RTCRtpEncodingParameters extends RTCRtpCodingParameters { - active?: boolean; - codecPayloadType?: number; - dtx?: RTCDtxStatus; - maxBitrate?: number; - maxFramerate?: number; - ptime?: number; - scaleResolutionDownBy?: number; -} - -interface RTCRtpFecParameters { - mechanism?: string; - ssrc?: number; -} - -interface RTCRtpHeaderExtension { - kind?: string; - preferredEncrypt?: boolean; - preferredId?: number; - uri?: string; -} - -interface RTCRtpHeaderExtensionCapability { - uri?: string; -} - -interface RTCRtpHeaderExtensionParameters { - encrypted?: boolean; - id: number; - uri: string; -} - -interface RTCRtpParameters { - codecs: RTCRtpCodecParameters[]; - headerExtensions: RTCRtpHeaderExtensionParameters[]; - rtcp: RTCRtcpParameters; -} - -interface RTCRtpReceiveParameters extends RTCRtpParameters { - encodings: RTCRtpDecodingParameters[]; -} - -interface RTCRtpRtxParameters { - ssrc?: number; -} - -interface RTCRtpSendParameters extends RTCRtpParameters { - degradationPreference?: RTCDegradationPreference; - encodings: RTCRtpEncodingParameters[]; - priority?: RTCPriorityType; - transactionId: string; -} - -interface RTCRtpSynchronizationSource extends RTCRtpContributingSource { - voiceActivityFlag?: boolean; -} - -interface RTCRtpTransceiverInit { - direction?: RTCRtpTransceiverDirection; - sendEncodings?: RTCRtpEncodingParameters[]; - streams?: MediaStream[]; -} - -interface RTCRtpUnhandled { - muxId?: string; - payloadType?: number; - ssrc?: number; -} - -interface RTCSessionDescriptionInit { - sdp?: string; - type?: RTCSdpType; -} - -interface RTCSrtpKeyParam { - keyMethod?: string; - keySalt?: string; - lifetime?: string; - mkiLength?: number; - mkiValue?: number; -} - -interface RTCSrtpSdesParameters { - cryptoSuite?: string; - keyParams?: RTCSrtpKeyParam[]; - sessionParams?: string[]; - tag?: number; -} - -interface RTCSsrcRange { - max?: number; - min?: number; -} - -interface RTCStats { - id: string; - timestamp: number; - type: RTCStatsType; -} - -interface RTCStatsEventInit extends EventInit { - report: RTCStatsReport; -} - -interface RTCStatsReport { -} - -interface RTCTrackEventInit extends EventInit { - receiver: RTCRtpReceiver; - streams?: MediaStream[]; - track: MediaStreamTrack; - transceiver: RTCRtpTransceiver; -} - -interface RTCTransportStats extends RTCStats { - activeConnection?: boolean; - bytesReceived?: number; - bytesSent?: number; - localCertificateId?: string; - remoteCertificateId?: string; - rtcpTransportStatsId?: string; - selectedCandidatePairId?: string; -} - -interface ReadableStreamReadDoneResult { - done: true; - value?: T; -} - -interface ReadableStreamReadValueResult { - done: false; - value: T; -} - -interface RegistrationOptions { - scope?: string; - type?: WorkerType; - updateViaCache?: ServiceWorkerUpdateViaCache; -} - -interface RequestInit { - /** - * A BodyInit object or null to set request's body. - */ - body?: BodyInit | null; - /** - * A string indicating how the request will interact with the browser's cache to set request's cache. - */ - cache?: RequestCache; - /** - * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. - */ - credentials?: RequestCredentials; - /** - * A Headers object, an object literal, or an array of two-item arrays to set request's headers. - */ - headers?: HeadersInit; - /** - * A cryptographic hash of the resource to be fetched by request. Sets request's integrity. - */ - integrity?: string; - /** - * A boolean to set request's keepalive. - */ - keepalive?: boolean; - /** - * A string to set request's method. - */ - method?: string; - /** - * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. - */ - mode?: RequestMode; - /** - * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. - */ - redirect?: RequestRedirect; - /** - * A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. - */ - referrer?: string; - /** - * A referrer policy to set request's referrerPolicy. - */ - referrerPolicy?: ReferrerPolicy; - /** - * An AbortSignal to set request's signal. - */ - signal?: AbortSignal | null; - /** - * Can only be null. Used to disassociate request from any Window. - */ - window?: any; -} - -interface ResponseInit { - headers?: HeadersInit; - status?: number; - statusText?: string; -} - -interface RsaHashedImportParams extends Algorithm { - hash: HashAlgorithmIdentifier; -} - -interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { - hash: KeyAlgorithm; -} - -interface RsaHashedKeyGenParams extends RsaKeyGenParams { - hash: HashAlgorithmIdentifier; -} - -interface RsaKeyAlgorithm extends KeyAlgorithm { - modulusLength: number; - publicExponent: BigInteger; -} - -interface RsaKeyGenParams extends Algorithm { - modulusLength: number; - publicExponent: BigInteger; -} - -interface RsaOaepParams extends Algorithm { - label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface RsaOtherPrimesInfo { - d?: string; - r?: string; - t?: string; -} - -interface RsaPssParams extends Algorithm { - saltLength: number; -} - -interface SVGBoundingBoxOptions { - clipped?: boolean; - fill?: boolean; - markers?: boolean; - stroke?: boolean; -} - -interface ScopedCredentialDescriptor { - id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; - transports?: Transport[]; - type: ScopedCredentialType; -} - -interface ScopedCredentialOptions { - excludeList?: ScopedCredentialDescriptor[]; - extensions?: WebAuthnExtensions; - rpId?: string; - timeoutSeconds?: number; -} - -interface ScopedCredentialParameters { - algorithm: string | Algorithm; - type: ScopedCredentialType; -} - -interface ScrollIntoViewOptions extends ScrollOptions { - block?: ScrollLogicalPosition; - inline?: ScrollLogicalPosition; -} - -interface ScrollOptions { - behavior?: ScrollBehavior; -} - -interface ScrollToOptions extends ScrollOptions { - left?: number; - top?: number; -} - -interface SecurityPolicyViolationEventInit extends EventInit { - blockedURI?: string; - columnNumber?: number; - documentURI?: string; - effectiveDirective?: string; - lineNumber?: number; - originalPolicy?: string; - referrer?: string; - sourceFile?: string; - statusCode?: number; - violatedDirective?: string; -} - -interface ServiceWorkerMessageEventInit extends EventInit { - data?: any; - lastEventId?: string; - origin?: string; - ports?: MessagePort[] | null; - source?: ServiceWorker | MessagePort | null; -} - -interface ShadowRootInit { - delegatesFocus?: boolean; - mode: ShadowRootMode; -} - -interface ShareData { - text?: string; - title?: string; - url?: string; -} - -interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { - error: SpeechSynthesisErrorCode; -} - -interface SpeechSynthesisEventInit extends EventInit { - charIndex?: number; - charLength?: number; - elapsedTime?: number; - name?: string; - utterance: SpeechSynthesisUtterance; -} - -interface StaticRangeInit { - endContainer: Node; - endOffset: number; - startContainer: Node; - startOffset: number; -} - -interface StereoPannerOptions extends AudioNodeOptions { - pan?: number; -} - -interface StorageEstimate { - quota?: number; - usage?: number; -} - -interface StorageEventInit extends EventInit { - key?: string | null; - newValue?: string | null; - oldValue?: string | null; - storageArea?: Storage | null; - url?: string; -} - -interface StoreExceptionsInformation extends ExceptionInformation { - detailURI?: string | null; - explanationString?: string | null; - siteName?: string | null; -} - -interface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation { - arrayOfDomainStrings?: string[]; -} - -interface TextDecodeOptions { - stream?: boolean; -} - -interface TextDecoderOptions { - fatal?: boolean; - ignoreBOM?: boolean; -} - -interface TextEncoderEncodeIntoResult { - read?: number; - written?: number; -} - -interface TouchEventInit extends EventModifierInit { - changedTouches?: Touch[]; - targetTouches?: Touch[]; - touches?: Touch[]; -} - -interface TouchInit { - altitudeAngle?: number; - azimuthAngle?: number; - clientX?: number; - clientY?: number; - force?: number; - identifier: number; - pageX?: number; - pageY?: number; - radiusX?: number; - radiusY?: number; - rotationAngle?: number; - screenX?: number; - screenY?: number; - target: EventTarget; - touchType?: TouchType; -} - -interface TrackEventInit extends EventInit { - track?: TextTrack | null; -} - -interface Transformer { - flush?: TransformStreamDefaultControllerCallback; - readableType?: undefined; - start?: TransformStreamDefaultControllerCallback; - transform?: TransformStreamDefaultControllerTransformCallback; - writableType?: undefined; -} - -interface TransitionEventInit extends EventInit { - elapsedTime?: number; - propertyName?: string; - pseudoElement?: string; -} - -interface UIEventInit extends EventInit { - detail?: number; - view?: Window | null; -} - -interface ULongRange { - max?: number; - min?: number; -} - -interface UnderlyingByteSource { - autoAllocateChunkSize?: number; - cancel?: ReadableStreamErrorCallback; - pull?: ReadableByteStreamControllerCallback; - start?: ReadableByteStreamControllerCallback; - type: "bytes"; -} - -interface UnderlyingSink { - abort?: WritableStreamErrorCallback; - close?: WritableStreamDefaultControllerCloseCallback; - start?: WritableStreamDefaultControllerStartCallback; - type?: undefined; - write?: WritableStreamDefaultControllerWriteCallback; -} - -interface UnderlyingSource { - cancel?: ReadableStreamErrorCallback; - pull?: ReadableStreamDefaultControllerCallback; - start?: ReadableStreamDefaultControllerCallback; - type?: undefined; -} - -interface VRDisplayEventInit extends EventInit { - display: VRDisplay; - reason?: VRDisplayEventReason; -} - -interface VRLayer { - leftBounds?: number[] | Float32Array | null; - rightBounds?: number[] | Float32Array | null; - source?: HTMLCanvasElement | null; -} - -interface VRStageParameters { - sittingToStandingTransform?: Float32Array; - sizeX?: number; - sizeY?: number; -} - -interface WaveShaperOptions extends AudioNodeOptions { - curve?: number[] | Float32Array; - oversample?: OverSampleType; -} - -interface WebAuthnExtensions { -} - -interface WebGLContextAttributes { - alpha?: boolean; - antialias?: boolean; - depth?: boolean; - desynchronized?: boolean; - failIfMajorPerformanceCaveat?: boolean; - powerPreference?: WebGLPowerPreference; - premultipliedAlpha?: boolean; - preserveDrawingBuffer?: boolean; - stencil?: boolean; -} - -interface WebGLContextEventInit extends EventInit { - statusMessage?: string; -} - -interface WheelEventInit extends MouseEventInit { - deltaMode?: number; - deltaX?: number; - deltaY?: number; - deltaZ?: number; -} - -interface WorkerOptions { - credentials?: RequestCredentials; - name?: string; - type?: WorkerType; -} - -interface WorkletOptions { - credentials?: RequestCredentials; -} - -interface txAuthGenericArg { - content: ArrayBuffer; - contentType: string; -} - -interface EventListener { - (evt: Event): void; -} - -type XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; }; - -/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */ -interface ANGLE_instanced_arrays { - drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void; - drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void; - vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void; - readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum; -} - -/** A controller object that allows you to abort one or more DOM requests as and when desired. */ -interface AbortController { - /** - * Returns the AbortSignal object associated with this object. - */ - readonly signal: AbortSignal; - /** - * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. - */ - abort(): void; -} - -declare var AbortController: { - prototype: AbortController; - new(): AbortController; -}; - -interface AbortSignalEventMap { - "abort": Event; -} - -/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ -interface AbortSignal extends EventTarget { - /** - * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. - */ - readonly aborted: boolean; - onabort: ((this: AbortSignal, ev: Event) => any) | null; - addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AbortSignal: { - prototype: AbortSignal; - new(): AbortSignal; -}; - -interface AbstractRange { - /** - * Returns true if range is collapsed, and false otherwise. - */ - readonly collapsed: boolean; - /** - * Returns range's end node. - */ - readonly endContainer: Node; - /** - * Returns range's end offset. - */ - readonly endOffset: number; - /** - * Returns range's start node. - */ - readonly startContainer: Node; - /** - * Returns range's start offset. - */ - readonly startOffset: number; -} - -declare var AbstractRange: { - prototype: AbstractRange; - new(): AbstractRange; -}; - -interface AbstractWorkerEventMap { - "error": ErrorEvent; -} - -interface AbstractWorker { - onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; - addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface AesCfbParams extends Algorithm { - iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface AesCmacParams extends Algorithm { - length: number; -} - -/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */ -interface AnalyserNode extends AudioNode { - fftSize: number; - readonly frequencyBinCount: number; - maxDecibels: number; - minDecibels: number; - smoothingTimeConstant: number; - getByteFrequencyData(array: Uint8Array): void; - getByteTimeDomainData(array: Uint8Array): void; - getFloatFrequencyData(array: Float32Array): void; - getFloatTimeDomainData(array: Float32Array): void; -} - -declare var AnalyserNode: { - prototype: AnalyserNode; - new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; -}; - -interface Animatable { - animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation; - getAnimations(): Animation[]; -} - -interface AnimationEventMap { - "cancel": AnimationPlaybackEvent; - "finish": AnimationPlaybackEvent; -} - -interface Animation extends EventTarget { - currentTime: number | null; - effect: AnimationEffect | null; - readonly finished: Promise; - id: string; - oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; - onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; - readonly pending: boolean; - readonly playState: AnimationPlayState; - playbackRate: number; - readonly ready: Promise; - startTime: number | null; - timeline: AnimationTimeline | null; - cancel(): void; - finish(): void; - pause(): void; - play(): void; - reverse(): void; - updatePlaybackRate(playbackRate: number): void; - addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Animation: { - prototype: Animation; - new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation; -}; - -interface AnimationEffect { - getComputedTiming(): ComputedEffectTiming; - getTiming(): EffectTiming; - updateTiming(timing?: OptionalEffectTiming): void; -} - -declare var AnimationEffect: { - prototype: AnimationEffect; - new(): AnimationEffect; -}; - -/** Events providing information related to animations. */ -interface AnimationEvent extends Event { - readonly animationName: string; - readonly elapsedTime: number; - readonly pseudoElement: string; -} - -declare var AnimationEvent: { - prototype: AnimationEvent; - new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent; -}; - -interface AnimationFrameProvider { - cancelAnimationFrame(handle: number): void; - requestAnimationFrame(callback: FrameRequestCallback): number; -} - -interface AnimationPlaybackEvent extends Event { - readonly currentTime: number | null; - readonly timelineTime: number | null; -} - -declare var AnimationPlaybackEvent: { - prototype: AnimationPlaybackEvent; - new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; -}; - -interface AnimationTimeline { - readonly currentTime: number | null; -} - -declare var AnimationTimeline: { - prototype: AnimationTimeline; - new(): AnimationTimeline; -}; - -interface ApplicationCacheEventMap { - "cached": Event; - "checking": Event; - "downloading": Event; - "error": Event; - "noupdate": Event; - "obsolete": Event; - "progress": ProgressEvent; - "updateready": Event; -} - -interface ApplicationCache extends EventTarget { - /** @deprecated */ - oncached: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onchecking: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - ondownloading: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onerror: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onnoupdate: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onobsolete: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onprogress: ((this: ApplicationCache, ev: ProgressEvent) => any) | null; - /** @deprecated */ - onupdateready: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - readonly status: number; - /** @deprecated */ - abort(): void; - /** @deprecated */ - swapCache(): void; - /** @deprecated */ - update(): void; - readonly CHECKING: number; - readonly DOWNLOADING: number; - readonly IDLE: number; - readonly OBSOLETE: number; - readonly UNCACHED: number; - readonly UPDATEREADY: number; - addEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ApplicationCache: { - prototype: ApplicationCache; - new(): ApplicationCache; - readonly CHECKING: number; - readonly DOWNLOADING: number; - readonly IDLE: number; - readonly OBSOLETE: number; - readonly UNCACHED: number; - readonly UPDATEREADY: number; -}; - -/** A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */ -interface Attr extends Node { - readonly localName: string; - readonly name: string; - readonly namespaceURI: string | null; - readonly ownerDocument: Document; - readonly ownerElement: Element | null; - readonly prefix: string | null; - readonly specified: boolean; - value: string; -} - -declare var Attr: { - prototype: Attr; - new(): Attr; -}; - -/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */ -interface AudioBuffer { - readonly duration: number; - readonly length: number; - readonly numberOfChannels: number; - readonly sampleRate: number; - copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void; - copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void; - getChannelData(channel: number): Float32Array; -} - -declare var AudioBuffer: { - prototype: AudioBuffer; - new(options: AudioBufferOptions): AudioBuffer; -}; - -/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */ -interface AudioBufferSourceNode extends AudioScheduledSourceNode { - buffer: AudioBuffer | null; - readonly detune: AudioParam; - loop: boolean; - loopEnd: number; - loopStart: number; - readonly playbackRate: AudioParam; - start(when?: number, offset?: number, duration?: number): void; - addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AudioBufferSourceNode: { - prototype: AudioBufferSourceNode; - new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode; -}; - -/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */ -interface AudioContext extends BaseAudioContext { - readonly baseLatency: number; - readonly outputLatency: number; - close(): Promise; - createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode; - createMediaStreamDestination(): MediaStreamAudioDestinationNode; - createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode; - createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode; - getOutputTimestamp(): AudioTimestamp; - resume(): Promise; - suspend(): Promise; - addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AudioContext: { - prototype: AudioContext; - new(contextOptions?: AudioContextOptions): AudioContext; -}; - -/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */ -interface AudioDestinationNode extends AudioNode { - readonly maxChannelCount: number; -} - -declare var AudioDestinationNode: { - prototype: AudioDestinationNode; - new(): AudioDestinationNode; -}; - -/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */ -interface AudioListener { - readonly forwardX: AudioParam; - readonly forwardY: AudioParam; - readonly forwardZ: AudioParam; - readonly positionX: AudioParam; - readonly positionY: AudioParam; - readonly positionZ: AudioParam; - readonly upX: AudioParam; - readonly upY: AudioParam; - readonly upZ: AudioParam; - /** @deprecated */ - setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void; - /** @deprecated */ - setPosition(x: number, y: number, z: number): void; -} - -declare var AudioListener: { - prototype: AudioListener; - new(): AudioListener; -}; - -/** A generic interface for representing an audio processing module. Examples include: */ -interface AudioNode extends EventTarget { - channelCount: number; - channelCountMode: ChannelCountMode; - channelInterpretation: ChannelInterpretation; - readonly context: BaseAudioContext; - readonly numberOfInputs: number; - readonly numberOfOutputs: number; - connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode; - connect(destinationParam: AudioParam, output?: number): void; - disconnect(): void; - disconnect(output: number): void; - disconnect(destinationNode: AudioNode): void; - disconnect(destinationNode: AudioNode, output: number): void; - disconnect(destinationNode: AudioNode, output: number, input: number): void; - disconnect(destinationParam: AudioParam): void; - disconnect(destinationParam: AudioParam, output: number): void; -} - -declare var AudioNode: { - prototype: AudioNode; - new(): AudioNode; -}; - -/** The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */ -interface AudioParam { - automationRate: AutomationRate; - readonly defaultValue: number; - readonly maxValue: number; - readonly minValue: number; - value: number; - cancelAndHoldAtTime(cancelTime: number): AudioParam; - cancelScheduledValues(cancelTime: number): AudioParam; - exponentialRampToValueAtTime(value: number, endTime: number): AudioParam; - linearRampToValueAtTime(value: number, endTime: number): AudioParam; - setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam; - setValueAtTime(value: number, startTime: number): AudioParam; - setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam; -} - -declare var AudioParam: { - prototype: AudioParam; - new(): AudioParam; -}; - -interface AudioParamMap { - forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void; -} - -declare var AudioParamMap: { - prototype: AudioParamMap; - new(): AudioParamMap; -}; - -/** The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. */ -interface AudioProcessingEvent extends Event { - readonly inputBuffer: AudioBuffer; - readonly outputBuffer: AudioBuffer; - readonly playbackTime: number; -} - -declare var AudioProcessingEvent: { - prototype: AudioProcessingEvent; - new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent; -}; - -interface AudioScheduledSourceNodeEventMap { - "ended": Event; -} - -interface AudioScheduledSourceNode extends AudioNode { - onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null; - start(when?: number): void; - stop(when?: number): void; - addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AudioScheduledSourceNode: { - prototype: AudioScheduledSourceNode; - new(): AudioScheduledSourceNode; -}; - -interface AudioWorklet extends Worklet { -} - -declare var AudioWorklet: { - prototype: AudioWorklet; - new(): AudioWorklet; -}; - -interface AudioWorkletNodeEventMap { - "processorerror": Event; -} - -interface AudioWorkletNode extends AudioNode { - onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; - readonly parameters: AudioParamMap; - readonly port: MessagePort; - addEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AudioWorkletNode: { - prototype: AudioWorkletNode; - new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode; -}; - -interface AuthenticatorAssertionResponse extends AuthenticatorResponse { - readonly authenticatorData: ArrayBuffer; - readonly signature: ArrayBuffer; - readonly userHandle: ArrayBuffer | null; -} - -declare var AuthenticatorAssertionResponse: { - prototype: AuthenticatorAssertionResponse; - new(): AuthenticatorAssertionResponse; -}; - -interface AuthenticatorAttestationResponse extends AuthenticatorResponse { - readonly attestationObject: ArrayBuffer; -} - -declare var AuthenticatorAttestationResponse: { - prototype: AuthenticatorAttestationResponse; - new(): AuthenticatorAttestationResponse; -}; - -interface AuthenticatorResponse { - readonly clientDataJSON: ArrayBuffer; -} - -declare var AuthenticatorResponse: { - prototype: AuthenticatorResponse; - new(): AuthenticatorResponse; -}; - -interface BarProp { - readonly visible: boolean; -} - -declare var BarProp: { - prototype: BarProp; - new(): BarProp; -}; - -interface BaseAudioContextEventMap { - "statechange": Event; -} - -interface BaseAudioContext extends EventTarget { - readonly audioWorklet: AudioWorklet; - readonly currentTime: number; - readonly destination: AudioDestinationNode; - readonly listener: AudioListener; - onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null; - readonly sampleRate: number; - readonly state: AudioContextState; - createAnalyser(): AnalyserNode; - createBiquadFilter(): BiquadFilterNode; - createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; - createBufferSource(): AudioBufferSourceNode; - createChannelMerger(numberOfInputs?: number): ChannelMergerNode; - createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode; - createConstantSource(): ConstantSourceNode; - createConvolver(): ConvolverNode; - createDelay(maxDelayTime?: number): DelayNode; - createDynamicsCompressor(): DynamicsCompressorNode; - createGain(): GainNode; - createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode; - createOscillator(): OscillatorNode; - createPanner(): PannerNode; - createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave; - createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode; - createStereoPanner(): StereoPannerNode; - createWaveShaper(): WaveShaperNode; - decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise; - addEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var BaseAudioContext: { - prototype: BaseAudioContext; - new(): BaseAudioContext; -}; - -/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */ -interface BeforeUnloadEvent extends Event { - returnValue: any; -} - -declare var BeforeUnloadEvent: { - prototype: BeforeUnloadEvent; - new(): BeforeUnloadEvent; -}; - -interface BhxBrowser { - readonly lastError: DOMException; - checkMatchesGlobExpression(pattern: string, value: string): boolean; - checkMatchesUriExpression(pattern: string, value: string): boolean; - clearLastError(): void; - currentWindowId(): number; - fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void; - genericFunction(functionId: number, destination: any, parameters?: string, callbackId?: number): void; - genericSynchronousFunction(functionId: number, parameters?: string): string; - getExtensionId(): string; - getThisAddress(): any; - registerGenericFunctionCallbackHandler(callbackHandler: Function): void; - registerGenericListenerHandler(eventHandler: Function): void; - setLastError(parameters: string): void; - webPlatformGenericFunction(destination: any, parameters?: string, callbackId?: number): void; -} - -declare var BhxBrowser: { - prototype: BhxBrowser; - new(): BhxBrowser; -}; - -/** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */ -interface BiquadFilterNode extends AudioNode { - readonly Q: AudioParam; - readonly detune: AudioParam; - readonly frequency: AudioParam; - readonly gain: AudioParam; - type: BiquadFilterType; - getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; -} - -declare var BiquadFilterNode: { - prototype: BiquadFilterNode; - new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode; -}; - -/** A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system. */ -interface Blob { - readonly size: number; - readonly type: string; - arrayBuffer(): Promise; - slice(start?: number, end?: number, contentType?: string): Blob; - stream(): ReadableStream; - text(): Promise; -} - -declare var Blob: { - prototype: Blob; - new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; -}; - -interface Body { - readonly body: ReadableStream | null; - readonly bodyUsed: boolean; - arrayBuffer(): Promise; - blob(): Promise; - formData(): Promise; - json(): Promise; - text(): Promise; -} - -interface BroadcastChannelEventMap { - "message": MessageEvent; - "messageerror": MessageEvent; -} - -interface BroadcastChannel extends EventTarget { - /** - * Returns the channel name (as passed to the constructor). - */ - readonly name: string; - onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; - onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; - /** - * Closes the BroadcastChannel object, opening it up to garbage collection. - */ - close(): void; - /** - * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. - */ - postMessage(message: any): void; - addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var BroadcastChannel: { - prototype: BroadcastChannel; - new(name: string): BroadcastChannel; -}; - -/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ -interface ByteLengthQueuingStrategy extends QueuingStrategy { - highWaterMark: number; - size(chunk: ArrayBufferView): number; -} - -declare var ByteLengthQueuingStrategy: { - prototype: ByteLengthQueuingStrategy; - new(options: { highWaterMark: number }): ByteLengthQueuingStrategy; -}; - -/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section. */ -interface CDATASection extends Text { -} - -declare var CDATASection: { - prototype: CDATASection; - new(): CDATASection; -}; - -/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */ -interface CSSConditionRule extends CSSGroupingRule { - conditionText: string; -} - -declare var CSSConditionRule: { - prototype: CSSConditionRule; - new(): CSSConditionRule; -}; - -interface CSSFontFaceRule extends CSSRule { - readonly style: CSSStyleDeclaration; -} - -declare var CSSFontFaceRule: { - prototype: CSSFontFaceRule; - new(): CSSFontFaceRule; -}; - -/** Any CSS at-rule that contains other rules nested within it. */ -interface CSSGroupingRule extends CSSRule { - readonly cssRules: CSSRuleList; - deleteRule(index: number): void; - insertRule(rule: string, index?: number): number; -} - -declare var CSSGroupingRule: { - prototype: CSSGroupingRule; - new(): CSSGroupingRule; -}; - -interface CSSImportRule extends CSSRule { - readonly href: string; - readonly media: MediaList; - readonly styleSheet: CSSStyleSheet; -} - -declare var CSSImportRule: { - prototype: CSSImportRule; - new(): CSSImportRule; -}; - -/** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */ -interface CSSKeyframeRule extends CSSRule { - keyText: string; - readonly style: CSSStyleDeclaration; -} - -declare var CSSKeyframeRule: { - prototype: CSSKeyframeRule; - new(): CSSKeyframeRule; -}; - -/** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */ -interface CSSKeyframesRule extends CSSRule { - readonly cssRules: CSSRuleList; - name: string; - appendRule(rule: string): void; - deleteRule(select: string): void; - findRule(select: string): CSSKeyframeRule | null; -} - -declare var CSSKeyframesRule: { - prototype: CSSKeyframesRule; - new(): CSSKeyframesRule; -}; - -/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */ -interface CSSMediaRule extends CSSConditionRule { - readonly media: MediaList; -} - -declare var CSSMediaRule: { - prototype: CSSMediaRule; - new(): CSSMediaRule; -}; - -/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */ -interface CSSNamespaceRule extends CSSRule { - readonly namespaceURI: string; - readonly prefix: string; -} - -declare var CSSNamespaceRule: { - prototype: CSSNamespaceRule; - new(): CSSNamespaceRule; -}; - -/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */ -interface CSSPageRule extends CSSGroupingRule { - selectorText: string; - readonly style: CSSStyleDeclaration; -} - -declare var CSSPageRule: { - prototype: CSSPageRule; - new(): CSSPageRule; -}; - -/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */ -interface CSSRule { - cssText: string; - readonly parentRule: CSSRule | null; - readonly parentStyleSheet: CSSStyleSheet | null; - readonly type: number; - readonly CHARSET_RULE: number; - readonly FONT_FACE_RULE: number; - readonly IMPORT_RULE: number; - readonly KEYFRAMES_RULE: number; - readonly KEYFRAME_RULE: number; - readonly MEDIA_RULE: number; - readonly NAMESPACE_RULE: number; - readonly PAGE_RULE: number; - readonly STYLE_RULE: number; - readonly SUPPORTS_RULE: number; -} - -declare var CSSRule: { - prototype: CSSRule; - new(): CSSRule; - readonly CHARSET_RULE: number; - readonly FONT_FACE_RULE: number; - readonly IMPORT_RULE: number; - readonly KEYFRAMES_RULE: number; - readonly KEYFRAME_RULE: number; - readonly MEDIA_RULE: number; - readonly NAMESPACE_RULE: number; - readonly PAGE_RULE: number; - readonly STYLE_RULE: number; - readonly SUPPORTS_RULE: number; -}; - -/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */ -interface CSSRuleList { - readonly length: number; - item(index: number): CSSRule | null; - [index: number]: CSSRule; -} - -declare var CSSRuleList: { - prototype: CSSRuleList; - new(): CSSRuleList; -}; - -/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */ -interface CSSStyleDeclaration { - alignContent: string; - alignItems: string; - alignSelf: string; - alignmentBaseline: string; - all: string; - animation: string; - animationDelay: string; - animationDirection: string; - animationDuration: string; - animationFillMode: string; - animationIterationCount: string; - animationName: string; - animationPlayState: string; - animationTimingFunction: string; - backfaceVisibility: string; - background: string; - backgroundAttachment: string; - backgroundClip: string; - backgroundColor: string; - backgroundImage: string; - backgroundOrigin: string; - backgroundPosition: string; - backgroundPositionX: string; - backgroundPositionY: string; - backgroundRepeat: string; - backgroundSize: string; - baselineShift: string; - blockSize: string; - border: string; - borderBlockEnd: string; - borderBlockEndColor: string; - borderBlockEndStyle: string; - borderBlockEndWidth: string; - borderBlockStart: string; - borderBlockStartColor: string; - borderBlockStartStyle: string; - borderBlockStartWidth: string; - borderBottom: string; - borderBottomColor: string; - borderBottomLeftRadius: string; - borderBottomRightRadius: string; - borderBottomStyle: string; - borderBottomWidth: string; - borderCollapse: string; - borderColor: string; - borderImage: string; - borderImageOutset: string; - borderImageRepeat: string; - borderImageSlice: string; - borderImageSource: string; - borderImageWidth: string; - borderInlineEnd: string; - borderInlineEndColor: string; - borderInlineEndStyle: string; - borderInlineEndWidth: string; - borderInlineStart: string; - borderInlineStartColor: string; - borderInlineStartStyle: string; - borderInlineStartWidth: string; - borderLeft: string; - borderLeftColor: string; - borderLeftStyle: string; - borderLeftWidth: string; - borderRadius: string; - borderRight: string; - borderRightColor: string; - borderRightStyle: string; - borderRightWidth: string; - borderSpacing: string; - borderStyle: string; - borderTop: string; - borderTopColor: string; - borderTopLeftRadius: string; - borderTopRightRadius: string; - borderTopStyle: string; - borderTopWidth: string; - borderWidth: string; - bottom: string; - boxShadow: string; - boxSizing: string; - breakAfter: string; - breakBefore: string; - breakInside: string; - captionSide: string; - caretColor: string; - clear: string; - clip: string; - clipPath: string; - clipRule: string; - color: string; - colorInterpolation: string; - colorInterpolationFilters: string; - columnCount: string; - columnFill: string; - columnGap: string; - columnRule: string; - columnRuleColor: string; - columnRuleStyle: string; - columnRuleWidth: string; - columnSpan: string; - columnWidth: string; - columns: string; - content: string; - counterIncrement: string; - counterReset: string; - cssFloat: string; - cssText: string; - cursor: string; - direction: string; - display: string; - dominantBaseline: string; - emptyCells: string; - fill: string; - fillOpacity: string; - fillRule: string; - filter: string; - flex: string; - flexBasis: string; - flexDirection: string; - flexFlow: string; - flexGrow: string; - flexShrink: string; - flexWrap: string; - float: string; - floodColor: string; - floodOpacity: string; - font: string; - fontFamily: string; - fontFeatureSettings: string; - fontKerning: string; - fontSize: string; - fontSizeAdjust: string; - fontStretch: string; - fontStyle: string; - fontSynthesis: string; - fontVariant: string; - fontVariantCaps: string; - fontVariantEastAsian: string; - fontVariantLigatures: string; - fontVariantNumeric: string; - fontVariantPosition: string; - fontWeight: string; - gap: string; - glyphOrientationVertical: string; - grid: string; - gridArea: string; - gridAutoColumns: string; - gridAutoFlow: string; - gridAutoRows: string; - gridColumn: string; - gridColumnEnd: string; - gridColumnGap: string; - gridColumnStart: string; - gridGap: string; - gridRow: string; - gridRowEnd: string; - gridRowGap: string; - gridRowStart: string; - gridTemplate: string; - gridTemplateAreas: string; - gridTemplateColumns: string; - gridTemplateRows: string; - height: string; - hyphens: string; - imageOrientation: string; - imageRendering: string; - inlineSize: string; - justifyContent: string; - justifyItems: string; - justifySelf: string; - left: string; - readonly length: number; - letterSpacing: string; - lightingColor: string; - lineBreak: string; - lineHeight: string; - listStyle: string; - listStyleImage: string; - listStylePosition: string; - listStyleType: string; - margin: string; - marginBlockEnd: string; - marginBlockStart: string; - marginBottom: string; - marginInlineEnd: string; - marginInlineStart: string; - marginLeft: string; - marginRight: string; - marginTop: string; - marker: string; - markerEnd: string; - markerMid: string; - markerStart: string; - mask: string; - maskComposite: string; - maskImage: string; - maskPosition: string; - maskRepeat: string; - maskSize: string; - maskType: string; - maxBlockSize: string; - maxHeight: string; - maxInlineSize: string; - maxWidth: string; - minBlockSize: string; - minHeight: string; - minInlineSize: string; - minWidth: string; - objectFit: string; - objectPosition: string; - opacity: string; - order: string; - orphans: string; - outline: string; - outlineColor: string; - outlineOffset: string; - outlineStyle: string; - outlineWidth: string; - overflow: string; - overflowAnchor: string; - overflowWrap: string; - overflowX: string; - overflowY: string; - padding: string; - paddingBlockEnd: string; - paddingBlockStart: string; - paddingBottom: string; - paddingInlineEnd: string; - paddingInlineStart: string; - paddingLeft: string; - paddingRight: string; - paddingTop: string; - pageBreakAfter: string; - pageBreakBefore: string; - pageBreakInside: string; - paintOrder: string; - readonly parentRule: CSSRule | null; - perspective: string; - perspectiveOrigin: string; - placeContent: string; - placeItems: string; - placeSelf: string; - pointerEvents: string; - position: string; - quotes: string; - resize: string; - right: string; - rotate: string; - rowGap: string; - rubyAlign: string; - rubyPosition: string; - scale: string; - scrollBehavior: string; - shapeRendering: string; - stopColor: string; - stopOpacity: string; - stroke: string; - strokeDasharray: string; - strokeDashoffset: string; - strokeLinecap: string; - strokeLinejoin: string; - strokeMiterlimit: string; - strokeOpacity: string; - strokeWidth: string; - tabSize: string; - tableLayout: string; - textAlign: string; - textAlignLast: string; - textAnchor: string; - textCombineUpright: string; - textDecoration: string; - textDecorationColor: string; - textDecorationLine: string; - textDecorationStyle: string; - textEmphasis: string; - textEmphasisColor: string; - textEmphasisPosition: string; - textEmphasisStyle: string; - textIndent: string; - textJustify: string; - textOrientation: string; - textOverflow: string; - textRendering: string; - textShadow: string; - textTransform: string; - textUnderlinePosition: string; - top: string; - touchAction: string; - transform: string; - transformBox: string; - transformOrigin: string; - transformStyle: string; - transition: string; - transitionDelay: string; - transitionDuration: string; - transitionProperty: string; - transitionTimingFunction: string; - translate: string; - unicodeBidi: string; - userSelect: string; - verticalAlign: string; - visibility: string; - /** @deprecated */ - webkitAlignContent: string; - /** @deprecated */ - webkitAlignItems: string; - /** @deprecated */ - webkitAlignSelf: string; - /** @deprecated */ - webkitAnimation: string; - /** @deprecated */ - webkitAnimationDelay: string; - /** @deprecated */ - webkitAnimationDirection: string; - /** @deprecated */ - webkitAnimationDuration: string; - /** @deprecated */ - webkitAnimationFillMode: string; - /** @deprecated */ - webkitAnimationIterationCount: string; - /** @deprecated */ - webkitAnimationName: string; - /** @deprecated */ - webkitAnimationPlayState: string; - /** @deprecated */ - webkitAnimationTimingFunction: string; - /** @deprecated */ - webkitAppearance: string; - /** @deprecated */ - webkitBackfaceVisibility: string; - /** @deprecated */ - webkitBackgroundClip: string; - /** @deprecated */ - webkitBackgroundOrigin: string; - /** @deprecated */ - webkitBackgroundSize: string; - /** @deprecated */ - webkitBorderBottomLeftRadius: string; - /** @deprecated */ - webkitBorderBottomRightRadius: string; - /** @deprecated */ - webkitBorderRadius: string; - /** @deprecated */ - webkitBorderTopLeftRadius: string; - /** @deprecated */ - webkitBorderTopRightRadius: string; - /** @deprecated */ - webkitBoxAlign: string; - /** @deprecated */ - webkitBoxFlex: string; - /** @deprecated */ - webkitBoxOrdinalGroup: string; - /** @deprecated */ - webkitBoxOrient: string; - /** @deprecated */ - webkitBoxPack: string; - /** @deprecated */ - webkitBoxShadow: string; - /** @deprecated */ - webkitBoxSizing: string; - /** @deprecated */ - webkitFilter: string; - /** @deprecated */ - webkitFlex: string; - /** @deprecated */ - webkitFlexBasis: string; - /** @deprecated */ - webkitFlexDirection: string; - /** @deprecated */ - webkitFlexFlow: string; - /** @deprecated */ - webkitFlexGrow: string; - /** @deprecated */ - webkitFlexShrink: string; - /** @deprecated */ - webkitFlexWrap: string; - /** @deprecated */ - webkitJustifyContent: string; - webkitLineClamp: string; - /** @deprecated */ - webkitMask: string; - /** @deprecated */ - webkitMaskBoxImage: string; - /** @deprecated */ - webkitMaskBoxImageOutset: string; - /** @deprecated */ - webkitMaskBoxImageRepeat: string; - /** @deprecated */ - webkitMaskBoxImageSlice: string; - /** @deprecated */ - webkitMaskBoxImageSource: string; - /** @deprecated */ - webkitMaskBoxImageWidth: string; - /** @deprecated */ - webkitMaskClip: string; - /** @deprecated */ - webkitMaskComposite: string; - /** @deprecated */ - webkitMaskImage: string; - /** @deprecated */ - webkitMaskOrigin: string; - /** @deprecated */ - webkitMaskPosition: string; - /** @deprecated */ - webkitMaskRepeat: string; - /** @deprecated */ - webkitMaskSize: string; - /** @deprecated */ - webkitOrder: string; - /** @deprecated */ - webkitPerspective: string; - /** @deprecated */ - webkitPerspectiveOrigin: string; - webkitTapHighlightColor: string; - /** @deprecated */ - webkitTextFillColor: string; - /** @deprecated */ - webkitTextSizeAdjust: string; - /** @deprecated */ - webkitTextStroke: string; - /** @deprecated */ - webkitTextStrokeColor: string; - /** @deprecated */ - webkitTextStrokeWidth: string; - /** @deprecated */ - webkitTransform: string; - /** @deprecated */ - webkitTransformOrigin: string; - /** @deprecated */ - webkitTransformStyle: string; - /** @deprecated */ - webkitTransition: string; - /** @deprecated */ - webkitTransitionDelay: string; - /** @deprecated */ - webkitTransitionDuration: string; - /** @deprecated */ - webkitTransitionProperty: string; - /** @deprecated */ - webkitTransitionTimingFunction: string; - /** @deprecated */ - webkitUserSelect: string; - whiteSpace: string; - widows: string; - width: string; - willChange: string; - wordBreak: string; - wordSpacing: string; - wordWrap: string; - writingMode: string; - zIndex: string; - /** @deprecated */ - zoom: string; - getPropertyPriority(property: string): string; - getPropertyValue(property: string): string; - item(index: number): string; - removeProperty(property: string): string; - setProperty(property: string, value: string | null, priority?: string): void; - [index: number]: string; -} - -declare var CSSStyleDeclaration: { - prototype: CSSStyleDeclaration; - new(): CSSStyleDeclaration; -}; - -/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */ -interface CSSStyleRule extends CSSRule { - selectorText: string; - readonly style: CSSStyleDeclaration; -} - -declare var CSSStyleRule: { - prototype: CSSStyleRule; - new(): CSSStyleRule; -}; - -/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */ -interface CSSStyleSheet extends StyleSheet { - readonly cssRules: CSSRuleList; - readonly ownerRule: CSSRule | null; - readonly rules: CSSRuleList; - addRule(selector?: string, style?: string, index?: number): number; - deleteRule(index: number): void; - insertRule(rule: string, index?: number): number; - removeRule(index?: number): void; -} - -declare var CSSStyleSheet: { - prototype: CSSStyleSheet; - new(): CSSStyleSheet; -}; - -/** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */ -interface CSSSupportsRule extends CSSConditionRule { -} - -declare var CSSSupportsRule: { - prototype: CSSSupportsRule; - new(): CSSSupportsRule; -}; - -/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. */ -interface Cache { - add(request: RequestInfo): Promise; - addAll(requests: RequestInfo[]): Promise; - delete(request: RequestInfo, options?: CacheQueryOptions): Promise; - keys(request?: RequestInfo, options?: CacheQueryOptions): Promise>; - match(request: RequestInfo, options?: CacheQueryOptions): Promise; - matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise>; - put(request: RequestInfo, response: Response): Promise; -} - -declare var Cache: { - prototype: Cache; - new(): Cache; -}; - -/** The storage for Cache objects. */ -interface CacheStorage { - delete(cacheName: string): Promise; - has(cacheName: string): Promise; - keys(): Promise; - match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise; - open(cacheName: string): Promise; -} - -declare var CacheStorage: { - prototype: CacheStorage; - new(): CacheStorage; -}; - -interface CanvasCompositing { - globalAlpha: number; - globalCompositeOperation: string; -} - -interface CanvasDrawImage { - drawImage(image: CanvasImageSource, dx: number, dy: number): void; - drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void; - drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void; -} - -interface CanvasDrawPath { - beginPath(): void; - clip(fillRule?: CanvasFillRule): void; - clip(path: Path2D, fillRule?: CanvasFillRule): void; - fill(fillRule?: CanvasFillRule): void; - fill(path: Path2D, fillRule?: CanvasFillRule): void; - isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; - isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; - isPointInStroke(x: number, y: number): boolean; - isPointInStroke(path: Path2D, x: number, y: number): boolean; - stroke(): void; - stroke(path: Path2D): void; -} - -interface CanvasFillStrokeStyles { - fillStyle: string | CanvasGradient | CanvasPattern; - strokeStyle: string | CanvasGradient | CanvasPattern; - createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; - createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null; - createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; -} - -interface CanvasFilters { - filter: string; -} - -/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */ -interface CanvasGradient { - /** - * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end. - * - * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed. - */ - addColorStop(offset: number, color: string): void; -} - -declare var CanvasGradient: { - prototype: CanvasGradient; - new(): CanvasGradient; -}; - -interface CanvasImageData { - createImageData(sw: number, sh: number): ImageData; - createImageData(imagedata: ImageData): ImageData; - getImageData(sx: number, sy: number, sw: number, sh: number): ImageData; - putImageData(imagedata: ImageData, dx: number, dy: number): void; - putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void; -} - -interface CanvasImageSmoothing { - imageSmoothingEnabled: boolean; - imageSmoothingQuality: ImageSmoothingQuality; -} - -interface CanvasPath { - arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; - arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; - bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; - closePath(): void; - ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; - lineTo(x: number, y: number): void; - moveTo(x: number, y: number): void; - quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; - rect(x: number, y: number, w: number, h: number): void; -} - -interface CanvasPathDrawingStyles { - lineCap: CanvasLineCap; - lineDashOffset: number; - lineJoin: CanvasLineJoin; - lineWidth: number; - miterLimit: number; - getLineDash(): number[]; - setLineDash(segments: number[]): void; -} - -/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */ -interface CanvasPattern { - /** - * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. - */ - setTransform(transform?: DOMMatrix2DInit): void; -} - -declare var CanvasPattern: { - prototype: CanvasPattern; - new(): CanvasPattern; -}; - -interface CanvasRect { - clearRect(x: number, y: number, w: number, h: number): void; - fillRect(x: number, y: number, w: number, h: number): void; - strokeRect(x: number, y: number, w: number, h: number): void; -} - -/** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects. */ -interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface { - readonly canvas: HTMLCanvasElement; -} - -declare var CanvasRenderingContext2D: { - prototype: CanvasRenderingContext2D; - new(): CanvasRenderingContext2D; -}; - -interface CanvasShadowStyles { - shadowBlur: number; - shadowColor: string; - shadowOffsetX: number; - shadowOffsetY: number; -} - -interface CanvasState { - restore(): void; - save(): void; -} - -interface CanvasText { - fillText(text: string, x: number, y: number, maxWidth?: number): void; - measureText(text: string): TextMetrics; - strokeText(text: string, x: number, y: number, maxWidth?: number): void; -} - -interface CanvasTextDrawingStyles { - direction: CanvasDirection; - font: string; - textAlign: CanvasTextAlign; - textBaseline: CanvasTextBaseline; -} - -interface CanvasTransform { - getTransform(): DOMMatrix; - resetTransform(): void; - rotate(angle: number): void; - scale(x: number, y: number): void; - setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void; - setTransform(transform?: DOMMatrix2DInit): void; - transform(a: number, b: number, c: number, d: number, e: number, f: number): void; - translate(x: number, y: number): void; -} - -interface CanvasUserInterface { - drawFocusIfNeeded(element: Element): void; - drawFocusIfNeeded(path: Path2D, element: Element): void; - scrollPathIntoView(): void; - scrollPathIntoView(path: Path2D): void; -} - -interface CaretPosition { - readonly offset: number; - readonly offsetNode: Node; - getClientRect(): DOMRect | null; -} - -declare var CaretPosition: { - prototype: CaretPosition; - new(): CaretPosition; -}; - -/** The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ -interface ChannelMergerNode extends AudioNode { -} - -declare var ChannelMergerNode: { - prototype: ChannelMergerNode; - new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode; -}; - -/** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ -interface ChannelSplitterNode extends AudioNode { -} - -declare var ChannelSplitterNode: { - prototype: ChannelSplitterNode; - new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode; -}; - -/** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract. */ -interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { - data: string; - readonly length: number; - readonly ownerDocument: Document; - appendData(data: string): void; - deleteData(offset: number, count: number): void; - insertData(offset: number, data: string): void; - replaceData(offset: number, count: number, data: string): void; - substringData(offset: number, count: number): string; -} - -declare var CharacterData: { - prototype: CharacterData; - new(): CharacterData; -}; - -interface ChildNode extends Node { - /** - * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. - * - * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. - */ - after(...nodes: (Node | string)[]): void; - /** - * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. - * - * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. - */ - before(...nodes: (Node | string)[]): void; - /** - * Removes node. - */ - remove(): void; - /** - * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. - * - * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. - */ - replaceWith(...nodes: (Node | string)[]): void; -} - -interface ClientRect { - bottom: number; - readonly height: number; - left: number; - right: number; - top: number; - readonly width: number; -} - -declare var ClientRect: { - prototype: ClientRect; - new(): ClientRect; -}; - -interface ClientRectList { - readonly length: number; - item(index: number): ClientRect; - [index: number]: ClientRect; -} - -declare var ClientRectList: { - prototype: ClientRectList; - new(): ClientRectList; -}; - -interface Clipboard extends EventTarget { - readText(): Promise; - writeText(data: string): Promise; -} - -declare var Clipboard: { - prototype: Clipboard; - new(): Clipboard; -}; - -/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */ -interface ClipboardEvent extends Event { - readonly clipboardData: DataTransfer | null; -} - -declare var ClipboardEvent: { - prototype: ClipboardEvent; - new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; -}; - -/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */ -interface CloseEvent extends Event { - /** - * Returns the WebSocket connection close code provided by the server. - */ - readonly code: number; - /** - * Returns the WebSocket connection close reason provided by the server. - */ - readonly reason: string; - /** - * Returns true if the connection closed cleanly; false otherwise. - */ - readonly wasClean: boolean; -} - -declare var CloseEvent: { - prototype: CloseEvent; - new(type: string, eventInitDict?: CloseEventInit): CloseEvent; -}; - -/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */ -interface Comment extends CharacterData { -} - -declare var Comment: { - prototype: Comment; - new(data?: string): Comment; -}; - -/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */ -interface CompositionEvent extends UIEvent { - readonly data: string; -} - -declare var CompositionEvent: { - prototype: CompositionEvent; - new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent; -}; - -interface ConcatParams extends Algorithm { - algorithmId: Uint8Array; - hash?: string | Algorithm; - partyUInfo: Uint8Array; - partyVInfo: Uint8Array; - privateInfo?: Uint8Array; - publicInfo?: Uint8Array; -} - -interface ConstantSourceNode extends AudioScheduledSourceNode { - readonly offset: AudioParam; - addEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ConstantSourceNode: { - prototype: ConstantSourceNode; - new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; -}; - -/** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */ -interface ConvolverNode extends AudioNode { - buffer: AudioBuffer | null; - normalize: boolean; -} - -declare var ConvolverNode: { - prototype: ConvolverNode; - new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; -}; - -/** The position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated. */ -interface Coordinates { - readonly accuracy: number; - readonly altitude: number | null; - readonly altitudeAccuracy: number | null; - readonly heading: number | null; - readonly latitude: number; - readonly longitude: number; - readonly speed: number | null; -} - -/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ -interface CountQueuingStrategy extends QueuingStrategy { - highWaterMark: number; - size(chunk: any): 1; -} - -declare var CountQueuingStrategy: { - prototype: CountQueuingStrategy; - new(options: { highWaterMark: number }): CountQueuingStrategy; -}; - -interface Credential { - readonly id: string; - readonly type: string; -} - -declare var Credential: { - prototype: Credential; - new(): Credential; -}; - -interface CredentialsContainer { - create(options?: CredentialCreationOptions): Promise; - get(options?: CredentialRequestOptions): Promise; - preventSilentAccess(): Promise; - store(credential: Credential): Promise; -} - -declare var CredentialsContainer: { - prototype: CredentialsContainer; - new(): CredentialsContainer; -}; - -/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */ -interface Crypto { - readonly subtle: SubtleCrypto; - getRandomValues(array: T): T; -} - -declare var Crypto: { - prototype: Crypto; - new(): Crypto; -}; - -/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */ -interface CryptoKey { - readonly algorithm: KeyAlgorithm; - readonly extractable: boolean; - readonly type: KeyType; - readonly usages: KeyUsage[]; -} - -declare var CryptoKey: { - prototype: CryptoKey; - new(): CryptoKey; -}; - -/** The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm. */ -interface CryptoKeyPair { - privateKey: CryptoKey; - publicKey: CryptoKey; -} - -declare var CryptoKeyPair: { - prototype: CryptoKeyPair; - new(): CryptoKeyPair; -}; - -interface CustomElementRegistry { - define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void; - get(name: string): any; - upgrade(root: Node): void; - whenDefined(name: string): Promise; -} - -declare var CustomElementRegistry: { - prototype: CustomElementRegistry; - new(): CustomElementRegistry; -}; - -interface CustomEvent extends Event { - /** - * Returns any custom data event was created with. Typically used for synthetic events. - */ - readonly detail: T; - initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void; -} - -declare var CustomEvent: { - prototype: CustomEvent; - new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent; -}; - -/** An error object that contains an error name. */ -interface DOMError { - readonly name: string; - toString(): string; -} - -declare var DOMError: { - prototype: DOMError; - new(): DOMError; -}; - -/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */ -interface DOMException { - readonly code: number; - readonly message: string; - readonly name: string; - readonly ABORT_ERR: number; - readonly DATA_CLONE_ERR: number; - readonly DOMSTRING_SIZE_ERR: number; - readonly HIERARCHY_REQUEST_ERR: number; - readonly INDEX_SIZE_ERR: number; - readonly INUSE_ATTRIBUTE_ERR: number; - readonly INVALID_ACCESS_ERR: number; - readonly INVALID_CHARACTER_ERR: number; - readonly INVALID_MODIFICATION_ERR: number; - readonly INVALID_NODE_TYPE_ERR: number; - readonly INVALID_STATE_ERR: number; - readonly NAMESPACE_ERR: number; - readonly NETWORK_ERR: number; - readonly NOT_FOUND_ERR: number; - readonly NOT_SUPPORTED_ERR: number; - readonly NO_DATA_ALLOWED_ERR: number; - readonly NO_MODIFICATION_ALLOWED_ERR: number; - readonly QUOTA_EXCEEDED_ERR: number; - readonly SECURITY_ERR: number; - readonly SYNTAX_ERR: number; - readonly TIMEOUT_ERR: number; - readonly TYPE_MISMATCH_ERR: number; - readonly URL_MISMATCH_ERR: number; - readonly VALIDATION_ERR: number; - readonly WRONG_DOCUMENT_ERR: number; -} - -declare var DOMException: { - prototype: DOMException; - new(message?: string, name?: string): DOMException; - readonly ABORT_ERR: number; - readonly DATA_CLONE_ERR: number; - readonly DOMSTRING_SIZE_ERR: number; - readonly HIERARCHY_REQUEST_ERR: number; - readonly INDEX_SIZE_ERR: number; - readonly INUSE_ATTRIBUTE_ERR: number; - readonly INVALID_ACCESS_ERR: number; - readonly INVALID_CHARACTER_ERR: number; - readonly INVALID_MODIFICATION_ERR: number; - readonly INVALID_NODE_TYPE_ERR: number; - readonly INVALID_STATE_ERR: number; - readonly NAMESPACE_ERR: number; - readonly NETWORK_ERR: number; - readonly NOT_FOUND_ERR: number; - readonly NOT_SUPPORTED_ERR: number; - readonly NO_DATA_ALLOWED_ERR: number; - readonly NO_MODIFICATION_ALLOWED_ERR: number; - readonly QUOTA_EXCEEDED_ERR: number; - readonly SECURITY_ERR: number; - readonly SYNTAX_ERR: number; - readonly TIMEOUT_ERR: number; - readonly TYPE_MISMATCH_ERR: number; - readonly URL_MISMATCH_ERR: number; - readonly VALIDATION_ERR: number; - readonly WRONG_DOCUMENT_ERR: number; -}; - -/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */ -interface DOMImplementation { - createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document; - createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; - createHTMLDocument(title?: string): Document; - /** @deprecated */ - hasFeature(...args: any[]): true; -} - -declare var DOMImplementation: { - prototype: DOMImplementation; - new(): DOMImplementation; -}; - -interface DOML2DeprecatedColorProperty { - color: string; -} - -interface DOMMatrix extends DOMMatrixReadOnly { - a: number; - b: number; - c: number; - d: number; - e: number; - f: number; - m11: number; - m12: number; - m13: number; - m14: number; - m21: number; - m22: number; - m23: number; - m24: number; - m31: number; - m32: number; - m33: number; - m34: number; - m41: number; - m42: number; - m43: number; - m44: number; - invertSelf(): DOMMatrix; - multiplySelf(other?: DOMMatrixInit): DOMMatrix; - preMultiplySelf(other?: DOMMatrixInit): DOMMatrix; - rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; - rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; - rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - setMatrixValue(transformList: string): DOMMatrix; - skewXSelf(sx?: number): DOMMatrix; - skewYSelf(sy?: number): DOMMatrix; - translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; -} - -declare var DOMMatrix: { - prototype: DOMMatrix; - new(init?: string | number[]): DOMMatrix; - fromFloat32Array(array32: Float32Array): DOMMatrix; - fromFloat64Array(array64: Float64Array): DOMMatrix; - fromMatrix(other?: DOMMatrixInit): DOMMatrix; -}; - -type SVGMatrix = DOMMatrix; -declare var SVGMatrix: typeof DOMMatrix; - -type WebKitCSSMatrix = DOMMatrix; -declare var WebKitCSSMatrix: typeof DOMMatrix; - -interface DOMMatrixReadOnly { - readonly a: number; - readonly b: number; - readonly c: number; - readonly d: number; - readonly e: number; - readonly f: number; - readonly is2D: boolean; - readonly isIdentity: boolean; - readonly m11: number; - readonly m12: number; - readonly m13: number; - readonly m14: number; - readonly m21: number; - readonly m22: number; - readonly m23: number; - readonly m24: number; - readonly m31: number; - readonly m32: number; - readonly m33: number; - readonly m34: number; - readonly m41: number; - readonly m42: number; - readonly m43: number; - readonly m44: number; - flipX(): DOMMatrix; - flipY(): DOMMatrix; - inverse(): DOMMatrix; - multiply(other?: DOMMatrixInit): DOMMatrix; - rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; - rotateFromVector(x?: number, y?: number): DOMMatrix; - scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** @deprecated */ - scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - skewX(sx?: number): DOMMatrix; - skewY(sy?: number): DOMMatrix; - toFloat32Array(): Float32Array; - toFloat64Array(): Float64Array; - toJSON(): any; - transformPoint(point?: DOMPointInit): DOMPoint; - translate(tx?: number, ty?: number, tz?: number): DOMMatrix; - toString(): string; -} - -declare var DOMMatrixReadOnly: { - prototype: DOMMatrixReadOnly; - new(init?: string | number[]): DOMMatrixReadOnly; - fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; - fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; - fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; - toString(): string; -}; - -/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */ -interface DOMParser { - parseFromString(str: string, type: SupportedType): Document; -} - -declare var DOMParser: { - prototype: DOMParser; - new(): DOMParser; -}; - -interface DOMPoint extends DOMPointReadOnly { - w: number; - x: number; - y: number; - z: number; -} - -declare var DOMPoint: { - prototype: DOMPoint; - new(x?: number, y?: number, z?: number, w?: number): DOMPoint; - fromPoint(other?: DOMPointInit): DOMPoint; -}; - -type SVGPoint = DOMPoint; -declare var SVGPoint: typeof DOMPoint; - -interface DOMPointReadOnly { - readonly w: number; - readonly x: number; - readonly y: number; - readonly z: number; - matrixTransform(matrix?: DOMMatrixInit): DOMPoint; - toJSON(): any; -} - -declare var DOMPointReadOnly: { - prototype: DOMPointReadOnly; - new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; - fromPoint(other?: DOMPointInit): DOMPointReadOnly; -}; - -interface DOMQuad { - readonly p1: DOMPoint; - readonly p2: DOMPoint; - readonly p3: DOMPoint; - readonly p4: DOMPoint; - getBounds(): DOMRect; - toJSON(): any; -} - -declare var DOMQuad: { - prototype: DOMQuad; - new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad; - fromQuad(other?: DOMQuadInit): DOMQuad; - fromRect(other?: DOMRectInit): DOMQuad; -}; - -interface DOMRect extends DOMRectReadOnly { - height: number; - width: number; - x: number; - y: number; -} - -declare var DOMRect: { - prototype: DOMRect; - new(x?: number, y?: number, width?: number, height?: number): DOMRect; - fromRect(other?: DOMRectInit): DOMRect; -}; - -type SVGRect = DOMRect; -declare var SVGRect: typeof DOMRect; - -interface DOMRectList { - readonly length: number; - item(index: number): DOMRect | null; - [index: number]: DOMRect; -} - -declare var DOMRectList: { - prototype: DOMRectList; - new(): DOMRectList; -}; - -interface DOMRectReadOnly { - readonly bottom: number; - readonly height: number; - readonly left: number; - readonly right: number; - readonly top: number; - readonly width: number; - readonly x: number; - readonly y: number; - toJSON(): any; -} - -declare var DOMRectReadOnly: { - prototype: DOMRectReadOnly; - new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; - fromRect(other?: DOMRectInit): DOMRectReadOnly; -}; - -interface DOMSettableTokenList extends DOMTokenList { - value: string; -} - -declare var DOMSettableTokenList: { - prototype: DOMSettableTokenList; - new(): DOMSettableTokenList; -}; - -/** A type returned by some APIs which contains a list of DOMString (strings). */ -interface DOMStringList { - /** - * Returns the number of strings in strings. - */ - readonly length: number; - /** - * Returns true if strings contains string, and false otherwise. - */ - contains(string: string): boolean; - /** - * Returns the string with index index from strings. - */ - item(index: number): string | null; - [index: number]: string; -} - -declare var DOMStringList: { - prototype: DOMStringList; - new(): DOMStringList; -}; - -/** Used by the dataset HTML attribute to represent data for custom attributes added to elements. */ -interface DOMStringMap { - [name: string]: string | undefined; -} - -declare var DOMStringMap: { - prototype: DOMStringMap; - new(): DOMStringMap; -}; - -/** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */ -interface DOMTokenList { - /** - * Returns the number of tokens. - */ - readonly length: number; - /** - * Returns the associated set as string. - * - * Can be set, to change the associated attribute. - */ - value: string; - toString(): string; - /** - * Adds all arguments passed, except those already present. - * - * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. - * - * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. - */ - add(...tokens: string[]): void; - /** - * Returns true if token is present, and false otherwise. - */ - contains(token: string): boolean; - /** - * Returns the token with index index. - */ - item(index: number): string | null; - /** - * Removes arguments passed, if they are present. - * - * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. - * - * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. - */ - remove(...tokens: string[]): void; - /** - * Replaces token with newToken. - * - * Returns true if token was replaced with newToken, and false otherwise. - * - * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. - * - * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. - */ - replace(oldToken: string, newToken: string): void; - /** - * Returns true if token is in the associated attribute's supported tokens. Returns false otherwise. - * - * Throws a TypeError if the associated attribute has no supported tokens defined. - */ - supports(token: string): boolean; - /** - * If force is not given, "toggles" token, removing it if it's present and adding it if it's not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()). - * - * Returns true if token is now present, and false otherwise. - * - * Throws a "SyntaxError" DOMException if token is empty. - * - * Throws an "InvalidCharacterError" DOMException if token contains any spaces. - */ - toggle(token: string, force?: boolean): boolean; - forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void; - [index: number]: string; -} - -declare var DOMTokenList: { - prototype: DOMTokenList; - new(): DOMTokenList; -}; - -interface DataCue extends TextTrackCue { - data: ArrayBuffer; - addEventListener(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var DataCue: { - prototype: DataCue; - new(): DataCue; -}; - -/** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */ -interface DataTransfer { - /** - * Returns the kind of operation that is currently selected. If the kind of operation isn't one of those that is allowed by the effectAllowed attribute, then the operation will fail. - * - * Can be set, to change the selected operation. - * - * The possible values are "none", "copy", "link", and "move". - */ - dropEffect: string; - /** - * Returns the kinds of operations that are to be allowed. - * - * Can be set (during the dragstart event), to change the allowed operations. - * - * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized", - */ - effectAllowed: string; - /** - * Returns a FileList of the files being dragged, if any. - */ - readonly files: FileList; - /** - * Returns a DataTransferItemList object, with the drag data. - */ - readonly items: DataTransferItemList; - /** - * Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". - */ - readonly types: ReadonlyArray; - /** - * Removes the data of the specified formats. Removes all data if the argument is omitted. - */ - clearData(format?: string): void; - /** - * Returns the specified data. If there is no such data, returns the empty string. - */ - getData(format: string): string; - /** - * Adds the specified data. - */ - setData(format: string, data: string): void; - /** - * Uses the given element to update the drag feedback, replacing any previously specified feedback. - */ - setDragImage(image: Element, x: number, y: number): void; -} - -declare var DataTransfer: { - prototype: DataTransfer; - new(): DataTransfer; -}; - -/** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */ -interface DataTransferItem { - /** - * Returns the drag data item kind, one of: "string", "file". - */ - readonly kind: string; - /** - * Returns the drag data item type string. - */ - readonly type: string; - /** - * Returns a File object, if the drag data item kind is File. - */ - getAsFile(): File | null; - /** - * Invokes the callback with the string data as the argument, if the drag data item kind is text. - */ - getAsString(callback: FunctionStringCallback | null): void; - webkitGetAsEntry(): any; -} - -declare var DataTransferItem: { - prototype: DataTransferItem; - new(): DataTransferItem; -}; - -/** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */ -interface DataTransferItemList { - /** - * Returns the number of items in the drag data store. - */ - readonly length: number; - /** - * Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. - */ - add(data: string, type: string): DataTransferItem | null; - add(data: File): DataTransferItem | null; - /** - * Removes all the entries in the drag data store. - */ - clear(): void; - item(index: number): DataTransferItem; - /** - * Removes the indexth entry in the drag data store. - */ - remove(index: number): void; - [name: number]: DataTransferItem; -} - -declare var DataTransferItemList: { - prototype: DataTransferItemList; - new(): DataTransferItemList; -}; - -interface DeferredPermissionRequest { - readonly id: number; - readonly type: MSWebViewPermissionType; - readonly uri: string; - allow(): void; - deny(): void; -} - -declare var DeferredPermissionRequest: { - prototype: DeferredPermissionRequest; - new(): DeferredPermissionRequest; -}; - -/** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */ -interface DelayNode extends AudioNode { - readonly delayTime: AudioParam; -} - -declare var DelayNode: { - prototype: DelayNode; - new(context: BaseAudioContext, options?: DelayOptions): DelayNode; -}; - -/** Provides information about the amount of acceleration the device is experiencing along all three axes. */ -interface DeviceAcceleration { - readonly x: number | null; - readonly y: number | null; - readonly z: number | null; -} - -declare var DeviceAcceleration: { - prototype: DeviceAcceleration; - new(): DeviceAcceleration; -}; - -/** The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen's brightness based on the current ambient light level in order to save energy or provide better readability. */ -interface DeviceLightEvent extends Event { - readonly value: number; -} - -declare var DeviceLightEvent: { - prototype: DeviceLightEvent; - new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent; -}; - -/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. */ -interface DeviceMotionEvent extends Event { - readonly acceleration: DeviceMotionEventAcceleration | null; - readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null; - readonly interval: number; - readonly rotationRate: DeviceMotionEventRotationRate | null; -} - -declare var DeviceMotionEvent: { - prototype: DeviceMotionEvent; - new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; - requestPermission(): Promise; -}; - -interface DeviceMotionEventAcceleration { - readonly x: number | null; - readonly y: number | null; - readonly z: number | null; -} - -interface DeviceMotionEventRotationRate { - readonly alpha: number | null; - readonly beta: number | null; - readonly gamma: number | null; -} - -/** The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. */ -interface DeviceOrientationEvent extends Event { - readonly absolute: boolean; - readonly alpha: number | null; - readonly beta: number | null; - readonly gamma: number | null; -} - -declare var DeviceOrientationEvent: { - prototype: DeviceOrientationEvent; - new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; - requestPermission(): Promise; -}; - -/** Provides information about the rate at which the device is rotating around all three axes. */ -interface DeviceRotationRate { - readonly alpha: number | null; - readonly beta: number | null; - readonly gamma: number | null; -} - -declare var DeviceRotationRate: { - prototype: DeviceRotationRate; - new(): DeviceRotationRate; -}; - -interface DhImportKeyParams extends Algorithm { - generator: Uint8Array; - prime: Uint8Array; -} - -interface DhKeyAlgorithm extends KeyAlgorithm { - generator: Uint8Array; - prime: Uint8Array; -} - -interface DhKeyDeriveParams extends Algorithm { - public: CryptoKey; -} - -interface DhKeyGenParams extends Algorithm { - generator: Uint8Array; - prime: Uint8Array; -} - -interface DocumentEventMap extends GlobalEventHandlersEventMap, DocumentAndElementEventHandlersEventMap { - "fullscreenchange": Event; - "fullscreenerror": Event; - "pointerlockchange": Event; - "pointerlockerror": Event; - "readystatechange": Event; - "visibilitychange": Event; -} - -/** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */ -interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { - /** - * Sets or gets the URL for the current document. - */ - readonly URL: string; - /** - * Sets or gets the color of all active links in the document. - */ - /** @deprecated */ - alinkColor: string; - /** - * Returns a reference to the collection of elements contained by the object. - */ - /** @deprecated */ - readonly all: HTMLAllCollection; - /** - * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order. - */ - /** @deprecated */ - readonly anchors: HTMLCollectionOf; - /** - * Retrieves a collection of all applet objects in the document. - */ - /** @deprecated */ - readonly applets: HTMLCollectionOf; - /** - * Deprecated. Sets or retrieves a value that indicates the background color behind the object. - */ - /** @deprecated */ - bgColor: string; - /** - * Specifies the beginning and end of the document body. - */ - body: HTMLElement; - /** - * Returns document's encoding. - */ - readonly characterSet: string; - /** - * Gets or sets the character set used to encode the object. - */ - readonly charset: string; - /** - * Gets a value that indicates whether standards-compliant mode is switched on for the object. - */ - readonly compatMode: string; - /** - * Returns document's content type. - */ - readonly contentType: string; - /** - * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned. - * - * Can be set, to add a new cookie to the element's set of HTTP cookies. - * - * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting. - */ - cookie: string; - /** - * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing. - * - * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script. - */ - readonly currentScript: HTMLOrSVGScriptElement | null; - readonly defaultView: (WindowProxy & typeof globalThis) | null; - /** - * Sets or gets a value that indicates whether the document can be edited. - */ - designMode: string; - /** - * Sets or retrieves a value that indicates the reading order of the object. - */ - dir: string; - /** - * Gets an object representing the document type declaration associated with the current document. - */ - readonly doctype: DocumentType | null; - /** - * Gets a reference to the root node of the document. - */ - readonly documentElement: HTMLElement; - /** - * Returns document's URL. - */ - readonly documentURI: string; - /** - * Sets or gets the security domain of the document. - */ - domain: string; - /** - * Retrieves a collection of all embed objects in the document. - */ - readonly embeds: HTMLCollectionOf; - /** - * Sets or gets the foreground (text) color of the document. - */ - /** @deprecated */ - fgColor: string; - /** - * Retrieves a collection, in source order, of all form objects in the document. - */ - readonly forms: HTMLCollectionOf; - /** @deprecated */ - readonly fullscreen: boolean; - /** - * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. - */ - readonly fullscreenEnabled: boolean; - /** - * Returns the head element. - */ - readonly head: HTMLHeadElement; - readonly hidden: boolean; - /** - * Retrieves a collection, in source order, of img objects in the document. - */ - readonly images: HTMLCollectionOf; - /** - * Gets the implementation object of the current document. - */ - readonly implementation: DOMImplementation; - /** - * Returns the character encoding used to create the webpage that is loaded into the document object. - */ - readonly inputEncoding: string; - /** - * Gets the date that the page was last modified, if the page supplies one. - */ - readonly lastModified: string; - /** - * Sets or gets the color of the document links. - */ - /** @deprecated */ - linkColor: string; - /** - * Retrieves a collection of all a objects that specify the href property and all area objects in the document. - */ - readonly links: HTMLCollectionOf; - /** - * Contains information about the current URL. - */ - location: Location; - onfullscreenchange: ((this: Document, ev: Event) => any) | null; - onfullscreenerror: ((this: Document, ev: Event) => any) | null; - onpointerlockchange: ((this: Document, ev: Event) => any) | null; - onpointerlockerror: ((this: Document, ev: Event) => any) | null; - /** - * Fires when the state of the object has changed. - * @param ev The event - */ - onreadystatechange: ((this: Document, ev: Event) => any) | null; - onvisibilitychange: ((this: Document, ev: Event) => any) | null; - /** - * Returns document's origin. - */ - readonly origin: string; - readonly ownerDocument: null; - /** - * Return an HTMLCollection of the embed elements in the Document. - */ - readonly plugins: HTMLCollectionOf; - /** - * Retrieves a value that indicates the current state of the object. - */ - readonly readyState: DocumentReadyState; - /** - * Gets the URL of the location that referred the user to the current page. - */ - readonly referrer: string; - /** - * Retrieves a collection of all script objects in the document. - */ - readonly scripts: HTMLCollectionOf; - readonly scrollingElement: Element | null; - readonly timeline: DocumentTimeline; - /** - * Contains the title of the document. - */ - title: string; - readonly visibilityState: VisibilityState; - /** - * Sets or gets the color of the links that the user has visited. - */ - /** @deprecated */ - vlinkColor: string; - /** - * Moves node from another document and returns it. - * - * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException. - */ - adoptNode(source: T): T; - /** @deprecated */ - captureEvents(): void; - caretPositionFromPoint(x: number, y: number): CaretPosition | null; - /** @deprecated */ - caretRangeFromPoint(x: number, y: number): Range; - /** @deprecated */ - clear(): void; - /** - * Closes an output stream and forces the sent data to display. - */ - close(): void; - /** - * Creates an attribute object with a specified name. - * @param name String that sets the attribute object's name. - */ - createAttribute(localName: string): Attr; - createAttributeNS(namespace: string | null, qualifiedName: string): Attr; - /** - * Returns a CDATASection node whose data is data. - */ - createCDATASection(data: string): CDATASection; - /** - * Creates a comment object with the specified data. - * @param data Sets the comment object's data. - */ - createComment(data: string): Comment; - /** - * Creates a new document. - */ - createDocumentFragment(): DocumentFragment; - /** - * Creates an instance of the element for the specified tag. - * @param tagName The name of an element. - */ - createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; - /** @deprecated */ - createElement(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K]; - createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; - /** - * Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName. - * - * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown. - * - * If one of the following conditions is true a "NamespaceError" DOMException will be thrown: - * - * localName does not match the QName production. - * Namespace prefix is not null and namespace is the empty string. - * Namespace prefix is "xml" and namespace is not the XML namespace. - * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace. - * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns". - * - * When supplied, options's is can be used to create a customized built-in element. - */ - createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K]; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement; - createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element; - createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element; - createEvent(eventInterface: "AnimationEvent"): AnimationEvent; - createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; - createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; - createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; - createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; - createEvent(eventInterface: "CloseEvent"): CloseEvent; - createEvent(eventInterface: "CompositionEvent"): CompositionEvent; - createEvent(eventInterface: "CustomEvent"): CustomEvent; - createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent; - createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; - createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; - createEvent(eventInterface: "DragEvent"): DragEvent; - createEvent(eventInterface: "ErrorEvent"): ErrorEvent; - createEvent(eventInterface: "Event"): Event; - createEvent(eventInterface: "Events"): Event; - createEvent(eventInterface: "FocusEvent"): FocusEvent; - createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent; - createEvent(eventInterface: "GamepadEvent"): GamepadEvent; - createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; - createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; - createEvent(eventInterface: "InputEvent"): InputEvent; - createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; - createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent; - createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent; - createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent; - createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent; - createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent; - createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; - createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; - createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; - createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent; - createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent; - createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; - createEvent(eventInterface: "MessageEvent"): MessageEvent; - createEvent(eventInterface: "MouseEvent"): MouseEvent; - createEvent(eventInterface: "MouseEvents"): MouseEvent; - createEvent(eventInterface: "MutationEvent"): MutationEvent; - createEvent(eventInterface: "MutationEvents"): MutationEvent; - createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; - createEvent(eventInterface: "OverflowEvent"): OverflowEvent; - createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; - createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; - createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent; - createEvent(eventInterface: "PointerEvent"): PointerEvent; - createEvent(eventInterface: "PopStateEvent"): PopStateEvent; - createEvent(eventInterface: "ProgressEvent"): ProgressEvent; - createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; - createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; - createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; - createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent; - createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent; - createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent; - createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent; - createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent; - createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; - createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; - createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent; - createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent; - createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; - createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent; - createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent; - createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; - createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent; - createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent; - createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; - createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; - createEvent(eventInterface: "StorageEvent"): StorageEvent; - createEvent(eventInterface: "TextEvent"): TextEvent; - createEvent(eventInterface: "TouchEvent"): TouchEvent; - createEvent(eventInterface: "TrackEvent"): TrackEvent; - createEvent(eventInterface: "TransitionEvent"): TransitionEvent; - createEvent(eventInterface: "UIEvent"): UIEvent; - createEvent(eventInterface: "UIEvents"): UIEvent; - createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent; - createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ; - createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; - createEvent(eventInterface: "WheelEvent"): WheelEvent; - createEvent(eventInterface: string): Event; - /** - * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. - * @param root The root element or node to start traversing on. - * @param whatToShow The type of nodes or elements to appear in the node list - * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. - * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded. - */ - createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator; - /** - * Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. - */ - createProcessingInstruction(target: string, data: string): ProcessingInstruction; - /** - * Returns an empty range object that has both of its boundary points positioned at the beginning of the document. - */ - createRange(): Range; - /** - * Creates a text string from the specified value. - * @param data String that specifies the nodeValue property of the text node. - */ - createTextNode(data: string): Text; - /** - * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. - * @param root The root element or node to start traversing on. - * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow. - * @param filter A custom NodeFilter function to use. - * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded. - */ - createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; - /** @deprecated */ - createTreeWalker(root: Node, whatToShow: number, filter: NodeFilter | null, entityReferenceExpansion?: boolean): TreeWalker; - /** - * Returns the element for the specified x coordinate and the specified y coordinate. - * @param x The x-offset - * @param y The y-offset - */ - elementFromPoint(x: number, y: number): Element | null; - elementsFromPoint(x: number, y: number): Element[]; - /** - * Executes a command on the current document, current selection, or the given range. - * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. - * @param showUI Display the user interface, defaults to false. - * @param value Value to assign. - */ - execCommand(commandId: string, showUI?: boolean, value?: string): boolean; - /** - * Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. - */ - exitFullscreen(): Promise; - exitPointerLock(): void; - getAnimations(): Animation[]; - /** - * Returns a reference to the first object with the specified value of the ID or NAME attribute. - * @param elementId String that specifies the ID value. Case-insensitive. - */ - getElementById(elementId: string): HTMLElement | null; - /** - * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. - */ - getElementsByClassName(classNames: string): HTMLCollectionOf; - /** - * Gets a collection of objects based on the value of the NAME or ID attribute. - * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute. - */ - getElementsByName(elementName: string): NodeListOf; - /** - * Retrieves a collection of objects based on the specified element name. - * @param name Specifies the name of an element. - */ - getElementsByTagName(qualifiedName: K): HTMLCollectionOf; - getElementsByTagName(qualifiedName: K): HTMLCollectionOf; - getElementsByTagName(qualifiedName: string): HTMLCollectionOf; - /** - * If namespace and localName are "*" returns a HTMLCollection of all descendant elements. - * - * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName. - * - * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace. - * - * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName. - */ - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf; - /** - * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. - */ - getSelection(): Selection | null; - /** - * Gets a value indicating whether the object currently has focus. - */ - hasFocus(): boolean; - /** - * Returns a copy of node. If deep is true, the copy also includes the node's descendants. - * - * If node is a document or a shadow root, throws a "NotSupportedError" DOMException. - */ - importNode(importedNode: T, deep: boolean): T; - /** - * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method. - * @param url Specifies a MIME type for the document. - * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element. - * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported. - * @param replace Specifies whether the existing entry for the document is replaced in the history list. - */ - open(url?: string, name?: string, features?: string, replace?: boolean): Document; - /** - * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document. - * @param commandId Specifies a command identifier. - */ - queryCommandEnabled(commandId: string): boolean; - /** - * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. - * @param commandId String that specifies a command identifier. - */ - queryCommandIndeterm(commandId: string): boolean; - /** - * Returns a Boolean value that indicates the current state of the command. - * @param commandId String that specifies a command identifier. - */ - queryCommandState(commandId: string): boolean; - /** - * Returns a Boolean value that indicates whether the current command is supported on the current range. - * @param commandId Specifies a command identifier. - */ - queryCommandSupported(commandId: string): boolean; - /** - * Returns the current value of the document, range, or current selection for the given command. - * @param commandId String that specifies a command identifier. - */ - queryCommandValue(commandId: string): string; - /** @deprecated */ - releaseEvents(): void; - /** - * Writes one or more HTML expressions to a document in the specified window. - * @param content Specifies the text and HTML tags to write. - */ - write(...text: string[]): void; - /** - * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. - * @param content The text and HTML tags to write. - */ - writeln(...text: string[]): void; - addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Document: { - prototype: Document; - new(): Document; -}; - -interface DocumentAndElementEventHandlersEventMap { - "copy": ClipboardEvent; - "cut": ClipboardEvent; - "paste": ClipboardEvent; -} - -interface DocumentAndElementEventHandlers { - oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; - oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; - onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; - addEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface DocumentEvent { - createEvent(eventInterface: "AnimationEvent"): AnimationEvent; - createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; - createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; - createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; - createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; - createEvent(eventInterface: "CloseEvent"): CloseEvent; - createEvent(eventInterface: "CompositionEvent"): CompositionEvent; - createEvent(eventInterface: "CustomEvent"): CustomEvent; - createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent; - createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; - createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; - createEvent(eventInterface: "DragEvent"): DragEvent; - createEvent(eventInterface: "ErrorEvent"): ErrorEvent; - createEvent(eventInterface: "Event"): Event; - createEvent(eventInterface: "Events"): Event; - createEvent(eventInterface: "FocusEvent"): FocusEvent; - createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent; - createEvent(eventInterface: "GamepadEvent"): GamepadEvent; - createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; - createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; - createEvent(eventInterface: "InputEvent"): InputEvent; - createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; - createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent; - createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent; - createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent; - createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent; - createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent; - createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; - createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; - createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; - createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent; - createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent; - createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; - createEvent(eventInterface: "MessageEvent"): MessageEvent; - createEvent(eventInterface: "MouseEvent"): MouseEvent; - createEvent(eventInterface: "MouseEvents"): MouseEvent; - createEvent(eventInterface: "MutationEvent"): MutationEvent; - createEvent(eventInterface: "MutationEvents"): MutationEvent; - createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; - createEvent(eventInterface: "OverflowEvent"): OverflowEvent; - createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; - createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; - createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent; - createEvent(eventInterface: "PointerEvent"): PointerEvent; - createEvent(eventInterface: "PopStateEvent"): PopStateEvent; - createEvent(eventInterface: "ProgressEvent"): ProgressEvent; - createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; - createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; - createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; - createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent; - createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent; - createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent; - createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent; - createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent; - createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; - createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; - createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent; - createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent; - createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; - createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent; - createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent; - createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; - createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent; - createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent; - createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; - createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; - createEvent(eventInterface: "StorageEvent"): StorageEvent; - createEvent(eventInterface: "TextEvent"): TextEvent; - createEvent(eventInterface: "TouchEvent"): TouchEvent; - createEvent(eventInterface: "TrackEvent"): TrackEvent; - createEvent(eventInterface: "TransitionEvent"): TransitionEvent; - createEvent(eventInterface: "UIEvent"): UIEvent; - createEvent(eventInterface: "UIEvents"): UIEvent; - createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent; - createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ; - createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; - createEvent(eventInterface: "WheelEvent"): WheelEvent; - createEvent(eventInterface: string): Event; -} - -/** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */ -interface DocumentFragment extends Node, NonElementParentNode, ParentNode { - readonly ownerDocument: Document; - getElementById(elementId: string): HTMLElement | null; -} - -declare var DocumentFragment: { - prototype: DocumentFragment; - new(): DocumentFragment; -}; - -interface DocumentOrShadowRoot { - readonly activeElement: Element | null; - /** - * Returns document's fullscreen element. - */ - readonly fullscreenElement: Element | null; - readonly pointerLockElement: Element | null; - /** - * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. - */ - readonly styleSheets: StyleSheetList; - caretPositionFromPoint(x: number, y: number): CaretPosition | null; - /** @deprecated */ - caretRangeFromPoint(x: number, y: number): Range; - elementFromPoint(x: number, y: number): Element | null; - elementsFromPoint(x: number, y: number): Element[]; - getSelection(): Selection | null; -} - -interface DocumentTimeline extends AnimationTimeline { -} - -declare var DocumentTimeline: { - prototype: DocumentTimeline; - new(options?: DocumentTimelineOptions): DocumentTimeline; -}; - -/** A Node containing a doctype. */ -interface DocumentType extends Node, ChildNode { - readonly name: string; - readonly ownerDocument: Document; - readonly publicId: string; - readonly systemId: string; -} - -declare var DocumentType: { - prototype: DocumentType; - new(): DocumentType; -}; - -/** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */ -interface DragEvent extends MouseEvent { - /** - * Returns the DataTransfer object for the event. - */ - readonly dataTransfer: DataTransfer | null; -} - -declare var DragEvent: { - prototype: DragEvent; - new(type: string, eventInitDict?: DragEventInit): DragEvent; -}; - -/** Inherits properties from its parent, AudioNode. */ -interface DynamicsCompressorNode extends AudioNode { - readonly attack: AudioParam; - readonly knee: AudioParam; - readonly ratio: AudioParam; - readonly reduction: number; - readonly release: AudioParam; - readonly threshold: AudioParam; -} - -declare var DynamicsCompressorNode: { - prototype: DynamicsCompressorNode; - new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode; -}; - -interface EXT_blend_minmax { - readonly MAX_EXT: GLenum; - readonly MIN_EXT: GLenum; -} - -/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */ -interface EXT_frag_depth { -} - -interface EXT_sRGB { - readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum; - readonly SRGB8_ALPHA8_EXT: GLenum; - readonly SRGB_ALPHA_EXT: GLenum; - readonly SRGB_EXT: GLenum; -} - -interface EXT_shader_texture_lod { -} - -/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */ -interface EXT_texture_filter_anisotropic { - readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum; - readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum; -} - -interface ElementEventMap { - "fullscreenchange": Event; - "fullscreenerror": Event; -} - -/** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */ -interface Element extends Node, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slotable { - readonly assignedSlot: HTMLSlotElement | null; - readonly attributes: NamedNodeMap; - /** - * Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. - */ - readonly classList: DOMTokenList; - /** - * Returns the value of element's class content attribute. Can be set to change it. - */ - className: string; - readonly clientHeight: number; - readonly clientLeft: number; - readonly clientTop: number; - readonly clientWidth: number; - /** - * Returns the value of element's id content attribute. Can be set to change it. - */ - id: string; - /** - * Returns the local name. - */ - readonly localName: string; - /** - * Returns the namespace. - */ - readonly namespaceURI: string | null; - onfullscreenchange: ((this: Element, ev: Event) => any) | null; - onfullscreenerror: ((this: Element, ev: Event) => any) | null; - outerHTML: string; - readonly ownerDocument: Document; - /** - * Returns the namespace prefix. - */ - readonly prefix: string | null; - readonly scrollHeight: number; - scrollLeft: number; - scrollTop: number; - readonly scrollWidth: number; - /** - * Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. - */ - readonly shadowRoot: ShadowRoot | null; - /** - * Returns the value of element's slot content attribute. Can be set to change it. - */ - slot: string; - /** - * Returns the HTML-uppercased qualified name. - */ - readonly tagName: string; - /** - * Creates a shadow root for element and returns it. - */ - attachShadow(init: ShadowRootInit): ShadowRoot; - /** - * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. - */ - closest(selector: K): HTMLElementTagNameMap[K] | null; - closest(selector: K): SVGElementTagNameMap[K] | null; - closest(selector: string): E | null; - /** - * Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. - */ - getAttribute(qualifiedName: string): string | null; - /** - * Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. - */ - getAttributeNS(namespace: string | null, localName: string): string | null; - /** - * Returns the qualified names of all element's attributes. Can contain duplicates. - */ - getAttributeNames(): string[]; - getAttributeNode(name: string): Attr | null; - getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null; - getBoundingClientRect(): DOMRect; - getClientRects(): DOMRectList; - /** - * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. - */ - getElementsByClassName(classNames: string): HTMLCollectionOf; - getElementsByTagName(qualifiedName: K): HTMLCollectionOf; - getElementsByTagName(qualifiedName: K): HTMLCollectionOf; - getElementsByTagName(qualifiedName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf; - /** - * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. - */ - hasAttribute(qualifiedName: string): boolean; - /** - * Returns true if element has an attribute whose namespace is namespace and local name is localName. - */ - hasAttributeNS(namespace: string | null, localName: string): boolean; - /** - * Returns true if element has attributes, and false otherwise. - */ - hasAttributes(): boolean; - hasPointerCapture(pointerId: number): boolean; - insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null; - insertAdjacentHTML(where: InsertPosition, html: string): void; - insertAdjacentText(where: InsertPosition, text: string): void; - /** - * Returns true if matching selectors against element's root yields element, and false otherwise. - */ - matches(selectors: string): boolean; - msGetRegionContent(): any; - releasePointerCapture(pointerId: number): void; - /** - * Removes element's first attribute whose qualified name is qualifiedName. - */ - removeAttribute(qualifiedName: string): void; - /** - * Removes element's attribute whose namespace is namespace and local name is localName. - */ - removeAttributeNS(namespace: string | null, localName: string): void; - removeAttributeNode(attr: Attr): Attr; - /** - * Displays element fullscreen and resolves promise when done. - * - * When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. - */ - requestFullscreen(options?: FullscreenOptions): Promise; - requestPointerLock(): void; - scroll(options?: ScrollToOptions): void; - scroll(x: number, y: number): void; - scrollBy(options?: ScrollToOptions): void; - scrollBy(x: number, y: number): void; - scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; - scrollTo(options?: ScrollToOptions): void; - scrollTo(x: number, y: number): void; - /** - * Sets the value of element's first attribute whose qualified name is qualifiedName to value. - */ - setAttribute(qualifiedName: string, value: string): void; - /** - * Sets the value of element's attribute whose namespace is namespace and local name is localName to value. - */ - setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; - setAttributeNode(attr: Attr): Attr | null; - setAttributeNodeNS(attr: Attr): Attr | null; - setPointerCapture(pointerId: number): void; - /** - * If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. - * - * Returns true if qualifiedName is now present, and false otherwise. - */ - toggleAttribute(qualifiedName: string, force?: boolean): boolean; - webkitMatchesSelector(selectors: string): boolean; - addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Element: { - prototype: Element; - new(): Element; -}; - -interface ElementCSSInlineStyle { - readonly style: CSSStyleDeclaration; -} - -interface ElementContentEditable { - contentEditable: string; - inputMode: string; - readonly isContentEditable: boolean; -} - -/** Events providing information related to errors in scripts or in files. */ -interface ErrorEvent extends Event { - readonly colno: number; - readonly error: any; - readonly filename: string; - readonly lineno: number; - readonly message: string; -} - -declare var ErrorEvent: { - prototype: ErrorEvent; - new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent; -}; - -/** An event which takes place in the DOM. */ -interface Event { - /** - * Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. - */ - readonly bubbles: boolean; - cancelBubble: boolean; - /** - * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. - */ - readonly cancelable: boolean; - /** - * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. - */ - readonly composed: boolean; - /** - * Returns the object whose event listener's callback is currently being invoked. - */ - readonly currentTarget: EventTarget | null; - /** - * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. - */ - readonly defaultPrevented: boolean; - /** - * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. - */ - readonly eventPhase: number; - /** - * Returns true if event was dispatched by the user agent, and false otherwise. - */ - readonly isTrusted: boolean; - returnValue: boolean; - /** @deprecated */ - readonly srcElement: EventTarget | null; - /** - * Returns the object to which event is dispatched (its target). - */ - readonly target: EventTarget | null; - /** - * Returns the event's timestamp as the number of milliseconds measured relative to the time origin. - */ - readonly timeStamp: number; - /** - * Returns the type of event, e.g. "click", "hashchange", or "submit". - */ - readonly type: string; - /** - * Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. - */ - composedPath(): EventTarget[]; - initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; - /** - * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. - */ - preventDefault(): void; - /** - * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. - */ - stopImmediatePropagation(): void; - /** - * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. - */ - stopPropagation(): void; - readonly AT_TARGET: number; - readonly BUBBLING_PHASE: number; - readonly CAPTURING_PHASE: number; - readonly NONE: number; -} - -declare var Event: { - prototype: Event; - new(type: string, eventInitDict?: EventInit): Event; - readonly AT_TARGET: number; - readonly BUBBLING_PHASE: number; - readonly CAPTURING_PHASE: number; - readonly NONE: number; -}; - -interface EventListenerObject { - handleEvent(evt: Event): void; -} - -interface EventSourceEventMap { - "error": Event; - "message": MessageEvent; - "open": Event; -} - -interface EventSource extends EventTarget { - onerror: ((this: EventSource, ev: Event) => any) | null; - onmessage: ((this: EventSource, ev: MessageEvent) => any) | null; - onopen: ((this: EventSource, ev: Event) => any) | null; - /** - * Returns the state of this EventSource object's connection. It can have the values described below. - */ - readonly readyState: number; - /** - * Returns the URL providing the event stream. - */ - readonly url: string; - /** - * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. - */ - readonly withCredentials: boolean; - /** - * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. - */ - close(): void; - readonly CLOSED: number; - readonly CONNECTING: number; - readonly OPEN: number; - addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var EventSource: { - prototype: EventSource; - new(url: string, eventSourceInitDict?: EventSourceInit): EventSource; - readonly CLOSED: number; - readonly CONNECTING: number; - readonly OPEN: number; -}; - -/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */ -interface EventTarget { - /** - * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - * - * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - * - * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - * - * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - * - * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - * - * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - */ - addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void; - /** - * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. - */ - dispatchEvent(event: Event): boolean; - /** - * Removes the event listener in target's event listener list with the same type, callback, and options. - */ - removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; -} - -declare var EventTarget: { - prototype: EventTarget; - new(): EventTarget; -}; - -interface ExtensionScriptApis { - extensionIdToShortId(extensionId: string): number; - fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void; - genericFunction(routerAddress: any, parameters?: string, callbackId?: number): void; - genericSynchronousFunction(functionId: number, parameters?: string): string; - genericWebRuntimeCallout(to: any, from: any, payload: string): void; - getExtensionId(): string; - registerGenericFunctionCallbackHandler(callbackHandler: Function): void; - registerGenericPersistentCallbackHandler(callbackHandler: Function): void; - registerWebRuntimeCallbackHandler(handler: Function): any; -} - -declare var ExtensionScriptApis: { - prototype: ExtensionScriptApis; - new(): ExtensionScriptApis; -}; - -interface External { - /** @deprecated */ - AddSearchProvider(): void; - /** @deprecated */ - IsSearchProviderInstalled(): void; -} - -declare var External: { - prototype: External; - new(): External; -}; - -/** Provides information about files and allows JavaScript in a web page to access their content. */ -interface File extends Blob { - readonly lastModified: number; - readonly name: string; -} - -declare var File: { - prototype: File; - new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; -}; - -/** An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */ -interface FileList { - readonly length: number; - item(index: number): File | null; - [index: number]: File; -} - -declare var FileList: { - prototype: FileList; - new(): FileList; -}; - -interface FileReaderEventMap { - "abort": ProgressEvent; - "error": ProgressEvent; - "load": ProgressEvent; - "loadend": ProgressEvent; - "loadstart": ProgressEvent; - "progress": ProgressEvent; -} - -/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */ -interface FileReader extends EventTarget { - readonly error: DOMException | null; - onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; - onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; - onload: ((this: FileReader, ev: ProgressEvent) => any) | null; - onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; - onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null; - onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; - readonly readyState: number; - readonly result: string | ArrayBuffer | null; - abort(): void; - readAsArrayBuffer(blob: Blob): void; - readAsBinaryString(blob: Blob): void; - readAsDataURL(blob: Blob): void; - readAsText(blob: Blob, encoding?: string): void; - readonly DONE: number; - readonly EMPTY: number; - readonly LOADING: number; - addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var FileReader: { - prototype: FileReader; - new(): FileReader; - readonly DONE: number; - readonly EMPTY: number; - readonly LOADING: number; -}; - -/** Focus-related events like focus, blur, focusin, or focusout. */ -interface FocusEvent extends UIEvent { - readonly relatedTarget: EventTarget | null; -} - -declare var FocusEvent: { - prototype: FocusEvent; - new(type: string, eventInitDict?: FocusEventInit): FocusEvent; -}; - -interface FocusNavigationEvent extends Event { - readonly navigationReason: NavigationReason; - readonly originHeight: number; - readonly originLeft: number; - readonly originTop: number; - readonly originWidth: number; - requestFocus(): void; -} - -declare var FocusNavigationEvent: { - prototype: FocusNavigationEvent; - new(type: string, eventInitDict?: FocusNavigationEventInit): FocusNavigationEvent; -}; - -/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */ -interface FormData { - append(name: string, value: string | Blob, fileName?: string): void; - delete(name: string): void; - get(name: string): FormDataEntryValue | null; - getAll(name: string): FormDataEntryValue[]; - has(name: string): boolean; - set(name: string, value: string | Blob, fileName?: string): void; - forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void; -} - -declare var FormData: { - prototype: FormData; - new(form?: HTMLFormElement): FormData; -}; - -/** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */ -interface GainNode extends AudioNode { - readonly gain: AudioParam; -} - -declare var GainNode: { - prototype: GainNode; - new(context: BaseAudioContext, options?: GainOptions): GainNode; -}; - -/** This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. */ -interface Gamepad { - readonly axes: ReadonlyArray; - readonly buttons: ReadonlyArray; - readonly connected: boolean; - readonly hand: GamepadHand; - readonly hapticActuators: ReadonlyArray; - readonly id: string; - readonly index: number; - readonly mapping: GamepadMappingType; - readonly pose: GamepadPose | null; - readonly timestamp: number; -} - -declare var Gamepad: { - prototype: Gamepad; - new(): Gamepad; -}; - -/** An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. */ -interface GamepadButton { - readonly pressed: boolean; - readonly touched: boolean; - readonly value: number; -} - -declare var GamepadButton: { - prototype: GamepadButton; - new(): GamepadButton; -}; - -/** This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. */ -interface GamepadEvent extends Event { - readonly gamepad: Gamepad; -} - -declare var GamepadEvent: { - prototype: GamepadEvent; - new(type: string, eventInitDict: GamepadEventInit): GamepadEvent; -}; - -/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */ -interface GamepadHapticActuator { - readonly type: GamepadHapticActuatorType; - pulse(value: number, duration: number): Promise; -} - -declare var GamepadHapticActuator: { - prototype: GamepadHapticActuator; - new(): GamepadHapticActuator; -}; - -/** This Gamepad API interface represents the pose of a WebVR controller at a given timestamp (which includes orientation, position, velocity, and acceleration information.) */ -interface GamepadPose { - readonly angularAcceleration: Float32Array | null; - readonly angularVelocity: Float32Array | null; - readonly hasOrientation: boolean; - readonly hasPosition: boolean; - readonly linearAcceleration: Float32Array | null; - readonly linearVelocity: Float32Array | null; - readonly orientation: Float32Array | null; - readonly position: Float32Array | null; -} - -declare var GamepadPose: { - prototype: GamepadPose; - new(): GamepadPose; -}; - -interface GenericTransformStream { - /** - * Returns a readable stream whose chunks are strings resulting from running encoding's decoder on the chunks written to writable. - */ - readonly readable: ReadableStream; - /** - * Returns a writable stream which accepts [AllowShared] BufferSource chunks and runs them through encoding's decoder before making them available to readable. - * - * Typically this will be used via the pipeThrough() method on a ReadableStream source. - * - * ``` - * var decoder = new TextDecoderStream(encoding); - * byteReadable - * .pipeThrough(decoder) - * .pipeTo(textWritable); - * ``` - * - * If the error mode is "fatal" and encoding's decoder returns error, both readable and writable will be errored with a TypeError. - */ - readonly writable: WritableStream; -} - -/** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. */ -interface Geolocation { - clearWatch(watchId: number): void; - getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void; - watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number; -} - -interface GlobalEventHandlersEventMap { - "abort": UIEvent; - "animationcancel": AnimationEvent; - "animationend": AnimationEvent; - "animationiteration": AnimationEvent; - "animationstart": AnimationEvent; - "auxclick": MouseEvent; - "blur": FocusEvent; - "cancel": Event; - "canplay": Event; - "canplaythrough": Event; - "change": Event; - "click": MouseEvent; - "close": Event; - "contextmenu": MouseEvent; - "cuechange": Event; - "dblclick": MouseEvent; - "drag": DragEvent; - "dragend": DragEvent; - "dragenter": DragEvent; - "dragexit": Event; - "dragleave": DragEvent; - "dragover": DragEvent; - "dragstart": DragEvent; - "drop": DragEvent; - "durationchange": Event; - "emptied": Event; - "ended": Event; - "error": ErrorEvent; - "focus": FocusEvent; - "focusin": FocusEvent; - "focusout": FocusEvent; - "gotpointercapture": PointerEvent; - "input": Event; - "invalid": Event; - "keydown": KeyboardEvent; - "keypress": KeyboardEvent; - "keyup": KeyboardEvent; - "load": Event; - "loadeddata": Event; - "loadedmetadata": Event; - "loadstart": Event; - "lostpointercapture": PointerEvent; - "mousedown": MouseEvent; - "mouseenter": MouseEvent; - "mouseleave": MouseEvent; - "mousemove": MouseEvent; - "mouseout": MouseEvent; - "mouseover": MouseEvent; - "mouseup": MouseEvent; - "pause": Event; - "play": Event; - "playing": Event; - "pointercancel": PointerEvent; - "pointerdown": PointerEvent; - "pointerenter": PointerEvent; - "pointerleave": PointerEvent; - "pointermove": PointerEvent; - "pointerout": PointerEvent; - "pointerover": PointerEvent; - "pointerup": PointerEvent; - "progress": ProgressEvent; - "ratechange": Event; - "reset": Event; - "resize": UIEvent; - "scroll": Event; - "securitypolicyviolation": SecurityPolicyViolationEvent; - "seeked": Event; - "seeking": Event; - "select": Event; - "selectionchange": Event; - "selectstart": Event; - "stalled": Event; - "submit": Event; - "suspend": Event; - "timeupdate": Event; - "toggle": Event; - "touchcancel": TouchEvent; - "touchend": TouchEvent; - "touchmove": TouchEvent; - "touchstart": TouchEvent; - "transitioncancel": TransitionEvent; - "transitionend": TransitionEvent; - "transitionrun": TransitionEvent; - "transitionstart": TransitionEvent; - "volumechange": Event; - "waiting": Event; - "wheel": WheelEvent; -} - -interface GlobalEventHandlers { - /** - * Fires when the user aborts the download. - * @param ev The event. - */ - onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; - onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; - onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; - onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; - onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; - onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the object loses the input focus. - * @param ev The focus event. - */ - onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; - oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when playback is possible, but would require further buffering. - * @param ev The event. - */ - oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; - oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the contents of the object or selection have changed. - * @param ev The event. - */ - onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user clicks the left mouse button on the object - * @param ev The mouse event. - */ - onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user clicks the right mouse button in the client area, opening the context menu. - * @param ev The mouse event. - */ - oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user double-clicks the object. - * @param ev The mouse event. - */ - ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires on the source object continuously during a drag operation. - * @param ev The event. - */ - ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Fires on the source object when the user releases the mouse at the close of a drag operation. - * @param ev The event. - */ - ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Fires on the target element when the user drags the object to a valid drop target. - * @param ev The drag event. - */ - ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - ondragexit: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. - * @param ev The drag event. - */ - ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Fires on the target element continuously while the user drags the object over a valid drop target. - * @param ev The event. - */ - ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Fires on the source object when the user starts to drag a text selection or selected object. - * @param ev The event. - */ - ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Occurs when the duration attribute is updated. - * @param ev The event. - */ - ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the media element is reset to its initial state. - * @param ev The event. - */ - onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the end of playback is reached. - * @param ev The event - */ - onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when an error occurs during object loading. - * @param ev The event. - */ - onerror: OnErrorEventHandler; - /** - * Fires when the object receives focus. - * @param ev The event. - */ - onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; - ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; - oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user presses a key. - * @param ev The keyboard event - */ - onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; - /** - * Fires when the user presses an alphanumeric key. - * @param ev The event. - */ - onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; - /** - * Fires when the user releases a key. - * @param ev The keyboard event - */ - onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; - /** - * Fires immediately after the browser loads the object. - * @param ev The event. - */ - onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when media data is loaded at the current playback position. - * @param ev The event. - */ - onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the duration and dimensions of the media have been determined. - * @param ev The event. - */ - onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when Internet Explorer begins looking for media data. - * @param ev The event. - */ - onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - /** - * Fires when the user clicks the object with either mouse button. - * @param ev The mouse event. - */ - onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the user moves the mouse over the object. - * @param ev The mouse event. - */ - onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the user moves the mouse pointer outside the boundaries of the object. - * @param ev The mouse event. - */ - onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the user moves the mouse pointer into the object. - * @param ev The mouse event. - */ - onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the user releases a mouse button while the mouse is over the object. - * @param ev The mouse event. - */ - onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Occurs when playback is paused. - * @param ev The event. - */ - onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the play method is requested. - * @param ev The event. - */ - onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the audio or video has started playing. - * @param ev The event. - */ - onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - /** - * Occurs to indicate progress while downloading media data. - * @param ev The event. - */ - onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null; - /** - * Occurs when the playback rate is increased or decreased. - * @param ev The event. - */ - onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user resets a form. - * @param ev The event. - */ - onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; - /** - * Fires when the user repositions the scroll box in the scroll bar on the object. - * @param ev The event. - */ - onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null; - /** - * Occurs when the seek operation ends. - * @param ev The event. - */ - onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the current playback position is moved. - * @param ev The event. - */ - onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the current selection changes. - * @param ev The event. - */ - onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the download has stopped. - * @param ev The event. - */ - onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs if the load operation has been intentionally halted. - * @param ev The event. - */ - onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs to indicate the current playback position. - * @param ev The event. - */ - ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; - ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; - ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null; - ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null; - ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null; - ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null; - ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; - ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; - ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; - ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; - /** - * Occurs when the volume is changed, or playback is muted or unmuted. - * @param ev The event. - */ - onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when playback stops because the next frame of a video resource is not available. - * @param ev The event. - */ - onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; - addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface HTMLAllCollection { - /** - * Returns the number of elements in the collection. - */ - readonly length: number; - /** - * Returns the item with index index from the collection (determined by tree order). - */ - item(nameOrIndex?: string): HTMLCollection | Element | null; - /** - * Returns the item with ID or name name from the collection. - * - * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned. - * - * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute. - */ - namedItem(name: string): HTMLCollection | Element | null; - [index: number]: Element; -} - -declare var HTMLAllCollection: { - prototype: HTMLAllCollection; - new(): HTMLAllCollection; -}; - -/** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */ -interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves the character set used to encode the object. - */ - /** @deprecated */ - charset: string; - /** - * Sets or retrieves the coordinates of the object. - */ - /** @deprecated */ - coords: string; - download: string; - /** - * Sets or retrieves the language code of the object. - */ - hreflang: string; - /** - * Sets or retrieves the shape of the object. - */ - /** @deprecated */ - name: string; - ping: string; - referrerPolicy: string; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ - rel: string; - readonly relList: DOMTokenList; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ - /** @deprecated */ - rev: string; - /** - * Sets or retrieves the shape of the object. - */ - /** @deprecated */ - shape: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - /** - * Retrieves or sets the text of the object as a string. - */ - text: string; - type: string; - addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAnchorElement: { - prototype: HTMLAnchorElement; - new(): HTMLAnchorElement; -}; - -interface HTMLAppletElement extends HTMLElement { - /** @deprecated */ - align: string; - /** - * Sets or retrieves a text alternative to the graphic. - */ - /** @deprecated */ - alt: string; - /** - * Sets or retrieves a character string that can be used to implement your own archive functionality for the object. - */ - /** @deprecated */ - archive: string; - /** @deprecated */ - code: string; - /** - * Sets or retrieves the URL of the component. - */ - /** @deprecated */ - codeBase: string; - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the height of the object. - */ - /** @deprecated */ - height: string; - /** @deprecated */ - hspace: number; - /** - * Sets or retrieves the shape of the object. - */ - /** @deprecated */ - name: string; - /** @deprecated */ - object: string; - /** @deprecated */ - vspace: number; - /** @deprecated */ - width: string; - addEventListener(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAppletElement: { - prototype: HTMLAppletElement; - new(): HTMLAppletElement; -}; - -/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements. */ -interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - */ - alt: string; - /** - * Sets or retrieves the coordinates of the object. - */ - coords: string; - download: string; - /** - * Sets or gets whether clicks in this region cause action. - */ - /** @deprecated */ - noHref: boolean; - ping: string; - referrerPolicy: string; - rel: string; - readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - */ - shape: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAreaElement: { - prototype: HTMLAreaElement; - new(): HTMLAreaElement; -}; - -/** Provides access to the properties of